@arcgis/map-components 4.34.0-next.7 → 4.34.0-next.71
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/22X7STGS.js +4 -0
- package/dist/cdn/265TCEJW.js +4 -0
- package/dist/cdn/{7MLMQPS2.js → 2FSODJ3U.js} +1 -1
- package/dist/cdn/2OI3FE6A.js +4 -0
- package/dist/cdn/2VBF7LQX.js +4 -0
- package/dist/cdn/{TD3FQAZG.js → 35SXAPH2.js} +1 -1
- package/dist/cdn/3NLDEMKW.js +4 -0
- package/dist/cdn/3NSWX5SC.js +4 -0
- package/dist/cdn/3PDR7LMU.js +4 -0
- package/dist/cdn/3TXTKPTE.js +4 -0
- package/dist/cdn/43XZ7D76.js +4 -0
- package/dist/cdn/{73246WZV.js → 47F2WFRU.js} +2 -2
- package/dist/cdn/{QAP64MEA.js → 47SSWVOY.js} +1 -1
- package/dist/cdn/4CYQA32L.js +4 -0
- package/dist/cdn/4MHQTJS3.js +4 -0
- package/dist/cdn/4MVZJW57.js +4 -0
- package/dist/cdn/4R5UNHP6.js +4 -0
- package/dist/cdn/4XZXNS7R.js +4 -0
- package/dist/cdn/4ZLIUYSY.js +4 -0
- package/dist/cdn/527WINZ2.js +4 -0
- package/dist/cdn/5FQAWKJJ.js +4 -0
- package/dist/cdn/5HYMBWIX.js +4 -0
- package/dist/cdn/5J2LKM2H.js +4 -0
- package/dist/cdn/5MMPGU63.js +4 -0
- package/dist/cdn/5XTGVILB.js +4 -0
- package/dist/cdn/{LUASKWWP.js → 6IUHASSR.js} +2 -2
- package/dist/cdn/6SIRAA5V.js +4 -0
- package/dist/cdn/76ED2DMX.js +4 -0
- package/dist/cdn/7L6HE6DW.js +4 -0
- package/dist/cdn/7NFC4TNM.js +4 -0
- package/dist/cdn/7PR3L2OV.js +4 -0
- package/dist/cdn/7WEQOTVL.js +4 -0
- package/dist/cdn/ADTMB5TC.js +4 -0
- package/dist/cdn/AFM7S5A3.js +4 -0
- package/dist/cdn/AFNEYDRV.js +4 -0
- package/dist/cdn/{B7KN6YTQ.js → AI6OUQKC.js} +2 -2
- package/dist/cdn/B47TJSXZ.js +4 -0
- package/dist/cdn/BHVCTAUP.js +4 -0
- package/dist/cdn/BLT2HI4R.js +4 -0
- package/dist/cdn/BW63M57P.js +4 -0
- package/dist/cdn/C5R2OWCM.js +4 -0
- package/dist/cdn/CIOLPG7A.js +4 -0
- package/dist/cdn/CJ3R6CHO.js +4 -0
- package/dist/cdn/CNI6MBVU.js +5 -0
- package/dist/cdn/D22G7OKP.js +4 -0
- package/dist/cdn/DC6MKJ4B.js +4 -0
- package/dist/cdn/DCZG5RWR.js +4 -0
- package/dist/cdn/DDK4Z6FU.js +4 -0
- package/dist/cdn/{BKCPYV3Y.js → DFSRHIJR.js} +1 -1
- package/dist/cdn/DW27FAIG.js +4 -0
- package/dist/cdn/DZYD65XX.js +4 -0
- package/dist/cdn/E4PSGDQ6.js +4 -0
- package/dist/cdn/E6SVKT36.js +4 -0
- package/dist/cdn/EGRNM3I2.js +4 -0
- package/dist/cdn/EHNDFVDW.js +4 -0
- package/dist/cdn/EIF4XQRG.js +4 -0
- package/dist/cdn/ENUEOUXF.js +4 -0
- package/dist/cdn/ETTUZLRW.js +4 -0
- package/dist/cdn/EUP574Z6.js +4 -0
- package/dist/cdn/F4XCZYR2.js +4 -0
- package/dist/cdn/F7X3EMOC.js +4 -0
- package/dist/cdn/FAHZ7GBF.js +4 -0
- package/dist/cdn/FDLYT5BL.js +4 -0
- package/dist/cdn/FHE6FKBH.js +4 -0
- package/dist/cdn/FIA4WYAT.js +4 -0
- package/dist/cdn/FV2NSC2M.js +4 -0
- package/dist/cdn/{62NV7NFZ.js → GGHSRKPD.js} +2 -2
- package/dist/cdn/H2MNGVXP.js +4 -0
- package/dist/cdn/HAOAM42I.js +4 -0
- package/dist/cdn/HME3GEPD.js +4 -0
- package/dist/cdn/{DDSDEOST.js → HOGUDQUS.js} +2 -2
- package/dist/cdn/HXPU2PJA.js +4 -0
- package/dist/cdn/HXZF7WPI.js +4 -0
- package/dist/cdn/HZSLL2N5.js +4 -0
- package/dist/cdn/II62D2B2.js +4 -0
- package/dist/cdn/IK6XIUZS.js +4 -0
- package/dist/cdn/IT6F22UE.js +4 -0
- package/dist/cdn/IVFIS2ZY.js +4 -0
- package/dist/cdn/IWOZRWG5.js +4 -0
- package/dist/cdn/J373HHAG.js +4 -0
- package/dist/cdn/JB5DOYCK.js +4 -0
- package/dist/cdn/JEQL6W5F.js +4 -0
- package/dist/cdn/JN5WH5UO.js +4 -0
- package/dist/cdn/JOJ5HWTU.js +4 -0
- package/dist/cdn/JSLZTVLT.js +4 -0
- package/dist/cdn/JYXCD6K6.js +4 -0
- package/dist/cdn/K5JFIJYY.js +4 -0
- package/dist/cdn/KA7RTGZF.js +4 -0
- package/dist/cdn/KDXAJ2PF.js +4 -0
- package/dist/cdn/{576TH74N.js → KFU4FBPI.js} +2 -2
- package/dist/cdn/KNYAUQLT.js +4 -0
- package/dist/cdn/KV7BE32J.js +4 -0
- package/dist/cdn/{EAVGPD6R.js → KWPQQSWJ.js} +1 -1
- package/dist/cdn/L3TZXE7U.js +4 -0
- package/dist/cdn/L3UPIUSP.js +4 -0
- package/dist/cdn/L64TZAYM.js +4 -0
- package/dist/cdn/LUZFWSLE.js +4 -0
- package/dist/cdn/M2CQVZZQ.js +4 -0
- package/dist/cdn/MF2UZ4DS.js +4 -0
- package/dist/cdn/MQRVQSQO.js +4 -0
- package/dist/cdn/MTM5YXKA.js +4 -0
- package/dist/cdn/MYEUYNZG.js +4 -0
- package/dist/cdn/N3DOEQLW.js +4 -0
- package/dist/cdn/NI2EMAJK.js +4 -0
- package/dist/cdn/O45EQXMY.js +4 -0
- package/dist/cdn/O5XKNA2L.js +4 -0
- package/dist/cdn/{EF5ADWHS.js → OAUIDKTP.js} +2 -2
- package/dist/cdn/OENOZGUO.js +4 -0
- package/dist/cdn/OGZ5IQI2.js +4 -0
- package/dist/cdn/OHLL7HZ4.js +4 -0
- package/dist/cdn/ONEKKLUN.js +4 -0
- package/dist/cdn/OOEL7QRQ.js +4 -0
- package/dist/cdn/OTFS7I2S.js +4 -0
- package/dist/cdn/{42FXNNW7.js → OTNCYF7D.js} +2 -2
- package/dist/cdn/OVIDLFD3.js +4 -0
- package/dist/cdn/OWLBDSIW.js +4 -0
- package/dist/cdn/P3XN27OY.js +4 -0
- package/dist/cdn/PGLET25S.js +4 -0
- package/dist/cdn/PJJZJI7M.js +4 -0
- package/dist/cdn/PZDGEZBM.js +4 -0
- package/dist/cdn/Q4RO35KE.js +4 -0
- package/dist/cdn/QASLBTBE.js +4 -0
- package/dist/cdn/{JSWLDDUC.js → QAWJU2QZ.js} +2 -2
- package/dist/cdn/QLJTAQZR.js +4 -0
- package/dist/cdn/QNQGIIJ4.js +4 -0
- package/dist/cdn/QZZI4SSK.js +4 -0
- package/dist/cdn/RCXJRTX5.js +4 -0
- package/dist/cdn/RNGVIEDV.js +4 -0
- package/dist/cdn/RUTMKSSP.js +4 -0
- package/dist/cdn/RUZSHIBF.js +4 -0
- package/dist/cdn/{4SFJ5GIR.js → RVGB6BNP.js} +1 -1
- package/dist/cdn/RYV524NG.js +4 -0
- package/dist/cdn/RZ7L4GPL.js +4 -0
- package/dist/cdn/S2LQP7SU.js +4 -0
- package/dist/cdn/S2VZKVYR.js +4 -0
- package/dist/cdn/SCQ5NIO7.js +4 -0
- package/dist/cdn/SIGPGXCA.js +4 -0
- package/dist/cdn/T4QINXNP.js +4 -0
- package/dist/cdn/T4ZBPEFI.js +4 -0
- package/dist/cdn/T5ZEEMCI.js +4 -0
- package/dist/cdn/TCVYA3VV.js +4 -0
- package/dist/cdn/TO263CW6.js +4 -0
- package/dist/cdn/UE4A5S34.js +4 -0
- package/dist/cdn/UHJMZJAE.js +4 -0
- package/dist/cdn/UHPYLOGM.js +4 -0
- package/dist/cdn/UHQ353FB.js +4 -0
- package/dist/cdn/URQZQ3LP.js +4 -0
- package/dist/cdn/UWADOIHL.js +4 -0
- package/dist/cdn/V74QKMUM.js +4 -0
- package/dist/cdn/VDFYBG6F.js +4 -0
- package/dist/cdn/VHCING2F.js +4 -0
- package/dist/cdn/VJZBYWG4.js +4 -0
- package/dist/cdn/{IN5MEX7L.js → VNLCD6TK.js} +2 -2
- package/dist/cdn/VRWNISAC.js +4 -0
- package/dist/cdn/WERYCZML.js +4 -0
- package/dist/cdn/WHNVCVG3.js +4 -0
- package/dist/cdn/WKVJFH6H.js +4 -0
- package/dist/cdn/WNL7632P.js +4 -0
- package/dist/cdn/WTYPZRFL.js +4 -0
- package/dist/cdn/X4XPFXRS.js +4 -0
- package/dist/cdn/XAT5AY2U.js +4 -0
- package/dist/cdn/{ECQIBBNZ.js → XFC6AOZZ.js} +2 -2
- package/dist/cdn/XGXLEYTE.js +4 -0
- package/dist/cdn/XHCCMEFB.js +4 -0
- package/dist/cdn/{KXFOXBSW.js → XLQS7KD2.js} +1 -1
- package/dist/cdn/XLXT24WY.js +4 -0
- package/dist/cdn/XNWZSDE4.js +4 -0
- package/dist/cdn/XOUITREH.js +4 -0
- package/dist/cdn/XTB5AY2U.js +4 -0
- package/dist/cdn/XTCWV4PB.js +4 -0
- package/dist/cdn/Y3RWBZE2.js +4 -0
- package/dist/cdn/Y3VSPTZ3.js +4 -0
- package/dist/cdn/YCAWVYSX.js +4 -0
- package/dist/cdn/YEJ4M5TX.js +4 -0
- package/dist/cdn/YFJYUNP3.js +4 -0
- package/dist/cdn/YGKAQOWJ.js +6 -0
- package/dist/cdn/YK5TO43F.js +4 -0
- package/dist/cdn/YY2FXBYX.js +4 -0
- package/dist/cdn/Z3K7YNWF.js +4 -0
- package/dist/cdn/ZFJ6UVXS.js +4 -0
- package/dist/cdn/ZLUAXOY2.js +4 -0
- package/dist/cdn/ZPG7H3IY.js +4 -0
- package/dist/cdn/{FAJWL466.js → ZTQLAO3A.js} +2 -2
- package/dist/cdn/ZXLJ7HYQ.js +4 -0
- package/dist/cdn/ZXPA2E6M.js +4 -0
- package/dist/cdn/ZZ66XDQV.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +34 -26
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +402 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +59 -27
- package/dist/components/arcgis-search/customElement.js +42 -39
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +39 -33
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +54 -5
- package/dist/components/arcgis-weather/customElement.js +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +3785 -1107
- package/dist/docs/docs.json +2854 -925
- package/dist/docs/vscode.html-custom-data.json +467 -174
- package/dist/docs/web-types.json +1076 -488
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -20
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -18
- package/dist/types/preact.d.ts +29 -18
- package/dist/types/react.d.ts +30 -18
- package/dist/types/stencil.d.ts +28 -18
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/3CVTJ6IR.js +0 -4
- package/dist/cdn/3K4LQ5ZH.js +0 -4
- package/dist/cdn/3NYGB5KC.js +0 -4
- package/dist/cdn/3V7IRFXL.js +0 -4
- package/dist/cdn/43IJVAZP.js +0 -4
- package/dist/cdn/4QHWO73K.js +0 -4
- package/dist/cdn/4V2M77YV.js +0 -4
- package/dist/cdn/5FZJ2H3A.js +0 -4
- package/dist/cdn/5H7D7TSV.js +0 -4
- package/dist/cdn/5KK3XQQZ.js +0 -4
- package/dist/cdn/5LHNWCSF.js +0 -4
- package/dist/cdn/5N4BVYD2.js +0 -4
- package/dist/cdn/5ZJSJBH7.js +0 -4
- package/dist/cdn/6DLNCYNJ.js +0 -4
- package/dist/cdn/6EUTPSR3.js +0 -4
- package/dist/cdn/6JC3X4DH.js +0 -4
- package/dist/cdn/6VMYCMSX.js +0 -4
- package/dist/cdn/7DA7Y4DS.js +0 -4
- package/dist/cdn/7S7U4ABF.js +0 -4
- package/dist/cdn/AGNZOUXO.js +0 -4
- package/dist/cdn/APM7HWPV.js +0 -4
- package/dist/cdn/AXC7MHUY.js +0 -6
- package/dist/cdn/B7YWZFHG.js +0 -4
- package/dist/cdn/BGL6T3KT.js +0 -4
- package/dist/cdn/BIDDZ56Y.js +0 -4
- package/dist/cdn/BNXSE33Y.js +0 -4
- package/dist/cdn/BTMPB2XP.js +0 -4
- package/dist/cdn/BWZL65MZ.js +0 -4
- package/dist/cdn/C3JX4XWF.js +0 -4
- package/dist/cdn/C4TSJEJH.js +0 -4
- package/dist/cdn/C5Y2CFYN.js +0 -4
- package/dist/cdn/CPW7VJRT.js +0 -4
- package/dist/cdn/CTEALHBJ.js +0 -4
- package/dist/cdn/CXJCTNJJ.js +0 -4
- package/dist/cdn/CXVJEZRT.js +0 -4
- package/dist/cdn/DMKGED3D.js +0 -4
- package/dist/cdn/DZRQ3FJN.js +0 -4
- package/dist/cdn/EGXWFLZ6.js +0 -4
- package/dist/cdn/ESO25JEU.js +0 -4
- package/dist/cdn/FEHLXR64.js +0 -4
- package/dist/cdn/FOZYNPTO.js +0 -4
- package/dist/cdn/FUIIOE5K.js +0 -4
- package/dist/cdn/G6V7COIW.js +0 -4
- package/dist/cdn/GXHWA464.js +0 -4
- package/dist/cdn/HLUINBW7.js +0 -4
- package/dist/cdn/I3YONNOJ.js +0 -4
- package/dist/cdn/IFU5E2LC.js +0 -4
- package/dist/cdn/IKGGVPEL.js +0 -4
- package/dist/cdn/ITWSP5JU.js +0 -4
- package/dist/cdn/JCV3FTL7.js +0 -4
- package/dist/cdn/JP5OTXJX.js +0 -4
- package/dist/cdn/JZ6AB7NM.js +0 -4
- package/dist/cdn/JZO3ICTU.js +0 -4
- package/dist/cdn/KGJHCOZ4.js +0 -4
- package/dist/cdn/KHCCACST.js +0 -4
- package/dist/cdn/KPKM24HM.js +0 -4
- package/dist/cdn/L7LDYNLW.js +0 -4
- package/dist/cdn/LHUB6IIZ.js +0 -4
- package/dist/cdn/LJC6WRCS.js +0 -4
- package/dist/cdn/LJSRLQJH.js +0 -4
- package/dist/cdn/LTOXWTO6.js +0 -4
- package/dist/cdn/MHERALSB.js +0 -4
- package/dist/cdn/N2HYKSZN.js +0 -4
- package/dist/cdn/N3UCR7B4.js +0 -4
- package/dist/cdn/N7QZNEIJ.js +0 -4
- package/dist/cdn/NAGYELAG.js +0 -4
- package/dist/cdn/NH4L7TUF.js +0 -4
- package/dist/cdn/PITGRP5J.js +0 -4
- package/dist/cdn/Q4LEDOCN.js +0 -4
- package/dist/cdn/QGSP733R.js +0 -4
- package/dist/cdn/QX4PFK5W.js +0 -4
- package/dist/cdn/R4OCIRWR.js +0 -4
- package/dist/cdn/RR5F3SPW.js +0 -4
- package/dist/cdn/RTEPILHE.js +0 -4
- package/dist/cdn/RYH4JLMG.js +0 -4
- package/dist/cdn/SVIUUV22.js +0 -4
- package/dist/cdn/T4FMPBKP.js +0 -4
- package/dist/cdn/T7AW36YP.js +0 -4
- package/dist/cdn/TC2TTTMU.js +0 -4
- package/dist/cdn/TE3QJZJW.js +0 -4
- package/dist/cdn/TQV4YCGY.js +0 -4
- package/dist/cdn/TUT5QPQJ.js +0 -4
- package/dist/cdn/TY2YZASD.js +0 -4
- package/dist/cdn/UOH2BTYV.js +0 -4
- package/dist/cdn/UQXB5REP.js +0 -4
- package/dist/cdn/UV5D3ZXY.js +0 -4
- package/dist/cdn/VENK34O7.js +0 -4
- package/dist/cdn/VGV6LYWI.js +0 -4
- package/dist/cdn/VRTJXWFO.js +0 -4
- package/dist/cdn/VT73N5VK.js +0 -4
- package/dist/cdn/VZX6PQA2.js +0 -4
- package/dist/cdn/W2EA6D3X.js +0 -4
- package/dist/cdn/WFTKJB4P.js +0 -4
- package/dist/cdn/WOY7XX7B.js +0 -4
- package/dist/cdn/XGXYIF65.js +0 -4
- package/dist/cdn/XJ6BZ6DU.js +0 -4
- package/dist/cdn/XV6MSZ6U.js +0 -4
- package/dist/cdn/YTBQINZ7.js +0 -4
- package/dist/cdn/ZEROK655.js +0 -4
- package/dist/cdn/ZH4LI6ZS.js +0 -4
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
3
|
-
import { default as DirectLineMeasurementAnalysis } from '@arcgis/core/analysis/DirectLineMeasurementAnalysis';
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
4
3
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
5
4
|
import { Use } from '@arcgis/lumina/controllers';
|
|
6
5
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
@@ -8,14 +7,96 @@ import { default as DirectLineMeasurement3DViewModel } from './DirectLineMeasure
|
|
|
8
7
|
|
|
9
8
|
declare const useViewModel: (component: LitElement & Pick<DirectLineMeasurement3DViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<DirectLineMeasurement3DViewModel>) => DirectLineMeasurement3DViewModel;
|
|
10
9
|
/**
|
|
11
|
-
* The Direct Line Measurement 3D component
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* The Direct Line Measurement 3D component can be added to a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
11
|
+
* component to calculate and display vertical, horizontal, and direct distances between two points.
|
|
12
|
+
*
|
|
13
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
14
|
+
*
|
|
15
|
+
* How distances are computed depends on the scene's spatial reference.
|
|
16
|
+
*
|
|
17
|
+
* In **geographic coordinate systems** (GCS) and in **Web Mercator**:
|
|
18
|
+
* - Direct distance is computed in a Euclidean manner, in an [ECEF](https://en.wikipedia.org/wiki/ECEF) coordinate system (or equivalent on other planets);
|
|
19
|
+
* - Horizontal distance is computed geodetically, taking into consideration the curvature of the planet;
|
|
20
|
+
* - Vertical distance is computed as an elevation difference.
|
|
21
|
+
*
|
|
22
|
+
* In **projected coordinate systems** (PCS), apart from Web Mercator, all three distances (direct, horizontal, and vertical)
|
|
23
|
+
* are computed in a Euclidean manner (in their respective PCS).
|
|
24
|
+
*
|
|
25
|
+
* Direct Line Measurement 3D component visualizes and labels the direct, horizontal, and vertical distances and displays the same values
|
|
26
|
+
* in the UI panel. When the distance between the points is greater than 100 kilometers,
|
|
27
|
+
* the measurement visualization is simplified, and only the horizontal and vertical distances are calculated.
|
|
28
|
+
* The direct distance option becomes unavailable.
|
|
29
|
+
*
|
|
30
|
+
* 
|
|
31
|
+
*
|
|
32
|
+
* When the component is active, a horizontal "laser" line is drawn which indicates the height at the current mouse position.
|
|
33
|
+
* This line can help in analyzing the heights of objects relative to each other and the terrain.
|
|
34
|
+
* A second laser line shows the intersection of the scene with the vertical plane that passes through the checkered line.
|
|
35
|
+
*
|
|
36
|
+
* **Things to consider**
|
|
37
|
+
*
|
|
38
|
+
* * Direct Line Measurement 3D is designed to work in the Scene component. For measurements in the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
39
|
+
* component, use [Distance Measurement 2D](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-distance-measurement-2d/).
|
|
40
|
+
* * Snapping is enabled by default. This can be temporarily disabled by holding the `CTRL` key.
|
|
41
|
+
* * Layer types currently supported for snapping are:
|
|
42
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
43
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html) (except Mesh geometries),
|
|
44
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
45
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html),
|
|
46
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
47
|
+
* [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
|
|
48
|
+
* and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).
|
|
49
|
+
*
|
|
50
|
+
* **See also**
|
|
51
|
+
*
|
|
52
|
+
* - [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html)
|
|
53
|
+
* - [Sample - Measurement in 3D](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)
|
|
54
|
+
* - [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
55
|
+
* - [Sample - Color theming for interactive tools](https://developers.arcgis.com/javascript/latest/sample-code/view-theme/)
|
|
14
56
|
*
|
|
15
57
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/)
|
|
16
58
|
*/
|
|
17
59
|
export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
18
|
-
|
|
60
|
+
/**
|
|
61
|
+
* The [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html)
|
|
62
|
+
* created or modified by the component.
|
|
63
|
+
*
|
|
64
|
+
* When connecting the Direct Line Measurement 3D component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
65
|
+
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
66
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
67
|
+
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
68
|
+
*
|
|
69
|
+
* Alternatively, a programmatically created analysis can be provided to the component.
|
|
70
|
+
* Then, the application itself needs to add it to and later remove it from the Scene's analyses collection.
|
|
71
|
+
*
|
|
72
|
+
* ```js
|
|
73
|
+
* // Create the analysis.
|
|
74
|
+
* const directLineAnalysis = new DirectLineMeasurementAnalysis({
|
|
75
|
+
* startPoint: new Point({
|
|
76
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
77
|
+
* x: -13624995.61798748,
|
|
78
|
+
* y: 4550334.030096778,
|
|
79
|
+
* z: 63.378210234455764
|
|
80
|
+
* }),
|
|
81
|
+
* endPoint: new Point({
|
|
82
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
83
|
+
* x: -13624921.53589075,
|
|
84
|
+
* y: 4550407.42357004,
|
|
85
|
+
* z: 63.3783810287714
|
|
86
|
+
* }),
|
|
87
|
+
* });
|
|
88
|
+
* // Get the Scene and measurement component and wait until they are ready.
|
|
89
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
90
|
+
* await viewElement.viewOnReady();
|
|
91
|
+
* const directLineMeasurement3d = document.querySelector("arcgis-direct-line-measurement-3d");
|
|
92
|
+
* await directLineMeasurement3d.componentOnReady();
|
|
93
|
+
* // Add the analysis to the Scene component.
|
|
94
|
+
* viewElement.analyses.add(directLineAnalysis);
|
|
95
|
+
* // Connect the analysis to the measurement component:
|
|
96
|
+
* directLineMeasurement3d.analysis = directLineAnalysis;
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
analysis: __esri.DirectLineMeasurementAnalysis;
|
|
19
100
|
/**
|
|
20
101
|
* If true, the component will not be destroyed automatically when it is
|
|
21
102
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -38,25 +119,47 @@ export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
38
119
|
label?: string;
|
|
39
120
|
/** @default "bottom-left" */
|
|
40
121
|
position: __esri.UIPosition;
|
|
122
|
+
/**
|
|
123
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
124
|
+
*
|
|
125
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
126
|
+
*/
|
|
41
127
|
referenceElement?: ArcgisReferenceElement | string;
|
|
42
|
-
|
|
43
|
-
|
|
128
|
+
/**
|
|
129
|
+
* The component's state. The values mean the following:
|
|
130
|
+
*
|
|
131
|
+
* * `disabled` - not ready yet
|
|
132
|
+
* * `ready` - ready for measuring
|
|
133
|
+
* * `measuring` - currently measuring
|
|
134
|
+
* * `measured` - measuring has finished
|
|
135
|
+
*/
|
|
136
|
+
readonly state: "ready" | "disabled" | "measured" | "measuring";
|
|
137
|
+
/**
|
|
138
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
139
|
+
* [unitOptions](#unitOptions).
|
|
140
|
+
*/
|
|
44
141
|
unit: __esri.SystemOrLengthUnit;
|
|
45
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
144
|
+
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
|
|
145
|
+
* Possible [unit](#unit) values can only be a subset of this list.
|
|
146
|
+
*/
|
|
46
147
|
unitOptions: __esri.SystemOrLengthUnit[];
|
|
148
|
+
/** Clears the current measurement. */
|
|
47
149
|
clear(): Promise<void>;
|
|
48
150
|
/** Permanently destroy the component. */
|
|
49
151
|
destroy(): Promise<void>;
|
|
152
|
+
/** Starts a new measurement. */
|
|
50
153
|
start(): Promise<void>;
|
|
51
154
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
52
155
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
53
156
|
name: "state" | "analysis";
|
|
54
157
|
}>;
|
|
55
|
-
/** Emitted when the component associated with a map or scene view is
|
|
158
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
56
159
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
57
160
|
}
|
|
58
161
|
/**
|
|
59
|
-
* The
|
|
162
|
+
* The Directline Measurement 3D component calculates and displays the 3D distance between two points. It can be used in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component to measure the vertical, horizontal, and direct distance between two points.
|
|
60
163
|
*
|
|
61
164
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-directline-measurement-3d/)
|
|
62
165
|
*
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { usePropertyChange as
|
|
5
|
-
import { u as
|
|
6
|
-
import { m as
|
|
2
|
+
import { css as g, html as v } from "lit";
|
|
3
|
+
import { LitElement as f, createEvent as w, noShadowRoot as D, nothing as b, safeClassMap as M } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { u as U } from "../../chunks/useT9n.js";
|
|
6
|
+
import { m as $ } from "../../chunks/useViewModel.js";
|
|
7
7
|
import { g as d } from "../../chunks/globalCss.js";
|
|
8
|
-
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
9
8
|
import L from "@arcgis/core/analysis/DirectLineMeasurementAnalysis.js";
|
|
10
9
|
import { isAboveGeodesicDistanceThreshold as _ } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
11
10
|
import { getDefaultUnitForView as V } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
@@ -15,8 +14,8 @@ import { A as C } from "../../chunks/AnalysisViewModel.js";
|
|
|
15
14
|
import { g as c, m } from "../../chunks/measurementUtils.js";
|
|
16
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
16
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
19
|
-
const z =
|
|
17
|
+
v4.34.0-next.71 */
|
|
18
|
+
const z = g`@layer{arcgis-directline-measurement-3d,arcgis-direct-line-measurement-3d{display:block}.arcgis-direct-line-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`;
|
|
20
19
|
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, r = (e, t, s, a) => {
|
|
21
20
|
for (var n = a > 1 ? void 0 : a ? E(t, s) : t, l = e.length - 1, u; l >= 0; l--)
|
|
22
21
|
(u = e[l]) && (n = (a ? u(t, s, n) : u(n)) || n);
|
|
@@ -131,23 +130,20 @@ r([
|
|
|
131
130
|
i = r([
|
|
132
131
|
P("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")
|
|
133
132
|
], i);
|
|
134
|
-
const x = "arcgis-direct-line-measurement-3d", T = { base: x }, R =
|
|
135
|
-
class h extends
|
|
133
|
+
const x = "arcgis-direct-line-measurement-3d", T = { base: x }, R = $(i);
|
|
134
|
+
class h extends f {
|
|
136
135
|
constructor() {
|
|
137
|
-
super(...arguments), this.viewModel = R(this), this.messages =
|
|
136
|
+
super(...arguments), this.viewModel = R(this), this.messages = U({ name: "directline-measurement-3d", blocking: !0 }), this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-line", this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = O()("analysis", "state"), this.arcgisReady = w();
|
|
138
137
|
}
|
|
139
138
|
static {
|
|
140
|
-
this.properties = { analysis:
|
|
139
|
+
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 35, unit: 1, unitOptions: 0 };
|
|
141
140
|
}
|
|
142
141
|
static {
|
|
143
|
-
this.shadowRootOptions =
|
|
142
|
+
this.shadowRootOptions = D;
|
|
144
143
|
}
|
|
145
144
|
static {
|
|
146
145
|
this.styles = z;
|
|
147
146
|
}
|
|
148
|
-
get analysis() {
|
|
149
|
-
return this.viewModel.analysis;
|
|
150
|
-
}
|
|
151
147
|
async clear() {
|
|
152
148
|
this.viewModel.clear();
|
|
153
149
|
}
|
|
@@ -159,7 +155,7 @@ class h extends v {
|
|
|
159
155
|
}
|
|
160
156
|
render() {
|
|
161
157
|
const { messages: t, unit: s, unitOptions: a, viewModel: n } = this, { measurement: l, state: u } = n;
|
|
162
|
-
return
|
|
158
|
+
return v`<div aria-label=${t.componentLabel ?? b} class=${M({
|
|
163
159
|
[T.base]: !0,
|
|
164
160
|
[d.widget]: !0,
|
|
165
161
|
[d.panel]: !0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as DirectionalPadViewModel } from '@arcgis/core/widgets/DirectionalPad/DirectionalPadViewModel.js';
|
|
5
5
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -54,10 +54,19 @@ export declare class ArcgisDirectionalPad extends LitElement {
|
|
|
54
54
|
icon?: string;
|
|
55
55
|
/** The component's default label. */
|
|
56
56
|
label?: string;
|
|
57
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Replace localized message strings with your own strings.
|
|
59
|
+
*
|
|
60
|
+
* _**Note**: Individual message keys may change between releases._
|
|
61
|
+
*/
|
|
58
62
|
messageOverrides?: typeof this.messages._overrides;
|
|
59
63
|
/** @default "bottom-left" */
|
|
60
64
|
position: __esri.UIPosition;
|
|
65
|
+
/**
|
|
66
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
67
|
+
*
|
|
68
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
69
|
+
*/
|
|
61
70
|
referenceElement?: ArcgisReferenceElement | string;
|
|
62
71
|
/**
|
|
63
72
|
* Whether to display the button to reset the rotation angle. This only takes
|
|
@@ -93,7 +102,7 @@ export declare class ArcgisDirectionalPad extends LitElement {
|
|
|
93
102
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
94
103
|
name: "state";
|
|
95
104
|
}>;
|
|
96
|
-
/** Emitted when the component associated with a map or scene view is
|
|
105
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
97
106
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
98
107
|
private messages: Partial<{
|
|
99
108
|
componentLabel: string;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as o } from "lit
|
|
3
|
-
import { ref as
|
|
4
|
-
import { keyed as d } from "lit
|
|
5
|
-
import { usePropertyChange as
|
|
6
|
-
import { focusElement as
|
|
7
|
-
import { watch as
|
|
2
|
+
import { css as m, html as o } from "lit";
|
|
3
|
+
import { ref as b } from "lit/directives/ref.js";
|
|
4
|
+
import { keyed as d } from "lit/directives/keyed.js";
|
|
5
|
+
import { usePropertyChange as g } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { focusElement as _ } from "@arcgis/toolkit/dom";
|
|
7
|
+
import { watch as v } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
8
|
import f from "@arcgis/core/widgets/DirectionalPad/DirectionalPadViewModel.js";
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { u as
|
|
11
|
-
import { m as
|
|
12
|
-
import { g as
|
|
9
|
+
import { LitElement as $, createEvent as w, noShadowRoot as R, safeClassMap as n, nothing as l, safeStyleMap as C } from "@arcgis/lumina";
|
|
10
|
+
import { u as x } from "../../chunks/useT9n.js";
|
|
11
|
+
import { m as y } from "../../chunks/useViewModel.js";
|
|
12
|
+
import { g as M } from "../../chunks/component-utils.js";
|
|
13
13
|
import { g as h } from "../../chunks/globalCss.js";
|
|
14
|
-
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
15
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
15
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
17
|
-
v4.34.0-next.
|
|
16
|
+
v4.34.0-next.71 */
|
|
18
17
|
const u = [-45, 0, 45, -90, 90, -135, 180, 135], S = {
|
|
19
18
|
0: { label: "north", iconName: "chevron-up" },
|
|
20
19
|
45: { label: "northEast", iconName: "chevron-up-right" },
|
|
@@ -33,7 +32,7 @@ const u = [-45, 0, 45, -90, 90, -135, 180, 135], S = {
|
|
|
33
32
|
rotationSliderContainer: `${a}__rotation-slider-container`,
|
|
34
33
|
rotationReset: `${a}__rotation-reset-button`,
|
|
35
34
|
error: `${a}__error`
|
|
36
|
-
}, B =
|
|
35
|
+
}, B = m`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;
|
|
37
36
|
function E(c) {
|
|
38
37
|
const { x: t, y: e, width: i, height: r } = c.getBoundingClientRect();
|
|
39
38
|
return { x: t + i / 2, y: e + r / 2 };
|
|
@@ -41,16 +40,16 @@ function E(c) {
|
|
|
41
40
|
function D(c) {
|
|
42
41
|
return c?.spatialReference?.isWebMercator || c?.spatialReference?.isGeographic || !1;
|
|
43
42
|
}
|
|
44
|
-
const k =
|
|
45
|
-
class P extends
|
|
43
|
+
const k = y(f);
|
|
44
|
+
class P extends $ {
|
|
46
45
|
constructor() {
|
|
47
|
-
super(...arguments), this.messages =
|
|
46
|
+
super(...arguments), this.messages = x({}), this._onContextMenu = (t) => t.preventDefault(), this._buttons = {}, this.viewModel = k(this), this.angle = this.viewModel.angle, this.rotation = this.viewModel.rotation, this.autoDestroyDisabled = !1, this.disabled = this.viewModel.disabled, this.hideDirectionalButtons = !1, this.icon = "move", this.position = "bottom-left", this.showRotationResetButton = !1, this.showRotationSlider = !1, this.state = this.viewModel.state, this.visualScale = "s", this.arcgisPropertyChange = g()("state"), this.arcgisReady = w();
|
|
48
47
|
}
|
|
49
48
|
static {
|
|
50
49
|
this.properties = { _rotationEnabled: 16, angle: 16, rotation: 16, autoDestroyDisabled: 5, disabled: 5, hideDirectionalButtons: 5, icon: 1, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, showRotationResetButton: 5, showRotationSlider: 5, state: 3, visualScale: 1 };
|
|
51
50
|
}
|
|
52
51
|
static {
|
|
53
|
-
this.shadowRootOptions =
|
|
52
|
+
this.shadowRootOptions = R;
|
|
54
53
|
}
|
|
55
54
|
static {
|
|
56
55
|
this.styles = B;
|
|
@@ -64,8 +63,8 @@ class P extends v {
|
|
|
64
63
|
loaded() {
|
|
65
64
|
this.manager.onLifecycle(() => [
|
|
66
65
|
// Move focus when movement angle changed by touch/mouse (not keyboard!)
|
|
67
|
-
|
|
68
|
-
this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ?
|
|
66
|
+
v(() => this.viewModel.angle, () => {
|
|
67
|
+
this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ? M(this)?.focus() : _(this._buttons[this.viewModel.angle]));
|
|
69
68
|
})
|
|
70
69
|
]);
|
|
71
70
|
}
|
|
@@ -115,7 +114,7 @@ class P extends v {
|
|
|
115
114
|
return d("directional-buttons-container", o`<calcite-action-bar expand-disabled floating layout=grid overflow-actions-disabled><calcite-action-group class=${n(s.buttonsContainer)} dir=ltr @contextmenu=${{
|
|
116
115
|
handleEvent: this._onContextMenu,
|
|
117
116
|
capture: !0
|
|
118
|
-
}} ${
|
|
117
|
+
}} ${b(this._setButtonContainerRef)}>${u.slice(0, 4).map(this._renderButton, this)}${this._renderCompass()}${u.slice(4).map(this._renderButton, this)}</calcite-action-group></calcite-action-bar>`);
|
|
119
118
|
}
|
|
120
119
|
_renderButton(t) {
|
|
121
120
|
const { label: e, iconName: i } = S[t], r = this.messages[e];
|
|
@@ -123,7 +122,7 @@ class P extends v {
|
|
|
123
122
|
}
|
|
124
123
|
_renderCompass() {
|
|
125
124
|
const t = this.disabled || D(this.view) ? "compass-needle" : "arrow-up", e = this.rotation === 0, i = this.messages.resetHeading;
|
|
126
|
-
return o`<calcite-action alignment=center class=${n(s.compassButton)} .disabled=${this.disabled || !this._rotationEnabled || e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${
|
|
125
|
+
return o`<calcite-action alignment=center class=${n(s.compassButton)} .disabled=${this.disabled || !this._rotationEnabled || e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${C(this._rotateIcon(this.rotation))} .text=${i ?? ""} title=${i ?? l}>${!e && o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>` || ""}</calcite-action>`;
|
|
127
126
|
}
|
|
128
127
|
_renderRotation() {
|
|
129
128
|
return d("slider-container", o`<calcite-action-bar expand-disabled floating layout=horizontal><calcite-action-group class=${n(s.rotationContainer)}>${this.showRotationResetButton ? this._renderRotationResetButton() : null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
import {
|
|
2
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
3
3
|
import { DirectionalPadAngle } from './constants';
|
|
4
4
|
export interface Vector {
|
|
5
5
|
readonly x: number;
|
|
@@ -22,4 +22,4 @@ export declare function toUnitVector(first: Vector, second: Vector): Vector;
|
|
|
22
22
|
* @private
|
|
23
23
|
*/
|
|
24
24
|
export declare function findElementCenter(element: Element): Vector;
|
|
25
|
-
export declare function canShowNorth(view: __esri.MapView | __esri.SceneView |
|
|
25
|
+
export declare function canShowNorth(view: __esri.MapView | __esri.SceneView | nil): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as RouteLayer } from '@arcgis/core/layers/RouteLayer.js';
|
|
5
5
|
import { default as Directions } from '@arcgis/core/widgets/Directions.js';
|
|
@@ -11,8 +11,8 @@ declare const useDirectionsWidget: (component: LitElement & Pick<Directions, "ic
|
|
|
11
11
|
state?: unknown;
|
|
12
12
|
viewModel?: __esri.DirectionsViewModel | undefined;
|
|
13
13
|
closed?: boolean;
|
|
14
|
-
icon: import('@arcgis/
|
|
15
|
-
label: import('@arcgis/
|
|
14
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
15
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
16
16
|
referenceElement?: ArcgisReferenceElement | string;
|
|
17
17
|
position: __esri.UIPosition;
|
|
18
18
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -107,12 +107,17 @@ export declare class ArcgisDirections extends LitElement {
|
|
|
107
107
|
maxStops: number;
|
|
108
108
|
/** @default "bottom-left" */
|
|
109
109
|
position: __esri.UIPosition;
|
|
110
|
+
/**
|
|
111
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
112
|
+
*
|
|
113
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
114
|
+
*/
|
|
110
115
|
referenceElement?: ArcgisReferenceElement | string;
|
|
111
116
|
routeLayerItemId?: string;
|
|
112
117
|
/**
|
|
113
|
-
* Controls the default properties used when
|
|
118
|
+
* Controls the default properties used when searching.
|
|
114
119
|
*
|
|
115
|
-
* @default
|
|
120
|
+
* @default { popupEnabled: false, resultGraphicEnabled: false }
|
|
116
121
|
*/
|
|
117
122
|
searchProperties: nullish | __esri.DirectionsSearchProperties;
|
|
118
123
|
/**
|
|
@@ -143,7 +148,7 @@ export declare class ArcgisDirections extends LitElement {
|
|
|
143
148
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
144
149
|
name: "state" | "lastRoute";
|
|
145
150
|
}>;
|
|
146
|
-
/** Emitted when the component associated with a map or scene view is
|
|
151
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
147
152
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
148
153
|
}
|
|
149
154
|
export {};
|
|
@@ -6,10 +6,10 @@ import d from "@arcgis/core/widgets/Directions.js";
|
|
|
6
6
|
import { LitElement as n, createEvent as l, noShadowRoot as w } from "@arcgis/lumina";
|
|
7
7
|
import { m } from "../../chunks/useWidget.js";
|
|
8
8
|
import { e as u } from "../../chunks/component-utils.js";
|
|
9
|
-
import { css as y } from "
|
|
9
|
+
import { css as y } from "lit";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.71 */
|
|
13
13
|
const c = y`@layer{arcgis-directions{display:block}}`, g = m(d), i = "map-components:arcgis-directions";
|
|
14
14
|
class p extends n {
|
|
15
15
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as DistanceMeasurement2D } from '@arcgis/core/widgets/DistanceMeasurement2D.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -9,8 +9,8 @@ declare const useDistanceMeasurement2dWidget: (component: LitElement & Pick<Dist
|
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.DistanceMeasurement2DViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/
|
|
13
|
-
label: import('@arcgis/
|
|
12
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
13
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
14
14
|
referenceElement?: ArcgisReferenceElement | string;
|
|
15
15
|
position: __esri.UIPosition;
|
|
16
16
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -57,6 +57,11 @@ export declare class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
57
57
|
label: string;
|
|
58
58
|
/** @default "bottom-left" */
|
|
59
59
|
position: __esri.UIPosition;
|
|
60
|
+
/**
|
|
61
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
62
|
+
*
|
|
63
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
64
|
+
*/
|
|
60
65
|
referenceElement?: ArcgisReferenceElement | string;
|
|
61
66
|
/**
|
|
62
67
|
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html) for sketching.
|
|
@@ -71,7 +76,7 @@ export declare class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
71
76
|
*
|
|
72
77
|
* @default "disabled"
|
|
73
78
|
*/
|
|
74
|
-
readonly state: "ready" | "disabled" | "
|
|
79
|
+
readonly state: "ready" | "disabled" | "measured" | "measuring";
|
|
75
80
|
/**
|
|
76
81
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
77
82
|
*
|
|
@@ -94,7 +99,7 @@ export declare class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
94
99
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
95
100
|
name: "state";
|
|
96
101
|
}>;
|
|
97
|
-
/** Emitted when the component associated with a map or scene view is
|
|
102
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
98
103
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
99
104
|
}
|
|
100
105
|
export {};
|
|
@@ -3,10 +3,10 @@ import { usePropertyChange as s } from "@arcgis/lumina/controllers";
|
|
|
3
3
|
import e from "@arcgis/core/widgets/DistanceMeasurement2D.js";
|
|
4
4
|
import { LitElement as i, createEvent as o, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
5
|
import { m as n } from "../../chunks/useWidget.js";
|
|
6
|
-
import { css as r } from "
|
|
6
|
+
import { css as r } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.71 */
|
|
10
10
|
const c = r`@layer{arcgis-distance-measurement-2d{display:block}}`, h = n(e);
|
|
11
11
|
class d extends i {
|
|
12
12
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as Editor } from '@arcgis/core/widgets/Editor.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -9,8 +9,8 @@ declare const useEditorWidget: (component: LitElement & Pick<Editor, "icon" | "l
|
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.EditorViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/
|
|
13
|
-
label: import('@arcgis/
|
|
12
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
13
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
14
14
|
referenceElement?: ArcgisReferenceElement | string;
|
|
15
15
|
position: __esri.UIPosition;
|
|
16
16
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -97,6 +97,11 @@ export declare class ArcgisEditor extends LitElement {
|
|
|
97
97
|
layerInfos: nullish | __esri.EditorLayerInfo[];
|
|
98
98
|
/** @default "bottom-left" */
|
|
99
99
|
position: __esri.UIPosition;
|
|
100
|
+
/**
|
|
101
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
102
|
+
*
|
|
103
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
104
|
+
*/
|
|
100
105
|
referenceElement?: ArcgisReferenceElement | string;
|
|
101
106
|
/** @default false */
|
|
102
107
|
showSnappingControlsElementsHeader: boolean;
|
|
@@ -111,7 +116,7 @@ export declare class ArcgisEditor extends LitElement {
|
|
|
111
116
|
*
|
|
112
117
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#state)
|
|
113
118
|
*/
|
|
114
|
-
readonly state: "ready" | "disabled" | "add-association-create-association" | "add-association-select-feature" | "add-association-select-layer" | "adding-attachment" | "awaiting-feature-creation-info" | "awaiting-feature-to-create" | "awaiting-feature-to-update" | "awaiting-update-feature-candidate" | "creating-features" | "editing-attributes" | "editing-attachment" | "editing-existing-feature" | "editing-features" | "
|
|
119
|
+
readonly state: "ready" | "disabled" | "add-association-create-association" | "add-association-select-feature" | "add-association-select-layer" | "adding-attachment" | "awaiting-feature-creation-info" | "awaiting-feature-to-create" | "awaiting-feature-to-update" | "awaiting-update-feature-candidate" | "creating-features" | "editing-attributes" | "editing-attachment" | "editing-existing-feature" | "editing-features" | "viewing-selection-list";
|
|
115
120
|
/**
|
|
116
121
|
* This property allows customization of supporting Editor widgets and their default behavior.
|
|
117
122
|
*
|
|
@@ -137,7 +142,7 @@ export declare class ArcgisEditor extends LitElement {
|
|
|
137
142
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
138
143
|
name: "state" | "activeWorkflow";
|
|
139
144
|
}>;
|
|
140
|
-
/** Emitted when the component associated with a map or scene view is
|
|
145
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
141
146
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
142
147
|
}
|
|
143
148
|
export {};
|
|
@@ -3,10 +3,10 @@ import { usePropertyChange as i } from "@arcgis/lumina/controllers";
|
|
|
3
3
|
import s from "@arcgis/core/widgets/Editor.js";
|
|
4
4
|
import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
5
5
|
import { m as n } from "../../chunks/useWidget.js";
|
|
6
|
-
import { css as r } from "
|
|
6
|
+
import { css as r } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.71 */
|
|
10
10
|
const g = r`@layer{arcgis-editor{display:block}}`, d = n(s);
|
|
11
11
|
class h extends o {
|
|
12
12
|
constructor() {
|