@arcgis/map-components 4.29.0-beta.7 → 4.29.0-beta.72
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/LICENSE.md +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.map +1 -0
- package/dist/arcgis-map-components/index.esm.js +2 -0
- package/dist/arcgis-map-components/index.esm.js.map +1 -0
- package/dist/arcgis-map-components/p-001bdcc9.entry.js +2 -0
- package/dist/arcgis-map-components/p-001bdcc9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-03d91445.entry.js +2 -0
- package/dist/arcgis-map-components/p-03d91445.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-05742a90.entry.js +2 -0
- package/dist/arcgis-map-components/p-05742a90.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-061ad510.entry.js +2 -0
- package/dist/arcgis-map-components/p-061ad510.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-0780b907.entry.js +2 -0
- package/dist/arcgis-map-components/p-0780b907.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-08e60b1d.entry.js +2 -0
- package/dist/arcgis-map-components/p-08e60b1d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-0c37d8a7.entry.js +2 -0
- package/dist/arcgis-map-components/p-0c37d8a7.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-0dedc4d2.entry.js +2 -0
- package/dist/arcgis-map-components/p-0dedc4d2.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-0e2bdde5.entry.js +2 -0
- package/dist/arcgis-map-components/p-0e2bdde5.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-137103ec.entry.js +2 -0
- package/dist/arcgis-map-components/p-137103ec.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-13be3f42.entry.js +2 -0
- package/dist/arcgis-map-components/p-13be3f42.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-143b6bbd.entry.js +2 -0
- package/dist/arcgis-map-components/p-143b6bbd.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1561977d.entry.js +2 -0
- package/dist/arcgis-map-components/p-1561977d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-165c4658.entry.js +2 -0
- package/dist/arcgis-map-components/p-165c4658.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1688ad49.entry.js +2 -0
- package/dist/arcgis-map-components/p-1688ad49.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1753d3d2.entry.js +2 -0
- package/dist/arcgis-map-components/p-1753d3d2.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1c1eb1ae.entry.js +2 -0
- package/dist/arcgis-map-components/p-1c1eb1ae.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-1e1e95d3.entry.js +2 -0
- package/dist/arcgis-map-components/p-1e1e95d3.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-224824b1.entry.js +2 -0
- package/dist/arcgis-map-components/p-224824b1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-24eb3355.entry.js +2 -0
- package/dist/arcgis-map-components/p-24eb3355.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-2513e252.entry.js +2 -0
- package/dist/arcgis-map-components/p-2513e252.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-2644c693.entry.js +2 -0
- package/dist/arcgis-map-components/p-2644c693.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-269e4018.entry.js +2 -0
- package/dist/arcgis-map-components/p-269e4018.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-26c8efa0.entry.js +2 -0
- package/dist/arcgis-map-components/p-26c8efa0.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-272ac305.entry.js +2 -0
- package/dist/arcgis-map-components/p-272ac305.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-27c595e3.entry.js +2 -0
- package/dist/arcgis-map-components/p-27c595e3.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-2b8dde05.entry.js +2 -0
- package/dist/arcgis-map-components/p-2b8dde05.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-2d6106fe.entry.js +2 -0
- package/dist/arcgis-map-components/p-2d6106fe.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-2f7311c6.entry.js +2 -0
- package/dist/arcgis-map-components/p-2f7311c6.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-2fc4cdcb.entry.js +2 -0
- package/dist/arcgis-map-components/p-2fc4cdcb.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-308de68b.entry.js +2 -0
- package/dist/arcgis-map-components/p-308de68b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-343f5803.entry.js +2 -0
- package/dist/arcgis-map-components/p-343f5803.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-34e517d7.entry.js +2 -0
- package/dist/arcgis-map-components/p-34e517d7.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-34e78eb3.entry.js +2 -0
- package/dist/arcgis-map-components/p-34e78eb3.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-37b0fd31.entry.js +2 -0
- package/dist/arcgis-map-components/p-37b0fd31.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-386d1ce1.entry.js +2 -0
- package/dist/arcgis-map-components/p-386d1ce1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3932a1f3.entry.js +2 -0
- package/dist/arcgis-map-components/p-3932a1f3.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3e8971dd.entry.js +2 -0
- package/dist/arcgis-map-components/p-3e8971dd.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3f28745b.entry.js +2 -0
- package/dist/arcgis-map-components/p-3f28745b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-3ff2b626.entry.js +2 -0
- package/dist/arcgis-map-components/p-3ff2b626.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4055fed1.entry.js +2 -0
- package/dist/arcgis-map-components/p-4055fed1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-426be2ef.entry.js +2 -0
- package/dist/arcgis-map-components/p-426be2ef.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-42f250a9.entry.js +2 -0
- package/dist/arcgis-map-components/p-42f250a9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-46fed3c4.entry.js +2 -0
- package/dist/arcgis-map-components/p-46fed3c4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4885d650.entry.js +2 -0
- package/dist/arcgis-map-components/p-4885d650.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-48b9a905.entry.js +2 -0
- package/dist/arcgis-map-components/p-48b9a905.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4a115abd.entry.js +2 -0
- package/dist/arcgis-map-components/p-4a115abd.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4af7e760.entry.js +2 -0
- package/dist/arcgis-map-components/p-4af7e760.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4c6dce4b.entry.js +2 -0
- package/dist/arcgis-map-components/p-4c6dce4b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-4d5979ea.entry.js +2 -0
- package/dist/arcgis-map-components/p-4d5979ea.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-5098a5d9.entry.js +2 -0
- package/dist/arcgis-map-components/p-5098a5d9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-5183adfb.entry.js +2 -0
- package/dist/arcgis-map-components/p-5183adfb.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-518d76f9.entry.js +2 -0
- package/dist/arcgis-map-components/p-518d76f9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-5268198b.entry.js +2 -0
- package/dist/arcgis-map-components/p-5268198b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-540f33c1.entry.js +2 -0
- package/dist/arcgis-map-components/p-540f33c1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-55014fec.entry.js +2 -0
- package/dist/arcgis-map-components/p-55014fec.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-557c9d64.entry.js +2 -0
- package/dist/arcgis-map-components/p-557c9d64.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-58544c5b.entry.js +2 -0
- package/dist/arcgis-map-components/p-58544c5b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-591e7b46.entry.js +2 -0
- package/dist/arcgis-map-components/p-591e7b46.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-5bfc118c.entry.js +2 -0
- package/dist/arcgis-map-components/p-5bfc118c.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-60a3aa5a.entry.js +2 -0
- package/dist/arcgis-map-components/p-60a3aa5a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-60b5fe3c.entry.js +2 -0
- package/dist/arcgis-map-components/p-60b5fe3c.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-62716f0f.entry.js +2 -0
- package/dist/arcgis-map-components/p-62716f0f.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-630f5870.entry.js +2 -0
- package/dist/arcgis-map-components/p-630f5870.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-66056cc4.entry.js +2 -0
- package/dist/arcgis-map-components/p-66056cc4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-669bffd2.entry.js +2 -0
- package/dist/arcgis-map-components/p-669bffd2.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-66bb84ae.entry.js +2 -0
- package/dist/arcgis-map-components/p-66bb84ae.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-698d9777.entry.js +2 -0
- package/dist/arcgis-map-components/p-698d9777.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-69da0de3.entry.js +2 -0
- package/dist/arcgis-map-components/p-69da0de3.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-6ba0245e.entry.js +2 -0
- package/dist/arcgis-map-components/p-6ba0245e.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-6eddf41d.js +2 -0
- package/dist/arcgis-map-components/p-6eddf41d.js.map +1 -0
- package/dist/arcgis-map-components/p-74c5b057.entry.js +2 -0
- package/dist/arcgis-map-components/p-74c5b057.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-7567ad29.entry.js +2 -0
- package/dist/arcgis-map-components/p-7567ad29.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-758f6c5a.js +2 -0
- package/dist/arcgis-map-components/p-758f6c5a.js.map +1 -0
- package/dist/arcgis-map-components/p-7614761b.entry.js +2 -0
- package/dist/arcgis-map-components/p-7614761b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-77c5c931.entry.js +2 -0
- package/dist/arcgis-map-components/p-77c5c931.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-7ac37e26.entry.js +2 -0
- package/dist/arcgis-map-components/p-7ac37e26.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-7b88c67c.entry.js +2 -0
- package/dist/arcgis-map-components/p-7b88c67c.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-7cb578f1.entry.js +2 -0
- package/dist/arcgis-map-components/p-7cb578f1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-7e1bbdc6.entry.js +2 -0
- package/dist/arcgis-map-components/p-7e1bbdc6.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-7e898828.entry.js +2 -0
- package/dist/arcgis-map-components/p-7e898828.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-7ef9da29.entry.js +2 -0
- package/dist/arcgis-map-components/p-7ef9da29.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-7f849ee5.js +2 -0
- package/dist/arcgis-map-components/p-7f849ee5.js.map +1 -0
- package/dist/arcgis-map-components/p-7fc50f12.entry.js +2 -0
- package/dist/arcgis-map-components/p-7fc50f12.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-82a12245.entry.js +2 -0
- package/dist/arcgis-map-components/p-82a12245.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8319cf1a.entry.js +2 -0
- package/dist/arcgis-map-components/p-8319cf1a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-83685046.entry.js +2 -0
- package/dist/arcgis-map-components/p-83685046.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-852d81d1.entry.js +2 -0
- package/dist/arcgis-map-components/p-852d81d1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-853e5058.entry.js +2 -0
- package/dist/arcgis-map-components/p-853e5058.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8896b456.js +3 -0
- package/dist/arcgis-map-components/p-8896b456.js.map +1 -0
- package/dist/arcgis-map-components/p-8965ef38.entry.js +2 -0
- package/dist/arcgis-map-components/p-8965ef38.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8bf4b85e.entry.js +2 -0
- package/dist/arcgis-map-components/p-8bf4b85e.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8c3fb263.entry.js +2 -0
- package/dist/arcgis-map-components/p-8c3fb263.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-8cd5e748.js +2 -0
- package/dist/arcgis-map-components/p-8cd5e748.js.map +1 -0
- package/dist/arcgis-map-components/p-8ebf6849.entry.js +2 -0
- package/dist/arcgis-map-components/p-8ebf6849.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-922c8429.entry.js +2 -0
- package/dist/arcgis-map-components/p-922c8429.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-92d452b1.entry.js +2 -0
- package/dist/arcgis-map-components/p-92d452b1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9386190b.entry.js +2 -0
- package/dist/arcgis-map-components/p-9386190b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-93d69b82.entry.js +2 -0
- package/dist/arcgis-map-components/p-93d69b82.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9564dff9.entry.js +2 -0
- package/dist/arcgis-map-components/p-9564dff9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-98576162.entry.js +2 -0
- package/dist/arcgis-map-components/p-98576162.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-990f0bed.entry.js +2 -0
- package/dist/arcgis-map-components/p-990f0bed.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-99437e5b.entry.js +2 -0
- package/dist/arcgis-map-components/p-99437e5b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-9c956ae1.entry.js +2 -0
- package/dist/arcgis-map-components/p-9c956ae1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a0642b39.entry.js +2 -0
- package/dist/arcgis-map-components/p-a0642b39.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a25ef588.entry.js +2 -0
- package/dist/arcgis-map-components/p-a25ef588.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-a4f29634.entry.js +2 -0
- package/dist/arcgis-map-components/p-a4f29634.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ae00ccbd.entry.js +2 -0
- package/dist/arcgis-map-components/p-ae00ccbd.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-af6b52cb.entry.js +2 -0
- package/dist/arcgis-map-components/p-af6b52cb.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-b0abd711.entry.js +2 -0
- package/dist/arcgis-map-components/p-b0abd711.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-b5127ca2.entry.js +2 -0
- package/dist/arcgis-map-components/p-b5127ca2.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-b5cd3df9.entry.js +2 -0
- package/dist/arcgis-map-components/p-b5cd3df9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-b711ec87.entry.js +2 -0
- package/dist/arcgis-map-components/p-b711ec87.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-b9043526.entry.js +2 -0
- package/dist/arcgis-map-components/p-b9043526.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-b97b5ab8.entry.js +2 -0
- package/dist/arcgis-map-components/p-b97b5ab8.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ba0290ba.entry.js +2 -0
- package/dist/arcgis-map-components/p-ba0290ba.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-bbe42bba.entry.js +2 -0
- package/dist/arcgis-map-components/p-bbe42bba.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-bc1bbb01.entry.js +2 -0
- package/dist/arcgis-map-components/p-bc1bbb01.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-bef2916b.entry.js +2 -0
- package/dist/arcgis-map-components/p-bef2916b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c0be22a4.entry.js +2 -0
- package/dist/arcgis-map-components/p-c0be22a4.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c17b9cae.entry.js +2 -0
- package/dist/arcgis-map-components/p-c17b9cae.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c2b55df9.entry.js +2 -0
- package/dist/arcgis-map-components/p-c2b55df9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c59b6265.entry.js +2 -0
- package/dist/arcgis-map-components/p-c59b6265.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-c74a83ee.entry.js +2 -0
- package/dist/arcgis-map-components/p-c74a83ee.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-cdcbe21b.entry.js +2 -0
- package/dist/arcgis-map-components/p-cdcbe21b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-cde9fb34.entry.js +2 -0
- package/dist/arcgis-map-components/p-cde9fb34.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d10bdb76.entry.js +2 -0
- package/dist/arcgis-map-components/p-d10bdb76.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d3050c56.entry.js +2 -0
- package/dist/arcgis-map-components/p-d3050c56.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d32a242e.entry.js +2 -0
- package/dist/arcgis-map-components/p-d32a242e.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d3e791dc.entry.js +2 -0
- package/dist/arcgis-map-components/p-d3e791dc.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d42639bc.entry.js +2 -0
- package/dist/arcgis-map-components/p-d42639bc.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d66f8092.entry.js +2 -0
- package/dist/arcgis-map-components/p-d66f8092.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d74f2d38.entry.js +2 -0
- package/dist/arcgis-map-components/p-d74f2d38.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d7f02d37.entry.js +2 -0
- package/dist/arcgis-map-components/p-d7f02d37.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-d9df4c38.js +2 -0
- package/dist/arcgis-map-components/p-d9df4c38.js.map +1 -0
- package/dist/arcgis-map-components/p-dc86d016.entry.js +2 -0
- package/dist/arcgis-map-components/p-dc86d016.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-dcab884b.entry.js +2 -0
- package/dist/arcgis-map-components/p-dcab884b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-dcfd06cd.entry.js +2 -0
- package/dist/arcgis-map-components/p-dcfd06cd.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ddeb17e1.entry.js +2 -0
- package/dist/arcgis-map-components/p-ddeb17e1.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-dfeb5b81.entry.js +2 -0
- package/dist/arcgis-map-components/p-dfeb5b81.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e01b278d.entry.js +2 -0
- package/dist/arcgis-map-components/p-e01b278d.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e14af886.entry.js +2 -0
- package/dist/arcgis-map-components/p-e14af886.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e2fc453b.entry.js +2 -0
- package/dist/arcgis-map-components/p-e2fc453b.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e3f82d1c.entry.js +2 -0
- package/dist/arcgis-map-components/p-e3f82d1c.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e43620a8.entry.js +2 -0
- package/dist/arcgis-map-components/p-e43620a8.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e54b334e.entry.js +2 -0
- package/dist/arcgis-map-components/p-e54b334e.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e5a9c736.entry.js +2 -0
- package/dist/arcgis-map-components/p-e5a9c736.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e6e6b893.entry.js +2 -0
- package/dist/arcgis-map-components/p-e6e6b893.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e7679e9c.entry.js +2 -0
- package/dist/arcgis-map-components/p-e7679e9c.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e77700c7.entry.js +2 -0
- package/dist/arcgis-map-components/p-e77700c7.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e7e5a1c9.entry.js +2 -0
- package/dist/arcgis-map-components/p-e7e5a1c9.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-e8f7bdbb.js +2 -0
- package/dist/arcgis-map-components/p-e8f7bdbb.js.map +1 -0
- package/dist/arcgis-map-components/p-e9b71422.entry.js +2 -0
- package/dist/arcgis-map-components/p-e9b71422.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ea5b718e.entry.js +2 -0
- package/dist/arcgis-map-components/p-ea5b718e.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-edf74e10.entry.js +2 -0
- package/dist/arcgis-map-components/p-edf74e10.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-f2cb3279.entry.js +2 -0
- package/dist/arcgis-map-components/p-f2cb3279.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-f41b7c4a.entry.js +2 -0
- package/dist/arcgis-map-components/p-f41b7c4a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-f4de2080.entry.js +2 -0
- package/dist/arcgis-map-components/p-f4de2080.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-fc5cdeeb.entry.js +2 -0
- package/dist/arcgis-map-components/p-fc5cdeeb.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-fc6faf9a.entry.js +2 -0
- package/dist/arcgis-map-components/p-fc6faf9a.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-fdcce70e.entry.js +2 -0
- package/dist/arcgis-map-components/p-fdcce70e.entry.js.map +1 -0
- package/dist/arcgis-map-components/p-ffd6ee1c.entry.js +2 -0
- package/dist/arcgis-map-components/p-ffd6ee1c.entry.js.map +1 -0
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +89 -85
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +82 -78
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-attachments.cjs.entry.js +94 -60
- package/dist/cjs/arcgis-attachments.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +887 -0
- package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +163 -134
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +105 -99
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +126 -118
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +90 -65
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-compass.cjs.entry.js +73 -77
- package/dist/cjs/arcgis-compass.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +178 -148
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-daylight.cjs.entry.js +99 -96
- package/dist/cjs/arcgis-daylight.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-directions.cjs.entry.js +206 -184
- package/dist/cjs/arcgis-directions.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +92 -96
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +84 -88
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-editor.cjs.entry.js +176 -170
- package/dist/cjs/arcgis-editor.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +125 -112
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +139 -26
- package/dist/cjs/arcgis-feature-form.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +326 -297
- package/dist/cjs/arcgis-feature-table.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +124 -60
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-feature.cjs.entry.js +118 -88
- package/dist/cjs/arcgis-feature.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-features.cjs.entry.js +150 -123
- package/dist/cjs/arcgis-features.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +108 -112
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +73 -77
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +198 -70
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-histogram.cjs.entry.js +138 -26
- package/dist/cjs/arcgis-histogram.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-home.cjs.entry.js +99 -93
- package/dist/cjs/arcgis-home.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +143 -118
- package/dist/cjs/arcgis-layer-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-legend.cjs.entry.js +132 -136
- package/dist/cjs/arcgis-legend.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +76 -80
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-locate.cjs.entry.js +143 -148
- package/dist/cjs/arcgis-locate.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-map-components.cjs.js +5 -3
- package/dist/cjs/arcgis-map-components.cjs.js.map +1 -0
- package/dist/cjs/arcgis-map.cjs.entry.js +543 -0
- package/dist/cjs/arcgis-map.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-measurement.cjs.entry.js +111 -106
- package/dist/cjs/arcgis-measurement.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +79 -83
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-placement.cjs.entry.js +52 -0
- package/dist/cjs/arcgis-placement.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-print.cjs.entry.js +167 -153
- package/dist/cjs/arcgis-print.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +84 -88
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +142 -136
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-search.cjs.entry.js +320 -0
- package/dist/cjs/arcgis-search.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +77 -80
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-sketch.cjs.entry.js +197 -191
- package/dist/cjs/arcgis-sketch.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-slice.cjs.entry.js +75 -88
- package/dist/cjs/arcgis-slice.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-slider.cjs.entry.js +221 -223
- package/dist/cjs/arcgis-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-swipe.cjs.entry.js +102 -99
- package/dist/cjs/arcgis-swipe.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-table-list.cjs.entry.js +122 -102
- package/dist/cjs/arcgis-table-list.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +212 -206
- package/dist/cjs/arcgis-time-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-track.cjs.entry.js +120 -124
- package/dist/cjs/arcgis-track.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +209 -210
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +172 -152
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +80 -91
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +167 -150
- package/dist/cjs/arcgis-value-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-weather.cjs.entry.js +78 -72
- package/dist/cjs/arcgis-weather.cjs.entry.js.map +1 -0
- package/dist/cjs/arcgis-zoom.cjs.entry.js +85 -86
- package/dist/cjs/arcgis-zoom.cjs.entry.js.map +1 -0
- package/dist/cjs/component-utils-48cee518.js +163 -0
- package/dist/cjs/component-utils-48cee518.js.map +1 -0
- package/dist/cjs/component-utils-fe0f22b0.js +163 -0
- package/dist/cjs/component-utils-fe0f22b0.js.map +1 -0
- package/dist/cjs/disconnected-4490368b.js +40 -0
- package/dist/cjs/disconnected-4490368b.js.map +1 -0
- package/dist/cjs/{index-bfda1cdc.js → index-048e90f4.js} +2 -8
- package/dist/cjs/index-048e90f4.js.map +1 -0
- package/dist/cjs/index-09a0e90f.js +735 -0
- package/dist/cjs/index-09a0e90f.js.map +1 -0
- package/dist/cjs/index-fbce570d.js +2351 -0
- package/dist/cjs/index-fbce570d.js.map +1 -0
- package/dist/cjs/index-ff8abea4.js +735 -0
- package/dist/cjs/index-ff8abea4.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -12
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/components/arcgis-area-measurement-2d.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-2d.js +119 -109
- package/dist/components/arcgis-area-measurement-2d.js.map +1 -0
- package/dist/components/arcgis-area-measurement-3d.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-3d.js +113 -103
- package/dist/components/arcgis-area-measurement-3d.js.map +1 -0
- package/dist/components/arcgis-attachments.d.ts +2 -2
- package/dist/components/arcgis-attachments.js +127 -84
- package/dist/components/arcgis-attachments.js.map +1 -0
- package/dist/components/arcgis-basemap-gallery.d.ts +2 -2
- package/dist/components/arcgis-basemap-gallery.js +117 -108
- package/dist/components/arcgis-basemap-gallery.js.map +1 -0
- package/dist/components/arcgis-basemap-layer-list.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list.js +207 -163
- package/dist/components/arcgis-basemap-layer-list.js.map +1 -0
- package/dist/components/arcgis-basemap-toggle.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle.js +139 -125
- package/dist/components/arcgis-basemap-toggle.js.map +1 -0
- package/dist/components/arcgis-bookmarks.d.ts +2 -2
- package/dist/components/arcgis-bookmarks.js +176 -157
- package/dist/components/arcgis-bookmarks.js.map +1 -0
- package/dist/components/arcgis-building-explorer.d.ts +2 -2
- package/dist/components/arcgis-building-explorer.js +122 -88
- package/dist/components/arcgis-building-explorer.js.map +1 -0
- package/dist/components/arcgis-compass.d.ts +2 -2
- package/dist/components/arcgis-compass.js +95 -94
- package/dist/components/arcgis-compass.js.map +1 -0
- package/dist/components/arcgis-coordinate-conversion.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion.js +226 -181
- package/dist/components/arcgis-coordinate-conversion.js.map +1 -0
- package/dist/components/arcgis-daylight.d.ts +2 -2
- package/dist/components/arcgis-daylight.js +135 -122
- package/dist/components/arcgis-daylight.js.map +1 -0
- package/dist/components/arcgis-directions.d.ts +2 -2
- package/dist/components/arcgis-directions.js +254 -218
- package/dist/components/arcgis-directions.js.map +1 -0
- package/dist/components/arcgis-directline-measurement-3d.d.ts +2 -2
- package/dist/components/arcgis-directline-measurement-3d.js +125 -122
- package/dist/components/arcgis-directline-measurement-3d.js.map +1 -0
- package/dist/components/arcgis-distance-measurement-2d.d.ts +2 -2
- package/dist/components/arcgis-distance-measurement-2d.js +116 -113
- package/dist/components/arcgis-distance-measurement-2d.js.map +1 -0
- package/dist/components/arcgis-editor.d.ts +2 -2
- package/dist/components/arcgis-editor.js +226 -207
- package/dist/components/arcgis-editor.js.map +1 -0
- package/dist/components/arcgis-elevation-profile.d.ts +2 -2
- package/dist/components/arcgis-elevation-profile.js +179 -154
- package/dist/components/arcgis-elevation-profile.js.map +1 -0
- package/dist/components/arcgis-expand.d.ts +2 -2
- package/dist/components/arcgis-expand.js +3 -1
- package/dist/components/arcgis-expand.js.map +1 -0
- package/dist/components/arcgis-feature-form.d.ts +2 -2
- package/dist/components/arcgis-feature-form.js +180 -44
- package/dist/components/arcgis-feature-form.js.map +1 -0
- package/dist/components/arcgis-feature-table.d.ts +2 -2
- package/dist/components/arcgis-feature-table.js +398 -343
- package/dist/components/arcgis-feature-table.js.map +1 -0
- package/dist/components/arcgis-feature-templates.d.ts +2 -2
- package/dist/components/arcgis-feature-templates.js +162 -83
- package/dist/components/arcgis-feature-templates.js.map +1 -0
- package/dist/components/arcgis-feature.d.ts +2 -2
- package/dist/components/arcgis-feature.js +165 -121
- package/dist/components/arcgis-feature.js.map +1 -0
- package/dist/components/arcgis-features.d.ts +2 -2
- package/dist/components/arcgis-features.js +195 -157
- package/dist/components/arcgis-features.js.map +1 -0
- package/dist/components/arcgis-floor-filter.d.ts +2 -2
- package/dist/components/arcgis-floor-filter.js +145 -140
- package/dist/components/arcgis-floor-filter.js.map +1 -0
- package/dist/components/arcgis-fullscreen.d.ts +2 -2
- package/dist/components/arcgis-fullscreen.js +96 -94
- package/dist/components/arcgis-fullscreen.js.map +1 -0
- package/dist/components/arcgis-histogram-range-slider.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider.js +252 -94
- package/dist/components/arcgis-histogram-range-slider.js.map +1 -0
- package/dist/components/arcgis-histogram.d.ts +2 -2
- package/dist/components/arcgis-histogram.js +182 -44
- package/dist/components/arcgis-histogram.js.map +1 -0
- package/dist/components/arcgis-home.d.ts +2 -2
- package/dist/components/arcgis-home.js +126 -112
- package/dist/components/arcgis-home.js.map +1 -0
- package/dist/components/arcgis-layer-list.d.ts +2 -2
- package/dist/components/arcgis-layer-list.js +183 -146
- package/dist/components/arcgis-layer-list.js.map +1 -0
- package/dist/components/arcgis-legend.d.ts +2 -2
- package/dist/components/arcgis-legend.js +172 -165
- package/dist/components/arcgis-legend.js.map +1 -0
- package/dist/components/arcgis-line-of-sight.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight.js +105 -104
- package/dist/components/arcgis-line-of-sight.js.map +1 -0
- package/dist/components/arcgis-locate.d.ts +2 -2
- package/dist/components/arcgis-locate.js +178 -172
- package/dist/components/arcgis-locate.js.map +1 -0
- package/dist/components/arcgis-map.d.ts +2 -2
- package/dist/components/arcgis-map.js +616 -178
- package/dist/components/arcgis-map.js.map +1 -0
- package/dist/components/arcgis-measurement.d.ts +2 -2
- package/dist/components/arcgis-measurement.js +146 -133
- package/dist/components/arcgis-measurement.js.map +1 -0
- package/dist/components/arcgis-navigation-toggle.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle.js +102 -100
- package/dist/components/arcgis-navigation-toggle.js.map +1 -0
- package/dist/components/arcgis-placement.d.ts +11 -0
- package/dist/components/arcgis-placement.js +73 -0
- package/dist/components/arcgis-placement.js.map +1 -0
- package/dist/components/arcgis-print.d.ts +2 -2
- package/dist/components/arcgis-print.js +211 -184
- package/dist/components/arcgis-print.js.map +1 -0
- package/dist/components/arcgis-scale-bar.d.ts +2 -2
- package/dist/components/arcgis-scale-bar.js +115 -112
- package/dist/components/arcgis-scale-bar.js.map +1 -0
- package/dist/components/arcgis-scale-range-slider.d.ts +2 -2
- package/dist/components/arcgis-scale-range-slider.js +183 -164
- package/dist/components/arcgis-scale-range-slider.js.map +1 -0
- package/dist/components/arcgis-scene.d.ts +2 -2
- package/dist/components/arcgis-scene.js +674 -160
- package/dist/components/arcgis-scene.js.map +1 -0
- package/dist/components/arcgis-search.d.ts +2 -2
- package/dist/components/arcgis-search.js +383 -317
- package/dist/components/arcgis-search.js.map +1 -0
- package/dist/components/arcgis-shadow-cast.d.ts +2 -2
- package/dist/components/arcgis-shadow-cast.js +106 -103
- package/dist/components/arcgis-shadow-cast.js.map +1 -0
- package/dist/components/arcgis-sketch.d.ts +2 -2
- package/dist/components/arcgis-sketch.js +247 -225
- package/dist/components/arcgis-sketch.js.map +1 -0
- package/dist/components/arcgis-slice.d.ts +2 -2
- package/dist/components/arcgis-slice.js +103 -112
- package/dist/components/arcgis-slice.js.map +1 -0
- package/dist/components/arcgis-slider.d.ts +2 -2
- package/dist/components/arcgis-slider.js +262 -248
- package/dist/components/arcgis-slider.js.map +1 -0
- package/dist/components/arcgis-swipe.d.ts +2 -2
- package/dist/components/arcgis-swipe.js +132 -119
- package/dist/components/arcgis-swipe.js.map +1 -0
- package/dist/components/arcgis-table-list.d.ts +2 -2
- package/dist/components/arcgis-table-list.js +159 -128
- package/dist/components/arcgis-table-list.js.map +1 -0
- package/dist/components/arcgis-time-slider.d.ts +2 -2
- package/dist/components/arcgis-time-slider.js +242 -219
- package/dist/components/arcgis-time-slider.js.map +1 -0
- package/dist/components/arcgis-track.d.ts +2 -2
- package/dist/components/arcgis-track.js +164 -158
- package/dist/components/arcgis-track.js.map +1 -0
- package/dist/components/arcgis-utility-network-associations.d.ts +2 -2
- package/dist/components/arcgis-utility-network-associations.js +242 -223
- package/dist/components/arcgis-utility-network-associations.js.map +1 -0
- package/dist/components/arcgis-utility-network-trace.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace.js +217 -184
- package/dist/components/arcgis-utility-network-trace.js.map +1 -0
- package/dist/components/arcgis-utility-network-validate-topology.d.ts +2 -2
- package/dist/components/arcgis-utility-network-validate-topology.js +111 -115
- package/dist/components/arcgis-utility-network-validate-topology.js.map +1 -0
- package/dist/components/arcgis-value-picker.d.ts +2 -2
- package/dist/components/arcgis-value-picker.js +212 -185
- package/dist/components/arcgis-value-picker.js.map +1 -0
- package/dist/components/arcgis-weather.d.ts +2 -2
- package/dist/components/arcgis-weather.js +107 -94
- package/dist/components/arcgis-weather.js.map +1 -0
- package/dist/components/arcgis-zoom.d.ts +2 -2
- package/dist/components/arcgis-zoom.js +109 -104
- package/dist/components/arcgis-zoom.js.map +1 -0
- package/dist/components/component-utils.js +153 -0
- package/dist/components/component-utils.js.map +1 -0
- package/dist/components/disconnected.js +33 -117
- package/dist/components/disconnected.js.map +1 -0
- package/dist/components/expand.js +259 -0
- package/dist/components/expand.js.map +1 -0
- package/dist/components/index.d.ts +5 -55
- package/dist/components/index.js +3 -54
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +3 -8
- package/dist/components/index2.js.map +1 -0
- package/dist/esm/arcgis-area-measurement-2d.entry.js +89 -85
- package/dist/esm/arcgis-area-measurement-2d.entry.js.map +1 -0
- package/dist/esm/arcgis-area-measurement-3d.entry.js +82 -78
- package/dist/esm/arcgis-area-measurement-3d.entry.js.map +1 -0
- package/dist/esm/arcgis-attachments.entry.js +94 -60
- package/dist/esm/arcgis-attachments.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-gallery_3.entry.js +881 -0
- package/dist/esm/arcgis-basemap-gallery_3.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-layer-list.entry.js +163 -134
- package/dist/esm/arcgis-basemap-layer-list.entry.js.map +1 -0
- package/dist/esm/arcgis-basemap-toggle.entry.js +105 -99
- package/dist/esm/arcgis-basemap-toggle.entry.js.map +1 -0
- package/dist/esm/arcgis-bookmarks.entry.js +126 -118
- package/dist/esm/arcgis-bookmarks.entry.js.map +1 -0
- package/dist/esm/arcgis-building-explorer.entry.js +90 -65
- package/dist/esm/arcgis-building-explorer.entry.js.map +1 -0
- package/dist/esm/arcgis-compass.entry.js +73 -77
- package/dist/esm/arcgis-compass.entry.js.map +1 -0
- package/dist/esm/arcgis-coordinate-conversion.entry.js +178 -148
- package/dist/esm/arcgis-coordinate-conversion.entry.js.map +1 -0
- package/dist/esm/arcgis-daylight.entry.js +99 -96
- package/dist/esm/arcgis-daylight.entry.js.map +1 -0
- package/dist/esm/arcgis-directions.entry.js +206 -184
- package/dist/esm/arcgis-directions.entry.js.map +1 -0
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +92 -96
- package/dist/esm/arcgis-directline-measurement-3d.entry.js.map +1 -0
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +84 -88
- package/dist/esm/arcgis-distance-measurement-2d.entry.js.map +1 -0
- package/dist/esm/arcgis-editor.entry.js +176 -170
- package/dist/esm/arcgis-editor.entry.js.map +1 -0
- package/dist/esm/arcgis-elevation-profile.entry.js +125 -112
- package/dist/esm/arcgis-elevation-profile.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-form.entry.js +139 -26
- package/dist/esm/arcgis-feature-form.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-table.entry.js +326 -297
- package/dist/esm/arcgis-feature-table.entry.js.map +1 -0
- package/dist/esm/arcgis-feature-templates.entry.js +124 -60
- package/dist/esm/arcgis-feature-templates.entry.js.map +1 -0
- package/dist/esm/arcgis-feature.entry.js +118 -88
- package/dist/esm/arcgis-feature.entry.js.map +1 -0
- package/dist/esm/arcgis-features.entry.js +150 -123
- package/dist/esm/arcgis-features.entry.js.map +1 -0
- package/dist/esm/arcgis-floor-filter.entry.js +108 -112
- package/dist/esm/arcgis-floor-filter.entry.js.map +1 -0
- package/dist/esm/arcgis-fullscreen.entry.js +73 -77
- package/dist/esm/arcgis-fullscreen.entry.js.map +1 -0
- package/dist/esm/arcgis-histogram-range-slider.entry.js +198 -70
- package/dist/esm/arcgis-histogram-range-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-histogram.entry.js +138 -26
- package/dist/esm/arcgis-histogram.entry.js.map +1 -0
- package/dist/esm/arcgis-home.entry.js +99 -93
- package/dist/esm/arcgis-home.entry.js.map +1 -0
- package/dist/esm/arcgis-layer-list.entry.js +143 -118
- package/dist/esm/arcgis-layer-list.entry.js.map +1 -0
- package/dist/esm/arcgis-legend.entry.js +132 -136
- package/dist/esm/arcgis-legend.entry.js.map +1 -0
- package/dist/esm/arcgis-line-of-sight.entry.js +76 -80
- package/dist/esm/arcgis-line-of-sight.entry.js.map +1 -0
- package/dist/esm/arcgis-locate.entry.js +143 -148
- package/dist/esm/arcgis-locate.entry.js.map +1 -0
- package/dist/esm/arcgis-map-components.js +6 -4
- package/dist/esm/arcgis-map-components.js.map +1 -0
- package/dist/esm/arcgis-map.entry.js +539 -0
- package/dist/esm/arcgis-map.entry.js.map +1 -0
- package/dist/esm/arcgis-measurement.entry.js +111 -106
- package/dist/esm/arcgis-measurement.entry.js.map +1 -0
- package/dist/esm/arcgis-navigation-toggle.entry.js +79 -83
- package/dist/esm/arcgis-navigation-toggle.entry.js.map +1 -0
- package/dist/esm/arcgis-placement.entry.js +48 -0
- package/dist/esm/arcgis-placement.entry.js.map +1 -0
- package/dist/esm/arcgis-print.entry.js +167 -153
- package/dist/esm/arcgis-print.entry.js.map +1 -0
- package/dist/esm/arcgis-scale-bar.entry.js +84 -88
- package/dist/esm/arcgis-scale-bar.entry.js.map +1 -0
- package/dist/esm/arcgis-scale-range-slider.entry.js +142 -136
- package/dist/esm/arcgis-scale-range-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-search.entry.js +316 -0
- package/dist/esm/arcgis-search.entry.js.map +1 -0
- package/dist/esm/arcgis-shadow-cast.entry.js +77 -80
- package/dist/esm/arcgis-shadow-cast.entry.js.map +1 -0
- package/dist/esm/arcgis-sketch.entry.js +197 -191
- package/dist/esm/arcgis-sketch.entry.js.map +1 -0
- package/dist/esm/arcgis-slice.entry.js +75 -88
- package/dist/esm/arcgis-slice.entry.js.map +1 -0
- package/dist/esm/arcgis-slider.entry.js +221 -223
- package/dist/esm/arcgis-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-swipe.entry.js +102 -99
- package/dist/esm/arcgis-swipe.entry.js.map +1 -0
- package/dist/esm/arcgis-table-list.entry.js +122 -102
- package/dist/esm/arcgis-table-list.entry.js.map +1 -0
- package/dist/esm/arcgis-time-slider.entry.js +212 -206
- package/dist/esm/arcgis-time-slider.entry.js.map +1 -0
- package/dist/esm/arcgis-track.entry.js +120 -124
- package/dist/esm/arcgis-track.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-associations.entry.js +209 -210
- package/dist/esm/arcgis-utility-network-associations.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-trace.entry.js +172 -152
- package/dist/esm/arcgis-utility-network-trace.entry.js.map +1 -0
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +80 -91
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js.map +1 -0
- package/dist/esm/arcgis-value-picker.entry.js +167 -150
- package/dist/esm/arcgis-value-picker.entry.js.map +1 -0
- package/dist/esm/arcgis-weather.entry.js +78 -72
- package/dist/esm/arcgis-weather.entry.js.map +1 -0
- package/dist/esm/arcgis-zoom.entry.js +85 -86
- package/dist/esm/arcgis-zoom.entry.js.map +1 -0
- package/dist/esm/component-utils-211670cd.js +153 -0
- package/dist/esm/component-utils-211670cd.js.map +1 -0
- package/dist/esm/component-utils-7b24aa02.js +153 -0
- package/dist/esm/component-utils-7b24aa02.js.map +1 -0
- package/dist/esm/disconnected-a94f2aea.js +38 -0
- package/dist/esm/disconnected-a94f2aea.js.map +1 -0
- package/dist/esm/{index-334b0bde.js → index-344075c3.js} +3 -8
- package/dist/esm/index-344075c3.js.map +1 -0
- package/dist/esm/index-41244c71.js +655 -0
- package/dist/esm/index-41244c71.js.map +1 -0
- package/dist/{cjs/index-6b51d5a0.js → esm/index-525856d7.js} +1025 -313
- package/dist/esm/index-525856d7.js.map +1 -0
- package/dist/esm/index-75c44cd3.js +655 -0
- package/dist/esm/index-75c44cd3.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +6 -13
- package/dist/esm/loader.js.map +1 -0
- package/dist/loader/index.d.ts +2 -2
- package/dist/types/components/area-measurement-2d/area-measurement-2d.d.ts +31 -0
- package/dist/types/components/area-measurement-3d/area-measurement-3d.d.ts +30 -0
- package/dist/types/components/attachments/attachments.d.ts +33 -0
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +31 -0
- package/dist/types/components/basemap-layer-list/basemap-layer-list.d.ts +44 -0
- package/dist/types/components/basemap-toggle/basemap-toggle.d.ts +34 -0
- package/dist/types/components/bookmarks/bookmarks.d.ts +41 -0
- package/dist/types/components/building-explorer/building-explorer.d.ts +31 -0
- package/dist/types/components/compass/compass.d.ts +25 -0
- package/dist/types/components/coordinate-conversion/coordinate-conversion.d.ts +48 -0
- package/dist/types/components/daylight/daylight.d.ts +35 -0
- package/dist/types/components/directions/directions.d.ts +50 -0
- package/dist/types/components/directline-measurement-3d/directline-measurement-3d.d.ts +33 -0
- package/dist/types/components/distance-measurement-2d/distance-measurement-2d.d.ts +31 -0
- package/dist/types/components/editor/editor.d.ts +50 -0
- package/dist/types/components/elevation-profile/elevation-profile.d.ts +40 -0
- package/dist/types/components/expand/expand.d.ts +48 -0
- package/dist/types/components/feature/feature.d.ts +38 -0
- package/dist/types/components/feature-form/feature-form.d.ts +42 -0
- package/dist/types/components/feature-table/feature-table.d.ts +78 -0
- package/dist/types/components/feature-templates/feature-templates.d.ts +38 -0
- package/dist/types/components/features/features.d.ts +46 -0
- package/dist/types/components/floor-filter/floor-filter.d.ts +36 -0
- package/dist/types/components/fullscreen/fullscreen.d.ts +26 -0
- package/dist/types/components/histogram/histogram.d.ts +41 -0
- package/dist/types/components/histogram-range-slider/histogram-range-slider.d.ts +52 -0
- package/dist/types/components/home/home.d.ts +32 -0
- package/dist/types/components/layer-list/layer-list.d.ts +42 -0
- package/dist/types/components/legend/legend.d.ts +39 -0
- package/dist/types/components/line-of-sight/line-of-sight.d.ts +29 -0
- package/dist/types/components/locate/locate.d.ts +41 -0
- package/dist/types/components/map/map.d.ts +115 -0
- package/dist/types/components/measurement/measurement.d.ts +36 -0
- package/dist/types/components/navigation-toggle/navigation-toggle.d.ts +27 -0
- package/dist/types/components/placement/placement.d.ts +18 -0
- package/dist/types/components/print/print.d.ts +48 -0
- package/dist/types/components/scale-bar/scale-bar.d.ts +31 -0
- package/dist/types/components/scale-range-slider/scale-range-slider.d.ts +43 -0
- package/dist/types/components/scene/scene.d.ts +125 -0
- package/dist/types/components/search/search.d.ts +83 -0
- package/dist/types/components/shadow-cast/shadow-cast.d.ts +29 -0
- package/dist/types/components/sketch/sketch.d.ts +56 -0
- package/dist/types/components/slice/slice.d.ts +29 -0
- package/dist/types/components/slider/slider.d.ts +72 -0
- package/dist/types/components/swipe/swipe.d.ts +34 -0
- package/dist/types/components/table-list/table-list.d.ts +40 -0
- package/dist/types/components/time-slider/time-slider.d.ts +57 -0
- package/dist/types/components/track/track.d.ts +39 -0
- package/dist/types/components/utility-network-associations/utility-network-associations.d.ts +55 -0
- package/dist/types/components/utility-network-trace/utility-network-trace.d.ts +49 -0
- package/dist/types/components/utility-network-validate-topology/utility-network-validate-topology.d.ts +31 -0
- package/dist/types/components/value-picker/value-picker.d.ts +51 -0
- package/dist/types/components/weather/weather.d.ts +29 -0
- package/dist/types/components/zoom/zoom.d.ts +28 -0
- package/dist/types/components.d.ts +1213 -87
- package/dist/types/stencil-public-runtime.d.ts +61 -17
- package/dist/types/utils/SubWidget.d.ts +22 -0
- package/dist/types/utils/Widget.d.ts +38 -0
- package/dist/types/utils/component-utils.d.ts +28 -18
- package/dist/types/utils/disconnected.d.ts +1 -1
- package/dist/types/utils/expandable.d.ts +5 -4
- package/dist/types/utils/globalCss.d.ts +43 -0
- package/dist/types/utils/legacyIcon.d.ts +100 -0
- package/dist/types/utils/mapping-utils.d.ts +1 -1
- package/dist/types/utils/types.d.ts +3 -0
- package/package.json +22 -24
- package/dist/arcgis-map-components/p-037a3bb6.entry.js +0 -1
- package/dist/arcgis-map-components/p-064bf907.entry.js +0 -1
- package/dist/arcgis-map-components/p-08015460.entry.js +0 -1
- package/dist/arcgis-map-components/p-0d492ad6.entry.js +0 -1
- package/dist/arcgis-map-components/p-0ee8ea5a.entry.js +0 -1
- package/dist/arcgis-map-components/p-11168df4.entry.js +0 -1
- package/dist/arcgis-map-components/p-1680f044.entry.js +0 -1
- package/dist/arcgis-map-components/p-1a6dcf6a.entry.js +0 -1
- package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
- package/dist/arcgis-map-components/p-29c81862.entry.js +0 -1
- package/dist/arcgis-map-components/p-2d3406f7.js +0 -1
- package/dist/arcgis-map-components/p-347dba98.entry.js +0 -1
- package/dist/arcgis-map-components/p-3673ae6e.entry.js +0 -1
- package/dist/arcgis-map-components/p-367c6986.entry.js +0 -1
- package/dist/arcgis-map-components/p-3b2623c6.entry.js +0 -1
- package/dist/arcgis-map-components/p-4722bbad.entry.js +0 -1
- package/dist/arcgis-map-components/p-48c89578.entry.js +0 -1
- package/dist/arcgis-map-components/p-5299aa69.entry.js +0 -1
- package/dist/arcgis-map-components/p-52c3388d.entry.js +0 -1
- package/dist/arcgis-map-components/p-5d2f53bd.entry.js +0 -1
- package/dist/arcgis-map-components/p-615399dd.entry.js +0 -1
- package/dist/arcgis-map-components/p-658a2499.entry.js +0 -1
- package/dist/arcgis-map-components/p-7031c422.entry.js +0 -1
- package/dist/arcgis-map-components/p-7084f84f.entry.js +0 -1
- package/dist/arcgis-map-components/p-74b7f2c3.entry.js +0 -1
- package/dist/arcgis-map-components/p-86a82586.entry.js +0 -1
- package/dist/arcgis-map-components/p-8a60074a.entry.js +0 -1
- package/dist/arcgis-map-components/p-8b4cf5da.entry.js +0 -1
- package/dist/arcgis-map-components/p-922bbfed.entry.js +0 -1
- package/dist/arcgis-map-components/p-932be58c.entry.js +0 -1
- package/dist/arcgis-map-components/p-99d486cb.entry.js +0 -1
- package/dist/arcgis-map-components/p-9fdd4596.entry.js +0 -1
- package/dist/arcgis-map-components/p-a0f092fc.entry.js +0 -1
- package/dist/arcgis-map-components/p-a1e2e59f.entry.js +0 -1
- package/dist/arcgis-map-components/p-a249c2fa.entry.js +0 -1
- package/dist/arcgis-map-components/p-a508d7c6.entry.js +0 -1
- package/dist/arcgis-map-components/p-a89102b6.entry.js +0 -1
- package/dist/arcgis-map-components/p-ac7e9294.entry.js +0 -1
- package/dist/arcgis-map-components/p-adcfd40d.entry.js +0 -1
- package/dist/arcgis-map-components/p-ae96d72a.entry.js +0 -1
- package/dist/arcgis-map-components/p-b026950f.entry.js +0 -1
- package/dist/arcgis-map-components/p-b5904340.entry.js +0 -1
- package/dist/arcgis-map-components/p-b813c9e6.js +0 -1
- package/dist/arcgis-map-components/p-c57f270d.entry.js +0 -1
- package/dist/arcgis-map-components/p-c63d9e91.entry.js +0 -1
- package/dist/arcgis-map-components/p-c8516f87.entry.js +0 -1
- package/dist/arcgis-map-components/p-d3f3affa.entry.js +0 -1
- package/dist/arcgis-map-components/p-d5ac71b2.entry.js +0 -1
- package/dist/arcgis-map-components/p-dcf3861b.entry.js +0 -1
- package/dist/arcgis-map-components/p-e1201530.entry.js +0 -1
- package/dist/arcgis-map-components/p-eb95717e.entry.js +0 -1
- package/dist/arcgis-map-components/p-ee1086de.entry.js +0 -1
- package/dist/arcgis-map-components/p-f28d6d27.js +0 -1
- package/dist/arcgis-map-components/p-f8353590.entry.js +0 -1
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +0 -97
- package/dist/cjs/arcgis-expand_4.cjs.entry.js +0 -693
- package/dist/cjs/component-utils-cbd20e88.js +0 -77
- package/dist/cjs/disconnected-306cb220.js +0 -55
- package/dist/components/arcgis-expand2.js +0 -107
- package/dist/components/mapping-utils.js +0 -38
- package/dist/esm/arcgis-basemap-gallery.entry.js +0 -93
- package/dist/esm/arcgis-expand_4.entry.js +0 -686
- package/dist/esm/component-utils-2ebdae59.js +0 -73
- package/dist/esm/disconnected-bc5fc8bc.js +0 -52
- package/dist/esm/index-eb3ead33.js +0 -1583
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/types/components/arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts +0 -29
- package/dist/types/components/arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts +0 -28
- package/dist/types/components/arcgis-attachments/arcgis-attachments.d.ts +0 -24
- package/dist/types/components/arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts +0 -29
- package/dist/types/components/arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts +0 -37
- package/dist/types/components/arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts +0 -31
- package/dist/types/components/arcgis-bookmarks/arcgis-bookmarks.d.ts +0 -38
- package/dist/types/components/arcgis-building-explorer/arcgis-building-explorer.d.ts +0 -25
- package/dist/types/components/arcgis-compass/arcgis-compass.d.ts +0 -24
- package/dist/types/components/arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts +0 -45
- package/dist/types/components/arcgis-daylight/arcgis-daylight.d.ts +0 -32
- package/dist/types/components/arcgis-directions/arcgis-directions.d.ts +0 -46
- package/dist/types/components/arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts +0 -32
- package/dist/types/components/arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts +0 -30
- package/dist/types/components/arcgis-editor/arcgis-editor.d.ts +0 -47
- package/dist/types/components/arcgis-elevation-profile/arcgis-elevation-profile.d.ts +0 -36
- package/dist/types/components/arcgis-expand/arcgis-expand.d.ts +0 -23
- package/dist/types/components/arcgis-feature/arcgis-feature.d.ts +0 -30
- package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +0 -18
- package/dist/types/components/arcgis-feature-table/arcgis-feature-table.d.ts +0 -71
- package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +0 -24
- package/dist/types/components/arcgis-features/arcgis-features.d.ts +0 -37
- package/dist/types/components/arcgis-floor-filter/arcgis-floor-filter.d.ts +0 -35
- package/dist/types/components/arcgis-fullscreen/arcgis-fullscreen.d.ts +0 -25
- package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +0 -18
- package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +0 -25
- package/dist/types/components/arcgis-home/arcgis-home.d.ts +0 -29
- package/dist/types/components/arcgis-layer-list/arcgis-layer-list.d.ts +0 -37
- package/dist/types/components/arcgis-legend/arcgis-legend.d.ts +0 -38
- package/dist/types/components/arcgis-line-of-sight/arcgis-line-of-sight.d.ts +0 -28
- package/dist/types/components/arcgis-locate/arcgis-locate.d.ts +0 -40
- package/dist/types/components/arcgis-map/arcgis-map.d.ts +0 -35
- package/dist/types/components/arcgis-measurement/arcgis-measurement.d.ts +0 -35
- package/dist/types/components/arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts +0 -26
- package/dist/types/components/arcgis-print/arcgis-print.d.ts +0 -47
- package/dist/types/components/arcgis-scale-bar/arcgis-scale-bar.d.ts +0 -30
- package/dist/types/components/arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts +0 -40
- package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +0 -31
- package/dist/types/components/arcgis-search/arcgis-search.d.ts +0 -82
- package/dist/types/components/arcgis-shadow-cast/arcgis-shadow-cast.d.ts +0 -28
- package/dist/types/components/arcgis-sketch/arcgis-sketch.d.ts +0 -53
- package/dist/types/components/arcgis-slice/arcgis-slice.d.ts +0 -30
- package/dist/types/components/arcgis-slider/arcgis-slider.d.ts +0 -71
- package/dist/types/components/arcgis-swipe/arcgis-swipe.d.ts +0 -33
- package/dist/types/components/arcgis-table-list/arcgis-table-list.d.ts +0 -35
- package/dist/types/components/arcgis-time-slider/arcgis-time-slider.d.ts +0 -54
- package/dist/types/components/arcgis-track/arcgis-track.d.ts +0 -38
- package/dist/types/components/arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts +0 -52
- package/dist/types/components/arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts +0 -48
- package/dist/types/components/arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts +0 -30
- package/dist/types/components/arcgis-value-picker/arcgis-value-picker.d.ts +0 -48
- package/dist/types/components/arcgis-weather/arcgis-weather.d.ts +0 -26
- package/dist/types/components/arcgis-zoom/arcgis-zoom.d.ts +0 -27
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-fbce570d.js');
|
|
6
|
+
const index$1 = require('./index-09a0e90f.js');
|
|
7
|
+
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
|
+
|
|
9
|
+
const mapCss = ".arcgis-map{padding:0;margin:0;height:100%;width:100%}";
|
|
10
|
+
|
|
11
|
+
const ArcgisMap = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.arcgisViewReadyChange = index.createEvent(this, "arcgisViewReadyChange", 7);
|
|
15
|
+
this.arcgisViewChange = index.createEvent(this, "arcgisViewChange", 7);
|
|
16
|
+
this.arcgisViewClick = index.createEvent(this, "arcgisViewClick", 7);
|
|
17
|
+
this.arcgisViewDoubleClick = index.createEvent(this, "arcgisViewDoubleClick", 7);
|
|
18
|
+
this.arcgisViewDrag = index.createEvent(this, "arcgisViewDrag", 7);
|
|
19
|
+
this.arcgisViewHold = index.createEvent(this, "arcgisViewHold", 7);
|
|
20
|
+
this.arcgisViewImmediateClick = index.createEvent(this, "arcgisViewImmediateClick", 7);
|
|
21
|
+
this.arcgisViewImmediateDoubleClick = index.createEvent(this, "arcgisViewImmediateDoubleClick", 7);
|
|
22
|
+
this.arcgisViewKeyDown = index.createEvent(this, "arcgisViewKeyDown", 7);
|
|
23
|
+
this.arcgisViewKeyUp = index.createEvent(this, "arcgisViewKeyUp", 7);
|
|
24
|
+
this.arcgisViewLayerviewCreate = index.createEvent(this, "arcgisViewLayerviewCreate", 7);
|
|
25
|
+
this.arcgisViewLayerviewCreateError = index.createEvent(this, "arcgisViewLayerviewCreateError", 7);
|
|
26
|
+
this.arcgisViewLayerviewDestroy = index.createEvent(this, "arcgisViewLayerviewDestroy", 7);
|
|
27
|
+
this.arcgisViewMouseWheel = index.createEvent(this, "arcgisViewMouseWheel", 7);
|
|
28
|
+
this.arcgisViewPointerDown = index.createEvent(this, "arcgisViewPointerDown", 7);
|
|
29
|
+
this.arcgisViewPointerEnter = index.createEvent(this, "arcgisViewPointerEnter", 7);
|
|
30
|
+
this.arcgisViewPointerLeave = index.createEvent(this, "arcgisViewPointerLeave", 7);
|
|
31
|
+
this.arcgisViewPointerMove = index.createEvent(this, "arcgisViewPointerMove", 7);
|
|
32
|
+
this.arcgisViewPointerUp = index.createEvent(this, "arcgisViewPointerUp", 7);
|
|
33
|
+
this._watchHandles = [];
|
|
34
|
+
this.allLayerViews = undefined;
|
|
35
|
+
this.background = undefined;
|
|
36
|
+
this.basemapView = undefined;
|
|
37
|
+
this.basemap = undefined;
|
|
38
|
+
this.center = undefined;
|
|
39
|
+
this.constraints = undefined;
|
|
40
|
+
this.destroyDisabled = false;
|
|
41
|
+
this.extent = undefined;
|
|
42
|
+
this.fatalError = undefined;
|
|
43
|
+
this.floors = undefined;
|
|
44
|
+
this.graphics = undefined;
|
|
45
|
+
this.highlightOptions = undefined;
|
|
46
|
+
this.interacting = undefined;
|
|
47
|
+
this.itemId = undefined;
|
|
48
|
+
this.layerViews = undefined;
|
|
49
|
+
this.magnifier = undefined;
|
|
50
|
+
this.map = undefined;
|
|
51
|
+
this.navigating = undefined;
|
|
52
|
+
this.navigation = undefined;
|
|
53
|
+
this.padding = undefined;
|
|
54
|
+
this.popup = undefined;
|
|
55
|
+
this.popupEnabled = undefined;
|
|
56
|
+
this.ready = undefined;
|
|
57
|
+
this.resizeAlign = undefined;
|
|
58
|
+
this.resolution = undefined;
|
|
59
|
+
this.rotation = undefined;
|
|
60
|
+
this.scale = undefined;
|
|
61
|
+
this.spatialReference = undefined;
|
|
62
|
+
this.stationary = undefined;
|
|
63
|
+
this.suspended = undefined;
|
|
64
|
+
this.theme = undefined;
|
|
65
|
+
this.timeExtent = undefined;
|
|
66
|
+
this.timeZone = undefined;
|
|
67
|
+
this.toMap = undefined;
|
|
68
|
+
this.toScreen = undefined;
|
|
69
|
+
this.updating = undefined;
|
|
70
|
+
this.viewpoint = undefined;
|
|
71
|
+
this.zoom = undefined;
|
|
72
|
+
this.view = undefined;
|
|
73
|
+
}
|
|
74
|
+
backgroundWatcher(value) {
|
|
75
|
+
if (this.view) {
|
|
76
|
+
this.background = value;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
basemapWatcher(value) {
|
|
80
|
+
if (this.view?.map && componentUtils.isNullOrEmptyString(value)) {
|
|
81
|
+
this.view.map.basemap = value;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
centerWatcher(value) {
|
|
85
|
+
if (this.view && value && !this.view.center.equals(value)) {
|
|
86
|
+
this.view.center = value;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
constraintsWatcher(value) {
|
|
90
|
+
if (this.view) {
|
|
91
|
+
this.view.constraints = value;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
extentWatcher(value) {
|
|
95
|
+
if (this.view && value && !this.view.extent.equals(value)) {
|
|
96
|
+
this.view.extent = value;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
floorsWatcher(value) {
|
|
100
|
+
if (this.view) {
|
|
101
|
+
this.view.floors = value;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
graphicsWatcher(value) {
|
|
105
|
+
if (this.view) {
|
|
106
|
+
this.view.graphics = value;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
highlightOptionsWatcher(value) {
|
|
110
|
+
if (this.view) {
|
|
111
|
+
this.view.highlightOptions = value;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
itemIdWatcher(value, old) {
|
|
115
|
+
// NOTE: there is an issue when users set the value to undefined.
|
|
116
|
+
// https://github.com/ionic-team/stencil/issues/2814
|
|
117
|
+
// If user sets `itemid` to `undefined`, Stencil 2 will log the following warning:
|
|
118
|
+
// `The state/prop "${propName}" changed during rendering.`
|
|
119
|
+
// `This can potentially lead to infinite-loops and other bugs.`
|
|
120
|
+
//
|
|
121
|
+
// It appears consumer setting the value to null does not cause this warning.
|
|
122
|
+
// In Stencil 4, if a user sets property to undefined, will trigger change, but
|
|
123
|
+
// will not remove attribute from DOM.
|
|
124
|
+
if (value !== old) {
|
|
125
|
+
if (this.view?.map) {
|
|
126
|
+
this._updateMap();
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
this._loadMap();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
mapWatcher(value) {
|
|
134
|
+
if (this.view) {
|
|
135
|
+
this.view.map = value;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
navigationWatcher(value) {
|
|
139
|
+
if (this.view) {
|
|
140
|
+
this.view.navigation = value;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
paddingWatcher(value) {
|
|
144
|
+
if (this.view) {
|
|
145
|
+
this.view.padding = value;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
popupEnabledWatcher(value) {
|
|
149
|
+
if (value !== undefined && this.view) {
|
|
150
|
+
this.view.popupEnabled = value;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
resizeAlignWatcher(value) {
|
|
154
|
+
if (this.view) {
|
|
155
|
+
this.view.resizeAlign = value;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
rotationWatcher(value) {
|
|
159
|
+
if (this.view && this.view.rotation !== value) {
|
|
160
|
+
this.view.rotation = value;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
scaleWatcher(value, old) {
|
|
164
|
+
if (!this.view?.interacting && value != null && value !== old) {
|
|
165
|
+
this.view.scale = value;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
spatialReferenceWatcher(value) {
|
|
169
|
+
if (this.view && value && !this.view.spatialReference.equals(value)) {
|
|
170
|
+
this.view.spatialReference = value;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
themeWatcher(value) {
|
|
174
|
+
if (this.view) {
|
|
175
|
+
this.view.theme = value;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
timeExtentWatcher(value) {
|
|
179
|
+
if (this.view) {
|
|
180
|
+
this.view.timeExtent = value;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
timeZoneWatcher(value) {
|
|
184
|
+
if (this.view) {
|
|
185
|
+
this.view.timeZone = value;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
viewpointWatcher(value) {
|
|
189
|
+
if (this.view && componentUtils.isNotSameViewpoint(this.view.viewpoint, value)) {
|
|
190
|
+
this.view.viewpoint = value;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
zoomWatcher(value, old) {
|
|
194
|
+
if (!this.view?.interacting && value != null && value !== old) {
|
|
195
|
+
this.view.zoom = value;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
//--------------------------------------------------------------------------
|
|
199
|
+
//
|
|
200
|
+
// Methods
|
|
201
|
+
//
|
|
202
|
+
//--------------------------------------------------------------------------
|
|
203
|
+
async closePopup() {
|
|
204
|
+
this.view?.closePopup();
|
|
205
|
+
}
|
|
206
|
+
async destroy() {
|
|
207
|
+
if (this.destroyDisabled) {
|
|
208
|
+
this._clearWatchHandles();
|
|
209
|
+
this.view.destroy();
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
async goTo(target, options) {
|
|
213
|
+
return await this.view?.goTo(target, options);
|
|
214
|
+
}
|
|
215
|
+
async hitTest(screenPoint, options) {
|
|
216
|
+
return await this.view?.hitTest(screenPoint, options);
|
|
217
|
+
}
|
|
218
|
+
async openPopup(options) {
|
|
219
|
+
return await this.view?.openPopup(options);
|
|
220
|
+
}
|
|
221
|
+
async takeScreenshot(options) {
|
|
222
|
+
return await this.view?.takeScreenshot(options);
|
|
223
|
+
}
|
|
224
|
+
async tryFatalErrorRecovery() {
|
|
225
|
+
this.view?.tryFatalErrorRecovery();
|
|
226
|
+
}
|
|
227
|
+
async whenLayerView(layer) {
|
|
228
|
+
return await this.view?.whenLayerView(layer);
|
|
229
|
+
}
|
|
230
|
+
//--------------------------------------------------------------------------
|
|
231
|
+
//
|
|
232
|
+
// Lifecycle
|
|
233
|
+
//
|
|
234
|
+
//--------------------------------------------------------------------------
|
|
235
|
+
async connectedCallback() {
|
|
236
|
+
this.view = await index$1.newViewsMapView({});
|
|
237
|
+
}
|
|
238
|
+
async componentWillLoad() {
|
|
239
|
+
await this._loadMap();
|
|
240
|
+
}
|
|
241
|
+
componentDidRender() {
|
|
242
|
+
if (this.view && !this.view.container) {
|
|
243
|
+
this.view.container = this.el;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
componentDidLoad() {
|
|
247
|
+
this._proxyEvents();
|
|
248
|
+
}
|
|
249
|
+
disconnectedCallback() {
|
|
250
|
+
this.destroy();
|
|
251
|
+
}
|
|
252
|
+
render() {
|
|
253
|
+
return index.h("div", { class: "arcgis-map", ref: (el) => (this.el = el) });
|
|
254
|
+
}
|
|
255
|
+
//--------------------------------------------------------------------------
|
|
256
|
+
//
|
|
257
|
+
// Private Methods
|
|
258
|
+
//
|
|
259
|
+
//--------------------------------------------------------------------------
|
|
260
|
+
_clearWatchHandles() {
|
|
261
|
+
this._watchHandles.forEach((handle) => handle.remove());
|
|
262
|
+
this._watchHandles = [];
|
|
263
|
+
}
|
|
264
|
+
async _addWatchers() {
|
|
265
|
+
const { watch, when } = await index$1.importCoreReactiveUtils();
|
|
266
|
+
componentUtils.addHandles(this, [
|
|
267
|
+
// watch for ready and emit arcgisViewReadyChange event
|
|
268
|
+
watch(() => this.view.ready, () => {
|
|
269
|
+
this.ready = this.view.ready;
|
|
270
|
+
this.arcgisViewReadyChange.emit();
|
|
271
|
+
}, {
|
|
272
|
+
initial: true
|
|
273
|
+
}),
|
|
274
|
+
// watch for stationary and emit arcgisViewChange event
|
|
275
|
+
watch(() => this.view.stationary, () => {
|
|
276
|
+
this.stationary = this.view.stationary;
|
|
277
|
+
this.interacting = this.view.interacting;
|
|
278
|
+
this.navigating = this.view.navigating;
|
|
279
|
+
this.arcgisViewChange.emit();
|
|
280
|
+
}, {
|
|
281
|
+
initial: true
|
|
282
|
+
}),
|
|
283
|
+
// when view stationary is true, update these props:
|
|
284
|
+
// zoom, scale, center, rotation, extent, camera, viewpoint
|
|
285
|
+
when(() => this.view.stationary, () => {
|
|
286
|
+
this.center = this.view.center;
|
|
287
|
+
this.extent = this.view.extent;
|
|
288
|
+
this.scale = this.view.scale;
|
|
289
|
+
this.viewpoint = this.view.viewpoint;
|
|
290
|
+
this.zoom = this.view.zoom;
|
|
291
|
+
this.spatialReference = this.view.spatialReference;
|
|
292
|
+
}),
|
|
293
|
+
// watchers for other props to update component
|
|
294
|
+
watch(() => this.view.allLayerViews, () => {
|
|
295
|
+
this.allLayerViews = this.view.allLayerViews;
|
|
296
|
+
}, {
|
|
297
|
+
initial: true
|
|
298
|
+
}),
|
|
299
|
+
watch(() => this.view.map?.basemap, () => {
|
|
300
|
+
this.basemap = this.view.map?.basemap;
|
|
301
|
+
}, {
|
|
302
|
+
initial: true
|
|
303
|
+
}),
|
|
304
|
+
watch(() => this.view.fatalError, () => {
|
|
305
|
+
this.fatalError = this.view.fatalError;
|
|
306
|
+
}, {
|
|
307
|
+
initial: true
|
|
308
|
+
}),
|
|
309
|
+
watch(() => this.view.graphics, () => {
|
|
310
|
+
this.graphics = this.view.graphics;
|
|
311
|
+
}, {
|
|
312
|
+
initial: true
|
|
313
|
+
}),
|
|
314
|
+
watch(() => this.view.layerViews, () => {
|
|
315
|
+
this.layerViews = this.view.layerViews;
|
|
316
|
+
}, {
|
|
317
|
+
initial: true
|
|
318
|
+
}),
|
|
319
|
+
watch(() => this.view.navigation, () => {
|
|
320
|
+
this.navigation = this.view.navigation;
|
|
321
|
+
}, {
|
|
322
|
+
initial: true
|
|
323
|
+
}),
|
|
324
|
+
watch(() => this.view.map, () => {
|
|
325
|
+
this.map = this.view.map;
|
|
326
|
+
}, {
|
|
327
|
+
initial: true
|
|
328
|
+
}),
|
|
329
|
+
watch(() => this.view.popup, () => {
|
|
330
|
+
this.popup = this.view.popup;
|
|
331
|
+
}, {
|
|
332
|
+
initial: true
|
|
333
|
+
}),
|
|
334
|
+
watch(() => this.view.resolution, () => {
|
|
335
|
+
this.resolution = this.view.resolution;
|
|
336
|
+
}, {
|
|
337
|
+
initial: true
|
|
338
|
+
}),
|
|
339
|
+
watch(() => this.view.rotation, () => {
|
|
340
|
+
this.rotation = this.view.rotation;
|
|
341
|
+
}, {
|
|
342
|
+
initial: true
|
|
343
|
+
}),
|
|
344
|
+
watch(() => this.view.suspended, () => {
|
|
345
|
+
this.suspended = this.view.suspended;
|
|
346
|
+
}, {
|
|
347
|
+
initial: true
|
|
348
|
+
}),
|
|
349
|
+
watch(() => this.view.updating, () => {
|
|
350
|
+
this.updating = this.view.updating;
|
|
351
|
+
}, {
|
|
352
|
+
initial: true
|
|
353
|
+
})
|
|
354
|
+
]);
|
|
355
|
+
}
|
|
356
|
+
async _createMap() {
|
|
357
|
+
const mapParams = {};
|
|
358
|
+
if (this.itemId) {
|
|
359
|
+
mapParams.portalItem = this._createPortalItem();
|
|
360
|
+
}
|
|
361
|
+
if (this.basemap) {
|
|
362
|
+
mapParams.basemap = this.basemap;
|
|
363
|
+
}
|
|
364
|
+
else if (componentUtils.isNullOrEmptyString(this.itemId)) {
|
|
365
|
+
mapParams.basemap = "topo-vector";
|
|
366
|
+
}
|
|
367
|
+
const map = await index$1.newWebMap(mapParams);
|
|
368
|
+
return map;
|
|
369
|
+
}
|
|
370
|
+
_createPortalItem() {
|
|
371
|
+
const item = {};
|
|
372
|
+
if (this.itemId) {
|
|
373
|
+
item.id = this.itemId;
|
|
374
|
+
}
|
|
375
|
+
return item;
|
|
376
|
+
}
|
|
377
|
+
_createViewParams() {
|
|
378
|
+
const params = {};
|
|
379
|
+
if (this.background) {
|
|
380
|
+
params.background = this.background;
|
|
381
|
+
}
|
|
382
|
+
if (this.center) {
|
|
383
|
+
if (typeof this.center === "string") {
|
|
384
|
+
params.center = this.center.split(",").map((x) => Number(x));
|
|
385
|
+
}
|
|
386
|
+
else {
|
|
387
|
+
params.center = this.center;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
if (this.constraints) {
|
|
391
|
+
params.constraints = this.constraints;
|
|
392
|
+
}
|
|
393
|
+
if (this.extent) {
|
|
394
|
+
params.extent = this.extent;
|
|
395
|
+
}
|
|
396
|
+
if (this.floors) {
|
|
397
|
+
params.floors = this.floors;
|
|
398
|
+
}
|
|
399
|
+
if (this.highlightOptions) {
|
|
400
|
+
params.highlightOptions = this.highlightOptions;
|
|
401
|
+
}
|
|
402
|
+
if (this.map) {
|
|
403
|
+
params.map = this.map;
|
|
404
|
+
}
|
|
405
|
+
if (this.navigation) {
|
|
406
|
+
params.navigation = this.navigation;
|
|
407
|
+
}
|
|
408
|
+
if (this.popupEnabled !== undefined) {
|
|
409
|
+
params.popupEnabled = this.popupEnabled;
|
|
410
|
+
}
|
|
411
|
+
if (this.rotation !== undefined) {
|
|
412
|
+
params.rotation = this.rotation;
|
|
413
|
+
}
|
|
414
|
+
if (this.scale !== undefined) {
|
|
415
|
+
params.scale = this.scale;
|
|
416
|
+
}
|
|
417
|
+
if (this.spatialReference) {
|
|
418
|
+
params.spatialReference = this.spatialReference;
|
|
419
|
+
}
|
|
420
|
+
if (this.theme) {
|
|
421
|
+
params.theme = this.theme;
|
|
422
|
+
}
|
|
423
|
+
if (this.timeExtent) {
|
|
424
|
+
params.timeExtent = this.timeExtent;
|
|
425
|
+
}
|
|
426
|
+
if (this.timeZone) {
|
|
427
|
+
params.timeZone = this.timeZone;
|
|
428
|
+
}
|
|
429
|
+
if (this.viewpoint) {
|
|
430
|
+
params.viewpoint = this.viewpoint;
|
|
431
|
+
}
|
|
432
|
+
if (this.zoom !== undefined) {
|
|
433
|
+
params.zoom = this.zoom;
|
|
434
|
+
}
|
|
435
|
+
return params;
|
|
436
|
+
}
|
|
437
|
+
async _loadMap() {
|
|
438
|
+
this.map || (this.map = await this._createMap());
|
|
439
|
+
const params = this._createViewParams();
|
|
440
|
+
const view = await index$1.newViewsMapView({
|
|
441
|
+
...params
|
|
442
|
+
});
|
|
443
|
+
this.view = view;
|
|
444
|
+
view.when(async () => {
|
|
445
|
+
// proxy view functions
|
|
446
|
+
this.toMap = view.toMap.bind(view);
|
|
447
|
+
this.toScreen = view.toScreen.bind(view);
|
|
448
|
+
await this._addWatchers();
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
_proxyEvents() {
|
|
452
|
+
componentUtils.addHandles(this, [
|
|
453
|
+
this.view.on("click", (event) => {
|
|
454
|
+
this.arcgisViewClick.emit(event);
|
|
455
|
+
}),
|
|
456
|
+
this.view.on("double-click", (event) => {
|
|
457
|
+
this.arcgisViewDoubleClick.emit(event);
|
|
458
|
+
}),
|
|
459
|
+
this.view.on("drag", (event) => {
|
|
460
|
+
this.arcgisViewDrag.emit(event);
|
|
461
|
+
}),
|
|
462
|
+
this.view.on("hold", (event) => {
|
|
463
|
+
this.arcgisViewHold.emit(event);
|
|
464
|
+
}),
|
|
465
|
+
this.view.on("immediate-click", (event) => {
|
|
466
|
+
this.arcgisViewImmediateClick.emit(event);
|
|
467
|
+
}),
|
|
468
|
+
this.view.on("immediate-double-click", (event) => {
|
|
469
|
+
this.arcgisViewImmediateDoubleClick.emit(event);
|
|
470
|
+
}),
|
|
471
|
+
this.view.on("key-down", (event) => {
|
|
472
|
+
this.arcgisViewKeyDown.emit(event);
|
|
473
|
+
}),
|
|
474
|
+
this.view.on("key-up", (event) => {
|
|
475
|
+
this.arcgisViewKeyUp.emit(event);
|
|
476
|
+
}),
|
|
477
|
+
this.view.on("layerview-create", (event) => {
|
|
478
|
+
this.arcgisViewLayerviewCreate.emit(event);
|
|
479
|
+
}),
|
|
480
|
+
this.view.on("layerview-create-error", (event) => {
|
|
481
|
+
this.arcgisViewLayerviewCreateError.emit(event);
|
|
482
|
+
}),
|
|
483
|
+
this.view.on("layerview-destroy", (event) => {
|
|
484
|
+
this.arcgisViewLayerviewDestroy.emit(event);
|
|
485
|
+
}),
|
|
486
|
+
this.view.on("mouse-wheel", (event) => {
|
|
487
|
+
this.arcgisViewMouseWheel.emit(event);
|
|
488
|
+
}),
|
|
489
|
+
this.view.on("pointer-down", (event) => {
|
|
490
|
+
this.arcgisViewPointerDown.emit(event);
|
|
491
|
+
}),
|
|
492
|
+
this.view.on("pointer-enter", (event) => {
|
|
493
|
+
this.arcgisViewPointerEnter.emit(event);
|
|
494
|
+
}),
|
|
495
|
+
this.view.on("pointer-leave", (event) => {
|
|
496
|
+
this.arcgisViewPointerLeave.emit(event);
|
|
497
|
+
}),
|
|
498
|
+
this.view.on("pointer-move", (event) => {
|
|
499
|
+
this.arcgisViewPointerMove.emit(event);
|
|
500
|
+
}),
|
|
501
|
+
this.view.on("pointer-up", (event) => {
|
|
502
|
+
this.arcgisViewPointerUp.emit(event);
|
|
503
|
+
})
|
|
504
|
+
]);
|
|
505
|
+
}
|
|
506
|
+
async _updateMap() {
|
|
507
|
+
if (this.view?.map) {
|
|
508
|
+
this.view.map.destroy();
|
|
509
|
+
const map = await this._createMap();
|
|
510
|
+
this.view.map = map;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
get _hostElement() { return index.getElement(this); }
|
|
514
|
+
static get watchers() { return {
|
|
515
|
+
"background": ["backgroundWatcher"],
|
|
516
|
+
"basemap": ["basemapWatcher"],
|
|
517
|
+
"center": ["centerWatcher"],
|
|
518
|
+
"constraints": ["constraintsWatcher"],
|
|
519
|
+
"extent": ["extentWatcher"],
|
|
520
|
+
"floors": ["floorsWatcher"],
|
|
521
|
+
"graphics": ["graphicsWatcher"],
|
|
522
|
+
"highlightOptions": ["highlightOptionsWatcher"],
|
|
523
|
+
"itemId": ["itemIdWatcher"],
|
|
524
|
+
"map": ["mapWatcher"],
|
|
525
|
+
"navigation": ["navigationWatcher"],
|
|
526
|
+
"padding": ["paddingWatcher"],
|
|
527
|
+
"popupEnabled": ["popupEnabledWatcher"],
|
|
528
|
+
"resizeAlign": ["resizeAlignWatcher"],
|
|
529
|
+
"rotation": ["rotationWatcher"],
|
|
530
|
+
"scale": ["scaleWatcher"],
|
|
531
|
+
"spatialReference": ["spatialReferenceWatcher"],
|
|
532
|
+
"theme": ["themeWatcher"],
|
|
533
|
+
"timeExtent": ["timeExtentWatcher"],
|
|
534
|
+
"timeZone": ["timeZoneWatcher"],
|
|
535
|
+
"viewpoint": ["viewpointWatcher"],
|
|
536
|
+
"zoom": ["zoomWatcher"]
|
|
537
|
+
}; }
|
|
538
|
+
};
|
|
539
|
+
ArcgisMap.style = mapCss;
|
|
540
|
+
|
|
541
|
+
exports.arcgis_map = ArcgisMap;
|
|
542
|
+
|
|
543
|
+
//# sourceMappingURL=arcgis-map.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"arcgis-map.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,MAAM,GAAG,wDAAwD;;MCiB1D,SAAS;;;;;;;;;;;;;;;;;;;;;;QA4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,cAAc,EAAE,CAAC,KAAK;gBACjC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACxC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC,KAAK;gBAClC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACzC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC,KAAK;gBAClC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACzC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,CAAC,KAAK;gBACjC,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACxC,CAAC;YACF,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,EAAE,CAAC,KAAK;gBAC/B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACtC,CAAC;SACH,CAAC,CAAC;KACJ;IAEO,MAAM,UAAU;QACtB,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE;YAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;YACxB,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;YACpC,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;SACrB;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isNullOrEmptyString","isNotSameViewpoint","newViewsMapView","h","importCoreReactiveUtils","addHandles","newWebMap"],"sources":["src/components/map/map.css?tag=arcgis-map","src/components/map/map.tsx"],"sourcesContent":[".arcgis-map {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n}\n","import type { EventEmitter, VNode } from \"@stencil/core\";\nimport { Component, Element, Event, h, Method, Prop, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newViewsMapView, newWebMap } from \"@arcgis/core-adapter\";\nimport type WebMap from \"@arcgis/core/WebMap\";\nimport type { ViewElement } from \"../../utils/component-utils\";\nimport { addHandles, isNotSameViewpoint, isNullOrEmptyString } from \"../../utils/component-utils\";\nimport type { ArcGISMapView } from \"../types\";\n\nexport type ArcGISWebMap = InstanceType<typeof WebMap>;\n\n@Component({\n tag: \"arcgis-map\",\n styleUrl: \"map.css\",\n shadow: false\n})\nexport class ArcgisMap implements ViewElement {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n el: HTMLDivElement;\n\n @Element() _hostElement!: HTMLArcgisMapElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n @Prop({ mutable: true }) allLayerViews: ArcGISMapView[\"allLayerViews\"];\n\n @Prop({ mutable: true }) background: ArcGISMapView[\"background\"];\n\n @Watch(\"background\")\n backgroundWatcher(value: ArcGISMapView[\"background\"]): void {\n if (this.view) {\n this.background = value;\n }\n }\n\n @Prop({ mutable: true }) basemapView: ArcGISMapView[\"basemapView\"];\n\n @Prop({ mutable: true }) basemap: ArcGISWebMap[\"basemap\"];\n\n @Watch(\"basemap\")\n basemapWatcher(value: string): void {\n if (this.view?.map && isNullOrEmptyString(value)) {\n this.view.map.basemap = value as any;\n }\n }\n\n @Prop({ mutable: true }) center: ArcGISMapView[\"center\"] | string;\n\n @Watch(\"center\")\n centerWatcher(value: ArcGISMapView[\"center\"]): void {\n if (this.view && value && !this.view.center.equals(value)) {\n this.view.center = value;\n }\n }\n\n @Prop() constraints: ArcGISMapView[\"constraints\"];\n\n @Watch(\"constraints\")\n constraintsWatcher(value: ArcGISMapView[\"constraints\"]): void {\n if (this.view) {\n this.view.constraints = value;\n }\n }\n\n @Prop() destroyDisabled = false;\n\n @Prop({ mutable: true }) extent: ArcGISMapView[\"extent\"];\n\n @Watch(\"extent\")\n extentWatcher(value: ArcGISMapView[\"extent\"]): void {\n if (this.view && value && !this.view.extent.equals(value)) {\n this.view.extent = value;\n }\n }\n\n @Prop({ mutable: true }) fatalError: ArcGISMapView[\"fatalError\"];\n\n @Prop() floors: ArcGISMapView[\"floors\"];\n\n @Watch(\"floors\")\n floorsWatcher(value: ArcGISMapView[\"floors\"]): void {\n if (this.view) {\n this.view.floors = value;\n }\n }\n\n @Prop({ mutable: true }) graphics: ArcGISMapView[\"graphics\"];\n\n @Watch(\"graphics\")\n graphicsWatcher(value: ArcGISMapView[\"graphics\"]): void {\n if (this.view) {\n this.view.graphics = value;\n }\n }\n\n @Prop() highlightOptions: ArcGISMapView[\"highlightOptions\"];\n\n @Watch(\"highlightOptions\")\n highlightOptionsWatcher(value: ArcGISMapView[\"highlightOptions\"]): void {\n if (this.view) {\n this.view.highlightOptions = value;\n }\n }\n\n @Prop({ mutable: true }) interacting: ArcGISMapView[\"interacting\"];\n\n @Prop({ mutable: true, reflect: true }) itemId: string;\n\n @Watch(\"itemId\")\n itemIdWatcher(value: string, old: string): void {\n // NOTE: there is an issue when users set the value to undefined.\n // https://github.com/ionic-team/stencil/issues/2814\n // If user sets `itemid` to `undefined`, Stencil 2 will log the following warning:\n // `The state/prop \"${propName}\" changed during rendering.`\n // `This can potentially lead to infinite-loops and other bugs.`\n //\n // It appears consumer setting the value to null does not cause this warning.\n // In Stencil 4, if a user sets property to undefined, will trigger change, but\n // will not remove attribute from DOM.\n if (value !== old) {\n if (this.view?.map) {\n this._updateMap();\n } else {\n this._loadMap();\n }\n }\n }\n\n @Prop({ mutable: true }) layerViews: ArcGISMapView[\"layerViews\"];\n\n @Prop({ mutable: true }) magnifier: ArcGISMapView[\"magnifier\"];\n\n @Prop({ mutable: true }) map: ArcGISWebMap;\n\n @Watch(\"map\")\n mapWatcher(value: ArcGISWebMap): void {\n if (this.view) {\n this.view.map = value;\n }\n }\n\n @Prop({ mutable: true }) navigating: ArcGISMapView[\"navigating\"];\n\n @Prop({ mutable: true }) navigation: ArcGISMapView[\"navigation\"];\n\n @Watch(\"navigation\")\n navigationWatcher(value: ArcGISMapView[\"navigation\"]): void {\n if (this.view) {\n this.view.navigation = value;\n }\n }\n\n @Prop() padding: ArcGISMapView[\"padding\"];\n\n @Watch(\"padding\")\n paddingWatcher(value: ArcGISMapView[\"padding\"]): void {\n if (this.view) {\n this.view.padding = value;\n }\n }\n\n @Prop({ mutable: true }) popup: ArcGISMapView[\"popup\"];\n\n @Prop() popupEnabled: ArcGISMapView[\"popupEnabled\"];\n\n @Watch(\"popupEnabled\")\n popupEnabledWatcher(value: ArcGISMapView[\"popupEnabled\"]): void {\n if (value !== undefined && this.view) {\n this.view.popupEnabled = value;\n }\n }\n\n @Prop({ mutable: true }) ready: ArcGISMapView[\"ready\"];\n\n @Prop() resizeAlign: ArcGISMapView[\"resizeAlign\"];\n\n @Watch(\"resizeAlign\")\n resizeAlignWatcher(value: ArcGISMapView[\"resizeAlign\"]): void {\n if (this.view) {\n this.view.resizeAlign = value;\n }\n }\n\n @Prop({ mutable: true }) resolution: ArcGISMapView[\"resolution\"];\n\n @Prop({ mutable: true }) rotation: ArcGISMapView[\"rotation\"];\n\n @Watch(\"rotation\")\n rotationWatcher(value: ArcGISMapView[\"rotation\"]): void {\n if (this.view && this.view.rotation !== value) {\n this.view.rotation = value;\n }\n }\n\n @Prop({ mutable: true }) scale: number;\n\n @Watch(\"scale\")\n scaleWatcher(value: number, old: number): void {\n if (!this.view?.interacting && value != null && value !== old) {\n this.view.scale = value;\n }\n }\n\n @Prop({ mutable: true }) spatialReference: ArcGISMapView[\"spatialReference\"];\n\n @Watch(\"spatialReference\")\n spatialReferenceWatcher(value: ArcGISMapView[\"spatialReference\"]): void {\n if (this.view && value && !this.view.spatialReference.equals(value)) {\n this.view.spatialReference = value;\n }\n }\n\n @Prop({ mutable: true }) stationary: ArcGISMapView[\"stationary\"];\n\n @Prop({ mutable: true, reflect: true }) suspended: ArcGISMapView[\"suspended\"];\n\n @Prop() theme: ArcGISMapView[\"theme\"];\n\n @Watch(\"theme\")\n themeWatcher(value: ArcGISMapView[\"theme\"]): void {\n if (this.view) {\n this.view.theme = value;\n }\n }\n\n @Prop() timeExtent: ArcGISMapView[\"timeExtent\"];\n\n @Watch(\"timeExtent\")\n timeExtentWatcher(value: ArcGISMapView[\"timeExtent\"]): void {\n if (this.view) {\n this.view.timeExtent = value;\n }\n }\n\n @Prop() timeZone: ArcGISMapView[\"timeZone\"];\n\n @Watch(\"timeZone\")\n timeZoneWatcher(value: ArcGISMapView[\"timeZone\"]): void {\n if (this.view) {\n this.view.timeZone = value;\n }\n }\n\n // Start functions as properties\n\n @Prop({ mutable: true }) toMap: ArcGISMapView[\"toMap\"];\n\n @Prop({ mutable: true }) toScreen: ArcGISMapView[\"toScreen\"];\n\n // End functions as properties\n\n @Prop({ mutable: true, reflect: true }) updating: ArcGISMapView[\"updating\"];\n\n @Prop({ mutable: true }) viewpoint: ArcGISMapView[\"viewpoint\"];\n\n @Watch(\"viewpoint\")\n viewpointWatcher(value: ArcGISMapView[\"viewpoint\"]): void {\n if (this.view && isNotSameViewpoint(this.view.viewpoint, value)) {\n this.view.viewpoint = value;\n }\n }\n\n @Prop({ mutable: true, reflect: true }) zoom: number;\n\n @Watch(\"zoom\")\n zoomWatcher(value: number, old: number): void {\n if (!this.view?.interacting && value != null && value !== old) {\n this.view.zoom = value;\n }\n }\n\n /**\n * Internal view of the component.\n */\n @Prop({ mutable: true }) view: ArcGISMapView;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) arcgisViewReadyChange!: EventEmitter;\n @Event({ cancelable: true }) arcgisViewChange!: EventEmitter;\n\n // proxy view events\n @Event({ cancelable: true }) arcgisViewClick!: EventEmitter<__esri.ViewClickEvent>;\n @Event({ cancelable: true }) arcgisViewDoubleClick!: EventEmitter<__esri.ViewDoubleClickEvent>;\n @Event({ cancelable: true }) arcgisViewDrag!: EventEmitter<__esri.ViewDragEvent>;\n @Event({ cancelable: true }) arcgisViewHold!: EventEmitter<__esri.ViewHoldEvent>;\n @Event({ cancelable: true }) arcgisViewImmediateClick!: EventEmitter<__esri.ViewImmediateClickEvent>;\n @Event({ cancelable: true }) arcgisViewImmediateDoubleClick!: EventEmitter<__esri.ViewImmediateDoubleClickEvent>;\n @Event({ cancelable: true }) arcgisViewKeyDown!: EventEmitter<__esri.ViewKeyDownEvent>;\n @Event({ cancelable: true }) arcgisViewKeyUp!: EventEmitter<__esri.ViewKeyUpEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewCreate!: EventEmitter<__esri.ViewLayerviewCreateEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewCreateError!: EventEmitter<__esri.ViewLayerviewCreateErrorEvent>;\n @Event({ cancelable: true }) arcgisViewLayerviewDestroy!: EventEmitter<__esri.ViewLayerviewDestroyEvent>;\n @Event({ cancelable: true }) arcgisViewMouseWheel!: EventEmitter<__esri.ViewMouseWheelEvent>;\n @Event({ cancelable: true }) arcgisViewPointerDown!: EventEmitter<__esri.ViewPointerDownEvent>;\n @Event({ cancelable: true }) arcgisViewPointerEnter!: EventEmitter<__esri.ViewPointerEnterEvent>;\n @Event({ cancelable: true }) arcgisViewPointerLeave!: EventEmitter<__esri.ViewPointerLeaveEvent>;\n @Event({ cancelable: true }) arcgisViewPointerMove!: EventEmitter<__esri.ViewPointerMoveEvent>;\n @Event({ cancelable: true }) arcgisViewPointerUp!: EventEmitter<__esri.ViewPointerUpEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async closePopup(): Promise<void> {\n this.view?.closePopup();\n }\n\n @Method()\n async destroy(): Promise<void> {\n if (this.destroyDisabled) {\n this._clearWatchHandles();\n this.view.destroy();\n }\n }\n\n @Method()\n async goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<void> {\n return await this.view?.goTo(target, options);\n }\n\n @Method()\n async hitTest(screenPoint: __esri.ScreenPoint, options?: Record<string, any>): Promise<__esri.HitTestResult> {\n return await this.view?.hitTest(screenPoint, options);\n }\n\n @Method()\n async openPopup(options?: Record<string, any>): Promise<void> {\n return await this.view?.openPopup(options);\n }\n\n @Method()\n async takeScreenshot(options?: Record<string, any>): Promise<__esri.Screenshot> {\n return await this.view?.takeScreenshot(options);\n }\n\n @Method()\n async tryFatalErrorRecovery(): Promise<void> {\n this.view?.tryFatalErrorRecovery();\n }\n\n @Method()\n async whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView> {\n return await this.view?.whenLayerView(layer);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async connectedCallback(): Promise<void> {\n this.view = await newViewsMapView({});\n }\n\n async componentWillLoad(): Promise<void> {\n await this._loadMap();\n }\n\n componentDidRender(): void {\n if (this.view && !this.view.container) {\n this.view.container = this.el;\n }\n }\n\n componentDidLoad(): void {\n this._proxyEvents();\n }\n\n disconnectedCallback(): void {\n this.destroy();\n }\n\n render(): VNode {\n return <div class=\"arcgis-map\" ref={(el) => (this.el = el!)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _clearWatchHandles(): void {\n this._watchHandles.forEach((handle) => handle.remove());\n this._watchHandles = [];\n }\n\n private async _addWatchers() {\n const { watch, when } = await importCoreReactiveUtils();\n addHandles(this, [\n // watch for ready and emit arcgisViewReadyChange event\n watch(\n () => this.view.ready,\n () => {\n this.ready = this.view.ready;\n this.arcgisViewReadyChange.emit();\n },\n {\n initial: true\n }\n ),\n // watch for stationary and emit arcgisViewChange event\n watch(\n () => this.view.stationary,\n () => {\n this.stationary = this.view.stationary;\n this.interacting = this.view.interacting;\n this.navigating = this.view.navigating;\n this.arcgisViewChange.emit();\n },\n {\n initial: true\n }\n ),\n // when view stationary is true, update these props:\n // zoom, scale, center, rotation, extent, camera, viewpoint\n when(\n () => this.view.stationary,\n () => {\n this.center = this.view.center;\n this.extent = this.view.extent;\n this.scale = this.view.scale;\n this.viewpoint = this.view.viewpoint;\n this.zoom = this.view.zoom;\n this.spatialReference = this.view.spatialReference;\n }\n ),\n // watchers for other props to update component\n watch(\n () => this.view.allLayerViews,\n () => {\n this.allLayerViews = this.view.allLayerViews;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.map?.basemap,\n () => {\n this.basemap = this.view.map?.basemap as any;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.fatalError,\n () => {\n this.fatalError = this.view.fatalError;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.graphics,\n () => {\n this.graphics = this.view.graphics;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.layerViews,\n () => {\n this.layerViews = this.view.layerViews;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.navigation,\n () => {\n this.navigation = this.view.navigation;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.map,\n () => {\n this.map = this.view.map as __esri.WebMap;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.popup,\n () => {\n this.popup = this.view.popup;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.resolution,\n () => {\n this.resolution = this.view.resolution;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.rotation,\n () => {\n this.rotation = this.view.rotation;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.suspended,\n () => {\n this.suspended = this.view.suspended;\n },\n {\n initial: true\n }\n ),\n watch(\n () => this.view.updating,\n () => {\n this.updating = this.view.updating;\n },\n {\n initial: true\n }\n )\n ]);\n }\n\n private async _createMap(): Promise<__esri.WebMap> {\n const mapParams: __esri.WebMapProperties = {};\n\n if (this.itemId) {\n mapParams.portalItem = this._createPortalItem() as any;\n }\n\n if (this.basemap) {\n mapParams.basemap = this.basemap as any;\n } else if (isNullOrEmptyString(this.itemId)) {\n mapParams.basemap = \"topo-vector\" as any;\n }\n\n const map = await newWebMap(mapParams);\n return map;\n }\n\n private _createPortalItem(): Partial<__esri.PortalItemProperties> {\n const item: Partial<__esri.PortalItemProperties> = {};\n\n if (this.itemId) {\n item.id = this.itemId;\n }\n\n return item;\n }\n\n private _createViewParams(): Partial<__esri.MapViewProperties> {\n const params: Partial<__esri.MapViewProperties> = {};\n\n if (this.background) {\n params.background = this.background;\n }\n\n if (this.center) {\n if (typeof this.center === \"string\") {\n params.center = this.center.split(\",\").map((x) => Number(x));\n } else {\n params.center = this.center;\n }\n }\n\n if (this.constraints) {\n params.constraints = this.constraints;\n }\n\n if (this.extent) {\n params.extent = this.extent;\n }\n\n if (this.floors) {\n params.floors = this.floors;\n }\n\n if (this.highlightOptions) {\n params.highlightOptions = this.highlightOptions;\n }\n\n if (this.map) {\n params.map = this.map;\n }\n\n if (this.navigation) {\n params.navigation = this.navigation;\n }\n\n if (this.popupEnabled !== undefined) {\n params.popupEnabled = this.popupEnabled;\n }\n\n if (this.rotation !== undefined) {\n params.rotation = this.rotation;\n }\n\n if (this.scale !== undefined) {\n params.scale = this.scale;\n }\n\n if (this.spatialReference) {\n params.spatialReference = this.spatialReference;\n }\n\n if (this.theme) {\n params.theme = this.theme;\n }\n\n if (this.timeExtent) {\n params.timeExtent = this.timeExtent;\n }\n\n if (this.timeZone) {\n params.timeZone = this.timeZone;\n }\n\n if (this.viewpoint) {\n params.viewpoint = this.viewpoint;\n }\n\n if (this.zoom !== undefined) {\n params.zoom = this.zoom;\n }\n\n return params;\n }\n\n private async _loadMap(): Promise<void> {\n this.map ||= await this._createMap();\n\n const params = this._createViewParams();\n\n const view = await newViewsMapView({\n ...params\n });\n\n this.view = view;\n\n view.when(async () => {\n // proxy view functions\n this.toMap = view.toMap.bind(view);\n this.toScreen = view.toScreen.bind(view);\n await this._addWatchers();\n });\n }\n\n private _proxyEvents(): void {\n addHandles(this, [\n this.view.on(\"click\", (event) => {\n this.arcgisViewClick.emit(event);\n }),\n this.view.on(\"double-click\", (event) => {\n this.arcgisViewDoubleClick.emit(event);\n }),\n this.view.on(\"drag\", (event) => {\n this.arcgisViewDrag.emit(event);\n }),\n this.view.on(\"hold\", (event) => {\n this.arcgisViewHold.emit(event);\n }),\n this.view.on(\"immediate-click\", (event) => {\n this.arcgisViewImmediateClick.emit(event);\n }),\n this.view.on(\"immediate-double-click\", (event) => {\n this.arcgisViewImmediateDoubleClick.emit(event);\n }),\n this.view.on(\"key-down\", (event) => {\n this.arcgisViewKeyDown.emit(event);\n }),\n this.view.on(\"key-up\", (event) => {\n this.arcgisViewKeyUp.emit(event);\n }),\n this.view.on(\"layerview-create\", (event) => {\n this.arcgisViewLayerviewCreate.emit(event);\n }),\n this.view.on(\"layerview-create-error\", (event) => {\n this.arcgisViewLayerviewCreateError.emit(event);\n }),\n this.view.on(\"layerview-destroy\", (event) => {\n this.arcgisViewLayerviewDestroy.emit(event);\n }),\n this.view.on(\"mouse-wheel\", (event) => {\n this.arcgisViewMouseWheel.emit(event);\n }),\n this.view.on(\"pointer-down\", (event) => {\n this.arcgisViewPointerDown.emit(event);\n }),\n this.view.on(\"pointer-enter\", (event) => {\n this.arcgisViewPointerEnter.emit(event);\n }),\n this.view.on(\"pointer-leave\", (event) => {\n this.arcgisViewPointerLeave.emit(event);\n }),\n this.view.on(\"pointer-move\", (event) => {\n this.arcgisViewPointerMove.emit(event);\n }),\n this.view.on(\"pointer-up\", (event) => {\n this.arcgisViewPointerUp.emit(event);\n })\n ]);\n }\n\n private async _updateMap(): Promise<void> {\n if (this.view?.map) {\n this.view.map.destroy();\n const map = await this._createMap();\n this.view.map = map;\n }\n }\n}\n"],"version":3}
|