@hb-hellotech/hb-ui 1.3.2 → 1.3.3
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/func_comp/hb_func_comp_copy/index.d.ts +3 -3
- package/dist/components/func_comp/hb_func_comp_copy/index.d.ts.map +1 -1
- package/dist/components/func_comp/index.d.ts +2 -2
- package/dist/components/func_comp/index.d.ts.map +1 -1
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +78 -75
- package/dist/hb_component_lib.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './src/type';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
4
|
-
export type CopyInstance = InstanceType<typeof
|
|
2
|
+
declare const HbLibCopy: any;
|
|
3
|
+
export default HbLibCopy;
|
|
4
|
+
export type CopyInstance = InstanceType<typeof HbLibCopy>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAE3B,QAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAE3B,QAAA,MAAM,SAAS,KAAoB,CAAC;AAEpC,eAAe,SAAS,CAAC;AAEzB,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import HbLibCopy from './hb_func_comp_copy';
|
|
2
2
|
import HbDragInstall from './hb_func_comp_drag';
|
|
3
|
-
export {
|
|
3
|
+
export { HbLibCopy, HbDragInstall as HbLibFuncCompDrag };
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAC5C,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,aAAa,IAAI,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-abe66e59]: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-abe66e59] .ant-modal-header{border-bottom:1px solid var(--hb-border-color);margin-bottom:var(--hb-space)}.hb-sfcm__title[data-v-abe66e59]{font-size:var(--hb-h1-font-size);font-weight:700;color:var(--hb-title-color)}.hb-sfcm__title__tip[data-v-abe66e59]{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-abe66e59]: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-abe66e59]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__show__tag__item[data-v-abe66e59]{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-abe66e59]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-fixed[data-v-abe66e59]{background:none;color:#9ca3af;border:1px solid var(--hb-border-color);cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-abe66e59]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-abe66e59]:hover{background:#ff7875;border-color:#ff7875}.hb-sfcm__unshow__tag[data-v-abe66e59]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__unshow__tag__item[data-v-abe66e59]{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-abe66e59]{color:#ff7875;border-color:#ff7875}.hb-sfcm__show__tag__item-close[data-v-abe66e59]{margin-left:6px;cursor:pointer}.hb-sfcm__show__tag__item-close[data-v-abe66e59]:hover{transform:scale(1.3)}.hb-sfcm__unshow__tag__item-add[data-v-abe66e59]{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-abe66e59]{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-7744c441]: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-7744c441]{margin-right:var(--hb-space)}[data-v-ed1581a9]: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-ed1581a9]{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-ed1581a9]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-ed1581a9]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-ed1581a9]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-ed1581a9]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-ed1581a9]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-ed1581a9]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-ed1581a9]{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-772844f6]: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-772844f6]{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-772844f6]{display:flex;justify-content:space-between;width:100%;align-items:center}.ant-alert .com-alert a[data-v-772844f6]{color:#ff5000}.select-all-container[data-v-772844f6]{padding:8px 0}.hb-lib-table-setting-box[data-v-772844f6]{display:flex}.hb-lib-table-set-drag[data-v-772844f6]{max-height:300px;overflow-y:auto}.hb-lib-table-drag-item[data-v-772844f6]{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-772844f6]:hover{background-color:#f5f5f5}.hb-lib-table-drag-item .drag-handle[data-v-772844f6]{cursor:move;color:#999;padding:4px;-webkit-user-select:none;user-select:none}.ghost[data-v-772844f6]{opacity:.5;background:#c8ebfb}.table-setting-checkbox-group[data-v-772844f6]{display:flex;flex-wrap:wrap}.table-setting-checkbox-group[data-v-772844f6] .ant-checkbox-group-item{margin-right:0;width:33.33%}.hb-lib-table-set-btn-group[data-v-772844f6]{margin-top:10px;display:flex;justify-content:end;align-items:center;border-top:1px solid #f0f0f0;padding-top:8px}.drag-hide[data-v-772844f6]{visibility:hidden}.hb-lib-table-drag-item-act-btn[data-v-772844f6]{display:inline-block;cursor:pointer;width:14px;height:20px}.hb-lib-table-drag-item-act-btn .icon[data-v-772844f6]{width:100%;height:100%}.hb-lib-table-col-set[data-v-772844f6]{display:inline-block;cursor:pointer;width:22px;height:23px}.hb-lib-table-col-set .icon[data-v-772844f6]{width:100%;height:100%}.hb-lib-table-drag-item-act[data-v-772844f6]{display:flex;align-items:center;width:40px;justify-content:space-between}.column_setting_popover{width:auto!important}.hb_lib_form_tooltip_select[data-v-b04f5675]{width:100%}.hb_lib_form_tooltip_select__option[data-v-b04f5675]{display:inline-flex;align-items:center;gap:4px}.hb_lib_form_tooltip_select__option.is-ellipsis[data-v-b04f5675]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb_lib_form_tooltip_select__dropdown .ant-select-item-option-content{display:flex;align-items:center;gap:4px}.hb_import_btn[data-v-d61501db]{text-align:center;margin:0}.hb-lib-copy-text-eyevue[data-v-1c7ecc71]{cursor:pointer;font-size:20px;display:flex;justify-content:center;align-items:center;width:19px;height:19px;margin-left:6px}.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-abe66e59]: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-abe66e59] .ant-modal-header{border-bottom:1px solid var(--hb-border-color);margin-bottom:var(--hb-space)}.hb-sfcm__title[data-v-abe66e59]{font-size:var(--hb-h1-font-size);font-weight:700;color:var(--hb-title-color)}.hb-sfcm__title__tip[data-v-abe66e59]{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-abe66e59]: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-abe66e59]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__show__tag__item[data-v-abe66e59]{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-abe66e59]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-fixed[data-v-abe66e59]{background:none;color:#9ca3af;border:1px solid var(--hb-border-color);cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-abe66e59]{background:#ff7875;border-color:#ff7875;cursor:not-allowed}.hb-sfcm__show__tag .is-linked[data-v-abe66e59]:hover{background:#ff7875;border-color:#ff7875}.hb-sfcm__unshow__tag[data-v-abe66e59]{padding-top:var(--hb-space);overflow:hidden}.hb-sfcm__unshow__tag__item[data-v-abe66e59]{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-abe66e59]{color:#ff7875;border-color:#ff7875}.hb-sfcm__show__tag__item-close[data-v-abe66e59]{margin-left:6px;cursor:pointer}.hb-sfcm__show__tag__item-close[data-v-abe66e59]:hover{transform:scale(1.3)}.hb-sfcm__unshow__tag__item-add[data-v-abe66e59]{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-abe66e59]{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-7744c441]: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-7744c441]{margin-right:var(--hb-space)}[data-v-ed1581a9]: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-ed1581a9]{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-ed1581a9]{display:flex;align-items:center}.hb-lib-list-btns-act-svg[data-v-ed1581a9]{cursor:pointer;width:21px;height:21px;display:inline-block}.hb-lib-list-btns-act-svg .icon[data-v-ed1581a9]{width:100%;height:100%}.hb-lib-list-btns-act-open[data-v-ed1581a9]{cursor:pointer;width:21px;height:21px;display:flex;justify-content:center;align-items:center}.hb-lib-list-btns-act-open .icon[data-v-ed1581a9]{width:100%;height:100%}.hb-lib-list-btns-item[data-v-ed1581a9]:not(:last-child){margin-right:10px}.hb-lib-list-btns-left[data-v-ed1581a9]{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-b053fae5]{background:#fff;padding:0 5px;border-radius:0 0 6px 6px}.hb-lib-list-table[data-v-b053fae5] .copy-text-eyevue.ab{position:relative!important;right:0!important;top:0!important}.hb-lib-list-table-act[data-v-b053fae5]{display:flex;justify-content:space-between;align-items:center}.nowrap-table[data-v-b053fae5] .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-772844f6]: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-772844f6]{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-772844f6]{display:flex;justify-content:space-between;width:100%;align-items:center}.ant-alert .com-alert a[data-v-772844f6]{color:#ff5000}.select-all-container[data-v-772844f6]{padding:8px 0}.hb-lib-table-setting-box[data-v-772844f6]{display:flex}.hb-lib-table-set-drag[data-v-772844f6]{max-height:300px;overflow-y:auto}.hb-lib-table-drag-item[data-v-772844f6]{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-772844f6]:hover{background-color:#f5f5f5}.hb-lib-table-drag-item .drag-handle[data-v-772844f6]{cursor:move;color:#999;padding:4px;-webkit-user-select:none;user-select:none}.ghost[data-v-772844f6]{opacity:.5;background:#c8ebfb}.table-setting-checkbox-group[data-v-772844f6]{display:flex;flex-wrap:wrap}.table-setting-checkbox-group[data-v-772844f6] .ant-checkbox-group-item{margin-right:0;width:33.33%}.hb-lib-table-set-btn-group[data-v-772844f6]{margin-top:10px;display:flex;justify-content:end;align-items:center;border-top:1px solid #f0f0f0;padding-top:8px}.drag-hide[data-v-772844f6]{visibility:hidden}.hb-lib-table-drag-item-act-btn[data-v-772844f6]{display:inline-block;cursor:pointer;width:14px;height:20px}.hb-lib-table-drag-item-act-btn .icon[data-v-772844f6]{width:100%;height:100%}.hb-lib-table-col-set[data-v-772844f6]{display:inline-block;cursor:pointer;width:22px;height:23px}.hb-lib-table-col-set .icon[data-v-772844f6]{width:100%;height:100%}.hb-lib-table-drag-item-act[data-v-772844f6]{display:flex;align-items:center;width:40px;justify-content:space-between}.column_setting_popover{width:auto!important}.hb_lib_form_tooltip_select[data-v-b04f5675]{width:100%}.hb_lib_form_tooltip_select__option[data-v-b04f5675]{display:inline-flex;align-items:center;gap:4px}.hb_lib_form_tooltip_select__option.is-ellipsis[data-v-b04f5675]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb_lib_form_tooltip_select__dropdown .ant-select-item-option-content{display:flex;align-items:center;gap:4px}.hb_import_btn[data-v-d61501db]{text-align:center;margin:0}.hb-lib-copy-text-eyevue[data-v-81faec48]{cursor:pointer;font-size:20px;display:flex;justify-content:center;align-items:center;width:17px;height:17px;margin-left:4px}.hb-lib-copy-text-eyevue svg[data-v-81faec48]{width:100%;height:100%}.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
|
@@ -1555,7 +1555,10 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1555
1555
|
}) }), Dl = {
|
|
1556
1556
|
key: 0,
|
|
1557
1557
|
class: "hb-lib-list-table-act"
|
|
1558
|
-
}, Al = { class: "empty-container" }, zl =
|
|
1558
|
+
}, Al = { class: "empty-container" }, zl = {
|
|
1559
|
+
key: 1,
|
|
1560
|
+
style: { display: "flex", "align-items": "center" }
|
|
1561
|
+
}, Ol = /* @__PURE__ */ te({
|
|
1559
1562
|
name: "HbLibListTable",
|
|
1560
1563
|
__name: "HbListTable",
|
|
1561
1564
|
props: {
|
|
@@ -1569,6 +1572,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1569
1572
|
se(
|
|
1570
1573
|
() => i.columns,
|
|
1571
1574
|
(e) => {
|
|
1575
|
+
console.log("columns", e);
|
|
1572
1576
|
const y = e.filter((z) => z != null && z.checked);
|
|
1573
1577
|
h.value = y.map((z) => {
|
|
1574
1578
|
let k = { ...z, title: z.title || z.label };
|
|
@@ -1649,16 +1653,15 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1649
1653
|
I(" " + C(S[a.dataIndex]), 1)
|
|
1650
1654
|
]),
|
|
1651
1655
|
_: 2
|
|
1652
|
-
}, 1032, ["placement"])) :
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
a && a.needFormat ? (o(), F(V, { key: 2 }, [
|
|
1656
|
+
}, 1032, ["placement"])) : a && a.needCopy ? (o(), F("div", zl, [
|
|
1657
|
+
I(C(S[a.dataIndex]) + " ", 1),
|
|
1658
|
+
w(N, {
|
|
1659
|
+
"cp-text": S[a.dataIndex],
|
|
1660
|
+
style: { position: "relative" }
|
|
1661
|
+
}, null, 8, ["cp-text"])
|
|
1662
|
+
])) : a && a.needFormat ? (o(), F(V, { key: 2 }, [
|
|
1659
1663
|
I(C(d(S[a.dataIndex], a.format)), 1)
|
|
1660
|
-
], 64)) :
|
|
1661
|
-
a && a.tags ? (o(), F(V, { key: 3 }, [
|
|
1664
|
+
], 64)) : a && a.tags ? (o(), F(V, { key: 3 }, [
|
|
1662
1665
|
b(S[a.dataIndex], a.tags) ? (o(), O(H, {
|
|
1663
1666
|
key: 0,
|
|
1664
1667
|
color: b(S[a.dataIndex], a.tags)
|
|
@@ -1772,16 +1775,16 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1772
1775
|
], 6);
|
|
1773
1776
|
};
|
|
1774
1777
|
}
|
|
1775
|
-
}),
|
|
1778
|
+
}), Bl = /* @__PURE__ */ ae(Ol, [["__scopeId", "data-v-b053fae5"]]), Rl = le(Bl), Pl = { class: "hb-lib-table-setting-box" }, Nl = {
|
|
1776
1779
|
key: 0,
|
|
1777
1780
|
class: "hb-lib-table-drag-item"
|
|
1778
|
-
},
|
|
1781
|
+
}, Ul = {
|
|
1779
1782
|
key: 0,
|
|
1780
1783
|
class: "hb-lib-table-drag-item-act"
|
|
1781
|
-
},
|
|
1784
|
+
}, El = ["onClick"], Vl = ["onClick"], Yl = { class: "hb-lib-table-set-btn-group" }, jl = {
|
|
1782
1785
|
class: "select-all-container",
|
|
1783
1786
|
style: { "margin-right": "10px" }
|
|
1784
|
-
},
|
|
1787
|
+
}, Kl = /* @__PURE__ */ te({
|
|
1785
1788
|
name: "HbLibTableColumnSet",
|
|
1786
1789
|
__name: "HbTableColumnSet",
|
|
1787
1790
|
props: {
|
|
@@ -1880,7 +1883,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1880
1883
|
}
|
|
1881
1884
|
), (v, u) => {
|
|
1882
1885
|
const p = P("a-tooltip"), s = P("a-button");
|
|
1883
|
-
return o(), F("div",
|
|
1886
|
+
return o(), F("div", Pl, [
|
|
1884
1887
|
w(n(ft), {
|
|
1885
1888
|
title: n(h)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),
|
|
1886
1889
|
trigger: "click",
|
|
@@ -1902,7 +1905,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1902
1905
|
onEnd: N
|
|
1903
1906
|
}, {
|
|
1904
1907
|
item: l(({ element: T }) => [
|
|
1905
|
-
T.fixed !== "right" ? (o(), F("div",
|
|
1908
|
+
T.fixed !== "right" ? (o(), F("div", Nl, [
|
|
1906
1909
|
w(n(_e), {
|
|
1907
1910
|
checked: T.checked,
|
|
1908
1911
|
onChange: (E) => $(T, E.target.checked)
|
|
@@ -1912,7 +1915,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1912
1915
|
]),
|
|
1913
1916
|
_: 2
|
|
1914
1917
|
}, 1032, ["checked", "onChange"]),
|
|
1915
|
-
T.checked ? (o(), F("section",
|
|
1918
|
+
T.checked ? (o(), F("section", Ul, [
|
|
1916
1919
|
f("span", {
|
|
1917
1920
|
class: Y(T.fixed ? "drag-hide" : "drag-handle")
|
|
1918
1921
|
}, "⋮⋮", 2),
|
|
@@ -1941,7 +1944,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1941
1944
|
fill: "#ff5000"
|
|
1942
1945
|
})
|
|
1943
1946
|
], -1)
|
|
1944
|
-
])], 8,
|
|
1947
|
+
])], 8, El)
|
|
1945
1948
|
]),
|
|
1946
1949
|
_: 2
|
|
1947
1950
|
}, 1024)) : B("", !0),
|
|
@@ -1970,7 +1973,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1970
1973
|
fill: "#ff5000"
|
|
1971
1974
|
})
|
|
1972
1975
|
], -1)
|
|
1973
|
-
])], 8,
|
|
1976
|
+
])], 8, Vl)
|
|
1974
1977
|
]),
|
|
1975
1978
|
_: 2
|
|
1976
1979
|
}, 1024))
|
|
@@ -1979,8 +1982,8 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
1979
1982
|
]),
|
|
1980
1983
|
_: 1
|
|
1981
1984
|
}, 8, ["modelValue"]),
|
|
1982
|
-
f("div",
|
|
1983
|
-
f("div",
|
|
1985
|
+
f("div", Yl, [
|
|
1986
|
+
f("div", jl, [
|
|
1984
1987
|
w(n(_e), {
|
|
1985
1988
|
checked: y.value,
|
|
1986
1989
|
indeterminate: z.value,
|
|
@@ -2041,7 +2044,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2041
2044
|
]);
|
|
2042
2045
|
};
|
|
2043
2046
|
}
|
|
2044
|
-
}),
|
|
2047
|
+
}), ql = /* @__PURE__ */ ae(Kl, [["__scopeId", "data-v-772844f6"]]), Wl = le(ql), Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2045
2048
|
__proto__: null,
|
|
2046
2049
|
HbLibFormItemFilterModal: It,
|
|
2047
2050
|
HbLibListBtnsAct: Jt,
|
|
@@ -2049,11 +2052,11 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2049
2052
|
HbLibListMultiSelect: bl,
|
|
2050
2053
|
HbLibListPageAct: Vt,
|
|
2051
2054
|
HbLibListPageContainer: Zt,
|
|
2052
|
-
HbLibListTable:
|
|
2055
|
+
HbLibListTable: Rl,
|
|
2053
2056
|
HbLibMutilpleSelectModal: yl,
|
|
2054
2057
|
HbLibTableAct: Il,
|
|
2055
|
-
HbLibTableColumnSet:
|
|
2056
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2058
|
+
HbLibTableColumnSet: Wl
|
|
2059
|
+
}, Symbol.toStringTag, { value: "Module" })), Gl = /* @__PURE__ */ te({
|
|
2057
2060
|
name: "HbLibFormTooltipSelect",
|
|
2058
2061
|
inheritAttrs: !1,
|
|
2059
2062
|
__name: "HbTooltipSelect",
|
|
@@ -2126,13 +2129,13 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2126
2129
|
_: 3
|
|
2127
2130
|
}, 16, ["value"]));
|
|
2128
2131
|
}
|
|
2129
|
-
}),
|
|
2132
|
+
}), Ql = /* @__PURE__ */ ae(Gl, [["__scopeId", "data-v-b04f5675"]]), Zl = le(Ql), Xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2130
2133
|
__proto__: null,
|
|
2131
|
-
HbLibFormTooltipSelect:
|
|
2132
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2134
|
+
HbLibFormTooltipSelect: Zl
|
|
2135
|
+
}, Symbol.toStringTag, { value: "Module" })), eo = { class: "ant-upload-drag-icon" }, to = { class: "ant-upload-text" }, lo = { style: { color: "#ff5000" } }, oo = { class: "ant-upload-hint" }, ao = {
|
|
2133
2136
|
key: 0,
|
|
2134
2137
|
class: "hb_import_btn"
|
|
2135
|
-
},
|
|
2138
|
+
}, no = ["href"], so = /* @__PURE__ */ te({
|
|
2136
2139
|
name: "HbLibImportFile",
|
|
2137
2140
|
__name: "HbImportFile",
|
|
2138
2141
|
props: {
|
|
@@ -2212,14 +2215,14 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2212
2215
|
beforeUpload: e
|
|
2213
2216
|
}, {
|
|
2214
2217
|
default: l(() => [
|
|
2215
|
-
f("p",
|
|
2218
|
+
f("p", eo, [
|
|
2216
2219
|
w(n(Lt), { style: { "font-size": "37px" } })
|
|
2217
2220
|
]),
|
|
2218
|
-
f("p",
|
|
2221
|
+
f("p", to, [
|
|
2219
2222
|
I(C(n(i)("hbLibComp.HbImportFile.uploadText")), 1),
|
|
2220
|
-
f("span",
|
|
2223
|
+
f("span", lo, C(n(i)("hbLibComp.HbImportFile.clickUp")), 1)
|
|
2221
2224
|
]),
|
|
2222
|
-
f("p",
|
|
2225
|
+
f("p", oo, C(n(i)("hbLibComp.HbFileUploadModal.format")) + ": " + C(_.acceptFile), 1)
|
|
2223
2226
|
]),
|
|
2224
2227
|
_: 1
|
|
2225
2228
|
}, 8, ["maxCount", "multiple", "accept", "fileList"])
|
|
@@ -2229,11 +2232,11 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2229
2232
|
]),
|
|
2230
2233
|
_: 1
|
|
2231
2234
|
}, 8, ["model"]),
|
|
2232
|
-
_.templateUrl ? (o(), F("p",
|
|
2235
|
+
_.templateUrl ? (o(), F("p", ao, [
|
|
2233
2236
|
f("a", {
|
|
2234
2237
|
download: "Import_number-template.xlsx",
|
|
2235
2238
|
href: _.templateUrl
|
|
2236
|
-
}, C(n(i)("hbLibComp.HbImportFile.downloadTemplate")), 9,
|
|
2239
|
+
}, C(n(i)("hbLibComp.HbImportFile.downloadTemplate")), 9, no)
|
|
2237
2240
|
])) : B("", !0)
|
|
2238
2241
|
]),
|
|
2239
2242
|
_: 1
|
|
@@ -2252,10 +2255,10 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2252
2255
|
], 64);
|
|
2253
2256
|
};
|
|
2254
2257
|
}
|
|
2255
|
-
}),
|
|
2258
|
+
}), io = /* @__PURE__ */ ae(so, [["__scopeId", "data-v-d61501db"]]), ro = le(io), co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2256
2259
|
__proto__: null,
|
|
2257
|
-
HbLibImportFile:
|
|
2258
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2260
|
+
HbLibImportFile: ro
|
|
2261
|
+
}, Symbol.toStringTag, { value: "Module" })), uo = {
|
|
2259
2262
|
// 如果存在cpText时,K和V无效
|
|
2260
2263
|
cpText: {
|
|
2261
2264
|
type: String,
|
|
@@ -2296,10 +2299,10 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2296
2299
|
type: String,
|
|
2297
2300
|
default: "ab"
|
|
2298
2301
|
}
|
|
2299
|
-
},
|
|
2302
|
+
}, po = /* @__PURE__ */ te({
|
|
2300
2303
|
name: "HbLibCopy",
|
|
2301
2304
|
__name: "copy",
|
|
2302
|
-
props:
|
|
2305
|
+
props: uo,
|
|
2303
2306
|
setup(t) {
|
|
2304
2307
|
const m = t, i = R();
|
|
2305
2308
|
ut(() => {
|
|
@@ -2368,7 +2371,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2368
2371
|
}, 8, ["title"])) : B("", !0);
|
|
2369
2372
|
};
|
|
2370
2373
|
}
|
|
2371
|
-
}),
|
|
2374
|
+
}), ho = /* @__PURE__ */ ae(po, [["__scopeId", "data-v-81faec48"]]), bo = le(ho), mo = {
|
|
2372
2375
|
dragList: {
|
|
2373
2376
|
type: Array,
|
|
2374
2377
|
required: !0
|
|
@@ -2407,10 +2410,10 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2407
2410
|
type: String,
|
|
2408
2411
|
default: ""
|
|
2409
2412
|
}
|
|
2410
|
-
},
|
|
2413
|
+
}, fo = /* @__PURE__ */ te({
|
|
2411
2414
|
name: "HbDrag",
|
|
2412
2415
|
__name: "index",
|
|
2413
|
-
props:
|
|
2416
|
+
props: mo,
|
|
2414
2417
|
emits: ["update:dragList", "handleDragStart", "handleDragEnd", "handleDragAdd", "handleDragRemove"],
|
|
2415
2418
|
setup(t, { emit: m }) {
|
|
2416
2419
|
const i = t, h = pt([]);
|
|
@@ -2475,11 +2478,11 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2475
2478
|
}, 16, ["modelValue", "class", "ghost-class"]))
|
|
2476
2479
|
], 2));
|
|
2477
2480
|
}
|
|
2478
|
-
}),
|
|
2481
|
+
}), vo = /* @__PURE__ */ ae(fo, [["__scopeId", "data-v-15b227f5"]]), go = le(vo), yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2479
2482
|
__proto__: null,
|
|
2480
|
-
HbLibCopy:
|
|
2481
|
-
HbLibFuncCompDrag:
|
|
2482
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2483
|
+
HbLibCopy: bo,
|
|
2484
|
+
HbLibFuncCompDrag: go
|
|
2485
|
+
}, Symbol.toStringTag, { value: "Module" })), Co = { class: "log_remark" }, _o = /* @__PURE__ */ te({
|
|
2483
2486
|
name: "HbLibLogModal",
|
|
2484
2487
|
__name: "HbLogModal",
|
|
2485
2488
|
props: {
|
|
@@ -2599,7 +2602,7 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2599
2602
|
}, 1024)) : B("", !0)
|
|
2600
2603
|
], 64)) : B("", !0),
|
|
2601
2604
|
p && p.needCopy ? (o(), F(V, { key: 1 }, [
|
|
2602
|
-
f("div",
|
|
2605
|
+
f("div", Co, C(s[p.dataIndex]), 1),
|
|
2603
2606
|
w(L, {
|
|
2604
2607
|
"cp-text": s[p.dataIndex],
|
|
2605
2608
|
style: { position: "relative" }
|
|
@@ -2625,32 +2628,32 @@ const wt = "hb-", Pe = (t = "") => {
|
|
|
2625
2628
|
], 64);
|
|
2626
2629
|
};
|
|
2627
2630
|
}
|
|
2628
|
-
}),
|
|
2631
|
+
}), Lo = /* @__PURE__ */ ae(_o, [["__scopeId", "data-v-cee51270"]]), ko = le(Lo), So = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2629
2632
|
__proto__: null,
|
|
2630
|
-
HbLibLogModal:
|
|
2633
|
+
HbLibLogModal: ko
|
|
2631
2634
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2632
2635
|
let et = {
|
|
2633
|
-
...
|
|
2634
|
-
...
|
|
2635
|
-
...
|
|
2636
|
-
...
|
|
2637
|
-
...
|
|
2636
|
+
...Jl,
|
|
2637
|
+
...Xl,
|
|
2638
|
+
...co,
|
|
2639
|
+
...So,
|
|
2640
|
+
...yo
|
|
2638
2641
|
};
|
|
2639
|
-
const
|
|
2640
|
-
hbLibComp:
|
|
2641
|
-
},
|
|
2642
|
-
hbLibComp:
|
|
2643
|
-
},
|
|
2644
|
-
hbLibComp:
|
|
2645
|
-
},
|
|
2646
|
-
hbLibComp:
|
|
2642
|
+
const wo = { 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" } }, Fo = {
|
|
2643
|
+
hbLibComp: wo
|
|
2644
|
+
}, xo = { 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: "ファイルのアップロード" } }, To = {
|
|
2645
|
+
hbLibComp: xo
|
|
2646
|
+
}, Mo = { 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: "文件上传" } }, $o = {
|
|
2647
|
+
hbLibComp: Mo
|
|
2648
|
+
}, Io = { 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" } }, Ho = {
|
|
2649
|
+
hbLibComp: Io
|
|
2647
2650
|
};
|
|
2648
|
-
var ye = { exports: {} },
|
|
2649
|
-
function
|
|
2651
|
+
var ye = { exports: {} }, Do = ye.exports, tt;
|
|
2652
|
+
function Ao() {
|
|
2650
2653
|
return tt || (tt = 1, (function(t, m) {
|
|
2651
2654
|
(function(i, h) {
|
|
2652
2655
|
t.exports = h(Se);
|
|
2653
|
-
})(
|
|
2656
|
+
})(Do, (function(i) {
|
|
2654
2657
|
function h(r) {
|
|
2655
2658
|
return r && typeof r == "object" && "default" in r ? r : { default: r };
|
|
2656
2659
|
}
|
|
@@ -2664,19 +2667,19 @@ function Do() {
|
|
|
2664
2667
|
}));
|
|
2665
2668
|
})(ye)), ye.exports;
|
|
2666
2669
|
}
|
|
2667
|
-
|
|
2670
|
+
Ao();
|
|
2668
2671
|
Se.locale("zh-cn");
|
|
2669
|
-
const
|
|
2670
|
-
en_US:
|
|
2671
|
-
ja_JP:
|
|
2672
|
-
zh_CN:
|
|
2673
|
-
de_DE:
|
|
2674
|
-
},
|
|
2672
|
+
const Yo = {
|
|
2673
|
+
en_US: Fo,
|
|
2674
|
+
ja_JP: To,
|
|
2675
|
+
zh_CN: $o,
|
|
2676
|
+
de_DE: Ho
|
|
2677
|
+
}, jo = function(t) {
|
|
2675
2678
|
Object.keys(et).forEach((i) => {
|
|
2676
2679
|
t.use(et[i]);
|
|
2677
2680
|
});
|
|
2678
2681
|
};
|
|
2679
2682
|
export {
|
|
2680
|
-
|
|
2681
|
-
|
|
2683
|
+
jo as install,
|
|
2684
|
+
Yo as locales
|
|
2682
2685
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(A,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):(A=typeof globalThis<"u"?globalThis:A||self,e(A.HbComponentLib={},A.Vue,A.draggable,A.antDesignVue,A.vueRouter,A.vueI18n,A.lodash,A.iconsVue,A.core,A.dayjs))})(this,(function(A,e,X,S,re,Y,Z,j,ie,v){"use strict";const oe=(o="")=>{const f=`hb-${o}`;return me(f)},J=(o,f,n,m)=>(f&&(o+=`-${f}`),n&&(o+=`__${n}`),m&&(o+=`--${m}`),o),me=o=>({b:f=>f?J(o,f,"",""):J(o,"","",""),e:f=>f?J(o,"",f,""):"",m:f=>J(o,"","",f),be:(f,n)=>J(o,f,n,""),em:(f,n)=>J(o,"",f,n),bem:(f,n,m)=>J(o,f,n,m),is:(f,n)=>n?`is-${f}`:""}),pe=["onMouseenter","onMouseleave"],fe=["onClick"],he=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:f,emit:n}){const m=Y.useI18n().t,C=Y.useI18n().messages.value.en_US,b=Y.useI18n().messages.value.ja_JP,r=Y.useI18n().messages.value.zh_CN,i=o,p=n,t=oe("sfcm"),g=re.useRoute(),F=e.reactive({lan:window.localStorage.getItem("lan")}),y=e.ref(!1),V=e.ref(600);let N=[];const x=e.ref([]),l=e.ref([]),u=e.computed(()=>x.value.every(s=>s.isLinked||s.isFixed)),_=s=>({...s,label:c(s)||`${d(s)||""} (${m("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,key:s.key,isFixed:s?.isFixed||!1,isLinked:s?.isLinked||!1,labelLanguage:s?.labelLanguage||void 0}),k=s=>{const B=s.draggedContext.element,T=s.relatedContext.index;if(B.isLinked||B.isFixed)return!1;const D=x.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],Q=D[P+1];if(T>W&&T<Q)return!1}return!0},M=e.computed(()=>h()+"_"+i.saveKey),h=()=>{const s=localStorage.getItem("pro__Login_Userinfo");let B="anonymous";if(s)try{B=JSON.parse(s).value.jobNumber||"anonymous"}catch(D){console.warn("解析用户信息失败:",D)}let T=g?.path;return`searchFormConfig_${B}_${T}`},c=s=>({ja_JP:()=>Z.get(b,s.labelLanguage||""),en_US:()=>Z.get(C,s.labelLanguage||""),zh_CN:()=>Z.get(r,s.labelLanguage||"")})[F.lan]?.()||s.label,d=s=>({ja_JP:()=>Z.get(b,s.subLabelLanguage||""),en_US:()=>Z.get(C,s.subLabelLanguage||""),zh_CN:()=>Z.get(r,s.subLabelLanguage||"")})[F.lan]?.()||s.subLabel,a=s=>{try{const B=localStorage.getItem(M.value);if(B){const T=JSON.parse(B);if(T.originalList&&Array.isArray(T.originalList)){N=JSON.parse(JSON.stringify(T.originalList));const D=N.filter(I=>I?.isFixed),P=N.filter(I=>I?.isLinked),W=T.showList.filter(I=>!I.isFixed&&!I.isLinked),Q=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-D.length-P.length):W.length,te=D.map(I=>({..._(I)})),le=P.map(I=>({..._(I)})),ae=W.slice(0,Q).map(I=>({..._(I)}));console.log("我进来了这里2233"),x.value=[...te,...le,...ae];const ne=x.value.map(I=>I.key),O=N.map(I=>I.key).filter(I=>!ne.includes(I));return l.value=N.filter(I=>O.includes(I.key)).map(I=>({..._(I),active:!1})),!0}}}catch(B){console.warn("加载保存的搜索配置失败:",B)}return!1},w=()=>{try{const s={originalList:N,showList:x.value.map(B=>({...B,key:B.key,label:B.label,isFixed:B.isFixed,isLinked:B.isLinked,labelLanguage:B?.labelLanguage||void 0}))};localStorage.setItem(M.value,JSON.stringify(s))}catch(s){console.warn("保存搜索配置失败:",s)}},E=e.computed(()=>{const s=x.value.filter(T=>!T.isFixed&&!T.isLinked).length,B=x.value.filter(T=>T.isFixed||T.isLinked).length;return s>=i.showNumber-B});e.watch(()=>i.list,s=>{let B=JSON.stringify(x.value)!==JSON.stringify(s);if(!B)return;const T=localStorage.getItem(M.value),D=JSON.parse(T||"{}");if(D&&D?.originalList&&Array.isArray(D.originalList))a(),p("confirm",x.value);else if(B){N=JSON.parse(JSON.stringify(s));const P=s.filter(O=>O?.isFixed),W=s.filter(O=>O?.isLinked),Q=s.filter(O=>!O?.isFixed&&!O?.isLinked),te=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-P.length-W.length):Q.length,le=P.map(O=>_(O)),ae=W.map(O=>_(O)),ne=Q.slice(0,te).map(O=>_(O));x.value=[...le,...ae,...ne];const de=Q.slice(te).map(O=>({..._(O),active:!1}));l.value=de}},{immediate:!0});const z=s=>{const B=x.value.findIndex(T=>T.key===s.key);B!==-1&&(x.value.splice(B,1),l.value.push({...s,active:!1}))},K=s=>{if(E.value)return;const B=l.value.findIndex(T=>T.key===s.key);if(B!==-1){const[T]=l.value.splice(B,1);x.value.push({...T,active:!1})}},H=()=>{y.value=!1},$=()=>{y.value=!0},q=()=>{w(),p("confirm",x.value),H()},L=s=>{const B=l.value.findIndex(T=>T.key===s.key);B!==-1&&(l.value[B].active=!0)},G=s=>{const B=l.value.findIndex(T=>T.key===s.key);B!==-1&&(l.value[B].active=!1)};return f({toOpenModal:$}),e.onMounted(()=>{console.log("我是保存的搜索条件")}),(s,B)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t).b())},[e.createVNode(e.unref(S.Modal),{visible:y.value,"onUpdate:visible":B[1]||(B[1]=T=>y.value=T),width:V.value,onCancel:H,onOk:q},{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(S.Button),{onClick:H},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(S.Button),{type:"primary",onClick:q},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$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(s.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(o.showNumber)+e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("show__tag"))},[e.createVNode(e.unref(X),{modelValue:x.value,"onUpdate:modelValue":B[0]||(B[0]=T=>x.value=T),"item-key":"key",tag:"div",disabled:u.value,move:k},{item:e.withCtx(({element:T})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(t).e("show__tag__item"),e.unref(t).is("fixed",T.isFixed),e.unref(t).is("linked",T.isLinked)])},[e.createTextVNode(e.toDisplayString(T.label)+" ",1),!T.isFixed&&!T.isLinked&&o.list.length>1?(e.openBlock(),e.createBlock(e.unref(j.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(t).e("show__tag__item-close")),onClick:D=>z(T)},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(s.$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,T=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(t).e("unshow__tag__item"),e.unref(t).is("fixed",T.isFixed||""),e.unref(t).is("linked",T.isLinked||"")]),key:T.key,onMouseenter:D=>L(T),onMouseleave:D=>G(T)},[e.createTextVNode(e.toDisplayString(T.label)+" ",1),T.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(t).e("unshow__tag__item-add")),onClick:D=>K(T)},e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.add")),11,fe)):e.createCommentVNode("",!0)],42,pe))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(t).e("unshow__tag__empty"))},e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),U=(o,f)=>{const n=o.__vccOpts||o;for(const[m,C]of f)n[m]=C;return n},be=U(he,[["__scopeId","data-v-abe66e59"]]),R=o=>(o.install=f=>{f.component(o.name||"AnonymousComponent",o)},o),ge=R(be),Ce={class:"form-footer"},ke=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:f,emit:n}){const m=n,C=e.inject("HB_LIST_PAGE_CONTAINER"),b=e.computed(()=>i.searchList||[]),r=oe("form"),i=o,p=e.ref("show"),t=e.computed(()=>[...i.items]),g=e.computed(()=>[...i.items].map(a=>({...a,label:a.label?.includes("多项搜索")?"":a.label}))),F=e.computed(()=>i.saveKey),y=e.ref(),V=()=>{m("handleSearch")},N=()=>{m("handleReset")},x=e.ref(),l=()=>{x.value&&x.value.toOpenModal()},u=a=>{m("handleMenuClick",a)},_=a=>{m("handleSfcmConfirm",a)},k=()=>{p.value=p.value==="show"?"hide":"show"};e.watch(()=>i.isFormExpanded,a=>{if(a){console.log(a);const w=document.querySelector("#subpackage_container");w instanceof HTMLElement&&(w.style.overflow="hidden",setTimeout(()=>{w.style.overflow="auto"},500))}});const M=a=>{const w=a;w.style.height="",w.offsetHeight},h=a=>{const w=a;w.style.height="",w.style.overflow="",e.nextTick(()=>{C.calTableHeight&&C.calTableHeight()})},c=a=>{const w=a,E=w.querySelector(".hb-lib-form--container");if(E){const z=E.offsetHeight;w.style.height=z+"px",w.style.overflow="hidden",w.offsetHeight,requestAnimationFrame(()=>{w.style.height="0"})}},d=()=>{e.nextTick(()=>{C.calTableHeight&&C.calTableHeight()})};return f({formRef:y,SelectOption:S.SelectOption,Form:S.Form,FormItem:S.FormItem,Row:S.Row,Col:S.Col,Input:S.Input,Select:S.Select,CheckboxGroup:S.CheckboxGroup,Checkbox:S.Checkbox,DatePicker:S.DatePicker,InputNumber:S.InputNumber,RadioGroup:S.RadioGroup,Radio:S.Radio,Switch:S.Switch,Button:S.Button,Tooltip:S.Tooltip}),(a,w)=>{const E=e.resolveComponent("a-button"),z=e.resolveComponent("a-tooltip"),K=e.resolveComponent("a-menu-item"),H=e.resolveComponent("a-menu"),$=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:h,onLeave:c,onAfterLeave:d},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(r).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[e.createVNode(e.unref(S.Form),e.mergeProps(a.$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(g.value,(L,G)=>(e.openBlock(),e.createBlock(e.unref(S.FormItem),e.mergeProps({key:G,ref_for:!0},L,{name:L.key,class:L.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),e.createSlots({default:e.withCtx(()=>[L.type==="slot"?e.renderSlot(a.$slots,L.key,{key:0,formData:o.formData,item:L},void 0,!0):e.createCommentVNode("",!0),L.type==="mixin"?e.renderSlot(a.$slots,L.key,{key:1,formData:o.formData,item:L},void 0,!0):e.createCommentVNode("",!0),L.type==="input"?(e.openBlock(),e.createBlock(e.unref(S.Input),e.mergeProps({key:2,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="select"?(e.openBlock(),e.createBlock(e.unref(S.Select),e.mergeProps({key:3,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.options,(s,B)=>(e.openBlock(),e.createBlock(e.unref(S.SelectOption),{key:B,value:s.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(S.CheckboxGroup),e.mergeProps({key:4,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.options,(s,B)=>(e.openBlock(),e.createBlock(e.unref(S.Checkbox),{key:B,value:s.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(S.DatePicker),e.mergeProps({key:5,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(S.InputNumber),e.mergeProps({key:6,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="radio"?(e.openBlock(),e.createBlock(e.unref(S.RadioGroup),e.mergeProps({key:7,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.options,(s,B)=>(e.openBlock(),e.createBlock(e.unref(S.Radio),{key:B,value:s.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="switch"?(e.openBlock(),e.createBlock(e.unref(S.Switch),e.mergeProps({key:8,checked:o.formData[L.key],"onUpdate:checked":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[L.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.label)+" ",1),e.createVNode(e.unref(S.Tooltip),{title:L.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(j.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),e.createElementVNode("section",Ce,[e.createVNode(E,{type:"primary",onClick:V,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(j.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(a.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(E,{type:"link",onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),o.needFilter?(e.openBlock(),e.createBlock(z,{key:0,title:a.$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(a.$slots,"formBtns",{},()=>[o.needSearchCase?(e.openBlock(),e.createBlock($,{key:0},{overlay:e.withCtx(()=>[e.createVNode(H,{onClick:u},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,L=>(e.openBlock(),e.createBlock(K,{key:L.id},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.title),1)]),_:2},1024))),128)),e.createVNode(K,{key:"add"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbLibListForm.addScheme")),1)]),_:1}),e.createVNode(K,{key:"edit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbLibListForm.editScheme")),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(z,{title:a.$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(r).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("footer__left"))},[e.renderSlot(a.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("footer__right"))},[p.value=="show"?e.renderSlot(a.$slots,"form-footer-right",{key:0,formRef:y.value},()=>[e.createVNode(e.unref(S.Button),{type:"primary",onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(e.unref(S.Button),{type:"primary",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):e.createCommentVNode("",!0),e.createVNode(e.unref(S.Button),{type:"primary",onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value=="show"?`${a.$t("hbLibComp.hbListPageAct.close")}`:`${a.$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:x,onConfirm:_,saveKey:F.value},null,8,["list","saveKey"])],64)}}}),[["__scopeId","data-v-04ccb514"]])),ye={class:"hb-lib-list-page-act-box"},ue={class:"hb-lib-list-page-breadcrumb"},_e={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"},we={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 f=e.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:n,toggle:m}=ie.useFullscreen(f.PageContainerRef),C=e.ref(""),b=()=>{const i=re.useRoute();let p=localStorage.getItem("BreadCrumb")||"[]",t=i?.path;if(p!=="[]"){let g=JSON.parse(p).find(F=>F.value===t);g&&(C.value=g.label.replace(/-/g," / "))}};e.onMounted(()=>{b()});const r=i=>{i.keyCode===17&&m()};return e.onMounted(()=>{window.addEventListener("keydown",r)}),e.onUnmounted(()=>{window.removeEventListener("keydown",r)}),(i,p)=>{const t=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ye,[e.createElementVNode("aside",ue,e.toDisplayString(C.value),1),e.createElementVNode("aside",_e,[e.createVNode(t,{title:e.unref(n)?`${i.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${i.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:p[0]||(p[0]=(...g)=>e.unref(m)&&e.unref(m)(...g))},[e.unref(n)?(e.openBlock(),e.createElementBlock("svg",we,[...p[2]||(p[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,[...p[1]||(p[1]=[e.createElementVNode("path",{d:"M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",fill:"#ff5000","p-id":"22886"},null,-1)])]))])]),_:1},8,["title"]),e.renderSlot(i.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-7744c441"]])),xe={class:"hb-lib-list-btns-box"},Ne={class:"hb-lib-list-btns-left"},Be={class:"hb-lib-list-btns-right"},Te=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:f}){const n=f,m=e.ref(!0),C=()=>{m.value=!m.value,n("handleOpenOrClose",m.value)},b=()=>{n("handleReload")},r=i=>{i.keyCode===16&&C()};return e.onMounted(()=>{window.addEventListener("keydown",r)}),e.onUnmounted(()=>{window.removeEventListener("keydown",r)}),(i,p)=>{const t=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",xe,[e.createElementVNode("aside",Ne,[e.renderSlot(i.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Be,[o.needReload?(e.openBlock(),e.createBlock(t,{key:0,title:i.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:b},[...p[0]||(p[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(t,{key:1,title:m.value?`${i.$t("hbLibComp.hbListBtnsAct.close")}`:`${i.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:C},[m.value?(e.openBlock(),e.createBlock(e.unref(j.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(j.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-ed1581a9"]])),Fe=(o={})=>{const{formRef:f,offsetBottom:n=50,minHeight:m=300}=o,C=e.ref(0);let b=null,r=null,i=null,p=null,t=null;const g=()=>{t&&clearTimeout(t),t=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const u=document.querySelector(".ant-table"),_=document.querySelector(".ant-pagination");if(u){const k=u.getBoundingClientRect().top,M=window.innerHeight,c=(_?_.offsetHeight+20:40)+n;let d=M-k-c;d<m&&(d=m),C.value=d}})})},100)},F=()=>{const u=document.querySelector(".ant-pagination");if(u){const _=new MutationObserver(()=>{g()});return _.observe(u,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),_}return null},y=()=>{const u=document.querySelector(".hb-lib-list-page-form-box");u&&(b=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(k=>{k.style.display="none"}),g()}),b.observe(u))},V=()=>{const u=document.querySelector(".hb-lib-list-page-form-box");u&&(i=new MutationObserver(()=>{setTimeout(()=>{g()},100)}),i.observe(u,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},N=()=>{p&&clearTimeout(p),p=setTimeout(()=>{g()},100)},x=()=>{window.addEventListener("resize",N),e.nextTick(()=>{y(),V(),r=F()})},l=()=>{window.removeEventListener("resize",N),b&&b.disconnect(),i&&i.disconnect(),r&&r.disconnect(),p&&clearTimeout(p),t&&clearTimeout(t)};return f&&e.watch(()=>f,()=>{setTimeout(()=>{g()},200)},{deep:!0}),e.onMounted(()=>{g(),x()}),e.onUnmounted(()=>{l()}),{tableHeight:C,calTableHeight:g}},Ve=R(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{default:400},tabelData:{default:()=>[]},offsetBottom:{default:20},minHeight:{}},setup(o){const f=o,n=e.useTemplateRef("PageContainerRef"),{calTableHeight:m,tableHeight:C}=Fe({offsetBottom:f.offsetBottom||20,minHeight:f.minHeight||300}),b=e.computed(()=>C.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:n,tableHeight:C,calTableHeight:m}),(r,i)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:n},[e.renderSlot(r.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle({"--hb-list-table-height":b.value-f.offsetBottom+"px","--hb-list-ttable-height":o.tabelData.length?"":b.value-f.offsetBottom+"px"})},[e.renderSlot(r.$slots,"default")],4)],512))}})),Ee={style:{"font-weight":"500"}},Me={key:0,class:"hb-lib-search-tag__description"},$e={class:"hb-lib-selector-dropdown"},Ie={class:"hb-lib-selector-search"},He={class:"hb-lib-selector-list"},De=["onClick"],ze={class:"hb-lib-option-content"},Ae={class:"hb-lib-option-label"},Pe={key:0,class:"hb-lib-selector-empty"},Oe={key:1,class:"hb-lib-selector-footer"},Re={class:"hb-lib-footer-buttons"},Ue={key:2,class:"hb-lib-selector-footer"},qe={class:"hb-lib-footer-buttons"},je=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:f}){const n=o,m=f,C=e.useModel(o,"value"),b=e.ref(!1),r=e.ref(""),i=e.ref([]),p=e.ref(),t=e.computed(()=>{if(n.remoteSearch||!r.value)return n.options;const h=r.value.toLowerCase();return n.options.filter(c=>c.label.toLowerCase().includes(h)||c.description?.toLowerCase().includes(h))}),g=e.computed(()=>n.prefix?`${n.prefix.length*14+8}px`:"0px"),F=e.computed(()=>t.value.length===0?!1:t.value.every(h=>i.value.includes(h.value))),y=e.computed(()=>{if(t.value.length===0)return!1;const h=t.value.filter(c=>i.value.includes(c.value)).length;return h>0&&h<t.value.length});e.watch(()=>C.value,h=>{h?i.value=Array.isArray(h)?[...h]:[h]:i.value=[]},{immediate:!0}),e.watch(()=>n.searchValue,h=>{n.remoteSearch&&h!==void 0&&(r.value=h)},{immediate:!0});const V=h=>{h&&(b.value=h,N.value=[...i.value],r.value="",setTimeout(()=>{if(p.value){const c=p.value.input||p.value.$el?.querySelector("input");c&&c.focus()}},100))},N=e.ref([]),x=()=>{i.value=[...N.value],b.value=!1,m("cancel")},l=e.ref([]),u=()=>{const h=n.multiple?i.value:i.value[0]||"",c=n.options.filter(d=>i.value.includes(d.value));l.value=c,console.log(h,c),N.value=[...i.value],C.value=h,m("update:value",h),m("change",h,c),m("confirm",h,c),b.value=!1},_=ie.useDebounceFn(h=>{const c=h!==void 0?h:r.value;n.remoteSearch&&(m("search",c),m("update:searchValue",c))},300),k=h=>{if(n.multiple){const c=new Set(i.value);c.has(h.value)?c.delete(h.value):c.add(h.value),i.value=Array.from(c)}else i.value=[h.value],u()},M=h=>{if(h.target.checked){const d=new Set(i.value);t.value.forEach(a=>{d.add(a.value)}),i.value=Array.from(d)}else{const d=new Set(t.value.map(a=>a.value));i.value=i.value.filter(a=>!d.has(a))}};return(h,c)=>{const d=e.resolveComponent("a-tag"),a=e.resolveComponent("a-input"),w=e.resolveComponent("a-checkbox"),E=e.resolveComponent("a-radio"),z=e.resolveComponent("a-button"),K=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":g.value}},h.$attrs),[e.createVNode(K,{value:C.value,"onUpdate:value":c[5]||(c[5]=H=>C.value=H),mode:o.multiple?"multiple":void 0,placeholder:o.placeholder,"show-search":!0,"filter-option":!1,open:b.value,allowClear:"",maxTagCount:o.maxTagCount,options:t.value,onDropdownVisibleChange:V,onSearch:e.unref(_),"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:$,closable:q,option:L})=>[e.createVNode(d,{class:"hb-lib-search-tag",onClick:c[0]||(c[0]=()=>V(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Ee,e.toDisplayString($),1),L?.description?(e.openBlock(),e.createElementBlock("span",Me," ("+e.toDisplayString(L.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:H})=>[e.createElementVNode("div",$e,[e.createElementVNode("div",Ie,[e.createVNode(a,{ref_key:"searchInputRef",ref:p,class:"hb-lib-selector-search-input",value:r.value,"onUpdate:value":c[1]||(c[1]=$=>r.value=$),placeholder:"请输入关键词搜索","allow-clear":"",onInput:c[2]||(c[2]=$=>e.unref(_)($.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(j.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,$=>(e.openBlock(),e.createElementBlock("div",{key:$.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:i.value.includes($.value)}]),onClick:()=>k($)},[o.multiple?(e.openBlock(),e.createBlock(w,{key:0,checked:i.value.includes($.value),onChange:()=>k($),onClick:c[3]||(c[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock(E,{key:1,checked:i.value.includes($.value),onChange:()=>k($),onClick:c[4]||(c[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",ze,[e.createElementVNode("div",Ae,e.toDisplayString($.label),1)])],10,De))),128))]),t.value.length===0?(e.openBlock(),e.createElementBlock("div",Pe,e.toDisplayString(h.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),o.multiple?(e.openBlock(),e.createElementBlock("div",Oe,[e.createVNode(w,{checked:F.value,indeterminate:y.value,onChange:M},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",Re,[e.createVNode(z,{size:"small",onClick:x},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(z,{type:"primary",size:"small",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",Ue,[c[6]||(c[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",qe,[e.createVNode(z,{size:"small",onClick:x},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.$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"},Ke={class:"hb-lib-form-item-filter-modal-buttons"},We={key:0},Je=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:f,emit:n}){const m=o,C=n,b=e.ref(!1),r=e.ref(""),i=e.ref(),p=e.ref(),t=e.ref([]),g=e.ref([]),F=e.ref(),y=e.reactive({searchText:"",searchedColumn:""}),V=e.computed(()=>m.tableData.map(d=>(d.id=d.id||Math.random(),d))),N=e.computed(()=>m.tableColumn.map(d=>(d.customFilterDropdown&&(d.onFilter=(a,w)=>w[d.dataIndex].toString().toLowerCase().includes(a.toLowerCase()),d.onFilterDropdownVisibleChange=a=>{a&&setTimeout(()=>{i.value?.focus()},100)}),{...d}))),x=()=>{let d="";g.value.forEach(a=>{d=d+a[m.labelKey]+","}),r.value=d.substring(0,d.length-1),b.value=!1,C("handleConfirm",g.value)},l=()=>{b.value=!1},u=()=>{b.value=!0,e.nextTick(()=>{const d=F.value?.$el?.querySelector(".ant-table-body");d&&(d.scrollTop=0)})},_=()=>{t.value=[],g.value=[]},k=()=>{r.value="",_()},M=(d,a,w)=>{a(),y.searchText=d[0],y.searchedColumn=w},h=(d,a)=>{d({confirm:!0}),y.searchText="",a()},c=(d,a)=>{t.value=d,g.value=a};return f({resetInputVal:k}),(d,a)=>{const w=e.resolveComponent("a-input"),E=e.resolveComponent("a-button"),z=e.resolveComponent("a-table"),K=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:r.value,"onUpdate:value":a[0]||(a[0]=H=>r.value=H),placeholder:d.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(j.UnorderedListOutlined),{onClick:u})]),_:1},8,["value","placeholder"]),e.createVNode(K,{visible:b.value,"onUpdate:visible":a[1]||(a[1]=H=>b.value=H),title:o.modelTitle,width:o.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode(E,{onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(E,{onClick:l},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(E,{type:"primary",onClick:x},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(z,{ref_key:"tableRef",ref:F,columns:N.value,dataSource:V.value,rowSelection:{selectedRowKeys:t.value,onChange:c},rowKey:H=>H[o.tableKey],scroll:{y:o.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:H,selectedKeys:$,confirm:q,clearFilters:L,column:G})=>[e.createElementVNode("div",Ye,[e.createVNode(w,{ref_key:"searchInput",ref:i,placeholder:`请输入${G.title}`,value:$[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:s=>H(s.target.value?[s.target.value]:[]),onPressEnter:s=>M($,q,G.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",Ke,[e.createVNode(E,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:s=>h(L,q)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode(E,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:s=>M($,q,G.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:H})=>[e.createVNode(e.unref(j.SearchOutlined),{style:e.normalizeStyle({color:H?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:H,column:$})=>[y.searchText&&y.searchedColumn===$.dataIndex?(e.openBlock(),e.createElementBlock("span",We,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.toString().split(new RegExp(`(?<=${y.searchText})|(?=${y.searchText})`,"i")),(q,L)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[q.toLowerCase()===y.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:L,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)}}})),Ge={class:"hb-lib-table-act-box"},Qe=["onClick"],Ze={href:"javascript:;",class:"hb-lib-table-main-action"},Xe=["onClick"],ve={href:"javascript:;",class:"hb-lib-table-more-action"},et=["onClick"],tt={href:"javascript:;"},ot=["onClick"],lt={class:"hb-lib-table-confirm-modal-content"},at=R(U(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(o,{expose:f}){const n=o,{t:m}=Y.useI18n(),C=e.ref(!1),b=e.ref(!1),r=e.ref(null),i=e.computed(()=>n.actions.filter(x=>x.condition!==void 0?x.condition:!0)),p=e.computed(()=>i.value.slice(0,n.buttonDisplaysQuantity)),t=e.computed(()=>i.value.slice(n.buttonDisplaysQuantity)),g=x=>{x.handler&&x.handler(n.record)},F=x=>{r.value=x,C.value=!0},y=()=>{if(r.value){b.value=!0;try{g(r.value),b.value=!1,C.value=!1}catch{b.value=!1}}},V=()=>{C.value=!1,r.value=null},N=e.computed(()=>r.value?{title:r.value.confirmTitle,content:r.value.confirmContent||r.value.confirmTitle}:{title:m("hbLibComp.hbTableAct.secendConfirm"),content:m("hbLibComp.hbTableAct.confirmContent")});return f({ADropdown:S.Dropdown,AMenu:S.Menu,AMenuItem:S.MenuItem,APopconfirm:S.Popconfirm,AModal:S.Modal,DownOutlined:j.DownOutlined}),(x,l)=>{const u=e.resolveComponent("a-divider"),_=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",Ge,[(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:h=>F(k),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(k.label),1)],8,Qe)),[[_,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(S.Popconfirm),{title:k.confirmTitle,onConfirm:h=>g(k)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Ze,[e.createTextVNode(e.toDisplayString(k.label),1)])),[[_,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:h=>g(k),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(k.label),1)],8,Xe)),[[_,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(S.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(S.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,k=>(e.openBlock(),e.createBlock(e.unref(S.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,et)),[[_,k.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(S.Popconfirm),{key:1,title:k.confirmTitle,onConfirm:M=>g(k)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",tt,[e.createTextVNode(e.toDisplayString(k.label),1)])),[[_,k.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:M=>g(k)},[e.createTextVNode(e.toDisplayString(k.label),1)],8,ot)),[[_,k.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",ve,[e.createTextVNode(e.toDisplayString(x.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(j.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(S.Modal),{visible:C.value,title:N.value.title,"confirm-loading":b.value,onOk:y,onCancel:V},{default:e.withCtx(()=>[e.createElementVNode("p",lt,e.toDisplayString(N.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-a96574fa"]])),nt=o=>({tableWidth:e.computed(()=>{const n=Array.isArray(o)?o:o.value;return!n||n.length===0?0:n.map(m=>m.width&&Number(m.width.toString().replace("px",""))||0).reduce((m,C)=>m+C,0)})}),rt={key:0,class:"hb-lib-list-table-act"},it={class:"empty-container"},st=R(U(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},rowHeight:{},defaultWidth:{default:()=>150},tooltipPlacement:{default:()=>"topLeft"}},setup(o){const{t:f}=Y.useI18n(),n=o,m=e.ref([]),C=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:b}=nt(e.computed(()=>n.columns));e.watch(()=>n.columns,t=>{const g=t.filter(F=>F!=null&&F.checked);m.value=g.map(F=>{let y={...F,title:F.title||F.label};if(y.ellipsis&&!y.needTooltip&&(y.needTooltip=!0),!y.width)y.width=n.defaultWidth;else if(typeof y.width=="string"){const V=parseInt(y.width,10);y.width=isNaN(V)?n.defaultWidth:V}return y.resizable===void 0&&(y.resizable=!0),y})},{immediate:!0,deep:!0});const r=(t,g)=>{if(g){const F=typeof t=="string"?parseInt(t,10):t;g.width=isNaN(F)?150:F}},i=(t,g="YYYY-MM-DD HH:mm:ss")=>t?v(t).format(g):"",p=(t,g)=>t&&g[t]||"";return(t,g)=>{const F=e.resolveComponent("a-empty"),y=e.resolveComponent("a-tooltip"),V=e.resolveComponent("HbLibCopy"),N=e.resolveComponent("a-tag"),x=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":n.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":o.rowHeight&&o.rowHeight+"px"||""})},[t.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",rt,[e.renderSlot(t.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(t.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(x,e.mergeProps(t.$attrs,{bordered:"",columns:m.value,onResizeColumn:r,scroll:{x:e.unref(b),y:e.unref(C).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",it,[e.createVNode(F,{description:e.unref(f)("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:_,text:k})=>[e.renderSlot(t.$slots,"bodyCell",{column:l,record:u,index:_,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(N,{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:_,text:k})=>[e.renderSlot(t.$slots,"expandedRowRender",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"2"}:void 0,t.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"customFilterDropdown",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"3"}:void 0,t.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"customFilterIcon",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"4"}:void 0,t.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"expandIcon",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"5"}:void 0,t.$slots.footer?{name:"footer",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"footer",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"6"}:void 0,t.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"headerCell",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"7"}:void 0,t.$slots.summary?{name:"summary",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"summary",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"8"}:void 0,t.$slots.title?{name:"title",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"title",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"9"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-f3061eae"]])),ct={class:"hb-lib-table-setting-box"},dt={key:0,class:"hb-lib-table-drag-item"},mt={key:0,class:"hb-lib-table-drag-item-act"},pt=["onClick"],ft=["onClick"],ht={class:"hb-lib-table-set-btn-group"},bt={class:"select-all-container",style:{"margin-right":"10px"}},gt=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:f}){const n=f,{t:m}=Y.useI18n(),C=o,b=e.ref([]),r=e.computed(()=>p.value.filter(h=>h.checked));e.ref([]);const i=e.ref(!1),p=e.ref([]),t=e.ref(null),g=e.computed(()=>r.value.length>0&&r.value.length===b.value.length),F=e.computed(()=>r.value.length>0&&r.value.length<b.value.length),y=h=>{t.value=h.oldIndex},V=h=>{const c=h.newIndex;if(b.value.some(a=>a.fixed==="left"||a.fixed==="right"||a.fixed===!0)){const a=b.value.filter(E=>E.fixed==="left").length,w=b.value.length-b.value.filter(E=>E.fixed==="right").length;if((a>0&&c<a||w<b.value.length&&c>=w)&&(S.message.warning(m("hbLibComp.hbLibListTableColumsSet.errorTip")),t.value!==null)){const E=p.value.splice(c,1)[0];p.value.splice(t.value,0,E)}}t.value=null},N=h=>{h.target.checked?p.value.forEach(d=>d.checked=!0):p.value.forEach(d=>d.checked=!1)},x=(h,c)=>{c?h.checked=!0:h.checked=!1},l=()=>{b.value=[...p.value],n("on-get-columns",b.value),i.value=!1},u=()=>{b.value=C.tableColumns.map(c=>({...c,label:c.title&&c.title.tag?_(c.title):c.title||c.title2,value:c.dataIndex,checked:c.checked||c.checked===void 0})),p.value=[...b.value];let h=[];C.tableColumns.forEach(function(c){h.push(c.dataIndex)})},_=h=>h.children[0].text,k=h=>{delete h.fixed;const c=p.value.findIndex(d=>d.value===h.value);if(c!==-1){let d=-1;for(let a=0;a<p.value.length;a++)p.value[a].fixed==="left"&&(d=a);if(d!==-1&&c!==d+1){const a=[...p.value],[w]=a.splice(c,1);a.splice(d+1,0,w),p.value=a}}},M=h=>{const c=p.value.findIndex(d=>d.value===h.value);if(c!==-1){let d=-1;for(let z=0;z<p.value.length;z++)p.value[z].fixed==="left"&&(d=z);const a=[...p.value],[w]=a.splice(c,1);w.fixed="left";const E=d===-1?0:d+1;a.splice(E,0,w),p.value=a}};return e.watch(()=>C.tableColumns,()=>{u()},{immediate:!0,deep:!0}),(h,c)=>{const d=e.resolveComponent("a-tooltip"),a=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",ct,[e.createVNode(e.unref(S.Popover),{title:e.unref(m)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"column_setting_popover",visible:i.value,"onUpdate:visible":c[1]||(c[1]=w=>i.value=w)},{content:e.withCtx(()=>[e.createVNode(e.unref(X),{modelValue:p.value,"onUpdate:modelValue":c[0]||(c[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",dt,[e.createVNode(e.unref(S.Checkbox),{checked:w.checked,onChange:E=>x(w,E.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.label),1)]),_:2},1032,["checked","onChange"]),w.checked?(e.openBlock(),e.createElementBlock("section",mt,[e.createElementVNode("span",{class:e.normalizeClass(w.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),w.fixed?(e.openBlock(),e.createBlock(d,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:E=>k(w)},[...c[2]||(c[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,pt)]),_:2},1024)):e.createCommentVNode("",!0),w.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:E=>M(w)},[...c[3]||(c[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,ft)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ht,[e.createElementVNode("div",bt,[e.createVNode(e.unref(S.Checkbox),{checked:g.value,indeterminate:F.value,onChange:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),e.createVNode(a,{onClick:l,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(d,{title:e.unref(m)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...c[4]||(c[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-772844f6"]])),Ct=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:ge,HbLibListBtnsAct:Te,HbLibListForm:ke,HbLibListMultiSelect:je,HbLibListPageAct:Le,HbLibListPageContainer:Ve,HbLibListTable:st,HbLibMutilpleSelectModal:Je,HbLibTableAct:at,HbLibTableColumnSet:gt},Symbol.toStringTag,{value:"Module"})),kt=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:f}){const n=o,m=e.useAttrs(),C=e.computed(()=>{const N=m,x=N.dropdownClassName;return{...N,dropdownClassName:x??"hb_lib_form_tooltip_select__dropdown"}}),b=e.ref(),r=e.useModel(o,"value"),i=e.computed(()=>n.options??[]),p=e.computed(()=>({maxWidth:typeof n.tooltipMaxWidth=="number"?`${n.tooltipMaxWidth}px`:n.tooltipMaxWidth})),t=N=>N.tooltip??N.label,g=N=>N.key??N.label,F=N=>!!(n.enableTooltip&&t(N));return f({focus:()=>{b.value?.focus?.()},blur:()=>{b.value?.blur?.()},selectRef:b}),(N,x)=>(e.openBlock(),e.createBlock(e.unref(S.Select),e.mergeProps({ref_key:"selectRef",ref:b,class:"hb_lib_form_tooltip_select"},C.value,{value:r.value,"onUpdate:value":x[0]||(x[0]=l=>r.value=l)}),{default:e.withCtx(()=>[N.$slots.default?e.renderSlot(N.$slots,"default",{key:0},void 0,!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(i.value,l=>(e.openBlock(),e.createBlock(e.unref(S.SelectOption),e.mergeProps({key:g(l),value:l.value,disabled:l.disabled},{ref_for:!0},l.optionProps),{default:e.withCtx(()=>[F(l)?(e.openBlock(),e.createBlock(e.unref(S.Tooltip),{key:0,title:t(l),placement:n.tooltipPlacement,overlayStyle:p.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":n.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":n.enableEllipsis}])},e.toDisplayString(l.label),3))]),_:2},1040,["value","disabled"]))),128))]),_:3},16,["value"]))}}),[["__scopeId","data-v-b04f5675"]])),yt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormTooltipSelect:kt},Symbol.toStringTag,{value:"Module"})),ut={class:"ant-upload-drag-icon"},_t={class:"ant-upload-text"},St={style:{color:"#ff5000"}},wt={class:"ant-upload-hint"},Lt={key:0,class:"hb_import_btn"},xt=["href"],Nt=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:f}){const{t:n}=Y.useI18n(),m=e.ref(),C=o,b=e.ref(!1),r=e.reactive({fileList:[],visible:!1}),i=y=>{if(y==null)return;const V=r.fileList.indexOf(y);if(V!==-1){const N=r.fileList.slice();N.splice(V,1),r.fileList=N}},p=()=>{r.visible=!1,r.fileList=[],b.value=!1},t=y=>(r.fileList=[y],C.beforeUpload?C.beforeUpload(y):!1),g=()=>{m.value.validateFields().then(()=>{C.beforeSubmit&&(b.value=!0,C.beforeSubmit(r.fileList).then(y=>{}).finally(()=>{b.value=!1}))})},F=()=>{r.visible=!0};return f({handleCancel:p,openModal:F,confirmLoading:b}),(y,V)=>{const N=e.resolveComponent("a-upload-dragger"),x=e.resolveComponent("a-form-item"),l=e.resolveComponent("a-form"),u=e.resolveComponent("a-modal"),_=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(u,e.mergeProps({title:C.title,visible:r.visible,"onUpdate:visible":V[0]||(V[0]=k=>r.visible=k),"confirm-loading":b.value},y.$attrs,{onCancel:p,onOk:g,width:C.modalWidth}),{default:e.withCtx(()=>[e.createVNode(l,{ref_key:"modalFormRef",ref:m,model:r},{default:e.withCtx(()=>[e.createVNode(x,{name:"fileList",label:e.unref(n)("hbLibComp.HbImportFile.fileLabel"),rules:[{required:C.isRequired,message:e.unref(n)("hbLibComp.HbImportFile.clickUp")}]},{default:e.withCtx(()=>[e.createVNode(N,{maxCount:C.maxCount,multiple:C.multiple,accept:C.acceptFile,name:"file",fileList:r.fileList,onRemove:i,beforeUpload:t},{default:e.withCtx(()=>[e.createElementVNode("p",ut,[e.createVNode(e.unref(j.PlusCircleOutlined),{style:{"font-size":"37px"}})]),e.createElementVNode("p",_t,[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.HbImportFile.uploadText")),1),e.createElementVNode("span",St,e.toDisplayString(e.unref(n)("hbLibComp.HbImportFile.clickUp")),1)]),e.createElementVNode("p",wt,e.toDisplayString(e.unref(n)("hbLibComp.HbFileUploadModal.format"))+": "+e.toDisplayString(C.acceptFile),1)]),_:1},8,["maxCount","multiple","accept","fileList"])]),_:1},8,["label","rules"])]),_:1},8,["model"]),C.templateUrl?(e.openBlock(),e.createElementBlock("p",Lt,[e.createElementVNode("a",{download:"Import_number-template.xlsx",href:C.templateUrl},e.toDisplayString(e.unref(n)("hbLibComp.HbImportFile.downloadTemplate")),9,xt)])):e.createCommentVNode("",!0)]),_:1},16,["title","visible","confirm-loading","width"]),e.renderSlot(y.$slots,"btn",{},()=>[e.createVNode(_,{onClick:F,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.btnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-d61501db"]])),Bt=Object.freeze(Object.defineProperty({__proto__:null,HbLibImportFile:Nt},Symbol.toStringTag,{value:"Module"})),Tt={cpText:{type:String,default:""},K:{type:String,default:""},V:{type:String},L:{type:String},data:{type:[Array,Object]},tooltipTitle:{type:String,default:"复制"},copySuccessTip:{type:String,default:"复制成功"},cpStyle:{type:Object,default:()=>({})},classType:{type:String,default:"ab"}},Ft=R(U(e.defineComponent({name:"HbLibCopy",__name:"copy",props:Tt,setup(o){const f=o,n=e.ref();e.watchEffect(()=>{n.value=f.data});const m=e.computed(()=>{if(f.cpText)return f.cpText;let b="";if(f.data)if(Array.isArray(f.data)){if(f.K&&f.V&&f.L){const r=f.data.find(i=>i?.[f.K]===f.V);b=r?r[f.L]:""}}else f.K&&(b=f.data[f.K]);return b}),C=()=>{navigator.clipboard.writeText(m.value).then(()=>{S.message.success(f.copySuccessTip)}).catch(()=>{S.message.error("复制失败")})};return(b,r)=>{const i=e.resolveComponent("a-tooltip");return m.value?(e.openBlock(),e.createBlock(i,{key:0,title:b.tooltipTitle},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-copy-text-eyevue",style:e.normalizeStyle({...b.cpStyle}),onClick:e.withModifiers(C,["stop","prevent"])},[...r[0]||(r[0]=[e.createElementVNode("svg",{t:"1766643849597",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5022",width:"200",height:"200"},[e.createElementVNode("path",{d:"M720 192h-544A80.096 80.096 0 0 0 96 272v608C96 924.128 131.904 960 176 960h544c44.128 0 80-35.872 80-80v-608C800 227.904 764.128 192 720 192z m16 688c0 8.8-7.2 16-16 16h-544a16 16 0 0 1-16-16v-608a16 16 0 0 1 16-16h544a16 16 0 0 1 16 16v608z","p-id":"5023",fill:"#ff5000"}),e.createElementVNode("path",{d:"M848 64h-544a32 32 0 0 0 0 64h544a16 16 0 0 1 16 16v608a32 32 0 1 0 64 0v-608C928 99.904 892.128 64 848 64z","p-id":"5024",fill:"#ff5000"}),e.createElementVNode("path",{d:"M608 360H288a32 32 0 0 0 0 64h320a32 32 0 1 0 0-64zM608 520H288a32 32 0 1 0 0 64h320a32 32 0 1 0 0-64zM480 678.656H288a32 32 0 1 0 0 64h192a32 32 0 1 0 0-64z","p-id":"5025",fill:"#ff5000"})],-1)])],4)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-1c7ecc71"]])),Vt={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:""}},Et=R(U(e.defineComponent({name:"HbDrag",__name:"index",props:Vt,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(o,{emit:f}){const n=o,m=e.shallowRef([]);e.watch(()=>n.dragList,g=>{m.value=g},{deep:!0,immediate:!0});const C=oe("drag"),b=f,r=g=>{console.log("drag start",g),b("handleDragStart",g)},i=g=>{console.log("drag end",g),b("handleDragEnd",g)},p=g=>{console.log("drag add",g),b("handleDragAdd",g)},t=g=>{console.log("drag remove",g),b("handleDragRemove",g)};return(g,F)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(C).b())},[g.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(X),e.mergeProps({key:0,modelValue:m.value,"onUpdate:modelValue":F[0]||(F[0]=y=>m.value=y),"item-key":"key",class:{[g.dragClass]:g.dragClass}},g.$attrs,{"ghost-class":g.ghostClass,onStart:r,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(X),e.mergeProps({key:1,modelValue:m.value,"onUpdate:modelValue":F[1]||(F[1]=y=>m.value=y),"item-key":"id",class:{[g.dragClass]:g.dragClass}},g.$attrs,{"ghost-class":g.ghostClass,onStart:r,onEnd:i,onAdd:p,onRemove:t}),{item:e.withCtx(({element:y})=>[e.createElementVNode("div",null,[e.renderSlot(g.$slots,"default",{item:y},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]])),Mt=Object.freeze(Object.defineProperty({__proto__:null,HbLibCopy:Ft,HbLibFuncCompDrag:Et},Symbol.toStringTag,{value:"Module"})),$t={class:"log_remark"},It=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:f,emit:n}){const{t:m}=Y.useI18n(),C=o,b=[{title:m("hbLibComp.HbLogModal.operator"),dataIndex:"userName",width:"15%"},{title:m("hbLibComp.HbLogModal.operateTime"),dataIndex:"operateTime",width:"25%"},{title:m("hbLibComp.HbLogModal.operateContent"),dataIndex:"remark"}],r=e.computed(()=>C.columns||b),i=e.computed(()=>C.title||m("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(()=>C.pagination,l=>{l&&(t.pagination={...t.pagination,...l})},{deep:!0,immediate:!0});const g=(l=1)=>{const u={pageIndex:l,pageSize:t.pagination.pageSize,query:C.params};C.getLogData&&(p.value=!0,C.getLogData(u).then(_=>{Number(_.code)==200&&(t.pagination.current=l,t.pagination.total=Number(_.data.total),t.list=_.data.records||[])}).finally(()=>{p.value=!1}))},F=l=>{t.pagination.current=l.current,t.pagination.pageSize=l.pageSize,g()},y=()=>{t.list=[],x("update:visible",!1)},V=()=>{x("update:visible",!0)},N=(l,u="YYYY-MM-DD HH:mm:ss")=>l?v(l).format(u):"",x=n;return e.watch(()=>C.visible,l=>{l&&g()}),f({close:y,loading:p}),(l,u)=>{const _=e.resolveComponent("a-tooltip"),k=e.resolveComponent("HbLibCopy"),M=e.resolveComponent("a-table"),h=e.resolveComponent("a-button"),c=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(c,{visible:o.visible,title:i.value,width:o.width,onCancel:y},{footer:e.withCtx(()=>[e.createVNode(h,{onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.HbLogModal.close")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(M,{bordered:"",rowKey:"id",columns:r.value,dataSource:t.list,pagination:t.pagination,loading:p.value,onChange:F},{bodyCell:e.withCtx(({column:d,record:a})=>[d&&d.needTooltip?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[d.needTooltip?(e.openBlock(),e.createBlock(_,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a[d.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(a[d.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),d&&d.needCopy?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",$t,e.toDisplayString(a[d.dataIndex]),1),e.createVNode(k,{"cp-text":a[d.dataIndex],style:{position:"relative"}},null,8,["cp-text"])],64)):e.createCommentVNode("",!0),d&&d.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(N(a[d.dataIndex],d.operateTime)),1)],64)):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","pagination","loading"])]),_:1},8,["visible","title","width"]),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(h,{onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.logBtnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-cee51270"]]));let se={...Ct,...yt,...Bt,...Object.freeze(Object.defineProperty({__proto__:null,HbLibLogModal:It},Symbol.toStringTag,{value:"Module"})),...Mt};const Ht={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"}}},Dt={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:"ファイルのアップロード"}}},zt={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 ee={exports:{}},Pt=ee.exports,ce;function Ot(){return ce||(ce=1,(function(o,f){(function(n,m){o.exports=m(v)})(Pt,(function(n){function m(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var C=m(n),b={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r,i){return i==="W"?r+"周":r+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(r,i){var p=100*r+i;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};return C.default.locale(b,null,!0),b}))})(ee)),ee.exports}Ot(),v.locale("zh-cn");const Rt={en_US:Ht,ja_JP:Dt,zh_CN:zt,de_DE:At},Ut=function(o){Object.keys(se).forEach(n=>{o.use(se[n])})};A.install=Ut,A.locales=Rt,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(A,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):(A=typeof globalThis<"u"?globalThis:A||self,e(A.HbComponentLib={},A.Vue,A.draggable,A.antDesignVue,A.vueRouter,A.vueI18n,A.lodash,A.iconsVue,A.core,A.dayjs))})(this,(function(A,e,X,S,re,Y,Z,j,ie,v){"use strict";const oe=(o="")=>{const f=`hb-${o}`;return me(f)},J=(o,f,n,m)=>(f&&(o+=`-${f}`),n&&(o+=`__${n}`),m&&(o+=`--${m}`),o),me=o=>({b:f=>f?J(o,f,"",""):J(o,"","",""),e:f=>f?J(o,"",f,""):"",m:f=>J(o,"","",f),be:(f,n)=>J(o,f,n,""),em:(f,n)=>J(o,"",f,n),bem:(f,n,m)=>J(o,f,n,m),is:(f,n)=>n?`is-${f}`:""}),pe=["onMouseenter","onMouseleave"],fe=["onClick"],he=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:f,emit:n}){const m=Y.useI18n().t,C=Y.useI18n().messages.value.en_US,b=Y.useI18n().messages.value.ja_JP,r=Y.useI18n().messages.value.zh_CN,i=o,p=n,t=oe("sfcm"),g=re.useRoute(),F=e.reactive({lan:window.localStorage.getItem("lan")}),y=e.ref(!1),V=e.ref(600);let N=[];const x=e.ref([]),l=e.ref([]),u=e.computed(()=>x.value.every(s=>s.isLinked||s.isFixed)),_=s=>({...s,label:c(s)||`${d(s)||""} (${m("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,key:s.key,isFixed:s?.isFixed||!1,isLinked:s?.isLinked||!1,labelLanguage:s?.labelLanguage||void 0}),k=s=>{const B=s.draggedContext.element,T=s.relatedContext.index;if(B.isLinked||B.isFixed)return!1;const D=x.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],Q=D[P+1];if(T>W&&T<Q)return!1}return!0},$=e.computed(()=>h()+"_"+i.saveKey),h=()=>{const s=localStorage.getItem("pro__Login_Userinfo");let B="anonymous";if(s)try{B=JSON.parse(s).value.jobNumber||"anonymous"}catch(D){console.warn("解析用户信息失败:",D)}let T=g?.path;return`searchFormConfig_${B}_${T}`},c=s=>({ja_JP:()=>Z.get(b,s.labelLanguage||""),en_US:()=>Z.get(C,s.labelLanguage||""),zh_CN:()=>Z.get(r,s.labelLanguage||"")})[F.lan]?.()||s.label,d=s=>({ja_JP:()=>Z.get(b,s.subLabelLanguage||""),en_US:()=>Z.get(C,s.subLabelLanguage||""),zh_CN:()=>Z.get(r,s.subLabelLanguage||"")})[F.lan]?.()||s.subLabel,a=s=>{try{const B=localStorage.getItem($.value);if(B){const T=JSON.parse(B);if(T.originalList&&Array.isArray(T.originalList)){N=JSON.parse(JSON.stringify(T.originalList));const D=N.filter(I=>I?.isFixed),P=N.filter(I=>I?.isLinked),W=T.showList.filter(I=>!I.isFixed&&!I.isLinked),Q=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-D.length-P.length):W.length,te=D.map(I=>({..._(I)})),le=P.map(I=>({..._(I)})),ae=W.slice(0,Q).map(I=>({..._(I)}));console.log("我进来了这里2233"),x.value=[...te,...le,...ae];const ne=x.value.map(I=>I.key),O=N.map(I=>I.key).filter(I=>!ne.includes(I));return l.value=N.filter(I=>O.includes(I.key)).map(I=>({..._(I),active:!1})),!0}}}catch(B){console.warn("加载保存的搜索配置失败:",B)}return!1},w=()=>{try{const s={originalList:N,showList:x.value.map(B=>({...B,key:B.key,label:B.label,isFixed:B.isFixed,isLinked:B.isLinked,labelLanguage:B?.labelLanguage||void 0}))};localStorage.setItem($.value,JSON.stringify(s))}catch(s){console.warn("保存搜索配置失败:",s)}},E=e.computed(()=>{const s=x.value.filter(T=>!T.isFixed&&!T.isLinked).length,B=x.value.filter(T=>T.isFixed||T.isLinked).length;return s>=i.showNumber-B});e.watch(()=>i.list,s=>{let B=JSON.stringify(x.value)!==JSON.stringify(s);if(!B)return;const T=localStorage.getItem($.value),D=JSON.parse(T||"{}");if(D&&D?.originalList&&Array.isArray(D.originalList))a(),p("confirm",x.value);else if(B){N=JSON.parse(JSON.stringify(s));const P=s.filter(O=>O?.isFixed),W=s.filter(O=>O?.isLinked),Q=s.filter(O=>!O?.isFixed&&!O?.isLinked),te=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-P.length-W.length):Q.length,le=P.map(O=>_(O)),ae=W.map(O=>_(O)),ne=Q.slice(0,te).map(O=>_(O));x.value=[...le,...ae,...ne];const de=Q.slice(te).map(O=>({..._(O),active:!1}));l.value=de}},{immediate:!0});const z=s=>{const B=x.value.findIndex(T=>T.key===s.key);B!==-1&&(x.value.splice(B,1),l.value.push({...s,active:!1}))},K=s=>{if(E.value)return;const B=l.value.findIndex(T=>T.key===s.key);if(B!==-1){const[T]=l.value.splice(B,1);x.value.push({...T,active:!1})}},H=()=>{y.value=!1},M=()=>{y.value=!0},q=()=>{w(),p("confirm",x.value),H()},L=s=>{const B=l.value.findIndex(T=>T.key===s.key);B!==-1&&(l.value[B].active=!0)},G=s=>{const B=l.value.findIndex(T=>T.key===s.key);B!==-1&&(l.value[B].active=!1)};return f({toOpenModal:M}),e.onMounted(()=>{console.log("我是保存的搜索条件")}),(s,B)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(t).b())},[e.createVNode(e.unref(S.Modal),{visible:y.value,"onUpdate:visible":B[1]||(B[1]=T=>y.value=T),width:V.value,onCancel:H,onOk:q},{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(S.Button),{onClick:H},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(S.Button),{type:"primary",onClick:q},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.$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(s.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(o.showNumber)+e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(t).e("show__tag"))},[e.createVNode(e.unref(X),{modelValue:x.value,"onUpdate:modelValue":B[0]||(B[0]=T=>x.value=T),"item-key":"key",tag:"div",disabled:u.value,move:k},{item:e.withCtx(({element:T})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(t).e("show__tag__item"),e.unref(t).is("fixed",T.isFixed),e.unref(t).is("linked",T.isLinked)])},[e.createTextVNode(e.toDisplayString(T.label)+" ",1),!T.isFixed&&!T.isLinked&&o.list.length>1?(e.openBlock(),e.createBlock(e.unref(j.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(t).e("show__tag__item-close")),onClick:D=>z(T)},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(s.$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,T=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(t).e("unshow__tag__item"),e.unref(t).is("fixed",T.isFixed||""),e.unref(t).is("linked",T.isLinked||"")]),key:T.key,onMouseenter:D=>L(T),onMouseleave:D=>G(T)},[e.createTextVNode(e.toDisplayString(T.label)+" ",1),T.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(t).e("unshow__tag__item-add")),onClick:D=>K(T)},e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.add")),11,fe)):e.createCommentVNode("",!0)],42,pe))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(t).e("unshow__tag__empty"))},e.toDisplayString(s.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),U=(o,f)=>{const n=o.__vccOpts||o;for(const[m,C]of f)n[m]=C;return n},be=U(he,[["__scopeId","data-v-abe66e59"]]),R=o=>(o.install=f=>{f.component(o.name||"AnonymousComponent",o)},o),ge=R(be),Ce={class:"form-footer"},ke=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:f,emit:n}){const m=n,C=e.inject("HB_LIST_PAGE_CONTAINER"),b=e.computed(()=>i.searchList||[]),r=oe("form"),i=o,p=e.ref("show"),t=e.computed(()=>[...i.items]),g=e.computed(()=>[...i.items].map(a=>({...a,label:a.label?.includes("多项搜索")?"":a.label}))),F=e.computed(()=>i.saveKey),y=e.ref(),V=()=>{m("handleSearch")},N=()=>{m("handleReset")},x=e.ref(),l=()=>{x.value&&x.value.toOpenModal()},u=a=>{m("handleMenuClick",a)},_=a=>{m("handleSfcmConfirm",a)},k=()=>{p.value=p.value==="show"?"hide":"show"};e.watch(()=>i.isFormExpanded,a=>{if(a){console.log(a);const w=document.querySelector("#subpackage_container");w instanceof HTMLElement&&(w.style.overflow="hidden",setTimeout(()=>{w.style.overflow="auto"},500))}});const $=a=>{const w=a;w.style.height="",w.offsetHeight},h=a=>{const w=a;w.style.height="",w.style.overflow="",e.nextTick(()=>{C.calTableHeight&&C.calTableHeight()})},c=a=>{const w=a,E=w.querySelector(".hb-lib-form--container");if(E){const z=E.offsetHeight;w.style.height=z+"px",w.style.overflow="hidden",w.offsetHeight,requestAnimationFrame(()=>{w.style.height="0"})}},d=()=>{e.nextTick(()=>{C.calTableHeight&&C.calTableHeight()})};return f({formRef:y,SelectOption:S.SelectOption,Form:S.Form,FormItem:S.FormItem,Row:S.Row,Col:S.Col,Input:S.Input,Select:S.Select,CheckboxGroup:S.CheckboxGroup,Checkbox:S.Checkbox,DatePicker:S.DatePicker,InputNumber:S.InputNumber,RadioGroup:S.RadioGroup,Radio:S.Radio,Switch:S.Switch,Button:S.Button,Tooltip:S.Tooltip}),(a,w)=>{const E=e.resolveComponent("a-button"),z=e.resolveComponent("a-tooltip"),K=e.resolveComponent("a-menu-item"),H=e.resolveComponent("a-menu"),M=e.resolveComponent("a-dropdown"),q=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:$,onAfterEnter:h,onLeave:c,onAfterLeave:d},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(r).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[e.createVNode(e.unref(S.Form),e.mergeProps(a.$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(g.value,(L,G)=>(e.openBlock(),e.createBlock(e.unref(S.FormItem),e.mergeProps({key:G,ref_for:!0},L,{name:L.key,class:L.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),e.createSlots({default:e.withCtx(()=>[L.type==="slot"?e.renderSlot(a.$slots,L.key,{key:0,formData:o.formData,item:L},void 0,!0):e.createCommentVNode("",!0),L.type==="mixin"?e.renderSlot(a.$slots,L.key,{key:1,formData:o.formData,item:L},void 0,!0):e.createCommentVNode("",!0),L.type==="input"?(e.openBlock(),e.createBlock(e.unref(S.Input),e.mergeProps({key:2,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="select"?(e.openBlock(),e.createBlock(e.unref(S.Select),e.mergeProps({key:3,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.options,(s,B)=>(e.openBlock(),e.createBlock(e.unref(S.SelectOption),{key:B,value:s.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(S.CheckboxGroup),e.mergeProps({key:4,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.options,(s,B)=>(e.openBlock(),e.createBlock(e.unref(S.Checkbox),{key:B,value:s.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(S.DatePicker),e.mergeProps({key:5,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(S.InputNumber),e.mergeProps({key:6,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="radio"?(e.openBlock(),e.createBlock(e.unref(S.RadioGroup),e.mergeProps({key:7,value:o.formData[L.key],"onUpdate:value":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.options,(s,B)=>(e.openBlock(),e.createBlock(e.unref(S.Radio),{key:B,value:s.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),L.type==="switch"?(e.openBlock(),e.createBlock(e.unref(S.Switch),e.mergeProps({key:8,checked:o.formData[L.key],"onUpdate:checked":s=>o.formData[L.key]=s},{ref_for:!0},L.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[L.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.label)+" ",1),e.createVNode(e.unref(S.Tooltip),{title:L.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(j.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),e.createElementVNode("section",Ce,[e.createVNode(E,{type:"primary",onClick:V,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(j.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(a.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(E,{type:"link",onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),o.needFilter?(e.openBlock(),e.createBlock(z,{key:0,title:a.$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(a.$slots,"formBtns",{},()=>[o.needSearchCase?(e.openBlock(),e.createBlock(M,{key:0},{overlay:e.withCtx(()=>[e.createVNode(H,{onClick:u},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,L=>(e.openBlock(),e.createBlock(K,{key:L.id},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.title),1)]),_:2},1024))),128)),e.createVNode(K,{key:"add"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbLibListForm.addScheme")),1)]),_:1}),e.createVNode(K,{key:"edit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbLibListForm.editScheme")),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(z,{title:a.$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(r).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("footer__left"))},[e.renderSlot(a.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("footer__right"))},[p.value=="show"?e.renderSlot(a.$slots,"form-footer-right",{key:0,formRef:y.value},()=>[e.createVNode(e.unref(S.Button),{type:"primary",onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(e.unref(S.Button),{type:"primary",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):e.createCommentVNode("",!0),e.createVNode(e.unref(S.Button),{type:"primary",onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value=="show"?`${a.$t("hbLibComp.hbListPageAct.close")}`:`${a.$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:x,onConfirm:_,saveKey:F.value},null,8,["list","saveKey"])],64)}}}),[["__scopeId","data-v-04ccb514"]])),ye={class:"hb-lib-list-page-act-box"},ue={class:"hb-lib-list-page-breadcrumb"},_e={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"},we={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 f=e.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:n,toggle:m}=ie.useFullscreen(f.PageContainerRef),C=e.ref(""),b=()=>{const i=re.useRoute();let p=localStorage.getItem("BreadCrumb")||"[]",t=i?.path;if(p!=="[]"){let g=JSON.parse(p).find(F=>F.value===t);g&&(C.value=g.label.replace(/-/g," / "))}};e.onMounted(()=>{b()});const r=i=>{i.keyCode===17&&m()};return e.onMounted(()=>{window.addEventListener("keydown",r)}),e.onUnmounted(()=>{window.removeEventListener("keydown",r)}),(i,p)=>{const t=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ye,[e.createElementVNode("aside",ue,e.toDisplayString(C.value),1),e.createElementVNode("aside",_e,[e.createVNode(t,{title:e.unref(n)?`${i.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${i.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:p[0]||(p[0]=(...g)=>e.unref(m)&&e.unref(m)(...g))},[e.unref(n)?(e.openBlock(),e.createElementBlock("svg",we,[...p[2]||(p[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,[...p[1]||(p[1]=[e.createElementVNode("path",{d:"M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",fill:"#ff5000","p-id":"22886"},null,-1)])]))])]),_:1},8,["title"]),e.renderSlot(i.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-7744c441"]])),xe={class:"hb-lib-list-btns-box"},Ne={class:"hb-lib-list-btns-left"},Be={class:"hb-lib-list-btns-right"},Te=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:f}){const n=f,m=e.ref(!0),C=()=>{m.value=!m.value,n("handleOpenOrClose",m.value)},b=()=>{n("handleReload")},r=i=>{i.keyCode===16&&C()};return e.onMounted(()=>{window.addEventListener("keydown",r)}),e.onUnmounted(()=>{window.removeEventListener("keydown",r)}),(i,p)=>{const t=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",xe,[e.createElementVNode("aside",Ne,[e.renderSlot(i.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Be,[o.needReload?(e.openBlock(),e.createBlock(t,{key:0,title:i.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:b},[...p[0]||(p[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(t,{key:1,title:m.value?`${i.$t("hbLibComp.hbListBtnsAct.close")}`:`${i.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:C},[m.value?(e.openBlock(),e.createBlock(e.unref(j.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(j.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-ed1581a9"]])),Fe=(o={})=>{const{formRef:f,offsetBottom:n=50,minHeight:m=300}=o,C=e.ref(0);let b=null,r=null,i=null,p=null,t=null;const g=()=>{t&&clearTimeout(t),t=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const u=document.querySelector(".ant-table"),_=document.querySelector(".ant-pagination");if(u){const k=u.getBoundingClientRect().top,$=window.innerHeight,c=(_?_.offsetHeight+20:40)+n;let d=$-k-c;d<m&&(d=m),C.value=d}})})},100)},F=()=>{const u=document.querySelector(".ant-pagination");if(u){const _=new MutationObserver(()=>{g()});return _.observe(u,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),_}return null},y=()=>{const u=document.querySelector(".hb-lib-list-page-form-box");u&&(b=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(k=>{k.style.display="none"}),g()}),b.observe(u))},V=()=>{const u=document.querySelector(".hb-lib-list-page-form-box");u&&(i=new MutationObserver(()=>{setTimeout(()=>{g()},100)}),i.observe(u,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},N=()=>{p&&clearTimeout(p),p=setTimeout(()=>{g()},100)},x=()=>{window.addEventListener("resize",N),e.nextTick(()=>{y(),V(),r=F()})},l=()=>{window.removeEventListener("resize",N),b&&b.disconnect(),i&&i.disconnect(),r&&r.disconnect(),p&&clearTimeout(p),t&&clearTimeout(t)};return f&&e.watch(()=>f,()=>{setTimeout(()=>{g()},200)},{deep:!0}),e.onMounted(()=>{g(),x()}),e.onUnmounted(()=>{l()}),{tableHeight:C,calTableHeight:g}},Ve=R(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{default:400},tabelData:{default:()=>[]},offsetBottom:{default:20},minHeight:{}},setup(o){const f=o,n=e.useTemplateRef("PageContainerRef"),{calTableHeight:m,tableHeight:C}=Fe({offsetBottom:f.offsetBottom||20,minHeight:f.minHeight||300}),b=e.computed(()=>C.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:n,tableHeight:C,calTableHeight:m}),(r,i)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:n},[e.renderSlot(r.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle({"--hb-list-table-height":b.value-f.offsetBottom+"px","--hb-list-ttable-height":o.tabelData.length?"":b.value-f.offsetBottom+"px"})},[e.renderSlot(r.$slots,"default")],4)],512))}})),Ee={style:{"font-weight":"500"}},$e={key:0,class:"hb-lib-search-tag__description"},Me={class:"hb-lib-selector-dropdown"},Ie={class:"hb-lib-selector-search"},He={class:"hb-lib-selector-list"},De=["onClick"],ze={class:"hb-lib-option-content"},Ae={class:"hb-lib-option-label"},Pe={key:0,class:"hb-lib-selector-empty"},Oe={key:1,class:"hb-lib-selector-footer"},Re={class:"hb-lib-footer-buttons"},Ue={key:2,class:"hb-lib-selector-footer"},qe={class:"hb-lib-footer-buttons"},je=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:f}){const n=o,m=f,C=e.useModel(o,"value"),b=e.ref(!1),r=e.ref(""),i=e.ref([]),p=e.ref(),t=e.computed(()=>{if(n.remoteSearch||!r.value)return n.options;const h=r.value.toLowerCase();return n.options.filter(c=>c.label.toLowerCase().includes(h)||c.description?.toLowerCase().includes(h))}),g=e.computed(()=>n.prefix?`${n.prefix.length*14+8}px`:"0px"),F=e.computed(()=>t.value.length===0?!1:t.value.every(h=>i.value.includes(h.value))),y=e.computed(()=>{if(t.value.length===0)return!1;const h=t.value.filter(c=>i.value.includes(c.value)).length;return h>0&&h<t.value.length});e.watch(()=>C.value,h=>{h?i.value=Array.isArray(h)?[...h]:[h]:i.value=[]},{immediate:!0}),e.watch(()=>n.searchValue,h=>{n.remoteSearch&&h!==void 0&&(r.value=h)},{immediate:!0});const V=h=>{h&&(b.value=h,N.value=[...i.value],r.value="",setTimeout(()=>{if(p.value){const c=p.value.input||p.value.$el?.querySelector("input");c&&c.focus()}},100))},N=e.ref([]),x=()=>{i.value=[...N.value],b.value=!1,m("cancel")},l=e.ref([]),u=()=>{const h=n.multiple?i.value:i.value[0]||"",c=n.options.filter(d=>i.value.includes(d.value));l.value=c,console.log(h,c),N.value=[...i.value],C.value=h,m("update:value",h),m("change",h,c),m("confirm",h,c),b.value=!1},_=ie.useDebounceFn(h=>{const c=h!==void 0?h:r.value;n.remoteSearch&&(m("search",c),m("update:searchValue",c))},300),k=h=>{if(n.multiple){const c=new Set(i.value);c.has(h.value)?c.delete(h.value):c.add(h.value),i.value=Array.from(c)}else i.value=[h.value],u()},$=h=>{if(h.target.checked){const d=new Set(i.value);t.value.forEach(a=>{d.add(a.value)}),i.value=Array.from(d)}else{const d=new Set(t.value.map(a=>a.value));i.value=i.value.filter(a=>!d.has(a))}};return(h,c)=>{const d=e.resolveComponent("a-tag"),a=e.resolveComponent("a-input"),w=e.resolveComponent("a-checkbox"),E=e.resolveComponent("a-radio"),z=e.resolveComponent("a-button"),K=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":g.value}},h.$attrs),[e.createVNode(K,{value:C.value,"onUpdate:value":c[5]||(c[5]=H=>C.value=H),mode:o.multiple?"multiple":void 0,placeholder:o.placeholder,"show-search":!0,"filter-option":!1,open:b.value,allowClear:"",maxTagCount:o.maxTagCount,options:t.value,onDropdownVisibleChange:V,onSearch:e.unref(_),"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:M,closable:q,option:L})=>[e.createVNode(d,{class:"hb-lib-search-tag",onClick:c[0]||(c[0]=()=>V(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Ee,e.toDisplayString(M),1),L?.description?(e.openBlock(),e.createElementBlock("span",$e," ("+e.toDisplayString(L.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:H})=>[e.createElementVNode("div",Me,[e.createElementVNode("div",Ie,[e.createVNode(a,{ref_key:"searchInputRef",ref:p,class:"hb-lib-selector-search-input",value:r.value,"onUpdate:value":c[1]||(c[1]=M=>r.value=M),placeholder:"请输入关键词搜索","allow-clear":"",onInput:c[2]||(c[2]=M=>e.unref(_)(M.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(j.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,M=>(e.openBlock(),e.createElementBlock("div",{key:M.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:i.value.includes(M.value)}]),onClick:()=>k(M)},[o.multiple?(e.openBlock(),e.createBlock(w,{key:0,checked:i.value.includes(M.value),onChange:()=>k(M),onClick:c[3]||(c[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock(E,{key:1,checked:i.value.includes(M.value),onChange:()=>k(M),onClick:c[4]||(c[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",ze,[e.createElementVNode("div",Ae,e.toDisplayString(M.label),1)])],10,De))),128))]),t.value.length===0?(e.openBlock(),e.createElementBlock("div",Pe,e.toDisplayString(h.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),o.multiple?(e.openBlock(),e.createElementBlock("div",Oe,[e.createVNode(w,{checked:F.value,indeterminate:y.value,onChange:$},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",Re,[e.createVNode(z,{size:"small",onClick:x},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(z,{type:"primary",size:"small",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",Ue,[c[6]||(c[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",qe,[e.createVNode(z,{size:"small",onClick:x},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.$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"},Ke={class:"hb-lib-form-item-filter-modal-buttons"},We={key:0},Je=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:f,emit:n}){const m=o,C=n,b=e.ref(!1),r=e.ref(""),i=e.ref(),p=e.ref(),t=e.ref([]),g=e.ref([]),F=e.ref(),y=e.reactive({searchText:"",searchedColumn:""}),V=e.computed(()=>m.tableData.map(d=>(d.id=d.id||Math.random(),d))),N=e.computed(()=>m.tableColumn.map(d=>(d.customFilterDropdown&&(d.onFilter=(a,w)=>w[d.dataIndex].toString().toLowerCase().includes(a.toLowerCase()),d.onFilterDropdownVisibleChange=a=>{a&&setTimeout(()=>{i.value?.focus()},100)}),{...d}))),x=()=>{let d="";g.value.forEach(a=>{d=d+a[m.labelKey]+","}),r.value=d.substring(0,d.length-1),b.value=!1,C("handleConfirm",g.value)},l=()=>{b.value=!1},u=()=>{b.value=!0,e.nextTick(()=>{const d=F.value?.$el?.querySelector(".ant-table-body");d&&(d.scrollTop=0)})},_=()=>{t.value=[],g.value=[]},k=()=>{r.value="",_()},$=(d,a,w)=>{a(),y.searchText=d[0],y.searchedColumn=w},h=(d,a)=>{d({confirm:!0}),y.searchText="",a()},c=(d,a)=>{t.value=d,g.value=a};return f({resetInputVal:k}),(d,a)=>{const w=e.resolveComponent("a-input"),E=e.resolveComponent("a-button"),z=e.resolveComponent("a-table"),K=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:r.value,"onUpdate:value":a[0]||(a[0]=H=>r.value=H),placeholder:d.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(j.UnorderedListOutlined),{onClick:u})]),_:1},8,["value","placeholder"]),e.createVNode(K,{visible:b.value,"onUpdate:visible":a[1]||(a[1]=H=>b.value=H),title:o.modelTitle,width:o.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode(E,{onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(E,{onClick:l},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(E,{type:"primary",onClick:x},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(z,{ref_key:"tableRef",ref:F,columns:N.value,dataSource:V.value,rowSelection:{selectedRowKeys:t.value,onChange:c},rowKey:H=>H[o.tableKey],scroll:{y:o.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:H,selectedKeys:M,confirm:q,clearFilters:L,column:G})=>[e.createElementVNode("div",Ye,[e.createVNode(w,{ref_key:"searchInput",ref:i,placeholder:`请输入${G.title}`,value:M[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:s=>H(s.target.value?[s.target.value]:[]),onPressEnter:s=>$(M,q,G.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",Ke,[e.createVNode(E,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:s=>h(L,q)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode(E,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:s=>$(M,q,G.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:H})=>[e.createVNode(e.unref(j.SearchOutlined),{style:e.normalizeStyle({color:H?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:H,column:M})=>[y.searchText&&y.searchedColumn===M.dataIndex?(e.openBlock(),e.createElementBlock("span",We,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.toString().split(new RegExp(`(?<=${y.searchText})|(?=${y.searchText})`,"i")),(q,L)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[q.toLowerCase()===y.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:L,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)}}})),Ge={class:"hb-lib-table-act-box"},Qe=["onClick"],Ze={href:"javascript:;",class:"hb-lib-table-main-action"},Xe=["onClick"],ve={href:"javascript:;",class:"hb-lib-table-more-action"},et=["onClick"],tt={href:"javascript:;"},ot=["onClick"],lt={class:"hb-lib-table-confirm-modal-content"},at=R(U(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(o,{expose:f}){const n=o,{t:m}=Y.useI18n(),C=e.ref(!1),b=e.ref(!1),r=e.ref(null),i=e.computed(()=>n.actions.filter(x=>x.condition!==void 0?x.condition:!0)),p=e.computed(()=>i.value.slice(0,n.buttonDisplaysQuantity)),t=e.computed(()=>i.value.slice(n.buttonDisplaysQuantity)),g=x=>{x.handler&&x.handler(n.record)},F=x=>{r.value=x,C.value=!0},y=()=>{if(r.value){b.value=!0;try{g(r.value),b.value=!1,C.value=!1}catch{b.value=!1}}},V=()=>{C.value=!1,r.value=null},N=e.computed(()=>r.value?{title:r.value.confirmTitle,content:r.value.confirmContent||r.value.confirmTitle}:{title:m("hbLibComp.hbTableAct.secendConfirm"),content:m("hbLibComp.hbTableAct.confirmContent")});return f({ADropdown:S.Dropdown,AMenu:S.Menu,AMenuItem:S.MenuItem,APopconfirm:S.Popconfirm,AModal:S.Modal,DownOutlined:j.DownOutlined}),(x,l)=>{const u=e.resolveComponent("a-divider"),_=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",Ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(k,$)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:$},[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:h=>F(k),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(k.label),1)],8,Qe)),[[_,k.permissionsTag||null]]),t.value&&t.value.length>0||$!==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(S.Popconfirm),{title:k.confirmTitle,onConfirm:h=>g(k)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Ze,[e.createTextVNode(e.toDisplayString(k.label),1)])),[[_,k.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]),t.value&&t.value.length>0||$!==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:h=>g(k),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(k.label),1)],8,Xe)),[[_,k.permissionsTag||null]]),t.value&&t.value.length>0||$!==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(S.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(S.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,k=>(e.openBlock(),e.createBlock(e.unref(S.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:$=>F(k)},[e.createTextVNode(e.toDisplayString(k.label),1)],8,et)),[[_,k.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(S.Popconfirm),{key:1,title:k.confirmTitle,onConfirm:$=>g(k)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",tt,[e.createTextVNode(e.toDisplayString(k.label),1)])),[[_,k.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:$=>g(k)},[e.createTextVNode(e.toDisplayString(k.label),1)],8,ot)),[[_,k.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",ve,[e.createTextVNode(e.toDisplayString(x.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(j.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(S.Modal),{visible:C.value,title:N.value.title,"confirm-loading":b.value,onOk:y,onCancel:V},{default:e.withCtx(()=>[e.createElementVNode("p",lt,e.toDisplayString(N.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-a96574fa"]])),nt=o=>({tableWidth:e.computed(()=>{const n=Array.isArray(o)?o:o.value;return!n||n.length===0?0:n.map(m=>m.width&&Number(m.width.toString().replace("px",""))||0).reduce((m,C)=>m+C,0)})}),rt={key:0,class:"hb-lib-list-table-act"},it={class:"empty-container"},st={key:1,style:{display:"flex","align-items":"center"}},ct=R(U(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},rowHeight:{},defaultWidth:{default:()=>150},tooltipPlacement:{default:()=>"topLeft"}},setup(o){const{t:f}=Y.useI18n(),n=o,m=e.ref([]),C=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:b}=nt(e.computed(()=>n.columns));e.watch(()=>n.columns,t=>{console.log("columns",t);const g=t.filter(F=>F!=null&&F.checked);m.value=g.map(F=>{let y={...F,title:F.title||F.label};if(y.ellipsis&&!y.needTooltip&&(y.needTooltip=!0),!y.width)y.width=n.defaultWidth;else if(typeof y.width=="string"){const V=parseInt(y.width,10);y.width=isNaN(V)?n.defaultWidth:V}return y.resizable===void 0&&(y.resizable=!0),y})},{immediate:!0,deep:!0});const r=(t,g)=>{if(g){const F=typeof t=="string"?parseInt(t,10):t;g.width=isNaN(F)?150:F}},i=(t,g="YYYY-MM-DD HH:mm:ss")=>t?v(t).format(g):"",p=(t,g)=>t&&g[t]||"";return(t,g)=>{const F=e.resolveComponent("a-empty"),y=e.resolveComponent("a-tooltip"),V=e.resolveComponent("HbLibCopy"),N=e.resolveComponent("a-tag"),x=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":n.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":o.rowHeight&&o.rowHeight+"px"||""})},[t.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",rt,[e.renderSlot(t.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(t.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(x,e.mergeProps(t.$attrs,{bordered:"",columns:m.value,onResizeColumn:r,scroll:{x:e.unref(b),y:e.unref(C).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",it,[e.createVNode(F,{description:e.unref(f)("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:_,text:k})=>[e.renderSlot(t.$slots,"bodyCell",{column:l,record:u,index:_,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"])):l&&l.needCopy?(e.openBlock(),e.createElementBlock("div",st,[e.createTextVNode(e.toDisplayString(u[l.dataIndex])+" ",1),e.createVNode(V,{"cp-text":u[l.dataIndex],style:{position:"relative"}},null,8,["cp-text"])])):l&&l.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(i(u[l.dataIndex],l.format)),1)],64)):l&&l.tags?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[p(u[l.dataIndex],l.tags)?(e.openBlock(),e.createBlock(N,{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:_,text:k})=>[e.renderSlot(t.$slots,"expandedRowRender",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"2"}:void 0,t.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"customFilterDropdown",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"3"}:void 0,t.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"customFilterIcon",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"4"}:void 0,t.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"expandIcon",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"5"}:void 0,t.$slots.footer?{name:"footer",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"footer",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"6"}:void 0,t.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"headerCell",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"7"}:void 0,t.$slots.summary?{name:"summary",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"summary",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"8"}:void 0,t.$slots.title?{name:"title",fn:e.withCtx(({column:l,record:u,index:_,text:k})=>[e.renderSlot(t.$slots,"title",{record:u,column:l,index:_,text:k},void 0,!0)]),key:"9"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-b053fae5"]])),dt={class:"hb-lib-table-setting-box"},mt={key:0,class:"hb-lib-table-drag-item"},pt={key:0,class:"hb-lib-table-drag-item-act"},ft=["onClick"],ht=["onClick"],bt={class:"hb-lib-table-set-btn-group"},gt={class:"select-all-container",style:{"margin-right":"10px"}},Ct=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:f}){const n=f,{t:m}=Y.useI18n(),C=o,b=e.ref([]),r=e.computed(()=>p.value.filter(h=>h.checked));e.ref([]);const i=e.ref(!1),p=e.ref([]),t=e.ref(null),g=e.computed(()=>r.value.length>0&&r.value.length===b.value.length),F=e.computed(()=>r.value.length>0&&r.value.length<b.value.length),y=h=>{t.value=h.oldIndex},V=h=>{const c=h.newIndex;if(b.value.some(a=>a.fixed==="left"||a.fixed==="right"||a.fixed===!0)){const a=b.value.filter(E=>E.fixed==="left").length,w=b.value.length-b.value.filter(E=>E.fixed==="right").length;if((a>0&&c<a||w<b.value.length&&c>=w)&&(S.message.warning(m("hbLibComp.hbLibListTableColumsSet.errorTip")),t.value!==null)){const E=p.value.splice(c,1)[0];p.value.splice(t.value,0,E)}}t.value=null},N=h=>{h.target.checked?p.value.forEach(d=>d.checked=!0):p.value.forEach(d=>d.checked=!1)},x=(h,c)=>{c?h.checked=!0:h.checked=!1},l=()=>{b.value=[...p.value],n("on-get-columns",b.value),i.value=!1},u=()=>{b.value=C.tableColumns.map(c=>({...c,label:c.title&&c.title.tag?_(c.title):c.title||c.title2,value:c.dataIndex,checked:c.checked||c.checked===void 0})),p.value=[...b.value];let h=[];C.tableColumns.forEach(function(c){h.push(c.dataIndex)})},_=h=>h.children[0].text,k=h=>{delete h.fixed;const c=p.value.findIndex(d=>d.value===h.value);if(c!==-1){let d=-1;for(let a=0;a<p.value.length;a++)p.value[a].fixed==="left"&&(d=a);if(d!==-1&&c!==d+1){const a=[...p.value],[w]=a.splice(c,1);a.splice(d+1,0,w),p.value=a}}},$=h=>{const c=p.value.findIndex(d=>d.value===h.value);if(c!==-1){let d=-1;for(let z=0;z<p.value.length;z++)p.value[z].fixed==="left"&&(d=z);const a=[...p.value],[w]=a.splice(c,1);w.fixed="left";const E=d===-1?0:d+1;a.splice(E,0,w),p.value=a}};return e.watch(()=>C.tableColumns,()=>{u()},{immediate:!0,deep:!0}),(h,c)=>{const d=e.resolveComponent("a-tooltip"),a=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",dt,[e.createVNode(e.unref(S.Popover),{title:e.unref(m)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"column_setting_popover",visible:i.value,"onUpdate:visible":c[1]||(c[1]=w=>i.value=w)},{content:e.withCtx(()=>[e.createVNode(e.unref(X),{modelValue:p.value,"onUpdate:modelValue":c[0]||(c[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",mt,[e.createVNode(e.unref(S.Checkbox),{checked:w.checked,onChange:E=>x(w,E.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.label),1)]),_:2},1032,["checked","onChange"]),w.checked?(e.openBlock(),e.createElementBlock("section",pt,[e.createElementVNode("span",{class:e.normalizeClass(w.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),w.fixed?(e.openBlock(),e.createBlock(d,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:E=>k(w)},[...c[2]||(c[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,ft)]),_:2},1024)):e.createCommentVNode("",!0),w.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:E=>$(w)},[...c[3]||(c[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,ht)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",bt,[e.createElementVNode("div",gt,[e.createVNode(e.unref(S.Checkbox),{checked:g.value,indeterminate:F.value,onChange:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),e.createVNode(a,{onClick:l,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(d,{title:e.unref(m)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...c[4]||(c[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-772844f6"]])),kt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:ge,HbLibListBtnsAct:Te,HbLibListForm:ke,HbLibListMultiSelect:je,HbLibListPageAct:Le,HbLibListPageContainer:Ve,HbLibListTable:ct,HbLibMutilpleSelectModal:Je,HbLibTableAct:at,HbLibTableColumnSet:Ct},Symbol.toStringTag,{value:"Module"})),yt=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:f}){const n=o,m=e.useAttrs(),C=e.computed(()=>{const N=m,x=N.dropdownClassName;return{...N,dropdownClassName:x??"hb_lib_form_tooltip_select__dropdown"}}),b=e.ref(),r=e.useModel(o,"value"),i=e.computed(()=>n.options??[]),p=e.computed(()=>({maxWidth:typeof n.tooltipMaxWidth=="number"?`${n.tooltipMaxWidth}px`:n.tooltipMaxWidth})),t=N=>N.tooltip??N.label,g=N=>N.key??N.label,F=N=>!!(n.enableTooltip&&t(N));return f({focus:()=>{b.value?.focus?.()},blur:()=>{b.value?.blur?.()},selectRef:b}),(N,x)=>(e.openBlock(),e.createBlock(e.unref(S.Select),e.mergeProps({ref_key:"selectRef",ref:b,class:"hb_lib_form_tooltip_select"},C.value,{value:r.value,"onUpdate:value":x[0]||(x[0]=l=>r.value=l)}),{default:e.withCtx(()=>[N.$slots.default?e.renderSlot(N.$slots,"default",{key:0},void 0,!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(i.value,l=>(e.openBlock(),e.createBlock(e.unref(S.SelectOption),e.mergeProps({key:g(l),value:l.value,disabled:l.disabled},{ref_for:!0},l.optionProps),{default:e.withCtx(()=>[F(l)?(e.openBlock(),e.createBlock(e.unref(S.Tooltip),{key:0,title:t(l),placement:n.tooltipPlacement,overlayStyle:p.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":n.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":n.enableEllipsis}])},e.toDisplayString(l.label),3))]),_:2},1040,["value","disabled"]))),128))]),_:3},16,["value"]))}}),[["__scopeId","data-v-b04f5675"]])),ut=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormTooltipSelect:yt},Symbol.toStringTag,{value:"Module"})),_t={class:"ant-upload-drag-icon"},St={class:"ant-upload-text"},wt={style:{color:"#ff5000"}},Lt={class:"ant-upload-hint"},xt={key:0,class:"hb_import_btn"},Nt=["href"],Bt=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:f}){const{t:n}=Y.useI18n(),m=e.ref(),C=o,b=e.ref(!1),r=e.reactive({fileList:[],visible:!1}),i=y=>{if(y==null)return;const V=r.fileList.indexOf(y);if(V!==-1){const N=r.fileList.slice();N.splice(V,1),r.fileList=N}},p=()=>{r.visible=!1,r.fileList=[],b.value=!1},t=y=>(r.fileList=[y],C.beforeUpload?C.beforeUpload(y):!1),g=()=>{m.value.validateFields().then(()=>{C.beforeSubmit&&(b.value=!0,C.beforeSubmit(r.fileList).then(y=>{}).finally(()=>{b.value=!1}))})},F=()=>{r.visible=!0};return f({handleCancel:p,openModal:F,confirmLoading:b}),(y,V)=>{const N=e.resolveComponent("a-upload-dragger"),x=e.resolveComponent("a-form-item"),l=e.resolveComponent("a-form"),u=e.resolveComponent("a-modal"),_=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(u,e.mergeProps({title:C.title,visible:r.visible,"onUpdate:visible":V[0]||(V[0]=k=>r.visible=k),"confirm-loading":b.value},y.$attrs,{onCancel:p,onOk:g,width:C.modalWidth}),{default:e.withCtx(()=>[e.createVNode(l,{ref_key:"modalFormRef",ref:m,model:r},{default:e.withCtx(()=>[e.createVNode(x,{name:"fileList",label:e.unref(n)("hbLibComp.HbImportFile.fileLabel"),rules:[{required:C.isRequired,message:e.unref(n)("hbLibComp.HbImportFile.clickUp")}]},{default:e.withCtx(()=>[e.createVNode(N,{maxCount:C.maxCount,multiple:C.multiple,accept:C.acceptFile,name:"file",fileList:r.fileList,onRemove:i,beforeUpload:t},{default:e.withCtx(()=>[e.createElementVNode("p",_t,[e.createVNode(e.unref(j.PlusCircleOutlined),{style:{"font-size":"37px"}})]),e.createElementVNode("p",St,[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.HbImportFile.uploadText")),1),e.createElementVNode("span",wt,e.toDisplayString(e.unref(n)("hbLibComp.HbImportFile.clickUp")),1)]),e.createElementVNode("p",Lt,e.toDisplayString(e.unref(n)("hbLibComp.HbFileUploadModal.format"))+": "+e.toDisplayString(C.acceptFile),1)]),_:1},8,["maxCount","multiple","accept","fileList"])]),_:1},8,["label","rules"])]),_:1},8,["model"]),C.templateUrl?(e.openBlock(),e.createElementBlock("p",xt,[e.createElementVNode("a",{download:"Import_number-template.xlsx",href:C.templateUrl},e.toDisplayString(e.unref(n)("hbLibComp.HbImportFile.downloadTemplate")),9,Nt)])):e.createCommentVNode("",!0)]),_:1},16,["title","visible","confirm-loading","width"]),e.renderSlot(y.$slots,"btn",{},()=>[e.createVNode(_,{onClick:F,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.btnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-d61501db"]])),Tt=Object.freeze(Object.defineProperty({__proto__:null,HbLibImportFile:Bt},Symbol.toStringTag,{value:"Module"})),Ft={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"}},Vt=R(U(e.defineComponent({name:"HbLibCopy",__name:"copy",props:Ft,setup(o){const f=o,n=e.ref();e.watchEffect(()=>{n.value=f.data});const m=e.computed(()=>{if(f.cpText)return f.cpText;let b="";if(f.data)if(Array.isArray(f.data)){if(f.K&&f.V&&f.L){const r=f.data.find(i=>i?.[f.K]===f.V);b=r?r[f.L]:""}}else f.K&&(b=f.data[f.K]);return b}),C=()=>{navigator.clipboard.writeText(m.value).then(()=>{S.message.success(f.copySuccessTip)}).catch(()=>{S.message.error("复制失败")})};return(b,r)=>{const i=e.resolveComponent("a-tooltip");return m.value?(e.openBlock(),e.createBlock(i,{key:0,title:b.tooltipTitle},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-copy-text-eyevue",style:e.normalizeStyle({...b.cpStyle}),onClick:e.withModifiers(C,["stop","prevent"])},[...r[0]||(r[0]=[e.createElementVNode("svg",{t:"1766643849597",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5022",width:"200",height:"200"},[e.createElementVNode("path",{d:"M720 192h-544A80.096 80.096 0 0 0 96 272v608C96 924.128 131.904 960 176 960h544c44.128 0 80-35.872 80-80v-608C800 227.904 764.128 192 720 192z m16 688c0 8.8-7.2 16-16 16h-544a16 16 0 0 1-16-16v-608a16 16 0 0 1 16-16h544a16 16 0 0 1 16 16v608z","p-id":"5023",fill:"#ff5000"}),e.createElementVNode("path",{d:"M848 64h-544a32 32 0 0 0 0 64h544a16 16 0 0 1 16 16v608a32 32 0 1 0 64 0v-608C928 99.904 892.128 64 848 64z","p-id":"5024",fill:"#ff5000"}),e.createElementVNode("path",{d:"M608 360H288a32 32 0 0 0 0 64h320a32 32 0 1 0 0-64zM608 520H288a32 32 0 1 0 0 64h320a32 32 0 1 0 0-64zM480 678.656H288a32 32 0 1 0 0 64h192a32 32 0 1 0 0-64z","p-id":"5025",fill:"#ff5000"})],-1)])],4)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-81faec48"]])),Et={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:""}},$t=R(U(e.defineComponent({name:"HbDrag",__name:"index",props:Et,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(o,{emit:f}){const n=o,m=e.shallowRef([]);e.watch(()=>n.dragList,g=>{m.value=g},{deep:!0,immediate:!0});const C=oe("drag"),b=f,r=g=>{console.log("drag start",g),b("handleDragStart",g)},i=g=>{console.log("drag end",g),b("handleDragEnd",g)},p=g=>{console.log("drag add",g),b("handleDragAdd",g)},t=g=>{console.log("drag remove",g),b("handleDragRemove",g)};return(g,F)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(C).b())},[g.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(X),e.mergeProps({key:0,modelValue:m.value,"onUpdate:modelValue":F[0]||(F[0]=y=>m.value=y),"item-key":"key",class:{[g.dragClass]:g.dragClass}},g.$attrs,{"ghost-class":g.ghostClass,onStart:r,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(X),e.mergeProps({key:1,modelValue:m.value,"onUpdate:modelValue":F[1]||(F[1]=y=>m.value=y),"item-key":"id",class:{[g.dragClass]:g.dragClass}},g.$attrs,{"ghost-class":g.ghostClass,onStart:r,onEnd:i,onAdd:p,onRemove:t}),{item:e.withCtx(({element:y})=>[e.createElementVNode("div",null,[e.renderSlot(g.$slots,"default",{item:y},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]])),Mt=Object.freeze(Object.defineProperty({__proto__:null,HbLibCopy:Vt,HbLibFuncCompDrag:$t},Symbol.toStringTag,{value:"Module"})),It={class:"log_remark"},Ht=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:f,emit:n}){const{t:m}=Y.useI18n(),C=o,b=[{title:m("hbLibComp.HbLogModal.operator"),dataIndex:"userName",width:"15%"},{title:m("hbLibComp.HbLogModal.operateTime"),dataIndex:"operateTime",width:"25%"},{title:m("hbLibComp.HbLogModal.operateContent"),dataIndex:"remark"}],r=e.computed(()=>C.columns||b),i=e.computed(()=>C.title||m("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(()=>C.pagination,l=>{l&&(t.pagination={...t.pagination,...l})},{deep:!0,immediate:!0});const g=(l=1)=>{const u={pageIndex:l,pageSize:t.pagination.pageSize,query:C.params};C.getLogData&&(p.value=!0,C.getLogData(u).then(_=>{Number(_.code)==200&&(t.pagination.current=l,t.pagination.total=Number(_.data.total),t.list=_.data.records||[])}).finally(()=>{p.value=!1}))},F=l=>{t.pagination.current=l.current,t.pagination.pageSize=l.pageSize,g()},y=()=>{t.list=[],x("update:visible",!1)},V=()=>{x("update:visible",!0)},N=(l,u="YYYY-MM-DD HH:mm:ss")=>l?v(l).format(u):"",x=n;return e.watch(()=>C.visible,l=>{l&&g()}),f({close:y,loading:p}),(l,u)=>{const _=e.resolveComponent("a-tooltip"),k=e.resolveComponent("HbLibCopy"),$=e.resolveComponent("a-table"),h=e.resolveComponent("a-button"),c=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(c,{visible:o.visible,title:i.value,width:o.width,onCancel:y},{footer:e.withCtx(()=>[e.createVNode(h,{onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("hbLibComp.HbLogModal.close")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode($,{bordered:"",rowKey:"id",columns:r.value,dataSource:t.list,pagination:t.pagination,loading:p.value,onChange:F},{bodyCell:e.withCtx(({column:d,record:a})=>[d&&d.needTooltip?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[d.needTooltip?(e.openBlock(),e.createBlock(_,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a[d.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(a[d.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),d&&d.needCopy?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",It,e.toDisplayString(a[d.dataIndex]),1),e.createVNode(k,{"cp-text":a[d.dataIndex],style:{position:"relative"}},null,8,["cp-text"])],64)):e.createCommentVNode("",!0),d&&d.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(N(a[d.dataIndex],d.operateTime)),1)],64)):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","pagination","loading"])]),_:1},8,["visible","title","width"]),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(h,{onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.logBtnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-cee51270"]]));let se={...kt,...ut,...Tt,...Object.freeze(Object.defineProperty({__proto__:null,HbLibLogModal:Ht},Symbol.toStringTag,{value:"Module"})),...Mt};const Dt={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"}}},zt={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:"ファイルのアップロード"}}},At={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:"文件上传"}}},Pt={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 ee={exports:{}},Ot=ee.exports,ce;function Rt(){return ce||(ce=1,(function(o,f){(function(n,m){o.exports=m(v)})(Ot,(function(n){function m(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var C=m(n),b={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r,i){return i==="W"?r+"周":r+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(r,i){var p=100*r+i;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};return C.default.locale(b,null,!0),b}))})(ee)),ee.exports}Rt(),v.locale("zh-cn");const Ut={en_US:Dt,ja_JP:zt,zh_CN:At,de_DE:Pt},qt=function(o){Object.keys(se).forEach(n=>{o.use(se[n])})};A.install=qt,A.locales=Ut,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));
|