@arcgis/map-components 5.2.0-next.79 → 5.2.0-next.84
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/{5AQ2DLHA.js → 22ORLWUA.js} +1 -1
- package/dist/cdn/{XZSUBU4T.js → 24PDYG7O.js} +1 -1
- package/dist/cdn/{BPARROZU.js → 2BDZP327.js} +1 -1
- package/dist/cdn/{NDMHZQ2Z.js → 2BVXNQ3U.js} +1 -1
- package/dist/cdn/{K3VQUQ6I.js → 2FM2FJAY.js} +1 -1
- package/dist/cdn/{FRBI5DO2.js → 2PBI4WYR.js} +1 -1
- package/dist/cdn/{NESU6NXH.js → 2VSEEB47.js} +1 -1
- package/dist/cdn/{K2KLJ32T.js → 2XRY235R.js} +1 -1
- package/dist/cdn/3AQ6NC3C.js +2 -0
- package/dist/cdn/{AZKD3JVJ.js → 3FTPFEZR.js} +1 -1
- package/dist/cdn/{3SN6IS3V.js → 3KVV7ZIB.js} +1 -1
- package/dist/cdn/{B2GZY6PZ.js → 3KYGTOFI.js} +1 -1
- package/dist/cdn/3L7T2IRD.js +2 -0
- package/dist/cdn/{SRAXSED3.js → 3MHQ3Y3W.js} +1 -1
- package/dist/cdn/{ETV3RIV4.js → 3NWZC6DC.js} +1 -1
- package/dist/cdn/{G3GFYB3W.js → 3T7L7UT5.js} +1 -1
- package/dist/cdn/{S55YL3HD.js → 3UUQJCZL.js} +1 -1
- package/dist/cdn/{KG4E7MUN.js → 3XE3WNGC.js} +1 -1
- package/dist/cdn/{KTCKSRJG.js → 42TPQKQZ.js} +1 -1
- package/dist/cdn/{EZ32225G.js → 453C7IUP.js} +1 -1
- package/dist/cdn/{5VHXHQ36.js → 4GEFIIBU.js} +1 -1
- package/dist/cdn/{SMTTIAFG.js → 4H6PSGCG.js} +1 -1
- package/dist/cdn/{UJ3FO7VY.js → 4Q6IWOPE.js} +1 -1
- package/dist/cdn/{B5GF4C7T.js → 4T6ECCFH.js} +1 -1
- package/dist/cdn/{RDA3MEE2.js → 4UBDCXSK.js} +1 -1
- package/dist/cdn/{QLIWDFZI.js → 4W3T75SY.js} +1 -1
- package/dist/cdn/{TZGK64CZ.js → 56NINR5L.js} +1 -1
- package/dist/cdn/{BHAY27CX.js → 5EP57RZK.js} +1 -1
- package/dist/cdn/{54LZZPH7.js → 5F4TM4DQ.js} +1 -1
- package/dist/cdn/{FCGXXNEE.js → 5VHJTIA4.js} +1 -1
- package/dist/cdn/{DSVRIWYW.js → 62LN764Z.js} +1 -1
- package/dist/cdn/{LWGNINKF.js → 62UEF6RI.js} +1 -1
- package/dist/cdn/{Q44GFWWJ.js → 645DRFAT.js} +1 -1
- package/dist/cdn/{R5RHR73A.js → 67PVPQ2A.js} +1 -1
- package/dist/cdn/{RAUX4YDR.js → 6AEBAXJV.js} +1 -1
- package/dist/cdn/{N7YPGWHZ.js → 6KVXHFAI.js} +1 -1
- package/dist/cdn/{QMXF5LPA.js → 6KXGNGPR.js} +1 -1
- package/dist/cdn/6MEC4BFN.js +2 -0
- package/dist/cdn/{KZQ5ZQEP.js → 6NDLOXKQ.js} +1 -1
- package/dist/cdn/{HGPMWYEJ.js → 6PFEONTQ.js} +1 -1
- package/dist/cdn/{AYJ4XEW3.js → 6ZURXEAE.js} +1 -1
- package/dist/cdn/{K2HEKJRC.js → 7HL2TQ7E.js} +1 -1
- package/dist/cdn/{HZVC4F3N.js → 7IWMEBK6.js} +1 -1
- package/dist/cdn/{5OPSVESB.js → 7J5Z2RHQ.js} +1 -1
- package/dist/cdn/{Q547RMCD.js → 7JCPGA62.js} +1 -1
- package/dist/cdn/{HSRSC5A3.js → 7OFFUYIA.js} +1 -1
- package/dist/cdn/{K76HO7P7.js → 7Q62J3QW.js} +1 -1
- package/dist/cdn/{KXYV52R5.js → 7XDG253K.js} +1 -1
- package/dist/cdn/{RP6OFG3R.js → A2LHW4XE.js} +1 -1
- package/dist/cdn/{42UVPIOD.js → A4X5YDA6.js} +1 -1
- package/dist/cdn/{LGFVRB7B.js → AEWE5NOZ.js} +1 -1
- package/dist/cdn/{JFNKQEAB.js → AG6XG3QV.js} +1 -1
- package/dist/cdn/{QM3KT7SZ.js → AJ7XRBWN.js} +1 -1
- package/dist/cdn/{7OBUF2FK.js → AKWAWGJI.js} +1 -1
- package/dist/cdn/{LBL4JL7T.js → ARVN7QLQ.js} +1 -1
- package/dist/cdn/{LFEMVA6D.js → ATJRAUEJ.js} +1 -1
- package/dist/cdn/{M2O6IGEH.js → AVJ3D46P.js} +1 -1
- package/dist/cdn/{LCWKOR7D.js → AY7A2WZ2.js} +1 -1
- package/dist/cdn/{IKTXSXXQ.js → BDKJXRDB.js} +1 -1
- package/dist/cdn/{UYF6TF6U.js → BHADA675.js} +1 -1
- package/dist/cdn/{OIZPPRAI.js → BHM6MPAV.js} +1 -1
- package/dist/cdn/{NMWFIDS3.js → BITXHOPV.js} +1 -1
- package/dist/cdn/{T6ONYBEY.js → BQLJNLRI.js} +1 -1
- package/dist/cdn/{263UQZGD.js → BRSERGCB.js} +1 -1
- package/dist/cdn/{7BHMRVKK.js → BTKSII6C.js} +1 -1
- package/dist/cdn/{KDTYT2TI.js → BVBHK4ZA.js} +1 -1
- package/dist/cdn/{GWNHAPDJ.js → BVDQQOCR.js} +1 -1
- package/dist/cdn/{M47N46M3.js → BWHORDTQ.js} +1 -1
- package/dist/cdn/{UFBHHNY2.js → BXP5RGPD.js} +1 -1
- package/dist/cdn/{N7QPTZOY.js → C3XXTXZL.js} +1 -1
- package/dist/cdn/{7MIEKJ57.js → C4LCKYWW.js} +1 -1
- package/dist/cdn/{UHY4YPDH.js → CK5JA6LG.js} +1 -1
- package/dist/cdn/{FKGG2CUG.js → CXM6X7CR.js} +1 -1
- package/dist/cdn/{W3LWWKRB.js → CYJZ7T4S.js} +1 -1
- package/dist/cdn/{TPF6CQWI.js → D5AGKEQQ.js} +1 -1
- package/dist/cdn/{KJJVLZO6.js → D66WATT4.js} +1 -1
- package/dist/cdn/{7B2ON35Y.js → DCSOI7OB.js} +1 -1
- package/dist/cdn/{4TUKX6PS.js → DFS7UXXA.js} +1 -1
- package/dist/cdn/{JWCHEYHG.js → DGE4UXLM.js} +1 -1
- package/dist/cdn/{WXNDZFDX.js → DKBC3UMW.js} +1 -1
- package/dist/cdn/{EF5I2PGI.js → DPZYWN5Y.js} +1 -1
- package/dist/cdn/{QJUYGJUN.js → DRER5LNM.js} +1 -1
- package/dist/cdn/{IOORBLHL.js → DSIL7TYR.js} +1 -1
- package/dist/cdn/{QO6WDURE.js → E5HTVW5O.js} +1 -1
- package/dist/cdn/{THUDFQBI.js → EFSE3OHY.js} +1 -1
- package/dist/cdn/{XRPHEZZD.js → EUPC4HDK.js} +1 -1
- package/dist/cdn/{FR3DD5XU.js → FHWOIM57.js} +1 -1
- package/dist/cdn/{YVQ5XK57.js → FJRDNR2D.js} +1 -1
- package/dist/cdn/{MNMMINQH.js → FUDA5H6R.js} +1 -1
- package/dist/cdn/{BZZONX7U.js → FVZJPOWC.js} +1 -1
- package/dist/cdn/{OHVLO7G3.js → FXGGTFFX.js} +1 -1
- package/dist/cdn/{OBHCFXFW.js → FZHWZNBO.js} +1 -1
- package/dist/cdn/G2PAKIMS.js +2 -0
- package/dist/cdn/{XUL2L7MJ.js → G43HMCDY.js} +1 -1
- package/dist/cdn/{4ULHWCEQ.js → G7KSSNBD.js} +1 -1
- package/dist/cdn/{JNZQSIHO.js → GJKLQ4DF.js} +1 -1
- package/dist/cdn/{T2JPACWT.js → GVT6ZVGQ.js} +1 -1
- package/dist/cdn/{UFUUA7WI.js → H3AOF7G6.js} +1 -1
- package/dist/cdn/{7ATMAAIA.js → H3N46TKW.js} +1 -1
- package/dist/cdn/{FQVFZLFR.js → HCH34CVA.js} +1 -1
- package/dist/cdn/{PFRNTJ3W.js → HPFRMRVM.js} +1 -1
- package/dist/cdn/{QMBBO7TG.js → HR3K5XIF.js} +1 -1
- package/dist/cdn/{BYURJH5S.js → HWLBIEGO.js} +1 -1
- package/dist/cdn/{7FSKEJN5.js → I4VCDQAJ.js} +1 -1
- package/dist/cdn/{WCWRRXW6.js → IA6DGMKU.js} +1 -1
- package/dist/cdn/{LFFKXHGN.js → IEEZAVKI.js} +1 -1
- package/dist/cdn/{IMG33Z76.js → IZLJF7QK.js} +1 -1
- package/dist/cdn/{KNC343OA.js → J2S23AFG.js} +1 -1
- package/dist/cdn/{KKN5ZNLH.js → J7O4NTZK.js} +1 -1
- package/dist/cdn/{U6BJ5CHT.js → JDKASAQ4.js} +1 -1
- package/dist/cdn/{UVZRGGFM.js → JJB3SLCR.js} +1 -1
- package/dist/cdn/{PUF3LPVV.js → JK24EYII.js} +1 -1
- package/dist/cdn/{3I3LMAGG.js → JKGEHJS3.js} +1 -1
- package/dist/cdn/{WTQIUFRF.js → JOOHHKWH.js} +1 -1
- package/dist/cdn/{27ESFL5A.js → JTUIUWLI.js} +1 -1
- package/dist/cdn/{NTODRT2V.js → K4BAIY7T.js} +1 -1
- package/dist/cdn/{VOQLL5JZ.js → K4V76SMR.js} +1 -1
- package/dist/cdn/{B5TWZ7RP.js → K5ORNQ7G.js} +1 -1
- package/dist/cdn/{SJXCBJJW.js → K5VWAQQ4.js} +1 -1
- package/dist/cdn/{D4HG2OIN.js → KKBLRTCV.js} +1 -1
- package/dist/cdn/{4QNVMHPG.js → KRIHSRTS.js} +1 -1
- package/dist/cdn/{GYD6SJRD.js → KS5TQB2A.js} +1 -1
- package/dist/cdn/KYZ4TF64.js +2 -0
- package/dist/cdn/{QMVQEHGP.js → LEKQIXDS.js} +1 -1
- package/dist/cdn/{4JVOJINY.js → LGO6UJXQ.js} +1 -1
- package/dist/cdn/{XLFPJW7K.js → LJAHKEOX.js} +1 -1
- package/dist/cdn/{RUPHNC7P.js → LPVFDDKF.js} +1 -1
- package/dist/cdn/{I236E7AW.js → LTGPFC6N.js} +1 -1
- package/dist/cdn/{RDWM76R2.js → LTOXLO3L.js} +1 -1
- package/dist/cdn/{OEOLTZDB.js → M2AZC3NB.js} +1 -1
- package/dist/cdn/{4FN75DFQ.js → MG6N3FKM.js} +1 -1
- package/dist/cdn/{3MDNGD5N.js → MKKJTX2G.js} +1 -1
- package/dist/cdn/{MGL4QBFB.js → MQKMDGBE.js} +1 -1
- package/dist/cdn/{CDGKWT2J.js → MTIYKLWI.js} +1 -1
- package/dist/cdn/{CEZOPIBZ.js → MUBRFGFC.js} +1 -1
- package/dist/cdn/{BMVELPGD.js → MYV6ULJI.js} +1 -1
- package/dist/cdn/{3RKTUDSL.js → MZBCC5YA.js} +1 -1
- package/dist/cdn/{NVYQR4DS.js → N2QRRWRV.js} +1 -1
- package/dist/cdn/{5FOOE24C.js → N73PMH4J.js} +1 -1
- package/dist/cdn/{3AN2HM4J.js → NAQYIBE5.js} +1 -1
- package/dist/cdn/{YPDSLXD2.js → NBYN44GP.js} +1 -1
- package/dist/cdn/{4HUPP5KY.js → NCBGRPO4.js} +1 -1
- package/dist/cdn/{6C542P4V.js → NGB5WVIG.js} +1 -1
- package/dist/cdn/{CVFKHMDF.js → NSOKY65Q.js} +1 -1
- package/dist/cdn/{N7G6DMQS.js → NV7K5IBW.js} +1 -1
- package/dist/cdn/{EUSNS4ZR.js → NWNMBN2U.js} +1 -1
- package/dist/cdn/{WD25DNJL.js → ONQKJHQF.js} +1 -1
- package/dist/cdn/{F3IKTIUT.js → OOZOKLAN.js} +1 -1
- package/dist/cdn/{KG4DME7S.js → OW3LJYAW.js} +1 -1
- package/dist/cdn/{7HGCXEVW.js → P5ZCQPIG.js} +1 -1
- package/dist/cdn/{ELVDMQEB.js → PBNP6WFU.js} +1 -1
- package/dist/cdn/{FC2KR2OJ.js → PL5FJKWH.js} +1 -1
- package/dist/cdn/{SB4Y3KAP.js → PNSES5YC.js} +1 -1
- package/dist/cdn/{D5DGYDNC.js → PYVC7VOE.js} +1 -1
- package/dist/cdn/{QXYIAQJR.js → Q7AWV6T7.js} +1 -1
- package/dist/cdn/{LSTPPCUH.js → Q7TBJT42.js} +1 -1
- package/dist/cdn/QIBBS7Z2.js +2 -0
- package/dist/cdn/{7RUDSAAC.js → QQJFRYNU.js} +1 -1
- package/dist/cdn/{IVBBBGIP.js → QTBE7N34.js} +1 -1
- package/dist/cdn/{3EJEDTKE.js → QWQY366N.js} +1 -1
- package/dist/cdn/{QJHRY67D.js → R2TL7RGF.js} +1 -1
- package/dist/cdn/{56HANFHY.js → R2YJFR4T.js} +1 -1
- package/dist/cdn/{OGRUHEZ4.js → RDARV7HC.js} +1 -1
- package/dist/cdn/{HSF2MYAX.js → RHXVVGD3.js} +1 -1
- package/dist/cdn/{45KA6IYP.js → RQXUHSYJ.js} +1 -1
- package/dist/cdn/{5UBFTTQG.js → RS4YM3X3.js} +1 -1
- package/dist/cdn/{MIRNWIIY.js → RSGPA5UD.js} +1 -1
- package/dist/cdn/{FOZXZGEZ.js → RXAUCQQC.js} +1 -1
- package/dist/cdn/{VRD2Y5E5.js → S22ZRUS7.js} +1 -1
- package/dist/cdn/{CL2BELDC.js → S2PCZUXW.js} +1 -1
- package/dist/cdn/{OMNTRBAL.js → S4PVHHL4.js} +1 -1
- package/dist/cdn/{2JK6IHRU.js → SDCDW6LW.js} +1 -1
- package/dist/cdn/{H2EVMLHD.js → SDJO7TU2.js} +1 -1
- package/dist/cdn/{34IPKNHM.js → SDWFNKIL.js} +1 -1
- package/dist/cdn/{ZS7I5TA6.js → SEEABOHD.js} +1 -1
- package/dist/cdn/{HHEQGXDE.js → SHZFDTMM.js} +1 -1
- package/dist/cdn/{4VH44HXD.js → SJT4UC5B.js} +1 -1
- package/dist/cdn/{IEUVYAB2.js → SMEKIUGI.js} +1 -1
- package/dist/cdn/{XPBKTZ6K.js → SPLMY3ET.js} +1 -1
- package/dist/cdn/{AQ5MEMRU.js → SRKRAAYN.js} +1 -1
- package/dist/cdn/{7F6SCTJC.js → SUUKWB22.js} +1 -1
- package/dist/cdn/{AFFS32W5.js → SVOAX4K6.js} +1 -1
- package/dist/cdn/{CO4UDHQO.js → SVPEZ73H.js} +1 -1
- package/dist/cdn/{5GD232OU.js → SWFTXNVA.js} +1 -1
- package/dist/cdn/{VQUASLS6.js → SWRUFDGD.js} +1 -1
- package/dist/cdn/{QORUWAIX.js → T7ZMS2L5.js} +1 -1
- package/dist/cdn/{53HZB27L.js → TATKNXHR.js} +1 -1
- package/dist/cdn/{VRZ2TCPU.js → THO5LAWY.js} +1 -1
- package/dist/cdn/{PPZFYY4R.js → TI4BX367.js} +1 -1
- package/dist/cdn/{G7AAB5J7.js → TIOCQR7Z.js} +1 -1
- package/dist/cdn/{SLPJAJDI.js → TUTTPXC5.js} +1 -1
- package/dist/cdn/{GTVZDMAZ.js → UFKHTNLP.js} +1 -1
- package/dist/cdn/UP4ICAUO.js +2 -0
- package/dist/cdn/{RYBETUNL.js → UPCPKKRL.js} +1 -1
- package/dist/cdn/{NEA3AO6Y.js → UPRC5DGZ.js} +1 -1
- package/dist/cdn/{ZA7J2T63.js → USGNZSD3.js} +1 -1
- package/dist/cdn/{BV5DVFHY.js → UZPRFNYH.js} +1 -1
- package/dist/cdn/{O2HG2WMJ.js → V522HKV2.js} +1 -1
- package/dist/cdn/{N6Y3DBA3.js → VCRTOOTR.js} +1 -1
- package/dist/cdn/{QBG72UPT.js → VGAUTY3U.js} +1 -1
- package/dist/cdn/{M2EPGLCO.js → VMFPLBAW.js} +1 -1
- package/dist/cdn/{5OJHCEN4.js → VNUQ4CCT.js} +1 -1
- package/dist/cdn/{CG52ER6Q.js → VXAY5W6P.js} +1 -1
- package/dist/cdn/{WW47L2EV.js → W5WXJT7N.js} +1 -1
- package/dist/cdn/{2SVHWSVG.js → WBTZYFQY.js} +1 -1
- package/dist/cdn/{NAW2XY64.js → WFGN3Z2K.js} +1 -1
- package/dist/cdn/{M2MHL5UA.js → WN23CO4W.js} +1 -1
- package/dist/cdn/WNHPFEPA.js +2 -0
- package/dist/cdn/{63AG67W4.js → WQNFBJ7C.js} +1 -1
- package/dist/cdn/{X6USSZBP.js → WVFQTFUT.js} +1 -1
- package/dist/cdn/{ICAEEYON.js → WXRDRJO2.js} +1 -1
- package/dist/cdn/WXSIUEVC.js +2 -0
- package/dist/cdn/{T4TCUOUB.js → WYC7AP3B.js} +1 -1
- package/dist/cdn/{732AA2XJ.js → XBEXETEH.js} +1 -1
- package/dist/cdn/{3S4WSOMS.js → XDNADMUB.js} +1 -1
- package/dist/cdn/{ABWJWVAT.js → XO23SMXO.js} +1 -1
- package/dist/cdn/{EFLJBQJB.js → XOOKXM7J.js} +1 -1
- package/dist/cdn/{VGMTHIUW.js → XWALVOZP.js} +1 -1
- package/dist/cdn/{S54DWYVB.js → YCU2NW3W.js} +1 -1
- package/dist/cdn/{ILE73UJE.js → YE74X5AX.js} +1 -1
- package/dist/cdn/{A4VZEZU3.js → YFM2FNJN.js} +1 -1
- package/dist/cdn/{6XJLNNXF.js → YGR7EQPR.js} +1 -1
- package/dist/cdn/{NFE73D6R.js → YHNRTH56.js} +1 -1
- package/dist/cdn/{OGYCHIZS.js → YMDPLIAN.js} +1 -1
- package/dist/cdn/{DXRIB5HU.js → YQMNH4EU.js} +1 -1
- package/dist/cdn/{GIMPEDA6.js → YT6GA6QR.js} +1 -1
- package/dist/cdn/{KI373EER.js → YTC3XBSZ.js} +1 -1
- package/dist/cdn/{7AJVAY4L.js → YX5QEVKH.js} +1 -1
- package/dist/cdn/{PLZVYFQY.js → YXA3DG4H.js} +1 -1
- package/dist/cdn/{U5BDUCMV.js → Z24LPE5P.js} +1 -1
- package/dist/cdn/{S6IOKQMR.js → ZC2ZAUG3.js} +1 -1
- package/dist/cdn/{6LPVSXTP.js → ZDGUYB7C.js} +1 -1
- package/dist/cdn/{P62M6P6V.js → ZSFJNJIA.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/AnalysisViewModel.js +3 -3
- package/dist/chunks/GeolocationPositioning.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +2 -2
- package/dist/chunks/constants.js +3 -3
- package/dist/chunks/feature-utils.js +7 -7
- package/dist/chunks/{building-layer-utils.js → layer-utils2.js} +21 -21
- package/dist/chunks/svgUtils.js +3 -3
- package/dist/chunks/utils2.js +3 -3
- package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
- package/dist/components/arcgis-building-discipline-tree/customElement.js +2 -2
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +4 -4
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-next/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +3 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +5 -5
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +9 -9
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +8 -7
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +7 -7
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/cdn/4YZWUM36.js +0 -2
- package/dist/cdn/5GFBHLDY.js +0 -2
- package/dist/cdn/DKIT622U.js +0 -2
- package/dist/cdn/FHDJ7G3W.js +0 -2
- package/dist/cdn/JLZ2PFNC.js +0 -2
- package/dist/cdn/K5WNMCOI.js +0 -2
- package/dist/cdn/LTBXZRS5.js +0 -2
- package/dist/cdn/PGOXXWOQ.js +0 -2
- package/dist/cdn/YUJMRIVW.js +0 -2
- /package/dist/cdn/{ZJZBS5ZY.js → WXLC6FPD.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{e as m}from"./
|
|
2
|
+
import{e as m}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import{N as g,T as p,b as t}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:v}])=>{var n=class extends g{constructor(){super(...arguments),this._direction=m(),this._disabled=!1,this._playing=!1}static{this.properties={_disabled:16,_playing:16,_isLive:16,viewModel:0,messages:0,inline:7}}loaded(){this.manager.onLifecycle(()=>[v(()=>[this.viewModel.state,this.viewModel.playing],()=>{let{state:i,playing:e}=this.viewModel;this._disabled=i==="not-ready"||i==="waiting",this._playing=e},{initial:!0}),v(()=>this.viewModel.layer?.isLive,i=>{this._isLive=i??void 0},{initial:!0})])}render(){let{viewModel:i,messages:e,_disabled:a,_playing:c}=this,s=this._isLive,h=this._direction==="rtl",l=t`<calcite-action .active=${c} alignment=center .disabled=${a} .icon=${c?"pause-f":"play-f"} @click=${c?()=>i.pause():()=>i.play()} scale=s .text=${c?e.pause:e.play}></calcite-action>`,$=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=reverse-f @click=${()=>i.seekBackward()} scale=s .text=${e.reverse}></calcite-action>`,y=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=forward-f @click=${()=>i.seekForward()} scale=s .text=${e.forward}></calcite-action>`,o=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=beginning-f @click=${()=>i.seekToBeginning()} scale=s .text=${e.beginning}></calcite-action>`,r=s?void 0:t`<calcite-action alignment=center .disabled=${a} icon=end-f @click=${()=>i.seekToEnding()} scale=s .text=${e.end}></calcite-action>`,d=this.inline?[o,l,r]:[o,$,l,y,r];return h&&d.reverse(),t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${d}</calcite-action-bar>`}};p("arcgis-video-player-actions-group",n);return n},"core/reactiveUtils")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./FHWOIM57.js";import{a as h}from"./VJVKFKSG.js";import{o as c}from"./WXLC6FPD.js";export default $arcgis.t(([{forceInteractive:m},f,{property:o,subclass:g},{ignoreAbortErrors:A},{when:I,watch:v,on:O,whenOnce:F},{getDefaultUnitForView:b},{b:u,c:d,d:_,e:y}])=>{var T=Object.defineProperty,R=Object.getOwnPropertyDescriptor,n=(s,i,t,a)=>{for(var r=a>1?void 0:a?R(i,t):i,l=s.length-1,p;l>=0;l--)(p=s[l])&&(r=(a?p(i,t,r):p(r))||r);return a&&r&&T(i,t,r),r},w=Symbol("interactiveHandle"),e=class extends f{constructor(){super({}),this.operationState="inactive",this._ownsAnalysis=!1,this.shouldForceInteractive=!0,this._changeFromReconnect=!1,this._userOperationInfo=null,this._loggedUnsupportedErrorMessage=!1}initialize(){this._set("analysis",this.constructAnalysis()),this._ownsAnalysis=!0;let s=()=>{!this._changeFromReconnect&&!this._viewHasAnalysis&&(this._ownsAnalysis=!1);let i=!this._changeFromReconnect;this._changeFromReconnect=!1,i&&this._scheduleViewReconnect()};this.addHandles([I(()=>this.view?.ready&&!this.supported,()=>{this._loggedUnsupportedErrorMessage||c("error",this,this.unsupportedErrorMessage)},{sync:!0,initial:!0}),v(()=>[this.analysis,this._viewHasAnalysis],s,{sync:!0}),O(()=>this.view,"analysis-view-destroy",i=>{i.analysis===this.analysis&&s()}),v(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:i},t)=>{let a=t?.view;i!==a&&(this._userOperationInfo=h(this._userOperationInfo),this._disconnectFromView(a)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=h(this._reconnectViewTask),this._userOperationInfo=h(this._userOperationInfo),this.analysisView!=null&&(this.analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this._ownsAnalysis&&this.analysis?.destroy()}get defaultMeasurementSystem(){return this.view?.ready?b(this.view):"metric"}get active(){return this._userOperationInfo?.state==="running"}set analysis(s){s!==this._get("analysis")&&(this._userOperationInfo=h(this._userOperationInfo),this._disconnectFromView(this.view),this._setExternalAnalysis(s),this._scheduleViewReconnect())}get connectingToView(){return!!this._reconnectViewTask}get disabled(){return!this.view?.ready||!this.supported}set hideVisualization(s){this._set("hideVisualization",s),this.analysisView&&(this.analysisView.visible=!s)}get ready(){return!!this.analysisView&&!this.connectingToView}get supported(){return!this.view||this.supportedViewType==="both"||this.view.type===this.supportedViewType}get _viewHasAnalysis(){let{view:s}=this;return s?.analyses.includes(this.analysis)===!0}clear(){this._userOperationInfo=h(this._userOperationInfo),this.clearAnalysis()}async start(s){if(this.hideVisualization){c("warn",this,"Cannot start analysis when not visible");return}this.stop(),s?.clear!==!1&&this.clear();let i={task:null,abort:null,state:"pending"},t=y(async a=>{if(i.state="wait-for-view-ready",await F(()=>this.ready,a),i.state="running",!this.analysisView||!this.view)return;this.operationState="active";let r=s?.operation?.({signal:a})??this.place({signal:a});await A(r)});return t.promise.finally(()=>{(this._userOperationInfo===i||!this._userOperationInfo)&&(this.operationState="inactive")}),i.task=t,i.abort=()=>t.abort(),this._userOperationInfo=i,await t.promise}stop(){this._userOperationInfo=h(this._userOperationInfo)}place(s){throw new Error("place() not implemented for this analysis view model")}clearAnalysis(){}onConnectToAnalysisView(s){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=h(this._reconnectViewTask);let s=y(async i=>{try{await this._reconnectView(i)}catch(t){if(u(i),!_(t)){c("warn",this,`Failed to use analysis in view model. ${String(t)}`);return}throw t}finally{s===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=s}async _reconnectView(s){let{view:i}=this,t=i?.ready&&this.supported,a=this.analysis;if(this._userOperationInfo=V(this._userOperationInfo),this._disconnectFromView(i),!t||!i||!a)return;this._ownsAnalysis&&(this._changeFromReconnect=!0,i.analyses.add(a));let r=await i.whenAnalysisView(a);if(this.analysisView=r,d(s)){this._userOperationInfo=V(this._userOperationInfo);return}r.visible=!this.hideVisualization,this.shouldForceInteractive&&this.addHandles(m(r),w),this.onConnectToAnalysisView(r)}_disconnectFromView(s){this._ownsAnalysis&&s?.analyses.includes(this.analysis)&&(this._changeFromReconnect=!0,this.clearAnalysis(),s.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this.removeHandles(w),this.analysisView=void 0}_setExternalAnalysis(s){this.analysisView&&!this._ownsAnalysis&&(this.analysisView.visible=void 0,this.removeHandles(w)),this.analysisView=void 0,this._ownsAnalysis=!1,this._set("analysis",s),this._changeFromReconnect=!1}};n([o()],e.prototype,"defaultMeasurementSystem",1);n([o()],e.prototype,"active",1);n([o()],e.prototype,"analysis",1);n([o()],e.prototype,"connectingToView",1);n([o()],e.prototype,"disabled",1);n([o()],e.prototype,"hideVisualization",1);n([o()],e.prototype,"operationState",2);n([o()],e.prototype,"ready",1);n([o()],e.prototype,"supported",1);n([o()],e.prototype,"view",2);n([o()],e.prototype,"_ownsAnalysis",2);n([o()],e.prototype,"_viewHasAnalysis",1);n([o()],e.prototype,"_reconnectViewTask",2);n([o()],e.prototype,"analysisView",2);n([o()],e.prototype,"shouldForceInteractive",2);e=n([g("esri.components.support.AnalysisViewModel")],e);function V(s){return s?.state==="running"?(s.abort(),null):s}return e},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils","applications/Components/getDefaultUnits",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./MZWO5JYA.js";import{a as N}from"./
|
|
2
|
+
import a from"./MZWO5JYA.js";import{a as N}from"./2BVXNQ3U.js";import"./3AQ6NC3C.js";import"./A4X5YDA6.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import{N as P,T as C,a as I,b as w,o as c,q as y,w as T}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([E,L,u,G,A,M,S,x,{c:v,f:$}])=>{var U=I`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}`,k=class extends P{constructor(){super(...arguments),this._messages=N({blocking:!0}),this._isSelectWaiting=!1,this.traceLocationType="starting-point",this.spatialTolerance=.05,this.autoDestroyDisabled=!1,this.arcgisTraceLocationChange=T(),this.arcgisTraceLocationSelectEnd=T(),this.arcgisTraceLocationSelectStart=T()}static{this.properties={_isSelectWaiting:16,beforeTraceLocationSelectStart:0,afterHitTest:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,spatialTolerance:9,autoDestroyDisabled:5,utilityNetwork:0}}static{this.styles=U}#e;async destroy(){this.#i(),await this.manager.destroy()}async load(){u.isLoaded()||await u.load()}#r(t,e){let i=t.clone(),a=i.spatialReference,o=e.spatialReference;if(!a||!o)return c("warn",this,"Unable to calculate percent along because geometry is missing a spatial reference."),-1;let s=e;if(!a.equals(o)){let m=u.execute(e,a);if(!m)return c("warn",this,"Unable to project flag point to source geometry spatial reference."),-1;s=m}let l=G.getNearestCoordinate(i,s);if(l.isEmpty)return c("warn",this,"Unable to compute nearest coordinate for polyline flag."),-1;let r=l.coordinate,n=r.x-.5,p=r.y-.5,h=r.x+.5,g=r.y+.5,f=new A({hasZ:!1,hasM:!0,paths:[[[n,p],[h,g]]],spatialReference:i.spatialReference}),d=E.execute(i,f);if(d.length>0){let m=L.execute(i,{unit:"feet"}),b;return d[0].paths[0][0][0]===i.paths[0][0][0]?b=L.execute(d[0],{unit:"feet"}):d.length>1?b=L.execute(d[1],{unit:"feet"}):b=0,b/m}return c("warn",this,"Unable to cut the source geometry with the flag geometry."),-1}get#a(){let t=this.utilityNetwork?.dataElement?.domainNetworks;return t?t.flatMap(e=>e.edgeSources).map(e=>e.layerId).filter(Boolean):[]}async#o(){let{view:t,sketchViewModel:e}=this;if(!(t&&e)){c("error",this,"Cannot add trace location."),e||c("error",this,y("sketchViewModel")),t||c("error",this,y("view"));return}if(this.beforeTraceLocationSelectStart){this._isSelectWaiting=!0;try{await this.beforeTraceLocationSelectStart()}finally{this._isSelectWaiting=!1}}await this.#t(t,e)}async#t(t,e){this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>e.cancel()}).defaultPrevented||(this.#e?.remove(),this.#e=e.on("create",i=>this.#s(i,t,e)),"acquireCursor"in t&&t.acquireCursor("crosshair"),e.snappingOptions.enabled=!0,e.create("point"))}#s(t,e,i){if(t.state==="complete"&&t.graphic){i.layer.remove(t.graphic),this.#n(t,e,i);return}t.state==="cancel"&&(this.#i(),this.arcgisTraceLocationSelectEnd.emit())}async#n(t,e,i){let{utilityNetwork:a}=this,{graphic:o}=t;if(!a){c("error",this,y("utilityNetwork")),this.#i(),this.arcgisTraceLocationSelectEnd.emit();return}if(o?.geometry?.type!=="point"){c("warn",this,"No screen point available for hit test."),this.#t(e,i);return}let s=o.geometry,l=e.toScreen(s);if(!l){c("warn",this,"No screen point available for hit test."),this.#t(e,i);return}let r=(await e.hitTest(l,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(!r.length){c("info",this,"No usable hit test results found."),this.#t(e,i);return}this.#i(),await this.#c(r,s,e)?this.arcgisTraceLocationSelectEnd.emit():this.#t(e,i)}#i(){let{view:t,sketchViewModel:e}=this;if(!t){c("error",this,y("view"));return}e&&(e.snappingOptions.enabled=!1),this.#e?.remove(),this.#e=void 0,"acquireCursor"in t&&t.acquireCursor("default")}async#c(t,e,i){if(!t.length)return c("error",this,"There are no hit test results to process."),!1;let a=t[0].graphic;if(this.afterHitTest){let s=t.map(l=>{let r=l,n=r.graphic;return n.origin=r.layer,n.sourceLayer=r.layer,n});try{a=await this.afterHitTest(s)}catch{a=null}}if(!a)return c("error",this,"No graphic available from hit test results."),this.arcgisTraceLocationSelectEnd.emit(),!0;let o=await this.#l(a);return o?await this.#p(o,e,i):(c("error",this,"Unable to ensure necessary attributes on the selected graphic."),this.arcgisTraceLocationSelectEnd.emit(),!0)}async#l(t){let e=(v(t.layer),t.layer),i=e.geometryType===null,a=e.fieldsIndex?.get("assetgroup")??!1,o=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",s=e.fieldsIndex?.get("assettype")??!1,l=e.fieldsIndex?.get("assettype")?.name??"assettype",r=t.getGlobalId(),n=t.getObjectId(),p=a?!!t.getAttribute(o):!0,h=s?!!t.getAttribute(l):!0,g=!!t.geometry;if(r&&n&&p&&h&&(g||i))return t;let f=e.createQuery();return f.objectIds=[n],(await e.queryFeatures(f)).features[0]||null}async#p(t,e,i){let{traceLocations:a}=this,o=t.getGlobalId()??"",s=t.geometry?.type,l=await this.#h(t,e);if(!l)return c("error",this,"Unable to generate flag info for trace location."),!1;let r=a?.filter(p=>p.spatialProperties.mapGraphic?.getGlobalId()===o)??[];if(r.length>0){if(s!=="polyline")return c("warn",this,"A flag with the same globalId already exists."),!1;if(r.some(p=>Math.abs(p.traceLocation.percentAlong-l.traceLocation.percentAlong)<=this.spatialTolerance))return c("warn",this,"A flag with the same globalId already exists within tolerance."),!1}let n=this.#g(t,e,i);return n?(l.spatialProperties.flagGraphic=n,a?.add(l),!0):(c("warn",this,"Unable to add flag graphic."),!1)}async#h(t,e){let{traceLocationType:i,utilityNetwork:a}=this,o=t.getGlobalId()??"",s=t.geometry?.type,l=await this.#u(t);if(s==="point"||s==="polygon"){let r=a?.getTerminalConfiguration(t),n=r?r.terminals[0].id:1;return{traceLocation:new S({type:i,isFilterBarrier:!1,globalId:o,terminalId:n}),flagProperties:{title:l,expanded:!1,terminalConfiguration:r??void 0,selectedTerminals:r?new Set([n]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(s==="polyline"){let r=this.#r(t.geometry,e);return r<0?(c("warn",this,"Unable to calculate percent along for polyline flag."),null):{traceLocation:new S({type:i,isFilterBarrier:!1,globalId:o,percentAlong:r}),flagProperties:{title:l,expanded:!1,terminalConfiguration:void 0,selectedTerminals:void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(!s){let r=$(t.layer)?t.layer.parent:t.layer,n=r&&this.#a.includes(r.layerId),p=a?.getTerminalConfiguration(t),h=p?p.terminals[0].id:n?-1:1,g=n?.5:-1;return{traceLocation:new S({type:i,isFilterBarrier:!1,globalId:o,terminalId:h,percentAlong:g}),flagProperties:{title:l,expanded:!1,terminalConfiguration:p??void 0,selectedTerminals:p?new Set([h]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async#u(t){let e=(v(t.layer),t.layer);return("getFeatureTitle"in e?await e.getFeatureTitle(t):null)||t.getObjectId()?.toString()||this._messages.unknown}#g(t,e,i){let a=t.geometry?t.geometry.type==="point"?t.geometry:e:null,o=this.#d(),s=new M({geometry:a,symbol:o,attributes:t.attributes});return i.graphics.add(s),s}#d(){let{traceLocationType:t}=this,e=[244,21,21,.6],i=[21,244,21,.6];return t==="stopping-point"?new x({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new x({color:e,style:"square",size:12,outline:{color:e,width:0}}):new x({color:i,style:"circle",size:12,outline:{color:i,width:0}})}#y(){let{view:t,traceLocations:e}=this;e?.forEach(i=>{i.spatialProperties.flagGraphic&&t&&t.graphics.remove(i.spatialProperties.flagGraphic)}),e?.removeAll()}#f(){let{traceLocationType:t,_messages:e,traceLocations:i,view:a}=this,o=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,s=o.heading,l=o.description,r=o.buttonText;return w`<calcite-block .heading=${s} .label=${s} expanded .description=${l}>${i?.length?w`<calcite-button slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this.#y()}>${e.buttons.clear}</calcite-button><arcgis-utility-network-trace-location-list .traceLocations=${i} .traceLocationType=${t} .view=${a}></arcgis-utility-network-trace-location-list>`:null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${r} @click=${()=>this.#o()}>${r}</calcite-button></div></calcite-block>`}render(){return w`<div class="root">${this.#f()}</div>`}};C("arcgis-utility-network-trace-location",k);return k},"geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/operators/proximityOperator","geometry/Polyline","Graphic","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./7HL2TQ7E.js";import a from"./MZWO5JYA.js";import{M as s,N as c,T as l,a as n,b as o}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:g},{renderingSanitizer:m},,{f:h,q:r}])=>{var f=n`.loader-container{display:flex;align-items:center;justify-content:center;padding:0;height:150px}.root{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-normal)}.root h1,.root h2,.root h3,.root h4,.root h5,.root h6{margin:var(--calcite-spacing-sm) 0;line-height:var(--calcite-font-line-height-relative-tight);letter-spacing:0;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-semibold)}.root h1{font-size:var(--calcite-font-size-xxl)}.root h2{font-size:var(--calcite-font-size-xl)}.root h3{font-size:var(--calcite-font-size-lg)}.root h4,.root h5,.root h6{font-size:var(--calcite-font-size)}.description{margin-bottom:var(--calcite-spacing-sm)}.root p{margin:0 0 var(--calcite-spacing-sm);font-size:var(--calcite-font-size)}.root p:last-child{margin-block-end:0}.root img{max-width:100%;max-height:100%;image-orientation:from-image}.root video{max-width:100%;max-height:100%}.root figure{margin:0;padding:0}.root figcaption{display:block;margin:var(--calcite-spacing-sm) 0 0;padding:0;font-size:var(--calcite-font-size-sm);font-style:italic}.root ul,.root ol{margin-block:var(--calcite-spacing-sm)}.root ul:first-child,.root ol:first-child{margin-block-start:0}.root a,.root a:hover,.root a:focus{color:var(--calcite-color-text-link)}`,a=class extends c{static{this.properties={_loadingPromise:16,_created:16,creator:1,destroyer:0,graphic:0}}static{this.styles=f}loaded(){this.manager.onLifecycle(()=>g(()=>this.creator,t=>{this._destroyContent(),this._createContent(t)},{initial:!0}))}async _createContent(t){let{graphic:e}=this;if(!e||!t)return;let i=r({type:"content",value:t,event:{graphic:e}});this._loadingPromise=i;let d=await i;i===this._loadingPromise&&(this._loadingPromise=void 0,this._created=d)}_destroyContent(){let{_created:t,graphic:e,destroyer:i}=this;t&&e&&(r({type:"content",value:i,event:{graphic:e}}),this._created=null)}_addTargetToAnchors(t){t&&Array.from(t.querySelectorAll("a")).forEach(e=>{h(e.href)&&!e.hasAttribute("target")&&e.setAttribute("target","_blank")})}render(){return o`<div class="root">${this._loadingPromise?this._renderLoading():this._renderCreated()}</div>`}_renderLoading(){return o`<div class="loader-container"><calcite-loader inline label></calcite-loader></div>`}_renderCreated(){let{_created:t}=this;return t instanceof HTMLElement?t:typeof t=="string"?o`<div .innerHTML=${m.sanitize(t)??""} ${s(this._addTargetToAnchors)}></div>`:null}};l("arcgis-feature-content",a);return a},"core/reactiveUtils","applications/Components/sanitizerUtils",a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as d,b as m,c as g}from"./4SV6HHMC.js";import{a as n}from"./
|
|
2
|
+
import{a as d,b as m,c as g}from"./4SV6HHMC.js";import{a as n}from"./2BVXNQ3U.js";import f from"./YHNRTH56.js";import{g as s}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import b from"./SDWFNKIL.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import{N as o,T as r,a,b as e,w as c}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([,{a:l}])=>{var u=a`calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-background-color-press: var(--calcite-color-foreground-1);--calcite-action-background-color: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-1);--calcite-action-text-color: var(--calcite-color-text-1);cursor:default}calcite-input-time-zone{--calcite-color-background: var(--calcite-color-foreground-1);--calcite-color-border-input: transparent}calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium);padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}`,i=class extends o{constructor(){super(...arguments),this._messages=n({blocking:!0}),this.disabled=!1,this.icon="time-zone",this.view=l(this),this.arcgisPropertyChange=s()("state"),this.arcgisReady=c()}static{this.properties={_interactive:16,_resolvedTimeZone:16,actionIcon:3,disabled:7,icon:3,messageOverrides:0,label:1,referenceElement:1,state:32,view:0}}static{this.styles=u}get _interactive(){return!(this.disabled||this.state==="disabled")}get _resolvedTimeZone(){let t=this.view?.timeZone;return!t||t===d?g:t}get state(){return this.view?.ready?"ready":"disabled"}render(){return e`<calcite-action .disabled=${!this._interactive} .icon=${this.actionIcon} text>${this._resolvedTimeZone===m?e`<calcite-label>${this._messages.noAdjustment}</calcite-label>`:e`<calcite-input-time-zone mode=region overlay-positioning=fixed read-only .value=${this._resolvedTimeZone}></calcite-input-time-zone>`}</calcite-action>`}};r("arcgis-time-zone-label",i);return i},b,f)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./22ORLWUA.js";import b from"./FVZJPOWC.js";import a from"./4RYR4YDD.js";import{N as u,O as n,P as e,T as $,a as w,b as i}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([,,{a:x,b:d,d:p,e:z,g:v,h:o,i:E}])=>{var H=w`.layer-body{display:table}.layer-row{display:table-row}.layer-cell{display:table-cell;padding:var(--calcite-space-2xs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.symbol{display:flex;justify-content:center}.ramps{margin-left:var(--calcite-space-md)}:dir(rtl) .ramps{margin-right:var(--calcite-space-md);margin-left:auto}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.univariate-above-below-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.univariate-above-below-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.univariate-above-below-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.univariate-above-below-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .univariate-above-below-label{margin-right:var(--calcite-space-sm);margin-left:auto}:dir(rtl) .univariate-above-below-label:before{right:-19px;left:auto}.univariate-above-below-symbol{display:flex;align-items:center;justify-content:center}`,m=class extends u{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=H}render(){let{legendElement:A,opacity:c}=this,{sizeRampElement:t,colorRampElement:b}=z(A,this.messages,c);if(!t)return null;let f=this.messages.previewColorRampAriaLabel,h=p(t,"above",!0),y=p(t,"below",!0),g=12,s=d(b,{width:g,height:h,rampAlignment:"vertical",opacity:c,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),k=d(b,{width:g,height:y,rampAlignment:"vertical",opacity:c,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),F=x(t),r=t.infos.map(a=>a.label),L=r.map((a,l)=>l===0?i`<div class=${n(a?s?"univariate-above-below-label":"ramp-label":void 0)}>${a}</div>`:l===2?i`<div></div>`:null),R=r.length-1,j=Math.floor(r.length/2),C=r.map((a,l)=>l===j||l===R?i`<div class=${n(a?s?"univariate-above-below-label":"ramp-label":void 0)}>${a}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},B={marginTop:`${F}px`},S={height:`${h}px`},U={height:`${y}px`};return i`<div style=${e(E)}><div class="layer-body">${t.infos.map((a,l)=>i`<div class="layer-row"><div class="symbol" style=${e(M)}>${a.preview}</div>${!s&&l%2===0?i`<div class="layer-cell layer-cell-info">${r[l]}</div>`:null}</div>`)}</div>${s?i`<div style=${e(B)}><div style=${e(v)}><div style=${e(o)}><div class="ramps">${s}</div></div><div style=${e(o)}><div class="ramp-labels" style=${e(S)}>${L}</div></div></div><div style=${e(v)}><div style=${e(o)}><div class="ramps">${k}</div></div><div style=${e(o)}><div class="ramp-labels" style=${e(U)}>${C}</div></div></div></div>`:null}</div>`}};$("arcgis-legend-classic-univariate-above-and-below-ramp",m);return m},a,b,c)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import i from"./G3GFYB3W.js";import{a as _}from"./NDMHZQ2Z.js";import{a as D}from"./JD74LG7K.js";import e from"./K3VQUQ6I.js";import c from"./NFE73D6R.js";import{g as b}from"./5GFBHLDY.js";import"./42UVPIOD.js";import a from"./34IPKNHM.js";import"./QUZTFUWM.js";import{d as u}from"./QLIWDFZI.js";import{L as d,M as g,N as w,O as h,Q as f,T as y,a as v,b as o,w as x}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([{on:I,when:C,watch:H},P,{property:p,subclass:M},,,,$])=>{var O=Object.defineProperty,L=Object.getOwnPropertyDescriptor,l=(i,e,t,a)=>{for(var s=a>1?void 0:a?L(e,t):e,n=i.length-1,c;n>=0;n--)(c=i[n])&&(s=(a?c(e,t,s):c(s))||s);return a&&s&&O(e,t,s),s},E=new EventTarget;function S(i,e,t){let a=!1,s=H(i,(n,c)=>{a||e(n,c)},t);return{remove(){s.remove()},pause(){a=!0},resume(){a=!1}}}var r=class extends P{constructor(i){super(i),this._viewpointHandle=null,this.addHandles(I(()=>E,"expand",e=>{let{target:t}=e.detail;t!==this&&t.expanded&&t.group&&t.group===this.group&&this.expanded&&this._collapse()}))}destroy(){this._viewpointHandle=null,this.view=null}set autoCollapse(i){this._set("autoCollapse",i),this._watchViewpoint()}set expanded(i){this._set("expanded",i),this.group&&i&&E.dispatchEvent(new CustomEvent("expand",{detail:{target:this}})),this._viewpointHandleChange(i)}get state(){return this.view?.ready?"ready":"disabled"}set view(i){this._get("view")!==i&&(this._set("view",i),i&&C(()=>i.ready,()=>{this.view===i&&this._watchViewpoint()},{once:!0,initial:!0}))}_viewpointHandleChange(i){this._viewpointHandle&&(i?C(()=>this.view?.stationary,()=>this._viewpointHandle?.resume(),{once:!0,initial:!0}):this._viewpointHandle.pause())}_watchViewpoint(){let i="viewpoint";this.removeHandles(i),this._viewpointHandle=null;let{autoCollapse:e,view:t}=this;if(!t||!e)return;let a=S(()=>t.type==="3d"?t.camera:t.viewpoint,()=>this._collapse());this.addHandles(a,i),this._viewpointHandle=a}_collapse(){this.expanded=!1}};l([p({value:!1})],r.prototype,"autoCollapse",1);l([p({value:!1})],r.prototype,"expanded",1);l([p()],r.prototype,"group",2);l([p({readOnly:!0})],r.prototype,"state",1);l([p({value:null})],r.prototype,"view",1);r=l([M("map-components.expand.ExpandViewModel")],r);var j=v`:host{display:flex;pointer-events:auto;--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: none}arcgis-expand>.content-expanded{background-color:var(--calcite-color-background)}.root{--esri-widget-panel-max-height: 95svh;--calcite-sheet-max-height: var(--esri-widget-panel-max-height);--calcite-sheet-height: auto;--calcite-action-corner-radius: 0}.action{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);justify-content:center;align-items:center;margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;flex-direction:column;overflow:hidden}.toggle{position:relative}.popover-content{flex-direction:column;display:flex;max-height:var(--arcgis-internal-expand-max-height, 95svh);::slotted(*){max-height:var(--arcgis-internal-expand-max-height, 95svh);overflow-y:auto}::slotted(arcgis-sketch){--arcgis-internal-sketch-gap: var(--calcite-spacing-none)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out}}.popover-content .esri-widget--panel{width:300px}.panel{max-height:var(--esri-widget-panel-max-height)}.panel-content{::slotted(*){width:100%}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-grid-controls)){overflow-y:auto}}.panel-content .esri-widget{width:auto}.panel-content .esri-widget--panel{flex:auto}.arcgis-map-container-ui__element .popover-content .esri-widget,.arcgis-map-container-ui__element .popover-content .esri-widget.esri-component,.arcgis-map-container-ui__element .panel-content .esri-widget,.arcgis-map-container-ui__element .panel-content .esri-widget.esri-component,.popover-content .esri-widget,.popover-content .esri-widget.esri-component,.panel-content .esri-widget,.panel-content .esri-widget.esri-component{box-sizing:border-box;box-shadow:none;margin-bottom:0}.panel-content,.content-container{background-color:var(--calcite-color-foreground-1);flex-direction:column;flex:auto;justify-content:stretch;display:flex}.sheet .panel-content,.sheet .content-container{overflow:hidden}.panel-icon-number{align-self:center}.icon{display:flex}calcite-button:not(:hover) .icon:not(calcite-icon){color:var(--calcite-color-text-3)}.icon-flip{transform:var(--arcgis-internal-collapse-icon-flip)}.icon-number{transform-origin:50%;color:var(--calcite-color-text-inverse);pointer-events:none;background-color:var(--calcite-color-text-3);border-radius:var(--calcite-spacing-xl);justify-content:center;align-items:center;height:var(--calcite-spacing-lg);padding:.125em .333em;font-size:var(--calcite-font-size-sm);line-height:1em;display:flex;position:absolute;top:-6px;left:var(--arcgis-internal-expand-icon-number-spacing-left);right:var(--arcgis-internal-expand-icon-number-spacing-right)}`,k="chevrons-left",T="chevrons-right",z=$(r),m=class extends w{constructor(){super(...arguments),this.popoverEl=d(),this.messages=_({}),this.viewModel=z(this),this.toggleActionEl=d(),this.view=this.viewModel.view,this.state=this.viewModel.state,this.autoDestroyDisabled=!1,this.autoCollapse=this.viewModel.autoCollapse,this.closeOnEscDisabled=!1,this.content="",this.expanded=this.viewModel.expanded,this.expandTooltip="",this.collapseTooltip="",this.focusTrapDisabled=!1,this.group=this.viewModel.group,this.iconNumber=0,this.mode="auto",this.topLayerDisabled=!1,this.visualScale="m",this.arcgisPropertyChange=b()("expanded"),this.arcgisReady=x()}static{this.properties={expandTitle:16,_displaySheet:16,view:0,state:32,icon:1,label:1,autoDestroyDisabled:5,referenceElement:1,autoCollapse:5,closeOnEscDisabled:5,content:1,expanded:7,expandIcon:3,expandTooltip:1,collapseIcon:3,collapseTooltip:1,focusTrapDisabled:5,group:1,iconNumber:9,mode:1,placement:1,messageOverrides:0,topLayerDisabled:5,visualScale:1}}static{this.styles=j}get expandTitle(){let{expanded:e,messages:t,collapseTooltip:a,expandTooltip:s}=this;return(e?a||t.collapse:s||t.expand)??""}get _displaySheet(){switch(this.mode){case"drawer":return!0;case"auto":return this.viewModel.view?.widthBreakpoint==="xsmall";default:return!1}}get expandIcon(){if(this._expandIcon)return this._expandIcon;let e=null;return this.content instanceof HTMLElement&&("widget"in this.content&&this.content.widget?.icon?e=this.content.widget.icon:"icon"in this.content?e=this.content.icon:e=this.content.getAttribute("icon")),e??k}set expandIcon(e){this._expandIcon=e}get collapseIcon(){return this._collapseIcon??T}set collapseIcon(e){this._collapseIcon=e}async collapse(){this.expanded=!1}async destroy(){await this.manager.destroy()}async expand(){this.expanded=!0}loaded(){this.manager.onLifecycle(()=>[H(()=>this.viewModel?.view?.size,()=>{this.popoverEl?.value?.reposition()},{initial:!0})])}toggle(){this.expanded=!this.expanded}getPopoverPlacement(){if(this.placement)return this.placement;switch(this.el.slot){case"bottom-start":case"bottom-left":return"right-end";case"bottom-right":case"bottom-end":return"left-end";case"top-start":case"top-left":return"right-start";case"top-right":case"top-end":return"left-start";default:return"auto"}}_isCloseOnEscapeDisabled(e){let{closeOnEscDisabled:t}=this;return typeof t=="function"?t(e):t}_handlePopoverClose(e){e.target===this.popoverEl.value&&this.collapse()}_handleKeyDown(e){this.expanded&&e.key==="Escape"&&this._isCloseOnEscapeDisabled(e)&&e.preventDefault()}render(){let{_displaySheet:e,toggleActionEl:t,expanded:a,label:s,topLayerDisabled:n}=this;return o`<div class=${h(u("root",D.widget))}>${this._renderToggle()}${e?o`<calcite-sheet class="sheet" height=l .label=${s??""} .topLayerDisabled=${n} @keydown=${this._handleKeyDown} .open=${a} position=block-end @calciteSheetClose=${this.collapse}><calcite-panel class="panel" closable .closed=${!a} .heading=${s} @keydown=${this._handleKeyDown} @calcitePanelClose=${this.collapse}><div class="panel-content">${this._renderContent()}</div></calcite-panel></calcite-sheet>`:t.value?o`<calcite-popover .focusTrapDisabled=${this.focusTrapDisabled} .label=${s??""} @keydown=${this._handleKeyDown} trigger-disabled .open=${a} overlay-positioning=fixed .placement=${this.getPopoverPlacement()} .referenceElement=${t.value} .topLayerDisabled=${n} @calcitePopoverClose=${this._handlePopoverClose} ${g(this.popoverEl)}><div class="popover-content">${this._renderContent()}</div></calcite-popover>`:null}</div>`}_renderBadgeNumber(){let{expanded:e,iconNumber:t}=this;return t&&!e?o`<span class="icon-number">${t}</span>`:null}_renderToggleButton(){let{expanded:e,expandTitle:t,expandIcon:a,collapseIcon:s}=this,n=e?s:a;return o`<calcite-action class=${h(u("action","icon",{"icon-flip":n===k||n===T}))} @click=${this.toggle} .text=${t} title=${t??f} .icon=${n} .scale=${this.visualScale} appearance=solid ${g(this.toggleActionEl)}></calcite-action>`}_renderToggle(){return o`<div class="toggle">${this._renderToggleButton()}${this._renderBadgeNumber()}</div>`}_renderContent(){return o`<div class="content-container"><slot></slot></div>`}};y("arcgis-expand",m);return m},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators",a,c,e,i)
|
|
2
|
+
import i from"./3T7L7UT5.js";import{a as _}from"./2BVXNQ3U.js";import{a as D}from"./JD74LG7K.js";import e from"./2FM2FJAY.js";import c from"./YHNRTH56.js";import{g as b}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import a from"./SDWFNKIL.js";import"./QUZTFUWM.js";import{d as u}from"./4W3T75SY.js";import{L as d,M as g,N as w,O as h,Q as f,T as y,a as v,b as o,w as x}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{on:I,when:C,watch:H},P,{property:p,subclass:M},,,,$])=>{var O=Object.defineProperty,L=Object.getOwnPropertyDescriptor,l=(i,e,t,a)=>{for(var s=a>1?void 0:a?L(e,t):e,n=i.length-1,c;n>=0;n--)(c=i[n])&&(s=(a?c(e,t,s):c(s))||s);return a&&s&&O(e,t,s),s},E=new EventTarget;function S(i,e,t){let a=!1,s=H(i,(n,c)=>{a||e(n,c)},t);return{remove(){s.remove()},pause(){a=!0},resume(){a=!1}}}var r=class extends P{constructor(i){super(i),this._viewpointHandle=null,this.addHandles(I(()=>E,"expand",e=>{let{target:t}=e.detail;t!==this&&t.expanded&&t.group&&t.group===this.group&&this.expanded&&this._collapse()}))}destroy(){this._viewpointHandle=null,this.view=null}set autoCollapse(i){this._set("autoCollapse",i),this._watchViewpoint()}set expanded(i){this._set("expanded",i),this.group&&i&&E.dispatchEvent(new CustomEvent("expand",{detail:{target:this}})),this._viewpointHandleChange(i)}get state(){return this.view?.ready?"ready":"disabled"}set view(i){this._get("view")!==i&&(this._set("view",i),i&&C(()=>i.ready,()=>{this.view===i&&this._watchViewpoint()},{once:!0,initial:!0}))}_viewpointHandleChange(i){this._viewpointHandle&&(i?C(()=>this.view?.stationary,()=>this._viewpointHandle?.resume(),{once:!0,initial:!0}):this._viewpointHandle.pause())}_watchViewpoint(){let i="viewpoint";this.removeHandles(i),this._viewpointHandle=null;let{autoCollapse:e,view:t}=this;if(!t||!e)return;let a=S(()=>t.type==="3d"?t.camera:t.viewpoint,()=>this._collapse());this.addHandles(a,i),this._viewpointHandle=a}_collapse(){this.expanded=!1}};l([p({value:!1})],r.prototype,"autoCollapse",1);l([p({value:!1})],r.prototype,"expanded",1);l([p()],r.prototype,"group",2);l([p({readOnly:!0})],r.prototype,"state",1);l([p({value:null})],r.prototype,"view",1);r=l([M("map-components.expand.ExpandViewModel")],r);var j=v`:host{display:flex;pointer-events:auto;--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: none}arcgis-expand>.content-expanded{background-color:var(--calcite-color-background)}.root{--esri-widget-panel-max-height: 95svh;--calcite-sheet-max-height: var(--esri-widget-panel-max-height);--calcite-sheet-height: auto;--calcite-action-corner-radius: 0}.action{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);justify-content:center;align-items:center;margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;flex-direction:column;overflow:hidden}.toggle{position:relative}.popover-content{flex-direction:column;display:flex;max-height:var(--arcgis-internal-expand-max-height, 95svh);::slotted(*){max-height:var(--arcgis-internal-expand-max-height, 95svh);overflow-y:auto}::slotted(arcgis-sketch){--arcgis-internal-sketch-gap: var(--calcite-spacing-none)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out}}.popover-content .esri-widget--panel{width:300px}.panel{max-height:var(--esri-widget-panel-max-height)}.panel-content{::slotted(*){width:100%}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-grid-controls)){overflow-y:auto}}.panel-content .esri-widget{width:auto}.panel-content .esri-widget--panel{flex:auto}.arcgis-map-container-ui__element .popover-content .esri-widget,.arcgis-map-container-ui__element .popover-content .esri-widget.esri-component,.arcgis-map-container-ui__element .panel-content .esri-widget,.arcgis-map-container-ui__element .panel-content .esri-widget.esri-component,.popover-content .esri-widget,.popover-content .esri-widget.esri-component,.panel-content .esri-widget,.panel-content .esri-widget.esri-component{box-sizing:border-box;box-shadow:none;margin-bottom:0}.panel-content,.content-container{background-color:var(--calcite-color-foreground-1);flex-direction:column;flex:auto;justify-content:stretch;display:flex}.sheet .panel-content,.sheet .content-container{overflow:hidden}.panel-icon-number{align-self:center}.icon{display:flex}calcite-button:not(:hover) .icon:not(calcite-icon){color:var(--calcite-color-text-3)}.icon-flip{transform:var(--arcgis-internal-collapse-icon-flip)}.icon-number{transform-origin:50%;color:var(--calcite-color-text-inverse);pointer-events:none;background-color:var(--calcite-color-text-3);border-radius:var(--calcite-spacing-xl);justify-content:center;align-items:center;height:var(--calcite-spacing-lg);padding:.125em .333em;font-size:var(--calcite-font-size-sm);line-height:1em;display:flex;position:absolute;top:-6px;left:var(--arcgis-internal-expand-icon-number-spacing-left);right:var(--arcgis-internal-expand-icon-number-spacing-right)}`,k="chevrons-left",T="chevrons-right",z=$(r),m=class extends w{constructor(){super(...arguments),this.popoverEl=d(),this.messages=_({}),this.viewModel=z(this),this.toggleActionEl=d(),this.view=this.viewModel.view,this.state=this.viewModel.state,this.autoDestroyDisabled=!1,this.autoCollapse=this.viewModel.autoCollapse,this.closeOnEscDisabled=!1,this.content="",this.expanded=this.viewModel.expanded,this.expandTooltip="",this.collapseTooltip="",this.focusTrapDisabled=!1,this.group=this.viewModel.group,this.iconNumber=0,this.mode="auto",this.topLayerDisabled=!1,this.visualScale="m",this.arcgisPropertyChange=b()("expanded"),this.arcgisReady=x()}static{this.properties={expandTitle:16,_displaySheet:16,view:0,state:32,icon:1,label:1,autoDestroyDisabled:5,referenceElement:1,autoCollapse:5,closeOnEscDisabled:5,content:1,expanded:7,expandIcon:3,expandTooltip:1,collapseIcon:3,collapseTooltip:1,focusTrapDisabled:5,group:1,iconNumber:9,mode:1,placement:1,messageOverrides:0,topLayerDisabled:5,visualScale:1}}static{this.styles=j}get expandTitle(){let{expanded:e,messages:t,collapseTooltip:a,expandTooltip:s}=this;return(e?a||t.collapse:s||t.expand)??""}get _displaySheet(){switch(this.mode){case"drawer":return!0;case"auto":return this.viewModel.view?.widthBreakpoint==="xsmall";default:return!1}}get expandIcon(){if(this._expandIcon)return this._expandIcon;let e=null;return this.content instanceof HTMLElement&&("widget"in this.content&&this.content.widget?.icon?e=this.content.widget.icon:"icon"in this.content?e=this.content.icon:e=this.content.getAttribute("icon")),e??k}set expandIcon(e){this._expandIcon=e}get collapseIcon(){return this._collapseIcon??T}set collapseIcon(e){this._collapseIcon=e}async collapse(){this.expanded=!1}async destroy(){await this.manager.destroy()}async expand(){this.expanded=!0}loaded(){this.manager.onLifecycle(()=>[H(()=>this.viewModel?.view?.size,()=>{this.popoverEl?.value?.reposition()},{initial:!0})])}toggle(){this.expanded=!this.expanded}getPopoverPlacement(){if(this.placement)return this.placement;switch(this.el.slot){case"bottom-start":case"bottom-left":return"right-end";case"bottom-right":case"bottom-end":return"left-end";case"top-start":case"top-left":return"right-start";case"top-right":case"top-end":return"left-start";default:return"auto"}}_isCloseOnEscapeDisabled(e){let{closeOnEscDisabled:t}=this;return typeof t=="function"?t(e):t}_handlePopoverClose(e){e.target===this.popoverEl.value&&this.collapse()}_handleKeyDown(e){this.expanded&&e.key==="Escape"&&this._isCloseOnEscapeDisabled(e)&&e.preventDefault()}render(){let{_displaySheet:e,toggleActionEl:t,expanded:a,label:s,topLayerDisabled:n}=this;return o`<div class=${h(u("root",D.widget))}>${this._renderToggle()}${e?o`<calcite-sheet class="sheet" height=l .label=${s??""} .topLayerDisabled=${n} @keydown=${this._handleKeyDown} .open=${a} position=block-end @calciteSheetClose=${this.collapse}><calcite-panel class="panel" closable .closed=${!a} .heading=${s} @keydown=${this._handleKeyDown} @calcitePanelClose=${this.collapse}><div class="panel-content">${this._renderContent()}</div></calcite-panel></calcite-sheet>`:t.value?o`<calcite-popover .focusTrapDisabled=${this.focusTrapDisabled} .label=${s??""} @keydown=${this._handleKeyDown} trigger-disabled .open=${a} overlay-positioning=fixed .placement=${this.getPopoverPlacement()} .referenceElement=${t.value} .topLayerDisabled=${n} @calcitePopoverClose=${this._handlePopoverClose} ${g(this.popoverEl)}><div class="popover-content">${this._renderContent()}</div></calcite-popover>`:null}</div>`}_renderBadgeNumber(){let{expanded:e,iconNumber:t}=this;return t&&!e?o`<span class="icon-number">${t}</span>`:null}_renderToggleButton(){let{expanded:e,expandTitle:t,expandIcon:a,collapseIcon:s}=this,n=e?s:a;return o`<calcite-action class=${h(u("action","icon",{"icon-flip":n===k||n===T}))} @click=${this.toggle} .text=${t} title=${t??f} .icon=${n} .scale=${this.visualScale} appearance=solid ${g(this.toggleActionEl)}></calcite-action>`}_renderToggle(){return o`<div class="toggle">${this._renderToggleButton()}${this._renderBadgeNumber()}</div>`}_renderContent(){return o`<div class="content-container"><slot></slot></div>`}};y("arcgis-expand",m);return m},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators",a,c,e,i)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as s}from"./
|
|
2
|
+
import{a as s}from"./Z24LPE5P.js";import"./JD74LG7K.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import{N as n,T as a,a as r,b as i}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{renderingSanitizer:o}])=>{var c=r`.heading{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-tight)}.description{margin-bottom:var(--calcite-spacing-sm);font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}`,t=class extends n{constructor(){super(...arguments),this.headingLevel=2}static{this.properties={description:1,headingLevel:9,heading:1}}static{this.styles=c}render(){return i`<div class="root">${this._renderHeading()}${this._renderDescription()}</div>`}_renderHeading(){let{heading:e}=this;return e?s({class:"heading",level:this.headingLevel,excludeGlobalCss:!0,children:i`<div .innerHTML=${o.sanitize(e)??""}></div>`}):null}_renderDescription(){let{description:e}=this;return e?i`<div class="description" .innerHTML=${o.sanitize(e)??""}></div>`:null}};a("arcgis-feature-element-info",t);return t},"applications/Components/sanitizerUtils")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as l}from"./5OJHCEN4.js";import e from"./CL2BELDC.js";import d from"./K3VQUQ6I.js";import c from"./NFE73D6R.js";import{g as a}from"./5GFBHLDY.js";import"./42UVPIOD.js";import b from"./34IPKNHM.js";import"./QUZTFUWM.js";import"./QLIWDFZI.js";import{N as r,T as o,a as t,w as i}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([c,,,{a:s},n])=>{var d=t`@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-table-list{display:flex;width:100%}.esri-table-list__filter-no-results{padding:12px 15px}.esri-table-list__item{--calcite-list-item-icon-center: 8.5px}.esri-table-list__status-indicator{visibility:hidden;color:var(--calcite-color-text-1);margin-inline:0}.esri-table-list__item-action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 16px;width:16px;height:16px;font-size:var(--calcite-font-size)}.esri-table-list__action-menu .esri-table-list__action-group{display:none}.esri-table-list__action-menu[open] .esri-table-list__action-group{display:flex}.esri-table-list__publishing{visibility:visible;color:var(--calcite-color-text-3);animation:2s infinite esri-table-layer-list__publishing-anim}.esri-table-list__item-content-bottom{margin:12px 15px}.esri-table-list__item-content-bottom .esri-legend__service{padding:0 0 12px}.esri-table-list__item-message{margin:12px 15px}@keyframes esri-table-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`,p=n(c),e=class extends r{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.map=this.widget.map,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.tables=this.viewModel.tables,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=s(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,icon:1,label:1,listItemCreatedFunction:0,map:0,minDragEnabledItems:9,minFilterItems:9,referenceElement:1,selectedItems:0,selectionMode:1,state:32,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5,tables:0,view:0}}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",e);return e},"widgets/TableList",b,c,d,e)
|
|
2
|
+
import{a as l}from"./VNUQ4CCT.js";import e from"./S2PCZUXW.js";import d from"./2FM2FJAY.js";import c from"./YHNRTH56.js";import{g as a}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import b from"./SDWFNKIL.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import{N as r,T as o,a as t,w as i}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([c,,,{a:s},n])=>{var d=t`@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-table-list{display:flex;width:100%}.esri-table-list__filter-no-results{padding:12px 15px}.esri-table-list__item{--calcite-list-item-icon-center: 8.5px}.esri-table-list__status-indicator{visibility:hidden;color:var(--calcite-color-text-1);margin-inline:0}.esri-table-list__item-action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 16px;width:16px;height:16px;font-size:var(--calcite-font-size)}.esri-table-list__action-menu .esri-table-list__action-group{display:none}.esri-table-list__action-menu[open] .esri-table-list__action-group{display:flex}.esri-table-list__publishing{visibility:visible;color:var(--calcite-color-text-3);animation:2s infinite esri-table-layer-list__publishing-anim}.esri-table-list__item-content-bottom{margin:12px 15px}.esri-table-list__item-content-bottom .esri-legend__service{padding:0 0 12px}.esri-table-list__item-message{margin:12px 15px}@keyframes esri-table-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`,p=n(c),e=class extends r{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.map=this.widget.map,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.tables=this.viewModel.tables,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=s(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,icon:1,label:1,listItemCreatedFunction:0,map:0,minDragEnabledItems:9,minFilterItems:9,referenceElement:1,selectedItems:0,selectionMode:1,state:32,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5,tables:0,view:0}}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",e);return e},"widgets/TableList",b,c,d,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./FVZJPOWC.js";import{P as O,Q as e,b as U,c as s}from"./WXLC6FPD.js";export default $arcgis.t(([{getBoundingBox:J,computeBBox:K,getTransformMatrix:Q},M,{c:N,d:F}])=>{var V=0;function X(){return V++}var Y=0;function Z(){return Y++}var _=0;function tt(){return _++}var R=new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),et="http://www.w3.org/2000/svg",it=Math.PI;function ot(t){let{pattern:o,linearGradient:i}=t;if(o)return s`<pattern height=${o.height??e} id=${o.id??e} patternUnits=userSpaceOnUse width=${o.width??e} x=${o.x??0??e} y=${o.y??0??e}><image height=${o.image.height??e} href=${o.image.href??e} width=${o.image.width??e} x=${o.image.x??e} y=${o.image.y??e} /></pattern>`;if(i){let n=i.stops.map(r=>s`<stop offset=${r.offset??e} stop-color=${r.color??e} />`);return s`<linearGradient gradientUnits=userSpaceOnUse id=${i.id??e} x1=${i.x1??e} x2=${i.x2??e} y1=${i.y1??e} y2=${i.y2??e}>${n}</linearGradient>`}return null}function E(t){if(!t)return{fill:"none",pattern:null,linearGradient:null};if(!("type"in t))return{fill:new M(t).toString(),pattern:null,linearGradient:null};if(t.type==="pattern"){let i=`patternId-${X()}`;return{fill:`url(#${i})`,pattern:{id:i,x:t.x,y:t.y,width:t.width,height:t.height,image:{x:0,y:0,width:t.width,height:t.height,href:t.src}},linearGradient:null}}let o=`linearGradientId-${Z()}`;return{fill:`url(#${o})`,pattern:null,linearGradient:{id:o,x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stops:t.colors.map(i=>({offset:i.offset,color:i.color&&new M(i.color).toString()}))}}}function D(t){let o={color:"none",width:1,cap:"butt",join:"4",dashArray:"none",dashOffset:"0"};return t&&(t.width!=null&&(o.width=t.width),t.cap&&(o.cap=t.cap),t.join&&(o.join=t.join.toString()),t.color&&(o.color=new M(t.color).toString()),t.dashArray&&(o.dashArray=t.dashArray),t.dashoffset&&(o.dashOffset=t.dashoffset),t.style&&!t.dashArray&&(o.dashArray=nt(t).join(",")||"none")),o}function nt(t){if(!t?.style)return[];let{dashArray:o,style:i,width:n}=t;if(typeof o=="string"&&o!=="none")return o.split(",").map(l=>Number(l));let r=n??0,d=R.has(i)?R.get(i).map(l=>l*r):[];if(t.cap!=="butt")for(let[l,h]of d.entries())d[l]=l%2===1?h+r:Math.max(h-r,1);return d}function rt(t){return t.map(o=>`${o.command} ${o.values.join(" ")}`).join(" ").trim()}function j(t,o){if(t==null)throw new Error("value is None")}function I(t,o,i,n,r){if(t){if(t.type==="circle")return s`<circle cx=${t.cx??e} cy=${t.cy??e} fill=${o??e} fill-rule=evenodd r=${t.r??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-dashoffset=${i.dashOffset??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`;if(t.type==="ellipse")return s`<ellipse cx=${t.cx??e} cy=${t.cy??e} fill=${o??e} fill-rule=evenodd rx=${t.rx??e} ry=${t.ry??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`;if(t.type==="rect")return s`<rect fill=${o??e} fill-rule=evenodd height=${t.height??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} width=${t.width??e} x=${t.x??e} y=${t.y??e} />`;if(t.type==="image")return s`<image aria-label=${r??""??e} height=${t.height??e} href=${t.src??e} preserveAspectRatio=none width=${t.width??e} x=${t.x??e} y=${t.y??e} />`;if(t.type==="path"){let d=typeof t.path!="string"?rt(t.path):t.path;return s`<path d=${d??e} fill=${o??e} fill-rule=evenodd stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`}if(t.type==="text")return j(n),s`<text dominant-baseline=${(n.dominantBaseline==="inherit"||n.dominantBaseline==="alphabetic"||n.dominantBaseline==="auto"||n.dominantBaseline==="central"||n.dominantBaseline==="hanging"||n.dominantBaseline==="ideographic"||n.dominantBaseline==="mathematical"||n.dominantBaseline==="middle"||n.dominantBaseline==="text-bottom"||n.dominantBaseline==="text-top"?n.dominantBaseline:void 0)??e} fill=${o??e} fill-rule=evenodd font-family=${n.font.family??e} font-size=${n.font.size??e} font-style=${n.font.style??e} font-variant=${n.font.variant??e} font-weight=${n.font.weight??e} kerning=${n.kerning??e} rotate=${n.rotate??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} text-anchor=${(n.align==="inherit"||n.align==="middle"||n.align==="end"||n.align==="start"?n.align:void 0)??e} text-decoration=${(n.decoration==="inherit"||n.decoration==="none"||n.decoration==="blink"||n.decoration==="line-through"||n.decoration==="overline"||n.decoration==="underline"?n.decoration:void 0)??e} text-rendering=auto x=${t.x??e} y=${t.y??e}>${t.text}</text>`}return null}function at(t,o,i){let n=C(t);if(!n)return null;let{strength:r,radius:d}=n,l=r>0?d:0,h=5**(o/100)*(.4+o/100),u=(r+l*.5)*h,c=(r+l)*o,f=r*4+1;return s`<filter filterUnits=userSpaceOnUse height=300% .id=${`bloom${i}`} width=300% x=-100% y=-100%><feMorphology in=SourceGraphic operator=dilate radius=${u??e} result=dilate /><feGaussianBlur in=dilate result=blur stdDeviation=${c/25} /><feGaussianBlur in=blur result=intensityBlur stdDeviation=${c/50} /><feComponentTransfer in=SourceGraphic result=intensityBrightness><feFuncR slope=${f??e} type=linear /><feFuncG slope=${f??e} type=linear /><feFuncB slope=${f??e} type=linear /></feComponentTransfer><feMerge><feMergeNode in=intensityBlur /><feMergeNode in=intensityBrightness /><feGaussianBlur stdDeviation=${r/10} /></feMerge></filter>`}function x(t,o){let i=t*(it/180);return Math.abs(o*Math.sin(i))+Math.abs(o*Math.cos(i))}function T(t,o){let i={align:null,decoration:null,kerning:null,rotate:null,font:{style:null,variant:null,weight:null,size:null,family:null}};if(t){let n=t.alignBaseline,r=n==="baseline"?"auto":n==="top"?"text-top":n==="bottom"?"hanging":n;i.align=t.align,i.dominantBaseline=r,i.decoration=t.decoration,i.kerning=t.kerning?"auto":"0",i.rotate=t.rotated?"90":"0",j(o),i.font.style=o.style||"normal",i.font.variant=o.variant||"normal",i.font.weight=o.weight||"normal",i.font.size=o.size?.toString()||"10pt",i.font.family=o.family||"serif"}return i}function st(t,o){if(!t||t.length===0)return null;let i=[];for(let n of t){let{shape:r,fill:d,stroke:l,font:h}=n,u=E(d),c=D(l),f=r.type==="text"?T(r,h):null,a=I(r,u.fill,c,f);a&&i.push(a)}return s`<mask id=${o??e} maskUnits=userSpaceOnUse><g>${i}</g></mask>`}function C(t){let o=t?.match(/bloom\(\s*([^\s]+)\s+([^\s]+)\s+([^\s]+)\s*\)/iu);if(!o)return null;let[,i,n,r]=o;return{strength:Number(i),radius:N(F(n)),threshold:Number(r)}}function ut(t,o,i,n={}){let r=[],d=[],l=tt(),h=at(n.cssEffectFilter,o,l),u=null;if(h){let a=C(n.cssEffectFilter),$=n.clipBloomEffect||!a?.strength?0:(a.strength+a.radius/2)/3,p=o+o*$,m=i+i*$;u=[Math.max(p,10),Math.max(m,10)]}let c=o,f=i;if(n.useRotationSize)for(let a=0;a<t.length;a++){let $=n.rotations?.[a]??0;c=Math.max(x($,o),c),f=Math.max(x($,i),f)}for(let a=0;a<t.length;a++){let $=t[a],p=[],m=[],S=0,k=0,w=0;for(let y of $){let{shape:g,fill:P,stroke:A,font:W,offset:b}=y;!n.ignoreStrokeWidth&&g.type!=="text"&&(S+=A?.width||0);let z=E(P),q=D(A),H=g.type==="text"?T(g,W):null;r.push(ot(z)),p.push(I(g,z.fill,q,H,n.ariaLabel)),m.push(J(g)),b&&(k+=b[0],w+=b[1])}let v=n.rotations?.[a]??0;n.useRotationSize&&(k+=(c-x(v,o))/2,w+=(f-x(v,i))/2);let L=K(m),G=Q(L,o,i,S,n.scale??!1,v,n.useRotationSize??!1,[k,w],u),B=null;if(n.masking){let y=`mask-${a}`,g=n.masking[a];r.push(st(g,y)),B=`url(#${y})`}d.push(B?s`<g mask=${B??e}><g transform=${G??e}>${p}</g></g>`:s`<g transform=${G??e}>${p}</g>`)}return h&&(j(u),c=u[0],f=u[1]),U`<svg aria-label=${n.ariaLabel??e} height=${f??e} role=img style=${O("display: block;")} width=${c??e} xmlns=${et}>${s`${h}<defs>${r}</defs>${h?s`<g filter=${`url(#bloom${l})`}>${d}</g>`:d}`}</svg>`}return{a:ot,b:E,c:D,d:I,e:ut}},"applications/Components/svgUtils","Color",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import b from"./DJTW52JH.js";import"./QUZTFUWM.js";import{d as c}from"./
|
|
2
|
+
import b from"./DJTW52JH.js";import"./QUZTFUWM.js";import{d as c}from"./4W3T75SY.js";import{N as a,O as l,T as r,a as o,b as i}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:d},{a:s}])=>{var v=o`.toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--2)}.timecode{color:var(--calcite-color-text-3);line-height:1.25rem}.controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}.live-icon{color:var(--calcite-color-status-danger)}.controls-container{display:flex;align-items:center;gap:var(--calcite-spacing-md)}`,t=class extends a{static{this.properties={_isLive:16,viewModel:0,messages:0,currentTime:9,duration:9,toggleMetadata:0,inline:5}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[d(()=>this.viewModel.layer?.isLive,e=>{this._isLive=e??void 0},{initial:!0})])}render(){let{messages:e}=this;this._isLive===void 0&&(this._isLive=this.viewModel.layer?.isLive);let n=this._isLive?s(this.currentTime):`${s(this.currentTime)} / ${s(this.duration)}`;return i`<div class=${l(c("toolbar"))}><div class="controls-container"><arcgis-video-player-actions-group .inline=${this.inline} .messages=${e} .viewModel=${this.viewModel}></arcgis-video-player-actions-group>${this._isLive?i`<calcite-icon class="live-icon" icon=beacon></calcite-icon>`:null}${!this.inline||this._isLive?i`<div class="timecode">${n}</div>`:null}</div>${this.inline?null:i`<arcgis-video-player-controls-group class="controls-group" .messages=${e} .toggleMetadata=${()=>this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group>`}</div>`}};r("arcgis-video-player-action-bar",t);return t},"core/reactiveUtils",b)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import e from"./NAQYIBE5.js";import d from"./S2PCZUXW.js";import c from"./2FM2FJAY.js";import b from"./YHNRTH56.js";import"./3AQ6NC3C.js";import"./A4X5YDA6.js";import a from"./SDWFNKIL.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{N as c,T as o,a as s,b as a}from"./
|
|
2
|
+
import{N as c,T as o,a as s,b as a}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:p},d])=>{var f=s`.sr-label{display:flex;gap:var(--calcite-spacing-xs)}.invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`;function m(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function v(e){return e==null?e:Math.round(Number.parseFloat(e))}var l=class extends c{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=f}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t}=this;return a`<div><calcite-label><div class="sr-label">${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:u})=>{let n=u.value;if(n===""){this.viewModel.outSpatialReference=null,this._isValidSpatialReference=!0;return}let i=v(n),r=Number.isNaN(i)||i==null?null:new d({wkid:i});this.viewModel.outSpatialReference=r,this._isValidSpatialReference=m(r)}}></calcite-input-number>${this._isValidSpatialReference?null:a`<div class="invalid-wkid-text">${t.invalidWkid}</div>`}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",l);return l},"core/reactiveUtils","geometry/SpatialReference")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as s}from"./POKO37D3.js";import{a as h}from"./
|
|
2
|
+
import{a as s}from"./POKO37D3.js";import{a as h}from"./2BVXNQ3U.js";import{g as d}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import{N as c,Q as n,T as r,a,b as i}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([b])=>{var g=a`.root{display:flex;flex-flow:column wrap;min-width:100%;& calcite-label:last-child{--calcite-label-margin-bottom: 0}}.block{border-block-end:none;margin:0}.block-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-xs, 6px)}.radio-button-label-wrapper{align-items:center;display:flex;gap:var(--calcite-space-base, 2px)}`,l=class extends c{constructor(){super(...arguments),this.messages=h({blocking:!0}),this.showHeader=!1,this.hideTooltipsToggle=!1,this.hideLabelsToggle=!1,this.showDirectionModePicker=!1,this.sketchOptions=new b,this.arcgisPropertyChange=d()("tooltipsEnabled","labelsEnabled","directionMode")}static{this.properties={_hasContent:32,showHeader:5,label:1,hideTooltipsToggle:5,hideLabelsToggle:5,showDirectionModePicker:5,sketchOptions:0,tooltipsEnabled:5,labelsEnabled:5,directionMode:1}}static{this.styles=g}get _hasContent(){return!this.hideTooltipsToggle||!this.hideLabelsToggle||this.showDirectionModePicker}get tooltipsEnabled(){return this.sketchOptions.tooltips.enabled}set tooltipsEnabled(e){this.sketchOptions.tooltips.enabled=e}get labelsEnabled(){return this.sketchOptions.labels.enabled}set labelsEnabled(e){this.sketchOptions.labels.enabled=e}get directionMode(){return this.sketchOptions.values.directionMode}set directionMode(e){this.sketchOptions.values.directionMode=e}_onDirectionModeChange(e){this.sketchOptions.values.directionMode=e.currentTarget.selectedItem?.value}render(){let{label:e,messages:t}=this,o=e??t.componentLabel;return i`<div aria-label=${o??n} class="root">${this._hasContent?i`<calcite-block class="block" expanded .heading=${this.showHeader?e:""} .label=${o??""}><div class="block-content">${s({hidden:this.hideTooltipsToggle,children:this._renderTooltipsToggle()})}${s({hidden:this.hideLabelsToggle,children:this._renderLabelsToggle()})}${s({hidden:!this.showDirectionModePicker,children:this._renderDirectionModePicker()})}</div></calcite-block>`:void 0}</div>`}_renderTooltipsToggle(){let{messages:e}=this;return i`<arcgis-labeled-switch .checked=${this.sketchOptions.tooltips.effectiveEnabled} .hint=${e.tooltipsToggleHint} .label=${e.tooltipsToggle} @arcgisCheckedChanged=${t=>{this.sketchOptions.tooltips.enabled=t.detail}} .disabled=${this.sketchOptions.tooltips.forceEnabled}></arcgis-labeled-switch>`}_renderLabelsToggle(){let{messages:e}=this;return i`<arcgis-labeled-switch .checked=${this.sketchOptions.labels.enabled} .hint=${e.labelsToggleHint} .label=${e.labelsToggle} @arcgisCheckedChanged=${t=>{this.sketchOptions.labels.enabled=t.detail}}></arcgis-labeled-switch>`}_renderDirectionModePicker(){let{messages:e}=this,{directionMode:t}=this.sketchOptions.values;return i`<calcite-label layout=default scale=s>${e.directionModePicker}<calcite-radio-button-group name=direction-mode layout=horizontal scale=s @calciteRadioButtonGroupChange=${this._onDirectionModeChange}>${this._renderDirectionModeOption("relative",t,e.directionModeRelative)}${this._renderDirectionModeOption("absolute",t,e.directionModeAbsolute)}</calcite-radio-button-group></calcite-label>`}_renderDirectionModeOption(e,t,o){return i`<calcite-label layout=inline scale=s><calcite-radio-button .checked=${e===t} scale=s .value=${e}></calcite-radio-button><div class="radio-button-label-wrapper"><calcite-icon .icon=${`${e}-direction`} scale=s></calcite-icon>${o}</div></calcite-label>`}};r("arcgis-sketch-tooltip-controls",l);return l},"views/interactive/sketch/SketchOptions")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import b from"./4RYR4YDD.js";import{a as f}from"./
|
|
2
|
+
import b from"./4RYR4YDD.js";import{a as f}from"./Z24LPE5P.js";import"./JD74LG7K.js";import"./QUZTFUWM.js";import{d as g}from"./4W3T75SY.js";import{N as m,O as d,T as p,a as y,b as a}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{a:v}])=>{var w=y`.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)}:host{display:block;padding:var(--arcgis-internal-padding)}.layers{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-gap)}.layers>.layer{position:relative}.layers>.layer:not(:last-child):after{content:"";position:absolute;left:0;right:0;bottom:calc(var(--arcgis-internal-legend-layer-gap) / -2);border-bottom:1px solid var(--calcite-color-border-2)}.layer>.esri-widget__heading{margin:var(--arcgis-internal-legend-heading-margin);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-semibold)}.layer{word-wrap:break-word}.layer-elements{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-element-gap);overflow:auto}.layer-children{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-gap)}.layer-children>.layer{margin-inline-start:var(--arcgis-internal-legend-layer-padding);position:relative}.layer-children>.layer:not(:last-child):after{content:"";position:absolute;left:0;right:0;bottom:calc(var(--arcgis-internal-legend-layer-gap) / -2);border-bottom:1px solid var(--calcite-color-border-2)}.layer-children.layer-children-compact>.layer.layer-child-inline-title{margin-inline-start:0}.layer-children.layer-children-compact>.layer:not(:last-child):after{content:none}.layer-children.layer-children-compact{gap:var(--calcite-space-2xs)}.layer-child{padding:0}.layer-child-title{font-weight:var(--calcite-font-weight-medium)}`;function _(l){return"type"in l&&!!l.type}function u(l,e){let r=l.legendElements?.filter(Boolean);if(!l.parent||!l.title||r?.length!==1)return;let[t]=r;if(t.type!=="symbol-table"||t.infos.length!==1)return;let[i]=t.infos;if(!i||_(i))return;let n="preview"in i&&!!i.preview||"src"in i&&!!i.src,s="label"in i?v(e,i.label,!1):"";return n&&!s?l.title??void 0:void 0}var h=class extends m{constructor(){super(...arguments),this.headingLevel=3,this.type="classic"}static{this.properties={activeLayerInfos:0,headingLevel:9,type:32,messages:0}}static{this.styles=w}render(){let e=this.activeLayerInfos?.toArray().map(r=>this._renderLegendForLayer(r)).filter(Boolean);return e?.length?a`<section class="layers">${e}</section>`:a`<div class="no-legend">${this.messages.noLegend}</div>`}_renderLegendForLayer(e){if(!e.ready)return null;let r=u(e,this.messages),t=e.title&&!r?f({level:this.headingLevel,class:e.parent?"layer-child-title":void 0,children:e.title}):null;if(e.children.length){let i=e.children.toArray(),n=i.length>0&&i.every(o=>!!u(o,this.messages)),s=i.map(o=>this._renderLegendForLayer(o)),c=g("layer-children",{"layer-children-compact":n});return a`<section class="layer">${t}<div class=${d(c)}>${s}</div></section>`}return this._renderLegendElementsForLayer(e,t,r)}_renderLegendElementsForLayer(e,r,t){let i=e.legendElements?.filter(Boolean);if(!i?.length)return null;let n=i.map(c=>a`<arcgis-legend-classic-element .cssEffectFilter=${e.cssEffectFilter??void 0} .inlineLayerTitle=${t} .layer=${e.layer} .legendElement=${c} .messages=${this.messages}></arcgis-legend-classic-element>`),s={"layer-child":!!e.parent,"layer-child-inline-title":!!t};return a`<section class=${d(g("layer",s))}>${r}<div class="layer-elements">${n}</div></section>`}};p("arcgis-legend-classic-view",h);return h},b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./MZWO5JYA.js";import{o as u}from"./
|
|
2
|
+
import a from"./MZWO5JYA.js";import{o as u}from"./WXLC6FPD.js";export default $arcgis.t(([{replace:f},{fieldFormatFromFieldInfo:h},{h:s}])=>{var c=/^\s*expression\//iu,y=/href=(""|'')/giu,N=/(\{([^{\r\n]+)\})/gu,I=/href\s*=\s*(?:"([^"]+)"|'([^']+)')/giu,F=/'/gu,C="relationships/",w=/^(?:mailto:|tel:)/u;function z(e,n){let r=new Map;if(!e)return r;for(let t of e){if(!t.fieldName)continue;let o=d(t.fieldName,n);t.fieldName=o,r.set(o.toLowerCase(),t)}return r}function B(e){let n=[];if(!e)return n;let{fieldInfos:r,content:t}=e;return r&&n.push(...r),!t||!Array.isArray(t)||t.forEach(o=>{if(o.type==="fields"){let i=o?.fieldInfos;i&&n.push(...i)}}),n}function D(e,n){return e?.getEffectivePopupTemplate(n)??void 0}function G(e){if(e!=null)return"sourceLayer"in e&&e.sourceLayer?e.sourceLayer:e.layer??void 0}function L(e=""){return e?e.includes(C):!1}function H(e=""){if(e)return!w.test(e.trim().toLowerCase())}function d(e,n){let r=g(n,e);return r?r.name:e}function J(e,n){return e?.map(r=>d(r,n))}function p(e){return e?c.test(e):!1}function A(e,n){if(!n||!p(n)||!e)return;let r=n.replace(c,"").toLowerCase();return e.find(({name:t})=>t.toLowerCase()===r)}function K(e,n){if(!(!e?.length||!n))return e.find(r=>r.fieldName?.toLowerCase()===n.toLowerCase())}function v(e){let{fieldInfo:n,graphic:r,layer:t}=e;return b({fieldInfo:n,graphic:r})?s(t,{graphic:r}):null}function b({fieldInfo:e,graphic:n}){return!!e?.fieldName&&!p(e.fieldName)&&!L(e.fieldName)&&!n?.popupTemplate}function O({expressionInfos:e,fieldInfo:n,graphic:r,isContentFieldInfos:t,layer:o}){if(!n?.fieldName)return null;let i=A(e,n?.fieldName);if(i)return i.title||null;let a=v({fieldInfo:n,graphic:r,layer:o});if(a){let l=a.getFieldAlias(n.fieldName);return t?n.label||l||n.fieldName:l||n.fieldName}return n.label||n.fieldName}function P(e){let{configurableFieldsContainer:n,fieldInfo:r,isContentFieldInfos:t}=e;if(!r?.fieldName)return null;let o=!n.popupTemplate&&!n.fieldConfigurations?h(r,n.getField(r.fieldName)):n.getFieldConfiguration(r.fieldName)?.fieldFormat;return t&&r.fieldFormat||o}function m(e){return e.trim()}function x(e){return e.replaceAll(y,"")}function E(e,n){return`{${n.get(e.toLowerCase())?.fieldName||e}}`}function M({formattedValues:e,template:n,fieldInfoMap:r}){return m(x(f(f(n,t=>E(t,r)),e)))}function g(e,n){return!(e&&"getField"in e&&typeof e.getField=="function")||!n?null:e.getField(n)??null}function T(e,n){return e.replaceAll(N,(r,t,o)=>{let i=g(n,o);return i?`{${i.name}}`:t})}function V(e,n,r=!1){let t=n[e];if(typeof t=="string"){let o=(r?encodeURIComponent(t):t).replaceAll(F,"%27");n[e]=o}}function $(e,n=!1){let r={...e};return Object.keys(r).forEach(t=>V(t,r,n)),r}function j(e,n,r){n=m(n);let t=n&&!n.startsWith("{");return f(e,$(r,t||!1))}function k(e,n,r){let t=T(e,r);return t&&t.replaceAll(I,(o,i,a)=>j(o,i||a,n))}function _({values:e,globalValues:n,layer:r,text:t,fieldInfoMap:o}){return t?M({formattedValues:n,template:k(t,{...n,...e},r),fieldInfoMap:o}):""}async function Q({type:e,value:n,event:r}){try{return typeof n=="function"?n(r):await n}catch(t){u("error","arcgis-feature",`An error occurred when calling the "${e}" function`,{detail:{error:t,graphic:r.graphic,value:n}});return}}return{a:z,b:B,c:D,d:G,e:L,f:H,g:d,h:J,i:p,j:K,k:v,l:O,m:P,n:M,o:T,p:_,q:Q}},"applications/Components/stringUtils","applications/Components/fieldFormatUtils",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import j from"./VGMTHIUW.js";import i from"./7MIEKJ57.js";import{a as J}from"./JCRPP54Z.js";import{a as S,b as H,g as G,h as U,m as F}from"./LDDAJOTV.js";import{a as B}from"./HSF2MYAX.js";import{a as w}from"./RDWM76R2.js";import h from"./K2HEKJRC.js";import g from"./MZWO5JYA.js";import f from"./FR3DD5XU.js";import"./VJVKFKSG.js";import e from"./G3GFYB3W.js";import{a as R}from"./NDMHZQ2Z.js";import{a as p}from"./JD74LG7K.js";import d from"./K3VQUQ6I.js";import b from"./NFE73D6R.js";import{g as D}from"./5GFBHLDY.js";import"./42UVPIOD.js";import a from"./34IPKNHM.js";import"./QUZTFUWM.js";import{d as x}from"./QLIWDFZI.js";import{A as T,L as O,M as m,N as P,O as y,Q as $,R as L,T as A,b as r,w as c}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([{createReactiveMap:K},I,{on:C,watch:W},X,Y,{h:f},,{a:N},k,,,,,{b:j,c:q,d:z}])=>{var g=J,Z=u=>{let e=u?.type;return e==="knowledge-graph"||e==="map-image"||e==="tile"},ee=u=>u?.type==="catalog",Q="nested",te=I.ofType(Y),se=k(X),_=class extends P{constructor(){super(...arguments),this.#l=`operational-${T()}`,this.#e=null,this.#o=O(),this.#i=!1,this.#t=!1,this.messages=R(),this.#r=()=>{this._activeItem=null},this.#n=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(s=>s.classList?.contains(g.item));this._activeItem=F(t)},this.#a=K(),this.#s=K(),this.#h=e=>{e&&this.#v(e)},this.#c=e=>{e&&this.#b(e)},this.#d=e=>{e&&this.#$(e)},this.viewModel=se(this),this._activeItem=null,this._focusRootFlowItem=!1,this._focusPanelFlowItem=!1,this._focusLayerFlowItem=null,this.layerTablesEnabled=new I(["knowledge-graph"]),this.mapImageOptions=null,this.tileOptions=null,this.view=this.viewModel.view,this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.showFilter=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.closed=!1,this.topLayerDisabled=!1,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.openedLayers=new I,this.openedLayerLists=new I,this.collapsed=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.minFilterItems=H,this.selectedItems=new te,this.selectionMode="none",this.visibilityAppearance="default",this.arcgisPropertyChange=D()("state"),this.arcgisReady=c(),this.arcgisCatalogItemsChange=c(),this.arcgisFilterChange=c(),this.arcgisSelectedItemsChange=c(),this.arcgisOpenedLayersChange=c(),this.arcgisTriggerAction=N(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_activeItem:16,_focusRootFlowItem:16,_focusPanelFlowItem:16,_focusLayerFlowItem:16,_totalItems:16,_filterEnabled:16,_visibleItems:16,_openedPanelItems:16,_renderedOpenLayerFlowItems:16,layerTablesEnabled:16,mapImageOptions:16,tileOptions:16,view:0,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,closed:5,topLayerDisabled:5,autoDestroyDisabled:5,referenceElement:1,state:32,openedLayers:32,openedLayerLists:32,catalogItems:0,catalogLayer:0,catalogOptions:0,collapsed:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,listModeDisabled:5,minFilterItems:9,selectedItems:0,selectionMode:1,visibilityAppearance:1,messageOverrides:0,onCatalogOpen:0,onTablesOpen:0}}static{this.styles=[z,q]}#l;#e;#o;#i;#t;#r;#n;#a;#s;#h;#c;#d;get _totalItems(){return this.catalogItems?.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length??0}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _visibleItems(){return this.catalogItems?.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 _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,s)=>this.#D(t,s===e.length-1))}get catalogItems(){return this.viewModel.catalogItems}set catalogItems(e){this.viewModel.catalogItems=e}get catalogLayer(){return this.viewModel.catalogLayer}set catalogLayer(e){this.viewModel.catalogLayer=e}async destroy(){this.#i||this.#t||(this.#i=!0,this.#e?.abort(),this.#e=null,await this.manager.destroy(),this.openedLayerLists.removeAll(),this.openedLayers.removeAll(),this.#s.clear(),this.#a.clear(),this.#t=!0,this.#i=!1)}loaded(){this.manager.onLifecycle(()=>[C(()=>this.openedLayers,"change",()=>{this.#w()}),C(()=>this.viewModel.catalogItems,"change",()=>{G(this.selectedItems),this.arcgisCatalogItemsChange.emit()}),C(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),W(()=>[this.filterPredicate,this.#o.value],()=>U(this.#o.value,this.filterPredicate))])}disconnectedCallback(){super.disconnectedCallback(),this.#e?.abort(),this.#e=null,!this.autoDestroyDisabled&&!this.#t&&!this.#i&&this.destroy()}#y(e,t){return this.viewModel.triggerAction(e,t)}async#f(e,t){let s=this.#s.get(e);if(s)return s;let a=e.type==="catalog"?await this.#L(e):await this.#C(e);return t.aborted||!this.isConnected||this.#t?(a?.destroy?.(),a):(t.aborted||this.#s.set(e,a),a)}async#w(){if(!this.isConnected||this.#t)return;let{openedLayers:e,openedLayerLists:t}=this;this.#e?.abort();let s=new AbortController,{signal:a}=s;this.#e=s,this.#s.forEach((n,h)=>{e.includes(h)||(n?.destroy?.(),this.#s.delete(h))});let o=await Promise.all(e.map(n=>this.#f(n,a)));if(a.aborted||!this.isConnected||this.#t)return;t.removeAll(),t.addMany(o);let i=t.at(-1),l=i&&"catalogLayer"in i?i:void 0;this._catalogLayerList!==l&&(this._catalogLayerList=l),this.arcgisOpenedLayersChange.emit()}#I(e){e.open=!1,this._focusRootFlowItem=!0}#b(e){this._focusRootFlowItem&&(this._focusRootFlowItem=!1,f(e))}#v(e){this._focusPanelFlowItem&&(this._focusPanelFlowItem=!1,f(e))}#$(e){this._focusLayerFlowItem===e.dataset.layerUid&&(this._focusLayerFlowItem=null,f(e))}async#L(e){let{headingLevel:t,catalogOptions:s,view:a,referenceElement:o,filterPlaceholder:i,listItemCreatedFunction:l,minFilterItems:n,selectionMode:h,visibilityAppearance:d}=this;return L(r`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder??i} .listItemCreatedFunction=${s?.listItemCreatedFunction??l} .minFilterItems=${s?.minFilterItems??n} .selectionMode=${s?.selectionMode??h} .visibilityAppearance=${s?.visibilityAppearance??d} .showErrors=${s?.showErrors??this.showErrors} .showFilter=${s?.showFilter??this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${b=>b.stopPropagation()} .catalogLayer=${e} .view=${a} .referenceElement=${o} @catalogOpen=${this.#p} @tablesOpen=${this.#m}></arcgis-catalog-layer-list-next>`)}#F(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#C(e){let{headingLevel:t,selectionMode:s,referenceElement:a,view:o}=this,i=this.#F(e);return L(r`<arcgis-table-list-next .headingLevel=${i?.headingLevel??t} .selectionMode=${i?.selectionMode??s} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .label=${i?.label} .tables=${i?.tables} .view=${o} .referenceElement=${a} @arcgisReady=${l=>l.stopPropagation()}></arcgis-table-list-next>`)}#m(e){if(this.onTablesOpen){this.onTablesOpen(e);return}let t=e.layer;Z(t)&&(this.openedLayers.push(t),this._focusLayerFlowItem=t.uid)}#p(e){if(this.onCatalogOpen){this.onCatalogOpen(e);return}let t=e.layer?.parent;ee(t)&&(this.openedLayers.push(t),this._focusLayerFlowItem=e.layer?.uid)}#_(e,t){t?this.#a.set(e,t):this.#a.delete(e)}#M(e,t){this.#y(e,t)}#E(e){let{selectionMode:t,selectedItems:s}=this;if(t==="none")return;let a=e.target.selectedItems.map(o=>F(o)).filter(Boolean);s.removeAll(),s.addMany(a)}render(){let{state:e}=this,t={[p.hidden]:e==="loading",[p.disabled]:e==="disabled"};return r`<div class=${y(x(p.widget,p.panel,t))}>${this._visibleItems?.length?this.#O():null}${this.#x()}</div>`}#T(e){let t=this.#a,s=this.messages;return e?.layer?r`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer.uid)} .topLayerDisabled=${this.topLayerDisabled}>${s.layerIncompatibleTooltip}</calcite-tooltip>`:null}#g(e){return e.incompatible?this.#T(e):e.children?.filter(t=>!t.hidden).toArray().map(t=>this.#g(t))}#O(){return this._visibleItems?.toArray().map(e=>this.#g(e))}#u(){return r`<div slot=message>${this.messages.noItemsToDisplay}</div>`}#P(){return this.hideNoItemsNotice?null:r`<div class=${y(g.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this.#u()}</calcite-notice></div>`}#A(){let{_openedPanelItems:e,openedLayers:t}=this;return B(e.toArray(),({uid:s})=>s,(s,a)=>{let{uid:o,title:i,panel:l}=s,n=()=>this.#I(l);return r`<calcite-flow-item .description=${i} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${h=>{h.preventDefault(),n()}} ${m(this.#h)}><arcgis-layer-list-item-panel .item=${s} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent slot=footer-actions width=full @click=${n}>Back</calcite-button></calcite-flow-item>`})}#x(){let{collapsed:e,_visibleItems:t,_filterEnabled:s,showCloseButton:a,showCollapseButton:o,showHeading:i,selectionMode:l,filterText:n,filterPlaceholder:h,openedLayers:d,_openedPanelItems:b}=this,M=this.#l,E=this.label??this.messages.componentLabel??"",V=[r`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${i?E:void 0} .headingLevel=${this.headingLevel} .selected=${!d.length&&!b.length} @calciteFlowItemClose=${()=>this.closed=!0} ${m(this.#c)}>${t?.length?r`<calcite-list data-layer-type=${M??$} .displayMode=${Q} .filterEnabled=${s} .filterPlaceholder=${h} .filterProps=${S} .filterText=${s?n:""} .group=${M} .label=${E} @focusin=${this.#n} @focusout=${this.#r} selection-appearance=border .selectionMode=${l} @calciteListChange=${this.#E} @calciteListFilter=${v=>{this.filterText=v.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @mouseleave=${this.#r} @mouseover=${this.#n} ${m(this.#o)}>${t.toArray().map(v=>this.#R(v))}${s&&!this.hideNoFilterResultsNotice?r`<div class=${y(g.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this.#u()}</calcite-notice></div>`:null}</calcite-list>`:this.#P()}</calcite-flow-item>`,this.#A(),this._renderedOpenLayerFlowItems];return this.closed?null:w("root-flow",r`<calcite-flow>${V}</calcite-flow>`)}#D(e,t){let{openedLayers:s}=this,a=e.title||this.messages.untitledLayer;return w(e.uid,r`<calcite-flow-item data-layer-uid=${e.uid??$} .description=${a} .heading=${this.messages[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${o=>{o.preventDefault(),s.pop();let i=s.at(-1);i?this._focusLayerFlowItem=i.uid:this._focusRootFlowItem=!0}} ${m(this.#d)}>${this.#s.get(e)}</calcite-flow-item>`)}#R(e,t,s){let{hideStatusIndicators:a,showCloseButton:o,showCollapseButton:i,showErrors:l,showFilter:n,showHeading:h,showTemporaryLayerIndicators:d}=this;return w(e.uid,j({activeItem:this._activeItem??void 0,css:{...g,itemCatalogIcon:g.itemActionIcon},displayMode:Q,dragEnabled:!1,item:e,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,parent:t,parentTitles:s,rootGroupUid:this.#l,selectedItems:this.selectedItems,selectionMode:this.selectionMode,visibilityAppearance:this.visibilityAppearance,hideStatusIndicators:a,showCloseButton:o,showCollapseButton:i,showErrors:l,showFilter:n,showHeading:h,showTemporaryLayerIndicators:d,handleAction:this.#M.bind(this),handleCatalogOpen:this.#p.bind(this),handleTablesOpen:this.#m.bind(this),handleTooltipReferenceChange:this.#_.bind(this),view:this.view}))}};A("arcgis-catalog-layer-list-next",_);return _},"applications/Components/featureUtils","core/Collection","core/reactiveUtils","layers/list/CatalogItemCollection","layers/list/Item",a,b,d,e,f,g,h,i,j)
|
|
2
|
+
import j from"./XWALVOZP.js";import i from"./C4LCKYWW.js";import{a as J}from"./JCRPP54Z.js";import{a as S,b as H,g as G,h as U,m as F}from"./LDDAJOTV.js";import{a as B}from"./RHXVVGD3.js";import{a as w}from"./LTOXLO3L.js";import h from"./7HL2TQ7E.js";import g from"./MZWO5JYA.js";import f from"./FHWOIM57.js";import"./VJVKFKSG.js";import e from"./3T7L7UT5.js";import{a as R}from"./2BVXNQ3U.js";import{a as p}from"./JD74LG7K.js";import d from"./2FM2FJAY.js";import b from"./YHNRTH56.js";import{g as D}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import a from"./SDWFNKIL.js";import"./QUZTFUWM.js";import{d as x}from"./4W3T75SY.js";import{A as T,L as O,M as m,N as P,O as y,Q as $,R as L,T as A,b as r,w as c}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{createReactiveMap:K},I,{on:C,watch:W},X,Y,{h:f},,{a:N},k,,,,,{b:j,c:q,d:z}])=>{var g=J,Z=u=>{let e=u?.type;return e==="knowledge-graph"||e==="map-image"||e==="tile"},ee=u=>u?.type==="catalog",Q="nested",te=I.ofType(Y),se=k(X),_=class extends P{constructor(){super(...arguments),this.#l=`operational-${T()}`,this.#e=null,this.#o=O(),this.#i=!1,this.#t=!1,this.messages=R(),this.#r=()=>{this._activeItem=null},this.#n=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(s=>s.classList?.contains(g.item));this._activeItem=F(t)},this.#a=K(),this.#s=K(),this.#h=e=>{e&&this.#v(e)},this.#c=e=>{e&&this.#b(e)},this.#d=e=>{e&&this.#$(e)},this.viewModel=se(this),this._activeItem=null,this._focusRootFlowItem=!1,this._focusPanelFlowItem=!1,this._focusLayerFlowItem=null,this.layerTablesEnabled=new I(["knowledge-graph"]),this.mapImageOptions=null,this.tileOptions=null,this.view=this.viewModel.view,this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.showFilter=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.closed=!1,this.topLayerDisabled=!1,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.openedLayers=new I,this.openedLayerLists=new I,this.collapsed=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.minFilterItems=H,this.selectedItems=new te,this.selectionMode="none",this.visibilityAppearance="default",this.arcgisPropertyChange=D()("state"),this.arcgisReady=c(),this.arcgisCatalogItemsChange=c(),this.arcgisFilterChange=c(),this.arcgisSelectedItemsChange=c(),this.arcgisOpenedLayersChange=c(),this.arcgisTriggerAction=N(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_activeItem:16,_focusRootFlowItem:16,_focusPanelFlowItem:16,_focusLayerFlowItem:16,_totalItems:16,_filterEnabled:16,_visibleItems:16,_openedPanelItems:16,_renderedOpenLayerFlowItems:16,layerTablesEnabled:16,mapImageOptions:16,tileOptions:16,view:0,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,closed:5,topLayerDisabled:5,autoDestroyDisabled:5,referenceElement:1,state:32,openedLayers:32,openedLayerLists:32,catalogItems:0,catalogLayer:0,catalogOptions:0,collapsed:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,listModeDisabled:5,minFilterItems:9,selectedItems:0,selectionMode:1,visibilityAppearance:1,messageOverrides:0,onCatalogOpen:0,onTablesOpen:0}}static{this.styles=[z,q]}#l;#e;#o;#i;#t;#r;#n;#a;#s;#h;#c;#d;get _totalItems(){return this.catalogItems?.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length??0}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _visibleItems(){return this.catalogItems?.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 _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,s)=>this.#D(t,s===e.length-1))}get catalogItems(){return this.viewModel.catalogItems}set catalogItems(e){this.viewModel.catalogItems=e}get catalogLayer(){return this.viewModel.catalogLayer}set catalogLayer(e){this.viewModel.catalogLayer=e}async destroy(){this.#i||this.#t||(this.#i=!0,this.#e?.abort(),this.#e=null,await this.manager.destroy(),this.openedLayerLists.removeAll(),this.openedLayers.removeAll(),this.#s.clear(),this.#a.clear(),this.#t=!0,this.#i=!1)}loaded(){this.manager.onLifecycle(()=>[C(()=>this.openedLayers,"change",()=>{this.#w()}),C(()=>this.viewModel.catalogItems,"change",()=>{G(this.selectedItems),this.arcgisCatalogItemsChange.emit()}),C(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),W(()=>[this.filterPredicate,this.#o.value],()=>U(this.#o.value,this.filterPredicate))])}disconnectedCallback(){super.disconnectedCallback(),this.#e?.abort(),this.#e=null,!this.autoDestroyDisabled&&!this.#t&&!this.#i&&this.destroy()}#y(e,t){return this.viewModel.triggerAction(e,t)}async#f(e,t){let s=this.#s.get(e);if(s)return s;let a=e.type==="catalog"?await this.#L(e):await this.#C(e);return t.aborted||!this.isConnected||this.#t?(a?.destroy?.(),a):(t.aborted||this.#s.set(e,a),a)}async#w(){if(!this.isConnected||this.#t)return;let{openedLayers:e,openedLayerLists:t}=this;this.#e?.abort();let s=new AbortController,{signal:a}=s;this.#e=s,this.#s.forEach((n,h)=>{e.includes(h)||(n?.destroy?.(),this.#s.delete(h))});let o=await Promise.all(e.map(n=>this.#f(n,a)));if(a.aborted||!this.isConnected||this.#t)return;t.removeAll(),t.addMany(o);let i=t.at(-1),l=i&&"catalogLayer"in i?i:void 0;this._catalogLayerList!==l&&(this._catalogLayerList=l),this.arcgisOpenedLayersChange.emit()}#I(e){e.open=!1,this._focusRootFlowItem=!0}#b(e){this._focusRootFlowItem&&(this._focusRootFlowItem=!1,f(e))}#v(e){this._focusPanelFlowItem&&(this._focusPanelFlowItem=!1,f(e))}#$(e){this._focusLayerFlowItem===e.dataset.layerUid&&(this._focusLayerFlowItem=null,f(e))}async#L(e){let{headingLevel:t,catalogOptions:s,view:a,referenceElement:o,filterPlaceholder:i,listItemCreatedFunction:l,minFilterItems:n,selectionMode:h,visibilityAppearance:d}=this;return L(r`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder??i} .listItemCreatedFunction=${s?.listItemCreatedFunction??l} .minFilterItems=${s?.minFilterItems??n} .selectionMode=${s?.selectionMode??h} .visibilityAppearance=${s?.visibilityAppearance??d} .showErrors=${s?.showErrors??this.showErrors} .showFilter=${s?.showFilter??this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${b=>b.stopPropagation()} .catalogLayer=${e} .view=${a} .referenceElement=${o} @catalogOpen=${this.#p} @tablesOpen=${this.#m}></arcgis-catalog-layer-list-next>`)}#F(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#C(e){let{headingLevel:t,selectionMode:s,referenceElement:a,view:o}=this,i=this.#F(e);return L(r`<arcgis-table-list-next .headingLevel=${i?.headingLevel??t} .selectionMode=${i?.selectionMode??s} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .label=${i?.label} .tables=${i?.tables} .view=${o} .referenceElement=${a} @arcgisReady=${l=>l.stopPropagation()}></arcgis-table-list-next>`)}#m(e){if(this.onTablesOpen){this.onTablesOpen(e);return}let t=e.layer;Z(t)&&(this.openedLayers.push(t),this._focusLayerFlowItem=t.uid)}#p(e){if(this.onCatalogOpen){this.onCatalogOpen(e);return}let t=e.layer?.parent;ee(t)&&(this.openedLayers.push(t),this._focusLayerFlowItem=e.layer?.uid)}#_(e,t){t?this.#a.set(e,t):this.#a.delete(e)}#M(e,t){this.#y(e,t)}#E(e){let{selectionMode:t,selectedItems:s}=this;if(t==="none")return;let a=e.target.selectedItems.map(o=>F(o)).filter(Boolean);s.removeAll(),s.addMany(a)}render(){let{state:e}=this,t={[p.hidden]:e==="loading",[p.disabled]:e==="disabled"};return r`<div class=${y(x(p.widget,p.panel,t))}>${this._visibleItems?.length?this.#O():null}${this.#x()}</div>`}#T(e){let t=this.#a,s=this.messages;return e?.layer?r`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer.uid)} .topLayerDisabled=${this.topLayerDisabled}>${s.layerIncompatibleTooltip}</calcite-tooltip>`:null}#g(e){return e.incompatible?this.#T(e):e.children?.filter(t=>!t.hidden).toArray().map(t=>this.#g(t))}#O(){return this._visibleItems?.toArray().map(e=>this.#g(e))}#u(){return r`<div slot=message>${this.messages.noItemsToDisplay}</div>`}#P(){return this.hideNoItemsNotice?null:r`<div class=${y(g.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this.#u()}</calcite-notice></div>`}#A(){let{_openedPanelItems:e,openedLayers:t}=this;return B(e.toArray(),({uid:s})=>s,(s,a)=>{let{uid:o,title:i,panel:l}=s,n=()=>this.#I(l);return r`<calcite-flow-item .description=${i} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${h=>{h.preventDefault(),n()}} ${m(this.#h)}><arcgis-layer-list-item-panel .item=${s} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent slot=footer-actions width=full @click=${n}>Back</calcite-button></calcite-flow-item>`})}#x(){let{collapsed:e,_visibleItems:t,_filterEnabled:s,showCloseButton:a,showCollapseButton:o,showHeading:i,selectionMode:l,filterText:n,filterPlaceholder:h,openedLayers:d,_openedPanelItems:b}=this,M=this.#l,E=this.label??this.messages.componentLabel??"",V=[r`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${i?E:void 0} .headingLevel=${this.headingLevel} .selected=${!d.length&&!b.length} @calciteFlowItemClose=${()=>this.closed=!0} ${m(this.#c)}>${t?.length?r`<calcite-list data-layer-type=${M??$} .displayMode=${Q} .filterEnabled=${s} .filterPlaceholder=${h} .filterProps=${S} .filterText=${s?n:""} .group=${M} .label=${E} @focusin=${this.#n} @focusout=${this.#r} selection-appearance=border .selectionMode=${l} @calciteListChange=${this.#E} @calciteListFilter=${v=>{this.filterText=v.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @mouseleave=${this.#r} @mouseover=${this.#n} ${m(this.#o)}>${t.toArray().map(v=>this.#R(v))}${s&&!this.hideNoFilterResultsNotice?r`<div class=${y(g.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this.#u()}</calcite-notice></div>`:null}</calcite-list>`:this.#P()}</calcite-flow-item>`,this.#A(),this._renderedOpenLayerFlowItems];return this.closed?null:w("root-flow",r`<calcite-flow>${V}</calcite-flow>`)}#D(e,t){let{openedLayers:s}=this,a=e.title||this.messages.untitledLayer;return w(e.uid,r`<calcite-flow-item data-layer-uid=${e.uid??$} .description=${a} .heading=${this.messages[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${o=>{o.preventDefault(),s.pop();let i=s.at(-1);i?this._focusLayerFlowItem=i.uid:this._focusRootFlowItem=!0}} ${m(this.#d)}>${this.#s.get(e)}</calcite-flow-item>`)}#R(e,t,s){let{hideStatusIndicators:a,showCloseButton:o,showCollapseButton:i,showErrors:l,showFilter:n,showHeading:h,showTemporaryLayerIndicators:d}=this;return w(e.uid,j({activeItem:this._activeItem??void 0,css:{...g,itemCatalogIcon:g.itemActionIcon},displayMode:Q,dragEnabled:!1,item:e,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,parent:t,parentTitles:s,rootGroupUid:this.#l,selectedItems:this.selectedItems,selectionMode:this.selectionMode,visibilityAppearance:this.visibilityAppearance,hideStatusIndicators:a,showCloseButton:o,showCollapseButton:i,showErrors:l,showFilter:n,showHeading:h,showTemporaryLayerIndicators:d,handleAction:this.#M.bind(this),handleCatalogOpen:this.#p.bind(this),handleTablesOpen:this.#m.bind(this),handleTooltipReferenceChange:this.#_.bind(this),view:this.view}))}};A("arcgis-catalog-layer-list-next",_);return _},"applications/Components/featureUtils","core/Collection","core/reactiveUtils","layers/list/CatalogItemCollection","layers/list/Item",a,b,d,e,f,g,h,i,j)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{g as w}from"./
|
|
2
|
+
import{g as w}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import{N as f,P as u,T as _,a as d,b as m}from"./WXLC6FPD.js";import"./H6RQVSYM.js";var x=d`:host{display:block;pointer-events:initial}calcite-popover{pointer-events:initial}.content{min-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-min-inline-size, 300px));max-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-max-inline-size, 400px));max-height:var( --arcgis-view-popover-content-max-height, calc(100cqh - var(--arcgis-view-popover-height-reserve, 77px)) );-webkit-user-select:none;user-select:none;overflow-y:auto}`,h=6,y=2,A=32,S=77,B=0;function z(t){let e=C(t),i=t.actionBarLayout==="vertical"?0:e;return{effectiveTailOffset:e,horizontalMargin:$(t),verticalMargin:P(t)+i+t.headerRect.height,offsetSkidding:O(t),placement:L(t)}}function C({actionBarLayout:t,actionRect:e,barRect:i,tailAttachmentAppearance:a}){let n=a==="bar"?t==="vertical"?Math.max(0,e.left-i.left):Math.max(0,e.top-i.top):0;return h+n}function $({actionBarLayout:t,barRect:{left:e,right:i},actionRect:{left:a},tailAttachmentAppearance:n,viewEdgeMargin:r}){let s=r*2;if(t==="vertical"){let l=i-e,v=n==="action"?-(a-e-h):h;return s+l+v}return s}function O(t){return t.actionBarLayout==="vertical"||b(t)==="left"?t.viewEdgeMargin:-t.viewEdgeMargin}function L(t){let{actionBarLayout:e,actionRect:i,viewRect:a}=t,n=b(t);if(e==="vertical")return n==="left"?"right-end":"left-end";let r=i.bottom-a.top<a.height/2?"bottom":"top";return n==="left"?`${r}-end`:`${r}-start`}function b({barRect:{left:t,right:e},viewRect:{left:i,right:a}}){return t-i<a-e?"left":"right"}function k({actionRect:t,viewRect:e}){return t.top-e.top>e.height/2?"bottom":"top"}function P(t){let{actionBarLayout:e,actionRect:i,attributionHeight:a,viewEdgeMargin:n,viewRect:r}=t,s=k(t),l=i.bottom-r.top,v=i.top-r.top,E=s==="top"?l:n,R=n,g=a+n,M=s==="top"?g:r.height-v;return(e==="vertical"?R+g:E+M)+y}function o(){return new DOMRect(0,0,0,0)}function c(t){return t?.getBoundingClientRect()??o()}var p=class extends f{constructor(){super(...arguments),this._handlePopoverBeforeOpen=e=>{if(e.target!==e.currentTarget)return;let i=e.currentTarget;this._headerElement=i.shadowRoot?.querySelector(".header")??void 0,this._observeMeasurementElements(),this._remeasureAndSolve()},this._handlePopoverClose=e=>{e.target===e.currentTarget&&(e.preventDefault(),this.open=!1,this._stopMeasuring())},this._viewRect=o(),this._barRect=o(),this._actionRect=o(),this._headerRect=o(),this._resizeObserver=new ResizeObserver(()=>this._remeasureAndSolve()),this._placement="bottom-end",this._effectiveTailOffset=h,this._offsetSkidding=B,this._horizontalMargin=A,this._verticalMargin=S,this.closable=!0,this.open=!1,this.maxContentWidth=400,this.minContentWidth=300,this.viewEdgeMargin=16,this.visualScale="m",this.tailAttachmentAppearance="bar",this.arcgisPropertyChange=w()("open")}static{this.properties={_placement:16,_effectiveTailOffset:16,_offsetSkidding:16,_horizontalMargin:16,_verticalMargin:16,view:0,actionBarLayout:32,actionBarElement:0,anchorElement:0,closable:5,heading:1,label:1,open:5,maxContentWidth:9,minContentWidth:9,viewEdgeMargin:9,visualScale:1,tailAttachmentAppearance:1}}static{this.styles=x}get _viewElement(){return this.view?.container??void 0}get actionBarLayout(){return this.actionBarElement?.layout==="vertical"?"vertical":"horizontal"}willUpdate(e){e.has("open")&&!this.open?this._stopMeasuring():this.open&&this._hasParameterInputChange(e)?this._remeasureAndSolve():this.open&&this._hasObservedElementChange(e)&&this._observeMeasurementElements()}disconnectedCallback(){super.disconnectedCallback(),this._stopMeasuring()}_hasObservedElementChange(e){return e.has("actionBarElement")||e.has("anchorElement")||e.has("view")}_hasParameterInputChange(e){return e.has("open")&&this.open||e.has("tailAttachmentAppearance")||e.has("viewEdgeMargin")||e.has("visualScale")}_observeMeasurementElements(){this._resizeObserver.disconnect();for(let e of[this.anchorElement,this.actionBarElement,this._viewElement,this._headerElement])e&&this._resizeObserver.observe(e);this._remeasureAndSolve()}_stopMeasuring(){this._resizeObserver.disconnect(),this._headerElement=void 0}_remeasureAndSolve(){this._actionRect=c(this.anchorElement),this._barRect=c(this.actionBarElement),this._headerRect=c(this._headerElement),this._viewRect=c(this._viewElement),this._solveLayoutAndUpdate()}_solveLayoutAndUpdate(){let{effectiveTailOffset:e,horizontalMargin:i,verticalMargin:a,offsetSkidding:n,placement:r}=z({actionBarLayout:this.actionBarLayout,actionRect:this._actionRect,attributionHeight:this.view?.attributionHeight??0,barRect:this._barRect,headerRect:this._headerRect,visualScale:this.visualScale,tailAttachmentAppearance:this.tailAttachmentAppearance,viewEdgeMargin:this.viewEdgeMargin,viewRect:this._viewRect});this._effectiveTailOffset=e,this._horizontalMargin=i,this._verticalMargin=a,this._offsetSkidding=n,this._placement=r}render(){return this.anchorElement?m`<calcite-popover .closable=${this.closable} .heading=${this.heading} .label=${this.label??""} .open=${this.open} .offsetDistance=${this._effectiveTailOffset} .offsetSkidding=${this._offsetSkidding} overlay-positioning=fixed flip-disabled .placement=${this._placement} .referenceElement=${this.anchorElement} @calcitePopoverBeforeOpen=${this._handlePopoverBeforeOpen} .scale=${this.visualScale} style=${u({"--arcgis-view-popover-max-inline-size":`${this.maxContentWidth}px`,"--arcgis-view-popover-min-inline-size":`${this.minContentWidth}px`,"--arcgis-view-popover-height-reserve":`${this._verticalMargin}px`,"--arcgis-view-popover-width-reserve":`${this._horizontalMargin}px`})} trigger-disabled @calcitePopoverClose=${this._handlePopoverClose}><div class="content"><slot></slot></div></calcite-popover>`:null}};_("arcgis-view-popover",p);export{p as ArcgisViewPopover};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./3ZXNGXHC.js";import{N as m,T as r,b as i}from"./
|
|
2
|
+
import a from"./3ZXNGXHC.js";import{N as m,T as r,b as i}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:f},{e:c}])=>{var l=class extends m{constructor(){super(...arguments),this._formats=[]}static{this.properties={_formats:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[f(()=>[this.viewModel.templateOptions.format,this.viewModel.templatesInfo?.format],()=>{let e=this.viewModel.templatesInfo;if(!e)return;if(this._formats.length!==e.format.choiceList.length){let a=[...c.values()];this._formats=e.format.choiceList.map(t=>{let s=a.find(n=>new RegExp(`\\b${n}\\b`,"iu").test(t))??t;return{value:s,label:t===s?t.toUpperCase():t}}).sort((t,s)=>t.label.localeCompare(s.label))}let o=this._formats.some(({value:a})=>new RegExp(`\\b${a}\\b`,"iu").test(this.viewModel.templateOptions.format));if(e.format.defaultValue&&!o){let a=this._formats.find(({value:t})=>new RegExp(`\\b${t}\\b`,"iu").test(e.format.defaultValue))?.value;a&&(this.viewModel.templateOptions.format=a);return}},{initial:!0})])}render(){return i`<div><calcite-label>${this.messages.fileFormatTitle}<calcite-combobox clear-disabled .label=${this.messages.formatDefaultOption} max-items=6 .placeholder=${this.messages.formatDefaultOption} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:e})=>{let o=e.selectedItems[0]?.value;this.viewModel.templateOptions.format=o??"pdf"}}>${this._formats.map(({value:e,label:o})=>i`<calcite-combobox-item .heading=${o} .selected=${e===this.viewModel.templateOptions.format} .value=${e}></calcite-combobox-item>`)}</calcite-combobox></calcite-label></div>`}};r("arcgis-print-format-select",l);return l},"core/reactiveUtils",a)
|