@hb-hellotech/hb-ui 1.2.5-beta.6.1 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/business_comp/file_comp/import_file/index.d.ts +5 -0
- package/dist/components/business_comp/file_comp/import_file/index.d.ts.map +1 -0
- package/dist/components/business_comp/file_comp/import_file/src/type.d.ts +13 -0
- package/dist/components/business_comp/file_comp/import_file/src/type.d.ts.map +1 -0
- package/dist/components/business_comp/file_comp/index.d.ts +3 -0
- package/dist/components/business_comp/file_comp/index.d.ts.map +1 -0
- package/dist/components/business_comp/form_comp/hb_tooltip_select/index.d.ts +5 -0
- package/dist/components/business_comp/form_comp/hb_tooltip_select/index.d.ts.map +1 -0
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/index.d.ts +5 -0
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/index.d.ts.map +1 -0
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/index.d.ts +5 -0
- package/dist/components/business_comp/list_page_comp/hb_form_select_filter/index.d.ts.map +1 -0
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/index.d.ts +1 -232
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_form_select_modal/src/HbMutilpleSelectModal.vue.d.ts +2 -2
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/index.d.ts +1 -88
- package/dist/components/business_comp/list_page_comp/hb_list_btns_act/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_form/index.d.ts +5 -0
- package/dist/components/business_comp/list_page_comp/hb_list_form/index.d.ts.map +1 -0
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/index.d.ts +1 -58
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/index.d.ts +1 -97
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/index.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/src/HbListPageContainer.vue.d.ts +3 -0
- package/dist/components/business_comp/list_page_comp/hb_list_page_container/src/HbListPageContainer.vue.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/index.d.ts +5 -0
- package/dist/components/business_comp/list_page_comp/hb_list_table/index.d.ts.map +1 -0
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/index.d.ts +5 -0
- package/dist/components/business_comp/list_page_comp/hb_list_table_act/index.d.ts.map +1 -0
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/index.d.ts +5 -0
- package/dist/components/business_comp/list_page_comp/hb_list_table_colums_set/index.d.ts.map +1 -0
- package/dist/components/business_comp/modal_comp/index.d.ts +3 -0
- package/dist/components/business_comp/modal_comp/index.d.ts.map +1 -0
- package/dist/components/business_comp/modal_comp/log_modal/index.d.ts +5 -0
- package/dist/components/business_comp/modal_comp/log_modal/index.d.ts.map +1 -0
- package/dist/components/business_comp/modal_comp/log_modal/src/type.d.ts +14 -0
- package/dist/components/business_comp/modal_comp/log_modal/src/type.d.ts.map +1 -0
- package/dist/components/func_comp/hb_func_comp_copy/index.d.ts +1 -151
- package/dist/components/func_comp/hb_func_comp_copy/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_drag/index.d.ts +1 -439
- package/dist/components/func_comp/hb_func_comp_drag/index.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_drag/src/index.vue.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/utils/withInstall.d.ts +1 -4
- package/dist/components/utils/withInstall.d.ts.map +1 -1
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +1469 -1183
- package/dist/hb_component_lib.umd.cjs +1 -1
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(P,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vuedraggable"),require("@ant-design/icons-vue"),require("ant-design-vue"),require("vue-router"),require("vue-i18n"),require("lodash"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","@ant-design/icons-vue","ant-design-vue","vue-router","vue-i18n","lodash","@vueuse/core","dayjs"],e):(P=typeof globalThis<"u"?globalThis:P||self,e(P.HbComponentLib={},P.Vue,P.draggable,P.iconsVue,P.antDesignVue,P.vueRouter,P.vueI18n,P.lodash,P.core,P.dayjs))})(this,(function(P,e,J,q,k,oe,j,Q,le,Z){"use strict";const X=(t="")=>{const p=`hb-${t}`;return re(p)},K=(t,p,r,n)=>(p&&(t+=`-${p}`),r&&(t+=`__${r}`),n&&(t+=`--${n}`),t),re=t=>({b:p=>p?K(t,p,"",""):K(t,"","",""),e:p=>p?K(t,"",p,""):"",m:p=>K(t,"","",p),be:(p,r)=>K(t,p,r,""),em:(p,r)=>K(t,"",p,r),bem:(p,r,n)=>K(t,p,r,n),is:(p,r)=>r?`is-${p}`:""}),ie=["onMouseenter","onMouseleave"],se=["onClick"],ce=e.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:{list:{default:()=>[]},afterChange:{type:Function,default:()=>()=>{}},title:{default:"自定义查询条件"},showNumber:{default:40}},emits:["confirm"],setup(t,{expose:p,emit:r}){const n=j.useI18n().t,w=j.useI18n().messages.value.en_US,f=j.useI18n().messages.value.ja_JP,d=j.useI18n().messages.value.zh_CN,i=t,o=r,c=X("sfcm"),b=oe.useRoute(),$=e.reactive({lan:window.localStorage.getItem("lan")}),F=e.ref(!1),D=e.ref(600);let h=[];const g=e.ref([]),S=e.ref([]),_=e.computed(()=>g.value.every(y=>y.isLinked||y.isFixed)),V=y=>{const N=y.draggedContext.element,C=y.relatedContext.index;if(N.isLinked||N.isFixed)return!1;const E=g.value.map((z,Y)=>({item:z,index:Y})).filter(({item:z})=>z.isLinked).map(({index:z})=>z);if(E.length===0)return!0;for(let z=0;z<E.length-1;z++){const Y=E[z],W=E[z+1];if(C>Y&&C<W)return!1}return!0},B=()=>{const y=localStorage.getItem("pro__Login_Userinfo");let N="anonymous";if(y)try{N=JSON.parse(y).value.jobNumber||"anonymous"}catch(E){console.warn("解析用户信息失败:",E)}let C=b?.path;return`searchFormConfig_${N}_${C}`},L=y=>({ja_JP:()=>Q.get(f,y.labelLanguage||""),en_US:()=>Q.get(w,y.labelLanguage||""),zh_CN:()=>Q.get(d,y.labelLanguage||"")})[$.lan]?.()||y.label,l=y=>{try{const N=B(),C=localStorage.getItem(N);if(C){const E=JSON.parse(C);if(E.originalList&&Array.isArray(E.originalList)){h=JSON.parse(JSON.stringify(E.originalList));const z=h.filter(x=>x?.isFixed),Y=h.filter(x=>x?.isLinked),W=E.showList.filter(x=>!x.isFixed&&!x.isLinked),v=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-z.length-Y.length):W.length,ee=z.map(x=>({...x,label:L(x)||`${x.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:x.key,isFixed:x?.isFixed||!1,isLinked:x?.isLinked||!1,labelLanguage:x?.labelLanguage||void 0})),te=Y.map(x=>({...x,label:L(x)||`${x.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:x.key,isFixed:x?.isFixed||!1,isLinked:!0,labelLanguage:x?.labelLanguage||void 0})),T=W.slice(0,v).map(x=>({...x,label:L(x)||`${x.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:x.key,isFixed:x?.isFixed||!1,isLinked:x?.isLinked||!1,labelLanguage:x?.labelLanguage||void 0}));g.value=[...ee,...te,...T];const Nt=g.value.map(x=>x.key),Ft=h.map(x=>x.key).filter(x=>!Nt.includes(x));return S.value=h.filter(x=>Ft.includes(x.key)).map(x=>({...x,label:L(x)||`${x.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:x.key,isFixed:x?.isFixed||!1,isLinked:x?.isLinked||!1,active:!1,labelLanguage:x?.labelLanguage||void 0})),!0}}}catch(N){console.warn("加载保存的搜索配置失败:",N)}return!1},a=()=>{try{const y={originalList:h,showList:g.value.map(C=>({...C,key:C.key,label:C.label,isFixed:C.isFixed,isLinked:C.isLinked,labelLanguage:C?.labelLanguage||void 0}))},N=B();localStorage.setItem(N,JSON.stringify(y))}catch(y){console.warn("保存搜索配置失败:",y)}},m=e.computed(()=>{const y=g.value.filter(C=>!C.isFixed&&!C.isLinked).length,N=g.value.filter(C=>C.isFixed||C.isLinked).length;return y>=i.showNumber-N});e.watch(()=>i.list,y=>{let N=JSON.stringify(g.value)!==JSON.stringify(y);if(!(!N&&l())&&(h.length===0||N)){h=JSON.parse(JSON.stringify(y));const C=y.filter(T=>T?.isFixed),E=y.filter(T=>T?.isLinked),z=y.filter(T=>!T?.isFixed&&!T?.isLinked),Y=i.showNumber&&i.showNumber>0?Math.max(0,i.showNumber-C.length-E.length):z.length,W=C.map(T=>({...T,label:L(T)||`${T.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:T.key,isFixed:T?.isFixed||!1,isLinked:T?.isLinked||!1,labelLanguage:T?.labelLanguage||void 0})),v=E.map(T=>({...T,label:L(T)||`${T.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:T.key,isFixed:T?.isFixed||!1,isLinked:!0,labelLanguage:T?.labelLanguage||void 0})),ee=z.slice(0,Y).map(T=>({...T,label:L(T)||`${T.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:T.key,isFixed:T?.isFixed||!1,isLinked:T?.isLinked||!1,labelLanguage:T?.labelLanguage||void 0}));g.value=[...W,...v,...ee];const te=z.slice(Y).map(T=>({...T,label:L(T)||`${T.subLabel||""}${n("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:T.key,isFixed:T?.isFixed||!1,isLinked:T?.isLinked||!1,active:!1,labelLanguage:T?.labelLanguage||void 0}));S.value=te}},{immediate:!0});const u=y=>{const N=g.value.findIndex(C=>C.key===y.key);N!==-1&&(g.value.splice(N,1),S.value.push({...y,active:!1}))},s=y=>{if(m.value)return;const N=S.value.findIndex(C=>C.key===y.key);if(N!==-1){const[C]=S.value.splice(N,1);g.value.push({...C,active:!1})}},I=()=>{F.value=!1},M=()=>{F.value=!0},R=()=>{a(),o("confirm",g.value),I()},A=y=>{const N=S.value.findIndex(C=>C.key===y.key);N!==-1&&(S.value[N].active=!0)},H=y=>{const N=S.value.findIndex(C=>C.key===y.key);N!==-1&&(S.value[N].active=!1)};return p({toOpenModal:M}),(y,N)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(c).b())},[e.createVNode(e.unref(k.Modal),{visible:F.value,"onUpdate:visible":N[1]||(N[1]=C=>F.value=C),width:D.value,onCancel:I,onOk:R},{title:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(c).e("title"))},e.toDisplayString(t.title),3)]),footer:e.withCtx(()=>[e.createVNode(e.unref(k.Button),{onClick:I},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(k.Button),{type:"primary",onClick:R},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("section",{class:e.normalizeClass(e.unref(c).e("show"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(c).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(c).e("title__tip"))},e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(t.showNumber)+e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c).e("show__tag"))},[e.createVNode(e.unref(J),{modelValue:g.value,"onUpdate:modelValue":N[0]||(N[0]=C=>g.value=C),"item-key":"key",tag:"div",disabled:_.value,move:V},{item:e.withCtx(({element:C})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(c).e("show__tag__item"),e.unref(c).is("fixed",C.isFixed),e.unref(c).is("linked",C.isLinked)])},[e.createTextVNode(e.toDisplayString(C.label)+" ",1),!C.isFixed&&!C.isLinked&&t.list.length>1?(e.openBlock(),e.createBlock(e.unref(q.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(c).e("show__tag__item-close")),onClick:E=>u(C)},null,8,["class","onClick"])):e.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),e.createElementVNode("section",{class:e.normalizeClass(e.unref(c).e("unshow"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(c).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(c).e("title__tip"))},e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c).e("unshow__tag"))},[S.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(S.value,C=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(c).e("unshow__tag__item"),e.unref(c).is("fixed",C.isFixed||""),e.unref(c).is("linked",C.isLinked||"")]),key:C.key,onMouseenter:E=>A(C),onMouseleave:E=>H(C)},[e.createTextVNode(e.toDisplayString(C.label)+" ",1),C.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(c).e("unshow__tag__item-add")),onClick:E=>s(C)},e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.add")),11,se)):e.createCommentVNode("",!0)],42,ie))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(c).e("unshow__tag__empty"))},e.toDisplayString(y.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),U=(t,p)=>{const r=t.__vccOpts||t;for(const[n,w]of p)r[n]=w;return r},de=U(ce,[["__scopeId","data-v-52ee50f2"]]),O=(t,p)=>(t.install=r=>{for(const n of[t,...Object.values({})])r.component(n.name,n)},t),me=O(de),pe={class:"form-footer"},he=O(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}})},needFooter:{type:Boolean,default:!1},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},calTableHeight:{type:Function,default:()=>()=>{}}},emits:["handleSearch","handleReset","handleSfcmConfirm"],setup(t,{expose:p,emit:r}){const n=r,w=e.inject("HB_LIST_PAGE_CONTAINER"),f=X("form"),d=t,i=e.ref("show"),o=e.computed(()=>[...d.items]),c=e.ref(),b=()=>{n("handleSearch")},$=()=>{n("handleReset")},F=e.ref(),D=()=>{F.value&&F.value.toOpenModal()},h=L=>{n("handleSfcmConfirm",L)},g=()=>{i.value=i.value==="show"?"hide":"show"};e.watch(()=>d.isFormExpanded,L=>{if(L){console.log(L);const l=document.querySelector("#subpackage_container");l instanceof HTMLElement&&(l.style.overflow="hidden",setTimeout(()=>{l.style.overflow="auto"},500))}});const S=L=>{const l=L;l.style.height="",l.offsetHeight},_=L=>{const l=L;l.style.height="",l.style.overflow="",e.nextTick(()=>{w.calTableHeight&&w.calTableHeight()})},V=L=>{const l=L,a=l.querySelector(".hb-lib-form--container");if(a){const m=a.offsetHeight;l.style.height=m+"px",l.style.overflow="hidden",l.offsetHeight,requestAnimationFrame(()=>{l.style.height="0"})}},B=()=>{e.nextTick(()=>{w.calTableHeight&&w.calTableHeight()})};return p({formRef:c,SelectOption:k.SelectOption,Form:k.Form,FormItem:k.FormItem,Row:k.Row,Col:k.Col,Input:k.Input,Select:k.Select,CheckboxGroup:k.CheckboxGroup,Checkbox:k.Checkbox,DatePicker:k.DatePicker,InputNumber:k.InputNumber,RadioGroup:k.RadioGroup,Radio:k.Radio,Switch:k.Switch,Button:k.Button,Tooltip:k.Tooltip}),(L,l)=>{const a=e.resolveComponent("a-button"),m=e.resolveComponent("a-tooltip"),u=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:S,onAfterEnter:_,onLeave:V,onAfterLeave:B},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(f).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[e.createVNode(e.unref(k.Form),e.mergeProps(L.$attrs,{model:t.formData,ref_key:"formRef",ref:c,class:["hb-lib-form--container",i.value=="show"?"":"hide"]}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(s,I)=>(e.openBlock(),e.createBlock(e.unref(k.FormItem),e.mergeProps({key:I,ref_for:!0},s,{name:s.key,class:s.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),e.createSlots({default:e.withCtx(()=>[s.type==="slot"?e.renderSlot(L.$slots,s.key,{key:0,formData:t.formData,item:s},void 0,!0):e.createCommentVNode("",!0),s.type==="mixin"?e.renderSlot(L.$slots,s.key,{key:1,formData:t.formData,item:s},void 0,!0):e.createCommentVNode("",!0),s.type==="input"?(e.openBlock(),e.createBlock(e.unref(k.Input),e.mergeProps({key:2,value:t.formData[s.key],"onUpdate:value":M=>t.formData[s.key]=M},{ref_for:!0},s.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),s.type==="select"?(e.openBlock(),e.createBlock(e.unref(k.Select),e.mergeProps({key:3,value:t.formData[s.key],"onUpdate:value":M=>t.formData[s.key]=M},{ref_for:!0},s.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.options,(M,R)=>(e.openBlock(),e.createBlock(e.unref(k.SelectOption),{key:R,value:M.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(M.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),s.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(k.CheckboxGroup),e.mergeProps({key:4,value:t.formData[s.key],"onUpdate:value":M=>t.formData[s.key]=M},{ref_for:!0},s.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.options,(M,R)=>(e.openBlock(),e.createBlock(e.unref(k.Checkbox),{key:R,value:M.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(M.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),s.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(k.DatePicker),e.mergeProps({key:5,value:t.formData[s.key],"onUpdate:value":M=>t.formData[s.key]=M},{ref_for:!0},s.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),s.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(k.InputNumber),e.mergeProps({key:6,value:t.formData[s.key],"onUpdate:value":M=>t.formData[s.key]=M},{ref_for:!0},s.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),s.type==="radio"?(e.openBlock(),e.createBlock(e.unref(k.RadioGroup),e.mergeProps({key:7,value:t.formData[s.key],"onUpdate:value":M=>t.formData[s.key]=M},{ref_for:!0},s.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.options,(M,R)=>(e.openBlock(),e.createBlock(e.unref(k.Radio),{key:R,value:M.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(M.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),s.type==="switch"?(e.openBlock(),e.createBlock(e.unref(k.Switch),e.mergeProps({key:8,checked:t.formData[s.key],"onUpdate:checked":M=>t.formData[s.key]=M},{ref_for:!0},s.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[s.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label)+" ",1),e.createVNode(e.unref(k.Tooltip),{title:s.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(q.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),e.createElementVNode("section",pe,[e.createVNode(a,{type:"primary",onClick:b,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(q.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(L.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(a,{type:"link",onClick:$},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.needFilter?(e.openBlock(),e.createBlock(m,{key:0,title:L.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:D},[...l[0]||(l[0]=[e.createElementVNode("svg",{t:"1757915025410",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"16346",width:"200",height:"200"},[e.createElementVNode("path",{d:"M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",fill:"#ff5000","p-id":"16347"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(L.$slots,"formBtns",{},void 0,!0)])]),_:3},16,["model","class"]),t.needFooter?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(f).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(f).e("footer__left"))},[e.renderSlot(L.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f).e("footer__right"))},[i.value=="show"?e.renderSlot(L.$slots,"form-footer-right",{key:0,formRef:c.value},()=>[e.createVNode(e.unref(k.Button),{type:"primary",onClick:$},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(e.unref(k.Button),{type:"primary",onClick:b},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):e.createCommentVNode("",!0),e.createVNode(e.unref(k.Button),{type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value=="show"?`${L.$t("hbLibComp.hbListPageAct.close")}`:`${L.$t("hbLibComp.hbListPageAct.open")}`),1)]),_:1})],2)],2)):e.createCommentVNode("",!0)],2),[[e.vShow,t.isFormExpanded]])]),_:3}),e.createVNode(u,{list:o.value,ref_key:"HbSfCmRef",ref:F,onConfirm:h},null,8,["list"])],64)}}}),[["__scopeId","data-v-203a1bd9"]])),fe={class:"hb-lib-list-page-act-box"},be={class:"hb-lib-list-page-breadcrumb"},ge={class:"hb-lib-list-page-act"},Ce={key:0,t:"1757915338760",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"22885",width:"200",height:"200"},ke={key:1,t:"1757915360496",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"23904",width:"200",height:"200"},ue=O(U(e.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:{isShowFullScreen:{type:Boolean,default:!0}},setup(t){const p=e.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:r,toggle:n}=le.useFullscreen(p.PageContainerRef),w=e.ref(""),f=()=>{const d=oe.useRoute();let i=localStorage.getItem("BreadCrumb")||"[]",o=d?.path;if(i!=="[]"){let c=JSON.parse(i).find(b=>b.value===o);c&&(w.value=c.label.replace(/-/g," / "))}};return e.onMounted(()=>{f()}),(d,i)=>{const o=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",fe,[e.createElementVNode("aside",be,e.toDisplayString(w.value),1),e.createElementVNode("aside",ge,[e.createVNode(o,{title:e.unref(r)?`${d.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${d.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:i[0]||(i[0]=(...c)=>e.unref(n)&&e.unref(n)(...c))},[e.unref(r)?(e.openBlock(),e.createElementBlock("svg",ke,[...i[2]||(i[2]=[e.createElementVNode("path",{d:"M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23905"},null,-1),e.createElementVNode("path",{d:"M896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333zM257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333zM343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23906"},null,-1),e.createElementVNode("path",{d:"M343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23907"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",Ce,[...i[1]||(i[1]=[e.createElementVNode("path",{d:"M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",fill:"#ff5000","p-id":"22886"},null,-1)])]))])]),_:1},8,["title"]),e.renderSlot(d.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-a7ddfc50"]])),ye={class:"hb-lib-list-btns-box"},Se={class:"hb-lib-list-btns-left"},Le={class:"hb-lib-list-btns-right"},we=O(U(e.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:{needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},emits:["handleOpenOrClose","handleReload"],setup(t,{emit:p}){const r=p,n=e.ref(!0),w=()=>{n.value=!n.value,r("handleOpenOrClose",n.value)},f=()=>{r("handleReload")};return e.onMounted(()=>{}),(d,i)=>{const o=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ye,[e.createElementVNode("aside",Se,[e.renderSlot(d.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Le,[t.needReload?(e.openBlock(),e.createBlock(o,{key:0,title:d.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:f},[...i[0]||(i[0]=[e.createElementVNode("svg",{t:"1759041224819",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4202",width:"200",height:"200"},[e.createElementVNode("path",{d:"M958.681412 457.499032c-6.170072-50.632177-20.854483-99.563886-43.643361-145.434552-45.779694-92.144205-122.249797-166.333021-215.325711-208.898719-20.083724-9.18513-43.810309-0.349891-52.995439 19.734833-9.18413 20.082724-0.349891 43.810309 19.733833 52.996438 159.26323 72.834239 245.755201 249.640987 205.658732 420.410622-30.735395 130.876101-129.201624 233.321087-256.187941 270.333521l-0.262918-70.800875-196.843487 114.650172 197.690222 113.176632-0.275914-74.43274c75.398438-17.911403 144.809747-54.929834 202.084849-108.039237 65.597501-60.827991 111.122274-139.186504 131.651859-226.606186 12.170197-51.828803 15.10328-104.683286 8.715276-157.089909zM408.299406-0.001l0.271915 74.43374c-75.404436 17.911403-144.820744 54.931834-202.099843 108.046235-65.6005 60.83099-111.124274 139.191503-131.651859 226.616183-7.987504 34.034364-11.994252 68.507591-11.994252 103.010809 0 17.994377 1.090659 35.996751 3.271978 53.946142 6.152077 50.59119 20.803499 99.48891 43.545392 145.333583 45.678725 92.080225 122.012871 166.270041 214.936832 208.900718 20.071728 9.209122 43.810309 0.401874 53.018432-19.670852 9.210122-20.076726 0.400875-43.810309-19.671853-53.019432-158.963324-72.92821-245.278351-249.658982-205.24886-420.22368 30.732396-130.883099 129.201624-233.333083 256.195939-270.345517l0.259919 70.801874 196.850484-114.640174L408.299406-0.001z",fill:"#ff5000","p-id":"4203"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),t.needOpenOrClose?(e.openBlock(),e.createBlock(o,{key:1,title:n.value?`${d.$t("hbLibComp.hbListBtnsAct.close")}`:`${d.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:w},[n.value?(e.openBlock(),e.createBlock(e.unref(q.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(q.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(d.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-da13672b"]])),xe=(t={})=>{const{formRef:p,offsetBottom:r=50,minHeight:n=300}=t,w=e.ref(0);let f=null,d=null,i=null,o=null,c=null;const b=()=>{c&&clearTimeout(c),c=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const _=document.querySelector(".ant-table"),V=document.querySelector(".ant-pagination");if(_){const B=_.getBoundingClientRect().top,L=window.innerHeight,a=(V?V.offsetHeight+20:40)+r;let m=L-B-a;m<n&&(m=n),w.value=m}})})},100)},$=()=>{const _=document.querySelector(".ant-pagination");if(_){const V=new MutationObserver(()=>{b()});return V.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),V}return null},F=()=>{const _=document.querySelector(".hb-lib-list-page-form-box");_&&(f=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(B=>{B.style.display="none"}),b()}),f.observe(_))},D=()=>{const _=document.querySelector(".hb-lib-list-page-form-box");_&&(i=new MutationObserver(()=>{setTimeout(()=>{b()},100)}),i.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},h=()=>{o&&clearTimeout(o),o=setTimeout(()=>{b()},100)},g=()=>{window.addEventListener("resize",h),e.nextTick(()=>{F(),D(),d=$()})},S=()=>{window.removeEventListener("resize",h),f&&f.disconnect(),i&&i.disconnect(),d&&d.disconnect(),o&&clearTimeout(o),c&&clearTimeout(c)};return p&&e.watch(()=>p,()=>{setTimeout(()=>{b()},200)},{deep:!0}),e.onMounted(()=>{b(),g()}),e.onUnmounted(()=>{S()}),{tableHeight:w,calTableHeight:b}},_e=O(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{default:400},tabelData:{default:()=>[]},offsetBottom:{},minHeight:{}},setup(t){const p=t,r=e.useTemplateRef("PageContainerRef"),{calTableHeight:n,tableHeight:w}=xe({offsetBottom:p.offsetBottom||20,minHeight:p.minHeight||300}),f=e.computed(()=>w.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:r,tableHeight:w,calTableHeight:n}),(d,i)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:r},[e.renderSlot(d.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle({"--hb-list-table-height":f.value-20+"px","--hb-list-ttable-height":t.tabelData.length?"":f.value-20+"px"})},[e.renderSlot(d.$slots,"default")],4)],512))}})),Be={style:{"font-weight":"500"}},Ne={key:0,class:"hb-lib-search-tag__description"},Fe={class:"hb-lib-selector-dropdown"},Te={class:"hb-lib-selector-search"},$e={class:"hb-lib-selector-list"},Me=["onClick"],Ve={class:"hb-lib-option-content"},Ee={class:"hb-lib-option-label"},Ie={key:0,class:"hb-lib-selector-empty"},He={key:1,class:"hb-lib-selector-footer"},De={class:"hb-lib-footer-buttons"},Ae={key:2,class:"hb-lib-selector-footer"},ze={class:"hb-lib-footer-buttons"},Pe=O(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(t,{emit:p}){const r=t,n=p,w=e.useModel(t,"value"),f=e.ref(!1),d=e.ref(""),i=e.ref([]),o=e.ref(),c=e.computed(()=>{if(r.remoteSearch||!d.value)return r.options;const l=d.value.toLowerCase();return r.options.filter(a=>a.label.toLowerCase().includes(l)||a.description?.toLowerCase().includes(l))}),b=e.computed(()=>r.prefix?`${r.prefix.length*14+8}px`:"0px"),$=e.computed(()=>c.value.length===0?!1:c.value.every(l=>i.value.includes(l.value))),F=e.computed(()=>{if(c.value.length===0)return!1;const l=c.value.filter(a=>i.value.includes(a.value)).length;return l>0&&l<c.value.length});e.watch(()=>w.value,l=>{l?i.value=Array.isArray(l)?[...l]:[l]:i.value=[]},{immediate:!0}),e.watch(()=>r.searchValue,l=>{r.remoteSearch&&l!==void 0&&(d.value=l)},{immediate:!0});const D=l=>{l&&(f.value=l,h.value=[...i.value],d.value="",setTimeout(()=>{if(o.value){const a=o.value.input||o.value.$el?.querySelector("input");a&&a.focus()}},100))},h=e.ref([]),g=()=>{i.value=[...h.value],f.value=!1,n("cancel")},S=e.ref([]),_=()=>{const l=r.multiple?i.value:i.value[0]||"",a=r.options.filter(m=>i.value.includes(m.value));S.value=a,console.log(l,a),h.value=[...i.value],w.value=l,n("update:value",l),n("change",l,a),n("confirm",l,a),f.value=!1},V=le.useDebounceFn(l=>{const a=l!==void 0?l:d.value;r.remoteSearch&&(n("search",a),n("update:searchValue",a))},300),B=l=>{if(r.multiple){const a=new Set(i.value);a.has(l.value)?a.delete(l.value):a.add(l.value),i.value=Array.from(a)}else i.value=[l.value],_()},L=l=>{if(l.target.checked){const m=new Set(i.value);c.value.forEach(u=>{m.add(u.value)}),i.value=Array.from(m)}else{const m=new Set(c.value.map(u=>u.value));i.value=i.value.filter(u=>!m.has(u))}};return(l,a)=>{const m=e.resolveComponent("a-tag"),u=e.resolveComponent("a-input"),s=e.resolveComponent("a-checkbox"),I=e.resolveComponent("a-radio"),M=e.resolveComponent("a-button"),R=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":b.value}},l.$attrs),[e.createVNode(R,{value:w.value,"onUpdate:value":a[5]||(a[5]=A=>w.value=A),mode:t.multiple?"multiple":void 0,placeholder:t.placeholder,"show-search":!0,"filter-option":!1,open:f.value,allowClear:"",maxTagCount:t.maxTagCount,options:c.value,onDropdownVisibleChange:D,onSearch:e.unref(V),"max-tag-text-length":t.tagTextLength,class:e.normalizeClass({"has-prefix":t.prefix}),"data-prefix":t.prefix,style:{width:"100%"}},{tagRender:e.withCtx(({value:A,label:H,closable:y,option:N})=>[e.createVNode(m,{class:"hb-lib-search-tag",onClick:a[0]||(a[0]=()=>D(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Be,e.toDisplayString(H),1),N?.description?(e.openBlock(),e.createElementBlock("span",Ne," ("+e.toDisplayString(N.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:A})=>[e.createElementVNode("div",Fe,[e.createElementVNode("div",Te,[e.createVNode(u,{ref_key:"searchInputRef",ref:o,class:"hb-lib-selector-search-input",value:d.value,"onUpdate:value":a[1]||(a[1]=H=>d.value=H),placeholder:"请输入关键词搜索","allow-clear":"",onInput:a[2]||(a[2]=H=>e.unref(V)(H.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(q.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",$e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,H=>(e.openBlock(),e.createElementBlock("div",{key:H.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:i.value.includes(H.value)}]),onClick:()=>B(H)},[t.multiple?(e.openBlock(),e.createBlock(s,{key:0,checked:i.value.includes(H.value),onChange:()=>B(H),onClick:a[3]||(a[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock(I,{key:1,checked:i.value.includes(H.value),onChange:()=>B(H),onClick:a[4]||(a[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",Ve,[e.createElementVNode("div",Ee,e.toDisplayString(H.label),1)])],10,Me))),128))]),c.value.length===0?(e.openBlock(),e.createElementBlock("div",Ie,e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),t.multiple?(e.openBlock(),e.createElementBlock("div",He,[e.createVNode(s,{checked:$.value,indeterminate:F.value,onChange:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",De,[e.createVNode(M,{size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(M,{type:"primary",size:"small",onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",Ae,[a[6]||(a[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",ze,[e.createVNode(M,{size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.$t("hbLibComp.hbFormSelectFilter.close")),1)]),_:1})])]))])]),_:1},8,["value","mode","placeholder","open","maxTagCount","options","onSearch","max-tag-text-length","class","data-prefix"])],16)}}}),[["__scopeId","data-v-87177371"]])),Oe={class:"hb-lib-form-item-filter-modal-search"},Re={class:"hb-lib-form-item-filter-modal-buttons"},Ue={key:0},qe=O(e.defineComponent({name:"HbLibMutilpleSelectModal",__name:"HbMutilpleSelectModal",props:{modelTitle:{default:"搜索弹窗"},modalWidth:{default:800},tableHeight:{default:500},tableColumn:{default:()=>[]},tableData:{default:()=>[]},tableKey:{default:"id"},labelKey:{default:"label"}},emits:["handleConfirm","handleCancel"],setup(t,{expose:p,emit:r}){const n=t,w=r,f=e.ref(!1),d=e.ref(""),i=e.ref(),o=e.ref(),c=e.ref([]),b=e.ref([]),$=e.ref(),F=e.reactive({searchText:"",searchedColumn:""}),D=e.computed(()=>n.tableData.map(m=>(m.id=m.id||Math.random(),m))),h=e.computed(()=>n.tableColumn.map(m=>(m.customFilterDropdown&&(m.onFilter=(u,s)=>s[m.dataIndex].toString().toLowerCase().includes(u.toLowerCase()),m.onFilterDropdownVisibleChange=u=>{u&&setTimeout(()=>{i.value?.focus()},100)}),{...m}))),g=()=>{let m="";b.value.forEach(u=>{m=m+u[n.labelKey]+","}),d.value=m.substring(0,m.length-1),f.value=!1,w("handleConfirm",b.value)},S=()=>{f.value=!1},_=()=>{f.value=!0,e.nextTick(()=>{const m=$.value?.$el?.querySelector(".ant-table-body");m&&(m.scrollTop=0)})},V=()=>{c.value=[],b.value=[]},B=()=>{d.value="",V()},L=(m,u,s)=>{u(),F.searchText=m[0],F.searchedColumn=s},l=(m,u)=>{m({confirm:!0}),F.searchText="",u()},a=(m,u)=>{c.value=m,b.value=u};return p({resetInputVal:B}),(m,u)=>{const s=e.resolveComponent("a-input"),I=e.resolveComponent("a-button"),M=e.resolveComponent("a-table"),R=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:o},[e.createVNode(s,{readonly:"",onClick:_,value:d.value,"onUpdate:value":u[0]||(u[0]=A=>d.value=A),placeholder:m.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(q.UnorderedListOutlined),{onClick:_})]),_:1},8,["value","placeholder"]),e.createVNode(R,{visible:f.value,"onUpdate:visible":u[1]||(u[1]=A=>f.value=A),title:t.modelTitle,width:t.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode(I,{onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(I,{onClick:S},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(I,{type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(M,{ref_key:"tableRef",ref:$,columns:h.value,dataSource:D.value,rowSelection:{selectedRowKeys:c.value,onChange:a},rowKey:A=>A[t.tableKey],scroll:{y:t.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:A,selectedKeys:H,confirm:y,clearFilters:N,column:C})=>[e.createElementVNode("div",Oe,[e.createVNode(s,{ref_key:"searchInput",ref:i,placeholder:`请输入${C.title}`,value:H[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:E=>A(E.target.value?[E.target.value]:[]),onPressEnter:E=>L(H,y,C.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",Re,[e.createVNode(I,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:E=>l(N,y)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode(I,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:E=>L(H,y,C.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:A})=>[e.createVNode(e.unref(q.SearchOutlined),{style:e.normalizeStyle({color:A?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:A,column:H})=>[F.searchText&&F.searchedColumn===H.dataIndex?(e.openBlock(),e.createElementBlock("span",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.toString().split(new RegExp(`(?<=${F.searchText})|(?=${F.searchText})`,"i")),(y,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[y.toLowerCase()===F.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:N,class:"highlight"},e.toDisplayString(y),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(y),1)],64))],64))),256))])):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),Ye={class:"hb-lib-table-act-box"},je=["onClick"],Ke={href:"javascript:;",class:"hb-lib-table-main-action"},We=["onClick"],Je={href:"javascript:;",class:"hb-lib-table-more-action"},Ge=["onClick"],Qe={href:"javascript:;"},Ze=["onClick"],Xe={class:"hb-lib-table-confirm-modal-content"},ve=O(U(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(t,{expose:p}){const r=t,{t:n}=j.useI18n(),w=e.ref(!1),f=e.ref(!1),d=e.ref(null),i=e.computed(()=>r.actions.filter(g=>g.condition!==void 0?g.condition:!0)),o=e.computed(()=>i.value.slice(0,r.buttonDisplaysQuantity)),c=e.computed(()=>i.value.slice(r.buttonDisplaysQuantity)),b=g=>{g.handler&&g.handler(r.record)},$=g=>{d.value=g,w.value=!0},F=()=>{if(d.value){f.value=!0;try{b(d.value),f.value=!1,w.value=!1}catch{f.value=!1}}},D=()=>{w.value=!1,d.value=null},h=e.computed(()=>d.value?{title:d.value.confirmTitle,content:d.value.confirmContent||d.value.confirmTitle}:{title:n("hbLibComp.hbTableAct.secendConfirm"),content:n("hbLibComp.hbTableAct.confirmContent")});return p({ADropdown:k.Dropdown,AMenu:k.Menu,AMenuItem:k.MenuItem,APopconfirm:k.Popconfirm,AModal:k.Modal,DownOutlined:q.DownOutlined}),(g,S)=>{const _=e.resolveComponent("a-divider"),V=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",Ye,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(B,L)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:L},[B.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[B.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:l=>$(B),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(B.label),1)],8,je)),[[V,B.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(k.Popconfirm),{key:1,title:B.confirmTitle,onConfirm:l=>b(B)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Ke,[e.createTextVNode(e.toDisplayString(B.label),1)])),[[V,B.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:l=>b(B),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(B.label),1)],8,We)),[[V,B.permissionsTag||null]]),c.value&&c.value.length>0||L!==o.value.length-1?(e.openBlock(),e.createBlock(_,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64))),128)),c.value&&c.value.length>0?(e.openBlock(),e.createBlock(e.unref(k.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(k.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,B=>(e.openBlock(),e.createBlock(e.unref(k.MenuItem),{key:B.key},{default:e.withCtx(()=>[B.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[B.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:L=>$(B)},[e.createTextVNode(e.toDisplayString(B.label),1)],8,Ge)),[[V,B.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(k.Popconfirm),{key:1,title:B.confirmTitle,onConfirm:L=>b(B)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Qe,[e.createTextVNode(e.toDisplayString(B.label),1)])),[[V,B.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:L=>b(B)},[e.createTextVNode(e.toDisplayString(B.label),1)],8,Ze)),[[V,B.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",Je,[e.createTextVNode(e.toDisplayString(g.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(q.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(k.Modal),{visible:w.value,title:h.value.title,"confirm-loading":f.value,onOk:F,onCancel:D},{default:e.withCtx(()=>[e.createElementVNode("p",Xe,e.toDisplayString(h.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-ecac600b"]])),et=t=>({tableWidth:e.computed(()=>{const r=Array.isArray(t)?t:t.value;return!r||r.length===0?0:r.map(n=>n.width&&Number(n.width.toString().replace("px",""))||0).reduce((n,w)=>n+w,0)})}),tt={key:0,class:"hb-lib-list-table-act"},ot={class:"empty-container"},lt=O(U(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},rowHeight:{},defaultWidth:{default:()=>150},tooltipPlacement:{default:()=>"topLeft"}},setup(t){const{t:p}=j.useI18n(),r=t,n=e.ref([]),w=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:f}=et(e.computed(()=>r.columns));e.watch(()=>r.columns,o=>{const c=o.filter(b=>b!=null&&b.checked);n.value=c.map(b=>{let $={...b,title:b.title||b.label};if($.ellipsis&&!$.needTooltip&&($.needTooltip=!0),!$.width)$.width=r.defaultWidth;else if(typeof $.width=="string"){const F=parseInt($.width,10);$.width=isNaN(F)?r.defaultWidth:F}return $.resizable===void 0&&($.resizable=!0),$})},{immediate:!0,deep:!0});const d=(o,c)=>{if(c){const b=typeof o=="string"?parseInt(o,10):o;c.width=isNaN(b)?150:b}},i=(o,c="YYYY-MM-DD HH:mm:ss")=>o?Z(o).format(c):"";return(o,c)=>{const b=e.resolveComponent("a-empty"),$=e.resolveComponent("a-tooltip"),F=e.resolveComponent("HbLibCopy"),D=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":r.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":t.rowHeight&&t.rowHeight+"px"||""})},[o.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",tt,[e.renderSlot(o.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(o.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(D,e.mergeProps(o.$attrs,{bordered:"",columns:n.value,onResizeColumn:d,scroll:{x:e.unref(f),y:e.unref(w).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",ot,[e.createVNode(b,{description:e.unref(p)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[o.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:h})=>[e.renderSlot(o.$slots,"headerCell",{column:h},()=>[e.createTextVNode(e.toDisplayString(h.title),1)],!0)]),key:"0"}:void 0,o.$slots.bodyCell?{name:"bodyCell",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"bodyCell",{column:h,record:g,index:S,text:_},void 0,!0),h&&h.needTooltip?(e.openBlock(),e.createBlock($,{key:0,placement:t.tooltipPlacement},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g[h.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(g[h.dataIndex]),1)]),_:2},1032,["placement"])):e.createCommentVNode("",!0),h&&h.needCopy?(e.openBlock(),e.createBlock(F,{key:1,"cp-text":g[h.dataIndex],style:{position:"relative"}},null,8,["cp-text"])):e.createCommentVNode("",!0),h&&h.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(i(g[h.dataIndex],h.format)),1)],64)):e.createCommentVNode("",!0)]),key:"1"}:void 0,o.$slots.expandedRowRender?{name:"expandedRowRender",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"expandedRowRender",{record:g,column:h,index:S,text:_},void 0,!0)]),key:"2"}:void 0,o.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"customFilterDropdown",{record:g,column:h,index:S,text:_},void 0,!0)]),key:"3"}:void 0,o.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"customFilterIcon",{record:g,column:h,index:S,text:_},void 0,!0)]),key:"4"}:void 0,o.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"expandIcon",{record:g,column:h,index:S,text:_},void 0,!0)]),key:"5"}:void 0,o.$slots.footer?{name:"footer",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"footer",{record:g,column:h,index:S,text:_},void 0,!0)]),key:"6"}:void 0,o.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"headerCell",{record:g,column:h,index:S,text:_},void 0,!0)]),key:"7"}:void 0,o.$slots.summary?{name:"summary",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"summary",{record:g,column:h,index:S,text:_},void 0,!0)]),key:"8"}:void 0,o.$slots.title?{name:"title",fn:e.withCtx(({column:h,record:g,index:S,text:_})=>[e.renderSlot(o.$slots,"title",{record:g,column:h,index:S,text:_},void 0,!0)]),key:"9"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-d4abbf25"]])),at={class:"hb-lib-table-setting-box"},nt={key:0,class:"hb-lib-table-drag-item"},rt={key:0,class:"hb-lib-table-drag-item-act"},it=["onClick"],st=["onClick"],ct={class:"hb-lib-table-set-btn-group"},dt={class:"select-all-container",style:{"margin-right":"10px"}},mt=O(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(t,{emit:p}){const r=p,{t:n}=j.useI18n(),w=t,f=e.ref([]),d=e.computed(()=>o.value.filter(l=>l.checked));e.ref([]);const i=e.ref(!1),o=e.ref([]),c=e.ref(null),b=e.computed(()=>d.value.length>0&&d.value.length===f.value.length),$=e.computed(()=>d.value.length>0&&d.value.length<f.value.length),F=l=>{c.value=l.oldIndex},D=l=>{const a=l.newIndex;if(f.value.some(u=>u.fixed==="left"||u.fixed==="right"||u.fixed===!0)){const u=f.value.filter(I=>I.fixed==="left").length,s=f.value.length-f.value.filter(I=>I.fixed==="right").length;if((u>0&&a<u||s<f.value.length&&a>=s)&&(k.message.warning(n("hbLibComp.hbLibListTableColumsSet.errorTip")),c.value!==null)){const I=o.value.splice(a,1)[0];o.value.splice(c.value,0,I)}}c.value=null},h=l=>{l.target.checked?o.value.forEach(m=>m.checked=!0):o.value.forEach(m=>m.checked=!1)},g=(l,a)=>{a?l.checked=!0:l.checked=!1},S=()=>{f.value=[...o.value],r("on-get-columns",f.value),i.value=!1},_=()=>{f.value=w.tableColumns.map(a=>({...a,label:a.title&&a.title.tag?V(a.title):a.title||a.title2,value:a.dataIndex,checked:a.checked||a.checked===void 0})),o.value=[...f.value];let l=[];w.tableColumns.forEach(function(a){l.push(a.dataIndex)})},V=l=>l.children[0].text,B=l=>{delete l.fixed;const a=o.value.findIndex(m=>m.value===l.value);if(a!==-1){let m=-1;for(let u=0;u<o.value.length;u++)o.value[u].fixed==="left"&&(m=u);if(m!==-1&&a!==m+1){const u=[...o.value],[s]=u.splice(a,1);u.splice(m+1,0,s),o.value=u}}},L=l=>{const a=o.value.findIndex(m=>m.value===l.value);if(a!==-1){let m=-1;for(let u=0;u<o.value.length;u++)o.value[u].fixed==="left"&&(m=u);if(m!==-1&&a!==m+1){const u=[...o.value],s=u.splice(a,1);s[0].fixed="left",u.splice(m+1,0,s[0]),o.value=u}}};return e.watch(()=>w.tableColumns,()=>{_()},{immediate:!0,deep:!0}),(l,a)=>{const m=e.resolveComponent("a-tooltip"),u=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",at,[e.createVNode(e.unref(k.Popover),{title:e.unref(n)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"alertInfoContent",visible:i.value,"onUpdate:visible":a[1]||(a[1]=s=>i.value=s)},{content:e.withCtx(()=>[e.createVNode(e.unref(J),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=s=>o.value=s),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:F,onEnd:D},{item:e.withCtx(({element:s})=>[s.fixed!=="right"?(e.openBlock(),e.createElementBlock("div",nt,[e.createVNode(e.unref(k.Checkbox),{checked:s.checked,onChange:I=>g(s,I.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["checked","onChange"]),s.checked?(e.openBlock(),e.createElementBlock("section",rt,[e.createElementVNode("span",{class:e.normalizeClass(s.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),s.fixed?(e.openBlock(),e.createBlock(m,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:I=>B(s)},[...a[2]||(a[2]=[e.createElementVNode("svg",{t:"1759048615600",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7283",width:"200",height:"200"},[e.createElementVNode("path",{d:"M771.798516 586.270988c-6.897306 8.296759-17.293245 12.894963-27.989067 12.894963h-0.299882l-175.931277-1.199532-55.178446 422.834831-0.399844 3.19875-0.399844-3.19875-55.178446-422.834831-175.931277 1.199532h-0.299882c-10.795783 0-21.191722-4.598204-27.989067-12.894963-6.897306-8.39672-8.796564-18.292854-8.596642-27.28934 0.399844-13.094885 5.697774-25.590004 14.394377-35.386177l61.87583-69.872706c15.393987-17.393206 24.790316-39.284654 26.589613-62.475596l20.292074-250.402187c0.599766-7.796954-2.199141-15.593909-7.796955-21.091761l-38.584927-38.584927c-19.692308-16.693479-21.891449-33.58688-17.79305-47.581414 5.897696-20.092152 24.690355-33.58688 45.582194-33.58688h0.199922l163.236236 0.499805h0.799688l163.236236-0.499805h0.199922c20.891839 0 39.684498 13.494729 45.582194 33.58688 4.098399 13.994533 1.899258 30.887934-17.79305 47.581414L664.940258 119.753221c-5.597813 5.597813-8.39672 13.294807-7.796955 21.091761L677.435377 391.247169c1.899258 23.190941 11.195627 45.08239 26.589613 62.475596l61.87583 69.872706c8.696603 9.796173 13.894572 22.291292 14.394377 35.386177 0.299883 8.996486-1.599375 18.89262-8.496681 27.28934z","p-id":"7284",fill:"#ff5000"})],-1)])],8,it)]),_:2},1024)):e.createCommentVNode("",!0),s.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:I=>L(s)},[...a[3]||(a[3]=[e.createElementVNode("svg",{t:"1759048735643",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7481",width:"200",height:"200"},[e.createElementVNode("path",{d:"M381.298 418.828h-157.703l-37.575 38.272 155.61 158.377-278.212 345.128 356.040-265.838 154.71 157.41 38.813-39.51 2.407-157.972 238.838-313.29 71.685 73.013 34.695-35.28-310.185-315.743-34.672 35.257 77.287 79.402-311.737 240.773z","p-id":"7482",fill:"#ff5000"})],-1)])],8,st)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ct,[e.createElementVNode("div",dt,[e.createVNode(e.unref(k.Checkbox),{checked:b.value,indeterminate:$.value,onChange:h},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),e.createVNode(u,{onClick:S,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(m,{title:e.unref(n)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...a[4]||(a[4]=[e.createElementVNode("span",{class:"hb-lib-table-col-set"},[e.createElementVNode("svg",{t:"1759041858618",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5219",width:"200",height:"200"},[e.createElementVNode("path",{d:"M460.8 49.216a102.4 102.4 0 0 1 102.4 0l323.968 187.072c31.68 18.304 51.2 52.096 51.2 88.64V576h-76.8V324.928a25.6 25.6 0 0 0-12.8-22.144L524.8 115.712a25.6 25.6 0 0 0-25.6 0L175.232 302.784a25.6 25.6 0 0 0-12.8 22.144v374.144a25.6 25.6 0 0 0 12.8 22.144L499.2 908.288a25.6 25.6 0 0 0 25.6 0l51.2-29.568v88.64l-12.8 7.424a102.4 102.4 0 0 1-102.4 0l-323.968-187.072a102.4 102.4 0 0 1-51.2-88.64V324.928c0-36.544 19.52-70.4 51.2-88.64L460.8 49.216z","p-id":"5220",fill:"#ff5000"}),e.createElementVNode("path",{d:"M345.6 512a166.4 166.4 0 1 1 332.8 0 166.4 166.4 0 0 1-332.8 0zM512 422.4a89.6 89.6 0 1 0 0 179.2 89.6 89.6 0 0 0 0-179.2zM670.208 736a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4zM670.208 896a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4z","p-id":"5221",fill:"#ff5000"})])],-1)])]),_:1},8,["title"])]),_:1},8,["title","visible"])])}}}),[["__scopeId","data-v-fe93cce7"]])),pt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:me,HbLibListBtnsAct:we,HbLibListForm:he,HbLibListMultiSelect:Pe,HbLibListPageAct:ue,HbLibListPageContainer:_e,HbLibListTable:lt,HbLibMutilpleSelectModal:qe,HbLibTableAct:ve,HbLibTableColumnSet:mt},Symbol.toStringTag,{value:"Module"})),ht=O(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(t,{expose:p}){const r=t,n=e.useAttrs(),w=e.computed(()=>{const h=n,g=h.dropdownClassName;return{...h,dropdownClassName:g??"hb_lib_form_tooltip_select__dropdown"}}),f=e.ref(),d=e.useModel(t,"value"),i=e.computed(()=>r.options??[]),o=e.computed(()=>({maxWidth:typeof r.tooltipMaxWidth=="number"?`${r.tooltipMaxWidth}px`:r.tooltipMaxWidth})),c=h=>h.tooltip??h.label,b=h=>h.key??h.label,$=h=>!!(r.enableTooltip&&c(h));return p({focus:()=>{f.value?.focus?.()},blur:()=>{f.value?.blur?.()},selectRef:f}),(h,g)=>(e.openBlock(),e.createBlock(e.unref(k.Select),e.mergeProps({ref_key:"selectRef",ref:f,class:"hb_lib_form_tooltip_select"},w.value,{value:d.value,"onUpdate:value":g[0]||(g[0]=S=>d.value=S)}),{default:e.withCtx(()=>[h.$slots.default?e.renderSlot(h.$slots,"default",{key:0},void 0,!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(i.value,S=>(e.openBlock(),e.createBlock(e.unref(k.SelectOption),e.mergeProps({key:b(S),value:S.value,disabled:S.disabled},{ref_for:!0},S.optionProps),{default:e.withCtx(()=>[$(S)?(e.openBlock(),e.createBlock(e.unref(k.Tooltip),{key:0,title:c(S),placement:r.tooltipPlacement,overlayStyle:o.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":r.enableEllipsis}])},e.toDisplayString(S.label),3)]),_:2},1032,["title","placement","overlayStyle"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":r.enableEllipsis}])},e.toDisplayString(S.label),3))]),_:2},1040,["value","disabled"]))),128))]),_:3},16,["value"]))}}),[["__scopeId","data-v-b04f5675"]])),ft=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormTooltipSelect:ht},Symbol.toStringTag,{value:"Module"})),bt={cpText:{type:String,default:""},K:{type:String,default:""},V:{type:String},L:{type:String},data:{type:[Array,Object]},tooltipTitle:{type:String,default:"复制"},copySuccessTip:{type:String,default:"复制成功"},cpStyle:{type:Object,default:()=>({})},classType:{type:String,default:"ab"}},gt=O(U(e.defineComponent({name:"HbLibCopy",__name:"copy",props:bt,setup(t){const p=t,r=e.ref();e.watchEffect(()=>{r.value=p.data});const n=e.computed(()=>{if(p.cpText)return p.cpText;let f="";if(p.data)if(Array.isArray(p.data)){if(p.K&&p.V&&p.L){const d=p.data.find(i=>i?.[p.K]===p.V);f=d?d[p.L]:""}}else p.K&&(f=p.data[p.K]);return f}),w=()=>{navigator.clipboard.writeText(n.value).then(()=>{k.message.success(p.copySuccessTip)}).catch(()=>{k.message.error("复制失败")})};return(f,d)=>{const i=e.resolveComponent("a-tooltip");return n.value?(e.openBlock(),e.createBlock(i,{key:0,title:f.tooltipTitle},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["hb-lib-copy-text-eyevue icon strongQ strong-copy",f.classType=="ab"?"ab":"normal"]),style:e.normalizeStyle({...f.cpStyle}),onClick:e.withModifiers(w,["stop","prevent"])},null,6)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d5ca4420"]])),Ct={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:""}},kt=O(U(e.defineComponent({name:"HbDrag",__name:"index",props:Ct,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(t,{emit:p}){const r=t,n=e.shallowRef([]);e.watch(()=>r.dragList,b=>{n.value=b},{deep:!0,immediate:!0});const w=X("drag"),f=p,d=b=>{console.log("drag start",b),f("handleDragStart",b)},i=b=>{console.log("drag end",b),f("handleDragEnd",b)},o=b=>{console.log("drag add",b),f("handleDragAdd",b)},c=b=>{console.log("drag remove",b),f("handleDragRemove",b)};return(b,$)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(w).b())},[b.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(J),e.mergeProps({key:0,modelValue:n.value,"onUpdate:modelValue":$[0]||($[0]=F=>n.value=F),"item-key":"key",class:{[b.dragClass]:b.dragClass}},b.$attrs,{"ghost-class":b.ghostClass,onStart:d,onEnd:i,onAdd:o,onRemove:c}),{item:e.withCtx(({element:F})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(F.component)))]),_:1},16,["modelValue","class","ghost-class"])):(e.openBlock(),e.createBlock(e.unref(J),e.mergeProps({key:1,modelValue:n.value,"onUpdate:modelValue":$[1]||($[1]=F=>n.value=F),"item-key":"id",class:{[b.dragClass]:b.dragClass}},b.$attrs,{"ghost-class":b.ghostClass,onStart:d,onEnd:i,onAdd:o,onRemove:c}),{item:e.withCtx(({element:F})=>[e.createElementVNode("div",null,[e.renderSlot(b.$slots,"default",{item:F},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]]));let ae={...pt,...ft,...Object.freeze(Object.defineProperty({__proto__:null,HbLibFuncCompCopy:gt,HbLibFuncCompDrag:kt},Symbol.toStringTag,{value:"Module"}))};const ut={hbLibComp:{HbFileUploadModal:{cancel:"Cancel",clickUpload:"Click to upload",confirmImport:"Confirm import",dataImport:"Import data",downloadTemplate:"Import template download",dragFile:"Drag files here or",file:"document",fileUpload:"File import",maxSupport:"Most supported",onlySupport:"Only supports",placeSelect:"Please select",selectFile:"Please select the file to upload"},HbLogModal:{close:"closure",operateContent:"Operation content",operateLogs:"Operation log",operateTime:"Operating time",operator:"operator"},hbFormItemFilterModal:{add:"Add to",cancel:"Cancel",confirm:"Sure",moreConditionSearch:"Multiple searches",mostMore:"Optional at most",mostMoreTip:"conditions, drag and drop to adjust the sorting",noData:"No data yet",notShowTip:"No conditions shown",titleTip:"Conditions shown"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query plan"},hbLibListTableColumsSet:{allSelect:"Select all",cancelFix:"Unpin",confirm:"Sure",errorTip:"Cannot move column to fixed column position",fix:"fixed",popoverTitle:"Custom columns",title:"Table field settings"},hbListBtnsAct:{close:"Close query conditions",open:"Expand query conditions",reload:"Refresh data"},hbListPageAct:{close:"close",exitFullScreen:"Exit full screen",fullScreen:"full screen",open:"Expand",query:"Query",reset:"reset",selfDefine:"Filter query conditions"},hbListTable:{noData:"No data yet"},hbMultiSelectModal:{pleaseSelect:"Please select"},hbTableAct:{confirmContent:"Confirm content",more:"More",secendConfirm:"Second confirmation"}}},yt={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン"},hbLibListTableColumsSet:{allSelect:"すべて選択",cancelFix:"固定を解除する",confirm:"もちろん",errorTip:"列を固定列位置に移動できません",fix:"修理済み",popoverTitle:"カスタム列",title:"テーブルフィールドの設定"},hbListBtnsAct:{close:"クエリ条件を閉じる",open:"クエリ条件を拡張する",reload:"データを更新する"},hbListPageAct:{close:"近い",exitFullScreen:"全画面表示を終了する",fullScreen:"全画面表示",open:"拡大する",query:"クエリ",reset:"リセット",selfDefine:"フィルタークエリ条件"},hbListTable:{noData:"まだデータがありません"},hbMultiSelectModal:{pleaseSelect:"選択してください"},hbTableAct:{confirmContent:"内容を確認する",more:"もっと",secendConfirm:"2回目の確認"}}},St={hbLibComp:{hbFormItemFilterModal:{titleTip:"已显示条件",mostMore:"最多可选",mostMoreTip:"个条件,拖拽可以调整排序",notShowTip:"未显示条件",add:"添加",noData:"暂无数据",cancel:"取消",confirm:"确定",moreConditionSearch:"多项搜索"},hbFormSelectFilter:{allSelect:"全选",close:"关闭"},hbListPageAct:{query:"查询",reset:"重置",selfDefine:"筛选查询条件",open:"展开",close:"收起",fullScreen:"全屏",exitFullScreen:"退出全屏"},hbListBtnsAct:{reload:"刷新数据",open:"展开查询条件",close:"收起查询条件"},hbTableAct:{more:"更多",secendConfirm:"二次确认",confirmContent:"确认内容"},hbMultiSelectModal:{pleaseSelect:"请选择"},hbListTable:{noData:"暂时没有数据"},hbLibListTableColumsSet:{popoverTitle:"自定义列",title:"表格字段设置",fix:"固定",cancelFix:"取消固定",allSelect:"全选",confirm:"确定",errorTip:"不能将列移动到固定列位置"},hbLibListForm:{queryCase:"查询方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"}}},Lt={hbLibComp:{HbFileUploadModal:{cancel:"Stornieren",clickUpload:"Klicken Sie zum Hochladen",confirmImport:"Bestätigen Sie den Import",dataImport:"Daten importieren",downloadTemplate:"Importvorlage herunterladen",dragFile:"Ziehen Sie Dateien hierher oder",file:"dokumentieren",fileUpload:"Dateiimport",maxSupport:"Am meisten unterstützt",onlySupport:"Unterstützt nur",placeSelect:"Bitte auswählen",selectFile:"Bitte wählen Sie die hochzuladende Datei aus"},HbLogModal:{close:"Schließung",operateContent:"Inhalt der Operation",operateLogs:"Betriebsprotokoll",operateTime:"Betriebszeit",operator:"Operator"},hbFormItemFilterModal:{add:"Hinzufügen zu",cancel:"Stornieren",confirm:"Sicher",moreConditionSearch:"Mehrere Suchanfragen",mostMore:"Höchstens optional",mostMoreTip:"Bedingungen anpassen, per Drag-and-Drop die Sortierung anpassen",noData:"Noch keine Daten",notShowTip:"Keine Bedingungen angezeigt",titleTip:"Bedingungen angezeigt"},hbFormSelectFilter:{allSelect:"Alles auswählen",close:"Schließung"},hbLibListForm:{queryCase:"Abfrageplan"},hbLibListTableColumsSet:{allSelect:"Alles auswählen",cancelFix:"Lösen",confirm:"Sicher",errorTip:"Die Spalte kann nicht in eine feste Spaltenposition verschoben werden",fix:"behoben",popoverTitle:"Benutzerdefinierte Spalten",title:"Tabellenfeldeinstellungen"},hbListBtnsAct:{close:"Abfragebedingungen schließen",open:"Abfragebedingungen erweitern",reload:"Daten aktualisieren"},hbListPageAct:{close:"schließen",exitFullScreen:"Verlassen Sie den Vollbildmodus",fullScreen:"Vollbild",open:"Expandieren",query:"Abfrage",reset:"zurücksetzen",selfDefine:"Abfragebedingungen filtern"},hbListTable:{noData:"Noch keine Daten"},hbMultiSelectModal:{pleaseSelect:"Bitte auswählen"},hbTableAct:{confirmContent:"Inhalt bestätigen",more:"Mehr",secendConfirm:"Zweite Bestätigung"}}};var G={exports:{}},wt=G.exports,ne;function xt(){return ne||(ne=1,(function(t,p){(function(r,n){t.exports=n(Z)})(wt,(function(r){function n(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var w=n(r),f={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(d,i){return i==="W"?d+"周":d+"日"},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(d,i){var o=100*d+i;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return w.default.locale(f,null,!0),f}))})(G)),G.exports}xt(),Z.locale("zh-cn");const _t={en_US:ut,ja_JP:yt,zh_CN:St,de_DE:Lt},Bt=function(t){Object.keys(ae).forEach(r=>{t.use(ae[r])})};P.install=Bt,P.locales=_t,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(P,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("vuedraggable"),require("@ant-design/icons-vue"),require("ant-design-vue"),require("vue-router"),require("vue-i18n"),require("lodash"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","@ant-design/icons-vue","ant-design-vue","vue-router","vue-i18n","lodash","@vueuse/core","dayjs"],e):(P=typeof globalThis<"u"?globalThis:P||self,e(P.HbComponentLib={},P.Vue,P.draggable,P.iconsVue,P.antDesignVue,P.vueRouter,P.vueI18n,P.lodash,P.core,P.dayjs))})(this,(function(P,e,J,q,L,oe,Y,Z,le,G){"use strict";const X=(t="")=>{const m=`hb-${t}`;return re(m)},K=(t,m,i,s)=>(m&&(t+=`-${m}`),i&&(t+=`__${i}`),s&&(t+=`--${s}`),t),re=t=>({b:m=>m?K(t,m,"",""):K(t,"","",""),e:m=>m?K(t,"",m,""):"",m:m=>K(t,"","",m),be:(m,i)=>K(t,m,i,""),em:(m,i)=>K(t,"",m,i),bem:(m,i,s)=>K(t,m,i,s),is:(m,i)=>i?`is-${m}`:""}),ie=["onMouseenter","onMouseleave"],se=["onClick"],ce=e.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:{list:{default:()=>[]},afterChange:{type:Function,default:()=>()=>{}},title:{default:"自定义查询条件"},showNumber:{default:40}},emits:["confirm"],setup(t,{expose:m,emit:i}){const s=Y.useI18n().t,C=Y.useI18n().messages.value.en_US,f=Y.useI18n().messages.value.ja_JP,n=Y.useI18n().messages.value.zh_CN,d=t,o=i,l=X("sfcm"),b=oe.useRoute(),F=e.reactive({lan:window.localStorage.getItem("lan")}),_=e.ref(!1),I=e.ref(600);let h=[];const k=e.ref([]),g=e.ref([]),S=e.computed(()=>k.value.every(x=>x.isLinked||x.isFixed)),V=x=>{const T=x.draggedContext.element,u=x.relatedContext.index;if(T.isLinked||T.isFixed)return!1;const E=k.value.map((z,j)=>({item:z,index:j})).filter(({item:z})=>z.isLinked).map(({index:z})=>z);if(E.length===0)return!0;for(let z=0;z<E.length-1;z++){const j=E[z],W=E[z+1];if(u>j&&u<W)return!1}return!0},N=()=>{const x=localStorage.getItem("pro__Login_Userinfo");let T="anonymous";if(x)try{T=JSON.parse(x).value.jobNumber||"anonymous"}catch(E){console.warn("解析用户信息失败:",E)}let u=b?.path;return`searchFormConfig_${T}_${u}`},w=x=>({ja_JP:()=>Z.get(f,x.labelLanguage||""),en_US:()=>Z.get(C,x.labelLanguage||""),zh_CN:()=>Z.get(n,x.labelLanguage||"")})[F.lan]?.()||x.label,a=x=>{try{const T=N(),u=localStorage.getItem(T);if(u){const E=JSON.parse(u);if(E.originalList&&Array.isArray(E.originalList)){h=JSON.parse(JSON.stringify(E.originalList));const z=h.filter(B=>B?.isFixed),j=h.filter(B=>B?.isLinked),W=E.showList.filter(B=>!B.isFixed&&!B.isLinked),v=d.showNumber&&d.showNumber>0?Math.max(0,d.showNumber-z.length-j.length):W.length,ee=z.map(B=>({...B,label:w(B)||`${B.subLabel||""}${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:B.key,isFixed:B?.isFixed||!1,isLinked:B?.isLinked||!1,labelLanguage:B?.labelLanguage||void 0})),te=j.map(B=>({...B,label:w(B)||`${B.subLabel||""}${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:B.key,isFixed:B?.isFixed||!1,isLinked:!0,labelLanguage:B?.labelLanguage||void 0})),$=W.slice(0,v).map(B=>({...B,label:w(B)||`${B.subLabel||""}${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:B.key,isFixed:B?.isFixed||!1,isLinked:B?.isLinked||!1,labelLanguage:B?.labelLanguage||void 0}));k.value=[...ee,...te,...$];const zt=k.value.map(B=>B.key),Pt=h.map(B=>B.key).filter(B=>!zt.includes(B));return g.value=h.filter(B=>Pt.includes(B.key)).map(B=>({...B,label:w(B)||`${B.subLabel||""}${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:B.key,isFixed:B?.isFixed||!1,isLinked:B?.isLinked||!1,active:!1,labelLanguage:B?.labelLanguage||void 0})),!0}}}catch(T){console.warn("加载保存的搜索配置失败:",T)}return!1},r=()=>{try{const x={originalList:h,showList:k.value.map(u=>({...u,key:u.key,label:u.label,isFixed:u.isFixed,isLinked:u.isLinked,labelLanguage:u?.labelLanguage||void 0}))},T=N();localStorage.setItem(T,JSON.stringify(x))}catch(x){console.warn("保存搜索配置失败:",x)}},c=e.computed(()=>{const x=k.value.filter(u=>!u.isFixed&&!u.isLinked).length,T=k.value.filter(u=>u.isFixed||u.isLinked).length;return x>=d.showNumber-T});e.watch(()=>d.list,x=>{let T=JSON.stringify(k.value)!==JSON.stringify(x);if(!(!T&&a())&&(h.length===0||T)){h=JSON.parse(JSON.stringify(x));const u=x.filter($=>$?.isFixed),E=x.filter($=>$?.isLinked),z=x.filter($=>!$?.isFixed&&!$?.isLinked),j=d.showNumber&&d.showNumber>0?Math.max(0,d.showNumber-u.length-E.length):z.length,W=u.map($=>({...$,label:w($)||`${$.subLabel||""}${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:$.key,isFixed:$?.isFixed||!1,isLinked:$?.isLinked||!1,labelLanguage:$?.labelLanguage||void 0})),v=E.map($=>({...$,label:w($)||`${$.subLabel||""}${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:$.key,isFixed:$?.isFixed||!1,isLinked:!0,labelLanguage:$?.labelLanguage||void 0})),ee=z.slice(0,j).map($=>({...$,label:w($)||`${$.subLabel||""}${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:$.key,isFixed:$?.isFixed||!1,isLinked:$?.isLinked||!1,labelLanguage:$?.labelLanguage||void 0}));k.value=[...W,...v,...ee];const te=z.slice(j).map($=>({...$,label:w($)||`${$.subLabel||""}${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:$.key,isFixed:$?.isFixed||!1,isLinked:$?.isLinked||!1,active:!1,labelLanguage:$?.labelLanguage||void 0}));g.value=te}},{immediate:!0});const y=x=>{const T=k.value.findIndex(u=>u.key===x.key);T!==-1&&(k.value.splice(T,1),g.value.push({...x,active:!1}))},p=x=>{if(c.value)return;const T=g.value.findIndex(u=>u.key===x.key);if(T!==-1){const[u]=g.value.splice(T,1);k.value.push({...u,active:!1})}},H=()=>{_.value=!1},M=()=>{_.value=!0},U=()=>{r(),o("confirm",k.value),H()},A=x=>{const T=g.value.findIndex(u=>u.key===x.key);T!==-1&&(g.value[T].active=!0)},D=x=>{const T=g.value.findIndex(u=>u.key===x.key);T!==-1&&(g.value[T].active=!1)};return m({toOpenModal:M}),(x,T)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(l).b())},[e.createVNode(e.unref(L.Modal),{visible:_.value,"onUpdate:visible":T[1]||(T[1]=u=>_.value=u),width:I.value,onCancel:H,onOk:U},{title:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("title"))},e.toDisplayString(t.title),3)]),footer:e.withCtx(()=>[e.createVNode(e.unref(L.Button),{onClick:H},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(e.unref(L.Button),{type:"primary",onClick:U},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("section",{class:e.normalizeClass(e.unref(l).e("show"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).e("title__tip"))},e.toDisplayString(x.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),e.createElementVNode("span",null,e.toDisplayString(x.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+e.toDisplayString(t.showNumber)+e.toDisplayString(x.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("show__tag"))},[e.createVNode(e.unref(J),{modelValue:k.value,"onUpdate:modelValue":T[0]||(T[0]=u=>k.value=u),"item-key":"key",tag:"div",disabled:S.value,move:V},{item:e.withCtx(({element:u})=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).e("show__tag__item"),e.unref(l).is("fixed",u.isFixed),e.unref(l).is("linked",u.isLinked)])},[e.createTextVNode(e.toDisplayString(u.label)+" ",1),!u.isFixed&&!u.isLinked&&t.list.length>1?(e.openBlock(),e.createBlock(e.unref(q.CloseOutlined),{key:0,class:e.normalizeClass(e.unref(l).e("show__tag__item-close")),onClick:E=>y(u)},null,8,["class","onClick"])):e.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),e.createElementVNode("section",{class:e.normalizeClass(e.unref(l).e("unshow"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("show__title"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).e("title__tip"))},e.toDisplayString(x.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("unshow__tag"))},[g.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(g.value,u=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(l).e("unshow__tag__item"),e.unref(l).is("fixed",u.isFixed||""),e.unref(l).is("linked",u.isLinked||"")]),key:u.key,onMouseenter:E=>A(u),onMouseleave:E=>D(u)},[e.createTextVNode(e.toDisplayString(u.label)+" ",1),u.active?(e.openBlock(),e.createElementBlock("aside",{key:0,class:e.normalizeClass(e.unref(l).e("unshow__tag__item-add")),onClick:E=>p(u)},e.toDisplayString(x.$t("hbLibComp.hbFormItemFilterModal.add")),11,se)):e.createCommentVNode("",!0)],42,ie))),128)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(l).e("unshow__tag__empty"))},e.toDisplayString(x.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),R=(t,m)=>{const i=t.__vccOpts||t;for(const[s,C]of m)i[s]=C;return i},de=R(ce,[["__scopeId","data-v-52ee50f2"]]),O=t=>(t.install=m=>{m.component(t.name||"AnonymousComponent",t)},t),me=O(de),pe={class:"form-footer"},fe=O(R(e.defineComponent({name:"HbLibListForm",__name:"HbListForm",props:{items:{default:()=>[]},formData:{},layoutConfig:{default:()=>({row:{gutter:20},col:{xs:24,sm:12,md:8,lg:6,xl:6}})},needFooter:{type:Boolean,default:!1},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},calTableHeight:{type:Function,default:()=>()=>{}}},emits:["handleSearch","handleReset","handleSfcmConfirm"],setup(t,{expose:m,emit:i}){const s=i,C=e.inject("HB_LIST_PAGE_CONTAINER"),f=X("form"),n=t,d=e.ref("show"),o=e.computed(()=>[...n.items]),l=e.ref(),b=()=>{s("handleSearch")},F=()=>{s("handleReset")},_=e.ref(),I=()=>{_.value&&_.value.toOpenModal()},h=w=>{s("handleSfcmConfirm",w)},k=()=>{d.value=d.value==="show"?"hide":"show"};e.watch(()=>n.isFormExpanded,w=>{if(w){console.log(w);const a=document.querySelector("#subpackage_container");a instanceof HTMLElement&&(a.style.overflow="hidden",setTimeout(()=>{a.style.overflow="auto"},500))}});const g=w=>{const a=w;a.style.height="",a.offsetHeight},S=w=>{const a=w;a.style.height="",a.style.overflow="",e.nextTick(()=>{C.calTableHeight&&C.calTableHeight()})},V=w=>{const a=w,r=a.querySelector(".hb-lib-form--container");if(r){const c=r.offsetHeight;a.style.height=c+"px",a.style.overflow="hidden",a.offsetHeight,requestAnimationFrame(()=>{a.style.height="0"})}},N=()=>{e.nextTick(()=>{C.calTableHeight&&C.calTableHeight()})};return m({formRef:l,SelectOption:L.SelectOption,Form:L.Form,FormItem:L.FormItem,Row:L.Row,Col:L.Col,Input:L.Input,Select:L.Select,CheckboxGroup:L.CheckboxGroup,Checkbox:L.Checkbox,DatePicker:L.DatePicker,InputNumber:L.InputNumber,RadioGroup:L.RadioGroup,Radio:L.Radio,Switch:L.Switch,Button:L.Button,Tooltip:L.Tooltip}),(w,a)=>{const r=e.resolveComponent("a-button"),c=e.resolveComponent("a-tooltip"),y=e.resolveComponent("HbLibFormItemFilterModal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"form-collapse",onEnter:g,onAfterEnter:S,onLeave:V,onAfterLeave:N},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(f).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[e.createVNode(e.unref(L.Form),e.mergeProps(w.$attrs,{model:t.formData,ref_key:"formRef",ref:l,class:["hb-lib-form--container",d.value=="show"?"":"hide"]}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(p,H)=>(e.openBlock(),e.createBlock(e.unref(L.FormItem),e.mergeProps({key:H,ref_for:!0},p,{name:p.key,class:p.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),e.createSlots({default:e.withCtx(()=>[p.type==="slot"?e.renderSlot(w.$slots,p.key,{key:0,formData:t.formData,item:p},void 0,!0):e.createCommentVNode("",!0),p.type==="mixin"?e.renderSlot(w.$slots,p.key,{key:1,formData:t.formData,item:p},void 0,!0):e.createCommentVNode("",!0),p.type==="input"?(e.openBlock(),e.createBlock(e.unref(L.Input),e.mergeProps({key:2,value:t.formData[p.key],"onUpdate:value":M=>t.formData[p.key]=M},{ref_for:!0},p.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),p.type==="select"?(e.openBlock(),e.createBlock(e.unref(L.Select),e.mergeProps({key:3,value:t.formData[p.key],"onUpdate:value":M=>t.formData[p.key]=M},{ref_for:!0},p.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.options,(M,U)=>(e.openBlock(),e.createBlock(e.unref(L.SelectOption),{key:U,value:M.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(M.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),p.type==="checkbox"?(e.openBlock(),e.createBlock(e.unref(L.CheckboxGroup),e.mergeProps({key:4,value:t.formData[p.key],"onUpdate:value":M=>t.formData[p.key]=M},{ref_for:!0},p.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.options,(M,U)=>(e.openBlock(),e.createBlock(e.unref(L.Checkbox),{key:U,value:M.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(M.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),p.type==="date-picker"?(e.openBlock(),e.createBlock(e.unref(L.DatePicker),e.mergeProps({key:5,value:t.formData[p.key],"onUpdate:value":M=>t.formData[p.key]=M},{ref_for:!0},p.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),p.type==="input-number"?(e.openBlock(),e.createBlock(e.unref(L.InputNumber),e.mergeProps({key:6,value:t.formData[p.key],"onUpdate:value":M=>t.formData[p.key]=M},{ref_for:!0},p.attrs),null,16,["value","onUpdate:value"])):e.createCommentVNode("",!0),p.type==="radio"?(e.openBlock(),e.createBlock(e.unref(L.RadioGroup),e.mergeProps({key:7,value:t.formData[p.key],"onUpdate:value":M=>t.formData[p.key]=M},{ref_for:!0},p.attrs),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.options,(M,U)=>(e.openBlock(),e.createBlock(e.unref(L.Radio),{key:U,value:M.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(M.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):e.createCommentVNode("",!0),p.type==="switch"?(e.openBlock(),e.createBlock(e.unref(L.Switch),e.mergeProps({key:8,checked:t.formData[p.key],"onUpdate:checked":M=>t.formData[p.key]=M},{ref_for:!0},p.attrs),null,16,["checked","onUpdate:checked"])):e.createCommentVNode("",!0)]),_:2},[p.tooltip?{name:"label",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.label)+" ",1),e.createVNode(e.unref(L.Tooltip),{title:p.tooltip},{default:e.withCtx(()=>[e.createVNode(e.unref(q.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),e.createElementVNode("section",pe,[e.createVNode(r,{type:"primary",onClick:b,class:"hb_list_page_button"},{icon:e.withCtx(()=>[e.createVNode(e.unref(q.SearchOutlined))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(w.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),e.createVNode(r,{type:"link",onClick:F},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.needFilter?(e.openBlock(),e.createBlock(c,{key:0,title:w.$t("hbLibComp.hbListPageAct.selfDefine")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-form-svg",onClick:I},[...a[0]||(a[0]=[e.createElementVNode("svg",{t:"1757915025410",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"16346",width:"200",height:"200"},[e.createElementVNode("path",{d:"M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",fill:"#ff5000","p-id":"16347"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(w.$slots,"formBtns",{},void 0,!0)])]),_:3},16,["model","class"]),t.needFooter?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(f).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(f).e("footer__left"))},[e.renderSlot(w.$slots,"form-footer-left",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f).e("footer__right"))},[d.value=="show"?e.renderSlot(w.$slots,"form-footer-right",{key:0,formRef:l.value},()=>[e.createVNode(e.unref(L.Button),{type:"primary",onClick:F},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(e.unref(L.Button),{type:"primary",onClick:b},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):e.createCommentVNode("",!0),e.createVNode(e.unref(L.Button),{type:"primary",onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.value=="show"?`${w.$t("hbLibComp.hbListPageAct.close")}`:`${w.$t("hbLibComp.hbListPageAct.open")}`),1)]),_:1})],2)],2)):e.createCommentVNode("",!0)],2),[[e.vShow,t.isFormExpanded]])]),_:3}),e.createVNode(y,{list:o.value,ref_key:"HbSfCmRef",ref:_,onConfirm:h},null,8,["list"])],64)}}}),[["__scopeId","data-v-203a1bd9"]])),he={class:"hb-lib-list-page-act-box"},be={class:"hb-lib-list-page-breadcrumb"},ge={class:"hb-lib-list-page-act"},Ce={key:0,t:"1757915338760",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"22885",width:"200",height:"200"},ke={key:1,t:"1757915360496",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"23904",width:"200",height:"200"},ye=O(R(e.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:{isShowFullScreen:{type:Boolean,default:!0}},setup(t){const m=e.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:i,toggle:s}=le.useFullscreen(m.PageContainerRef),C=e.ref(""),f=()=>{const n=oe.useRoute();let d=localStorage.getItem("BreadCrumb")||"[]",o=n?.path;if(d!=="[]"){let l=JSON.parse(d).find(b=>b.value===o);l&&(C.value=l.label.replace(/-/g," / "))}};return e.onMounted(()=>{f()}),(n,d)=>{const o=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",he,[e.createElementVNode("aside",be,e.toDisplayString(C.value),1),e.createElementVNode("aside",ge,[e.createVNode(o,{title:e.unref(i)?`${n.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${n.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:d[0]||(d[0]=(...l)=>e.unref(s)&&e.unref(s)(...l))},[e.unref(i)?(e.openBlock(),e.createElementBlock("svg",ke,[...d[2]||(d[2]=[e.createElementVNode("path",{d:"M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23905"},null,-1),e.createElementVNode("path",{d:"M896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333zM257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333zM343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23906"},null,-1),e.createElementVNode("path",{d:"M343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23907"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",Ce,[...d[1]||(d[1]=[e.createElementVNode("path",{d:"M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",fill:"#ff5000","p-id":"22886"},null,-1)])]))])]),_:1},8,["title"]),e.renderSlot(n.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-a7ddfc50"]])),ue={class:"hb-lib-list-btns-box"},Le={class:"hb-lib-list-btns-left"},Se={class:"hb-lib-list-btns-right"},_e=O(R(e.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:{needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},emits:["handleOpenOrClose","handleReload"],setup(t,{emit:m}){const i=m,s=e.ref(!0),C=()=>{s.value=!s.value,i("handleOpenOrClose",s.value)},f=()=>{i("handleReload")};return e.onMounted(()=>{}),(n,d)=>{const o=e.resolveComponent("a-tooltip");return e.openBlock(),e.createElementBlock("section",ue,[e.createElementVNode("aside",Le,[e.renderSlot(n.$slots,"btnsLeft",{},void 0,!0)]),e.createElementVNode("aside",Se,[t.needReload?(e.openBlock(),e.createBlock(o,{key:0,title:n.$t("hbLibComp.hbListBtnsAct.reload")},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:f},[...d[0]||(d[0]=[e.createElementVNode("svg",{t:"1759041224819",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4202",width:"200",height:"200"},[e.createElementVNode("path",{d:"M958.681412 457.499032c-6.170072-50.632177-20.854483-99.563886-43.643361-145.434552-45.779694-92.144205-122.249797-166.333021-215.325711-208.898719-20.083724-9.18513-43.810309-0.349891-52.995439 19.734833-9.18413 20.082724-0.349891 43.810309 19.733833 52.996438 159.26323 72.834239 245.755201 249.640987 205.658732 420.410622-30.735395 130.876101-129.201624 233.321087-256.187941 270.333521l-0.262918-70.800875-196.843487 114.650172 197.690222 113.176632-0.275914-74.43274c75.398438-17.911403 144.809747-54.929834 202.084849-108.039237 65.597501-60.827991 111.122274-139.186504 131.651859-226.606186 12.170197-51.828803 15.10328-104.683286 8.715276-157.089909zM408.299406-0.001l0.271915 74.43374c-75.404436 17.911403-144.820744 54.931834-202.099843 108.046235-65.6005 60.83099-111.124274 139.191503-131.651859 226.616183-7.987504 34.034364-11.994252 68.507591-11.994252 103.010809 0 17.994377 1.090659 35.996751 3.271978 53.946142 6.152077 50.59119 20.803499 99.48891 43.545392 145.333583 45.678725 92.080225 122.012871 166.270041 214.936832 208.900718 20.071728 9.209122 43.810309 0.401874 53.018432-19.670852 9.210122-20.076726 0.400875-43.810309-19.671853-53.019432-158.963324-72.92821-245.278351-249.658982-205.24886-420.22368 30.732396-130.883099 129.201624-233.333083 256.195939-270.345517l0.259919 70.801874 196.850484-114.640174L408.299406-0.001z",fill:"#ff5000","p-id":"4203"})],-1)])])]),_:1},8,["title"])):e.createCommentVNode("",!0),t.needOpenOrClose?(e.openBlock(),e.createBlock(o,{key:1,title:s.value?`${n.$t("hbLibComp.hbListBtnsAct.close")}`:`${n.$t("hbLibComp.hbListBtnsAct.open")}`},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:C},[s.value?(e.openBlock(),e.createBlock(e.unref(q.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(e.openBlock(),e.createBlock(e.unref(q.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-da13672b"]])),xe=(t={})=>{const{formRef:m,offsetBottom:i=50,minHeight:s=300}=t,C=e.ref(0);let f=null,n=null,d=null,o=null,l=null;const b=()=>{l&&clearTimeout(l),l=setTimeout(()=>{requestAnimationFrame(()=>{e.nextTick(()=>{const S=document.querySelector(".ant-table"),V=document.querySelector(".ant-pagination");if(S){const N=S.getBoundingClientRect().top,w=window.innerHeight,r=(V?V.offsetHeight+20:40)+i;let c=w-N-r;c<s&&(c=s),C.value=c}})})},100)},F=()=>{const S=document.querySelector(".ant-pagination");if(S){const V=new MutationObserver(()=>{b()});return V.observe(S,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),V}return null},_=()=>{const S=document.querySelector(".hb-lib-list-page-form-box");S&&(f=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(N=>{N.style.display="none"}),b()}),f.observe(S))},I=()=>{const S=document.querySelector(".hb-lib-list-page-form-box");S&&(d=new MutationObserver(()=>{setTimeout(()=>{b()},100)}),d.observe(S,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},h=()=>{o&&clearTimeout(o),o=setTimeout(()=>{b()},100)},k=()=>{window.addEventListener("resize",h),e.nextTick(()=>{_(),I(),n=F()})},g=()=>{window.removeEventListener("resize",h),f&&f.disconnect(),d&&d.disconnect(),n&&n.disconnect(),o&&clearTimeout(o),l&&clearTimeout(l)};return m&&e.watch(()=>m,()=>{setTimeout(()=>{b()},200)},{deep:!0}),e.onMounted(()=>{b(),k()}),e.onUnmounted(()=>{g()}),{tableHeight:C,calTableHeight:b}},we=O(e.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:{tableHeight:{default:400},tabelData:{default:()=>[]},offsetBottom:{default:20},minHeight:{}},setup(t){const m=t,i=e.useTemplateRef("PageContainerRef"),{calTableHeight:s,tableHeight:C}=xe({offsetBottom:m.offsetBottom||20,minHeight:m.minHeight||300}),f=e.computed(()=>C.value);return e.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:i,tableHeight:C,calTableHeight:s}),(n,d)=>(e.openBlock(),e.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:i},[e.renderSlot(n.$slots,"header"),e.createElementVNode("section",{class:"list-page-box",style:e.normalizeStyle({"--hb-list-table-height":f.value-m.offsetBottom+"px","--hb-list-ttable-height":t.tabelData.length?"":f.value-m.offsetBottom+"px"})},[e.renderSlot(n.$slots,"default")],4)],512))}})),Ne={style:{"font-weight":"500"}},Be={key:0,class:"hb-lib-search-tag__description"},Fe={class:"hb-lib-selector-dropdown"},Te={class:"hb-lib-selector-search"},$e={class:"hb-lib-selector-list"},Ve=["onClick"],Me={class:"hb-lib-option-content"},Ie={class:"hb-lib-option-label"},Ee={key:0,class:"hb-lib-selector-empty"},He={key:1,class:"hb-lib-selector-footer"},De={class:"hb-lib-footer-buttons"},Ae={key:2,class:"hb-lib-selector-footer"},ze={class:"hb-lib-footer-buttons"},Pe=O(R(e.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:e.mergeModels({placeholder:{default:"点击选择"},searchPlaceholder:{default:"搜索选项"},width:{default:600},options:{default:()=>[]},multiple:{type:Boolean,default:!0},prefix:{default:""},value:{},remoteSearch:{type:Boolean,default:!1},searchValue:{default:""},maxTagCount:{default:2},tagTextLength:{default:30}},{value:{},valueModifiers:{}}),emits:e.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(t,{emit:m}){const i=t,s=m,C=e.useModel(t,"value"),f=e.ref(!1),n=e.ref(""),d=e.ref([]),o=e.ref(),l=e.computed(()=>{if(i.remoteSearch||!n.value)return i.options;const a=n.value.toLowerCase();return i.options.filter(r=>r.label.toLowerCase().includes(a)||r.description?.toLowerCase().includes(a))}),b=e.computed(()=>i.prefix?`${i.prefix.length*14+8}px`:"0px"),F=e.computed(()=>l.value.length===0?!1:l.value.every(a=>d.value.includes(a.value))),_=e.computed(()=>{if(l.value.length===0)return!1;const a=l.value.filter(r=>d.value.includes(r.value)).length;return a>0&&a<l.value.length});e.watch(()=>C.value,a=>{a?d.value=Array.isArray(a)?[...a]:[a]:d.value=[]},{immediate:!0}),e.watch(()=>i.searchValue,a=>{i.remoteSearch&&a!==void 0&&(n.value=a)},{immediate:!0});const I=a=>{a&&(f.value=a,h.value=[...d.value],n.value="",setTimeout(()=>{if(o.value){const r=o.value.input||o.value.$el?.querySelector("input");r&&r.focus()}},100))},h=e.ref([]),k=()=>{d.value=[...h.value],f.value=!1,s("cancel")},g=e.ref([]),S=()=>{const a=i.multiple?d.value:d.value[0]||"",r=i.options.filter(c=>d.value.includes(c.value));g.value=r,console.log(a,r),h.value=[...d.value],C.value=a,s("update:value",a),s("change",a,r),s("confirm",a,r),f.value=!1},V=le.useDebounceFn(a=>{const r=a!==void 0?a:n.value;i.remoteSearch&&(s("search",r),s("update:searchValue",r))},300),N=a=>{if(i.multiple){const r=new Set(d.value);r.has(a.value)?r.delete(a.value):r.add(a.value),d.value=Array.from(r)}else d.value=[a.value],S()},w=a=>{if(a.target.checked){const c=new Set(d.value);l.value.forEach(y=>{c.add(y.value)}),d.value=Array.from(c)}else{const c=new Set(l.value.map(y=>y.value));d.value=d.value.filter(y=>!c.has(y))}};return(a,r)=>{const c=e.resolveComponent("a-tag"),y=e.resolveComponent("a-input"),p=e.resolveComponent("a-checkbox"),H=e.resolveComponent("a-radio"),M=e.resolveComponent("a-button"),U=e.resolveComponent("a-select");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":b.value}},a.$attrs),[e.createVNode(U,{value:C.value,"onUpdate:value":r[5]||(r[5]=A=>C.value=A),mode:t.multiple?"multiple":void 0,placeholder:t.placeholder,"show-search":!0,"filter-option":!1,open:f.value,allowClear:"",maxTagCount:t.maxTagCount,options:l.value,onDropdownVisibleChange:I,onSearch:e.unref(V),"max-tag-text-length":t.tagTextLength,class:e.normalizeClass({"has-prefix":t.prefix}),"data-prefix":t.prefix,style:{width:"100%"}},{tagRender:e.withCtx(({value:A,label:D,closable:x,option:T})=>[e.createVNode(c,{class:"hb-lib-search-tag",onClick:r[0]||(r[0]=()=>I(!0))},{default:e.withCtx(()=>[e.createElementVNode("span",Ne,e.toDisplayString(D),1),T?.description?(e.openBlock(),e.createElementBlock("span",Be," ("+e.toDisplayString(T.description)+") ",1)):e.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:e.withCtx(({menuNode:A})=>[e.createElementVNode("div",Fe,[e.createElementVNode("div",Te,[e.createVNode(y,{ref_key:"searchInputRef",ref:o,class:"hb-lib-selector-search-input",value:n.value,"onUpdate:value":r[1]||(r[1]=D=>n.value=D),placeholder:"请输入关键词搜索","allow-clear":"",onInput:r[2]||(r[2]=D=>e.unref(V)(D.target.value))},{prefix:e.withCtx(()=>[e.createVNode(e.unref(q.SearchOutlined))]),_:1},8,["value"])]),e.createElementVNode("div",$e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,D=>(e.openBlock(),e.createElementBlock("div",{key:D.value,class:e.normalizeClass(["hb-lib-selector-option",{selected:d.value.includes(D.value)}]),onClick:()=>N(D)},[t.multiple?(e.openBlock(),e.createBlock(p,{key:0,checked:d.value.includes(D.value),onChange:()=>N(D),onClick:r[3]||(r[3]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(e.openBlock(),e.createBlock(H,{key:1,checked:d.value.includes(D.value),onChange:()=>N(D),onClick:r[4]||(r[4]=e.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),e.createElementVNode("div",Me,[e.createElementVNode("div",Ie,e.toDisplayString(D.label),1)])],10,Ve))),128))]),l.value.length===0?(e.openBlock(),e.createElementBlock("div",Ee,e.toDisplayString(a.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):e.createCommentVNode("",!0),t.multiple?(e.openBlock(),e.createElementBlock("div",He,[e.createVNode(p,{checked:F.value,indeterminate:_.value,onChange:w},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("div",De,[e.createVNode(M,{size:"small",onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(M,{type:"primary",size:"small",onClick:S},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(e.openBlock(),e.createElementBlock("div",Ae,[r[6]||(r[6]=e.createElementVNode("div",null,null,-1)),e.createElementVNode("div",ze,[e.createVNode(M,{size:"small",onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$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"]])),Oe={class:"hb-lib-form-item-filter-modal-search"},Re={class:"hb-lib-form-item-filter-modal-buttons"},Ue={key:0},qe=O(e.defineComponent({name:"HbLibMutilpleSelectModal",__name:"HbMutilpleSelectModal",props:{modelTitle:{default:"搜索弹窗"},modalWidth:{default:800},tableHeight:{default:500},tableColumn:{default:()=>[]},tableData:{default:()=>[]},tableKey:{default:"id"},labelKey:{default:"label"}},emits:["handleConfirm","handleCancel"],setup(t,{expose:m,emit:i}){const s=t,C=i,f=e.ref(!1),n=e.ref(""),d=e.ref(),o=e.ref(),l=e.ref([]),b=e.ref([]),F=e.ref(),_=e.reactive({searchText:"",searchedColumn:""}),I=e.computed(()=>s.tableData.map(c=>(c.id=c.id||Math.random(),c))),h=e.computed(()=>s.tableColumn.map(c=>(c.customFilterDropdown&&(c.onFilter=(y,p)=>p[c.dataIndex].toString().toLowerCase().includes(y.toLowerCase()),c.onFilterDropdownVisibleChange=y=>{y&&setTimeout(()=>{d.value?.focus()},100)}),{...c}))),k=()=>{let c="";b.value.forEach(y=>{c=c+y[s.labelKey]+","}),n.value=c.substring(0,c.length-1),f.value=!1,C("handleConfirm",b.value)},g=()=>{f.value=!1},S=()=>{f.value=!0,e.nextTick(()=>{const c=F.value?.$el?.querySelector(".ant-table-body");c&&(c.scrollTop=0)})},V=()=>{l.value=[],b.value=[]},N=()=>{n.value="",V()},w=(c,y,p)=>{y(),_.searchText=c[0],_.searchedColumn=p},a=(c,y)=>{c({confirm:!0}),_.searchText="",y()},r=(c,y)=>{l.value=c,b.value=y};return m({resetInputVal:N}),(c,y)=>{const p=e.resolveComponent("a-input"),H=e.resolveComponent("a-button"),M=e.resolveComponent("a-table"),U=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:o},[e.createVNode(p,{readonly:"",onClick:S,value:n.value,"onUpdate:value":y[0]||(y[0]=A=>n.value=A),placeholder:c.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:e.withCtx(()=>[e.createVNode(e.unref(q.UnorderedListOutlined),{onClick:S})]),_:1},8,["value","placeholder"]),e.createVNode(U,{visible:f.value,"onUpdate:visible":y[1]||(y[1]=A=>f.value=A),title:t.modelTitle,width:t.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:e.withCtx(()=>[e.createVNode(H,{onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),e.createVNode(H,{onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),e.createVNode(H,{type:"primary",onClick:k},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(M,{ref_key:"tableRef",ref:F,columns:h.value,dataSource:I.value,rowSelection:{selectedRowKeys:l.value,onChange:r},rowKey:A=>A[t.tableKey],scroll:{y:t.tableHeight}},{customFilterDropdown:e.withCtx(({setSelectedKeys:A,selectedKeys:D,confirm:x,clearFilters:T,column:u})=>[e.createElementVNode("div",Oe,[e.createVNode(p,{ref_key:"searchInput",ref:d,placeholder:`请输入${u.title}`,value:D[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:E=>A(E.target.value?[E.target.value]:[]),onPressEnter:E=>w(D,x,u.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),e.createElementVNode("section",Re,[e.createVNode(H,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:E=>a(T,x)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),e.createVNode(H,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:E=>w(D,x,u.dataIndex)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:e.withCtx(({filtered:A})=>[e.createVNode(e.unref(q.SearchOutlined),{style:e.normalizeStyle({color:A?"#108ee9":void 0})},null,8,["style"])]),bodyCell:e.withCtx(({text:A,column:D})=>[_.searchText&&_.searchedColumn===D.dataIndex?(e.openBlock(),e.createElementBlock("span",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.toString().split(new RegExp(`(?<=${_.searchText})|(?=${_.searchText})`,"i")),(x,T)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[x.toLowerCase()===_.searchText.toLowerCase()?(e.openBlock(),e.createElementBlock("mark",{key:T,class:"highlight"},e.toDisplayString(x),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(x),1)],64))],64))),256))])):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),Ye={class:"hb-lib-table-act-box"},je=["onClick"],Ke={href:"javascript:;",class:"hb-lib-table-main-action"},We=["onClick"],Je={href:"javascript:;",class:"hb-lib-table-more-action"},Ge=["onClick"],Qe={href:"javascript:;"},Ze=["onClick"],Xe={class:"hb-lib-table-confirm-modal-content"},ve=O(R(e.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(t,{expose:m}){const i=t,{t:s}=Y.useI18n(),C=e.ref(!1),f=e.ref(!1),n=e.ref(null),d=e.computed(()=>i.actions.filter(k=>k.condition!==void 0?k.condition:!0)),o=e.computed(()=>d.value.slice(0,i.buttonDisplaysQuantity)),l=e.computed(()=>d.value.slice(i.buttonDisplaysQuantity)),b=k=>{k.handler&&k.handler(i.record)},F=k=>{n.value=k,C.value=!0},_=()=>{if(n.value){f.value=!0;try{b(n.value),f.value=!1,C.value=!1}catch{f.value=!1}}},I=()=>{C.value=!1,n.value=null},h=e.computed(()=>n.value?{title:n.value.confirmTitle,content:n.value.confirmContent||n.value.confirmTitle}:{title:s("hbLibComp.hbTableAct.secendConfirm"),content:s("hbLibComp.hbTableAct.confirmContent")});return m({ADropdown:L.Dropdown,AMenu:L.Menu,AMenuItem:L.MenuItem,APopconfirm:L.Popconfirm,AModal:L.Modal,DownOutlined:q.DownOutlined}),(k,g)=>{const S=e.resolveComponent("a-divider"),V=e.resolveDirective("has");return e.openBlock(),e.createElementBlock("div",Ye,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(N,w)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:w},[N.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[N.confirmType==="modal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"javascript:;",onClick:a=>F(N),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(N.label),1)],8,je)),[[V,N.permissionsTag||null]]),l.value&&l.value.length>0||w!==o.value.length-1?(e.openBlock(),e.createBlock(S,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(L.Popconfirm),{title:N.confirmTitle,onConfirm:a=>b(N)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Ke,[e.createTextVNode(e.toDisplayString(N.label),1)])),[[V,N.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]),l.value&&l.value.length>0||w!==o.value.length-1?(e.openBlock(),e.createBlock(S,{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:a=>b(N),class:"hb-lib-table-main-action"},[e.createTextVNode(e.toDisplayString(N.label),1)],8,We)),[[V,N.permissionsTag||null]]),l.value&&l.value.length>0||w!==o.value.length-1?(e.openBlock(),e.createBlock(S,{key:0,type:"vertical"})):e.createCommentVNode("",!0)],64))],64))),128)),l.value&&l.value.length>0?(e.openBlock(),e.createBlock(e.unref(L.Dropdown),{key:0},{overlay:e.withCtx(()=>[e.createVNode(e.unref(L.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,N=>(e.openBlock(),e.createBlock(e.unref(L.MenuItem),{key:N.key},{default:e.withCtx(()=>[N.needConfirm?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[N.confirmType==="modal"?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:"javascript:;",onClick:w=>F(N)},[e.createTextVNode(e.toDisplayString(N.label),1)],8,Ge)),[[V,N.permissionsTag||null]]):(e.openBlock(),e.createBlock(e.unref(L.Popconfirm),{key:1,title:N.confirmTitle,onConfirm:w=>b(N)},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",Qe,[e.createTextVNode(e.toDisplayString(N.label),1)])),[[V,N.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:w=>b(N)},[e.createTextVNode(e.toDisplayString(N.label),1)],8,Ze)),[[V,N.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("a",Je,[e.createTextVNode(e.toDisplayString(k.$t("hbLibComp.hbTableAct.more"))+" ",1),e.createVNode(e.unref(q.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(L.Modal),{visible:C.value,title:h.value.title,"confirm-loading":f.value,onOk:_,onCancel:I},{default:e.withCtx(()=>[e.createElementVNode("p",Xe,e.toDisplayString(h.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-a96574fa"]])),et=t=>({tableWidth:e.computed(()=>{const i=Array.isArray(t)?t:t.value;return!i||i.length===0?0:i.map(s=>s.width&&Number(s.width.toString().replace("px",""))||0).reduce((s,C)=>s+C,0)})}),tt={key:0,class:"hb-lib-list-table-act"},ot={class:"empty-container"},lt=O(R(e.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:{columns:{},rowHeight:{},defaultWidth:{default:()=>150},tooltipPlacement:{default:()=>"topLeft"}},setup(t){const{t:m}=Y.useI18n(),i=t,s=e.ref([]),C=e.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:f}=et(e.computed(()=>i.columns));e.watch(()=>i.columns,o=>{const l=o.filter(b=>b!=null&&b.checked);s.value=l.map(b=>{let F={...b,title:b.title||b.label};if(F.ellipsis&&!F.needTooltip&&(F.needTooltip=!0),!F.width)F.width=i.defaultWidth;else if(typeof F.width=="string"){const _=parseInt(F.width,10);F.width=isNaN(_)?i.defaultWidth:_}return F.resizable===void 0&&(F.resizable=!0),F})},{immediate:!0,deep:!0});const n=(o,l)=>{if(l){const b=typeof o=="string"?parseInt(o,10):o;l.width=isNaN(b)?150:b}},d=(o,l="YYYY-MM-DD HH:mm:ss")=>o?G(o).format(l):"";return(o,l)=>{const b=e.resolveComponent("a-empty"),F=e.resolveComponent("a-tooltip"),_=e.resolveComponent("HbLibCopy"),I=e.resolveComponent("a-table");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["hb-lib-list-table",{"nowrap-table":i.rowHeight}]),style:e.normalizeStyle({"--hb-lib-table-td-height":t.rowHeight&&t.rowHeight+"px"||""})},[o.$slots.tableActLeft?(e.openBlock(),e.createElementBlock("section",tt,[e.renderSlot(o.$slots,"tableActLeft",{},void 0,!0),e.renderSlot(o.$slots,"tableActRight",{},void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(I,e.mergeProps(o.$attrs,{bordered:"",columns:s.value,onResizeColumn:n,scroll:{x:e.unref(f),y:e.unref(C).tableHeight}}),e.createSlots({emptyText:e.withCtx(()=>[e.createElementVNode("div",ot,[e.createVNode(b,{description:e.unref(m)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[o.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:h})=>[e.renderSlot(o.$slots,"headerCell",{column:h},()=>[e.createTextVNode(e.toDisplayString(h.title),1)],!0)]),key:"0"}:void 0,o.$slots.bodyCell?{name:"bodyCell",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"bodyCell",{column:h,record:k,index:g,text:S},void 0,!0),h&&h.needTooltip?(e.openBlock(),e.createBlock(F,{key:0,placement:t.tooltipPlacement},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(k[h.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(k[h.dataIndex]),1)]),_:2},1032,["placement"])):e.createCommentVNode("",!0),h&&h.needCopy?(e.openBlock(),e.createBlock(_,{key:1,"cp-text":k[h.dataIndex],style:{position:"relative"}},null,8,["cp-text"])):e.createCommentVNode("",!0),h&&h.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(d(k[h.dataIndex],h.format)),1)],64)):e.createCommentVNode("",!0)]),key:"1"}:void 0,o.$slots.expandedRowRender?{name:"expandedRowRender",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"expandedRowRender",{record:k,column:h,index:g,text:S},void 0,!0)]),key:"2"}:void 0,o.$slots.customFilterDropdown?{name:"customFilterDropdown",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"customFilterDropdown",{record:k,column:h,index:g,text:S},void 0,!0)]),key:"3"}:void 0,o.$slots.customFilterIcon?{name:"customFilterIcon",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"customFilterIcon",{record:k,column:h,index:g,text:S},void 0,!0)]),key:"4"}:void 0,o.$slots.expandIcon?{name:"expandIcon",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"expandIcon",{record:k,column:h,index:g,text:S},void 0,!0)]),key:"5"}:void 0,o.$slots.footer?{name:"footer",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"footer",{record:k,column:h,index:g,text:S},void 0,!0)]),key:"6"}:void 0,o.$slots.headerCell?{name:"headerCell",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"headerCell",{record:k,column:h,index:g,text:S},void 0,!0)]),key:"7"}:void 0,o.$slots.summary?{name:"summary",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"summary",{record:k,column:h,index:g,text:S},void 0,!0)]),key:"8"}:void 0,o.$slots.title?{name:"title",fn:e.withCtx(({column:h,record:k,index:g,text:S})=>[e.renderSlot(o.$slots,"title",{record:k,column:h,index:g,text:S},void 0,!0)]),key:"9"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-d4abbf25"]])),at={class:"hb-lib-table-setting-box"},nt={key:0,class:"hb-lib-table-drag-item"},rt={key:0,class:"hb-lib-table-drag-item-act"},it=["onClick"],st=["onClick"],ct={class:"hb-lib-table-set-btn-group"},dt={class:"select-all-container",style:{"margin-right":"10px"}},mt=O(R(e.defineComponent({name:"HbLibTableColumnSet",__name:"HbTableColumnSet",props:{hasClean:{type:Boolean,default:!0},index:{type:Number,default:0},selectedRowKeysLength:{type:Number,default:0},change:{type:Function,default:()=>{}},tableColumns:{type:Array,default:[]},localColumns:{type:Array,default:[]}},emits:["on-get-columns"],setup(t,{emit:m}){const i=m,{t:s}=Y.useI18n(),C=t,f=e.ref([]),n=e.computed(()=>o.value.filter(a=>a.checked));e.ref([]);const d=e.ref(!1),o=e.ref([]),l=e.ref(null),b=e.computed(()=>n.value.length>0&&n.value.length===f.value.length),F=e.computed(()=>n.value.length>0&&n.value.length<f.value.length),_=a=>{l.value=a.oldIndex},I=a=>{const r=a.newIndex;if(f.value.some(y=>y.fixed==="left"||y.fixed==="right"||y.fixed===!0)){const y=f.value.filter(H=>H.fixed==="left").length,p=f.value.length-f.value.filter(H=>H.fixed==="right").length;if((y>0&&r<y||p<f.value.length&&r>=p)&&(L.message.warning(s("hbLibComp.hbLibListTableColumsSet.errorTip")),l.value!==null)){const H=o.value.splice(r,1)[0];o.value.splice(l.value,0,H)}}l.value=null},h=a=>{a.target.checked?o.value.forEach(c=>c.checked=!0):o.value.forEach(c=>c.checked=!1)},k=(a,r)=>{r?a.checked=!0:a.checked=!1},g=()=>{f.value=[...o.value],i("on-get-columns",f.value),d.value=!1},S=()=>{f.value=C.tableColumns.map(r=>({...r,label:r.title&&r.title.tag?V(r.title):r.title||r.title2,value:r.dataIndex,checked:r.checked||r.checked===void 0})),o.value=[...f.value];let a=[];C.tableColumns.forEach(function(r){a.push(r.dataIndex)})},V=a=>a.children[0].text,N=a=>{delete a.fixed;const r=o.value.findIndex(c=>c.value===a.value);if(r!==-1){let c=-1;for(let y=0;y<o.value.length;y++)o.value[y].fixed==="left"&&(c=y);if(c!==-1&&r!==c+1){const y=[...o.value],[p]=y.splice(r,1);y.splice(c+1,0,p),o.value=y}}},w=a=>{const r=o.value.findIndex(c=>c.value===a.value);if(r!==-1){let c=-1;for(let y=0;y<o.value.length;y++)o.value[y].fixed==="left"&&(c=y);if(c!==-1&&r!==c+1){const y=[...o.value],p=y.splice(r,1);p[0].fixed="left",y.splice(c+1,0,p[0]),o.value=y}}};return e.watch(()=>C.tableColumns,()=>{S()},{immediate:!0,deep:!0}),(a,r)=>{const c=e.resolveComponent("a-tooltip"),y=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock("div",at,[e.createVNode(e.unref(L.Popover),{title:e.unref(s)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"alertInfoContent",visible:d.value,"onUpdate:visible":r[1]||(r[1]=p=>d.value=p)},{content:e.withCtx(()=>[e.createVNode(e.unref(J),{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=p=>o.value=p),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:_,onEnd:I},{item:e.withCtx(({element:p})=>[p.fixed!=="right"?(e.openBlock(),e.createElementBlock("div",nt,[e.createVNode(e.unref(L.Checkbox),{checked:p.checked,onChange:H=>k(p,H.target.checked)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.label),1)]),_:2},1032,["checked","onChange"]),p.checked?(e.openBlock(),e.createElementBlock("section",rt,[e.createElementVNode("span",{class:e.normalizeClass(p.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),p.fixed?(e.openBlock(),e.createBlock(c,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:H=>N(p)},[...r[2]||(r[2]=[e.createElementVNode("svg",{t:"1759048615600",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7283",width:"200",height:"200"},[e.createElementVNode("path",{d:"M771.798516 586.270988c-6.897306 8.296759-17.293245 12.894963-27.989067 12.894963h-0.299882l-175.931277-1.199532-55.178446 422.834831-0.399844 3.19875-0.399844-3.19875-55.178446-422.834831-175.931277 1.199532h-0.299882c-10.795783 0-21.191722-4.598204-27.989067-12.894963-6.897306-8.39672-8.796564-18.292854-8.596642-27.28934 0.399844-13.094885 5.697774-25.590004 14.394377-35.386177l61.87583-69.872706c15.393987-17.393206 24.790316-39.284654 26.589613-62.475596l20.292074-250.402187c0.599766-7.796954-2.199141-15.593909-7.796955-21.091761l-38.584927-38.584927c-19.692308-16.693479-21.891449-33.58688-17.79305-47.581414 5.897696-20.092152 24.690355-33.58688 45.582194-33.58688h0.199922l163.236236 0.499805h0.799688l163.236236-0.499805h0.199922c20.891839 0 39.684498 13.494729 45.582194 33.58688 4.098399 13.994533 1.899258 30.887934-17.79305 47.581414L664.940258 119.753221c-5.597813 5.597813-8.39672 13.294807-7.796955 21.091761L677.435377 391.247169c1.899258 23.190941 11.195627 45.08239 26.589613 62.475596l61.87583 69.872706c8.696603 9.796173 13.894572 22.291292 14.394377 35.386177 0.299883 8.996486-1.599375 18.89262-8.496681 27.28934z","p-id":"7284",fill:"#ff5000"})],-1)])],8,it)]),_:2},1024)):e.createCommentVNode("",!0),p.fixed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(c,{key:1},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:H=>w(p)},[...r[3]||(r[3]=[e.createElementVNode("svg",{t:"1759048735643",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7481",width:"200",height:"200"},[e.createElementVNode("path",{d:"M381.298 418.828h-157.703l-37.575 38.272 155.61 158.377-278.212 345.128 356.040-265.838 154.71 157.41 38.813-39.51 2.407-157.972 238.838-313.29 71.685 73.013 34.695-35.28-310.185-315.743-34.672 35.257 77.287 79.402-311.737 240.773z","p-id":"7482",fill:"#ff5000"})],-1)])],8,st)]),_:2},1024))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["modelValue"]),e.createElementVNode("div",ct,[e.createElementVNode("div",dt,[e.createVNode(e.unref(L.Checkbox),{checked:b.value,indeterminate:F.value,onChange:h},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),e.createVNode(y,{onClick:g,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(c,{title:e.unref(s)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:e.withCtx(()=>[...r[4]||(r[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-fe93cce7"]])),pt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormItemFilterModal:me,HbLibListBtnsAct:_e,HbLibListForm:fe,HbLibListMultiSelect:Pe,HbLibListPageAct:ye,HbLibListPageContainer:we,HbLibListTable:lt,HbLibMutilpleSelectModal:qe,HbLibTableAct:ve,HbLibTableColumnSet:mt},Symbol.toStringTag,{value:"Module"})),ft=O(R(e.defineComponent({name:"HbLibFormTooltipSelect",inheritAttrs:!1,__name:"HbTooltipSelect",props:e.mergeModels({options:{default:()=>[]},tooltipPlacement:{default:"right"},tooltipMaxWidth:{default:280},enableTooltip:{type:Boolean,default:!0},enableEllipsis:{type:Boolean,default:!0}},{value:{default:void 0},valueModifiers:{}}),emits:["update:value"],setup(t,{expose:m}){const i=t,s=e.useAttrs(),C=e.computed(()=>{const h=s,k=h.dropdownClassName;return{...h,dropdownClassName:k??"hb_lib_form_tooltip_select__dropdown"}}),f=e.ref(),n=e.useModel(t,"value"),d=e.computed(()=>i.options??[]),o=e.computed(()=>({maxWidth:typeof i.tooltipMaxWidth=="number"?`${i.tooltipMaxWidth}px`:i.tooltipMaxWidth})),l=h=>h.tooltip??h.label,b=h=>h.key??h.label,F=h=>!!(i.enableTooltip&&l(h));return m({focus:()=>{f.value?.focus?.()},blur:()=>{f.value?.blur?.()},selectRef:f}),(h,k)=>(e.openBlock(),e.createBlock(e.unref(L.Select),e.mergeProps({ref_key:"selectRef",ref:f,class:"hb_lib_form_tooltip_select"},C.value,{value:n.value,"onUpdate:value":k[0]||(k[0]=g=>n.value=g)}),{default:e.withCtx(()=>[h.$slots.default?e.renderSlot(h.$slots,"default",{key:0},void 0,!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(d.value,g=>(e.openBlock(),e.createBlock(e.unref(L.SelectOption),e.mergeProps({key:b(g),value:g.value,disabled:g.disabled},{ref_for:!0},g.optionProps),{default:e.withCtx(()=>[F(g)?(e.openBlock(),e.createBlock(e.unref(L.Tooltip),{key:0,title:l(g),placement:i.tooltipPlacement,overlayStyle:o.value},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(["hb_lib_form_tooltip_select__option",{"is-ellipsis":i.enableEllipsis}])},e.toDisplayString(g.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":i.enableEllipsis}])},e.toDisplayString(g.label),3))]),_:2},1040,["value","disabled"]))),128))]),_:3},16,["value"]))}}),[["__scopeId","data-v-b04f5675"]])),ht=Object.freeze(Object.defineProperty({__proto__:null,HbLibFormTooltipSelect:ft},Symbol.toStringTag,{value:"Module"})),bt={class:"ant-upload-drag-icon"},gt={class:"ant-upload-text"},Ct={style:{color:"#ff5000"}},kt={class:"ant-upload-hint"},yt={key:0,class:"hb_import_btn"},ut=["href"],Lt=O(R(e.defineComponent({name:"HbLibImportFile",__name:"HbImportFile",props:{title:{default:()=>"文件导入"},modalWidth:{default:600},acceptFile:{default:".xlsx, .xls, .csv,.txt,.docx,.doc,.ppt,.pptx,.png,.jpg,.jpeg,.gif"},isRequired:{type:Boolean,default:!0},templateUrl:{},maxCount:{default:1},multiple:{type:Boolean,default:!1},btnText:{default:()=>"文件上传"},beforeUpload:{},beforeSubmit:{}},setup(t,{expose:m}){const{t:i}=Y.useI18n(),s=e.ref(),C=t,f=e.ref(!1),n=e.reactive({fileList:[],visible:!1}),d=_=>{if(_==null)return;const I=n.fileList.indexOf(_);if(I!==-1){const h=n.fileList.slice();h.splice(I,1),n.fileList=h}},o=()=>{n.visible=!1,n.fileList=[],f.value=!1},l=_=>(n.fileList=[_],C.beforeUpload?C.beforeUpload(_):!1),b=()=>{s.value.validateFields().then(()=>{C.beforeSubmit&&(f.value=!0,C.beforeSubmit(n.fileList).then(_=>{}).finally(()=>{f.value=!1}))})},F=()=>{n.visible=!0};return m({handleCancel:o,openModal:F,confirmLoading:f}),(_,I)=>{const h=e.resolveComponent("a-upload-dragger"),k=e.resolveComponent("a-form-item"),g=e.resolveComponent("a-form"),S=e.resolveComponent("a-modal"),V=e.resolveComponent("a-button");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(S,e.mergeProps({title:C.title,visible:n.visible,"onUpdate:visible":I[0]||(I[0]=N=>n.visible=N),"confirm-loading":f.value},_.$attrs,{onCancel:o,onOk:b,width:C.modalWidth}),{default:e.withCtx(()=>[e.createVNode(g,{ref_key:"modalFormRef",ref:s,model:n},{default:e.withCtx(()=>[e.createVNode(k,{name:"fileList",label:e.unref(i)("hbLibComp.HbImportFile.fileLabel"),rules:[{required:C.isRequired,message:e.unref(i)("hbLibComp.HbImportFile.clickUp")}]},{default:e.withCtx(()=>[e.createVNode(h,{maxCount:C.maxCount,multiple:C.multiple,accept:C.acceptFile,name:"file",fileList:n.fileList,onRemove:d,beforeUpload:l},{default:e.withCtx(()=>[e.createElementVNode("p",bt,[e.createVNode(e.unref(q.PlusCircleOutlined),{style:{"font-size":"37px"}})]),e.createElementVNode("p",gt,[e.createTextVNode(e.toDisplayString(e.unref(i)("hbLibComp.HbImportFile.uploadText")),1),e.createElementVNode("span",Ct,e.toDisplayString(e.unref(i)("hbLibComp.HbImportFile.clickUp")),1)]),e.createElementVNode("p",kt,e.toDisplayString(e.unref(i)("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",yt,[e.createElementVNode("a",{download:"Import_number-template.xlsx",href:C.templateUrl},e.toDisplayString(e.unref(i)("hbLibComp.HbImportFile.downloadTemplate")),9,ut)])):e.createCommentVNode("",!0)]),_:1},16,["title","visible","confirm-loading","width"]),e.renderSlot(_.$slots,"default",{},()=>[e.createVNode(V,{onClick:F,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.btnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-47fe70d9"]])),St=Object.freeze(Object.defineProperty({__proto__:null,HbLibImportFile:Lt},Symbol.toStringTag,{value:"Module"})),_t={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"}},xt=O(R(e.defineComponent({name:"HbLibCopy",__name:"copy",props:_t,setup(t){const m=t,i=e.ref();e.watchEffect(()=>{i.value=m.data});const s=e.computed(()=>{if(m.cpText)return m.cpText;let f="";if(m.data)if(Array.isArray(m.data)){if(m.K&&m.V&&m.L){const n=m.data.find(d=>d?.[m.K]===m.V);f=n?n[m.L]:""}}else m.K&&(f=m.data[m.K]);return f}),C=()=>{navigator.clipboard.writeText(s.value).then(()=>{L.message.success(m.copySuccessTip)}).catch(()=>{L.message.error("复制失败")})};return(f,n)=>{const d=e.resolveComponent("a-tooltip");return s.value?(e.openBlock(),e.createBlock(d,{key:0,title:f.tooltipTitle},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["hb-lib-copy-text-eyevue icon strongQ strong-copy",f.classType=="ab"?"ab":"normal"]),style:e.normalizeStyle({...f.cpStyle}),onClick:e.withModifiers(C,["stop","prevent"])},null,6)]),_:1},8,["title"])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d5ca4420"]])),wt={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:""}},Nt=O(R(e.defineComponent({name:"HbDrag",__name:"index",props:wt,emits:["update:dragList","handleDragStart","handleDragEnd","handleDragAdd","handleDragRemove"],setup(t,{emit:m}){const i=t,s=e.shallowRef([]);e.watch(()=>i.dragList,b=>{s.value=b},{deep:!0,immediate:!0});const C=X("drag"),f=m,n=b=>{console.log("drag start",b),f("handleDragStart",b)},d=b=>{console.log("drag end",b),f("handleDragEnd",b)},o=b=>{console.log("drag add",b),f("handleDragAdd",b)},l=b=>{console.log("drag remove",b),f("handleDragRemove",b)};return(b,F)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(C).b())},[b.childrenType=="component"?(e.openBlock(),e.createBlock(e.unref(J),e.mergeProps({key:0,modelValue:s.value,"onUpdate:modelValue":F[0]||(F[0]=_=>s.value=_),"item-key":"key",class:{[b.dragClass]:b.dragClass}},b.$attrs,{"ghost-class":b.ghostClass,onStart:n,onEnd:d,onAdd:o,onRemove:l}),{item:e.withCtx(({element:_})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_.component)))]),_:1},16,["modelValue","class","ghost-class"])):(e.openBlock(),e.createBlock(e.unref(J),e.mergeProps({key:1,modelValue:s.value,"onUpdate:modelValue":F[1]||(F[1]=_=>s.value=_),"item-key":"id",class:{[b.dragClass]:b.dragClass}},b.$attrs,{"ghost-class":b.ghostClass,onStart:n,onEnd:d,onAdd:o,onRemove:l}),{item:e.withCtx(({element:_})=>[e.createElementVNode("div",null,[e.renderSlot(b.$slots,"default",{item:_},void 0,!0)])]),_:3},16,["modelValue","class","ghost-class"]))],2))}}),[["__scopeId","data-v-15b227f5"]])),Bt=Object.freeze(Object.defineProperty({__proto__:null,HbLibFuncCompCopy:xt,HbLibFuncCompDrag:Nt},Symbol.toStringTag,{value:"Module"})),Ft={class:"log_remark"},Tt=O(R(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(t,{expose:m,emit:i}){const{t:s}=Y.useI18n(),C=t,f=[{title:s("hbLibComp.HbLogModal.operator"),dataIndex:"userName",width:"15%"},{title:s("hbLibComp.HbLogModal.operateTime"),dataIndex:"operateTime",width:"25%"},{title:s("hbLibComp.HbLogModal.operateContent"),dataIndex:"remark"}],n=e.computed(()=>C.columns||f),d=e.computed(()=>C.title||s("hbLibComp.HbLogModal.operateLogs")),o=e.ref(!1),l=e.reactive({list:[],pagination:{current:1,pageSize:20,pageSizeOptions:["10","20","50","100"],showQuickJumper:!0,showSizeChanger:!0,showTotal:(g,S)=>S[0]+"-"+S[1]+" 总共"+g+"页",total:0}});e.watch(()=>C.pagination,g=>{g&&(l.pagination={...l.pagination,...g})},{deep:!0,immediate:!0});const b=(g=1)=>{const S={pageIndex:g,pageSize:l.pagination.pageSize,query:C.params};C.getLogData&&(o.value=!0,C.getLogData(S).then(V=>{Number(V.code)==200&&(l.pagination.current=g,l.pagination.total=Number(V.data.total),l.list=V.data.records||[])}).finally(()=>{o.value=!1}))},F=g=>{l.pagination.current=g.current,l.pagination.pageSize=g.pageSize,b()},_=()=>{l.list=[],k("update:visible",!1)},I=()=>{k("update:visible",!0)},h=(g,S="YYYY-MM-DD HH:mm:ss")=>g?G(g).format(S):"",k=i;return e.watch(()=>C.visible,g=>{g&&b()}),m({close:_,loading:o}),(g,S)=>{const V=e.resolveComponent("a-tooltip"),N=e.resolveComponent("HbLibCopy"),w=e.resolveComponent("a-table"),a=e.resolveComponent("a-button"),r=e.resolveComponent("a-modal");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(r,{visible:t.visible,title:d.value,width:t.width,onCancel:_},{footer:e.withCtx(()=>[e.createVNode(a,{onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("hbLibComp.HbLogModal.close")),1)]),_:1})]),default:e.withCtx(()=>[e.createVNode(w,{bordered:"",rowKey:"id",columns:n.value,dataSource:l.list,pagination:l.pagination,loading:o.value,onChange:F},{bodyCell:e.withCtx(({column:c,record:y})=>[c&&c.needTooltip?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c.needTooltip?(e.openBlock(),e.createBlock(V,{key:0},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y[c.dataIndex]),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(y[c.dataIndex]),1)]),_:2},1024)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),c&&c.needCopy?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Ft,e.toDisplayString(y[c.dataIndex]),1),e.createVNode(N,{"cp-text":y[c.dataIndex],style:{position:"relative"}},null,8,["cp-text"])],64)):e.createCommentVNode("",!0),c&&c.needFormat?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(h(y[c.dataIndex],c.operateTime)),1)],64)):e.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","pagination","loading"])]),_:1},8,["visible","title","width"]),e.renderSlot(g.$slots,"default",{},()=>[e.createVNode(a,{onClick:I},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.logBtnText),1)]),_:1})],!0)],64)}}}),[["__scopeId","data-v-cee51270"]]));let ae={...pt,...ht,...St,...Object.freeze(Object.defineProperty({__proto__:null,HbLibLogModal:Tt},Symbol.toStringTag,{value:"Module"})),...Bt};const $t={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"},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"}}},Vt={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:"クエリプラン"},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:"書類"}}},Mt={hbLibComp:{hbFormItemFilterModal:{titleTip:"已显示条件",mostMore:"最多可选",mostMoreTip:"个条件,拖拽可以调整排序",notShowTip:"未显示条件",add:"添加",noData:"暂无数据",cancel:"取消",confirm:"确定",moreConditionSearch:"多项搜索"},hbFormSelectFilter:{allSelect:"全选",close:"关闭"},hbListPageAct:{query:"查询",reset:"重置",selfDefine:"筛选查询条件",open:"展开",close:"收起",fullScreen:"全屏",exitFullScreen:"退出全屏"},hbListBtnsAct:{reload:"刷新数据",open:"展开查询条件",close:"收起查询条件"},hbTableAct:{more:"更多",secendConfirm:"二次确认",confirmContent:"确认内容"},hbMultiSelectModal:{pleaseSelect:"请选择"},hbListTable:{noData:"暂时没有数据"},hbLibListTableColumsSet:{popoverTitle:"自定义列",title:"表格字段设置",fix:"固定",cancelFix:"取消固定",allSelect:"全选",confirm:"确定",errorTip:"不能将列移动到固定列位置"},hbLibListForm:{queryCase:"查询方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载",format:"支持格式"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"},HbImportFile:{uploadText:"将文件拖到此处或",clickUp:"请上传文件",downloadTemplate:"点击下载模板",pleaseUploadFiles:"请上传文件",fileLabel:"文件",importBtn:"文件上传"}}},It={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"},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"}}};var Q={exports:{}},Et=Q.exports,ne;function Ht(){return ne||(ne=1,(function(t,m){(function(i,s){t.exports=s(G)})(Et,(function(i){function s(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var C=s(i),f={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(n,d){return d==="W"?n+"周":n+"日"},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(n,d){var o=100*n+d;return o<600?"凌晨":o<900?"早上":o<1100?"上午":o<1300?"中午":o<1800?"下午":"晚上"}};return C.default.locale(f,null,!0),f}))})(Q)),Q.exports}Ht(),G.locale("zh-cn");const Dt={en_US:$t,ja_JP:Vt,zh_CN:Mt,de_DE:It},At=function(t){Object.keys(ae).forEach(i=>{t.use(ae[i])})};P.install=At,P.locales=Dt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare const locales: {
|
|
|
14
14
|
onlySupport: string;
|
|
15
15
|
placeSelect: string;
|
|
16
16
|
selectFile: string;
|
|
17
|
+
format: string;
|
|
17
18
|
};
|
|
18
19
|
HbLogModal: {
|
|
19
20
|
close: string;
|
|
@@ -74,6 +75,13 @@ export declare const locales: {
|
|
|
74
75
|
more: string;
|
|
75
76
|
secendConfirm: string;
|
|
76
77
|
};
|
|
78
|
+
HbImportFile: {
|
|
79
|
+
clickUp: string;
|
|
80
|
+
downloadTemplate: string;
|
|
81
|
+
pleaseUploadFiles: string;
|
|
82
|
+
uploadText: string;
|
|
83
|
+
fileLabel: string;
|
|
84
|
+
};
|
|
77
85
|
};
|
|
78
86
|
};
|
|
79
87
|
ja_JP: {
|
|
@@ -91,6 +99,7 @@ export declare const locales: {
|
|
|
91
99
|
onlySupport: string;
|
|
92
100
|
placeSelect: string;
|
|
93
101
|
selectFile: string;
|
|
102
|
+
format: string;
|
|
94
103
|
};
|
|
95
104
|
HbLogModal: {
|
|
96
105
|
close: string;
|
|
@@ -151,6 +160,13 @@ export declare const locales: {
|
|
|
151
160
|
more: string;
|
|
152
161
|
secendConfirm: string;
|
|
153
162
|
};
|
|
163
|
+
HbImportFile: {
|
|
164
|
+
clickUp: string;
|
|
165
|
+
downloadTemplate: string;
|
|
166
|
+
pleaseUploadFiles: string;
|
|
167
|
+
uploadText: string;
|
|
168
|
+
fileLabel: string;
|
|
169
|
+
};
|
|
154
170
|
};
|
|
155
171
|
};
|
|
156
172
|
zh_CN: {
|
|
@@ -220,6 +236,7 @@ export declare const locales: {
|
|
|
220
236
|
clickUpload: string;
|
|
221
237
|
onlySupport: string;
|
|
222
238
|
downloadTemplate: string;
|
|
239
|
+
format: string;
|
|
223
240
|
};
|
|
224
241
|
HbLogModal: {
|
|
225
242
|
close: string;
|
|
@@ -228,6 +245,14 @@ export declare const locales: {
|
|
|
228
245
|
operateTime: string;
|
|
229
246
|
operateContent: string;
|
|
230
247
|
};
|
|
248
|
+
HbImportFile: {
|
|
249
|
+
uploadText: string;
|
|
250
|
+
clickUp: string;
|
|
251
|
+
downloadTemplate: string;
|
|
252
|
+
pleaseUploadFiles: string;
|
|
253
|
+
fileLabel: string;
|
|
254
|
+
importBtn: string;
|
|
255
|
+
};
|
|
231
256
|
};
|
|
232
257
|
};
|
|
233
258
|
de_DE: {
|
|
@@ -245,6 +270,7 @@ export declare const locales: {
|
|
|
245
270
|
onlySupport: string;
|
|
246
271
|
placeSelect: string;
|
|
247
272
|
selectFile: string;
|
|
273
|
+
format: string;
|
|
248
274
|
};
|
|
249
275
|
HbLogModal: {
|
|
250
276
|
close: string;
|
|
@@ -305,6 +331,13 @@ export declare const locales: {
|
|
|
305
331
|
more: string;
|
|
306
332
|
secendConfirm: string;
|
|
307
333
|
};
|
|
334
|
+
HbImportFile: {
|
|
335
|
+
clickUp: string;
|
|
336
|
+
downloadTemplate: string;
|
|
337
|
+
pleaseUploadFiles: string;
|
|
338
|
+
uploadText: string;
|
|
339
|
+
fileLabel: string;
|
|
340
|
+
};
|
|
308
341
|
};
|
|
309
342
|
};
|
|
310
343
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAQA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,qBAAqB,CAAC;AAE7B,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAQA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,qBAAqB,CAAC;AAE7B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,QAAkB,GAAG,SAKxC,CAAC"}
|