1/* empty css *//* empty css *//* empty css */import{d as E,u as N,c as x,a as k,w as V,b as e,t as o,i as c,l as b,e as y,F as G,f as R,j as H,k as Y,E as z,o as m,_ as A,r as u,a3 as C,q as T,g as $,x as U,bG as j,aO as O}from"./index-B-dtNIsA.js";import{C as J,P as W}from"./index-BABYtHi9.js";/* empty css *//* empty css */import{d as Q,e as X}from"./flightService-Bpj91Aq2.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-DISshP3r.js";import"./index-BKnCQbB3.js";/* empty css */import"./lodash-ZWyl6fiV.js";import"./th-Bvc7fDgr.js";const Z={class:"passenger-edit-Dialog"},ee={class:"tips-title"},te={class:"tips-panel"},oe={class:"tips-panel"},le={class:"dialog-footer"},ie=E({__name:"ContactDialog",props:{modelValue:{type:Boolean},title:{},fullscreen:{type:Boolean},serviceInfo:{default:()=>({officeHour:"",officeLocation:"",serviceHotline:"",serviceEmail:"",reminder:[]})}},emits:["update:modelValue"],setup(K,{emit:l}){const{t:d}=N(),r=K,S=l,f=x({get:()=>r.modelValue,set:I=>S("update:modelValue",I)}),_=async()=>{f.value=!1};return(I,v)=>{const D=Y,a=z;return m(),k(a,{modelValue:f.value,"onUpdate:modelValue":v[1]||(v[1]=g=>f.value=g),title:r.title,width:"800",center:"",class:"dialog-css",fullscreen:r.fullscreen},{default:V(()=>[e("div",Z,[e("div",ee,o(c(d)("flightService.lostFound.contactInformation")),1),e("div",te,[e("div",null,[b(o(c(d)("flightService.lostFound.officeHourLabel"))+" ï¼ ",1),e("span",null,o(r.serviceInfo.officeHour),1)]),e("div",null,[b(o(c(d)("flightService.lostFound.officeLocationLabel"))+" ï¼ ",1),e("span",null,o(r.serviceInfo.officeLocation),1)]),e("div",null,[b(o(c(d)("flightService.lostFound.serviceHotlineLabel"))+" ï¼ ",1),e("span",null,o(r.serviceInfo.serviceHotline),1)]),e("div",null,[b(o(c(d)("flightService.lostFound.emailLabel"))+" ï¼ ",1),e("span",null,o(r.serviceInfo.serviceEmail),1)])]),e("div",oe,[(m(!0),y(G,null,R(r.serviceInfo.reminder,g=>(m(),y("div",{key:g},o(g),1))),128))])]),e("div",le,[H(D,{class:"save-button",type:"danger",size:"large",onClick:v[0]||(v[0]=g=>_())},{default:V(()=>[b(o(c(d)("common.ok")),1)]),_:1})])]),_:1},8,["modelValue","title","fullscreen"])}}}),ae=A(ie,[["__scopeId","data-v-536f8915"]]),ne={class:"lost-found"},se={class:"lost-found-list"},re={class:"found-img"},ue=["src","onClick"],ce={class:"found-info"},de={class:"num"},me=E({__name:"index",setup(K){const{t:l,locale:d}=N(),r={"en-HK":{name:"Hong Kong Int'l Airport",number:"HKG"},"zh-HK":{name:"馿¸¯åéæ©å ´",number:"HKG"},"en-CN":{name:"Hong Kong Int'l Airport",number:"HKG"},"zh-CN":{name:"馿¸¯å½é
æºåº",number:"HKG"},"zh-TW":{name:"馿¸¯åéæ©å ´",number:"HKG"},"en-JP":{name:"Hong Kong Int'l Airport",number:"HKG"},"ja-JP":{name:"Hong Kong Int'l Airport",number:"HKG"},"en-CA":{name:"Hong Kong Int'l Airport",number:"HKG"},"en-AU":{name:"Hong Kong Int'l Airport",number:"HKG"},"th-TH":{name:"Hong Kong Int'l Airport",number:"HKG"}},S=u([{label:l("flightService.lostFound.foundDate"),name:"date",type:"elDatePicker",rules:[{required:!0,message:l("flightService.customerStroke.oriDepDateRequired"),trigger:["blur","change"]}],maxSelectableDate:C().format("YYYY-MM-DD"),value:C().subtract(1,"day").format("YYYY-MM-DD"),placeholder:l("flightService.customerStroke.pleaseSelect"),position:["left"],disabledDate:t=>t.getTime()>C().toDate().getTime()},{label:l("flightService.lostFound.foundItemStation"),name:"ym",type:"cityList",placeholder:l("flightService.customerStroke.pleaseSelect"),rules:[{required:!0,message:l("flightService.customerStroke.oriDepCodeRequired"),trigger:["blur","change"]},{validator:(t,i,s)=>{Object.keys(i).length>0?s():s(new Error(l("flightService.customerStroke.oriDepCodeRequired")))},trigger:["blur","change"]}],value:r[d.value],position:["left"]},{label:l("flightService.lostFound.category"),name:"ty",type:"select",rules:[{required:!0,message:l("flightService.lostFound.categoryRequired"),trigger:"blur"}],value:"",placeholder:l("flightService.customerStroke.pleaseSelect"),selectRadioOptions:[]},{submitBtn:!0,label:l("flightService.lostFound.submitBtn"),name:"submitBtn",class:["lost_found-submitBtn"]}]),f=u(!1),_=u(!1),I=u(window.innerWidth<768),v=u(null),D=t=>t<100?`${String(t).padStart(3,"0")}`:t,a=u({item:[]}),g=x(()=>a.value.item.map(t=>t.imgUrl||"")),F=u(!1),L=u(0),q=t=>{const i={languageType:d.value.replace("-","_"),airportCode:t.ym.number,foundDate:t.date,category:t.ty,pageIndex:1,pageSize:600};a.value={item:[]},f.value=!1,h.value=!0,Q(i).then(s=>{s.code==="00000"&&s.data?a.value=s.data:f.value=!0}).finally(()=>{h.value=!1})},h=u(!1),w=u(""),M=async()=>{h.value=!0,X({}).then(t=>{var i,s;if(t.code==="00000"&&t.data){w.value=t.data.searchReminder||"";const p=S.value.find(n=>n.name==="ty");p&&(p.selectRadioOptions=t.data.item.map(n=>({label:n.categoryName,value:n.categoryId}))||[],p.value=((i=t.data.item[0])==null?void 0:i.categoryId)||"",(s=v.value)==null||s.setFormItemValue("ty",p.value))}}).finally(()=>{h.value=!1})};return T(()=>{M()}),(t,i)=>{const s=j,p=O;return m(),y("div",ne,[H(W,{title:c(l)("flightService.lostFound.title"),desc:w.value},{default:V(()=>[H(J,{ref_key:"configFormRef",ref:v,gridClass:["md:grid-cols-4"],onSubmit:q,formItems:S.value,loading:h.value},null,8,["formItems","loading"]),e("div",se,[(m(!0),y(G,null,R(a.value.item,(n,B)=>(m(),y("div",{key:n.refNo,class:"lost-found-list-item",onClick:i[0]||(i[0]=P=>_.value=!0)},[e("div",re,[e("img",{src:n.imgUrl,alt:"lost found item",onClick:U(P=>
1{F.value=!0,L.value=B},["stop"])},null,8,ue)]),e("div",ce,[e("div",de,"No."+o(D(B+1)),1),e("div",null,o(c(l)("flightService.lostFound.itemNo"))+": "+o(n.refNo),1),e("div",null,o(c(l)("flightService.lostFound.foundDate"))+": "+o(n.foundDate),1),e("div",null,o(c(l)("flightService.lostFound.contactInformation"))+": "+o(a.value.officeName),1)])]))),128)),F.value?(m(),k(s,{key:0,"url-list":g.value,"show-progress":"","initial-index":L.value,onClose:i[1]||(i[1]=n=>F.value=!1)},null,8,["url-list","initial-index"])):$("",!0)]),f.value?(m(),k(p,{key:0,"image-size":150,description:t.$t("flightService.lostFound.noFoundMsg")},null,8,["description"])):$("",!0)]),_:1},8,["title","desc"]),H(ae,{modelValue:_.value,"onUpdate:modelValue":i[2]||(i[2]=n=>_.value=n),fullscreen:I.value,serviceInfo:{officeHour:a.value.officeHour,officeLocation:a.value.officeLocation,serviceHotline:a.value.serviceHotline,serviceEmail:a.value.serviceEmail,reminder:a.value.reminder}},null,8,["modelValue","fullscreen","serviceInfo"])])}}}),Ee=A(me,[["__scopeId","data-v-99194e1b"]]);export{Ee as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.