@arcgis/portal-components 5.2.0-next.93 → 5.2.0-next.95
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/cdn/{BMZFIENS.js → 27WR6TKM.js} +1 -1
- package/dist/cdn/{P6DWFLYH.js → 2LROLM5D.js} +1 -1
- package/dist/cdn/{P4ELMYQQ.js → 2M7ICZ55.js} +1 -1
- package/dist/cdn/2QCYQYNA.js +2 -0
- package/dist/cdn/2RPQKCIL.js +2 -0
- package/dist/cdn/{EZNTXOKK.js → 2Z5BVWD4.js} +1 -1
- package/dist/cdn/{2VGYRITT.js → 33IZVRD6.js} +1 -1
- package/dist/cdn/{BTSXQQKZ.js → 4PPXBKIJ.js} +3 -3
- package/dist/cdn/{H4L2DX4R.js → 4R5TLPGN.js} +1 -1
- package/dist/cdn/{Q54ZD7WJ.js → 6NHNSWIQ.js} +1 -1
- package/dist/cdn/{QH47GJCC.js → A6YWV3MB.js} +1 -1
- package/dist/cdn/{QLHCXOVQ.js → ACCEI7S4.js} +1 -1
- package/dist/cdn/{LTHZ2TRG.js → AVNFYSR4.js} +1 -1
- package/dist/cdn/{H76EB2WF.js → BA3HGV4Q.js} +1 -1
- package/dist/cdn/{7OR2HKBV.js → BCYZTGDC.js} +1 -1
- package/dist/cdn/BFH3HBUT.js +2 -0
- package/dist/cdn/BIJ755UR.js +2 -0
- package/dist/cdn/{GJ7GKO7I.js → BXDQIHOS.js} +1 -1
- package/dist/cdn/{KA4XSW6O.js → BY6ZY3C4.js} +1 -1
- package/dist/cdn/EFY6BRUW.js +2 -0
- package/dist/cdn/{7HHPKD5C.js → EHQVLI6M.js} +1 -1
- package/dist/cdn/FD7DZ3IE.js +2 -0
- package/dist/cdn/{5YCQRL4K.js → FJSGWELR.js} +1 -1
- package/dist/cdn/{CBXQFKN5.js → G2CJ5PLI.js} +1 -1
- package/dist/cdn/{T7FVQDHN.js → GBYHBRUW.js} +1 -1
- package/dist/cdn/{7XD6KSXV.js → GUTV5BR3.js} +1 -1
- package/dist/cdn/{PF3TB3QZ.js → H6QY5OJL.js} +1 -1
- package/dist/cdn/{DCIRWNQL.js → HFP5F435.js} +1 -1
- package/dist/cdn/{WNYL4EZA.js → HLQD6W3F.js} +1 -1
- package/dist/cdn/{YS2SZ3DL.js → IGZ7A7S3.js} +1 -1
- package/dist/cdn/{CNDTRZJT.js → INPDIPW5.js} +1 -1
- package/dist/cdn/JQTQZCBV.js +2 -0
- package/dist/cdn/{546M6SVH.js → KCJDG4OE.js} +1 -1
- package/dist/cdn/{PJLV3EQS.js → LDTVM22U.js} +1 -1
- package/dist/cdn/LDVTUC6I.js +2 -0
- package/dist/cdn/{MRHDSM6U.js → LLRHHAXZ.js} +1 -1
- package/dist/cdn/{YMLZCVEI.js → M6EVMQYT.js} +1 -1
- package/dist/cdn/MA5HWGFW.js +2 -0
- package/dist/cdn/{47ZPCFHE.js → NAAAOC2Z.js} +1 -1
- package/dist/cdn/{5Q7A62C3.js → NQX5UAUH.js} +86 -82
- package/dist/cdn/{ZGNXS6U5.js → PAFEMDUL.js} +1 -1
- package/dist/cdn/{KIKZIZGV.js → PH4LUNY2.js} +1 -1
- package/dist/cdn/{SFD33DHG.js → PKSH2HSK.js} +1 -1
- package/dist/cdn/{QNCSWTTL.js → PLVQ3AZ4.js} +1 -1
- package/dist/cdn/{E7MAKHJ5.js → QNFTJR2M.js} +1 -1
- package/dist/cdn/{433M2GP4.js → QVLQEBPD.js} +1 -1
- package/dist/cdn/{I2KQQXOO.js → S7IRYX4A.js} +1 -1
- package/dist/cdn/{OOH5B3WJ.js → T3BCFS2M.js} +1 -1
- package/dist/cdn/{R5BQIF6P.js → TFCRFHRE.js} +1 -1
- package/dist/cdn/VENYHN3O.js +2 -0
- package/dist/cdn/{EUWBMLIT.js → VHNV45FQ.js} +1 -1
- package/dist/cdn/{W7O7ZYZ4.js → VJ4STLVD.js} +1 -1
- package/dist/cdn/{7FVPT4SA.js → VKYMORWN.js} +1 -1
- package/dist/cdn/{6XLTWENT.js → VQKLCN3V.js} +1 -1
- package/dist/cdn/W4GBRVNN.js +2 -0
- package/dist/cdn/WAEULETE.js +2 -0
- package/dist/cdn/{O6ZQ4BRU.js → WYXW3ETE.js} +1 -1
- package/dist/cdn/{7SB7JHBR.js → XEH2E6NR.js} +1 -1
- package/dist/cdn/{TB4YQUMO.js → XWLOXRJZ.js} +1 -1
- package/dist/cdn/{RBQG66FL.js → YFT47SCG.js} +1 -1
- package/dist/cdn/{SXBAVMP3.js → YQHVXBGD.js} +1 -1
- package/dist/cdn/{O7KHFGHS.js → ZI3JA3SL.js} +1 -1
- package/dist/cdn/{WYLEYSM3.js → ZJ7GT4N2.js} +1 -1
- package/dist/cdn/{ZTGGJIVB.js → ZWDOT3HF.js} +1 -1
- package/dist/cdn/assets/portal-item-badges/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/portal-item-badge.js +74 -71
- package/dist/chunks/utils2.js +28 -20
- package/dist/components/arcgis-portal-ai-assistant/agents/types.d.ts +18 -7
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +625 -564
- package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +19 -8
- package/dist/components/arcgis-portal-ai-assistant/index.js +0 -1
- package/dist/components/arcgis-portal-navigation/customElement.js +159 -156
- package/dist/components/arcgis-portal-navigation/index.js +5 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +5 -5
- package/dist/cdn/2T33E2DS.js +0 -2
- package/dist/cdn/3HAZNYCD.js +0 -2
- package/dist/cdn/DN2QW5FV.js +0 -2
- package/dist/cdn/HNWQS7DU.js +0 -2
- package/dist/cdn/K42KPAN7.js +0 -2
- package/dist/cdn/NVGQFC2K.js +0 -2
- package/dist/cdn/O3JIWIMI.js +0 -2
- package/dist/cdn/RDAUPHB6.js +0 -2
- package/dist/cdn/RVWAHK4A.js +0 -2
- package/dist/cdn/SKRCLDPZ.js +0 -2
- package/dist/cdn/YWNUWLOL.js +0 -2
- package/dist/cdn/YZNRN2K5.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./OUFIJDIW.js";import"./VMQIDO4Z.js";import"./QS3GXAIH.js";import"./2GBRZSEC.js";import{a as _}from"./QLHCXOVQ.js";import"./I2KQQXOO.js";import"./W7O7ZYZ4.js";import{M as h,S as g,h as c,j as u,w as T}from"./BTSXQQKZ.js";import"./UZLQALHY.js";export default $arcgis.t(([V,D,f,{b:b}])=>{var S=c`:host{background-color:var(--calcite-color-foreground-1)}.scrim-container{position:relative}.base-fields-control{margin-inline-end:.75rem}calcite-chip{--calcite-chip-background-color: transparent;--calcite-chip-icon-color: var(--calcite-color-status-success)}`;async function I({item:i,layers:e}){let{url:l}=i,a=new Map;if(!l)return{result:a};try{let s=(await f(l,{query:{f:"json"},responseType:"json"})).data;if(s.fields){let t=e?.[0];return e?.length===1&&t?.layerId!=null&&a.set(t.layerId,s.fields),{result:a}}if(!s.layers?.length)return{result:a};let r=l.replace(/\/$/u,"");return await Promise.all(s.layers.map(async({id:t})=>{let d=(await f(`${r}/${t}`,{query:{f:"json"},responseType:"json"})).data;a.set(t,d.fields??[])})),{result:a}}catch(s){return console.error("Error getting layer fields:",s),{error:{code:"unhandledError"}}}}async function v({fields:i,layer:e,portal:l}){let{layerId:a,url:s}=e;if(!s||a==null)return{error:{code:"unhandledError",message:"A layer URL and layer id are required."}};try{return{result:await b({url:`${s.replace("/rest/services","/rest/admin/services")}/${a}/addToDefinition`,portal:l,method:"post",params:{addToDefinition:JSON.stringify({fields:i})}})}}catch(r){return console.error("Error adding to definition:",r),{error:{code:"unhandledError"}}}}var A=i=>i.map(e=>e.name),y=(i,e)=>{let l=new Set(A(e));return i.filter(a=>!l.has(a.name))},C=i=>{switch(i){case"esriGeometryPolyline":case"esriGeometryPolygon":return[...G];case"esriGeometryPoint":return[...M];default:return[]}},L=i=>i==="esriGeometryPoint"?[...w]:[],z=i=>i==="esriGeometryPoint"?[...R]:[],G=[{name:"esrignss_avg_h_rms",type:"esriFieldTypeDouble",alias:"Average horizontal accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_avg_v_rms",type:"esriFieldTypeDouble",alias:"Average vertical accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_worst_h_rms",type:"esriFieldTypeDouble",alias:"Worst horizontal accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_worst_v_rms",type:"esriFieldTypeDouble",alias:"Worst vertical accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_worst_fixtype",type:"esriFieldTypeSmallInteger",alias:"Worst fix type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_FIX_TYPE_DOMAIN",codedValues:[{name:"NoFix",code:0},{name:"GPS",code:1},{name:"DifferentialGPS",code:2},{name:"PrecisePositioningService",code:3},{name:"RTKFixed",code:4},{name:"RTKFloat",code:5}]},defaultValue:null},{name:"esrignss_manual_locations",type:"esriFieldTypeInteger",alias:"Number of manual locations",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null}],M=[{name:"esrignss_speed",type:"esriFieldTypeDouble",alias:"Speed (km/h)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_direction",type:"esriFieldTypeDouble",alias:"Direction of travel (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_azimuth",type:"esriFieldTypeDouble",alias:"Compass reading (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_positionsourcetype",type:"esriFieldTypeInteger",alias:"Position source type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_POSITIONSOURCETYPE_DOMAIN",codedValues:[{name:"Unknown",code:0},{name:"User defined",code:1},{name:"Integrated (System) Location Provider",code:2},{name:"External GNSS Receiver",code:3},{name:"Network Location Provider",code:4},{name:"Snapped",code:5}]},defaultValue:null},{name:"esrignss_receiver",type:"esriFieldTypeString",alias:"Receiver Name",sqlType:"sqlTypeOther",length:50,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_h_rms",type:"esriFieldTypeDouble",alias:"Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_v_rms",type:"esriFieldTypeDouble",alias:"Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_latitude",type:"esriFieldTypeDouble",alias:"Latitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_longitude",type:"esriFieldTypeDouble",alias:"Longitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_altitude",type:"esriFieldTypeDouble",alias:"Altitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_pdop",type:"esriFieldTypeDouble",alias:"PDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_hdop",type:"esriFieldTypeDouble",alias:"HDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_vdop",type:"esriFieldTypeDouble",alias:"VDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_fixtype",type:"esriFieldTypeSmallInteger",alias:"Fix Type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_FIX_TYPE_DOMAIN",codedValues:[{name:"NoFix",code:0},{name:"GPS",code:1},{name:"DifferentialGPS",code:2},{name:"PrecisePositioningService",code:3},{name:"RTKFixed",code:4},{name:"RTKFloat",code:5}]},defaultValue:null},{name:"esrignss_correctionage",type:"esriFieldTypeDouble",alias:"Correction Age",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_stationid",type:"esriFieldTypeSmallInteger",alias:"Station ID",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_numsats",type:"esriFieldTypeSmallInteger",alias:"Number of Satellites",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"range",name:"ESRI_NUM_SATS_DOMAIN",range:[0,99]},defaultValue:null},{name:"esrignss_fixdatetime",type:"esriFieldTypeDate",alias:"Fix Time",sqlType:"sqlTypeOther",length:8,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_avg_h_rms",type:"esriFieldTypeDouble",alias:"Average Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_avg_v_rms",type:"esriFieldTypeDouble",alias:"Average Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_avg_positions",type:"esriFieldTypeInteger",alias:"Averaged Positions",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_h_stddev",type:"esriFieldTypeDouble",alias:"Standard Deviation (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_correction_source_name",type:"esriFieldTypeString",alias:"Correction source name",sqlType:"sqlTypeOther",length:100,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_correction_source_type",type:"esriFieldTypeString",alias:"Correction source type",sqlType:"sqlTypeOther",length:25,nullable:!0,editable:!0,domain:{type:"codedValue",name:"esrignss_correction_source_domain",codedValues:[{name:"Unknown",code:"Unknown"},{name:"Direct IP",code:"Direct IP"},{name:"NTRIP",code:"NTRIP"},{name:"PPP",code:"PPP"},{name:"Radio",code:"Radio"},{name:"SBAS",code:"SBAS"}]},defaultValue:null},{name:"esrignss_custom_attributes",type:"esriFieldTypeString",alias:"GNSS custom attributes",sqlType:"sqlTypeOther",length:2e3,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_h_95_status",type:"esriFieldTypeSmallInteger",alias:"95% accuracy applied",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"esrignss_yesno_domain",codedValues:[{name:"No",code:0},{name:"Yes",code:1}]},defaultValue:null},{name:"esrignss_ntrip_mount_point",type:"esriFieldTypeString",alias:"NTRIP mount point",sqlType:"sqlTypeOther",length:100,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_antenna_height",type:"esriFieldTypeDouble",alias:"GNSS Antenna Height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_orthometric_height",type:"esriFieldTypeDouble",alias:"Orthometric height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_profile_has_hor_xform",type:"esriFieldTypeSmallInteger",alias:"Location profile horizontal datum transformation applied",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"esrignss_yesno_domain",codedValues:[{name:"No",code:0},{name:"Yes",code:1}]},defaultValue:null},{name:"esrignss_profile_hor_xform",type:"esriFieldTypeString",alias:"Location profile horizontal datum transformation",sqlType:"sqlTypeOther",length:255,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_receiver_gcs",type:"esriFieldTypeString",alias:"Geographic coordinate system",sqlType:"sqlTypeOther",length:60,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_receiver_gcs_wkid",type:"esriFieldTypeInteger",alias:"Geographic coordinate system WKID",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_receiver_geoid",type:"esriFieldTypeString",alias:"Receiver geoid model",sqlType:"sqlTypeOther",length:60,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_receiver_ref_epoch",type:"esriFieldTypeDouble",alias:"Reference epoch",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null}],w=[{name:"esrisnsr_tilt_azimuth_accuracy",type:"esriFieldTypeDouble",alias:"Tilt azimuth accuracy (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_tilt_azimuth",type:"esriFieldTypeDouble",alias:"Tilt azimuth (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_tilt_angle_accuracy",type:"esriFieldTypeDouble",alias:"Tilt angle accuracy (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_tilt_angle",type:"esriFieldTypeDouble",alias:"Tilt angle (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_tilt_compensated",type:"esriFieldTypeSmallInteger",alias:"Tilt compensated",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"esrignss_yesno_domain",codedValues:[{name:"No",code:0},{name:"Yes",code:1}]},defaultValue:null}],R=[{name:"esrignss_cp1_latitude",type:"esriFieldTypeDouble",alias:"CP1 Latitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_longitude",type:"esriFieldTypeDouble",alias:"CP1 Longitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_altitude",type:"esriFieldTypeDouble",alias:"CP1 Ellipsoidal height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_h_rms",type:"esriFieldTypeDouble",alias:"CP1 Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_v_rms",type:"esriFieldTypeDouble",alias:"CP1 Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_fixdatetime",type:"esriFieldTypeDate",alias:"CP1 Fix Time",sqlType:"sqlTypeOther",length:8,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_fixtype",type:"esriFieldTypeSmallInteger",alias:"CP1 Fix Type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_FIX_TYPE_DOMAIN",codedValues:[{name:"Fix not valid",code:0},{name:"GPS",code:1},{name:"Differential GPS",code:2},{name:"RTK Fixed",code:4},{name:"RTK Float",code:5}]},defaultValue:null},{name:"esrignss_cp1_corr_age",type:"esriFieldTypeDouble",alias:"CP1 Correction Age",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_stationid",type:"esriFieldTypeSmallInteger",alias:"CP1 Station ID",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_numsats",type:"esriFieldTypeSmallInteger",alias:"CP1 Number of Satellites",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_pdop",type:"esriFieldTypeDouble",alias:"CP1 PDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_hdop",type:"esriFieldTypeDouble",alias:"CP1 HDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_vdop",type:"esriFieldTypeDouble",alias:"CP1 VDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_avg_h_rms",type:"esriFieldTypeDouble",alias:"CP1 Average Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_avg_v_rms",type:"esriFieldTypeDouble",alias:"CP1 Average Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_avg_positions",type:"esriFieldTypeInteger",alias:"CP1 Averaged Positions",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_h_stddev",type:"esriFieldTypeDouble",alias:"CP1 Standard Deviation (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp1_slope_dist",type:"esriFieldTypeDouble",alias:"CP1 Laser Slope Distance (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp1_inclination",type:"esriFieldTypeDouble",alias:"CP1 Laser Inclination (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp1_azimuth",type:"esriFieldTypeDouble",alias:"CP1 Laser Azimuth (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_latitude",type:"esriFieldTypeDouble",alias:"CP2 Latitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_longitude",type:"esriFieldTypeDouble",alias:"CP2 Longitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_altitude",type:"esriFieldTypeDouble",alias:"CP2 Ellipsoidal height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_h_rms",type:"esriFieldTypeDouble",alias:"CP2 Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_v_rms",type:"esriFieldTypeDouble",alias:"CP2 Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_fixdatetime",type:"esriFieldTypeDate",alias:"CP2 Fix Time",sqlType:"sqlTypeOther",length:8,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_fixtype",type:"esriFieldTypeSmallInteger",alias:"CP2 Fix Type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_FIX_TYPE_DOMAIN",codedValues:[{name:"Fix not valid",code:0},{name:"GPS",code:1},{name:"Differential GPS",code:2},{name:"RTK Fixed",code:4},{name:"RTK Float",code:5}]},defaultValue:null},{name:"esrignss_cp2_corr_age",type:"esriFieldTypeDouble",alias:"CP2 Correction Age",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_stationid",type:"esriFieldTypeSmallInteger",alias:"CP2 Station ID",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_numsats",type:"esriFieldTypeSmallInteger",alias:"CP2 Number of Satellites",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_pdop",type:"esriFieldTypeDouble",alias:"CP2 PDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_hdop",type:"esriFieldTypeDouble",alias:"CP2 HDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_vdop",type:"esriFieldTypeDouble",alias:"CP2 VDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_avg_h_rms",type:"esriFieldTypeDouble",alias:"CP2 Average Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_avg_v_rms",type:"esriFieldTypeDouble",alias:"CP2 Average Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_avg_positions",type:"esriFieldTypeInteger",alias:"CP2 Averaged Positions",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_h_stddev",type:"esriFieldTypeDouble",alias:"CP2 Standard Deviation (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp2_slope_dist",type:"esriFieldTypeDouble",alias:"CP2 Laser Slope Distance (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp2_inclination",type:"esriFieldTypeDouble",alias:"CP2 Laser Inclination (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp2_azimuth",type:"esriFieldTypeDouble",alias:"CP2 Laser Azimuth (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_offset_method",type:"esriFieldTypeString",alias:"Offset Method",sqlType:"sqlTypeOther",length:5e3,nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_OFFSET_METHOD_DOMAIN",codedValues:[{name:"Azimuth-Azimuth",code:"azimuth-azimuth"},{name:"Distance-Angle",code:"distance-angle"},{name:"Distance-Azimuth",code:"distance-azimuth"},{name:"Distance-Distance",code:"distance-distance"},{name:"Azimuth-Azimuth-Backsight",code:"azimuth-azimuth-backsight"},{name:"Distance-Azimuth-Backsight",code:"distance-azimuth-backsight"},{name:"Distance-Distance-Backsight",code:"distance-distance-backsight"},{name:"User-defined",code:"user-defined"}]},defaultValue:null},{name:"esrisnsr_offset_device",type:"esriFieldTypeString",alias:"Rangefinder Name",sqlType:"sqlTypeOther",length:5e3,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_offset_laser_height",type:"esriFieldTypeDouble",alias:"Rangefinder Height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_offset_laser_target_ht",type:"esriFieldTypeDouble",alias:"Laser Target Height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_offset_mag_var",type:"esriFieldTypeDouble",alias:"Rangefinder Magnetic Variation (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null}],N=["point","polyline","polygon"],q=i=>i?.type==="Feature Service",m=class extends h{constructor(){super(...arguments),this.messages=_({blocking:!0}),this.initCount=0,this.loadedItem=null,this.missingGPSFieldsLayerMap=new Map,this.initializing=!0,this.allLayersAnalyzed=!1,this.hasLineOrPolygonLayer=!1,this.hasPointFeatureLayer=!1,this.addingGPSFieldMetadata=[],this.item=null,this.itemId=null,this.arcgisGPSMetadataFieldsAdded=T()}static{this.properties={loadedItem:16,missingGPSFieldsLayerMap:16,initializing:16,allLayersAnalyzed:16,hasLineOrPolygonLayer:16,hasPointFeatureLayer:16,addingGPSFieldMetadata:16,item:0,itemId:1,portal:0}}static{this.styles=S}willUpdate(e){(e.has("item")||e.has("itemId"))&&this.initItem()}async initItem({showLoading:e=!0}={}){let l=++this.initCount;if(!this.item&&!this.itemId){this.resetItemState(),this.initializing=!1;return}e&&(this.resetItemState(),this.initializing=!0);let{item:a,itemId:s,portal:r}=this,t=a?await a.load():await new D({id:s,portal:r}).load();if(!this.isCurrentInitialization(l))return;if(!q(t)){this.resetItemState(),this.initializing=!1;return}this.loadedItem=t;let d=await this.getFeatureLayers(t);if(!this.isCurrentInitialization(l))return;this.hasLineOrPolygonLayer=d.some(n=>n.geometryType==="polyline"||n.geometryType==="polygon"),this.hasPointFeatureLayer=d.some(n=>n.geometryType==="point");let{result:F,error:P}=d.length>0?await I({item:t,layers:d}):{};if(!this.isCurrentInitialization(l))return;if(P){this.resetItemState(),this.initializing=!1;return}let O=F??new Map;this.missingGPSFieldsLayerMap=new Map(d.map(n=>{let p=n.layerId==null?[]:O.get(n.layerId)??[],o=this.getCompatibleEsriGeometryType(n);return[n,{missingBaseFields:o?y(C(o),p):[],missingGNSSFields:o?y(L(o),p):[],missingRangefinderFields:o?y(z(o),p):[]}]})),this.allLayersAnalyzed=!0,this.initializing=!1}isCurrentInitialization(e){return e===this.initCount}resetItemState(){this.loadedItem=null,this.missingGPSFieldsLayerMap=new Map,this.allLayersAnalyzed=!1,this.hasLineOrPolygonLayer=!1,this.hasPointFeatureLayer=!1}async getFeatureLayers(e){let l=await V.fromPortalItem({portalItem:e});return await l.load(),"layers"in l?(await Promise.all(l.layers.map(async a=>(await a.load(),this.isSupportedFeatureLayer(a)?a:null)))).filter(a=>!!a):this.isSupportedFeatureLayer(l)?[l]:[]}isSupportedFeatureLayer(e){return e.type==="feature"&&N.some(l=>l===e.geometryType)}getCompatibleEsriGeometryType(e){switch(e.geometryType){case"point":return"esriGeometryPoint";case"polyline":return"esriGeometryPolyline";case"polygon":return"esriGeometryPolygon";default:return null}}getMissingFields(e,l){return l==="base"?e.missingBaseFields:l==="gnss"?e.missingGNSSFields:e.missingRangefinderFields}hasMissingFields(e){return Array.from(this.missingGPSFieldsLayerMap.values()).some(l=>this.getMissingFields(l,e).length>0)}isLoading(e){return this.addingGPSFieldMetadata.includes(e)}async addFields(e){let l=this.portal??this.loadedItem?.portal;if(!(!l||this.missingGPSFieldsLayerMap.size===0)){this.addingGPSFieldMetadata=[...this.addingGPSFieldMetadata,e];try{await Promise.all(Array.from(this.missingGPSFieldsLayerMap.entries()).map(async([a,s])=>{let r=this.getMissingFields(s,e);if(r.length===0)return;let{error:t}=await v({fields:r,layer:a,portal:l});t||this.arcgisGPSMetadataFieldsAdded.emit(e)})),await this.initItem({showLoading:!1})}finally{this.addingGPSFieldMetadata=this.addingGPSFieldMetadata.filter(a=>a!==e)}}}canShowAddGPSMetadata(){return q(this.loadedItem??this.item)?this.initializing||this.allLayersAnalyzed:!1}renderAddFieldsControl(e,l=!1){let a=e==="base"||!this.hasMissingFields("base");return!l&&!this.initializing&&!this.hasMissingFields(e)?u`<calcite-chip slot=actions-end .label=${this.messages.added} icon=check-circle>${this.messages.added}</calcite-chip>`:u`<calcite-button slot=actions-end appearance=outline-fill .disabled=${l||this.isLoading(e)||!a} .loading=${this.isLoading(e)} @click=${async()=>await this.addFields(e)}>${this.messages.addFields}</calcite-button>`}renderBaseFieldsListItem(){return u`<calcite-list .label=${this.messages.gpsOptions} selection-mode=none><calcite-list-item .label=${this.messages.accordionHeading} .description=${this.messages.accordionDescription}><div slot=actions-end class="base-fields-control">${this.renderAddFieldsControl("base",this.allLayersAnalyzed&&!this.hasLineOrPolygonLayer)}</div></calcite-list-item></calcite-list>`}renderPointLayerOptions(){return u`<calcite-accordion appearance=transparent icon-position=start scale=m><calcite-accordion-item expanded .heading=${this.messages.accordionHeading} .description=${this.messages.accordionDescription}><div slot=actions-end class="base-fields-control">${this.renderAddFieldsControl("base")}</div><calcite-list .label=${this.messages.gpsOptions} selection-mode=none><calcite-list-item .label=${this.messages.gnssReceiverFields}>${this.renderAddFieldsControl("gnss")}</calcite-list-item><calcite-list-item .label=${this.messages.laserRangefinderFields}>${this.renderAddFieldsControl("rangefinder")}</calcite-list-item></calcite-list></calcite-accordion-item></calcite-accordion>`}render(){return this.canShowAddGPSMetadata()?u`<div class="scrim-container">${this.initializing&&u`<calcite-scrim loading></calcite-scrim>`||""}${!this.initializing&&this.hasPointFeatureLayer?this.renderPointLayerOptions():this.renderBaseFieldsListItem()}</div>`:null}};g("arcgis-portal-add-gps-metadata",m);return m},"layers/Layer","portal/PortalItem","request",a)
|
|
2
|
+
import a from"./OUFIJDIW.js";import"./VMQIDO4Z.js";import"./QS3GXAIH.js";import"./2GBRZSEC.js";import{a as _}from"./ACCEI7S4.js";import"./S7IRYX4A.js";import"./VJ4STLVD.js";import{M as h,S as g,h as c,j as u,w as T}from"./4PPXBKIJ.js";import"./UZLQALHY.js";export default $arcgis.t(([V,D,f,{b:b}])=>{var S=c`:host{background-color:var(--calcite-color-foreground-1)}.scrim-container{position:relative}.base-fields-control{margin-inline-end:.75rem}calcite-chip{--calcite-chip-background-color: transparent;--calcite-chip-icon-color: var(--calcite-color-status-success)}`;async function I({item:i,layers:e}){let{url:l}=i,a=new Map;if(!l)return{result:a};try{let s=(await f(l,{query:{f:"json"},responseType:"json"})).data;if(s.fields){let t=e?.[0];return e?.length===1&&t?.layerId!=null&&a.set(t.layerId,s.fields),{result:a}}if(!s.layers?.length)return{result:a};let r=l.replace(/\/$/u,"");return await Promise.all(s.layers.map(async({id:t})=>{let d=(await f(`${r}/${t}`,{query:{f:"json"},responseType:"json"})).data;a.set(t,d.fields??[])})),{result:a}}catch(s){return console.error("Error getting layer fields:",s),{error:{code:"unhandledError"}}}}async function v({fields:i,layer:e,portal:l}){let{layerId:a,url:s}=e;if(!s||a==null)return{error:{code:"unhandledError",message:"A layer URL and layer id are required."}};try{return{result:await b({url:`${s.replace("/rest/services","/rest/admin/services")}/${a}/addToDefinition`,portal:l,method:"post",params:{addToDefinition:JSON.stringify({fields:i})}})}}catch(r){return console.error("Error adding to definition:",r),{error:{code:"unhandledError"}}}}var A=i=>i.map(e=>e.name),y=(i,e)=>{let l=new Set(A(e));return i.filter(a=>!l.has(a.name))},C=i=>{switch(i){case"esriGeometryPolyline":case"esriGeometryPolygon":return[...G];case"esriGeometryPoint":return[...M];default:return[]}},L=i=>i==="esriGeometryPoint"?[...w]:[],z=i=>i==="esriGeometryPoint"?[...R]:[],G=[{name:"esrignss_avg_h_rms",type:"esriFieldTypeDouble",alias:"Average horizontal accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_avg_v_rms",type:"esriFieldTypeDouble",alias:"Average vertical accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_worst_h_rms",type:"esriFieldTypeDouble",alias:"Worst horizontal accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_worst_v_rms",type:"esriFieldTypeDouble",alias:"Worst vertical accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_worst_fixtype",type:"esriFieldTypeSmallInteger",alias:"Worst fix type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_FIX_TYPE_DOMAIN",codedValues:[{name:"NoFix",code:0},{name:"GPS",code:1},{name:"DifferentialGPS",code:2},{name:"PrecisePositioningService",code:3},{name:"RTKFixed",code:4},{name:"RTKFloat",code:5}]},defaultValue:null},{name:"esrignss_manual_locations",type:"esriFieldTypeInteger",alias:"Number of manual locations",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null}],M=[{name:"esrignss_speed",type:"esriFieldTypeDouble",alias:"Speed (km/h)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_direction",type:"esriFieldTypeDouble",alias:"Direction of travel (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_azimuth",type:"esriFieldTypeDouble",alias:"Compass reading (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_positionsourcetype",type:"esriFieldTypeInteger",alias:"Position source type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_POSITIONSOURCETYPE_DOMAIN",codedValues:[{name:"Unknown",code:0},{name:"User defined",code:1},{name:"Integrated (System) Location Provider",code:2},{name:"External GNSS Receiver",code:3},{name:"Network Location Provider",code:4},{name:"Snapped",code:5}]},defaultValue:null},{name:"esrignss_receiver",type:"esriFieldTypeString",alias:"Receiver Name",sqlType:"sqlTypeOther",length:50,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_h_rms",type:"esriFieldTypeDouble",alias:"Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_v_rms",type:"esriFieldTypeDouble",alias:"Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_latitude",type:"esriFieldTypeDouble",alias:"Latitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_longitude",type:"esriFieldTypeDouble",alias:"Longitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_altitude",type:"esriFieldTypeDouble",alias:"Altitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_pdop",type:"esriFieldTypeDouble",alias:"PDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_hdop",type:"esriFieldTypeDouble",alias:"HDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_vdop",type:"esriFieldTypeDouble",alias:"VDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_fixtype",type:"esriFieldTypeSmallInteger",alias:"Fix Type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_FIX_TYPE_DOMAIN",codedValues:[{name:"NoFix",code:0},{name:"GPS",code:1},{name:"DifferentialGPS",code:2},{name:"PrecisePositioningService",code:3},{name:"RTKFixed",code:4},{name:"RTKFloat",code:5}]},defaultValue:null},{name:"esrignss_correctionage",type:"esriFieldTypeDouble",alias:"Correction Age",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_stationid",type:"esriFieldTypeSmallInteger",alias:"Station ID",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_numsats",type:"esriFieldTypeSmallInteger",alias:"Number of Satellites",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"range",name:"ESRI_NUM_SATS_DOMAIN",range:[0,99]},defaultValue:null},{name:"esrignss_fixdatetime",type:"esriFieldTypeDate",alias:"Fix Time",sqlType:"sqlTypeOther",length:8,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_avg_h_rms",type:"esriFieldTypeDouble",alias:"Average Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_avg_v_rms",type:"esriFieldTypeDouble",alias:"Average Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_avg_positions",type:"esriFieldTypeInteger",alias:"Averaged Positions",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_h_stddev",type:"esriFieldTypeDouble",alias:"Standard Deviation (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_correction_source_name",type:"esriFieldTypeString",alias:"Correction source name",sqlType:"sqlTypeOther",length:100,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_correction_source_type",type:"esriFieldTypeString",alias:"Correction source type",sqlType:"sqlTypeOther",length:25,nullable:!0,editable:!0,domain:{type:"codedValue",name:"esrignss_correction_source_domain",codedValues:[{name:"Unknown",code:"Unknown"},{name:"Direct IP",code:"Direct IP"},{name:"NTRIP",code:"NTRIP"},{name:"PPP",code:"PPP"},{name:"Radio",code:"Radio"},{name:"SBAS",code:"SBAS"}]},defaultValue:null},{name:"esrignss_custom_attributes",type:"esriFieldTypeString",alias:"GNSS custom attributes",sqlType:"sqlTypeOther",length:2e3,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_h_95_status",type:"esriFieldTypeSmallInteger",alias:"95% accuracy applied",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"esrignss_yesno_domain",codedValues:[{name:"No",code:0},{name:"Yes",code:1}]},defaultValue:null},{name:"esrignss_ntrip_mount_point",type:"esriFieldTypeString",alias:"NTRIP mount point",sqlType:"sqlTypeOther",length:100,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_antenna_height",type:"esriFieldTypeDouble",alias:"GNSS Antenna Height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_orthometric_height",type:"esriFieldTypeDouble",alias:"Orthometric height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_profile_has_hor_xform",type:"esriFieldTypeSmallInteger",alias:"Location profile horizontal datum transformation applied",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"esrignss_yesno_domain",codedValues:[{name:"No",code:0},{name:"Yes",code:1}]},defaultValue:null},{name:"esrignss_profile_hor_xform",type:"esriFieldTypeString",alias:"Location profile horizontal datum transformation",sqlType:"sqlTypeOther",length:255,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_receiver_gcs",type:"esriFieldTypeString",alias:"Geographic coordinate system",sqlType:"sqlTypeOther",length:60,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_receiver_gcs_wkid",type:"esriFieldTypeInteger",alias:"Geographic coordinate system WKID",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_receiver_geoid",type:"esriFieldTypeString",alias:"Receiver geoid model",sqlType:"sqlTypeOther",length:60,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_receiver_ref_epoch",type:"esriFieldTypeDouble",alias:"Reference epoch",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null}],w=[{name:"esrisnsr_tilt_azimuth_accuracy",type:"esriFieldTypeDouble",alias:"Tilt azimuth accuracy (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_tilt_azimuth",type:"esriFieldTypeDouble",alias:"Tilt azimuth (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_tilt_angle_accuracy",type:"esriFieldTypeDouble",alias:"Tilt angle accuracy (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_tilt_angle",type:"esriFieldTypeDouble",alias:"Tilt angle (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_tilt_compensated",type:"esriFieldTypeSmallInteger",alias:"Tilt compensated",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"esrignss_yesno_domain",codedValues:[{name:"No",code:0},{name:"Yes",code:1}]},defaultValue:null}],R=[{name:"esrignss_cp1_latitude",type:"esriFieldTypeDouble",alias:"CP1 Latitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_longitude",type:"esriFieldTypeDouble",alias:"CP1 Longitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_altitude",type:"esriFieldTypeDouble",alias:"CP1 Ellipsoidal height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_h_rms",type:"esriFieldTypeDouble",alias:"CP1 Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_v_rms",type:"esriFieldTypeDouble",alias:"CP1 Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_fixdatetime",type:"esriFieldTypeDate",alias:"CP1 Fix Time",sqlType:"sqlTypeOther",length:8,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_fixtype",type:"esriFieldTypeSmallInteger",alias:"CP1 Fix Type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_FIX_TYPE_DOMAIN",codedValues:[{name:"Fix not valid",code:0},{name:"GPS",code:1},{name:"Differential GPS",code:2},{name:"RTK Fixed",code:4},{name:"RTK Float",code:5}]},defaultValue:null},{name:"esrignss_cp1_corr_age",type:"esriFieldTypeDouble",alias:"CP1 Correction Age",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_stationid",type:"esriFieldTypeSmallInteger",alias:"CP1 Station ID",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_numsats",type:"esriFieldTypeSmallInteger",alias:"CP1 Number of Satellites",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_pdop",type:"esriFieldTypeDouble",alias:"CP1 PDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_hdop",type:"esriFieldTypeDouble",alias:"CP1 HDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_vdop",type:"esriFieldTypeDouble",alias:"CP1 VDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_avg_h_rms",type:"esriFieldTypeDouble",alias:"CP1 Average Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_avg_v_rms",type:"esriFieldTypeDouble",alias:"CP1 Average Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_avg_positions",type:"esriFieldTypeInteger",alias:"CP1 Averaged Positions",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp1_h_stddev",type:"esriFieldTypeDouble",alias:"CP1 Standard Deviation (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp1_slope_dist",type:"esriFieldTypeDouble",alias:"CP1 Laser Slope Distance (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp1_inclination",type:"esriFieldTypeDouble",alias:"CP1 Laser Inclination (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp1_azimuth",type:"esriFieldTypeDouble",alias:"CP1 Laser Azimuth (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_latitude",type:"esriFieldTypeDouble",alias:"CP2 Latitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_longitude",type:"esriFieldTypeDouble",alias:"CP2 Longitude",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_altitude",type:"esriFieldTypeDouble",alias:"CP2 Ellipsoidal height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_h_rms",type:"esriFieldTypeDouble",alias:"CP2 Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_v_rms",type:"esriFieldTypeDouble",alias:"CP2 Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_fixdatetime",type:"esriFieldTypeDate",alias:"CP2 Fix Time",sqlType:"sqlTypeOther",length:8,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_fixtype",type:"esriFieldTypeSmallInteger",alias:"CP2 Fix Type",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_FIX_TYPE_DOMAIN",codedValues:[{name:"Fix not valid",code:0},{name:"GPS",code:1},{name:"Differential GPS",code:2},{name:"RTK Fixed",code:4},{name:"RTK Float",code:5}]},defaultValue:null},{name:"esrignss_cp2_corr_age",type:"esriFieldTypeDouble",alias:"CP2 Correction Age",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_stationid",type:"esriFieldTypeSmallInteger",alias:"CP2 Station ID",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_numsats",type:"esriFieldTypeSmallInteger",alias:"CP2 Number of Satellites",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_pdop",type:"esriFieldTypeDouble",alias:"CP2 PDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_hdop",type:"esriFieldTypeDouble",alias:"CP2 HDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_vdop",type:"esriFieldTypeDouble",alias:"CP2 VDOP",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_avg_h_rms",type:"esriFieldTypeDouble",alias:"CP2 Average Horizontal Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_avg_v_rms",type:"esriFieldTypeDouble",alias:"CP2 Average Vertical Accuracy (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_avg_positions",type:"esriFieldTypeInteger",alias:"CP2 Averaged Positions",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrignss_cp2_h_stddev",type:"esriFieldTypeDouble",alias:"CP2 Standard Deviation (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp2_slope_dist",type:"esriFieldTypeDouble",alias:"CP2 Laser Slope Distance (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp2_inclination",type:"esriFieldTypeDouble",alias:"CP2 Laser Inclination (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_cp2_azimuth",type:"esriFieldTypeDouble",alias:"CP2 Laser Azimuth (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_offset_method",type:"esriFieldTypeString",alias:"Offset Method",sqlType:"sqlTypeOther",length:5e3,nullable:!0,editable:!0,domain:{type:"codedValue",name:"ESRI_OFFSET_METHOD_DOMAIN",codedValues:[{name:"Azimuth-Azimuth",code:"azimuth-azimuth"},{name:"Distance-Angle",code:"distance-angle"},{name:"Distance-Azimuth",code:"distance-azimuth"},{name:"Distance-Distance",code:"distance-distance"},{name:"Azimuth-Azimuth-Backsight",code:"azimuth-azimuth-backsight"},{name:"Distance-Azimuth-Backsight",code:"distance-azimuth-backsight"},{name:"Distance-Distance-Backsight",code:"distance-distance-backsight"},{name:"User-defined",code:"user-defined"}]},defaultValue:null},{name:"esrisnsr_offset_device",type:"esriFieldTypeString",alias:"Rangefinder Name",sqlType:"sqlTypeOther",length:5e3,nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_offset_laser_height",type:"esriFieldTypeDouble",alias:"Rangefinder Height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_offset_laser_target_ht",type:"esriFieldTypeDouble",alias:"Laser Target Height (m)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null},{name:"esrisnsr_offset_mag_var",type:"esriFieldTypeDouble",alias:"Rangefinder Magnetic Variation (\xB0)",sqlType:"sqlTypeOther",nullable:!0,editable:!0,domain:null,defaultValue:null}],N=["point","polyline","polygon"],q=i=>i?.type==="Feature Service",m=class extends h{constructor(){super(...arguments),this.messages=_({blocking:!0}),this.initCount=0,this.loadedItem=null,this.missingGPSFieldsLayerMap=new Map,this.initializing=!0,this.allLayersAnalyzed=!1,this.hasLineOrPolygonLayer=!1,this.hasPointFeatureLayer=!1,this.addingGPSFieldMetadata=[],this.item=null,this.itemId=null,this.arcgisGPSMetadataFieldsAdded=T()}static{this.properties={loadedItem:16,missingGPSFieldsLayerMap:16,initializing:16,allLayersAnalyzed:16,hasLineOrPolygonLayer:16,hasPointFeatureLayer:16,addingGPSFieldMetadata:16,item:0,itemId:1,portal:0}}static{this.styles=S}willUpdate(e){(e.has("item")||e.has("itemId"))&&this.initItem()}async initItem({showLoading:e=!0}={}){let l=++this.initCount;if(!this.item&&!this.itemId){this.resetItemState(),this.initializing=!1;return}e&&(this.resetItemState(),this.initializing=!0);let{item:a,itemId:s,portal:r}=this,t=a?await a.load():await new D({id:s,portal:r}).load();if(!this.isCurrentInitialization(l))return;if(!q(t)){this.resetItemState(),this.initializing=!1;return}this.loadedItem=t;let d=await this.getFeatureLayers(t);if(!this.isCurrentInitialization(l))return;this.hasLineOrPolygonLayer=d.some(n=>n.geometryType==="polyline"||n.geometryType==="polygon"),this.hasPointFeatureLayer=d.some(n=>n.geometryType==="point");let{result:F,error:P}=d.length>0?await I({item:t,layers:d}):{};if(!this.isCurrentInitialization(l))return;if(P){this.resetItemState(),this.initializing=!1;return}let O=F??new Map;this.missingGPSFieldsLayerMap=new Map(d.map(n=>{let p=n.layerId==null?[]:O.get(n.layerId)??[],o=this.getCompatibleEsriGeometryType(n);return[n,{missingBaseFields:o?y(C(o),p):[],missingGNSSFields:o?y(L(o),p):[],missingRangefinderFields:o?y(z(o),p):[]}]})),this.allLayersAnalyzed=!0,this.initializing=!1}isCurrentInitialization(e){return e===this.initCount}resetItemState(){this.loadedItem=null,this.missingGPSFieldsLayerMap=new Map,this.allLayersAnalyzed=!1,this.hasLineOrPolygonLayer=!1,this.hasPointFeatureLayer=!1}async getFeatureLayers(e){let l=await V.fromPortalItem({portalItem:e});return await l.load(),"layers"in l?(await Promise.all(l.layers.map(async a=>(await a.load(),this.isSupportedFeatureLayer(a)?a:null)))).filter(a=>!!a):this.isSupportedFeatureLayer(l)?[l]:[]}isSupportedFeatureLayer(e){return e.type==="feature"&&N.some(l=>l===e.geometryType)}getCompatibleEsriGeometryType(e){switch(e.geometryType){case"point":return"esriGeometryPoint";case"polyline":return"esriGeometryPolyline";case"polygon":return"esriGeometryPolygon";default:return null}}getMissingFields(e,l){return l==="base"?e.missingBaseFields:l==="gnss"?e.missingGNSSFields:e.missingRangefinderFields}hasMissingFields(e){return Array.from(this.missingGPSFieldsLayerMap.values()).some(l=>this.getMissingFields(l,e).length>0)}isLoading(e){return this.addingGPSFieldMetadata.includes(e)}async addFields(e){let l=this.portal??this.loadedItem?.portal;if(!(!l||this.missingGPSFieldsLayerMap.size===0)){this.addingGPSFieldMetadata=[...this.addingGPSFieldMetadata,e];try{await Promise.all(Array.from(this.missingGPSFieldsLayerMap.entries()).map(async([a,s])=>{let r=this.getMissingFields(s,e);if(r.length===0)return;let{error:t}=await v({fields:r,layer:a,portal:l});t||this.arcgisGPSMetadataFieldsAdded.emit(e)})),await this.initItem({showLoading:!1})}finally{this.addingGPSFieldMetadata=this.addingGPSFieldMetadata.filter(a=>a!==e)}}}canShowAddGPSMetadata(){return q(this.loadedItem??this.item)?this.initializing||this.allLayersAnalyzed:!1}renderAddFieldsControl(e,l=!1){let a=e==="base"||!this.hasMissingFields("base");return!l&&!this.initializing&&!this.hasMissingFields(e)?u`<calcite-chip slot=actions-end .label=${this.messages.added} icon=check-circle>${this.messages.added}</calcite-chip>`:u`<calcite-button slot=actions-end appearance=outline-fill .disabled=${l||this.isLoading(e)||!a} .loading=${this.isLoading(e)} @click=${async()=>await this.addFields(e)}>${this.messages.addFields}</calcite-button>`}renderBaseFieldsListItem(){return u`<calcite-list .label=${this.messages.gpsOptions} selection-mode=none><calcite-list-item .label=${this.messages.accordionHeading} .description=${this.messages.accordionDescription}><div slot=actions-end class="base-fields-control">${this.renderAddFieldsControl("base",this.allLayersAnalyzed&&!this.hasLineOrPolygonLayer)}</div></calcite-list-item></calcite-list>`}renderPointLayerOptions(){return u`<calcite-accordion appearance=transparent icon-position=start scale=m><calcite-accordion-item expanded .heading=${this.messages.accordionHeading} .description=${this.messages.accordionDescription}><div slot=actions-end class="base-fields-control">${this.renderAddFieldsControl("base")}</div><calcite-list .label=${this.messages.gpsOptions} selection-mode=none><calcite-list-item .label=${this.messages.gnssReceiverFields}>${this.renderAddFieldsControl("gnss")}</calcite-list-item><calcite-list-item .label=${this.messages.laserRangefinderFields}>${this.renderAddFieldsControl("rangefinder")}</calcite-list-item></calcite-list></calcite-accordion-item></calcite-accordion>`}render(){return this.canShowAddGPSMetadata()?u`<div class="scrim-container">${this.initializing&&u`<calcite-scrim loading></calcite-scrim>`||""}${!this.initializing&&this.hasPointFeatureLayer?this.renderPointLayerOptions():this.renderBaseFieldsListItem()}</div>`:null}};g("arcgis-portal-add-gps-metadata",m);return m},"layers/Layer","portal/PortalItem","request",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./6NHNSWIQ.js";import{b as p}from"./2GBRZSEC.js";import{a as c}from"./ACCEI7S4.js";import{K as r,L as n,M as o,N as m,S as g,h as s,j as e,w as i}from"./4PPXBKIJ.js";export default $arcgis.t(([{c:h}])=>{var f=s`.wrapper{container-type:inline-size;container-name:browser-pagination;padding:2rem .5rem}.pagination{width:100%;justify-content:center;transform:scale(.9);transform-origin:center}.hide{display:none}@container browser-pagination (min-width: 641px){.pagination{transform:none}}`,a=class extends o{constructor(){super(...arguments),this.paginationRef=r(),this._messages=c({name:"portal-browser",blocking:!0}),this.total=0,this.start=1,this.num=60,this.store=h(),this.arcgisBrowserPage=i()}static{this.properties={total:9,start:9,num:9,store:0}}static{this.styles=f}async nextPage(){this.paginationRef.value?.nextPage(),await p(10);let t=this.paginationRef.value;t&&this.arcgisBrowserPage.emit({start:t.startItem,total:t.totalItems,num:t.pageSize})}emitPage(t){this.arcgisBrowserPage.emit({start:t.startItem,total:t.totalItems,num:t.pageSize})}render(){return e`<div class="wrapper"><calcite-pagination class=${m({hide:!this.total||this.total<this.num,pagination:!0})} @calcitePaginationChange=${t=>{let l=t.target;this.emitPage(l)}} .startItem=${this.start} .totalItems=${Math.min(this.total,1e4-this.num)} .pageSize=${this.num} scale=m .messageOverrides=${{next:this._messages.pagination.next,previous:this._messages.pagination.prev}} ${n(this.paginationRef)}></calcite-pagination></div>`}};g("arcgis-portal-browser-pagination",a);return a},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{b as h}from"./
|
|
2
|
+
import{b as h}from"./GUTV5BR3.js";import b from"./ZJ7GT4N2.js";import a from"./F3ODJVJC.js";import{o as f}from"./4PPXBKIJ.js";export default $arcgis.t(([g,{property:c,subclass:C},{a:p,b:d},{a:m}])=>{var w=Object.defineProperty,y=Object.getOwnPropertyDescriptor,e=(t,a,s,i)=>{for(var r=i>1?void 0:i?y(a,s):a,l=t.length-1,n;l>=0;l--)(n=t[l])&&(r=(i?n(a,s,r):n(r))||r);return i&&r&&w(a,s,r),r},o=class extends g{constructor(){super(...arguments),this.fetching=!1,this.status="idle",this.error=void 0,this.portalUrl=void 0,this._itemClassificationValidationErrors=new Map,this.fetchingPromise=new f}get primaryAttribute(){return this.portalClassificationSchema?.classificationMetadata.primaryAttribute}setPortalClassificationData({portalUrl:t,schema:a}){this.portalUrl=t,this.portalClassificationSchema=a,this.status="loaded",this.fetchingPromise.resolve(!0)}setFetching(t){this.fetching=t}async loadPortalClassificationData(t,{signal:a}){this.status="loading";let{result:s,error:i}=await p(t,a);if(i){i.name==="AbortError"?console.log("Request aborted."):(this.error=i,this.status="error",this.fetchingPromise.reject(i));return}else this.setPortalClassificationData({schema:s,portalUrl:t})}async validateClassification(t,a,s,i){if(!a)return"";let r=t?this._itemClassificationValidationErrors.get(t):void 0;if(r)return await r;let l=(async()=>{let{error:n}=await d(s,a,i??{});return n?n?.details.raw.messages.join(", "):""})();return t&&this._itemClassificationValidationErrors.set(t,l),t?await this._itemClassificationValidationErrors.get(t):await l}};e([c()],o.prototype,"portalClassificationSchema",2);e([c()],o.prototype,"fetching",2);e([c()],o.prototype,"status",2);e([c()],o.prototype,"error",2);e([c()],o.prototype,"portalUrl",2);e([c()],o.prototype,"_itemClassificationValidationErrors",2);o=e([C("custom.ClassificationModel")],o);var u;function P(t){return u??=new o(t),u}var A=m(P),S=t=>new h(t,{task:async([a],{signal:s})=>{if(!a)throw new Error("Portal item is required to load classification data");if(a.loaded||await a.load({signal:s}),t.itemClassification=a.classification,t.classificationModel.status==="loading"&&await t.classificationModel.fetchingPromise.promise,!t.portalItem?.portal.hasClassificationSchema){t.classificationModel.setPortalClassificationData({portalUrl:a.portal.restUrl,schema:void 0});return}(t.classificationModel.status==="idle"||t.classificationModel.status==="loaded"&&t.classificationModel.portalUrl!==a.portal.restUrl)&&await t.classificationModel.loadPortalClassificationData(a.portal.restUrl,{signal:s})},args:()=>[t.portalItem]});return{a:A,b:S}},"core/Accessor","core/accessorSupport/decorators",a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import f from"./
|
|
2
|
+
import f from"./W4GBRVNN.js";import e from"./OEMNHYK6.js";import"./6TO2BYXU.js";import"./6KVA4AKM.js";import"./CFBSBZSS.js";import"./ILDTKRON.js";import"./OBBYT2AV.js";import"./DFTUMKSN.js";import d from"./RBGARTND.js";import c from"./F3ODJVJC.js";import b from"./OUFIJDIW.js";import"./VMQIDO4Z.js";import"./QS3GXAIH.js";import"./2GBRZSEC.js";import"./ACCEI7S4.js";import"./S7IRYX4A.js";import"./VJ4STLVD.js";import{M as r,S as o,h as i,j as a}from"./4PPXBKIJ.js";import"./UZLQALHY.js";export default $arcgis.t(([,,,,{a:p}])=>{var n=i`:host{display:flex;flex-wrap:wrap;align-items:center}.portal-item-badges__badge{display:inline-block;margin-inline-end:.25rem}.portal-item-badges__badge:last-of-type{margin-inline-end:0}`,e=class extends r{constructor(){super(...arguments),this.badges=[],this.width="full",this.scale="m",this.showTooltips=!1,this.empty=!1}static{this.properties={badges:16,item:0,portal:0,user:0,width:1,appearance:1,scale:1,showTooltips:5,useProduction:5,empty:7}}static{this.styles=n}willUpdate(t){if(t.has("item")||t.has("portal")||t.has("user")){if(!this.item||!this.portal){this.badges=[],this.empty=!0;return}let s=p(this.item,this.portal,this.user);this.badges=s,this.empty=s.length===0}}render(){let{appearance:t,badges:s,scale:l,showTooltips:h,width:m}=this;return s.map(d=>a`<arcgis-portal-item-badge .appearance=${t} .badgeType=${d} class="portal-item-badges__badge" .item=${this.item} .portal=${this.portal} .user=${this.user} .scale=${l} .showTooltip=${h} .useProduction=${this.useProduction} .width=${m}></arcgis-portal-item-badge>`)}};o("arcgis-portal-item-badges",e);return e},b,c,d,e,f)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{b as v}from"./2GBRZSEC.js";import{a as w}from"./
|
|
2
|
+
import{b as v}from"./2GBRZSEC.js";import{a as w}from"./ACCEI7S4.js";import"./S7IRYX4A.js";import"./VJ4STLVD.js";import{K as r,L as a,M as u,P as p,S as m,h as d,j as s}from"./4PPXBKIJ.js";import"./UZLQALHY.js";var b=d`:host{display:flex;justify-content:flex-end;margin-inline:1rem;position:relative}.wrapper{padding-inline-start:.25rem;display:flex;border-inline-start:1px solid var(--calcite-color-border-1);border-inline-end:1px solid var(--calcite-color-border-1)}.tooltip-container{width:9rem}.button{margin-inline-end:.25rem}.measure-container{position:absolute;width:100%;height:0;overflow:hidden}.measure-text{visibility:hidden;height:0;width:auto;overflow:hidden;font-size:var(--calcite-font-size--1)}`,c=class extends u{constructor(){super(...arguments),this.measureText=r(),this.overflowButton=r(),this.resizeObserver=null,this.actionWidths=[],this._messages=w({name:"portal-browser",blocking:!0}),this.buttonPadding=88,this.moreWidth=0,this.elementWidth=0,this.visibleActions=[],this.overflowActions=[],this.calculating=!1,this.actions=[]}static{this.properties={visibleActions:16,overflowActions:16,calculating:16,actions:0,selection:0}}static{this.styles=b}async restoreFocus(){this.lastExecutedAction?.setFocus()}willUpdate(t){t.has("actions")&&(this.measureAndCacheWidths(this.actions),this.calculateOverflow()),t.has("selection")&&(this.hasSelection()?v(100).then(()=>{this.calculating=!1}):this.calculating=!0)}firstUpdated(){this.measureAndCacheWidths(this.actions),this.calculateOverflow(),!(typeof ResizeObserver>"u")&&(this.resizeObserver=new ResizeObserver(t=>{for(let e of t)e.contentRect.width>0&&(this.elementWidth=e.contentRect.width,this.calculateOverflow())}),this.resizeObserver.observe(this.el))}disconnectedCallback(){this.resizeObserver?.disconnect(),this.resizeObserver=null,super.disconnectedCallback()}measureAndCacheWidths(t){let e=this.measureText.value;if(!e)return;this.actionWidths=t.map(o=>(e.textContent=o.text,{action:o,width:e.offsetWidth+this.buttonPadding}));let i=this._messages.actions.more;e.textContent=i,this.moreWidth=e.scrollWidth+this.buttonPadding}calculateOverflow(){let t=this.moreWidth,e=this.actionWidths.reduce(({width:i,visible:o,overflow:l},{action:h,width:f})=>{let n=i+f;return n>=this.elementWidth?{width:n,visible:o,overflow:[...l,h]}:{width:n,visible:[...o,h],overflow:l}},{visible:[],overflow:[],width:t});this.visibleActions=e.visible,this.overflowActions=e.overflow}hasSelection(){return!!this.selection?.length}renderButton(t){let e=t.id||`${t.text}-${t.icon||"none"}`;return s`<div><calcite-button class="button" .iconStart=${t.icon} @click=${i=>{this.lastExecutedAction=i.currentTarget,t.onClick()}} appearance=transparent kind=neutral id=${e??p}>${t.text}</calcite-button>${t.tooltip&&s`<calcite-tooltip .referenceElement=${e}><span class="tooltip-container">${t.tooltip}</span></calcite-tooltip>`||""}</div>`}render(){let t=this.overflowActions.length>0,e=this._messages.actions.more;return s`<div><span class="measure-container"><span class="measure-text" aria-hidden ${a(this.measureText)}></span></span>${this.hasSelection()&&(this.visibleActions.length>0||t)&&!this.calculating&&s`<nav class="wrapper">${this.visibleActions.map(i=>this.renderButton(i))}${t&&s`<calcite-dropdown width=m placement=bottom-end><calcite-button slot=trigger kind=neutral icon-end=chevron-down appearance=transparent ${a(this.overflowButton)}>${e}</calcite-button><calcite-dropdown-group selection-mode=none>${this.overflowActions.map(i=>s`<calcite-dropdown-item .iconStart=${i.icon||"blank"} @calciteDropdownItemSelect=${()=>{this.lastExecutedAction=this.overflowButton.value||void 0,i.onClick()}}>${i.text}</calcite-dropdown-item>`)}</calcite-dropdown-group></calcite-dropdown>`||""}</nav>`||""}</div>`}};m("arcgis-portal-browser-actions",c);export{c as ArcgisPortalBrowserActions};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as v}from"./
|
|
2
|
+
import{a as v}from"./VJ4STLVD.js";import{t as y,u as m,y as h}from"./4PPXBKIJ.js";export default $arcgis.t(([{on:B,watch:E},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var Y=(r,e)=>n=>P(n,r),u=class extends h{constructor(e,n){super(e),this.Y=new Map,this.A=void 0,this.#o=x();let t=this;t.#e=n,t.Z(),t.setProvisionalExports(k(e,new WeakRef(t),e.M.length-1,t.instance,t.Y),!1),y(e,s=>{if(s){let c=E(()=>e[s],o=>{if(o===t.instance)return;let i=t.instance;t.exports=o,t.instance=o,t.Y.forEach((a,l)=>e.requestUpdate(a,i[l])),t.#t&&i.destroy(),t.#t=!1},{sync:!0});t.onDestroy(c.remove)}},t.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(e){super.exports=e,this.#o.notify()}Z(){let e=this;e.instance="prototype"in e.#e&&"declaredClass"in e.#e.prototype?new e.#e:e.#e(),e.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},P=v(u),k=(r,e,n,t,s)=>new Proxy(t,{get:(c,o)=>{let i=c[o];if(typeof o=="symbol"||s.has(o))return i;let a=r.M[n];return a.A=o,m(r,l=>{if(a.A=void 0,l!==void 0){let p=l.key;s.set(o,p);let d=r.constructor.getPropertyOptions(p),f=o!==p&&p.toLowerCase().includes("disable");A(e,d,o,p,f),d.i===void 0&&O(d,n,o,f)}},i)}}),A=(r,e,n,t,s,c)=>c=E(()=>{let o=r.deref();return o===void 0||o.component.manager.destroyed?c=c.remove():o.exports[n]},(o,i)=>{if(!c)return;r.deref().component?.requestUpdate(t,s?!i:i),e.c=!1},{sync:!0}),O=(r,e,n,t)=>{r.d.get=function(){let s=this.M[e]?.exports[n];return t?!s:s},r.d.set=function(s){let c=this.M[e];c.A!==n&&(c.exports[n]=t?!s:s)}};var T=r=>{let e=class extends g{},n=typeof r=="function"?r():r,t=Object.getOwnPropertyDescriptors(n);for(let[c,o]of Object.entries(t))Object.defineProperty(e.prototype,c,o),C()(e.prototype,c);let s=b()(e);return new s};return{a:Y,b:T}},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{h as t}from"./
|
|
2
|
+
import{h as t}from"./4PPXBKIJ.js";var c=t`:host{--calcite-dialog-max-size-y: 75vh;--calcite-dialog-background-color: var(--calcite-color-surface-1);display:block;font-family:var(--calcite-font-family)}.provider-chip{margin-inline-start:.5rem}.current-account-block{margin-bottom:var(--calcite-space-lg)}.current-account,.linked-account{--calcite-block-border-color: transparent;border:1px solid var(--calcite-color-border-3)}.linked-account:not(:last-of-type){border-bottom-width:0}.linked-accounts-block{margin-bottom:var(--calcite-space-sm)}.current-account-list,.linked-accounts-list{border:1px solid var(--calcite-color-border-2)}.account-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-relative-base)}.account-description{font-weight:var(--calcite-font-weight-regular);font-size:var(--calcite-font-size-relative-sm);color:var(--calcite-color-text-2);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.separator{opacity:.85}.link-account-button{margin-block:var(--calcite-space-md)}.alert-title,.alert-message{margin:0}.alert-message{margin-top:var(--calcite-space-2xs)}.empty-accounts-info{display:flex;flex-direction:column;align-items:center;gap:var(--calcite-space-md);h4,p{margin:0}h4{font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug);font-weight:var(--calcite-font-weight-medium)}}`;export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"Authoritative":{"title":"Authoritative","tooltip":{"org":"Recommended by your organization","public":"Recommended by {name}"}},"Beta":{"title":"Beta","tooltip":"This item type is in beta."},"Deprecated":{"title":"Deprecated","tooltip":"Not recommended for use. The owner, {owner}, has deprecated this item."},"Has Replacement":{"title":"Has replacement","tooltip":"This item has a recommended replacement. View item details to find and use the replacement.","itemPageTooltip":"This item has a recommended replacement.","link":"View replacement"},"DeprecatedItemType":{"title":"Deprecated item type","tooltip":{"general":"Esri has deprecated this item type. It will be retired soon and unavailable for use.","webAppBuilder":"Esri has deprecated ArcGIS Web AppBuilder, which was used to create this item. It will be retired soon and unavailable for use. To create a new application, use ArcGIS Experience Builder or another ArcGIS app."}},"Living Atlas":{"title":"Living Atlas","tooltip":"Esri curated content"},"Subscriber":{"title":"Subscriber","tooltip":{"org":"Exclusive content for subscribers","public":"Exclusive content for subscribers. To use, sign in with an ArcGIS Online subscription."}},"Premium":{"title":"Premium","tooltip":{"org":"Exclusive content for subscribers. Consumes credits.","public":"Exclusive content for subscribers that consumes credits. To use, sign in with an ArcGIS Online subscription."}},"Open Data":{"title":"Open Data","tooltip":"Available for public use"},"Marketplace":{"title":"Marketplace","tooltip":"Listed on the ArcGIS Marketplace"},"Collaboration":{"title":"Distributed collaboration","tooltip":"This item was received from a distributed collaboration"},"Retired":{"title":"Retired item type","tooltip":{"general":"Esri has retired this item type. It is no longer available for use.","classicStoryMap":"The classic Esri Story Maps template ({template_name}) used to create this item is retired. This item can no longer be edited or viewed. To redirect viewers, configure a replacement item created with ArcGIS StoryMaps or another ArcGIS app.","classicStoryMapGeneric":"The classic Esri Story Maps template used to create this item is retired. This item can no longer be edited or viewed. To redirect viewers, configure a replacement item created with ArcGIS StoryMaps or another ArcGIS app.","cityEngine":"CityEngine Web Viewer and CityEngine Web Scenes are no longer supported.","app":"The Configurable Apps template used to create this application has been retired. This item is non-operational and can be deleted. To create a new application, please use ArcGIS Instant Apps, ArcGIS StoryMaps, ArcGIS Dashboards, or ArcGIS Experience Builder.","webAppBuilder":"ArcGIS Web AppBuilder
|
|
1
|
+
{"Authoritative":{"title":"Authoritative","tooltip":{"org":"Recommended by your organization","public":"Recommended by {name}"}},"Beta":{"title":"Beta","tooltip":"This item type is in beta."},"Deprecated":{"title":"Deprecated","tooltip":"Not recommended for use. The owner, {owner}, has deprecated this item."},"Has Replacement":{"title":"Has replacement","tooltip":"This item has a recommended replacement. View item details to find and use the replacement.","itemPageTooltip":"This item has a recommended replacement.","link":"View replacement"},"DeprecatedItemType":{"title":"Deprecated item type","tooltip":{"general":"Esri has deprecated this item type. It will be retired soon and unavailable for use.","webAppBuilder":"Esri has deprecated ArcGIS Web AppBuilder, which was used to create this item. It will be retired soon and unavailable for use. To create a new application, use ArcGIS Experience Builder or another ArcGIS app."}},"Living Atlas":{"title":"Living Atlas","tooltip":"Esri curated content"},"Subscriber":{"title":"Subscriber","tooltip":{"org":"Exclusive content for subscribers","public":"Exclusive content for subscribers. To use, sign in with an ArcGIS Online subscription."}},"Premium":{"title":"Premium","tooltip":{"org":"Exclusive content for subscribers. Consumes credits.","public":"Exclusive content for subscribers that consumes credits. To use, sign in with an ArcGIS Online subscription."}},"Open Data":{"title":"Open Data","tooltip":"Available for public use"},"Marketplace":{"title":"Marketplace","tooltip":"Listed on the ArcGIS Marketplace"},"Collaboration":{"title":"Distributed collaboration","tooltip":"This item was received from a distributed collaboration"},"Retired":{"title":"Retired item type","tooltip":{"general":"Esri has retired this item type. It is no longer available for use.","classicStoryMap":"The classic Esri Story Maps template ({template_name}) used to create this item is retired. This item can no longer be edited or viewed. To redirect viewers, configure a replacement item created with ArcGIS StoryMaps or another ArcGIS app.","classicStoryMapGeneric":"The classic Esri Story Maps template used to create this item is retired. This item can no longer be edited or viewed. To redirect viewers, configure a replacement item created with ArcGIS StoryMaps or another ArcGIS app.","cityEngine":"CityEngine Web Viewer and CityEngine Web Scenes are no longer supported.","app":"The Configurable Apps template used to create this application has been retired. This item is non-operational and can be deleted. To create a new application, please use ArcGIS Instant Apps, ArcGIS StoryMaps, ArcGIS Dashboards, or ArcGIS Experience Builder.","webAppBuilder":"Esri has retired ArcGIS Web AppBuilder, which was used to create this item. This item is non-operational and can be deleted. To create a new application, use ArcGIS Experience Builder or another ArcGIS app.","bdfs":"Big Data File Shares are retired in ArcGIS Enterprise. This item is non-operational and can be deleted."}},"Public Data Collection":{"title":"Public data collection","tooltip":"Approved for public data collection."},"Solution":{"title":"ArcGIS Solution","tooltip":"Esri supported solution"},"Registered":{"title":"OAuth 2.0","tooltip":{"online":"A registered OAuth 2.0 application. May use premium or subscriber content.","enterprise":"A registered OAuth 2.0 application."}},"Registered API Key Credentials (Standard)":{"title":{"online":"API key credentials","enterprise":"API key credentials"},"tooltip":"Grants access to services."},"Registered API Key Credentials (Personal)":{"title":"API key credentials - Private application","tooltip":"Provides access tokens with privileges to access an expanded set of services and items. Safeguard these tokens as you would your username and password. Do not embed in an application."},"Registered OAuth 2.0 Credentials (Standard)":{"title":{"online":"OAuth 2.0 Credentials","enterprise":"OAuth 2.0 Credentials"},"tooltip":"Grants access to services."},"Registered OAuth 2.0 Credentials (Personal)":{"title":"OAuth 2.0 Credentials - Impersonates item owner","tooltip":"Impersonates owner of this item. For security purposes, you should guard these credentials as you would guard your username and password."},"Registered Application":{"title":"OAuth 2.0 application","tooltip":"A registered OAuth 2.0 application"},"Personal credential":{"title":"Personal","tooltip":"You are granting a personal privilege to this credential. For security purposes, you should guard any access token created with these credentials as you would guard your username and password. Please review the terms of use."},"loading":"Loading..."}
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{A as e,R as r}from"./
|
|
2
|
+
import{A as e,R as r}from"./4PPXBKIJ.js";import"./UZLQALHY.js";var a=e(r,{"arcgis-portal-account-switcher":[()=>import("./PLVQ3AZ4.js"),"clientId,messages:,portal:"],"arcgis-portal-account-switcher-accounts":[()=>import("./2M7ICZ55.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./4R5TLPGN.js"),"accountAccess:,interactive,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-add-gps-metadata":[()=>import("./XEH2E6NR.js"),"item:,itemId,messages:,portal:"],"arcgis-portal-ai-assistant":[()=>import("./NQX5UAUH.js"),"autoDestroyDisabled,config:,defaultClosed,disabledAgents:,navigationCapabilities:,navigationTargetMap:,portal:,t9n:,useProdDocAssistant,user:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./27WR6TKM.js"),"_messages:,message,options:,type"],"arcgis-portal-browser":[()=>import("./LDVTUC6I.js"),"_messages:,alwaysShowContent,alwaysShowPagination,alwaysShowSelection,api,formFactor,height,hideContentTop,hideFilters,hideTopBar,loading,panel,preview,rangeFormatter:,response:,searchTerm,selected:,showPreSearch,store:;scrollToTop"],"arcgis-portal-browser-actions":[()=>import("./ZI3JA3SL.js"),"_messages:,actions:,selection:;restoreFocus"],"arcgis-portal-browser-filter-status":[()=>import("./MA5HWGFW.js"),"_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],"arcgis-portal-browser-pagination":[()=>import("./EFY6BRUW.js"),"_messages:,num,start,store:,total;nextPage"],"arcgis-portal-browser-search":[()=>import("./BIJ755UR.js"),"_messages:,allowClear,placeholder,store:,term;setFocus"],"arcgis-portal-browser-sort":[()=>import("./2RPQKCIL.js"),"_messages:,appearance,field,options:,order,showText,useDeleted"],"arcgis-portal-browser-top-bar":[()=>import("./FD7DZ3IE.js"),"_messages:,filtersDisabled,store:"],"arcgis-portal-browser-view":[()=>import("./WYXW3ETE.js"),"options:,store:,view,viewText"],"arcgis-portal-classification-banner":[()=>import("./VKYMORWN.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./INPDIPW5.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./PH4LUNY2.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./IGZ7A7S3.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-extent-picker":[()=>import("./BXDQIHOS.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./KCJDG4OE.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./AVNFYSR4.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-group-badges":[()=>import("./HLQD6W3F.js"),"_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],"arcgis-portal-group-browser":[()=>import("./NAAAOC2Z.js"),"_browserMessages:,_messages:,alwaysShowSelection,cards:,fetch:,filters:,formFactor,hasIndoorsSpaces,height,hidePreviewBadges,hidePreviewFooter,loading,num,portal:,preflight:,preview,q,searchParamInteraction:,searchTerm,searchUser,selected:,selection,sort:,store:;clearFilters,refresh"],"arcgis-portal-group-browser-preview":[()=>import("./WAEULETE.js"),"currentResponse:,group:,hideBadges,hidePreviewFooter,messages:,portal:,previewFooterActionsSpaced,user:;setFocus"],"arcgis-portal-group-browser-preview-card":[()=>import("./VENYHN3O.js"),"baseUrl,hideItemType,hideOwner,hideThumbnail,interactive,item:,link,newTab,portal:,showBadges,showDateUpdated,showOwnerPopup,showSummary,user:;restoreFocus"],"arcgis-portal-group-card":[()=>import("./BFH3HBUT.js"),"disabled,group:,hideBadges,hideDateUpdated,hideOwner,hideViewableBy,indeterminate,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,selected,selection,showDateCreated,showSummary,user:,view;restoreFocus"],"arcgis-portal-group-thumbnail":[()=>import("./VHNV45FQ.js"),"group:,portal:,scale,tooltip"],"arcgis-portal-info-banner":[()=>import("./PAFEMDUL.js"),"config:,position"],"arcgis-portal-item-actions":[()=>import("./M6EVMQYT.js"),"actions:,item:,keyHandler:,label,messages:,portal:,previewText,showFavorite,showPreview,tabIndexOverride,user:;setFocus"],"arcgis-portal-item-badges":[()=>import("./YQHVXBGD.js"),"appearance,empty,item:,portal:,scale,showTooltips,useProduction,user:,width"],"arcgis-portal-item-badge":[()=>import("./A6YWV3MB.js"),"_messages:,appearance,badgeType,item:,portal:,scale,showTooltip,useProduction,user:,width"],"arcgis-portal-item-card":[()=>import("./TFCRFHRE.js"),"actions:,disabled,disableSelection,hideActionsStart,item:,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,recycleBin,selected,selection,showAccess,showBadges,showBadgeTooltips,showDateUpdated,showFavorite,showFavoriteInActionsMenu,showItemType,showItemTypeHosted,showOwner,showSummary,showThumbnail,user:,userPopupZIndex,view;restoreFocus"],"arcgis-portal-item-favorite":[()=>import("./2Z5BVWD4.js"),"iconOnly,item:,messages:,portal:,scale,showTooltip,user:,width;setFocus"],"arcgis-portal-item-type":[()=>import("./QNFTJR2M.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./HFP5F435.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-navigation":[()=>import("./JQTQZCBV.js"),"clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:"],"arcgis-portal-replacement-item-redirect":[()=>import("./BCYZTGDC.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-user-avatar":[()=>import("./GBYHBRUW.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-user-popup":[()=>import("./BY6ZY3C4.js"),"appearance,avatarAriaHidden,baseUrl,checkOnline,fullName,item:,messages:,portal:,scale,showAvatar,showName,showUsername,underline,user:,username,wrap,zIndex;openPopup,setFocus"],"arcgis-portal-voice-input":[()=>import("./H6QY5OJL.js"),"language;clearText,startListening,stopListening"]});a({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-account-switcher,arcgis-portal-account-switcher-accounts,arcgis-portal-account-switcher-list,arcgis-portal-add-gps-metadata,arcgis-portal-ai-assistant,arcgis-portal-ai-assistant-interrupt,arcgis-portal-browser,arcgis-portal-browser-actions,arcgis-portal-browser-filter-status,arcgis-portal-browser-pagination,arcgis-portal-browser-search,arcgis-portal-browser-sort,arcgis-portal-browser-top-bar,arcgis-portal-browser-view,arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-extent-picker,arcgis-portal-field-delete,arcgis-portal-group-badges,arcgis-portal-group-browser,arcgis-portal-group-browser-preview,arcgis-portal-group-browser-preview-card,arcgis-portal-group-card,arcgis-portal-group-thumbnail,arcgis-portal-info-banner,arcgis-portal-item-actions,arcgis-portal-item-badges,arcgis-portal-item-badge,arcgis-portal-item-card,arcgis-portal-item-favorite,arcgis-portal-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-navigation,arcgis-portal-replacement-item-redirect,arcgis-portal-user-avatar,arcgis-portal-user-popup,arcgis-portal-voice-input){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,r)
|