@arcgis/map-components 5.1.0-next.77 → 5.1.0-next.79
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/{NBMOR3C3.js → 254JE3ZB.js} +1 -1
- package/dist/cdn/{G42P3KQ6.js → 2A3CQYQ7.js} +1 -1
- package/dist/cdn/{Y6J3KKIJ.js → 2DBALWLV.js} +1 -1
- package/dist/cdn/{ZRBPUXRN.js → 2EETEGWH.js} +1 -1
- package/dist/cdn/{T66WG4I4.js → 2ZIVMDLT.js} +1 -1
- package/dist/cdn/{6UX4Z6VU.js → 3DR3T6WY.js} +1 -1
- package/dist/cdn/{KUHHYT6E.js → 3ST3R6TY.js} +1 -1
- package/dist/cdn/{WINS52AG.js → 3UIFEHVN.js} +1 -1
- package/dist/cdn/{CFIG2V7L.js → 3V3C2ZU3.js} +1 -1
- package/dist/cdn/{APYGTRF2.js → 3Y2I6Q3J.js} +1 -1
- package/dist/cdn/{GFIX4VIP.js → 4BIYVGRT.js} +1 -1
- package/dist/cdn/{TXGJSCLD.js → 4LH2UCIP.js} +1 -1
- package/dist/cdn/{DJOFGKNV.js → 4NEKB2OV.js} +1 -1
- package/dist/cdn/{X4K6UDSU.js → 4VZNRZ26.js} +1 -1
- package/dist/cdn/{SM7CZ2LG.js → 4ZVO47Z6.js} +1 -1
- package/dist/cdn/{W63VCIHF.js → 52MIKBO5.js} +1 -1
- package/dist/cdn/{MF7JPFJ4.js → 53F4NPVF.js} +1 -1
- package/dist/cdn/{FE3BYRUX.js → 5DFJGBYK.js} +1 -1
- package/dist/cdn/{AOJHIQTX.js → 5XBBZKIV.js} +1 -1
- package/dist/cdn/{EVY34LST.js → 6DVM7BMM.js} +1 -1
- package/dist/cdn/{KIK5PKO7.js → 6K6PF7RA.js} +1 -1
- package/dist/cdn/{AG7LUCV3.js → 6OQ6BUPD.js} +1 -1
- package/dist/cdn/{UHALHKHT.js → 6QDIKQCW.js} +1 -1
- package/dist/cdn/{NOCKD7KH.js → 6TKSPKND.js} +1 -1
- package/dist/cdn/{MNLNBW3S.js → 6XJ6D6RZ.js} +1 -1
- package/dist/cdn/{APKTL7SO.js → 6XMHKAAL.js} +1 -1
- package/dist/cdn/{HL4M23YL.js → 76SW3QWO.js} +1 -1
- package/dist/cdn/{HWEEHWOD.js → 77TGNHGP.js} +1 -1
- package/dist/cdn/{FUQTYVGG.js → 7DXKBUXN.js} +1 -1
- package/dist/cdn/{JWH3UFIH.js → 7EE3HT3N.js} +1 -1
- package/dist/cdn/{2MYNJXEY.js → 7I7G7KRT.js} +1 -1
- package/dist/cdn/7U7KUYWO.js +2 -0
- package/dist/cdn/{B2S3QOVD.js → ABIDHISH.js} +1 -1
- package/dist/cdn/{UWDVCS4E.js → ACMP5JBE.js} +1 -1
- package/dist/cdn/{JR4KXCXH.js → AE2KWD5P.js} +1 -1
- package/dist/cdn/{QDEWCM6X.js → AFCNMKZ5.js} +1 -1
- package/dist/cdn/{QKG6UT42.js → AG7ZLICT.js} +1 -1
- package/dist/cdn/{CYQO4QP4.js → APNPUX7C.js} +1 -1
- package/dist/cdn/{3HOI2V7M.js → AVBES3CX.js} +1 -1
- package/dist/cdn/{3SFEMBVV.js → B47ZBN7H.js} +1 -1
- package/dist/cdn/{JKJ4FQKL.js → B5RFEJJ7.js} +1 -1
- package/dist/cdn/{NJW26JFU.js → B7CBHTRK.js} +1 -1
- package/dist/cdn/{N2ZR7Q6F.js → BKAPYSAA.js} +1 -1
- package/dist/cdn/{A22L5XP5.js → BQDL5AKD.js} +1 -1
- package/dist/cdn/{FOUN5D3O.js → BYU3MXJ6.js} +1 -1
- package/dist/cdn/{W2TSRBOS.js → BZIK6Z7E.js} +1 -1
- package/dist/cdn/{TL3BHZ3H.js → CEEUQZJV.js} +1 -1
- package/dist/cdn/{YQEDXRJA.js → CI7OTBUT.js} +1 -1
- package/dist/cdn/{JE27PKO6.js → CKATA7TG.js} +1 -1
- package/dist/cdn/{ECFM6HYM.js → CNP4VKEY.js} +1 -1
- package/dist/cdn/{CFXRUQAL.js → CQJXWT5R.js} +1 -1
- package/dist/cdn/{RO7G7YI6.js → CSWPJZDK.js} +1 -1
- package/dist/cdn/{ZBT5NH2L.js → CXPHSAIT.js} +1 -1
- package/dist/cdn/{RZ3PYHOX.js → D7I26KVL.js} +1 -1
- package/dist/cdn/{LZUWGRAM.js → DJDKXMR4.js} +1 -1
- package/dist/cdn/DUG7JSW6.js +2 -0
- package/dist/cdn/{UFPVVX5A.js → DUQC4HHR.js} +1 -1
- package/dist/cdn/{GT6Q5IY3.js → E5YUWMMG.js} +1 -1
- package/dist/cdn/{VRTVUSGY.js → E6EUQGDP.js} +1 -1
- package/dist/cdn/{3HYZ3J2E.js → E6IL4F2M.js} +1 -1
- package/dist/cdn/{Q4M2HATT.js → E6N6QLP4.js} +1 -1
- package/dist/cdn/{Y5JWTIP4.js → ECKKHMMU.js} +1 -1
- package/dist/cdn/{XOTOQOK6.js → EE2HPZ4A.js} +1 -1
- package/dist/cdn/{ZZ2PNMQH.js → EMIPZ32D.js} +1 -1
- package/dist/cdn/{PP7ZT3L2.js → ESB62TDV.js} +1 -1
- package/dist/cdn/{TXDD3LFB.js → EWNALU5W.js} +1 -1
- package/dist/cdn/{5J37HLFL.js → F3RHLUTC.js} +1 -1
- package/dist/cdn/{OEYAER33.js → F3ZKDMWI.js} +1 -1
- package/dist/cdn/{HAKD7266.js → FIZUMN7H.js} +1 -1
- package/dist/cdn/{CQRMBQPI.js → FJN7WJ5N.js} +1 -1
- package/dist/cdn/FJPZU3ZV.js +2 -0
- package/dist/cdn/{S6KYM3LN.js → FQUXYFDU.js} +1 -1
- package/dist/cdn/{FAQRULFP.js → FRGRZ42K.js} +1 -1
- package/dist/cdn/{YFXHW7I2.js → FVQUTZLR.js} +1 -1
- package/dist/cdn/{BAJLAC4A.js → G4FGSUWN.js} +1 -1
- package/dist/cdn/{P7GBGAFM.js → GAEUASLL.js} +1 -1
- package/dist/cdn/{IVKWYER5.js → GAJMF6RP.js} +1 -1
- package/dist/cdn/{E7EA5XDB.js → GRKGTWUF.js} +1 -1
- package/dist/cdn/{IP6NIPH4.js → GUBMV5YD.js} +1 -1
- package/dist/cdn/{BH32Z76H.js → GUHQ4SWM.js} +1 -1
- package/dist/cdn/{6OM4BUVD.js → H2XQENEQ.js} +1 -1
- package/dist/cdn/{2NOPYDQS.js → H3DRTTRE.js} +1 -1
- package/dist/cdn/{WFCPCKWY.js → HBAGN3SY.js} +1 -1
- package/dist/cdn/{LJZ2SOPU.js → HNJYF5XR.js} +1 -1
- package/dist/cdn/{JO7B2R5F.js → HPCCUTBX.js} +1 -1
- package/dist/cdn/{A47GCJWF.js → HQOJ5IRW.js} +1 -1
- package/dist/cdn/{WO2BX7U2.js → HU5IRGRQ.js} +1 -1
- package/dist/cdn/{M7RBOMBN.js → HU65S62F.js} +1 -1
- package/dist/cdn/{72CK3WCR.js → HVEHKM52.js} +1 -1
- package/dist/cdn/{MEGP2NPD.js → HYKQPCTD.js} +1 -1
- package/dist/cdn/{L5MVC2NA.js → IIQQUUEG.js} +1 -1
- package/dist/cdn/{V3BMEZZP.js → IN3VBXB7.js} +1 -1
- package/dist/cdn/{OLEXEPTK.js → IVOKWKIJ.js} +1 -1
- package/dist/cdn/{JBTN4GL2.js → J4LX4RDC.js} +1 -1
- package/dist/cdn/{OU4GNV5Y.js → J4TYGEI3.js} +1 -1
- package/dist/cdn/{CACNO7RL.js → JA3BIJG2.js} +1 -1
- package/dist/cdn/{OED5NC6N.js → JI6G3SRC.js} +1 -1
- package/dist/cdn/{7TFFI5XQ.js → JNCJIAH5.js} +1 -1
- package/dist/cdn/{W5DCESH4.js → JPCROHRC.js} +1 -1
- package/dist/cdn/{OCARRD2E.js → JTXEOZ4U.js} +1 -1
- package/dist/cdn/{I747LK4V.js → JUIA2RF6.js} +1 -1
- package/dist/cdn/{W7UFIVEB.js → K3ZOWUVQ.js} +1 -1
- package/dist/cdn/{6MK35EAT.js → K455WYX6.js} +1 -1
- package/dist/cdn/{S5JVHVOR.js → KDIBOT2K.js} +1 -1
- package/dist/cdn/{WIBXC4YU.js → KDZBWP74.js} +1 -1
- package/dist/cdn/{QVQGIR6D.js → KTDKJ5G6.js} +1 -1
- package/dist/cdn/{MZ2TWQRP.js → KTYMX423.js} +1 -1
- package/dist/cdn/L7GAWVJH.js +2 -0
- package/dist/cdn/{A26DRZN4.js → LLBKJRR4.js} +1 -1
- package/dist/cdn/{CIDI6EZW.js → LNCRYO2V.js} +1 -1
- package/dist/cdn/{NNZFQ3A4.js → LQTNAFPN.js} +1 -1
- package/dist/cdn/{RJ6ZGPF4.js → LYZMPNI4.js} +1 -1
- package/dist/cdn/{OOWF5FYH.js → M7RQ3L6H.js} +1 -1
- package/dist/cdn/{FJZK7WV6.js → MC6MYJLJ.js} +1 -1
- package/dist/cdn/{SCPCX6UA.js → MKOWJU7V.js} +1 -1
- package/dist/cdn/{33HHEIDJ.js → N3ERK6NB.js} +1 -1
- package/dist/cdn/{6G2BU2BR.js → NLYC7Z54.js} +1 -1
- package/dist/cdn/{PGZSF2NC.js → NMSTKGMQ.js} +1 -1
- package/dist/cdn/{J7CQ6QTI.js → NQQXH4BL.js} +1 -1
- package/dist/cdn/{ZJ22ILAI.js → NVVDARUC.js} +1 -1
- package/dist/cdn/{SJDBMERA.js → NX4CKJEK.js} +1 -1
- package/dist/cdn/{WEH7CANO.js → O4ILRFUM.js} +1 -1
- package/dist/cdn/{NLRDVW4V.js → ODALKFNW.js} +1 -1
- package/dist/cdn/{LBBPRMIN.js → OGUICK2F.js} +1 -1
- package/dist/cdn/{STRMIFOQ.js → ONFCJKLO.js} +1 -1
- package/dist/cdn/OX64ONZE.js +2 -0
- package/dist/cdn/{SD7DMWPD.js → OYDYD5BC.js} +1 -1
- package/dist/cdn/{V4QAL5W3.js → OZFNTMYH.js} +1 -1
- package/dist/cdn/P4TQOIJG.js +2 -0
- package/dist/cdn/{ONHQ3PYJ.js → PO3NMPKS.js} +1 -1
- package/dist/cdn/{KCMHFNRQ.js → PT4OAWSU.js} +1 -1
- package/dist/cdn/{FL6CHMPH.js → PXGQNGKC.js} +1 -1
- package/dist/cdn/{WULZBTNW.js → Q3NKAVJC.js} +1 -1
- package/dist/cdn/{NIBNK3Z5.js → Q6MNNDO4.js} +1 -1
- package/dist/cdn/{QZBFM3AA.js → QJOZC53I.js} +1 -1
- package/dist/cdn/{RVJNTIZ7.js → QKSU7LVE.js} +1 -1
- package/dist/cdn/{VXFUINRN.js → QLPEWWE3.js} +1 -1
- package/dist/cdn/{6ADPAEGR.js → QZMJWS2B.js} +1 -1
- package/dist/cdn/{ASX42Z23.js → RAOQLYGB.js} +1 -1
- package/dist/cdn/{KA7TWJWF.js → RB3WCYIH.js} +1 -1
- package/dist/cdn/{NZJR4L2B.js → RGMMJ7FD.js} +1 -1
- package/dist/cdn/{NMP4CEPM.js → RKMX5UC5.js} +1 -1
- package/dist/cdn/{X7JSA5PG.js → RNPB43PI.js} +1 -1
- package/dist/cdn/{6D72H6LD.js → RQ44NHSK.js} +1 -1
- package/dist/cdn/{6PKEUXSO.js → RRGRQMTZ.js} +1 -1
- package/dist/cdn/{5N7UWAVE.js → RSCIGL3Q.js} +1 -1
- package/dist/cdn/{CZ4AD53F.js → RYVHAKPU.js} +1 -1
- package/dist/cdn/{6L32XZYR.js → RZHHKFQG.js} +1 -1
- package/dist/cdn/{6W4FXBBQ.js → S4NYFQGB.js} +1 -1
- package/dist/cdn/{FZQCY3ZG.js → S7EA4UD5.js} +1 -1
- package/dist/cdn/{N3OPOJCY.js → SAVKJMII.js} +1 -1
- package/dist/cdn/{O6JPYYGF.js → SF2FK3DX.js} +1 -1
- package/dist/cdn/{LHINF2SX.js → SFWUJGG4.js} +1 -1
- package/dist/cdn/{S4U6RD3Z.js → SITLYLLQ.js} +1 -1
- package/dist/cdn/{BEHN6I6X.js → SJ4ZOWRE.js} +1 -1
- package/dist/cdn/{D3LKHYLJ.js → SLTCC6CD.js} +1 -1
- package/dist/cdn/{IUC4DIX3.js → SMF2ZF5W.js} +1 -1
- package/dist/cdn/{OTC6TYTF.js → SMNPXSQD.js} +1 -1
- package/dist/cdn/{XF6IFR2Q.js → ST65RBHQ.js} +1 -1
- package/dist/cdn/{CRYOAY2H.js → SUJZJB5H.js} +1 -1
- package/dist/cdn/{5UNQDPZJ.js → SWLLHKOO.js} +1 -1
- package/dist/cdn/{SE6RRFBA.js → SY54XMAK.js} +1 -1
- package/dist/cdn/{DXHOQGVA.js → SYVDOPTD.js} +1 -1
- package/dist/cdn/{IHQLTHJE.js → TG33URMT.js} +1 -1
- package/dist/cdn/{VNWKALDY.js → TGYMEHXI.js} +1 -1
- package/dist/cdn/{V2HLEYHF.js → TTIZKN62.js} +2 -2
- package/dist/cdn/{QW4QGAIG.js → TTRFFI7Y.js} +1 -1
- package/dist/cdn/{X3FFVKWE.js → TYJXD6AO.js} +1 -1
- package/dist/cdn/{CHMQU4DQ.js → U7JHREJL.js} +1 -1
- package/dist/cdn/{DDRAWHZU.js → UD6LNBVQ.js} +1 -1
- package/dist/cdn/{YWYIVDCG.js → UDIXZHUY.js} +1 -1
- package/dist/cdn/{LWQZWUXM.js → UHU5IUW2.js} +1 -1
- package/dist/cdn/{2ELCZVYD.js → USYUV75O.js} +1 -1
- package/dist/cdn/{ZJKDFPY4.js → V3KSSGFP.js} +1 -1
- package/dist/cdn/{NORRVFXR.js → V5P7S2DT.js} +1 -1
- package/dist/cdn/VA3K45XS.js +2 -0
- package/dist/cdn/{PHRWTXE2.js → VCAZSMBN.js} +1 -1
- package/dist/cdn/{43K6WHJE.js → VJHLWJIR.js} +1 -1
- package/dist/cdn/{3AX3SJK2.js → VNFPWEKG.js} +1 -1
- package/dist/cdn/{MNXYDKVS.js → VPBJEJAA.js} +1 -1
- package/dist/cdn/{DLRTY3IJ.js → VRLY2I2M.js} +1 -1
- package/dist/cdn/{7KWU54HM.js → VRZYHJKU.js} +1 -1
- package/dist/cdn/{AG6LWZ63.js → VWQIPGRP.js} +1 -1
- package/dist/cdn/W3OI3KIT.js +2 -0
- package/dist/cdn/{2F2MGL4Q.js → W4GZ7I6Q.js} +1 -1
- package/dist/cdn/{Z5OWX3WN.js → WCB77MWJ.js} +1 -1
- package/dist/cdn/{XM5NRBJO.js → WM2XTDRW.js} +1 -1
- package/dist/cdn/{BHFAEIHA.js → WXPZZDF2.js} +1 -1
- package/dist/cdn/{5LX733ME.js → X2DKSJNC.js} +1 -1
- package/dist/cdn/{N7VR7H4O.js → X4JLEHWK.js} +1 -1
- package/dist/cdn/{K2DVP6DU.js → XBK2NLNS.js} +1 -1
- package/dist/cdn/{FMHQLHWM.js → YDPROZGV.js} +1 -1
- package/dist/cdn/{QCDIKENQ.js → YJCBOLKI.js} +1 -1
- package/dist/cdn/{LB4DADJX.js → YJUZU6GA.js} +1 -1
- package/dist/cdn/{ADEVZ6VO.js → YKQGIXEZ.js} +1 -1
- package/dist/cdn/{I4N2D54J.js → YPB6RGI6.js} +1 -1
- package/dist/cdn/{ULEVE3UM.js → YPTHEAW7.js} +1 -1
- package/dist/cdn/{NHFOFAFP.js → YTUCYHBY.js} +1 -1
- package/dist/cdn/{2LHTH7PU.js → Z25OUO3N.js} +1 -1
- package/dist/cdn/Z4O75QMV.js +4 -0
- package/dist/cdn/ZCLVDWMK.js +2 -0
- package/dist/cdn/{DLWIT4TY.js → ZG53RUE3.js} +1 -1
- package/dist/cdn/{3I5WS3FR.js → ZTHEDAG5.js} +1 -1
- package/dist/cdn/{MELR5RGE.js → ZVK3LXXI.js} +1 -1
- package/dist/cdn/{HAWDOVIO.js → ZZAXMSMP.js} +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +9 -0
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +7 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +24 -8
- package/dist/components/arcgis-presentation/customElement.js +275 -216
- package/dist/components/arcgis-presentation/index.js +2 -0
- package/dist/components/arcgis-presentation-captions/customElement.js +17 -11
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +49 -52
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +5 -5
- package/dist/cdn/3ATNVL7S.js +0 -2
- package/dist/cdn/5CKHTWHC.js +0 -2
- package/dist/cdn/65CSQYOK.js +0 -2
- package/dist/cdn/DSHFA5OM.js +0 -2
- package/dist/cdn/GRYRJF75.js +0 -4
- package/dist/cdn/ILA4VRUF.js +0 -2
- package/dist/cdn/NYFOMOKM.js +0 -2
- package/dist/cdn/UVGSA7KM.js +0 -2
- package/dist/cdn/YLKEVZLN.js +0 -2
- package/dist/cdn/ZVDWGIFU.js +0 -2
- /package/dist/cdn/{ZT5S7V6J.js → 2KBFRAA3.js} +0 -0
- /package/dist/cdn/{FBCPADOP.js → 3MSBRZSL.js} +0 -0
- /package/dist/cdn/{GR26P3LB.js → 772IZDK4.js} +0 -0
- /package/dist/cdn/{BKAQFR3R.js → 7D5T777O.js} +0 -0
- /package/dist/cdn/{N45IWP4M.js → 7IB6AI2V.js} +0 -0
- /package/dist/cdn/{DWTHS3XD.js → 7LWMV5A2.js} +0 -0
- /package/dist/cdn/{QTDR6KS5.js → AVFPVB7U.js} +0 -0
- /package/dist/cdn/{XRCQN5W7.js → CK5XEDZS.js} +0 -0
- /package/dist/cdn/{6CDF2EB7.js → DPU3VHST.js} +0 -0
- /package/dist/cdn/{NO5WA6CC.js → F6ZBUVU3.js} +0 -0
- /package/dist/cdn/{ZYQNMTFH.js → FV53P5VQ.js} +0 -0
- /package/dist/cdn/{RCDXPUVE.js → GJ5TOPT3.js} +0 -0
- /package/dist/cdn/{Q2Q2Z6PD.js → GMSP2RYI.js} +0 -0
- /package/dist/cdn/{EM3MB6DQ.js → GNOAUTDK.js} +0 -0
- /package/dist/cdn/{C6XURVVZ.js → H76ZEZDT.js} +0 -0
- /package/dist/cdn/{JPGCNIGY.js → HEP3BHHQ.js} +0 -0
- /package/dist/cdn/{O7JONM22.js → IL63OQEZ.js} +0 -0
- /package/dist/cdn/{DVGLR2XS.js → KAJYVAAI.js} +0 -0
- /package/dist/cdn/{JEPEIGKN.js → KCP3JSEI.js} +0 -0
- /package/dist/cdn/{EZL7XCN4.js → KDLK5QD5.js} +0 -0
- /package/dist/cdn/{VBFJKQE3.js → KOZ67YXN.js} +0 -0
- /package/dist/cdn/{72TX3EBX.js → KRMRVJFP.js} +0 -0
- /package/dist/cdn/{655NZISI.js → L54L4XXE.js} +0 -0
- /package/dist/cdn/{JPHQVDAJ.js → LSPV526S.js} +0 -0
- /package/dist/cdn/{MZXTZSIV.js → MC2YUGXZ.js} +0 -0
- /package/dist/cdn/{JDM6VF64.js → NDMFLRTB.js} +0 -0
- /package/dist/cdn/{EZOWIYC7.js → NI4PVDRC.js} +0 -0
- /package/dist/cdn/{JJP5FDCF.js → NRMPFAXY.js} +0 -0
- /package/dist/cdn/{7YHIBBQ7.js → O6LYJEON.js} +0 -0
- /package/dist/cdn/{I6MZ7JMD.js → OKNXBCUX.js} +0 -0
- /package/dist/cdn/{MYZ3EO6Z.js → OWF5OCZY.js} +0 -0
- /package/dist/cdn/{JAZ7QA6Z.js → PZSA4K32.js} +0 -0
- /package/dist/cdn/{C3GZCN7D.js → QGYTLHWY.js} +0 -0
- /package/dist/cdn/{HF66GO4V.js → SUNN2JJ2.js} +0 -0
- /package/dist/cdn/{H7DKSXDK.js → TKKD4742.js} +0 -0
- /package/dist/cdn/{GFUBQ5ID.js → U3TSRIEI.js} +0 -0
- /package/dist/cdn/{XGEZWI2R.js → UHA7OYN5.js} +0 -0
- /package/dist/cdn/{52ZTILXO.js → URTOVAT4.js} +0 -0
- /package/dist/cdn/{XDIJHALG.js → VUQCK6IF.js} +0 -0
- /package/dist/cdn/{RJI3D6MX.js → W52ULASU.js} +0 -0
- /package/dist/cdn/{WEWJI3DC.js → XUZ43MBE.js} +0 -0
- /package/dist/cdn/{SYVO6LRH.js → ZRRRSIMH.js} +0 -0
- /package/dist/cdn/{KVPWONPB.js → ZZORY2UI.js} +0 -0
|
@@ -1,53 +1,84 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as z } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as O, html as u } from "lit";
|
|
4
|
-
import { GenericController as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { u as
|
|
7
|
-
import { m as
|
|
8
|
-
import { property as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { ignoreAbortErrors as
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
4
|
+
import { GenericController as L, proxyExports as $, useDirection as M } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { LitElement as R, createEvent as I, nothing as v } from "@arcgis/lumina";
|
|
6
|
+
import { u as G } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as N } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { property as d, subclass as B } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
9
|
+
import E from "@arcgis/core/core/Accessor.js";
|
|
10
|
+
import y from "@arcgis/core/core/Collection.js";
|
|
11
|
+
import { ignoreAbortErrors as T } from "@arcgis/core/core/promiseUtils.js";
|
|
12
|
+
import { watch as g, on as D, whenOnce as S } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
+
import H from "@arcgis/core/Graphic.js";
|
|
14
|
+
import V from "@arcgis/core/layers/Layer.js";
|
|
15
|
+
import k from "@arcgis/core/graphic/CSVGraphicOrigin.js";
|
|
16
16
|
import j from "@arcgis/core/graphic/GeoJSONGraphicOrigin.js";
|
|
17
17
|
import W from "@arcgis/core/graphic/SceneGraphicOrigin.js";
|
|
18
18
|
import K from "@arcgis/core/graphic/WFSGraphicOrigin.js";
|
|
19
19
|
import U from "@arcgis/core/graphic/BuildingGraphicOrigin.js";
|
|
20
20
|
import Q from "@arcgis/core/graphic/FeatureGraphicOrigin.js";
|
|
21
|
-
import { fetchPopupFeaturesFromGraphics as
|
|
22
|
-
import { s as
|
|
23
|
-
const q = O`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex}p{padding:0;margin:0}.root{--internal-
|
|
24
|
-
var J = Object.defineProperty, X = Object.getOwnPropertyDescriptor,
|
|
25
|
-
for (var
|
|
26
|
-
(o =
|
|
27
|
-
return
|
|
21
|
+
import { fetchPopupFeaturesFromGraphics as A } from "@arcgis/core/applications/SceneViewer/sceneViewerUtils.js";
|
|
22
|
+
import { s as _ } from "../../chunks/resources.js";
|
|
23
|
+
const q = O`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{display:flex;width:100%;justify-content:flex-end;padding-top:var(--calcite-spacing-lg);padding-inline-start:calc(var(--calcite-spacing-lg)+ var(--arcgis-internal-presentation-padding-start));padding-inline-end:calc(var(--calcite-spacing-lg) + var(--arcgis-internal-presentation-padding-end))}.navigation{width:fit-content;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);margin-block:auto calc(var(--calcite-spacing-lg) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-lg)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.legend{pointer-events:all;box-shadow:var(--calcite-shadow-sm);max-width:300px;height:auto;max-height:calc(100vh - 136px);overflow:hidden auto}`;
|
|
24
|
+
var J = Object.defineProperty, X = Object.getOwnPropertyDescriptor, l = (i, e, t, s) => {
|
|
25
|
+
for (var n = s > 1 ? void 0 : s ? X(e, t) : e, r = i.length - 1, o; r >= 0; r--)
|
|
26
|
+
(o = i[r]) && (n = (s ? o(e, t, n) : o(n)) || n);
|
|
27
|
+
return s && n && J(e, t, n), n;
|
|
28
28
|
};
|
|
29
|
-
let
|
|
29
|
+
let a = class extends E {
|
|
30
|
+
//endregion
|
|
30
31
|
//#region Lifecycle
|
|
31
|
-
constructor(
|
|
32
|
-
super(
|
|
33
|
-
this.
|
|
34
|
-
const
|
|
35
|
-
this.addHandles(
|
|
32
|
+
constructor(i) {
|
|
33
|
+
super(i), this.transitionActive = !1, this.showLegend = !1, this.keyboardNavigationEnabled = !1, this._subscribeToSlideEvents = (e) => {
|
|
34
|
+
this._unsubscribeToSlideEvents(e), e.forEach((t) => {
|
|
35
|
+
const s = t.on("apply-slide-start", () => this._onApplySlideStart(t)), n = t.on("apply-slide-complete", () => this._onApplySlideComplete(t)), r = t.on("apply-slide-cancel", () => this._onApplySlideCancel(t));
|
|
36
|
+
this.addHandles(s, t.id), this.addHandles(n, t.id), this.addHandles(r, t.id);
|
|
36
37
|
});
|
|
37
|
-
}, this.
|
|
38
|
+
}, this._unsubscribeToSlideEvents = (e) => {
|
|
38
39
|
e.forEach((t) => {
|
|
39
40
|
this.hasHandles(t.id) && this.removeHandles(t.id);
|
|
40
41
|
});
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
initialize() {
|
|
44
|
-
this.
|
|
45
|
+
this.addHandles(
|
|
46
|
+
g(
|
|
47
|
+
() => this.view?.map,
|
|
48
|
+
(i, e) => {
|
|
49
|
+
if (this.hasHandles("sceneLoaded") && this.removeHandles("sceneLoaded"), e) {
|
|
50
|
+
const t = e.presentation?.slides;
|
|
51
|
+
t && t.length > 0 && this._unsubscribeToSlideEvents(t);
|
|
52
|
+
}
|
|
53
|
+
i && this.addHandles(
|
|
54
|
+
g(
|
|
55
|
+
() => i.loaded,
|
|
56
|
+
(t) => {
|
|
57
|
+
t && (this.removeHandles("sceneLoaded"), this._startWatchSlides(), this._slideId && this._applySlideById(this._slideId));
|
|
58
|
+
},
|
|
59
|
+
{ initial: !0 }
|
|
60
|
+
),
|
|
61
|
+
"sceneLoaded"
|
|
62
|
+
);
|
|
63
|
+
},
|
|
64
|
+
{ initial: !0 }
|
|
65
|
+
)
|
|
66
|
+
);
|
|
45
67
|
}
|
|
46
68
|
destroy() {
|
|
47
|
-
this.
|
|
69
|
+
this._unsubscribeToSlideEvents(this.slides);
|
|
70
|
+
}
|
|
71
|
+
get slideId() {
|
|
72
|
+
return this._slideId;
|
|
73
|
+
}
|
|
74
|
+
set slideId(i) {
|
|
75
|
+
i === void 0 || !this.view?.map?.loaded ? this._slideId = i : this._applySlideById(i);
|
|
48
76
|
}
|
|
49
77
|
get visibleSlides() {
|
|
50
|
-
return this.view?.map?.presentation?.slides?.filter((
|
|
78
|
+
return this.view?.map?.presentation?.slides?.filter((i) => !i.hidden) ?? new y();
|
|
79
|
+
}
|
|
80
|
+
get slides() {
|
|
81
|
+
return this.view?.map?.presentation?.slides ?? new y();
|
|
51
82
|
}
|
|
52
83
|
get lastSlideSelected() {
|
|
53
84
|
return this.getSlideIndexBySlideId(this.slideId) === this.visibleSlides.length - 1;
|
|
@@ -64,91 +95,116 @@ let d = class extends T {
|
|
|
64
95
|
get slideIndex() {
|
|
65
96
|
return this.getSlideIndexBySlideId(this.slideId);
|
|
66
97
|
}
|
|
67
|
-
getSlideIndexBySlideId(
|
|
98
|
+
getSlideIndexBySlideId(i) {
|
|
68
99
|
let e = -1;
|
|
69
|
-
return
|
|
100
|
+
return i && (e = this.visibleSlides.findIndex((t) => t.id === i)), e;
|
|
70
101
|
}
|
|
71
|
-
navigateInPresentation(
|
|
72
|
-
const e = this.slideIndex +
|
|
102
|
+
navigateInPresentation(i) {
|
|
103
|
+
const e = this.slideIndex + i;
|
|
73
104
|
let t = this._getSlideBySlideIndex(e);
|
|
74
105
|
t ??= this._getSlideBySlideIndex(0), t && this._applySlide(t);
|
|
75
106
|
}
|
|
76
|
-
captureArrowKeysForNavigation(
|
|
107
|
+
captureArrowKeysForNavigation(i, e) {
|
|
77
108
|
const t = ["ArrowLeft", "ArrowRight", "PageUp", "PageDown"];
|
|
78
|
-
if (document.activeElement?.nodeName.toLowerCase() === "arcgis-scene" || !t.includes(
|
|
109
|
+
if (document.activeElement?.nodeName.toLowerCase() === "arcgis-scene" || !t.includes(i.code))
|
|
79
110
|
return;
|
|
80
|
-
const
|
|
111
|
+
const n = e === "rtl" ? "ArrowRight" : "ArrowLeft", o = i.code === n || i.code === "PageUp" ? -1 : 1;
|
|
81
112
|
this.navigateInPresentation(o);
|
|
82
113
|
}
|
|
83
114
|
//#endregion
|
|
84
115
|
//#region Private Methods
|
|
85
|
-
_getSlideBySlideIndex(
|
|
86
|
-
if (
|
|
87
|
-
return this.visibleSlides.getItemAt(
|
|
116
|
+
_getSlideBySlideIndex(i) {
|
|
117
|
+
if (i != null && i >= 0 && i < this.visibleSlides.length)
|
|
118
|
+
return this.visibleSlides.getItemAt(i);
|
|
119
|
+
}
|
|
120
|
+
async _applySlideById(i) {
|
|
121
|
+
const e = i ? this._getSlideBySlideId(i) : void 0;
|
|
122
|
+
e && await this._applySlide(e);
|
|
88
123
|
}
|
|
89
|
-
|
|
90
|
-
this.
|
|
124
|
+
_getSlideBySlideId(i) {
|
|
125
|
+
return this.visibleSlides.find((e) => e.id === i);
|
|
91
126
|
}
|
|
92
|
-
|
|
93
|
-
this.
|
|
94
|
-
|
|
95
|
-
|
|
127
|
+
async _applySlide(i) {
|
|
128
|
+
this.view && await T(i.applyTo(this.view));
|
|
129
|
+
}
|
|
130
|
+
_startWatchSlides() {
|
|
131
|
+
this._subscribeToSlideEvents(this.slides), this.addHandles(
|
|
132
|
+
D(
|
|
133
|
+
() => this.slides,
|
|
96
134
|
"change",
|
|
97
|
-
(
|
|
98
|
-
this._subscribeToSlideEvents(new
|
|
135
|
+
(i) => {
|
|
136
|
+
this._subscribeToSlideEvents(new y(i.added)), this._unsubscribeToSlideEvents(new y(i.removed));
|
|
99
137
|
},
|
|
100
138
|
{
|
|
101
139
|
onListenerAdd: this._subscribeToSlideEvents,
|
|
102
|
-
onListenerRemove: this.
|
|
140
|
+
onListenerRemove: this._unsubscribeToSlideEvents
|
|
103
141
|
}
|
|
104
142
|
)
|
|
105
143
|
);
|
|
106
144
|
}
|
|
107
|
-
_onApplySlideStart(
|
|
108
|
-
this.
|
|
145
|
+
_onApplySlideStart(i) {
|
|
146
|
+
this._slideId = i.id, this.transitionActive = !0, this.showLegend = !1, this.onApplySlideStart?.(i);
|
|
147
|
+
}
|
|
148
|
+
_onApplySlideComplete(i) {
|
|
149
|
+
this.transitionActive = !1, this.showLegend = !!i.elements.legendInfo?.visible, this.onApplySlideComplete?.(i);
|
|
109
150
|
}
|
|
110
|
-
|
|
111
|
-
this.
|
|
151
|
+
_onApplySlideCancel(i) {
|
|
152
|
+
this.transitionActive = !1, this.showLegend = !!i.elements.legendInfo?.visible, this.onApplySlideCancel?.(i);
|
|
112
153
|
}
|
|
113
154
|
//#endregion
|
|
114
155
|
};
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
],
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
],
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
],
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
],
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
],
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
],
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
],
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
],
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
],
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
],
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
],
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
],
|
|
151
|
-
|
|
156
|
+
l([
|
|
157
|
+
d()
|
|
158
|
+
], a.prototype, "_slideId", 2);
|
|
159
|
+
l([
|
|
160
|
+
d()
|
|
161
|
+
], a.prototype, "view", 2);
|
|
162
|
+
l([
|
|
163
|
+
d()
|
|
164
|
+
], a.prototype, "slideId", 1);
|
|
165
|
+
l([
|
|
166
|
+
d()
|
|
167
|
+
], a.prototype, "transitionActive", 2);
|
|
168
|
+
l([
|
|
169
|
+
d()
|
|
170
|
+
], a.prototype, "showLegend", 2);
|
|
171
|
+
l([
|
|
172
|
+
d()
|
|
173
|
+
], a.prototype, "keyboardNavigationEnabled", 2);
|
|
174
|
+
l([
|
|
175
|
+
d()
|
|
176
|
+
], a.prototype, "visibleSlides", 1);
|
|
177
|
+
l([
|
|
178
|
+
d()
|
|
179
|
+
], a.prototype, "slides", 1);
|
|
180
|
+
l([
|
|
181
|
+
d()
|
|
182
|
+
], a.prototype, "lastSlideSelected", 1);
|
|
183
|
+
l([
|
|
184
|
+
d()
|
|
185
|
+
], a.prototype, "firstSlideSelected", 1);
|
|
186
|
+
l([
|
|
187
|
+
d()
|
|
188
|
+
], a.prototype, "slideSelected", 1);
|
|
189
|
+
l([
|
|
190
|
+
d()
|
|
191
|
+
], a.prototype, "hasOnlyOneSlide", 1);
|
|
192
|
+
l([
|
|
193
|
+
d()
|
|
194
|
+
], a.prototype, "onApplySlideStart", 2);
|
|
195
|
+
l([
|
|
196
|
+
d()
|
|
197
|
+
], a.prototype, "onApplySlideComplete", 2);
|
|
198
|
+
l([
|
|
199
|
+
d()
|
|
200
|
+
], a.prototype, "onApplySlideCancel", 2);
|
|
201
|
+
l([
|
|
202
|
+
d()
|
|
203
|
+
], a.prototype, "getSlideIndexBySlideId", 1);
|
|
204
|
+
a = l([
|
|
205
|
+
B("components.presentation.PresentationViewModel")
|
|
206
|
+
], a);
|
|
207
|
+
class Y extends L {
|
|
152
208
|
constructor(e) {
|
|
153
209
|
super(e);
|
|
154
210
|
}
|
|
@@ -162,8 +218,8 @@ class Y extends A {
|
|
|
162
218
|
}
|
|
163
219
|
openPopup(e) {
|
|
164
220
|
this.component.view && this.component.slideId === e.id && e.elements.popupInfo != null && this._preparePopupFeature(this.component.view, e.elements.popupInfo).then(
|
|
165
|
-
({ success: t, features:
|
|
166
|
-
this.component.slideId === e.id && (t ? this._handlePopupFeatureFound(e,
|
|
221
|
+
({ success: t, features: s, popupInfo: n }) => {
|
|
222
|
+
this.component.slideId === e.id && (t ? this._handlePopupFeatureFound(e, s, n) : this.component.arcgisPopupFeatureNotFound.emit({ slide: e }));
|
|
167
223
|
}
|
|
168
224
|
);
|
|
169
225
|
}
|
|
@@ -172,67 +228,67 @@ class Y extends A {
|
|
|
172
228
|
return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
|
|
173
229
|
}
|
|
174
230
|
closePopup() {
|
|
175
|
-
this.component.
|
|
231
|
+
this.component.slidePopupDisabled || this._sceneRef?.closePopup();
|
|
176
232
|
}
|
|
177
|
-
async _handlePopupFeatureFound(e, t,
|
|
178
|
-
const
|
|
179
|
-
this.component.arcgisPopupFeaturesRetrieved.emit({ slide: e, features: t, location:
|
|
233
|
+
async _handlePopupFeatureFound(e, t, s) {
|
|
234
|
+
const n = s?.location ?? void 0;
|
|
235
|
+
this.component.arcgisPopupFeaturesRetrieved.emit({ slide: e, features: t, location: n }), this.component.slidePopupDisabled || await this._sceneRef?.openPopup({
|
|
180
236
|
features: t,
|
|
181
|
-
location:
|
|
237
|
+
location: n
|
|
182
238
|
});
|
|
183
239
|
}
|
|
184
240
|
async _preparePopupFeature(e, t) {
|
|
185
|
-
let
|
|
241
|
+
let s = [];
|
|
186
242
|
if (!t.features?.length || t.features.length === 0)
|
|
187
|
-
return { success: !1, features:
|
|
188
|
-
const
|
|
189
|
-
if (
|
|
190
|
-
return { success: !1, features:
|
|
191
|
-
const { layer:
|
|
192
|
-
if (!
|
|
193
|
-
return { success: !1, features:
|
|
194
|
-
const
|
|
195
|
-
if (!
|
|
196
|
-
return { success: !1, features:
|
|
197
|
-
if (
|
|
198
|
-
const
|
|
199
|
-
return this._setFallbackPopupTemplate(
|
|
243
|
+
return { success: !1, features: s };
|
|
244
|
+
const n = t.features?.getItemAt(t.selectedFeatureIndex)?.layerReference;
|
|
245
|
+
if (n?.layerId == null)
|
|
246
|
+
return { success: !1, features: s };
|
|
247
|
+
const { layer: r, sublayer: o } = this._getLayersFromView(e, n.layerId, n?.sublayerId);
|
|
248
|
+
if (!r)
|
|
249
|
+
return { success: !1, features: s };
|
|
250
|
+
const c = o ?? r;
|
|
251
|
+
if (!c || !this._layerTypeSupportsCapturePopup(c))
|
|
252
|
+
return { success: !1, features: s };
|
|
253
|
+
if (s = await this._fetchFeaturesFromQueryable(e, t, r, o, c), s && this._featureHasBeenFilledWithAttributes(s)) {
|
|
254
|
+
const p = s[0];
|
|
255
|
+
return this._setFallbackPopupTemplate(p, o, r), this._setFallbackGeometry(p, t?.location), { success: !0, features: s, popupInfo: t };
|
|
200
256
|
}
|
|
201
|
-
return { success: !1, features:
|
|
257
|
+
return { success: !1, features: s };
|
|
202
258
|
}
|
|
203
|
-
_getLayersFromView(e, t,
|
|
204
|
-
const
|
|
205
|
-
return { layer:
|
|
259
|
+
_getLayersFromView(e, t, s) {
|
|
260
|
+
const n = e.map?.findLayerById(t) ?? void 0, r = this._getBuildingSceneLayerSublayer(n, s);
|
|
261
|
+
return { layer: n, sublayer: r };
|
|
206
262
|
}
|
|
207
263
|
_getBuildingSceneLayerSublayer(e, t) {
|
|
208
|
-
let
|
|
209
|
-
return e && this._isLayer(e) && this._isBuildingSceneLayer(e) && t != null && (
|
|
210
|
-
(
|
|
211
|
-
)),
|
|
264
|
+
let s;
|
|
265
|
+
return e && this._isLayer(e) && this._isBuildingSceneLayer(e) && t != null && (s = e.allSublayers.find(
|
|
266
|
+
(n) => n.id === t && n.type === "building-component"
|
|
267
|
+
)), s;
|
|
212
268
|
}
|
|
213
269
|
_featureHasBeenFilledWithAttributes(e) {
|
|
214
270
|
return e && e.length > 0 && e[0].attributes && Object.entries(e[0].attributes)?.length > 1;
|
|
215
271
|
}
|
|
216
|
-
async _fetchFeaturesFromQueryable(e, t,
|
|
272
|
+
async _fetchFeaturesFromQueryable(e, t, s, n, r) {
|
|
217
273
|
const o = t.features?.getItemAt(t.selectedFeatureIndex);
|
|
218
274
|
if (o?.id == null)
|
|
219
275
|
return await Promise.resolve([]);
|
|
220
|
-
const
|
|
221
|
-
await S(() => !
|
|
222
|
-
const
|
|
223
|
-
await S(() => !
|
|
224
|
-
const
|
|
225
|
-
let
|
|
226
|
-
return this._featureHasBeenFilledWithAttributes(
|
|
227
|
-
}
|
|
228
|
-
_tryGetBuildingComponentSublayerView(e, t,
|
|
229
|
-
let
|
|
230
|
-
return this._isLayer(e) && this._isBuildingSceneLayer(e) && t != null && (
|
|
231
|
-
(
|
|
232
|
-
)),
|
|
233
|
-
}
|
|
234
|
-
_setFallbackPopupTemplate(e, t,
|
|
235
|
-
e.popupTemplate == null && (e.popupTemplate = t?.popupTemplate ? t.popupTemplate :
|
|
276
|
+
const c = await e.whenLayerView(s);
|
|
277
|
+
await S(() => !c.updating);
|
|
278
|
+
const h = this._tryGetBuildingComponentSublayerView(s, n, c) ?? c;
|
|
279
|
+
await S(() => !h.updating);
|
|
280
|
+
const f = this._createFeatureGraphic(s, n, r, o.id);
|
|
281
|
+
let x = await A(h, [f]);
|
|
282
|
+
return this._featureHasBeenFilledWithAttributes(x) || (await S(() => !e.updating), x = await A(h, [f])), x;
|
|
283
|
+
}
|
|
284
|
+
_tryGetBuildingComponentSublayerView(e, t, s) {
|
|
285
|
+
let n;
|
|
286
|
+
return this._isLayer(e) && this._isBuildingSceneLayer(e) && t != null && (n = s.sublayerViews.find(
|
|
287
|
+
(r) => r.sublayer.id === t.id
|
|
288
|
+
)), n;
|
|
289
|
+
}
|
|
290
|
+
_setFallbackPopupTemplate(e, t, s) {
|
|
291
|
+
e.popupTemplate == null && (e.popupTemplate = t?.popupTemplate ? t.popupTemplate : s.popupTemplate);
|
|
236
292
|
}
|
|
237
293
|
/**
|
|
238
294
|
* If there is no geometry of the feature in the service,
|
|
@@ -245,14 +301,14 @@ class Y extends A {
|
|
|
245
301
|
_setFallbackGeometry(e, t) {
|
|
246
302
|
e.geometry == null && t && (e.geometry = t.clone());
|
|
247
303
|
}
|
|
248
|
-
_createFeatureGraphic(e, t,
|
|
249
|
-
const
|
|
250
|
-
return
|
|
304
|
+
_createFeatureGraphic(e, t, s, n) {
|
|
305
|
+
const r = this._getGlobalIdFieldNameFromLayer(s), o = n.type === "global-id" && r ? r : s.objectIdField, c = this._getGraphicOrigin(e, t), p = new H({ attributes: {}, layer: e, origin: c });
|
|
306
|
+
return p.attributes[o] = n.value, p;
|
|
251
307
|
}
|
|
252
308
|
_getGraphicOrigin(e, t) {
|
|
253
309
|
switch (e.type) {
|
|
254
310
|
case "csv":
|
|
255
|
-
return new
|
|
311
|
+
return new k(e);
|
|
256
312
|
case "feature":
|
|
257
313
|
return new Q(e);
|
|
258
314
|
case "geojson":
|
|
@@ -271,7 +327,7 @@ class Y extends A {
|
|
|
271
327
|
return e != null && ["csv", "feature", "geojson", "wfs", "scene", "building-component"].includes(e.type);
|
|
272
328
|
}
|
|
273
329
|
_isLayer(e) {
|
|
274
|
-
return !!e && e instanceof
|
|
330
|
+
return !!e && e instanceof V;
|
|
275
331
|
}
|
|
276
332
|
_isBuildingSceneLayer(e) {
|
|
277
333
|
return e?.type === "building-scene";
|
|
@@ -281,68 +337,68 @@ class Y extends A {
|
|
|
281
337
|
}
|
|
282
338
|
//#endregion
|
|
283
339
|
}
|
|
284
|
-
const Z = (
|
|
285
|
-
topLeft: { ...
|
|
286
|
-
topRight: { ...
|
|
287
|
-
bottomLeft: { ...
|
|
288
|
-
bottomRight: { ...
|
|
289
|
-
}),
|
|
290
|
-
topLeft: { ...
|
|
291
|
-
topRight: { ...
|
|
292
|
-
bottomLeft: { ...
|
|
293
|
-
bottomRight: { ...
|
|
294
|
-
}),
|
|
295
|
-
let e =
|
|
340
|
+
const Z = (i) => new Y(i), w = Object.freeze({ width: 0, height: 0 }), b = /* @__PURE__ */ new WeakMap(), m = () => ({
|
|
341
|
+
topLeft: { ...w },
|
|
342
|
+
topRight: { ...w },
|
|
343
|
+
bottomLeft: { ...w },
|
|
344
|
+
bottomRight: { ...w }
|
|
345
|
+
}), F = (i) => ({
|
|
346
|
+
topLeft: { ...i.topLeft },
|
|
347
|
+
topRight: { ...i.topRight },
|
|
348
|
+
bottomLeft: { ...i.bottomLeft },
|
|
349
|
+
bottomRight: { ...i.bottomRight }
|
|
350
|
+
}), C = (i) => {
|
|
351
|
+
let e = b.get(i);
|
|
296
352
|
return e || (e = {
|
|
297
353
|
observedGroups: /* @__PURE__ */ new Map(),
|
|
298
|
-
observedSizes:
|
|
354
|
+
observedSizes: m(),
|
|
299
355
|
subscribers: /* @__PURE__ */ new Set()
|
|
300
|
-
},
|
|
301
|
-
}, ee = (
|
|
302
|
-
const e =
|
|
303
|
-
return e && t &&
|
|
356
|
+
}, b.set(i, e)), e;
|
|
357
|
+
}, ee = (i) => {
|
|
358
|
+
const e = i?.topLeft.value, t = i?.topRight.value, s = i?.bottomLeft.value, n = i?.bottomRight.value;
|
|
359
|
+
return e && t && s && n ? {
|
|
304
360
|
topLeft: e,
|
|
305
361
|
topRight: t,
|
|
306
|
-
bottomLeft:
|
|
307
|
-
bottomRight:
|
|
362
|
+
bottomLeft: s,
|
|
363
|
+
bottomRight: n
|
|
308
364
|
} : null;
|
|
309
|
-
}, te = (
|
|
310
|
-
const e =
|
|
311
|
-
|
|
312
|
-
}, se = (
|
|
313
|
-
const t =
|
|
365
|
+
}, te = (i, e) => _.every((t) => i.get(t) === e[t]), ie = (i) => {
|
|
366
|
+
const e = F(i.observedSizes);
|
|
367
|
+
i.subscribers.forEach((t) => t(e));
|
|
368
|
+
}, se = (i, e) => {
|
|
369
|
+
const t = b.get(i);
|
|
314
370
|
if (!t)
|
|
315
371
|
return;
|
|
316
|
-
let
|
|
317
|
-
e.forEach((
|
|
318
|
-
const
|
|
319
|
-
if (!
|
|
372
|
+
let s = !1;
|
|
373
|
+
e.forEach((n) => {
|
|
374
|
+
const r = _.find((f) => t.observedGroups.get(f) === n.target);
|
|
375
|
+
if (!r)
|
|
320
376
|
return;
|
|
321
|
-
const { width: o, height:
|
|
322
|
-
|
|
323
|
-
}),
|
|
324
|
-
}, P = (
|
|
325
|
-
const t =
|
|
326
|
-
t.resizeObserver || (t.resizeObserver = new ResizeObserver((
|
|
327
|
-
se(
|
|
377
|
+
const { width: o, height: c } = n.contentRect, p = { width: o, height: c }, h = t.observedSizes[r];
|
|
378
|
+
h.width === p.width && h.height === p.height || (t.observedSizes[r] = p, s = !0);
|
|
379
|
+
}), s && ie(t);
|
|
380
|
+
}, P = (i, e) => {
|
|
381
|
+
const t = C(i);
|
|
382
|
+
t.resizeObserver || (t.resizeObserver = new ResizeObserver((n) => {
|
|
383
|
+
se(i, n);
|
|
328
384
|
}));
|
|
329
|
-
const
|
|
330
|
-
if (!
|
|
385
|
+
const s = ee(e);
|
|
386
|
+
if (!s) {
|
|
331
387
|
t.observedGroups.size > 0 && (t.resizeObserver.disconnect(), t.observedGroups.clear());
|
|
332
388
|
return;
|
|
333
389
|
}
|
|
334
|
-
te(t.observedGroups,
|
|
335
|
-
const
|
|
336
|
-
t.observedGroups.set(
|
|
390
|
+
te(t.observedGroups, s) || (t.resizeObserver.disconnect(), t.observedGroups.clear(), _.forEach((n) => {
|
|
391
|
+
const r = s[n];
|
|
392
|
+
t.observedGroups.set(n, r), t.resizeObserver?.observe(r);
|
|
337
393
|
}));
|
|
338
|
-
},
|
|
339
|
-
const t =
|
|
340
|
-
return t.subscribers.add(e), e(
|
|
341
|
-
const
|
|
342
|
-
|
|
394
|
+
}, ne = (i, e) => {
|
|
395
|
+
const t = C(i);
|
|
396
|
+
return t.subscribers.add(e), e(F(t.observedSizes)), () => {
|
|
397
|
+
const s = b.get(i);
|
|
398
|
+
s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(), b.delete(i)));
|
|
343
399
|
};
|
|
344
400
|
};
|
|
345
|
-
class
|
|
401
|
+
class re extends L {
|
|
346
402
|
// References to the slot group elements owned by the host component.
|
|
347
403
|
#t;
|
|
348
404
|
#e;
|
|
@@ -353,29 +409,29 @@ class ne extends A {
|
|
|
353
409
|
* @param component The host component that owns the slot group elements.
|
|
354
410
|
*/
|
|
355
411
|
constructor(e) {
|
|
356
|
-
super(e), this.exports =
|
|
412
|
+
super(e), this.exports = m();
|
|
357
413
|
}
|
|
358
414
|
hostDisconnected() {
|
|
359
|
-
this.#i?.(), this.#i = void 0, this.#e = void 0, this.#t = void 0, this.exports =
|
|
415
|
+
this.#i?.(), this.#i = void 0, this.#e = void 0, this.#t = void 0, this.exports = m();
|
|
360
416
|
}
|
|
361
417
|
hostLifecycle() {
|
|
362
418
|
return [
|
|
363
|
-
|
|
419
|
+
g(
|
|
364
420
|
() => this.#s(),
|
|
365
421
|
(t) => {
|
|
366
422
|
if (this.#e !== t) {
|
|
367
423
|
if (this.#i?.(), this.#i = void 0, this.#e = t, this.#t = t?.slotGroupRefs, !t) {
|
|
368
|
-
this.exports =
|
|
424
|
+
this.exports = m();
|
|
369
425
|
return;
|
|
370
426
|
}
|
|
371
|
-
this.#i =
|
|
372
|
-
this.#
|
|
427
|
+
this.#i = ne(t, (s) => {
|
|
428
|
+
this.#n(s) || (this.exports = s);
|
|
373
429
|
}), P(t, this.#t);
|
|
374
430
|
}
|
|
375
431
|
},
|
|
376
432
|
{ sync: !0, initial: !0 }
|
|
377
433
|
),
|
|
378
|
-
|
|
434
|
+
g(
|
|
379
435
|
() => this.#s()?.slotGroupRefs,
|
|
380
436
|
(t) => {
|
|
381
437
|
this.#t = t, this.#e && t && P(this.#e, t);
|
|
@@ -392,27 +448,27 @@ class ne extends A {
|
|
|
392
448
|
!this.#e || !this.#t || P(this.#e, this.#t);
|
|
393
449
|
}
|
|
394
450
|
// Compares the newly measured sizes against the currently exported values.
|
|
395
|
-
#
|
|
396
|
-
const t = this.exports ??
|
|
397
|
-
return
|
|
398
|
-
const
|
|
399
|
-
return
|
|
451
|
+
#n(e) {
|
|
452
|
+
const t = this.exports ?? m();
|
|
453
|
+
return _.every((s) => {
|
|
454
|
+
const n = t[s], r = e[s];
|
|
455
|
+
return n.width === r.width && n.height === r.height;
|
|
400
456
|
});
|
|
401
457
|
}
|
|
402
458
|
}
|
|
403
|
-
const oe =
|
|
404
|
-
class le extends
|
|
459
|
+
const oe = $(re), ae = N(a);
|
|
460
|
+
class le extends R {
|
|
405
461
|
constructor() {
|
|
406
|
-
super(...arguments), this._messages =
|
|
462
|
+
super(...arguments), this._messages = G(), this.viewModel = ae(this), this._direction = M(), this._captureArrowKeysForNavigation = (e) => {
|
|
407
463
|
this.viewModel.captureArrowKeysForNavigation(e, this._direction);
|
|
408
464
|
}, this._useFeatureRefPopup = Z(this), this._handleApplySlideStart = () => {
|
|
409
465
|
this._useFeatureRefPopup.closePopup();
|
|
410
466
|
}, this._handleApplySlideComplete = (e) => {
|
|
411
467
|
this._useFeatureRefPopup.openPopup(e);
|
|
412
|
-
}, this.autoDestroyDisabled = !1, this.view = this.viewModel.view, this.scale = "m", this.keyboardNavigationEnabled = !1, this.
|
|
468
|
+
}, this.autoDestroyDisabled = !1, this.view = this.viewModel.view, this.scale = "m", this.keyboardNavigationEnabled = !1, this.slidePopupDisabled = !1, this.slideCaptionsDisabled = !1, this.slideLegendDisabled = !1, this.arcgisPopupFeatureNotFound = I(), this.arcgisPopupFeaturesRetrieved = I(), this.arcgisReady = I();
|
|
413
469
|
}
|
|
414
470
|
static {
|
|
415
|
-
this.properties = { _slotSizesController: 16, slideId: 1, autoDestroyDisabled: 5, view: 0, scale: 1, keyboardNavigationEnabled: 5,
|
|
471
|
+
this.properties = { _slotSizesController: 16, slideId: 1, autoDestroyDisabled: 5, view: 0, scale: 1, keyboardNavigationEnabled: 5, slidePopupDisabled: 5, slideCaptionsDisabled: 5, slideLegendDisabled: 5 };
|
|
416
472
|
}
|
|
417
473
|
static {
|
|
418
474
|
this.styles = q;
|
|
@@ -428,7 +484,7 @@ class le extends M {
|
|
|
428
484
|
}
|
|
429
485
|
loaded() {
|
|
430
486
|
this.manager.onLifecycle(() => {
|
|
431
|
-
this.viewModel.onApplySlideStart = this._handleApplySlideStart, this.viewModel.onApplySlideComplete = this._handleApplySlideComplete, this._keyboardHandle =
|
|
487
|
+
this.viewModel.onApplySlideStart = this._handleApplySlideStart, this.viewModel.onApplySlideComplete = this._handleApplySlideComplete, this._keyboardHandle = g(() => this.keyboardNavigationEnabled, (t) => {
|
|
432
488
|
document.removeEventListener("keydown", this._captureArrowKeysForNavigation), t && document.addEventListener("keydown", this._captureArrowKeysForNavigation);
|
|
433
489
|
}, { initial: !0 });
|
|
434
490
|
const e = this;
|
|
@@ -443,30 +499,33 @@ class le extends M {
|
|
|
443
499
|
return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
|
|
444
500
|
}
|
|
445
501
|
_watchSceneViewSlotSizes() {
|
|
446
|
-
return
|
|
502
|
+
return g(() => this._slotSizesController, (e) => this._updatePresentationCaptionsPadding(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
|
|
447
503
|
}
|
|
448
|
-
_updatePresentationCaptionsPadding(e, t,
|
|
449
|
-
const
|
|
450
|
-
this.el.style.setProperty("--arcgis-internal-presentation-
|
|
451
|
-
const
|
|
452
|
-
this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top",
|
|
504
|
+
_updatePresentationCaptionsPadding(e, t, s, n) {
|
|
505
|
+
const r = this._direction === "ltr" ? e?.width ?? 0 : t?.width ?? 0, o = this._direction === "ltr" ? t?.width ?? 0 : e?.width ?? 0, c = Math.max(e?.height ?? 0, t?.height ?? 0), p = Math.max(s?.height ?? 0, n?.height ?? 0);
|
|
506
|
+
r > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-start", `calc(var(--calcite-spacing-lg) + ${r.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-start", "0px"), o > 0 ? this.el.style.setProperty("--arcgis-internal-presentation-padding-end", `calc(var(--calcite-spacing-lg) + ${o.toString()}px)`) : this.el.style.setProperty("--arcgis-internal-presentation-padding-end", "0px");
|
|
507
|
+
const h = r <= Math.max(c, p) && o <= Math.max(c, p);
|
|
508
|
+
this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top", h ? "0" : `${c}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom", h ? "0" : `${p}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start", h ? `${r}px` : "0"), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end", h ? `${o}px` : "0");
|
|
453
509
|
}
|
|
454
510
|
render() {
|
|
455
511
|
if (this.viewModel.visibleSlides.length === 0)
|
|
456
512
|
return u`<div></div>`;
|
|
457
|
-
const e = this.viewModel.visibleSlides.find((r) => r.id === this.slideId), t = this._renderNavigation(),
|
|
458
|
-
return u
|
|
513
|
+
const e = this.viewModel.visibleSlides.find((r) => r.id === this.slideId), t = this._renderNavigation(), s = this._renderCaptions(e), n = this._renderLegend();
|
|
514
|
+
return u`<div class="root"><div class="presentation-content">${s}${n}</div>${t}</div>`;
|
|
459
515
|
}
|
|
460
516
|
_renderNavigation() {
|
|
461
|
-
const e = this.viewModel.lastSlideSelected && !this.viewModel.hasOnlyOneSlide, t = this._direction === "rtl",
|
|
462
|
-
return u`<div class="
|
|
517
|
+
const e = this.viewModel.lastSlideSelected && !this.viewModel.hasOnlyOneSlide, t = this._direction === "rtl", s = t ? "chevron-right" : "chevron-left", n = t ? "chevron-left" : "chevron-right";
|
|
518
|
+
return u`<div class="navigation"><calcite-button appearance=transparent icon-start=${s ?? v} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected || !this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? v} @click=${() => this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${(e ? "reset" : n) ?? v} kind=neutral .scale=${this.scale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? v} @click=${() => this.viewModel.navigateInPresentation(1)}></calcite-button></div>`;
|
|
463
519
|
}
|
|
464
520
|
_renderSlideCounter() {
|
|
465
521
|
const e = this.viewModel.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this.viewModel.visibleSlides.length.toString());
|
|
466
|
-
return this.viewModel.slideSelected ? u`<p role=banner aria-label=${t ??
|
|
522
|
+
return this.viewModel.slideSelected ? u`<p role=banner aria-label=${t ?? v} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>` : u`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`;
|
|
467
523
|
}
|
|
468
524
|
_renderCaptions(e) {
|
|
469
|
-
return u`<arcgis-presentation-captions .slide=${e}></arcgis-presentation-captions>`;
|
|
525
|
+
return this.slideCaptionsDisabled ? null : u`<arcgis-presentation-captions .slide=${e} .transitionActive=${this.viewModel.transitionActive}></arcgis-presentation-captions>`;
|
|
526
|
+
}
|
|
527
|
+
_renderLegend() {
|
|
528
|
+
return this.slideLegendDisabled || !this.viewModel.showLegend ? null : u`<calcite-panel data-testid=presentation-legend class="legend" .heading=${this._messages.legend} closable @calcitePanelClose=${() => this.viewModel.showLegend = !1}><arcgis-legend .view=${this.view} @arcgisReady=${(e) => e.stopPropagation()}></arcgis-legend></calcite-panel>`;
|
|
470
529
|
}
|
|
471
530
|
}
|
|
472
531
|
z("arcgis-presentation", le);
|