@arcgis/map-components 4.34.0-next.3 → 4.34.0-next.30
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/234Q2TDD.js +4 -0
- package/dist/cdn/2DYML6DE.js +4 -0
- package/dist/cdn/2RQLB52S.js +4 -0
- package/dist/cdn/2VDTVARR.js +4 -0
- package/dist/cdn/2YXYX73W.js +4 -0
- package/dist/cdn/3GNM2VKK.js +4 -0
- package/dist/cdn/3HSEZUZJ.js +4 -0
- package/dist/cdn/3LJIL4ZQ.js +4 -0
- package/dist/cdn/3WBQM3UD.js +4 -0
- package/dist/cdn/45XMVSMD.js +4 -0
- package/dist/cdn/46AB4I6A.js +4 -0
- package/dist/cdn/4EUOEVZB.js +4 -0
- package/dist/cdn/{5YG75FR4.js → 4GIP2XHT.js} +4 -4
- package/dist/cdn/4LCR7TJJ.js +4 -0
- package/dist/cdn/{TG4WOIVN.js → 4VL6GYOZ.js} +2 -2
- package/dist/cdn/522A5I7F.js +4 -0
- package/dist/cdn/572Y5K5H.js +4 -0
- package/dist/cdn/5AIACKPF.js +4 -0
- package/dist/cdn/5C6RLLCR.js +4 -0
- package/dist/cdn/5CD56TL4.js +4 -0
- package/dist/cdn/{D4UC6YNK.js → 5FU5K4NX.js} +2 -2
- package/dist/cdn/5IKDTG3H.js +4 -0
- package/dist/cdn/5KD3HW3G.js +4 -0
- package/dist/cdn/5TV4YEN3.js +4 -0
- package/dist/cdn/5U3SNY2E.js +4 -0
- package/dist/cdn/5UO57HST.js +4 -0
- package/dist/cdn/{46FOHP5W.js → 62CM2RD6.js} +1 -1
- package/dist/cdn/6ADGELSH.js +4 -0
- package/dist/cdn/6AXKBPNB.js +4 -0
- package/dist/cdn/6HBNBNIS.js +4 -0
- package/dist/cdn/6I2O6AK2.js +4 -0
- package/dist/cdn/745J55T6.js +4 -0
- package/dist/cdn/74LQ6LNA.js +4 -0
- package/dist/cdn/7MOMTSDQ.js +4 -0
- package/dist/cdn/{LP4I37RY.js → 7UKAKNWR.js} +1 -1
- package/dist/cdn/A66F53HL.js +4 -0
- package/dist/cdn/ALNPPB7S.js +4 -0
- package/dist/cdn/AOFQ7B6C.js +4 -0
- package/dist/cdn/APEWUTNF.js +4 -0
- package/dist/cdn/AUSKVAOI.js +4 -0
- package/dist/cdn/B5A6WTVX.js +4 -0
- package/dist/cdn/{OYIZFWCL.js → BDGE6XOV.js} +2 -2
- package/dist/cdn/BRDPBTSS.js +4 -0
- package/dist/cdn/BWBH22HG.js +4 -0
- package/dist/cdn/BYV3TMNY.js +4 -0
- package/dist/cdn/C3F5AC4O.js +4 -0
- package/dist/cdn/{4IQYTQIS.js → CJZQXB7T.js} +2 -2
- package/dist/cdn/COSCTCOY.js +4 -0
- package/dist/cdn/CWBQLF4E.js +4 -0
- package/dist/cdn/D3MU6FBS.js +4 -0
- package/dist/cdn/DCBVWKDV.js +4 -0
- package/dist/cdn/DI4M7JUD.js +4 -0
- package/dist/cdn/{72K6PTPA.js → DKCLZITL.js} +1 -1
- package/dist/cdn/DNG5QRPD.js +4 -0
- package/dist/cdn/DRFM2QI6.js +4 -0
- package/dist/cdn/EAVY2C4X.js +4 -0
- package/dist/cdn/EBLSYKUB.js +4 -0
- package/dist/cdn/EGTTXGVG.js +4 -0
- package/dist/cdn/EMDZITJY.js +4 -0
- package/dist/cdn/ERTF6OSF.js +4 -0
- package/dist/cdn/EYA2GF7W.js +4 -0
- package/dist/cdn/F34NBL3N.js +4 -0
- package/dist/cdn/F4OGHOZG.js +4 -0
- package/dist/cdn/F7EPWVGJ.js +4 -0
- package/dist/cdn/FAUBD2N2.js +4 -0
- package/dist/cdn/FCAQM5PE.js +4 -0
- package/dist/cdn/FLC44RMJ.js +4 -0
- package/dist/cdn/{MFJLKVY3.js → G3U7BKN3.js} +2 -2
- package/dist/cdn/G5QNIHYE.js +4 -0
- package/dist/cdn/G6SVKA4S.js +4 -0
- package/dist/cdn/GHTUUNJN.js +4 -0
- package/dist/cdn/GME5RWKA.js +4 -0
- package/dist/cdn/GPUKYZEI.js +4 -0
- package/dist/cdn/GSIQXWAW.js +4 -0
- package/dist/cdn/{VXVE4ZXP.js → GVED72DF.js} +2 -2
- package/dist/cdn/H5FYSFJO.js +4 -0
- package/dist/cdn/H5GJXAWS.js +4 -0
- package/dist/cdn/HGY3J57L.js +4 -0
- package/dist/cdn/HHMHSZFH.js +4 -0
- package/dist/cdn/HI4XUM4L.js +4 -0
- package/dist/cdn/HLOFTVHH.js +4 -0
- package/dist/cdn/HMLEDFOE.js +4 -0
- package/dist/cdn/HXNBGWYE.js +4 -0
- package/dist/cdn/HZQ7EXTW.js +4 -0
- package/dist/cdn/{T3BMQYR2.js → I4L74RDV.js} +2 -2
- package/dist/cdn/I6YAIWMM.js +4 -0
- package/dist/cdn/{5R5OWXAQ.js → IFQ5KLCR.js} +2 -2
- package/dist/cdn/IG4ALH53.js +4 -0
- package/dist/cdn/IIK4Q2H6.js +4 -0
- package/dist/cdn/IQET4QNV.js +4 -0
- package/dist/cdn/ITZIXH2M.js +4 -0
- package/dist/cdn/J4FR5SON.js +4 -0
- package/dist/cdn/JAASZM2N.js +4 -0
- package/dist/cdn/JMMUYDYT.js +4 -0
- package/dist/cdn/JOVSI2UD.js +4 -0
- package/dist/cdn/JQ4CUZLP.js +4 -0
- package/dist/cdn/JUSMMGHK.js +4 -0
- package/dist/cdn/K2BEVIPL.js +4 -0
- package/dist/cdn/K2KNA7WE.js +4 -0
- package/dist/cdn/{Y3HMAR44.js → K53BF6OU.js} +1 -1
- package/dist/cdn/K6IRCEYK.js +4 -0
- package/dist/cdn/KOKCF37L.js +4 -0
- package/dist/cdn/L233U5AH.js +4 -0
- package/dist/cdn/{PQBBBIQU.js → LBL23UNP.js} +2 -2
- package/dist/cdn/LFBL6VZT.js +4 -0
- package/dist/cdn/{3W2WGUDP.js → LMXKZSVR.js} +1 -1
- package/dist/cdn/M5LVTN55.js +4 -0
- package/dist/cdn/MK5A7YGD.js +4 -0
- package/dist/cdn/MLQJ25YQ.js +4 -0
- package/dist/cdn/MU6FQQZJ.js +4 -0
- package/dist/cdn/N3XW4Y5A.js +4 -0
- package/dist/cdn/NAKKTGZW.js +4 -0
- package/dist/cdn/NBJV4ZDY.js +4 -0
- package/dist/cdn/NEXZOBET.js +4 -0
- package/dist/cdn/NJKFDLXR.js +4 -0
- package/dist/cdn/NLLPFZJ4.js +4 -0
- package/dist/cdn/NMS2D3YB.js +4 -0
- package/dist/cdn/NPNLIY3T.js +4 -0
- package/dist/cdn/NVS2W675.js +4 -0
- package/dist/cdn/OASTUNEL.js +4 -0
- package/dist/cdn/OJHB5U2P.js +4 -0
- package/dist/cdn/{363OWKVL.js → OMCDBRCI.js} +2 -2
- package/dist/cdn/OPMP7QAM.js +4 -0
- package/dist/cdn/{WUICCK44.js → ORIOQOQQ.js} +2 -2
- package/dist/cdn/ORWGAQLP.js +4 -0
- package/dist/cdn/{ZDO5M5ZH.js → OVAMJI2J.js} +2 -2
- package/dist/cdn/OYGUGTDT.js +4 -0
- package/dist/cdn/P3ZSQOLJ.js +4 -0
- package/dist/cdn/{BRHFFFB6.js → PEN5BBQF.js} +1 -1
- package/dist/cdn/PMN6FZDX.js +4 -0
- package/dist/cdn/POKSSBNB.js +4 -0
- package/dist/cdn/PRD2DJCZ.js +4 -0
- package/dist/cdn/Q3YPRJ3U.js +4 -0
- package/dist/cdn/Q5EQ53JS.js +4 -0
- package/dist/cdn/QBCHAIKA.js +4 -0
- package/dist/cdn/QODXGI4E.js +4 -0
- package/dist/cdn/{F3DQMWJ6.js → R2UCRAE6.js} +2 -2
- package/dist/cdn/R3JXTK4L.js +4 -0
- package/dist/cdn/RQL42QKX.js +4 -0
- package/dist/cdn/RSSENJSP.js +4 -0
- package/dist/cdn/SHNXRR4Q.js +4 -0
- package/dist/cdn/SHR2EWHJ.js +4 -0
- package/dist/cdn/SNB2JDTD.js +4 -0
- package/dist/cdn/SPKW3HOG.js +4 -0
- package/dist/cdn/TCA7UVYN.js +4 -0
- package/dist/cdn/TGF42ZK7.js +4 -0
- package/dist/cdn/TYCHS6RB.js +4 -0
- package/dist/cdn/TYQMG3PI.js +4 -0
- package/dist/cdn/U2S7QARW.js +4 -0
- package/dist/cdn/UDJ44V76.js +4 -0
- package/dist/cdn/UKBERXHR.js +4 -0
- package/dist/cdn/{N4BQ2M5C.js → UNXP35E2.js} +2 -2
- package/dist/cdn/UT234BKM.js +4 -0
- package/dist/cdn/UZASGDCK.js +4 -0
- package/dist/cdn/V7YOJQVM.js +4 -0
- package/dist/cdn/VDTCDYVS.js +4 -0
- package/dist/cdn/{EGAU2GAK.js → VHVAWD2J.js} +2 -2
- package/dist/cdn/VNYPBOZ3.js +4 -0
- package/dist/cdn/WB66TFCT.js +4 -0
- package/dist/cdn/WDQLQNCX.js +4 -0
- package/dist/cdn/WI4FRYNR.js +4 -0
- package/dist/cdn/WMMTGIEJ.js +4 -0
- package/dist/cdn/WOLK2FI6.js +4 -0
- package/dist/cdn/WVAIVNQ3.js +4 -0
- package/dist/cdn/X6SS7HOK.js +4 -0
- package/dist/cdn/XA5CSRYE.js +4 -0
- package/dist/cdn/XBHAUFYB.js +4 -0
- package/dist/cdn/XDRYUW46.js +4 -0
- package/dist/cdn/XEXFKE7B.js +4 -0
- package/dist/cdn/XIRWSYW7.js +4 -0
- package/dist/cdn/XJDZ6NLY.js +4 -0
- package/dist/cdn/XW5VJD3U.js +4 -0
- package/dist/cdn/YLPFVUWT.js +4 -0
- package/dist/cdn/YQUJT2RW.js +5 -0
- package/dist/cdn/YUIMV5SN.js +4 -0
- package/dist/cdn/YULQASHJ.js +4 -0
- package/dist/cdn/ZCOAN2KK.js +4 -0
- package/dist/cdn/ZCUXCTC4.js +4 -0
- package/dist/cdn/ZG34WCDO.js +4 -0
- package/dist/cdn/ZG7VAYIH.js +4 -0
- package/dist/cdn/ZL5K3BUP.js +4 -0
- package/dist/cdn/ZZ2JXXKO.js +4 -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/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- 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 +145 -0
- package/dist/chunks/globalCss.js +2 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- 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 +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +5 -5
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -3
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +6 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +5 -0
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +8 -2
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +10 -9
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +15 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +24 -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 +66 -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 +39 -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-fields/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-fields/customElement.js +141 -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 +6 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +37 -0
- package/dist/components/arcgis-feature-media/customElement.js +575 -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-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +16 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +23 -12
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +10 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +19 -9
- package/dist/components/arcgis-link-chart/customElement.js +14 -5
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -26
- 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/customElement.d.ts +17 -5
- package/dist/components/arcgis-locate/customElement.js +29 -29
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +25 -14
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +14 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +54 -40
- package/dist/components/arcgis-print/customElement.js +39 -33
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +3 -4
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +143 -80
- package/dist/components/arcgis-scene/customElement.js +27 -16
- package/dist/components/arcgis-search/customElement.d.ts +46 -16
- package/dist/components/arcgis-search/customElement.js +39 -36
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/customElement.d.ts +77 -18
- package/dist/components/arcgis-slice/customElement.js +2 -2
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +11 -2
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +5 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +48 -50
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +19 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +45 -45
- package/dist/components/arcgis-video/customElement.d.ts +20 -9
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +32 -26
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +12 -12
- package/dist/components/arcgis-video-player-metadata/customElement.js +2 -2
- package/dist/components/arcgis-video-player-settings/customElement.js +2 -2
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +2 -2
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1381 -495
- package/dist/docs/docs.json +1119 -509
- package/dist/docs/vscode.html-custom-data.json +195 -102
- package/dist/docs/web-types.json +421 -230
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +20 -15
- package/dist/types/lumina.d.ts +15 -12
- package/dist/types/preact.d.ts +15 -12
- package/dist/types/react.d.ts +15 -12
- package/dist/types/stencil.d.ts +15 -12
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +30 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +5 -4
- package/dist/cdn/2DEASVZD.js +0 -4
- package/dist/cdn/2ESEAIA5.js +0 -4
- package/dist/cdn/46DOZMHG.js +0 -4
- package/dist/cdn/46NE5CD2.js +0 -4
- package/dist/cdn/4H2W5GYD.js +0 -4
- package/dist/cdn/4QRBF4FC.js +0 -4
- package/dist/cdn/4USUAQ3M.js +0 -4
- package/dist/cdn/4XMBZYKO.js +0 -4
- package/dist/cdn/56EGKCO3.js +0 -4
- package/dist/cdn/5VXQTBEA.js +0 -4
- package/dist/cdn/67UXLU2S.js +0 -4
- package/dist/cdn/6EE4JJ2I.js +0 -4
- package/dist/cdn/6K7QBAMI.js +0 -4
- package/dist/cdn/6X6BDLCA.js +0 -4
- package/dist/cdn/6Z56X76F.js +0 -4
- package/dist/cdn/7AXRMMLJ.js +0 -4
- package/dist/cdn/7L5XBWYD.js +0 -4
- package/dist/cdn/ALUNHIFF.js +0 -4
- package/dist/cdn/BKWCCZ53.js +0 -4
- package/dist/cdn/BOZBPEOQ.js +0 -4
- package/dist/cdn/C2GRKYPA.js +0 -4
- package/dist/cdn/C5VB62EV.js +0 -4
- package/dist/cdn/CQMPO2FO.js +0 -4
- package/dist/cdn/CV25FGWS.js +0 -4
- package/dist/cdn/CWRD56OW.js +0 -4
- package/dist/cdn/DPC4BXUO.js +0 -4
- package/dist/cdn/DVRWN2X3.js +0 -4
- package/dist/cdn/DWMAF3AB.js +0 -4
- package/dist/cdn/FGMM6TLQ.js +0 -4
- package/dist/cdn/GKQV3GV7.js +0 -4
- package/dist/cdn/GOEEX3IG.js +0 -4
- package/dist/cdn/H34JBL4Z.js +0 -4
- package/dist/cdn/HAFNNW3D.js +0 -4
- package/dist/cdn/HJBXOC2I.js +0 -4
- package/dist/cdn/HLKSYNBA.js +0 -4
- package/dist/cdn/HQEQV3QC.js +0 -4
- package/dist/cdn/JCQD3YNR.js +0 -4
- package/dist/cdn/JDTYQCZK.js +0 -4
- package/dist/cdn/JI6FC2KZ.js +0 -4
- package/dist/cdn/JLCRXIKZ.js +0 -4
- package/dist/cdn/JP5O6B5F.js +0 -4
- package/dist/cdn/JV24GCAP.js +0 -4
- package/dist/cdn/K7UZ42V3.js +0 -4
- package/dist/cdn/KXYEAIS4.js +0 -4
- package/dist/cdn/L3OI72NI.js +0 -4
- package/dist/cdn/LEGQAMIG.js +0 -4
- package/dist/cdn/LUJBBH5J.js +0 -4
- package/dist/cdn/LXPDH2BL.js +0 -4
- package/dist/cdn/M3YHSP3I.js +0 -4
- package/dist/cdn/MSKYKJCN.js +0 -4
- package/dist/cdn/MT5RQBAH.js +0 -4
- package/dist/cdn/MZ4A2RS4.js +0 -4
- package/dist/cdn/N2AWMIHG.js +0 -4
- package/dist/cdn/NFP7KMGH.js +0 -4
- package/dist/cdn/NNWDJSAH.js +0 -4
- package/dist/cdn/O7ZKXOTB.js +0 -4
- package/dist/cdn/OYUETUJJ.js +0 -4
- package/dist/cdn/PPUKTTQ3.js +0 -4
- package/dist/cdn/PYZLIY6P.js +0 -4
- package/dist/cdn/QPFJHO6Q.js +0 -4
- package/dist/cdn/QSM7LMGZ.js +0 -4
- package/dist/cdn/REMEYP6N.js +0 -4
- package/dist/cdn/RFMOKDOF.js +0 -4
- package/dist/cdn/RNXSFATM.js +0 -4
- package/dist/cdn/RURKZO7X.js +0 -4
- package/dist/cdn/S2O5QLCT.js +0 -4
- package/dist/cdn/SHCBXBY3.js +0 -4
- package/dist/cdn/SLDQ2YZY.js +0 -4
- package/dist/cdn/SWDKYZ6Z.js +0 -4
- package/dist/cdn/TJN54QWM.js +0 -4
- package/dist/cdn/TNVEJWIO.js +0 -4
- package/dist/cdn/TRPGUDFV.js +0 -4
- package/dist/cdn/TXZALV35.js +0 -4
- package/dist/cdn/U2HHRTN2.js +0 -4
- package/dist/cdn/V2RJSRTT.js +0 -4
- package/dist/cdn/V45UQX3A.js +0 -4
- package/dist/cdn/V4COQWPL.js +0 -4
- package/dist/cdn/V5ZNHCME.js +0 -4
- package/dist/cdn/VIDQXKDI.js +0 -4
- package/dist/cdn/VQD7JRM4.js +0 -4
- package/dist/cdn/W3XQBJXS.js +0 -4
- package/dist/cdn/WG47QYRW.js +0 -4
- package/dist/cdn/WQJO5G7X.js +0 -4
- package/dist/cdn/WY2EGIGS.js +0 -4
- package/dist/cdn/XFRS3WPC.js +0 -4
- package/dist/cdn/XRRL7PHW.js +0 -4
- package/dist/cdn/XUU76GOK.js +0 -4
- package/dist/cdn/Y5DTQNYQ.js +0 -4
- package/dist/cdn/Y5TCYX4Y.js +0 -4
- package/dist/cdn/YPOT4P5O.js +0 -4
- package/dist/cdn/Z5HH6M3E.js +0 -4
- package/dist/cdn/Z5JQ33M4.js +0 -4
- package/dist/cdn/ZAORUVUH.js +0 -4
- package/dist/cdn/ZEVG6CNZ.js +0 -4
- package/dist/cdn/ZHMO3DWS.js +0 -4
- package/dist/cdn/ZS3C5VPV.js +0 -4
- package/dist/cdn/ZUXJIOON.js +0 -4
|
@@ -55,7 +55,6 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
55
55
|
* Icon displayed in the component's button, when `appearance` is `dropdown`.
|
|
56
56
|
*
|
|
57
57
|
* @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
58
|
-
* @since 4.28
|
|
59
58
|
* @default "nodes-link"
|
|
60
59
|
*/
|
|
61
60
|
icon?: string;
|
|
@@ -69,7 +68,11 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
69
68
|
* @default "organic-standard"
|
|
70
69
|
*/
|
|
71
70
|
readonly layout: DiagramLayoutType;
|
|
72
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Replace localized message strings with your own strings.
|
|
73
|
+
*
|
|
74
|
+
* _**Note**: Individual message keys may change between releases._
|
|
75
|
+
*/
|
|
73
76
|
messageOverrides?: typeof this.messages._overrides;
|
|
74
77
|
/** @default "top-left" */
|
|
75
78
|
position: __esri.UIPosition;
|
|
@@ -81,6 +84,12 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
81
84
|
* @default false
|
|
82
85
|
*/
|
|
83
86
|
preventExtentUpdate: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* 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.
|
|
89
|
+
*
|
|
90
|
+
* See also:
|
|
91
|
+
* - [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
92
|
+
*/
|
|
84
93
|
referenceElement?: ArcgisReferenceElement | string;
|
|
85
94
|
/**
|
|
86
95
|
* The current state of the widget.
|
|
@@ -98,9 +107,11 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
98
107
|
* Fires when component has completed the layout switch
|
|
99
108
|
*
|
|
100
109
|
* @example
|
|
110
|
+
* ```js
|
|
101
111
|
* layoutswitcher.addEventListener("arcgisSwitchLayout", (event) => {
|
|
102
112
|
* console.log("Layout Switched");
|
|
103
113
|
* });
|
|
114
|
+
* ```
|
|
104
115
|
*/
|
|
105
116
|
readonly arcgisSwitchLayout: TargetedEvent<this, __esri.LinkChartLayoutSwitcherViewModelSwitchLayoutEvent>;
|
|
106
117
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as e } from "lit-html";
|
|
3
|
-
import { classes as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
3
|
+
import { classes as h } from "@arcgis/components-utils";
|
|
4
|
+
import d from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
|
|
5
|
+
import { usePropertyChange as m } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { m as g } from "../../chunks/useViewModel.js";
|
|
7
|
+
import { u as p } from "../../chunks/useT9n.js";
|
|
8
|
+
import { reEmitEvent as u } from "@arcgis/lumina/controllers/accessor";
|
|
9
|
+
import { LitElement as y, createEvent as w, noShadowRoot as b, safeClassMap as f } from "@arcgis/lumina";
|
|
10
|
+
import { css as v } from "@lit/reactive-element/css-tag.js";
|
|
12
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
15
|
-
const L =
|
|
13
|
+
v4.34.0-next.30 */
|
|
14
|
+
const L = v`@layer{arcgis-link-chart-layout-switcher{display:block}}`, c = {
|
|
16
15
|
basicLayoutCategory: [
|
|
17
16
|
"basic-grid"
|
|
18
17
|
/* SIMPLE */
|
|
@@ -37,7 +36,7 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
37
36
|
"chronological-multi-timeline"
|
|
38
37
|
/* CHRONOLOGICAL_MULTIPLE */
|
|
39
38
|
]
|
|
40
|
-
},
|
|
39
|
+
}, s = {
|
|
41
40
|
"organic-standard": "force-directed-link-chart-layout",
|
|
42
41
|
"organic-community": "community-link-chart-layout",
|
|
43
42
|
"basic-grid": "simple-link-chart-layout",
|
|
@@ -47,7 +46,7 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
47
46
|
"geographic-organic-standard": "geographic-link-chart-layout",
|
|
48
47
|
"chronological-mono-timeline": "single-timeline",
|
|
49
48
|
"chronological-multi-timeline": "multi-timeline"
|
|
50
|
-
},
|
|
49
|
+
}, l = {
|
|
51
50
|
"organic-standard": "forceDirected",
|
|
52
51
|
"organic-community": "community",
|
|
53
52
|
"basic-grid": "simple",
|
|
@@ -57,18 +56,18 @@ const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
|
57
56
|
"geographic-organic-standard": "geographic",
|
|
58
57
|
"chronological-mono-timeline": "chronologicalSingle",
|
|
59
58
|
"chronological-multi-timeline": "chronologicalMultiple"
|
|
60
|
-
},
|
|
59
|
+
}, $ = {
|
|
61
60
|
base: "esri-link-chart-layout-switcher"
|
|
62
|
-
},
|
|
63
|
-
class
|
|
61
|
+
}, k = g(d);
|
|
62
|
+
class M extends y {
|
|
64
63
|
constructor() {
|
|
65
|
-
super(...arguments), this.messages =
|
|
64
|
+
super(...arguments), this.messages = p(), this.viewModel = k(this), this.appearance = "dropdown", this.autoDestroyDisabled = !1, this.closeOnSelectDisabled = !1, this.icon = "nodes-link", this.layout = this.viewModel.layout, this.position = "top-left", this.preventExtentUpdate = this.viewModel.preventExtentUpdate, this.state = this.viewModel.state, this.arcgisSwitchLayout = u(() => this.viewModel, "switchLayout"), this.arcgisPropertyChange = m()("state"), this.arcgisReady = w();
|
|
66
65
|
}
|
|
67
66
|
static {
|
|
68
67
|
this.properties = { appearance: 1, autoDestroyDisabled: 5, closeOnSelectDisabled: 5, icon: 1, label: 1, layout: 32, messageOverrides: 0, position: 3, preventExtentUpdate: 5, referenceElement: 1, state: 3 };
|
|
69
68
|
}
|
|
70
69
|
static {
|
|
71
|
-
this.shadowRootOptions =
|
|
70
|
+
this.shadowRootOptions = b;
|
|
72
71
|
}
|
|
73
72
|
static {
|
|
74
73
|
this.styles = L;
|
|
@@ -80,19 +79,19 @@ class C extends b {
|
|
|
80
79
|
this.viewModel.switchLayout(t);
|
|
81
80
|
}
|
|
82
81
|
_renderDropdown() {
|
|
83
|
-
const { messages: t, icon:
|
|
84
|
-
return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-
|
|
82
|
+
const { messages: t, icon: a } = this;
|
|
83
|
+
return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-action slot=trigger .disabled=${this.viewModel.state === "disabled"} .icon=${a ?? void 0} .label=${t.layoutOptions ?? "Layout"} appearance=solid scale=s .text=${t.layoutOptions ?? "Layout"}></calcite-action>${Object.entries(c).map(([r, i]) => e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[r]}>${i.map((o) => e`<calcite-dropdown-item .iconStart=${s[o]} .selected=${o === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(o)}>${t[l[o]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown>`;
|
|
85
84
|
}
|
|
86
85
|
_renderMenuBar() {
|
|
87
86
|
const { messages: t } = this;
|
|
88
|
-
return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(
|
|
87
|
+
return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(c).map(([a, r]) => e`<calcite-action-group .label=${this.messages[a]}>${r.map((i) => e`<calcite-action scale=s .icon=${s[i]} .active=${i === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(i)} .text=${t[l[i]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`;
|
|
89
88
|
}
|
|
90
89
|
render() {
|
|
91
|
-
const { appearance: t } = this,
|
|
92
|
-
return e`<div class=${
|
|
90
|
+
const { appearance: t } = this, a = t === "menu-bar" ? this._renderMenuBar() : this._renderDropdown();
|
|
91
|
+
return e`<div class=${f(h($.base))}>${a}</div>`;
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
|
-
|
|
94
|
+
n("arcgis-link-chart-layout-switcher", M);
|
|
96
95
|
export {
|
|
97
|
-
|
|
96
|
+
M as ArcgisLinkChartLayoutSwitcher
|
|
98
97
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-dropdown";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-dropdown-group";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-action-bar";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
8
7
|
export * from "./customElement.js";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-dropdown";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-dropdown-group";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-dropdown-item";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-action-bar";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
8
7
|
export * from "./customElement.js";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import { Nil } from '@arcgis/components-utils';
|
|
5
4
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
5
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
6
|
import { default as LocateViewModel } from './LocateViewModel';
|
|
@@ -10,6 +9,10 @@ declare const useLocateViewModel: (component: LitElement & Pick<LocateViewModel,
|
|
|
10
9
|
/**
|
|
11
10
|
* The Locate component animates the Map or Scene to the user's current location.
|
|
12
11
|
*
|
|
12
|
+
* This component uses the browser's [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API) which is only available in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts), such as HTTPS.
|
|
13
|
+
* Note that localhost is considered "potentially secure" and can be used for easy testing in browsers that support
|
|
14
|
+
* [Window.isSecureContext](https://developer.mozilla.org/en-US/docs/Web/API/isSecureContext#browser_compatibility).
|
|
15
|
+
*
|
|
13
16
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-locate/)
|
|
14
17
|
*/
|
|
15
18
|
export declare class ArcgisLocate extends LitElement {
|
|
@@ -23,26 +26,35 @@ export declare class ArcgisLocate extends LitElement {
|
|
|
23
26
|
* @default false
|
|
24
27
|
*/
|
|
25
28
|
autoDestroyDisabled: boolean;
|
|
26
|
-
geolocationOptions:
|
|
29
|
+
geolocationOptions: PositionOptions | undefined;
|
|
27
30
|
/**
|
|
28
31
|
* Indicates whether to navigate the view to the position and scale of the geolocated result.
|
|
29
32
|
*
|
|
30
33
|
* @default false
|
|
31
34
|
*/
|
|
32
35
|
goToLocationDisabled: boolean;
|
|
33
|
-
goToOverride:
|
|
36
|
+
goToOverride: __esri.GoToOverride | undefined;
|
|
34
37
|
/** The graphic used to show the user's location on the map. */
|
|
35
38
|
graphic: __esri.Graphic;
|
|
36
39
|
/** @default "gps-off" */
|
|
37
40
|
icon?: string | undefined;
|
|
38
41
|
/** The component's default label. */
|
|
39
42
|
label?: string;
|
|
40
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Replace localized message strings with your own strings.
|
|
45
|
+
*
|
|
46
|
+
* _**Note**: Individual message keys may change between releases._
|
|
47
|
+
*/
|
|
41
48
|
messageOverrides?: typeof this.messages._overrides;
|
|
42
49
|
/** @default false */
|
|
43
50
|
popupDisabled: boolean;
|
|
44
51
|
/** @default "top-left" */
|
|
45
52
|
position: __esri.UIPosition;
|
|
53
|
+
/**
|
|
54
|
+
* 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.
|
|
55
|
+
*
|
|
56
|
+
* @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)
|
|
57
|
+
*/
|
|
46
58
|
referenceElement?: ArcgisReferenceElement | string;
|
|
47
59
|
/**
|
|
48
60
|
* Indicates the scale to set on the view when navigating to the position of the geolocated
|
|
@@ -50,7 +62,7 @@ export declare class ArcgisLocate extends LitElement {
|
|
|
50
62
|
*
|
|
51
63
|
* @default null
|
|
52
64
|
*/
|
|
53
|
-
scale: number |
|
|
65
|
+
scale: number | undefined;
|
|
54
66
|
/** The current state of the component. */
|
|
55
67
|
state: "ready" | "disabled" | "error" | "feature-unsupported" | "locating";
|
|
56
68
|
/**
|
|
@@ -27,7 +27,7 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
|
|
|
27
27
|
import oe from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
30
|
-
v4.34.0-next.
|
|
30
|
+
v4.34.0-next.30 */
|
|
31
31
|
const ie = K`@layer{arcgis-locate{display:block}}`;
|
|
32
32
|
let M = !1;
|
|
33
33
|
const re = {
|
|
@@ -46,7 +46,7 @@ function se() {
|
|
|
46
46
|
function ne() {
|
|
47
47
|
return ae() && se();
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ce(e) {
|
|
50
50
|
return e ??= re, new Promise((o, r) => {
|
|
51
51
|
setTimeout(
|
|
52
52
|
() => r(new u("geolocation:timeout", "getting the current geolocation position timed out")),
|
|
@@ -54,7 +54,7 @@ function le(e) {
|
|
|
54
54
|
), navigator.geolocation.getCurrentPosition(o, r, e ?? void 0);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function le(e, t) {
|
|
58
58
|
const { position: o, view: r } = e, a = pe(o)?.coords;
|
|
59
59
|
if (!a)
|
|
60
60
|
throw new u("geometry-service:no-coords", "Geolocation has no coordinates");
|
|
@@ -263,11 +263,11 @@ const L = {
|
|
|
263
263
|
]
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
|
-
let
|
|
266
|
+
let c = class extends B {
|
|
267
267
|
constructor() {
|
|
268
|
-
super(...arguments), this._geolocationUsable = !0, this.
|
|
268
|
+
super(...arguments), this._geolocationUsable = !0, this.goToLocationEnabled = !0, this.graphic = new O({
|
|
269
269
|
symbol: we
|
|
270
|
-
}), this.
|
|
270
|
+
}), this.rotationEnabled = !0;
|
|
271
271
|
}
|
|
272
272
|
//#region Lifecycle
|
|
273
273
|
initialize() {
|
|
@@ -282,7 +282,7 @@ let l = class extends B {
|
|
|
282
282
|
]);
|
|
283
283
|
}
|
|
284
284
|
destroy() {
|
|
285
|
-
this._clearGraphic(), this.view =
|
|
285
|
+
this._clearGraphic(), this.view = void 0;
|
|
286
286
|
}
|
|
287
287
|
//#endregion
|
|
288
288
|
//#region Private Methods
|
|
@@ -351,7 +351,7 @@ let l = class extends B {
|
|
|
351
351
|
}
|
|
352
352
|
async updatePosition(e, t) {
|
|
353
353
|
try {
|
|
354
|
-
const o = this.view, r = await
|
|
354
|
+
const o = this.view, r = await le({ position: e, view: o }, { signal: t.signal }), { graphic: i } = this, { timestamp: a, coords: s } = e, { accuracy: g, altitude: h, altitudeAccuracy: N, latitude: D, longitude: x, speed: R } = s, v = this._getHeading(e, o), U = {
|
|
355
355
|
timestamp: a,
|
|
356
356
|
accuracy: g,
|
|
357
357
|
altitude: h,
|
|
@@ -376,33 +376,33 @@ let l = class extends B {
|
|
|
376
376
|
};
|
|
377
377
|
p([
|
|
378
378
|
n()
|
|
379
|
-
],
|
|
379
|
+
], c.prototype, "_geolocationUsable", 2);
|
|
380
380
|
p([
|
|
381
381
|
n()
|
|
382
|
-
],
|
|
382
|
+
], c.prototype, "geolocationOptions", 2);
|
|
383
383
|
p([
|
|
384
384
|
n()
|
|
385
|
-
],
|
|
385
|
+
], c.prototype, "goToLocationEnabled", 2);
|
|
386
386
|
p([
|
|
387
387
|
n()
|
|
388
|
-
],
|
|
388
|
+
], c.prototype, "goToOverride", 2);
|
|
389
389
|
p([
|
|
390
390
|
n({
|
|
391
391
|
type: O
|
|
392
392
|
})
|
|
393
|
-
],
|
|
393
|
+
], c.prototype, "graphic", 2);
|
|
394
394
|
p([
|
|
395
395
|
n()
|
|
396
|
-
],
|
|
396
|
+
], c.prototype, "scale", 2);
|
|
397
397
|
p([
|
|
398
398
|
n()
|
|
399
|
-
],
|
|
399
|
+
], c.prototype, "rotationEnabled", 2);
|
|
400
400
|
p([
|
|
401
401
|
n()
|
|
402
|
-
],
|
|
403
|
-
|
|
402
|
+
], c.prototype, "view", 2);
|
|
403
|
+
c = p([
|
|
404
404
|
S("map-components.geolocation.GeolocationPositioning")
|
|
405
|
-
],
|
|
405
|
+
], c);
|
|
406
406
|
var be = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, d = (e, t, o, r) => {
|
|
407
407
|
for (var i = r > 1 ? void 0 : r ? Ae(t, o) : t, a = e.length - 1, s; a >= 0; a--)
|
|
408
408
|
(s = e[a]) && (i = (r ? s(t, o, i) : s(i)) || i);
|
|
@@ -490,7 +490,7 @@ function Me(e) {
|
|
|
490
490
|
]
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
|
-
let
|
|
493
|
+
let l = class extends c {
|
|
494
494
|
//#region Lifecycle
|
|
495
495
|
constructor(e) {
|
|
496
496
|
super(e), this._locateController = null, this.currentPosition = null, this.error = void 0, this.messages = null, this.popupEnabled = !0, this.locate = this.locate.bind(this);
|
|
@@ -521,7 +521,7 @@ let c = class extends l {
|
|
|
521
521
|
const e = new AbortController();
|
|
522
522
|
this._locateController = e, this.error = void 0;
|
|
523
523
|
try {
|
|
524
|
-
const t = await
|
|
524
|
+
const t = await ce(this.geolocationOptions);
|
|
525
525
|
if (await this.updatePosition(t, e), this._locateController !== e)
|
|
526
526
|
return null;
|
|
527
527
|
const { graphic: o } = this;
|
|
@@ -547,28 +547,28 @@ let c = class extends l {
|
|
|
547
547
|
};
|
|
548
548
|
d([
|
|
549
549
|
n()
|
|
550
|
-
],
|
|
550
|
+
], l.prototype, "_locateController", 2);
|
|
551
551
|
d([
|
|
552
552
|
n()
|
|
553
|
-
],
|
|
553
|
+
], l.prototype, "currentPosition", 2);
|
|
554
554
|
d([
|
|
555
555
|
n()
|
|
556
|
-
],
|
|
556
|
+
], l.prototype, "error", 2);
|
|
557
557
|
d([
|
|
558
558
|
n()
|
|
559
|
-
],
|
|
559
|
+
], l.prototype, "messages", 2);
|
|
560
560
|
d([
|
|
561
561
|
n()
|
|
562
|
-
],
|
|
562
|
+
], l.prototype, "popupEnabled", 2);
|
|
563
563
|
d([
|
|
564
564
|
n({ readOnly: !0 })
|
|
565
|
-
],
|
|
566
|
-
|
|
565
|
+
], l.prototype, "state", 1);
|
|
566
|
+
l = d([
|
|
567
567
|
S("map-components.locate.LocateViewModel")
|
|
568
|
-
],
|
|
568
|
+
], l);
|
|
569
569
|
const Ce = {
|
|
570
570
|
base: "esri-locate"
|
|
571
|
-
}, C = "gps-off", Se = k(
|
|
571
|
+
}, C = "gps-off", Se = k(l);
|
|
572
572
|
class Ee extends z {
|
|
573
573
|
constructor() {
|
|
574
574
|
super(...arguments), this.messages = V(), this.viewModel = Se(this), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = C, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = f(), this.arcgisPropertyChange = G()("state"), this.arcgisReady = f(), this.arcgisSuccess = f();
|
|
@@ -6,7 +6,7 @@ import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
|
6
6
|
import { default as WebMap } from '@arcgis/core/WebMap.js';
|
|
7
7
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
8
|
|
|
9
|
-
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks"> & {
|
|
9
|
+
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "utilityNetworks"> & {
|
|
10
10
|
autoDestroyDisabled: boolean;
|
|
11
11
|
destroy: () => Promise<void>;
|
|
12
12
|
}) => WebMap;
|
|
@@ -15,7 +15,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
|
|
|
15
15
|
destroy: () => Promise<void>;
|
|
16
16
|
}) => MapView;
|
|
17
17
|
/**
|
|
18
|
-
* The ArcGIS Map
|
|
18
|
+
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
19
19
|
* [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
20
20
|
*
|
|
21
21
|
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).
|
|
@@ -51,7 +51,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
|
|
|
51
51
|
*
|
|
52
52
|
* See also:
|
|
53
53
|
* - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
|
|
54
|
-
* - [
|
|
54
|
+
* - [Get started](https://developers.arcgis.com/javascript/latest/get-started/)
|
|
55
55
|
* - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
|
|
56
56
|
*
|
|
57
57
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
@@ -131,13 +131,14 @@ export declare class ArcgisMap extends LitElement {
|
|
|
131
131
|
get gamepad(): __esri.GamepadSettings;
|
|
132
132
|
/**
|
|
133
133
|
* Allows for adding graphics directly to the default graphics in the View.
|
|
134
|
-
*
|
|
135
|
-
*
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```js
|
|
136
137
|
* // Adds a graphic to the View
|
|
137
138
|
* graphics.add(pointGraphic);
|
|
138
139
|
* ```
|
|
139
|
-
*
|
|
140
|
-
* ```
|
|
140
|
+
* @example
|
|
141
|
+
* ```js
|
|
141
142
|
* // Removes a graphic from the View
|
|
142
143
|
* graphics.remove(pointGraphic);
|
|
143
144
|
* ```
|
|
@@ -155,6 +156,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
155
156
|
* Options for configuring the highlight.
|
|
156
157
|
*
|
|
157
158
|
* @deprecated
|
|
159
|
+
* since 4.33, use [highlights](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#highlights) instead.
|
|
160
|
+
*
|
|
158
161
|
* Options for configuring the highlight. Use the highlight method on the
|
|
159
162
|
* appropriate esri/views/layers/LayerView to highlight a feature.
|
|
160
163
|
* The layerView's `highlightOptions` will take precedence over the MapView's `highlightOptions` if both properties are set.
|
|
@@ -184,7 +187,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
184
187
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
185
188
|
readonly magnifier: __esri.Magnifier;
|
|
186
189
|
/** An instance of a esri/Map object to display in the view. */
|
|
187
|
-
map: __esri.Map;
|
|
190
|
+
map: __esri.Map | nullish;
|
|
188
191
|
/**
|
|
189
192
|
* Indication whether the view is being navigated (for example when panning).
|
|
190
193
|
*
|
|
@@ -331,28 +334,28 @@ export declare class ArcgisMap extends LitElement {
|
|
|
331
334
|
set zoom(newValue: number);
|
|
332
335
|
/**
|
|
333
336
|
* @deprecated
|
|
334
|
-
* since 4.33
|
|
337
|
+
* since 4.33, use `element.map.add(layer)` instead.
|
|
335
338
|
*
|
|
336
339
|
* Adds a layer to the map layers collection.
|
|
337
340
|
*/
|
|
338
341
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
339
342
|
/**
|
|
340
343
|
* @deprecated
|
|
341
|
-
* since 4.33
|
|
344
|
+
* since 4.33, use `element.map.addMany([layer])` instead.
|
|
342
345
|
*
|
|
343
346
|
* Adds a layer or array of layers to the map layers collection.
|
|
344
347
|
*/
|
|
345
348
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
346
349
|
/**
|
|
347
350
|
* @deprecated
|
|
348
|
-
* since 4.33
|
|
351
|
+
* since 4.33, use `element.map.tables.add(table)` instead.
|
|
349
352
|
*
|
|
350
353
|
* Adds a table to the map tables collection.
|
|
351
354
|
*/
|
|
352
355
|
addTable(table: __esri.FeatureLayer): Promise<void>;
|
|
353
356
|
/**
|
|
354
357
|
* @deprecated
|
|
355
|
-
* since 4.33
|
|
358
|
+
* since 4.33, use `element.map.tables.addMany([table])` instead.
|
|
356
359
|
*
|
|
357
360
|
* Adds a table or array of tables to the map tables collection.
|
|
358
361
|
*/
|
|
@@ -379,8 +382,18 @@ export declare class ArcgisMap extends LitElement {
|
|
|
379
382
|
/** Gets the LayerView created on the view for the given layer. */
|
|
380
383
|
whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
|
|
381
384
|
/**
|
|
382
|
-
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
383
|
-
* This method takes two input parameters
|
|
385
|
+
* `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.
|
|
386
|
+
* This method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.
|
|
387
|
+
*
|
|
388
|
+
* @since 4.33
|
|
389
|
+
* @see [Watch for changes - waiting for components or views to be ready](https://developers.arcgis.com/javascript/latest/watch-for-changes/#waiting-for-components-or-views-to-be-ready)
|
|
390
|
+
* @example
|
|
391
|
+
* ```js
|
|
392
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
393
|
+
* await viewElement.viewOnReady();
|
|
394
|
+
* // The view is now ready to be used.
|
|
395
|
+
* viewElement.map.add(new FeatureLayer({...}));
|
|
396
|
+
* ```
|
|
384
397
|
*/
|
|
385
398
|
viewOnReady(callback?: () => void, errback?: (error: Error) => void): Promise<void>;
|
|
386
399
|
/**
|
|
@@ -8,8 +8,8 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
12
|
-
const
|
|
11
|
+
v4.34.0-next.30 */
|
|
12
|
+
const g = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -20,21 +20,21 @@ const d = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;w
|
|
|
20
20
|
* in an externalized package.
|
|
21
21
|
*/
|
|
22
22
|
{}
|
|
23
|
-
),
|
|
24
|
-
class
|
|
23
|
+
), u = r(o, {});
|
|
24
|
+
class y extends p {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(), this._map =
|
|
26
|
+
super(), this._map = d(this), this.view = u(this), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.view.ui = {
|
|
27
27
|
components: ["attribution"]
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
|
-
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, visibleArea: 0, zoom: 9 };
|
|
31
|
+
this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 4, viewpoint: 0, visibleArea: 0, zoom: 9 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
34
|
this.shadowRootOptions = c;
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.styles =
|
|
37
|
+
this.styles = g;
|
|
38
38
|
}
|
|
39
39
|
get center() {
|
|
40
40
|
return this.view.center;
|
|
@@ -49,6 +49,15 @@ class u extends p {
|
|
|
49
49
|
set extent(i) {
|
|
50
50
|
i && !this.extent?.equals(i) && (this.view.extent = i);
|
|
51
51
|
}
|
|
52
|
+
get focusAreas() {
|
|
53
|
+
return this.map ? this.map.focusAreas : {
|
|
54
|
+
areas: [],
|
|
55
|
+
style: "bright"
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
set focusAreas(i) {
|
|
59
|
+
this.map && (this.map.focusAreas = i);
|
|
60
|
+
}
|
|
52
61
|
get gamepad() {
|
|
53
62
|
return this.view.input.gamepad;
|
|
54
63
|
}
|
|
@@ -86,16 +95,16 @@ class u extends p {
|
|
|
86
95
|
this.view.zoom = i;
|
|
87
96
|
}
|
|
88
97
|
async addLayer(i, t) {
|
|
89
|
-
this.map
|
|
98
|
+
this.map?.add(i, t);
|
|
90
99
|
}
|
|
91
100
|
async addLayers(i, t) {
|
|
92
|
-
this.map
|
|
101
|
+
this.map?.addMany(i, t);
|
|
93
102
|
}
|
|
94
103
|
async addTable(i) {
|
|
95
|
-
this.map
|
|
104
|
+
this.map?.tables.add(i);
|
|
96
105
|
}
|
|
97
106
|
async addTables(i, t) {
|
|
98
|
-
this.map
|
|
107
|
+
this.map?.tables.addMany(i, t);
|
|
99
108
|
}
|
|
100
109
|
async closePopup() {
|
|
101
110
|
this.view.closePopup();
|
|
@@ -136,13 +145,15 @@ class u extends p {
|
|
|
136
145
|
}
|
|
137
146
|
loaded() {
|
|
138
147
|
this.map ||= this._map, this.manager.onLifecycle(() => [
|
|
139
|
-
s(() => this.map, () =>
|
|
148
|
+
s(() => this.map, (i) => {
|
|
149
|
+
i && (this._map = i);
|
|
150
|
+
}, { initial: !0, sync: !0 }),
|
|
140
151
|
s(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
|
|
141
152
|
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
|
|
142
153
|
]);
|
|
143
154
|
}
|
|
144
155
|
}
|
|
145
|
-
h("arcgis-map",
|
|
156
|
+
h("arcgis-map", y);
|
|
146
157
|
export {
|
|
147
|
-
|
|
158
|
+
y as ArcgisMap
|
|
148
159
|
};
|
|
@@ -83,6 +83,11 @@ export declare class ArcgisMeasurement extends LitElement {
|
|
|
83
83
|
linearUnit: __esri.SystemOrLengthUnit;
|
|
84
84
|
/** @default "bottom-left" */
|
|
85
85
|
position: __esri.UIPosition;
|
|
86
|
+
/**
|
|
87
|
+
* 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.
|
|
88
|
+
*
|
|
89
|
+
* @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)
|
|
90
|
+
*/
|
|
86
91
|
referenceElement?: ArcgisReferenceElement | string;
|
|
87
92
|
/**
|
|
88
93
|
* The ViewModel's state.
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
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.30 */
|
|
10
10
|
const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|