@arcgis/map-components 5.1.0-next.68 → 5.1.0-next.69
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/26YULGVH.js +2 -0
- package/dist/cdn/{GIY2WB46.js → 27WV5J34.js} +1 -1
- package/dist/cdn/{2S5MAIIW.js → 2LS5R3PM.js} +1 -1
- package/dist/cdn/{VIW7YX56.js → 2LXV6D75.js} +1 -1
- package/dist/cdn/{3GY55TR6.js → 2MYNJXEY.js} +1 -1
- package/dist/cdn/{R26RHB56.js → 2WF4WNUR.js} +1 -1
- package/dist/cdn/{HESFATVV.js → 2WHY4YB2.js} +1 -1
- package/dist/cdn/3CVTKTEM.js +2 -0
- package/dist/cdn/{VYXFMPXG.js → 3CWU2M6P.js} +1 -1
- package/dist/cdn/3HYZ3J2E.js +2 -0
- package/dist/cdn/3VPFQE6G.js +2 -0
- package/dist/cdn/{FQNVMB4Z.js → 3VWI2QAE.js} +1 -1
- package/dist/cdn/{BEL77ZWE.js → 424E3ISJ.js} +1 -1
- package/dist/cdn/{OUDUP7T4.js → 47FIWQPQ.js} +1 -1
- package/dist/cdn/{IUKEIRXM.js → 5AMQUR3Y.js} +1 -1
- package/dist/cdn/{A3AK4XMB.js → 5EDTZDKU.js} +1 -1
- package/dist/cdn/{5RUGOYUU.js → 5HR7B5NO.js} +1 -1
- package/dist/cdn/{OLUVSHJP.js → 5I6LOZCQ.js} +1 -1
- package/dist/cdn/{WQTWAAS6.js → 5LCSIG36.js} +1 -1
- package/dist/cdn/{BV3BORGN.js → 5UTYUFXH.js} +1 -1
- package/dist/cdn/{XERK54DA.js → 5XXWQB2C.js} +1 -1
- package/dist/cdn/{RH62B2NE.js → 6ADPAEGR.js} +1 -1
- package/dist/cdn/{ZFOIEGAI.js → 6D34KEAO.js} +1 -1
- package/dist/cdn/{HESU5ZM5.js → 6FJ77YZH.js} +1 -1
- package/dist/cdn/{VEYOGGAN.js → 6L32XZYR.js} +1 -1
- package/dist/cdn/{XTQRWXXL.js → 6Q7EKK7O.js} +1 -1
- package/dist/cdn/{N5FPHCZP.js → 6SBMID5Q.js} +1 -1
- package/dist/cdn/{PGDWFO5C.js → 7ALS3HEK.js} +1 -1
- package/dist/cdn/{VZONUAKT.js → 7AREGYOK.js} +1 -1
- package/dist/cdn/{F6PKPFL5.js → 7BZNRCLO.js} +1 -1
- package/dist/cdn/{T3EZW2GQ.js → 7KJBT73F.js} +1 -1
- package/dist/cdn/{AAAMWC6E.js → 7QTTIN5U.js} +1 -1
- package/dist/cdn/{YHWB2GUG.js → 7R4BQSOG.js} +1 -1
- package/dist/cdn/{JEQ2KCBA.js → 7U7B6UIM.js} +1 -1
- package/dist/cdn/{BT36ZI63.js → 7ZYZT2ZT.js} +1 -1
- package/dist/cdn/{6XPVHLWQ.js → A22L5XP5.js} +1 -1
- package/dist/cdn/{MXYNYVNT.js → AIHYHQVQ.js} +1 -1
- package/dist/cdn/{TDUQWDXB.js → AJKXIDVY.js} +1 -1
- package/dist/cdn/{4NUOS5RF.js → ALWSDNIK.js} +1 -1
- package/dist/cdn/{JDE6RZU2.js → ATJ4RJ56.js} +1 -1
- package/dist/cdn/B3QFNDYL.js +2 -0
- package/dist/cdn/{RAKIZRN5.js → BCDMYIXN.js} +1 -1
- package/dist/cdn/{6LW2YL6W.js → BG4QZ6FT.js} +1 -1
- package/dist/cdn/{KTFTMXFZ.js → BG4R6MHS.js} +1 -1
- package/dist/cdn/{HXP4OSR5.js → BGHH7STQ.js} +1 -1
- package/dist/cdn/{3MQ7R5NQ.js → BIS4SV2Y.js} +1 -1
- package/dist/cdn/{N7YL5JWL.js → BLSH2TKA.js} +1 -1
- package/dist/cdn/{OYTDTGKF.js → BNFX23ZC.js} +1 -1
- package/dist/cdn/BOUPAXNN.js +2 -0
- package/dist/cdn/{KK3DNPYB.js → BUGROO2G.js} +1 -1
- package/dist/cdn/{2OZJEPPR.js → BW2UUEYI.js} +1 -1
- package/dist/cdn/{6ZJFEP7V.js → BWSZAIZQ.js} +1 -1
- package/dist/cdn/C754LGYG.js +2 -0
- package/dist/cdn/{GEA35PGX.js → C77J5JUC.js} +1 -1
- package/dist/cdn/{63CBEXJC.js → CJ6IBOJ5.js} +1 -1
- package/dist/cdn/{ZCANLZVB.js → CKVLB3XA.js} +1 -1
- package/dist/cdn/{6L6URT5A.js → CTSCS76S.js} +1 -1
- package/dist/cdn/{BZ5L7L7X.js → CZXV4SOK.js} +1 -1
- package/dist/cdn/{CY5YS5JU.js → D3FV73MF.js} +1 -1
- package/dist/cdn/{A2QPYUE5.js → DLRTY3IJ.js} +1 -1
- package/dist/cdn/EDRZJRK5.js +2 -0
- package/dist/cdn/{JKNIBFXD.js → EHDORNRZ.js} +1 -1
- package/dist/cdn/EHPTNHKY.js +2 -0
- package/dist/cdn/{4V6WOWP3.js → ELQ73UGA.js} +1 -1
- package/dist/cdn/{4FKTIUMZ.js → EQ5BRWH3.js} +1 -1
- package/dist/cdn/{BEEIMLTR.js → F4QNNHC3.js} +1 -1
- package/dist/cdn/{QIGQJUH4.js → F63Q67RE.js} +1 -1
- package/dist/cdn/{AGQILQSL.js → F6WE2EMP.js} +1 -1
- package/dist/cdn/{CDELNLLA.js → FNE6RBFO.js} +1 -1
- package/dist/cdn/{G56HJWWK.js → GD4PRKBJ.js} +1 -1
- package/dist/cdn/{FY6DKEBA.js → GGCCMFKT.js} +1 -1
- package/dist/cdn/{MLS3M7HO.js → GGCGUXPV.js} +1 -1
- package/dist/cdn/GGISUI3P.js +2 -0
- package/dist/cdn/{CH2HCJ5I.js → GGJ5ZCTT.js} +1 -1
- package/dist/cdn/{TXBXAJH7.js → GUCMN5EI.js} +1 -1
- package/dist/cdn/{KR2Q6BYO.js → GVGNJ4MC.js} +1 -1
- package/dist/cdn/{TQ76SLNV.js → GYWFYNDN.js} +1 -1
- package/dist/cdn/{6K7YU6CA.js → H3XYXMXV.js} +1 -1
- package/dist/cdn/{6YCRCQQ5.js → H7HGAAEH.js} +1 -1
- package/dist/cdn/{XIVZERQN.js → HDOGOI3D.js} +1 -1
- package/dist/cdn/{3TWDKJ4A.js → HEQZDCK3.js} +1 -1
- package/dist/cdn/{7D2BKUQS.js → HHDRUUWX.js} +1 -1
- package/dist/cdn/{XBD7575Y.js → HIIPGBJE.js} +1 -1
- package/dist/cdn/{AXL57FPK.js → HUH5F3ZW.js} +1 -1
- package/dist/cdn/{ZGFBVH4B.js → HURMARWG.js} +1 -1
- package/dist/cdn/{6JGH7O5T.js → I2VPAZ7F.js} +1 -1
- package/dist/cdn/{PBWDDJIL.js → I2YKHENR.js} +1 -1
- package/dist/cdn/{P2ABZVPJ.js → I747LK4V.js} +1 -1
- package/dist/cdn/{YS2H4FZU.js → I7ZNRSUB.js} +1 -1
- package/dist/cdn/{OTPBIAPW.js → ICR4VQWX.js} +1 -1
- package/dist/cdn/{IOJTRWKU.js → IE3Y7B73.js} +1 -1
- package/dist/cdn/{IENB37TX.js → IL7ADRLR.js} +1 -1
- package/dist/cdn/{UZ4E6VVI.js → ITPPGP4R.js} +1 -1
- package/dist/cdn/{O6NEXVFS.js → IWFEKAA3.js} +1 -1
- package/dist/cdn/{FEJP5BKR.js → IWX54YJZ.js} +1 -1
- package/dist/cdn/{DTHY45FB.js → IYJIYOTY.js} +1 -1
- package/dist/cdn/{EDI6UAO2.js → IYSSUJO4.js} +1 -1
- package/dist/cdn/{6SMNUIS7.js → IYWHFZTH.js} +1 -1
- package/dist/cdn/{LH53OP7W.js → JBSDSKPF.js} +1 -1
- package/dist/cdn/{QBK52KMD.js → JW7HJN7F.js} +1 -1
- package/dist/cdn/{FHQO4I4O.js → JWSVUJPT.js} +1 -1
- package/dist/cdn/{LS5LRR5P.js → K34DTIR5.js} +1 -1
- package/dist/cdn/{UTGLBBPF.js → K63UOGTP.js} +1 -1
- package/dist/cdn/{UWZYFDXY.js → K7T44WB6.js} +2 -2
- package/dist/cdn/{X4QSQNXO.js → KQCOZGBY.js} +1 -1
- package/dist/cdn/{AGN4CPLE.js → KT63OOIP.js} +1 -1
- package/dist/cdn/{OHPBTCCX.js → KUHHYT6E.js} +1 -1
- package/dist/cdn/{3Z23EVYG.js → KWB4KUS2.js} +1 -1
- package/dist/cdn/{BFAM7MG5.js → LI44ACJ5.js} +1 -1
- package/dist/cdn/{Z5KZTMPS.js → LNEZQAZW.js} +1 -1
- package/dist/cdn/{7UPVFHCA.js → LQFDFYE3.js} +1 -1
- package/dist/cdn/{DCURUTAP.js → LR6JJH34.js} +1 -1
- package/dist/cdn/{N4TLIWS2.js → LS52KMCS.js} +1 -1
- package/dist/cdn/{2G6SBHDL.js → M43BPHZZ.js} +1 -1
- package/dist/cdn/M4BTEWSL.js +2 -0
- package/dist/cdn/{LB4ZVY6G.js → MBAOJDXH.js} +1 -1
- package/dist/cdn/{E4OTYRS3.js → MUFCYOF6.js} +1 -1
- package/dist/cdn/{PCUJDZ2S.js → MULJ4PR2.js} +1 -1
- package/dist/cdn/{YSCK6NG6.js → MZALMOZF.js} +1 -1
- package/dist/cdn/{IB4I5QND.js → N6L3A6SU.js} +1 -1
- package/dist/cdn/{7YA2KZK7.js → N7BT4JWS.js} +1 -1
- package/dist/cdn/{2VPF4CNW.js → N7KSHION.js} +1 -1
- package/dist/cdn/{J2NTBX5O.js → NBMOR3C3.js} +1 -1
- package/dist/cdn/{BAZOIPTG.js → NIEIUES2.js} +1 -1
- package/dist/cdn/{2YJNQPTJ.js → NVW2HKKO.js} +1 -1
- package/dist/cdn/NYFOMOKM.js +2 -0
- package/dist/cdn/{O2GXRQXO.js → O5B7FF3R.js} +1 -1
- package/dist/cdn/{SES46KM6.js → OEOOIJU3.js} +1 -1
- package/dist/cdn/{SC67W6VH.js → OGSZ5UUK.js} +1 -1
- package/dist/cdn/{OH3I63ZU.js → ONHQ3PYJ.js} +1 -1
- package/dist/cdn/{OWLK7FRD.js → ORI7IGJK.js} +1 -1
- package/dist/cdn/OSKTOPDB.js +2 -0
- package/dist/cdn/{TBWM3VXL.js → OU4GNV5Y.js} +1 -1
- package/dist/cdn/{ZZSUBFEU.js → P34L6F5E.js} +1 -1
- package/dist/cdn/{K4QXG36P.js → P4AGKS3T.js} +1 -1
- package/dist/cdn/PAIEJ3BO.js +2 -0
- package/dist/cdn/{QMPHHVLY.js → PEGGVKX7.js} +1 -1
- package/dist/cdn/{RTNQC3EG.js → PSPYH45W.js} +1 -1
- package/dist/cdn/{LQJHKYDM.js → PX5CWFGN.js} +1 -1
- package/dist/cdn/{VRWFONCD.js → Q4AVAN4I.js} +1 -1
- package/dist/cdn/{K7DG5M33.js → QANJ6YFL.js} +1 -1
- package/dist/cdn/{FTX34YYP.js → QANVHOJ3.js} +1 -1
- package/dist/cdn/{O6YMGHFD.js → QGNQNS6S.js} +1 -1
- package/dist/cdn/{BL7IWPHZ.js → QGPDVBV3.js} +1 -1
- package/dist/cdn/{MQXJMYUR.js → QPNY7WU7.js} +1 -1
- package/dist/cdn/{KJIN74HB.js → QROWXUI7.js} +1 -1
- package/dist/cdn/{3CC54RTW.js → QVMUFTOE.js} +1 -1
- package/dist/cdn/{I2I5HAEN.js → QXPN7SHW.js} +1 -1
- package/dist/cdn/{XSENVPTL.js → RDSUE6ZH.js} +1 -1
- package/dist/cdn/{RFHCFCTQ.js → RHW2UX3V.js} +1 -1
- package/dist/cdn/{UEVFRHNF.js → RKWTF4HY.js} +1 -1
- package/dist/cdn/{FDGBPMXJ.js → RR6LH5VO.js} +1 -1
- package/dist/cdn/{JXEJYQ2C.js → RURABILX.js} +1 -1
- package/dist/cdn/{VUBZUELW.js → SBPGP3TE.js} +1 -1
- package/dist/cdn/{ORPERYMW.js → TECPAA3Z.js} +1 -1
- package/dist/cdn/{RNMEB6TG.js → TKDU4VBP.js} +1 -1
- package/dist/cdn/{LCROB3R4.js → TMCT6LLK.js} +1 -1
- package/dist/cdn/{46H6UPSX.js → TPMGUT3D.js} +1 -1
- package/dist/cdn/{7ZVRBKSI.js → TS6JZQWB.js} +1 -1
- package/dist/cdn/{ALTA3GSL.js → UA44PE65.js} +1 -1
- package/dist/cdn/{E64ZKWQX.js → UN2MUWOB.js} +1 -1
- package/dist/cdn/UWDJZG7E.js +2 -0
- package/dist/cdn/{V6YZBZ3K.js → UXMEMSFJ.js} +1 -1
- package/dist/cdn/{QU2FE7DH.js → UY54GM7K.js} +1 -1
- package/dist/cdn/{R4OARTJQ.js → V4QAL5W3.js} +1 -1
- package/dist/cdn/{NIZMS2ZM.js → VGOJS4WL.js} +1 -1
- package/dist/cdn/{GAA2BZL4.js → VK7O7URK.js} +1 -1
- package/dist/cdn/{LGQNIXKU.js → VR63DTPD.js} +1 -1
- package/dist/cdn/{CP3OQKVG.js → VSUH2TBH.js} +1 -1
- package/dist/cdn/{AHJ4HSIK.js → VWE63HLR.js} +1 -1
- package/dist/cdn/{Q4P5KUTU.js → W346BV7Y.js} +1 -1
- package/dist/cdn/{C5B7VBF5.js → W6XR5DGB.js} +1 -1
- package/dist/cdn/{JU5DAHUP.js → WLPNXTCI.js} +1 -1
- package/dist/cdn/{PTX2RTVP.js → WM5TRKL7.js} +1 -1
- package/dist/cdn/{4KBMJIGE.js → WNPINEY3.js} +1 -1
- package/dist/cdn/{U3F6ZTCK.js → WQD26DCP.js} +1 -1
- package/dist/cdn/{E4P76U4X.js → WSX67P6R.js} +1 -1
- package/dist/cdn/{WJIRRL2O.js → WX73OI6S.js} +1 -1
- package/dist/cdn/{HQD72Y2T.js → X3BJ5NVO.js} +1 -1
- package/dist/cdn/{ZTBIY6XI.js → XAICVG2W.js} +1 -1
- package/dist/cdn/{DC5MFCQS.js → XDRNDLSF.js} +1 -1
- package/dist/cdn/{MNEM26MM.js → XW7KJVE2.js} +1 -1
- package/dist/cdn/{N6UCKX6N.js → XWER5U4X.js} +1 -1
- package/dist/cdn/{URJTDOHU.js → XWRAOT5I.js} +1 -1
- package/dist/cdn/{LYUZNKPJ.js → XXIA4MQL.js} +1 -1
- package/dist/cdn/{QR53ROUB.js → XYUFZAW2.js} +1 -1
- package/dist/cdn/{H4QJLXGB.js → Y322NHHG.js} +1 -1
- package/dist/cdn/{LO5CN3F4.js → Y7T4MAXR.js} +1 -1
- package/dist/cdn/YNSF3Y7F.js +2 -0
- package/dist/cdn/{M2COMAAO.js → YZ2WCKFP.js} +1 -1
- package/dist/cdn/{5XXAORHS.js → Z2RMDH4V.js} +1 -1
- package/dist/cdn/Z2SO3HDR.js +2 -0
- package/dist/cdn/{PLA67QCL.js → ZH3BJ2NT.js} +1 -1
- package/dist/cdn/{4UQSES56.js → ZMS5QLV7.js} +1 -1
- package/dist/cdn/{5V7X7VFV.js → ZN4PJHIW.js} +1 -1
- package/dist/cdn/{LU4L462L.js → ZPAY3JJB.js} +1 -1
- package/dist/cdn/{SQ5XKFRE.js → ZR26LFG7.js} +1 -1
- package/dist/cdn/{FXIBVRML.js → ZV3S62FG.js} +1 -1
- package/dist/cdn/{6GECXZIV.js → ZW5PEGVK.js} +1 -1
- package/dist/cdn/{Z2NISUUT.js → ZXSE42HQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +18 -17
- package/dist/chunks/screenLocation.js +3 -1
- package/dist/chunks/slots.js +18 -9
- package/dist/chunks/useArcgisViewReadyError.js +42 -41
- package/dist/components/arcgis-basemap-toggle/customElement.js +3 -1
- package/dist/components/arcgis-bookmarks/customElement.js +3 -1
- package/dist/components/arcgis-building-discipline-tree/customElement.js +9 -3
- package/dist/components/arcgis-building-explorer/customElement.js +3 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +6 -2
- package/dist/components/arcgis-expand/customElement.d.ts +1 -1
- package/dist/components/arcgis-expand/customElement.js +3 -2
- package/dist/components/arcgis-feature/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature/customElement.js +73 -52
- package/dist/components/arcgis-feature-relationship/customElement.js +12 -12
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
- package/dist/components/arcgis-features/customElement.d.ts +19 -19
- package/dist/components/arcgis-features/customElement.js +100 -141
- package/dist/components/arcgis-grid-controls/customElement.js +0 -1
- package/dist/components/arcgis-layer-list-new/customElement.js +3 -1
- package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +14 -14
- package/dist/components/arcgis-line-of-sight/customElement.js +7 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +3 -0
- package/dist/components/arcgis-link-chart/customElement.js +11 -11
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +6 -2
- package/dist/components/arcgis-map/customElement.d.ts +3 -0
- package/dist/components/arcgis-map/customElement.js +10 -10
- package/dist/components/arcgis-popup/customElement.d.ts +7 -7
- package/dist/components/arcgis-popup/customElement.js +26 -28
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +3 -1
- package/dist/components/arcgis-scene/customElement.d.ts +3 -0
- package/dist/components/arcgis-scene/customElement.js +7 -7
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +0 -2
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +46 -48
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +0 -1
- package/dist/components/arcgis-weather/customElement.js +6 -23
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +4 -4
- package/dist/support/resources.d.ts +8 -0
- package/dist/support/slots.d.ts +4 -0
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +5 -5
- package/dist/cdn/54RS6FWA.js +0 -2
- package/dist/cdn/6TW4W2OI.js +0 -2
- package/dist/cdn/BHC2QYVP.js +0 -2
- package/dist/cdn/C2QH3ZIU.js +0 -2
- package/dist/cdn/ESFT7QPL.js +0 -2
- package/dist/cdn/FV2WQ4LO.js +0 -2
- package/dist/cdn/FWXI6DGS.js +0 -2
- package/dist/cdn/GD5EASMY.js +0 -2
- package/dist/cdn/IZBMH6MC.js +0 -2
- package/dist/cdn/J3QSZCGU.js +0 -2
- package/dist/cdn/PWI2GIS6.js +0 -2
- package/dist/cdn/Q5PEN5VX.js +0 -2
- package/dist/cdn/T3G5GBJP.js +0 -2
- package/dist/cdn/TJTLSLQU.js +0 -2
- package/dist/cdn/U7WLAU6C.js +0 -2
- package/dist/cdn/UFH7MQVG.js +0 -2
- package/dist/cdn/XWKA7Q4J.js +0 -2
- /package/dist/cdn/{2HXYJZSB.js → 52ZTILXO.js} +0 -0
- /package/dist/cdn/{EW6V3NZI.js → 655NZISI.js} +0 -0
- /package/dist/cdn/{TC3Q2QUA.js → 6CDF2EB7.js} +0 -0
- /package/dist/cdn/{TP5VEU3D.js → 72TX3EBX.js} +0 -0
- /package/dist/cdn/{WHDMC5HB.js → 7YHIBBQ7.js} +0 -0
- /package/dist/cdn/{BND2TJBO.js → BKAQFR3R.js} +0 -0
- /package/dist/cdn/{QM34BSKE.js → C3GZCN7D.js} +0 -0
- /package/dist/cdn/{F6BQWE5I.js → C6XURVVZ.js} +0 -0
- /package/dist/cdn/{CJOHGWK6.js → DVGLR2XS.js} +0 -0
- /package/dist/cdn/{5TXE67XV.js → DWTHS3XD.js} +0 -0
- /package/dist/cdn/{LQVZVGY4.js → EM3MB6DQ.js} +0 -0
- /package/dist/cdn/{D5WXOOS3.js → EZL7XCN4.js} +0 -0
- /package/dist/cdn/{ZUPEVR3P.js → EZOWIYC7.js} +0 -0
- /package/dist/cdn/{UVMLKDJA.js → FBCPADOP.js} +0 -0
- /package/dist/cdn/{FQZXILRT.js → GFUBQ5ID.js} +0 -0
- /package/dist/cdn/{5IMWXYL2.js → GR26P3LB.js} +0 -0
- /package/dist/cdn/{GS75FRUR.js → H7DKSXDK.js} +0 -0
- /package/dist/cdn/{L4TA63M6.js → HF66GO4V.js} +0 -0
- /package/dist/cdn/{YZSLMAVX.js → I6MZ7JMD.js} +0 -0
- /package/dist/cdn/{JU3BLGXG.js → JAZ7QA6Z.js} +0 -0
- /package/dist/cdn/{4MDRPZTG.js → JDM6VF64.js} +0 -0
- /package/dist/cdn/{BBQPUWRO.js → JEPEIGKN.js} +0 -0
- /package/dist/cdn/{JKVKP7AW.js → JJP5FDCF.js} +0 -0
- /package/dist/cdn/{MM4KQLRF.js → JPGCNIGY.js} +0 -0
- /package/dist/cdn/{U35ISUWJ.js → JPHQVDAJ.js} +0 -0
- /package/dist/cdn/{DQH27QCF.js → KVPWONPB.js} +0 -0
- /package/dist/cdn/{EP252O27.js → MYZ3EO6Z.js} +0 -0
- /package/dist/cdn/{Q3GALNWS.js → MZXTZSIV.js} +0 -0
- /package/dist/cdn/{FLLSBLLE.js → N45IWP4M.js} +0 -0
- /package/dist/cdn/{XJXQC6HM.js → NO5WA6CC.js} +0 -0
- /package/dist/cdn/{52AQINBI.js → O7JONM22.js} +0 -0
- /package/dist/cdn/{XEXCDGSR.js → Q2Q2Z6PD.js} +0 -0
- /package/dist/cdn/{EVHNFE5I.js → QTDR6KS5.js} +0 -0
- /package/dist/cdn/{QTWRDNXX.js → RCDXPUVE.js} +0 -0
- /package/dist/cdn/{UUC3DBCQ.js → RJI3D6MX.js} +0 -0
- /package/dist/cdn/{TEFALOII.js → SYVO6LRH.js} +0 -0
- /package/dist/cdn/{ECDIHLGQ.js → TGCFR72A.js} +0 -0
- /package/dist/cdn/{4STAROOM.js → VBFJKQE3.js} +0 -0
- /package/dist/cdn/{4IM2FY5W.js → WEWJI3DC.js} +0 -0
- /package/dist/cdn/{GHY23IXW.js → XDIJHALG.js} +0 -0
- /package/dist/cdn/{DMDCKD5U.js → XGEZWI2R.js} +0 -0
- /package/dist/cdn/{V7DG2KF6.js → XRCQN5W7.js} +0 -0
- /package/dist/cdn/{HGAJ2IEN.js → ZT5S7V6J.js} +0 -0
- /package/dist/cdn/{37GJW6KT.js → ZYQNMTFH.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as O}from"./PCUJDZ2S.js";import{a as Ce,b as Ee,c as Me,d as Ae,f as Te,g as ze,h as Fe,i as Oe,j as Pe,k as De,m as _,n as q,o as Re,p as Se,q as J}from"./4KLZDEYJ.js";import i from"./YS2H4FZU.js";import"./MP6Z45SA.js";import h from"./HESU5ZM5.js";import f from"./R3NYK6BO.js";import{a as Le}from"./H4QJLXGB.js";import{a as E}from"./KJIN74HB.js";import e from"./5MHPKAFK.js";import"./PC4PAQXQ.js";import"./3TWDKJ4A.js";import{a as Ie}from"./4V6WOWP3.js";import d from"./U3F6ZTCK.js";import{a as ye}from"./LCROB3R4.js";import{a as B}from"./54VXNFQ4.js";import c from"./5XXAORHS.js";import b from"./6JGH7O5T.js";import{g as ve}from"./HXP4OSR5.js";import"./2YJNQPTJ.js";import a from"./E4P76U4X.js";import{c as A}from"./LYUZNKPJ.js";import{B as ue,M as k,N as C,O as fe,P as m,Q as be,R as g,S as F,U as _e,a as Z,b as l,x as me}from"./ECDIHLGQ.js";import"./3TTFCHAA.js";export default $arcgis.t(([lt,P,{on:Ge,watch:nt},{isLayerFromCatalog:it},{h:xe},,{a:we},$e,,,,{b:V,c:ke}])=>{function K(s){return s&&"visibilityMode"in s?s.visibilityMode:null}function Be(s,e){"visible"in s&&(K(e)==="exclusive"&&s.visible||(s.visible=!s.visible))}function at(s,e){s.panel.open=!s.panel.open,s.panel.open&&e()}function rt(s,e,t,i){s&&t===e.layer?.uid&&(xe(s),i?.(null))}function ot(s,e,t){t.type==="toggle"&&(t.value=!t.value),s(t,e)}function st(s){return s.actionsSections.map(e=>e.filter(t=>t.visible))}function je(s,e){let{icon:t}=e;if(t)return null;let i="image"in e?e.image:void 0;return i?l`<span aria-hidden=true class=${m(A(s.itemActionIcon,{[s.itemActionImage]:!!i}))} style=${be(ke(i))}></span>`:null}function Ue(s,e,t){let{item:i,css:a,handleAction:o}=s,{active:n,disabled:c,title:d,type:h,indicator:v}=e,x=V(e);return l`<calcite-action .active=${h==="toggle"?e.value:!1} data-action-id=${e.id??g} .disabled=${c} .icon=${x} .indicator=${v} .loading=${n} @click=${()=>ot(o,i,e)} scale=s slot=${(t?void 0:"actions-end")??g} .text=${d??""} .textEnabled=${t} title=${d??void 0??g}>${je(a,e)}</calcite-action>`}function Q(s){let{item:e,parent:t,hideStatusIndicators:i,css:a,visibilityAppearance:o,hideCatalogLayerList:n,dragEnabled:c=!1,rootGroupUid:d,listModeDisabled:h=!1,selectionMode:v,displayMode:x,layerTablesEnabled:$,showErrors:T,parentTitles:I,selectedItems:z,activeItem:f,handleCatalogOpen:D,handleTablesOpen:Ye,selectedDragItemLayerUid:He,handleSelectedDragItemLayerUidChange:Ze,handlePanelOpen:Ve,messages:p,setCurrentActiveItem:X,clearActiveItem:ee}=s,L=k(),U=k(),M=e.title||("untitledTable"in p?p.untitledTable:p.untitledLayer??""),te=null;i||(te=F(l`<arcgis-layer-list-item-indicator .item=${e} .parent=${t} slot=content-end></arcgis-layer-list-item-indicator>`));let ie=null;{let{layer:r}=e,u=r&&"persistenceEnabled"in r&&(it(r)||!r.persistenceEnabled);(s.showTemporaryLayerIndicators||s.showTemporaryTableIndicators)&&u&&(ie=l`<calcite-icon class=${m(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${p.temporary??g}></calcite-icon>`)}let ae=null;if("visible"in e&&"visibleToggle"in a&&o){let r=K(t);if(r!=="inherited"){let u=Ae({visible:e.visible,exclusive:r==="exclusive",visibilityAppearance:o}),b=o==="checkbox",y=p.layerVisibility;ae=l`<calcite-action class=${m(a.visibleToggle)} .icon=${b?u:void 0} @click=${()=>Be(e,t)} .slot=${b?"actions-start":"actions-end"} .text=${y??""} title=${y??g}>${b?null:l`<calcite-icon class=${m(A({[a.visibleIcon]:r!=="exclusive"&&e.visible}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}}let re=null;{let r=e.panel;r?.open&&!r.disabled&&!r.flowEnabled&&(re=l`<div class=${m(a.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${s.view}></arcgis-layer-list-item-panel></div>`)}let oe=null;{let r=e.panel;if(r?.visible){let{open:u,title:b,disabled:y}=r,H={icon:r.icon,image:r.image,indicator:!1},S=V(H);oe=l`<calcite-action .active=${u} .disabled=${y} .icon=${S} @click=${()=>at(e,Ve)} slot=actions-end .text=${b??""} title=${b??void 0??g}>${je(a,r)}</calcite-action>`}}let se=null;{let r=e.layer,u=r?.type==="catalog-footprint",b=r?.type==="sublayer"&&J(r,"footprints");"itemCatalogIcon"in a&&(u||b)&&(se=l`<calcite-icon class=${m(a.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`)}let le=null;{let r=e.layer,u=r?.type==="catalog-dynamic-group",b=r?.type==="sublayer"&&J(r,"layers-in-view");"itemCatalogIcon"in a&&(u||b)&&(le=l`<calcite-icon class=${m(a.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`)}let ne=null;if("visible"in e){let r=e.layer;!n&&r?.type==="catalog-dynamic-group"&&(ne=l`<calcite-action .disabled=${!r.visible} icon=chevron-right icon-flip-rtl @click=${()=>D?.(e)} scale=s slot=actions-end .text=${M??""}></calcite-action>`)}let ce=null,j=!1;{let r=e.layer;if($&&r)switch(r.type){case"knowledge-graph":j=$.includes(r.type)&&"tables"in r&&!!r.tables?.length;break;case"map-image":case"tile":j=$.includes(r.type)&&"subtables"in r&&!!r.subtables?.length;break}"itemTableIcon"in a&&"visible"in e&&"tables"in p&&j&&(ce=E(`${e.uid}-tables`,l`<calcite-list-item class=${m(a.item)} data-layer-id=${r?.id??g} drag-disabled .label=${p.tables} title=${p.tables??g} @calciteListItemSelect=${()=>Ye?.(e)} .value=${e}><calcite-icon class=${m(a.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`))}let de=null;if("children"in e){let r=[...I??[],e.title],{children:u,layer:b}=e,y=b?.type!=="catalog-dynamic-group"&&Re(e),H=h?!1:Te(b),S=b?.type==="group",Xe=!H&&!y&&c&&S,et=c&&"childrenSortable"in e&&e.childrenSortable&&Oe(e),tt=y?u?.filter(w=>!w.hidden&&(T||!w.error)).toArray().map(w=>Q({...s,item:w,parent:e,parentTitles:r})):null;(y||Xe)&&(de=l`<calcite-list .canPull=${w=>s.canMove?s.canMove(w,"pull"):!1} .canPut=${w=>s.canMove?s.canMove(w,"put"):!1} data-item=${e.uid??g} data-layer-type=${d??g} .displayMode=${x} .dragEnabled=${et} .group=${S?d:`${d}-${b?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${v}>${tt}${ce}</calcite-list>`)}let G=null;e.error?G=l`<div class=${m(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in p?p.tableError:p.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in p&&(G=l`<div class=${m(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${C(U)}><div slot=message>${p.layerIncompatible}</div></calcite-notice></div>`);let pe=st(e),N=e.actionsSections.reduce((r,u)=>r+u.length,0),ge=Se(pe),qe=pe.toArray().map(r=>l`<calcite-action-group>${r.toArray().map(u=>Ue(s,u,!0))}</calcite-action-group>`),Je=r=>{e.actionsOpen=r.currentTarget.open},he=null;N>1&&(he=l`<calcite-action-menu appearance=transparent .label=${p.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${Je}><calcite-action icon=ellipsis scale=s slot=trigger .text=${p.options??""} title=${p.options??g}></calcite-action>${qe}</calcite-action-menu>`);let Y=null;N===1&&ge?Y=Ue(s,ge,!1):N>1&&(Y=he);let Ke="visibleAtCurrentTimeExtent"in e&&"layerInvisibleAtTime"in p&&!e.visibleAtCurrentTimeExtent?`${M} (${p.layerInvisibleAtTime})`:"visibleAtCurrentScale"in e&&"layerInvisibleAtScale"in p&&!e.visibleAtCurrentScale?`${M} (${p.layerInvisibleAtScale})`:M,Qe="parent"in e&&e.parent?.layer?.type==="catalog",R=e.layer,We="visibleAtCurrentScale"in e&&!e.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in e&&!e.visibleAtCurrentTimeExtent;return queueMicrotask(()=>{rt(L.value??null,e,He,Ze),U.value&&(s.handleTooltipReferenceChange?.(R?.uid,U.value),queueMicrotask(()=>s.handleTooltipReferenceChange?.(R?.uid,null))),e.panel&&(e.panel.container=L.value)}),E(e.uid,l`<calcite-list-item class=${m(A(a.item,"itemActive"in a&&{[a.itemActive]:f?.uid===e.uid}))} data-item=${e.uid??g} data-layer-id=${R?.id??g} .dragDisabled=${!("sortable"in e&&e.sortable)||Qe} id=${R?.uid??g} .label=${M} .metadata=${{parentTitles:I??[],_title:M}} .expanded=${"open"in e&&e.open} .selected=${v!=="none"?z.includes(e):!1} title=${Ke??g} .unavailable=${We} .value=${e} @focusin=${()=>{X?.(e),L.value?.classList.add(a.itemActive)}} @focusout=${()=>{ee?.(),L.value?.classList.remove(a.itemActive)}} @mouseover=${()=>{X?.(e),L.value?.classList.add(a.itemActive)}} @mouseleave=${()=>{ee?.(),L.value?.classList.remove(a.itemActive)}} @calciteListItemSelect=${r=>"visible"in e&&_(r.currentTarget,s.operationalItems)===e&&v==="none"&&K(t)!=="inherited"&&Be(e,t)} @calciteListItemToggle=${r=>{"open"in e&&(r.stopPropagation(),e.open=r.target.expanded)}} ${C(L)}>${se}${le}${te}${ae}${ne}${ie}${de}${G}${re}${oe}${Y}</calcite-list-item>`)}var ct=Z`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{width:100%;--arcgis-list-item-scroller-max-height: var(--arcgis-internal-panel-height-md)}.item{--calcite-list-item-icon-center: var(--calcite-space-sm)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:14px}.item__filter-container--sticky{z-index:1;position:sticky;top:0}.item__group{margin-top:var(--calcite-spacing-md)}.item__scroller{overflow-y:auto;z-index:0;position:relative}.item__scroller--enabled{max-height:var(--arcgis-list-item-scroller-max-height)}.item__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.item__list-item{cursor:pointer;min-height:var(--calcite-spacing-xxxl)}.item__list-item[class^=esri-icon-],.item__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.item__list-item--disabled{cursor:default}.item__list-item-icon{justify-content:center;align-items:center;min-width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);display:flex}.item__list-item-icon span{line-height:0}.arcgis-thumbnail-preview{background-position:50%;width:22px;height:22px}.item__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.content-bottom{margin:var(--calcite-spacing-md) 15px}.content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md)}.message{margin:var(--calcite-spacing-md) 15px}.visible-icon{visibility:hidden}.item:hover>.visible-toggle>.visible-icon,.item:focus>.visible-toggle>.visible-icon,.item:focus-within>.visible-toggle>.visible-icon{visibility:visible}`,dt=Z`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;min-height:var(--calcite-space-3xl);transition:max-height .25s ease-in-out;overflow-y:auto;--arcgis-layer-list-visibility-icon: hidden}:host>div{display:flex;width:100%}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size)}.action-menu .action-group{display:none}.action-menu[open] .action-group{display:flex}.active:hover>.visible-toggle>.visible-icon,.active:focus>.visible-toggle>.visible-icon,.active:focus-within>.visible-toggle>.visible-icon{visibility:visible}`,Ne="nested",pt=$e(lt),W=class extends fe{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=k(),this._layerFlowItemRef=k(),this._panelFlowItemRef=k(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${ue()}`,this._openedLayersController=null,this.messages=ye(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let o=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,n=_(e,this.operationalItems);if(!n?.sortable)return!1;let c=_(t,this.operationalItems),d=q(t),h=_(i,this.operationalItems),v=q(i),x=!!d&&!!v&&d===v,$={selected:n,from:c,to:h},T=t.group,I=i.group,z=c?.layer?.type??"",f=h?.layer?.type??"",D=new Set(["map-image","catalog","knowledge-graph"]);return T&&I&&typeof o=="function"?o($):x&&!D.has(z)&&!D.has(f)&&n?.layer?.type!=="sublayer"},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer)},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(a=>a.classList?.contains(O.item)),i=_(t,this.operationalItems);this._activeItem=i},this.viewModel=pt(this),this.arcgisClose=Ie(this),this._activeItem=null,this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.layerTablesEnabled=new P(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new P,this.tileOptions=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.closed=!1,this.icon="layers",this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.layerTablesAvailable=new P(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.minDragEnabledItems=Me,this.minFilterItems=Ee,this.openedLayers=new P,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new P,this.selectionMode="none",this.visibilityAppearance="default",this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=ve()("state"),this.arcgisReady=me(),this.arcgisTriggerAction=we(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,_totalItems:16,_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,layerTablesEnabled:16,mapImageOptions:16,openedLayerLists:16,tileOptions:16,_renderedOpenLayerFlowItems:16,view:0,autoDestroyDisabled:5,closed:5,referenceElement:1,icon:1,catalogLayerList:32,catalogOptions:0,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,knowledgeGraphOptions:0,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,position:1,selectedItems:0,selectionMode:1,tableList:32,visibilityAppearance:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,messageOverrides:0,label:1,state:32}}static{this.styles=[dt,ct]}get _totalItems(){return this.viewModel.operationalItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _visibleItems(){return this.operationalItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _dragEnabled(){return this._totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,i)=>this._renderLayerFlowItem(t,i===e.length-1))}get catalogLayerList(){return this._catalogLayerList}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[Ge(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),Ge(()=>this.viewModel.operationalItems,"change",()=>ze(this.selectedItems),{initial:!0}),nt(()=>[this.filterPredicate,this._rootListRef.value],()=>Fe(this._rootListRef.value,this.filterPredicate,this.operationalItems))])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}async _createFlowList(e,t){let{_layerListMap:i}=this,a=i.get(e);if(a)return a;let o=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,o),o}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:o}=a;this._openedLayersController=a,e.forEach((d,h)=>{t.includes(h)||(d?.destroy?.(),e.delete(h))});let n=await Promise.all(t.map(d=>this._createFlowList(d,o)));if(o.aborted)return;i.removeAll(),i.addMany(n);let c=i.at(-1);c?"catalogLayer"in c?(this._catalogLayerList=c,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=c):(this._catalogLayerList=void 0,this._tableList=void 0)}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:o,minFilterItems:n,selectionMode:c,visibilityAppearance:d}=this;return F(l`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??o} .minFilterItems=${i?.minFilterItems??n} .selectionMode=${i?.selectionMode??c} .visibilityAppearance=${i?.visibilityAppearance??d} .showErrors=${i?.visibleElements?.errors??this.showErrors} .showFilter=${i?.visibleElements?.filter??this.showFilter} .hideStatusIndicators=${i?.visibleElements?.statusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.visibleElements?.temporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${h=>h.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let{headingLevel:t,selectionMode:i,dragEnabled:a}=this,o=this._getTableListParams(e);return F(l`<arcgis-table-list .headingLevel=${o?.headingLevel??t} .selectionMode=${o?.selectionMode??i} .dragEnabled=${o?.dragEnabled??a} .collapsed=${o?.collapsed} .filterPlaceholder=${o?.filterPlaceholder} .filterText=${o?.filterText} .icon=${o?.icon??void 0} .label=${o?.label??void 0} .listItemCreatedFunction=${o?.listItemCreatedFunction} .tables=${o?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${n=>n.stopPropagation()}></arcgis-table-list>`)}_handlePanelFlowItemBack(e){e.open=!1}_onPanelOpen(){}_onTooltipReferenceChange(e,t){t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)}_onSelectedDragItemLayerUidChange(e){this._selectedDragItemLayerUid=e}_onTriggerAction(e,t){this.triggerAction(e,t)}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let o=_(i,this.operationalItems),n=_(e,this.operationalItems),c=_(t,this.operationalItems);this.viewModel.moveListItem(o,c,n,a)}_onCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:a}=e;t.insertBefore(i,t.children[a])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:a,dragEl:o,newIndex:n}=e,c=t?.newIndex===n&&t?.dragEl===o&&t?.toEl===i&&t?.fromEl===a;if(!(!a||!i||c)){if(this._lastDragDetail=e,this._selectedDragItemLayerUid=o.value,a===i){let d=Array.from(a.children).filter(h=>h?.matches("calcite-list-item")).map(h=>h.value.layer?.uid??"");this._sortLayers(a,d);return}this._moveLayerFromChildList({toEl:i,fromEl:a,dragEl:o,newIndex:n})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)Pe(this.el.view?.map?.layers,t);else{let i=_(e,this.operationalItems);if(!i)return;De(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(o=>_(o,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{_visibleItems:e,state:t}=this,i={[B.hidden]:t==="loading",[B.disabled]:t==="disabled"};return l`<div class=${m(A(B.widget,i))}>${e?.length?[this._renderItemTooltips(),this._renderItems()]:this._renderNoItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?l`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid??"")}>${i.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i))??[];return t.length?t:null}_renderItemTooltips(){return this._visibleItems?.toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoItemsMessage(){return l`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return l`<div class=${m(O.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,o=e.title||this.messages.untitledLayer;return E(e?.uid??o,l`<calcite-flow-item data-layer-uid=${e?.uid??""??g} .description=${o} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${n=>{n.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${C(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return Le(e.toArray(),i=>i.uid,(i,a)=>{let{panel:o,title:n}=i,c=()=>this._handlePanelFlowItemBack(o);return l`<calcite-flow-item .description=${n} .heading=${o.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${d=>{d.preventDefault(),c()}} ${C(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${c} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:o,showCloseButton:n,showCollapseButton:c,showHeading:d,_dragEnabled:h,selectionMode:v,filterText:x,openedLayers:$,filterPlaceholder:T,messages:I}=this,z=[l`<calcite-flow-item .closable=${n} .closed=${this.closed} .collapsed=${e} .collapsible=${c} .heading=${d?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!$.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}><calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${f=>this._canMove(f,"pull")} .canPut=${f=>this._canMove(f,"put")} data-layer-type=${o??g} .displayMode=${Ne} .dragEnabled=${h} .filterEnabled=${a} .filterPlaceholder=${T} .filterProps=${Ce} .filterText=${a?x:""} .group=${o} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${v} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${f=>this.filterText=f.currentTarget?.filterText??""} @calciteListOrderChange=${f=>this._onCalciteListOrderChange(f.detail)} @calciteListDragEnd=${f=>this._onCalciteListDragEnd(f.detail)} ${C(this._rootListRef)}>${t?.toArray().map(f=>this._renderItem(f))}${t?.length&&a?l`<div class=${m(O.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list></calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:E("root-flow",l`<calcite-flow>${z}</calcite-flow>`)}_renderItem(e,t,i){return E(e.uid,Q({activeItem:this._activeItem,canMove:this._canMove.bind(this),css:O,displayMode:Ne,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,hideCatalogLayerList:this.hideCatalogLayerList,item:e,messages:this.messages,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,operationalItems:this.operationalItems,parent:t,parentTitles:i,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem.bind(this),showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,showCloseButton:this.showCloseButton,showCollapseButton:this.showCollapseButton,showErrors:this.showErrors,showHeading:this.showHeading,showFilter:this.showFilter,clearActiveItem:this._clearActiveItem.bind(this),visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction.bind(this),handleCatalogOpen:this._onCatalogOpen.bind(this),handlePanelOpen:this._onPanelOpen.bind(this),handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange.bind(this),handleTablesOpen:this._onTablesOpen.bind(this),handleTooltipReferenceChange:this._onTooltipReferenceChange.bind(this),view:this.view}))}};_e("arcgis-layer-list-new",W);return W},"widgets/LayerList/LayerListViewModel","core/Collection","core/reactiveUtils","layers/catalog/catalogUtils",a,b,c,d,e,f,h,i)
|
|
2
|
+
import{a as O}from"./MULJ4PR2.js";import{a as Ce,b as Ee,c as Me,d as Ae,f as Te,g as ze,h as Fe,i as Oe,j as Pe,k as De,m as _,n as q,o as Re,p as Se,q as J}from"./4KLZDEYJ.js";import i from"./I7ZNRSUB.js";import"./MP6Z45SA.js";import h from"./6FJ77YZH.js";import f from"./R3NYK6BO.js";import{a as Le}from"./Y322NHHG.js";import{a as E}from"./QROWXUI7.js";import e from"./5MHPKAFK.js";import"./PC4PAQXQ.js";import"./HEQZDCK3.js";import{a as Ie}from"./ELQ73UGA.js";import d from"./WQD26DCP.js";import{a as ye}from"./TMCT6LLK.js";import{a as B}from"./54VXNFQ4.js";import c from"./Z2RMDH4V.js";import b from"./I2VPAZ7F.js";import{g as ve}from"./BGHH7STQ.js";import"./NVW2HKKO.js";import a from"./WSX67P6R.js";import{c as A}from"./XXIA4MQL.js";import{B as ue,M as k,N as C,O as fe,P as m,Q as be,R as g,S as F,U as _e,a as Z,b as l,x as me}from"./TGCFR72A.js";import"./3TTFCHAA.js";export default $arcgis.t(([lt,P,{on:Ge,watch:nt},{isLayerFromCatalog:it},{h:xe},,{a:we},$e,,,,{c:V,d:ke}])=>{function K(s){return s&&"visibilityMode"in s?s.visibilityMode:null}function Be(s,e){"visible"in s&&(K(e)==="exclusive"&&s.visible||(s.visible=!s.visible))}function at(s,e){s.panel.open=!s.panel.open,s.panel.open&&e()}function rt(s,e,t,i){s&&t===e.layer?.uid&&(xe(s),i?.(null))}function ot(s,e,t){t.type==="toggle"&&(t.value=!t.value),s(t,e)}function st(s){return s.actionsSections.map(e=>e.filter(t=>t.visible))}function je(s,e){let{icon:t}=e;if(t)return null;let i="image"in e?e.image:void 0;return i?l`<span aria-hidden=true class=${m(A(s.itemActionIcon,{[s.itemActionImage]:!!i}))} style=${be(ke(i))}></span>`:null}function Ue(s,e,t){let{item:i,css:a,handleAction:o}=s,{active:n,disabled:c,title:d,type:h,indicator:v}=e,x=V(e);return l`<calcite-action .active=${h==="toggle"?e.value:!1} data-action-id=${e.id??g} .disabled=${c} .icon=${x} .indicator=${v} .loading=${n} @click=${()=>ot(o,i,e)} scale=s slot=${(t?void 0:"actions-end")??g} .text=${d??""} .textEnabled=${t} title=${d??void 0??g}>${je(a,e)}</calcite-action>`}function Q(s){let{item:e,parent:t,hideStatusIndicators:i,css:a,visibilityAppearance:o,hideCatalogLayerList:n,dragEnabled:c=!1,rootGroupUid:d,listModeDisabled:h=!1,selectionMode:v,displayMode:x,layerTablesEnabled:$,showErrors:T,parentTitles:I,selectedItems:z,activeItem:f,handleCatalogOpen:D,handleTablesOpen:Ye,selectedDragItemLayerUid:He,handleSelectedDragItemLayerUidChange:Ze,handlePanelOpen:Ve,messages:p,setCurrentActiveItem:X,clearActiveItem:ee}=s,L=k(),U=k(),M=e.title||("untitledTable"in p?p.untitledTable:p.untitledLayer??""),te=null;i||(te=F(l`<arcgis-layer-list-item-indicator .item=${e} .parent=${t} slot=content-end></arcgis-layer-list-item-indicator>`));let ie=null;{let{layer:r}=e,u=r&&"persistenceEnabled"in r&&(it(r)||!r.persistenceEnabled);(s.showTemporaryLayerIndicators||s.showTemporaryTableIndicators)&&u&&(ie=l`<calcite-icon class=${m(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${p.temporary??g}></calcite-icon>`)}let ae=null;if("visible"in e&&"visibleToggle"in a&&o){let r=K(t);if(r!=="inherited"){let u=Ae({visible:e.visible,exclusive:r==="exclusive",visibilityAppearance:o}),b=o==="checkbox",y=p.layerVisibility;ae=l`<calcite-action class=${m(a.visibleToggle)} .icon=${b?u:void 0} @click=${()=>Be(e,t)} .slot=${b?"actions-start":"actions-end"} .text=${y??""} title=${y??g}>${b?null:l`<calcite-icon class=${m(A({[a.visibleIcon]:r!=="exclusive"&&e.visible}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}}let re=null;{let r=e.panel;r?.open&&!r.disabled&&!r.flowEnabled&&(re=l`<div class=${m(a.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${s.view}></arcgis-layer-list-item-panel></div>`)}let oe=null;{let r=e.panel;if(r?.visible){let{open:u,title:b,disabled:y}=r,H={icon:r.icon,image:r.image,indicator:!1},S=V(H);oe=l`<calcite-action .active=${u} .disabled=${y} .icon=${S} @click=${()=>at(e,Ve)} slot=actions-end .text=${b??""} title=${b??void 0??g}>${je(a,r)}</calcite-action>`}}let se=null;{let r=e.layer,u=r?.type==="catalog-footprint",b=r?.type==="sublayer"&&J(r,"footprints");"itemCatalogIcon"in a&&(u||b)&&(se=l`<calcite-icon class=${m(a.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`)}let le=null;{let r=e.layer,u=r?.type==="catalog-dynamic-group",b=r?.type==="sublayer"&&J(r,"layers-in-view");"itemCatalogIcon"in a&&(u||b)&&(le=l`<calcite-icon class=${m(a.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`)}let ne=null;if("visible"in e){let r=e.layer;!n&&r?.type==="catalog-dynamic-group"&&(ne=l`<calcite-action .disabled=${!r.visible} icon=chevron-right icon-flip-rtl @click=${()=>D?.(e)} scale=s slot=actions-end .text=${M??""}></calcite-action>`)}let ce=null,j=!1;{let r=e.layer;if($&&r)switch(r.type){case"knowledge-graph":j=$.includes(r.type)&&"tables"in r&&!!r.tables?.length;break;case"map-image":case"tile":j=$.includes(r.type)&&"subtables"in r&&!!r.subtables?.length;break}"itemTableIcon"in a&&"visible"in e&&"tables"in p&&j&&(ce=E(`${e.uid}-tables`,l`<calcite-list-item class=${m(a.item)} data-layer-id=${r?.id??g} drag-disabled .label=${p.tables} title=${p.tables??g} @calciteListItemSelect=${()=>Ye?.(e)} .value=${e}><calcite-icon class=${m(a.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`))}let de=null;if("children"in e){let r=[...I??[],e.title],{children:u,layer:b}=e,y=b?.type!=="catalog-dynamic-group"&&Re(e),H=h?!1:Te(b),S=b?.type==="group",Xe=!H&&!y&&c&&S,et=c&&"childrenSortable"in e&&e.childrenSortable&&Oe(e),tt=y?u?.filter(w=>!w.hidden&&(T||!w.error)).toArray().map(w=>Q({...s,item:w,parent:e,parentTitles:r})):null;(y||Xe)&&(de=l`<calcite-list .canPull=${w=>s.canMove?s.canMove(w,"pull"):!1} .canPut=${w=>s.canMove?s.canMove(w,"put"):!1} data-item=${e.uid??g} data-layer-type=${d??g} .displayMode=${x} .dragEnabled=${et} .group=${S?d:`${d}-${b?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${v}>${tt}${ce}</calcite-list>`)}let G=null;e.error?G=l`<div class=${m(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in p?p.tableError:p.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in p&&(G=l`<div class=${m(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${C(U)}><div slot=message>${p.layerIncompatible}</div></calcite-notice></div>`);let pe=st(e),N=e.actionsSections.reduce((r,u)=>r+u.length,0),ge=Se(pe),qe=pe.toArray().map(r=>l`<calcite-action-group>${r.toArray().map(u=>Ue(s,u,!0))}</calcite-action-group>`),Je=r=>{e.actionsOpen=r.currentTarget.open},he=null;N>1&&(he=l`<calcite-action-menu appearance=transparent .label=${p.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${Je}><calcite-action icon=ellipsis scale=s slot=trigger .text=${p.options??""} title=${p.options??g}></calcite-action>${qe}</calcite-action-menu>`);let Y=null;N===1&&ge?Y=Ue(s,ge,!1):N>1&&(Y=he);let Ke="visibleAtCurrentTimeExtent"in e&&"layerInvisibleAtTime"in p&&!e.visibleAtCurrentTimeExtent?`${M} (${p.layerInvisibleAtTime})`:"visibleAtCurrentScale"in e&&"layerInvisibleAtScale"in p&&!e.visibleAtCurrentScale?`${M} (${p.layerInvisibleAtScale})`:M,Qe="parent"in e&&e.parent?.layer?.type==="catalog",R=e.layer,We="visibleAtCurrentScale"in e&&!e.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in e&&!e.visibleAtCurrentTimeExtent;return queueMicrotask(()=>{rt(L.value??null,e,He,Ze),U.value&&(s.handleTooltipReferenceChange?.(R?.uid,U.value),queueMicrotask(()=>s.handleTooltipReferenceChange?.(R?.uid,null))),e.panel&&(e.panel.container=L.value)}),E(e.uid,l`<calcite-list-item class=${m(A(a.item,"itemActive"in a&&{[a.itemActive]:f?.uid===e.uid}))} data-item=${e.uid??g} data-layer-id=${R?.id??g} .dragDisabled=${!("sortable"in e&&e.sortable)||Qe} id=${R?.uid??g} .label=${M} .metadata=${{parentTitles:I??[],_title:M}} .expanded=${"open"in e&&e.open} .selected=${v!=="none"?z.includes(e):!1} title=${Ke??g} .unavailable=${We} .value=${e} @focusin=${()=>{X?.(e),L.value?.classList.add(a.itemActive)}} @focusout=${()=>{ee?.(),L.value?.classList.remove(a.itemActive)}} @mouseover=${()=>{X?.(e),L.value?.classList.add(a.itemActive)}} @mouseleave=${()=>{ee?.(),L.value?.classList.remove(a.itemActive)}} @calciteListItemSelect=${r=>"visible"in e&&_(r.currentTarget,s.operationalItems)===e&&v==="none"&&K(t)!=="inherited"&&Be(e,t)} @calciteListItemToggle=${r=>{"open"in e&&(r.stopPropagation(),e.open=r.target.expanded)}} ${C(L)}>${se}${le}${te}${ae}${ne}${ie}${de}${G}${re}${oe}${Y}</calcite-list-item>`)}var ct=Z`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{width:100%;--arcgis-list-item-scroller-max-height: var(--arcgis-internal-panel-height-md)}.item{--calcite-list-item-icon-center: var(--calcite-space-sm)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:14px}.item__filter-container--sticky{z-index:1;position:sticky;top:0}.item__group{margin-top:var(--calcite-spacing-md)}.item__scroller{overflow-y:auto;z-index:0;position:relative}.item__scroller--enabled{max-height:var(--arcgis-list-item-scroller-max-height)}.item__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.item__list-item{cursor:pointer;min-height:var(--calcite-spacing-xxxl)}.item__list-item[class^=esri-icon-],.item__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.item__list-item--disabled{cursor:default}.item__list-item-icon{justify-content:center;align-items:center;min-width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);display:flex}.item__list-item-icon span{line-height:0}.arcgis-thumbnail-preview{background-position:50%;width:22px;height:22px}.item__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.content-bottom{margin:var(--calcite-spacing-md) 15px}.content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md)}.message{margin:var(--calcite-spacing-md) 15px}.visible-icon{visibility:hidden}.item:hover>.visible-toggle>.visible-icon,.item:focus>.visible-toggle>.visible-icon,.item:focus-within>.visible-toggle>.visible-icon{visibility:visible}`,dt=Z`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;min-height:var(--calcite-space-3xl);transition:max-height .25s ease-in-out;overflow-y:auto;--arcgis-layer-list-visibility-icon: hidden}:host>div{display:flex;width:100%}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size)}.action-menu .action-group{display:none}.action-menu[open] .action-group{display:flex}.active:hover>.visible-toggle>.visible-icon,.active:focus>.visible-toggle>.visible-icon,.active:focus-within>.visible-toggle>.visible-icon{visibility:visible}`,Ne="nested",pt=$e(lt),W=class extends fe{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=k(),this._layerFlowItemRef=k(),this._panelFlowItemRef=k(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${ue()}`,this._openedLayersController=null,this.messages=ye(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let o=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,n=_(e,this.operationalItems);if(!n?.sortable)return!1;let c=_(t,this.operationalItems),d=q(t),h=_(i,this.operationalItems),v=q(i),x=!!d&&!!v&&d===v,$={selected:n,from:c,to:h},T=t.group,I=i.group,z=c?.layer?.type??"",f=h?.layer?.type??"",D=new Set(["map-image","catalog","knowledge-graph"]);return T&&I&&typeof o=="function"?o($):x&&!D.has(z)&&!D.has(f)&&n?.layer?.type!=="sublayer"},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer)},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(a=>a.classList?.contains(O.item)),i=_(t,this.operationalItems);this._activeItem=i},this.viewModel=pt(this),this.arcgisClose=Ie(this),this._activeItem=null,this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.layerTablesEnabled=new P(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new P,this.tileOptions=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.closed=!1,this.icon="layers",this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.layerTablesAvailable=new P(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.minDragEnabledItems=Me,this.minFilterItems=Ee,this.openedLayers=new P,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new P,this.selectionMode="none",this.visibilityAppearance="default",this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=ve()("state"),this.arcgisReady=me(),this.arcgisTriggerAction=we(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,_totalItems:16,_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,layerTablesEnabled:16,mapImageOptions:16,openedLayerLists:16,tileOptions:16,_renderedOpenLayerFlowItems:16,view:0,autoDestroyDisabled:5,closed:5,referenceElement:1,icon:1,catalogLayerList:32,catalogOptions:0,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,knowledgeGraphOptions:0,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,position:1,selectedItems:0,selectionMode:1,tableList:32,visibilityAppearance:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,messageOverrides:0,label:1,state:32}}static{this.styles=[dt,ct]}get _totalItems(){return this.viewModel.operationalItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _visibleItems(){return this.operationalItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _dragEnabled(){return this._totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,i)=>this._renderLayerFlowItem(t,i===e.length-1))}get catalogLayerList(){return this._catalogLayerList}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[Ge(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),Ge(()=>this.viewModel.operationalItems,"change",()=>ze(this.selectedItems),{initial:!0}),nt(()=>[this.filterPredicate,this._rootListRef.value],()=>Fe(this._rootListRef.value,this.filterPredicate,this.operationalItems))])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}async _createFlowList(e,t){let{_layerListMap:i}=this,a=i.get(e);if(a)return a;let o=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,o),o}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:o}=a;this._openedLayersController=a,e.forEach((d,h)=>{t.includes(h)||(d?.destroy?.(),e.delete(h))});let n=await Promise.all(t.map(d=>this._createFlowList(d,o)));if(o.aborted)return;i.removeAll(),i.addMany(n);let c=i.at(-1);c?"catalogLayer"in c?(this._catalogLayerList=c,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=c):(this._catalogLayerList=void 0,this._tableList=void 0)}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:o,minFilterItems:n,selectionMode:c,visibilityAppearance:d}=this;return F(l`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??o} .minFilterItems=${i?.minFilterItems??n} .selectionMode=${i?.selectionMode??c} .visibilityAppearance=${i?.visibilityAppearance??d} .showErrors=${i?.visibleElements?.errors??this.showErrors} .showFilter=${i?.visibleElements?.filter??this.showFilter} .hideStatusIndicators=${i?.visibleElements?.statusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.visibleElements?.temporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${h=>h.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let{headingLevel:t,selectionMode:i,dragEnabled:a}=this,o=this._getTableListParams(e);return F(l`<arcgis-table-list .headingLevel=${o?.headingLevel??t} .selectionMode=${o?.selectionMode??i} .dragEnabled=${o?.dragEnabled??a} .collapsed=${o?.collapsed} .filterPlaceholder=${o?.filterPlaceholder} .filterText=${o?.filterText} .icon=${o?.icon??void 0} .label=${o?.label??void 0} .listItemCreatedFunction=${o?.listItemCreatedFunction} .tables=${o?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${n=>n.stopPropagation()}></arcgis-table-list>`)}_handlePanelFlowItemBack(e){e.open=!1}_onPanelOpen(){}_onTooltipReferenceChange(e,t){t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)}_onSelectedDragItemLayerUidChange(e){this._selectedDragItemLayerUid=e}_onTriggerAction(e,t){this.triggerAction(e,t)}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let o=_(i,this.operationalItems),n=_(e,this.operationalItems),c=_(t,this.operationalItems);this.viewModel.moveListItem(o,c,n,a)}_onCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:a}=e;t.insertBefore(i,t.children[a])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:a,dragEl:o,newIndex:n}=e,c=t?.newIndex===n&&t?.dragEl===o&&t?.toEl===i&&t?.fromEl===a;if(!(!a||!i||c)){if(this._lastDragDetail=e,this._selectedDragItemLayerUid=o.value,a===i){let d=Array.from(a.children).filter(h=>h?.matches("calcite-list-item")).map(h=>h.value.layer?.uid??"");this._sortLayers(a,d);return}this._moveLayerFromChildList({toEl:i,fromEl:a,dragEl:o,newIndex:n})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)Pe(this.el.view?.map?.layers,t);else{let i=_(e,this.operationalItems);if(!i)return;De(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(o=>_(o,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{_visibleItems:e,state:t}=this,i={[B.hidden]:t==="loading",[B.disabled]:t==="disabled"};return l`<div class=${m(A(B.widget,i))}>${e?.length?[this._renderItemTooltips(),this._renderItems()]:this._renderNoItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?l`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid??"")}>${i.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i))??[];return t.length?t:null}_renderItemTooltips(){return this._visibleItems?.toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoItemsMessage(){return l`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return l`<div class=${m(O.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,o=e.title||this.messages.untitledLayer;return E(e?.uid??o,l`<calcite-flow-item data-layer-uid=${e?.uid??""??g} .description=${o} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${n=>{n.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${C(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return Le(e.toArray(),i=>i.uid,(i,a)=>{let{panel:o,title:n}=i,c=()=>this._handlePanelFlowItemBack(o);return l`<calcite-flow-item .description=${n} .heading=${o.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${d=>{d.preventDefault(),c()}} ${C(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${c} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:o,showCloseButton:n,showCollapseButton:c,showHeading:d,_dragEnabled:h,selectionMode:v,filterText:x,openedLayers:$,filterPlaceholder:T,messages:I}=this,z=[l`<calcite-flow-item .closable=${n} .closed=${this.closed} .collapsed=${e} .collapsible=${c} .heading=${d?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!$.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}><calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${f=>this._canMove(f,"pull")} .canPut=${f=>this._canMove(f,"put")} data-layer-type=${o??g} .displayMode=${Ne} .dragEnabled=${h} .filterEnabled=${a} .filterPlaceholder=${T} .filterProps=${Ce} .filterText=${a?x:""} .group=${o} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${v} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${f=>this.filterText=f.currentTarget?.filterText??""} @calciteListOrderChange=${f=>this._onCalciteListOrderChange(f.detail)} @calciteListDragEnd=${f=>this._onCalciteListDragEnd(f.detail)} ${C(this._rootListRef)}>${t?.toArray().map(f=>this._renderItem(f))}${t?.length&&a?l`<div class=${m(O.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list></calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:E("root-flow",l`<calcite-flow>${z}</calcite-flow>`)}_renderItem(e,t,i){return E(e.uid,Q({activeItem:this._activeItem,canMove:this._canMove.bind(this),css:O,displayMode:Ne,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,hideCatalogLayerList:this.hideCatalogLayerList,item:e,messages:this.messages,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,operationalItems:this.operationalItems,parent:t,parentTitles:i,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem.bind(this),showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,showCloseButton:this.showCloseButton,showCollapseButton:this.showCollapseButton,showErrors:this.showErrors,showHeading:this.showHeading,showFilter:this.showFilter,clearActiveItem:this._clearActiveItem.bind(this),visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction.bind(this),handleCatalogOpen:this._onCatalogOpen.bind(this),handlePanelOpen:this._onPanelOpen.bind(this),handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange.bind(this),handleTablesOpen:this._onTablesOpen.bind(this),handleTooltipReferenceChange:this._onTooltipReferenceChange.bind(this),view:this.view}))}};_e("arcgis-layer-list-new",W);return W},"widgets/LayerList/LayerListViewModel","core/Collection","core/reactiveUtils","layers/catalog/catalogUtils",a,b,c,d,e,f,h,i)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import e from"./6SBMID5Q.js";import d from"./ZXSE42HQ.js";import c from"./Z2RMDH4V.js";import b from"./I2VPAZ7F.js";import"./BGHH7STQ.js";import"./NVW2HKKO.js";import a from"./WSX67P6R.js";import"./XXIA4MQL.js";import"./TGCFR72A.js";import"./3TTFCHAA.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
|