@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
|
@@ -2,99 +2,98 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const componentUtils = require('./component-utils-
|
|
8
|
-
const disconnected = require('./disconnected-
|
|
5
|
+
const index = require('./index-fbce570d.js');
|
|
6
|
+
const index$1 = require('./index-09a0e90f.js');
|
|
7
|
+
const componentUtils = require('./component-utils-48cee518.js');
|
|
8
|
+
const disconnected = require('./disconnected-4490368b.js');
|
|
9
9
|
|
|
10
|
-
const
|
|
10
|
+
const zoomCss = "arcgis-zoom{}";
|
|
11
11
|
|
|
12
12
|
const ArcgisZoom = class {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
//--------------------------------------------------------------------------
|
|
23
|
-
//
|
|
24
|
-
// Watchers
|
|
25
|
-
//
|
|
26
|
-
//--------------------------------------------------------------------------
|
|
27
|
-
layoutWatcher(newValue) {
|
|
28
|
-
if (newValue !== undefined && this.widget) {
|
|
29
|
-
this.widget.layout = newValue;
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.widgetReady = index.createEvent(this, "widgetReady", 7);
|
|
16
|
+
this._watchHandles = [];
|
|
17
|
+
this.referenceElement = undefined;
|
|
18
|
+
this.layout = undefined;
|
|
19
|
+
this.view = undefined;
|
|
20
|
+
this.position = "bottom-left";
|
|
21
|
+
this.widget = undefined;
|
|
30
22
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
if (newValue !== undefined && this.widget) {
|
|
34
|
-
if (typeof this.view !== "string") {
|
|
35
|
-
this.view.ui.move(this.childElem, newValue);
|
|
36
|
-
}
|
|
23
|
+
referenceElementWatcher(newValue) {
|
|
24
|
+
componentUtils.referenceElementHelper(this, newValue);
|
|
37
25
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
viewWatcher(newValue) {
|
|
43
|
-
if (newValue !== undefined && this.widget) {
|
|
44
|
-
this.widget.view = newValue;
|
|
26
|
+
layoutWatcher(newValue) {
|
|
27
|
+
if (this.widget) {
|
|
28
|
+
this.widget.layout = newValue;
|
|
29
|
+
}
|
|
45
30
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
//
|
|
51
|
-
//--------------------------------------------------------------------------
|
|
52
|
-
async zoomIn() {
|
|
53
|
-
return this.widget?.zoomIn();
|
|
54
|
-
}
|
|
55
|
-
async zoomOut() {
|
|
56
|
-
return this.widget?.zoomOut();
|
|
57
|
-
}
|
|
58
|
-
//--------------------------------------------------------------------------
|
|
59
|
-
//
|
|
60
|
-
// Lifecycle
|
|
61
|
-
//
|
|
62
|
-
//--------------------------------------------------------------------------
|
|
63
|
-
async componentDidLoad() {
|
|
64
|
-
const params = this._createParams();
|
|
65
|
-
const widget = await index$1.newWidgetsZoom(params);
|
|
66
|
-
this.widget = widget;
|
|
67
|
-
this.widgetReady.emit({ widget: this.widget });
|
|
68
|
-
componentUtils.checkForView(this);
|
|
69
|
-
}
|
|
70
|
-
disconnectedCallback() {
|
|
71
|
-
disconnected.onDisconnectedHelper(this);
|
|
72
|
-
}
|
|
73
|
-
render() {
|
|
74
|
-
return index.h("div", { ref: (el) => (this.childElem = el) });
|
|
75
|
-
}
|
|
76
|
-
//--------------------------------------------------------------------------
|
|
77
|
-
//
|
|
78
|
-
// Private Methods
|
|
79
|
-
//
|
|
80
|
-
//--------------------------------------------------------------------------
|
|
81
|
-
_createParams() {
|
|
82
|
-
const params = {
|
|
83
|
-
container: this.childElem
|
|
84
|
-
};
|
|
85
|
-
if (this.view) {
|
|
86
|
-
params.view = this.view;
|
|
31
|
+
viewWatcher(newValue) {
|
|
32
|
+
if (newValue !== undefined && this.widget) {
|
|
33
|
+
this.widget.view = newValue;
|
|
34
|
+
}
|
|
87
35
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
36
|
+
positionWatcher(newValue) {
|
|
37
|
+
if (newValue !== undefined && this.widget) {
|
|
38
|
+
this.view.ui.move(this.childElem, newValue);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//--------------------------------------------------------------------------
|
|
42
|
+
//
|
|
43
|
+
// Methods
|
|
44
|
+
//
|
|
45
|
+
//--------------------------------------------------------------------------
|
|
46
|
+
async zoomIn() {
|
|
47
|
+
return this.widget?.viewModel.zoomIn();
|
|
48
|
+
}
|
|
49
|
+
async zoomOut() {
|
|
50
|
+
return this.widget?.viewModel.zoomOut();
|
|
51
|
+
}
|
|
52
|
+
//--------------------------------------------------------------------------
|
|
53
|
+
//
|
|
54
|
+
// Lifecycle
|
|
55
|
+
//
|
|
56
|
+
//--------------------------------------------------------------------------
|
|
57
|
+
async componentDidLoad() {
|
|
58
|
+
const params = this._createParams();
|
|
59
|
+
const widget = await index$1.newWidgetsZoom(params);
|
|
60
|
+
this.widget = widget;
|
|
61
|
+
this.widgetReady.emit({ widget: this.widget });
|
|
62
|
+
componentUtils.checkForView(this);
|
|
63
|
+
}
|
|
64
|
+
disconnectedCallback() {
|
|
65
|
+
disconnected.onDisconnectedHelper(this);
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
return index.h("div", { ref: (el) => (this.childElem = el) });
|
|
69
|
+
}
|
|
70
|
+
//--------------------------------------------------------------------------
|
|
71
|
+
//
|
|
72
|
+
// Private Methods
|
|
73
|
+
//
|
|
74
|
+
//--------------------------------------------------------------------------
|
|
75
|
+
_createParams() {
|
|
76
|
+
const params = {
|
|
77
|
+
container: this.childElem
|
|
78
|
+
};
|
|
79
|
+
if (this.layout) {
|
|
80
|
+
params.layout = this.layout;
|
|
81
|
+
}
|
|
82
|
+
if (this.view) {
|
|
83
|
+
params.view = this.view;
|
|
84
|
+
}
|
|
85
|
+
return params;
|
|
86
|
+
}
|
|
87
|
+
get el() { return index.getElement(this); }
|
|
88
|
+
static get watchers() { return {
|
|
89
|
+
"referenceElement": ["referenceElementWatcher"],
|
|
90
|
+
"layout": ["layoutWatcher"],
|
|
91
|
+
"view": ["viewWatcher"],
|
|
92
|
+
"position": ["positionWatcher"]
|
|
93
|
+
}; }
|
|
97
94
|
};
|
|
98
|
-
ArcgisZoom.style =
|
|
95
|
+
ArcgisZoom.style = zoomCss;
|
|
99
96
|
|
|
100
97
|
exports.arcgis_zoom = ArcgisZoom;
|
|
98
|
+
|
|
99
|
+
//# sourceMappingURL=arcgis-zoom.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"arcgis-zoom.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,OAAO,GAAG,eAAe;;MCiBlB,UAAU;;;;QAqDrB,kBAAa,GAAyB,EAAE,CAAC;;;;wBAXtB,aAAa;;;IAtBhC,uBAAuB,CA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AAC;KACzD;;;;;;IAOO,aAAa;QACnB,MAAM,MAAM,GAAwB;YAClC,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;QAEF,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;SAC7B;QAED,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;SACzB;QAED,OAAO,MAAM,CAAC;KACf;;;;;;;;;;;;;","names":["referenceElementHelper","newWidgetsZoom","checkForView","onDisconnectedHelper","h"],"sources":["src/components/zoom/zoom.css?tag=arcgis-zoom","src/components/zoom/zoom.tsx"],"sourcesContent":["arcgis-zoom {\n /* Component styles go here */\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 { newWidgetsZoom } from \"@arcgis/core-adapter\";\nimport type Zoom from \"@arcgis/core/widgets/Zoom\";\nimport type { ArcgisReferenceElement, WidgetElement } from \"../../utils/component-utils\";\nimport { checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport type { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type ZoomWidget = InstanceType<typeof Zoom>;\n\n@Component({\n tag: \"arcgis-zoom\",\n styleUrl: \"zoom.css\"\n})\nexport class ArcgisZoom implements WidgetElement {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n @Element() el!: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() layout: ZoomWidget[\"layout\"];\n\n @Watch(\"layout\")\n layoutWatcher(newValue: ZoomWidget[\"layout\"]): void {\n if (this.widget) {\n this.widget.layout = newValue;\n }\n }\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop({ mutable: true }) widget: ZoomWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady!: EventEmitter<{ widget: __esri.Zoom }>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async zoomIn(): Promise<void> {\n return this.widget?.viewModel.zoomIn();\n }\n\n @Method()\n async zoomOut(): Promise<void> {\n return this.widget?.viewModel.zoomOut();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsZoom(params);\n\n this.widget = widget;\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n return <div ref={(el) => (this.childElem = el!)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<ZoomWidget> {\n const params: Partial<ZoomWidget> = {\n container: this.childElem\n };\n\n if (this.layout) {\n params.layout = this.layout;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function checkForExpand(element) {
|
|
4
|
+
const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
|
|
5
|
+
if (expandRef?.widget) {
|
|
6
|
+
element.view = expandRef.view;
|
|
7
|
+
expandRef.widget.content = element.childElem;
|
|
8
|
+
// TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next
|
|
9
|
+
if (!expandRef.expandIcon) {
|
|
10
|
+
expandRef.widget.expandIcon = element.widget.icon;
|
|
11
|
+
expandRef.widget.expandIconClass = element.widget.iconClass;
|
|
12
|
+
}
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
if (expandRef) {
|
|
16
|
+
const widgetHandler = () => {
|
|
17
|
+
expandRef.removeEventListener("widgetReady", widgetHandler, false);
|
|
18
|
+
element.view = expandRef.view;
|
|
19
|
+
expandRef.widget.content = element.childElem;
|
|
20
|
+
if (!expandRef.expandIcon) {
|
|
21
|
+
expandRef.widget.expandIcon = element.widget.icon;
|
|
22
|
+
expandRef.widget.expandIconClass = element.widget.iconClass;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
expandRef.addEventListener("widgetReady", widgetHandler, false);
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//--------------------------------------------------------------------------
|
|
32
|
+
//
|
|
33
|
+
// Public Methods
|
|
34
|
+
//
|
|
35
|
+
//--------------------------------------------------------------------------
|
|
36
|
+
function addHandles(element, handle) {
|
|
37
|
+
if (Array.isArray(handle)) {
|
|
38
|
+
element._watchHandles = [...element._watchHandles, ...handle];
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
element._watchHandles.push(handle);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function checkForView(element) {
|
|
45
|
+
let isDetached = false;
|
|
46
|
+
if (!checkForExpand(element)) {
|
|
47
|
+
let viewRef = element.el.closest("arcgis-map") ?? element.el.closest("arcgis-scene");
|
|
48
|
+
if (!viewRef && typeof element.referenceElement === "string") {
|
|
49
|
+
viewRef = document.querySelector(element.referenceElement);
|
|
50
|
+
isDetached = true;
|
|
51
|
+
}
|
|
52
|
+
if (viewRef?.view) {
|
|
53
|
+
element.view = viewRef.view;
|
|
54
|
+
const el = element.childElem ?? element.el;
|
|
55
|
+
if (!isDetached) {
|
|
56
|
+
element.view.ui.add(el, element.position);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
else if (viewRef) {
|
|
60
|
+
waitForViewHandler(viewRef, element, isDetached);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const viewRef = element.el.closest("arcgis-map") ?? element.el.closest("arcgis-scene");
|
|
65
|
+
if (viewRef?.view) {
|
|
66
|
+
element.view = viewRef.view;
|
|
67
|
+
}
|
|
68
|
+
else if (viewRef) {
|
|
69
|
+
const handler = () => {
|
|
70
|
+
if (viewRef.ready) {
|
|
71
|
+
viewRef.removeEventListener("arcgisViewReadyChange", handler, false);
|
|
72
|
+
element.view = viewRef.view;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
viewRef.addEventListener("arcgisViewReadyChange", handler, false);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function isNullOrEmptyString(value) {
|
|
80
|
+
return value === undefined || value === null || value === "";
|
|
81
|
+
}
|
|
82
|
+
function isValidInteger(value) {
|
|
83
|
+
return value != null && value % 1 === 0;
|
|
84
|
+
}
|
|
85
|
+
function isNotSameCamera(camera, camera2) {
|
|
86
|
+
return (camera2 === undefined ||
|
|
87
|
+
camera.position !== camera2.position ||
|
|
88
|
+
camera.heading !== camera2.heading ||
|
|
89
|
+
camera.tilt !== camera2.tilt);
|
|
90
|
+
}
|
|
91
|
+
function isNotSameEnvironment(environment, environment2) {
|
|
92
|
+
return (environment2 === undefined ||
|
|
93
|
+
environment2.atmosphereEnabled !== environment.atmosphereEnabled ||
|
|
94
|
+
environment2.lighting.date !== environment.lighting.date ||
|
|
95
|
+
environment2.lighting.directShadowsEnabled !==
|
|
96
|
+
environment.lighting.directShadowsEnabled ||
|
|
97
|
+
environment2.lighting.cameraTrackingEnabled !==
|
|
98
|
+
environment.lighting.cameraTrackingEnabled ||
|
|
99
|
+
environment2.lighting.date !== environment.lighting.date ||
|
|
100
|
+
environment2.lighting.displayUTCOffset !==
|
|
101
|
+
environment.lighting.displayUTCOffset);
|
|
102
|
+
}
|
|
103
|
+
function isNotSameViewpoint(viewpoint, viewpoint2) {
|
|
104
|
+
return (viewpoint2 === undefined ||
|
|
105
|
+
viewpoint.targetGeometry !== viewpoint2.targetGeometry ||
|
|
106
|
+
viewpoint.rotation !== viewpoint2.rotation ||
|
|
107
|
+
viewpoint.scale !== viewpoint2.scale);
|
|
108
|
+
}
|
|
109
|
+
async function updateForView(viewStr) {
|
|
110
|
+
const viewRef = document.querySelector(viewStr);
|
|
111
|
+
return await new Promise((resolve) => {
|
|
112
|
+
if (viewRef?.view !== undefined) {
|
|
113
|
+
resolve(viewRef.view);
|
|
114
|
+
}
|
|
115
|
+
else if (viewRef) {
|
|
116
|
+
const handler = () => {
|
|
117
|
+
viewRef.removeEventListener("arcgisViewReadyChange", handler, false);
|
|
118
|
+
resolve(viewRef.view);
|
|
119
|
+
};
|
|
120
|
+
viewRef.addEventListener("arcgisViewReadyChange", handler, false);
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
async function referenceElementHelper(element, refElement) {
|
|
125
|
+
if (typeof refElement === "string") {
|
|
126
|
+
element.view = await updateForView(refElement);
|
|
127
|
+
}
|
|
128
|
+
else if (element.widget) {
|
|
129
|
+
element.view = refElement.view;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
//--------------------------------------------------------------------------
|
|
133
|
+
//
|
|
134
|
+
// Private Methods
|
|
135
|
+
//
|
|
136
|
+
//--------------------------------------------------------------------------
|
|
137
|
+
function waitForViewHandler(viewRef, element, isDetached) {
|
|
138
|
+
const handler = () => {
|
|
139
|
+
viewRef.removeEventListener("arcgisViewReadyChange", handler, false);
|
|
140
|
+
element.view = viewRef.view;
|
|
141
|
+
if (!isDetached) {
|
|
142
|
+
if (element.childElem) {
|
|
143
|
+
element.view.ui.add(element.childElem, element.position);
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
element.view.ui.add(element.el, element.position);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
viewRef.addEventListener("arcgisViewReadyChange", handler, false);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
exports.addHandles = addHandles;
|
|
154
|
+
exports.checkForExpand = checkForExpand;
|
|
155
|
+
exports.checkForView = checkForView;
|
|
156
|
+
exports.isNotSameCamera = isNotSameCamera;
|
|
157
|
+
exports.isNotSameEnvironment = isNotSameEnvironment;
|
|
158
|
+
exports.isNotSameViewpoint = isNotSameViewpoint;
|
|
159
|
+
exports.isNullOrEmptyString = isNullOrEmptyString;
|
|
160
|
+
exports.isValidInteger = isValidInteger;
|
|
161
|
+
exports.referenceElementHelper = referenceElementHelper;
|
|
162
|
+
|
|
163
|
+
//# sourceMappingURL=component-utils-48cee518.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"component-utils-48cee518.js","mappings":";;SAQgB,cAAc,CAAC,OAA4C;IACzE,MAAM,SAAS,GAAG,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,IAAK,OAA+B,CAAC,UAAU,CAAC;IACrG,IAAI,SAAS,EAAE,MAAM,EAAE;QACrB,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;QAC9B,SAAS,CAAC,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC;;QAE7C,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE;YACzB,SAAS,CAAC,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;YAClD,SAA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AAE,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;aACnD;SACF;KACF,CAAC;IACF,OAAO,CAAC,gBAAgB,CAAC,uBAAuB,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AACpE;;;;;;;;;;;;","names":[],"sources":["src/utils/expandable.ts","src/utils/component-utils.ts"],"sourcesContent":["import type { WidgetElement } from \"./component-utils\";\n\nexport interface ExpandableComponent extends WidgetElement {\n expandable: boolean;\n expandIcon?: string;\n expandElem?: HTMLArcgisExpandElement;\n}\n\nexport function checkForExpand(element: ExpandableComponent | WidgetElement): boolean {\n const expandRef = element.el.closest(\"arcgis-expand\") || (element as ExpandableComponent).expandElem;\n if (expandRef?.widget) {\n element.view = expandRef.view;\n expandRef.widget.content = element.childElem;\n // TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next\n if (!expandRef.expandIcon) {\n expandRef.widget.expandIcon = element.widget.icon;\n expandRef.widget.expandIconClass = element.widget.iconClass;\n }\n return true;\n }\n if (expandRef) {\n const widgetHandler = () => {\n expandRef.removeEventListener(\"widgetReady\", widgetHandler, false);\n element.view = expandRef.view;\n expandRef.widget.content = element.childElem;\n if (!expandRef.expandIcon) {\n expandRef.widget.expandIcon = element.widget.icon;\n expandRef.widget.expandIconClass = element.widget.iconClass;\n }\n };\n\n expandRef.addEventListener(\"widgetReady\", widgetHandler, false);\n return true;\n }\n return false;\n}\n","import type { ArcGISWebMap } from \"../components\";\nimport type { ArcGISMapView, ArcGISSceneView } from \"../components/types\";\nimport type { ExpandableComponent } from \"./expandable\";\nimport { checkForExpand } from \"./expandable\";\n\nexport type ArcgisReferenceElement = HTMLArcgisMapElement | HTMLArcgisSceneElement;\n\nexport interface BaseComponentElement extends Partial<HTMLElement> {\n childElem: HTMLDivElement;\n referenceElement?: ArcgisReferenceElement | string;\n view?: ArcGISMapView | ArcGISSceneView;\n position: string;\n}\n\nexport interface WidgetElement extends BaseComponentElement {\n el: HTMLDivElement;\n widget: any;\n _watchHandles: __esri.WatchHandle[];\n}\n\nexport interface ViewElement extends Partial<HTMLElement> {\n el: HTMLDivElement;\n _hostElement?: HTMLArcgisMapElement | HTMLArcgisSceneElement;\n basemap?: ArcGISWebMap[\"basemap\"];\n itemId?: string;\n view?: ArcGISMapView | ArcGISSceneView;\n _watchHandles: __esri.WatchHandle[];\n}\n\n//--------------------------------------------------------------------------\n//\n// Public Methods\n//\n//--------------------------------------------------------------------------\n\nexport function addHandles(\n element: ViewElement | WidgetElement,\n handle: __esri.WatchHandle | __esri.WatchHandle[]\n): void {\n if (Array.isArray(handle)) {\n element._watchHandles = [...element._watchHandles, ...handle];\n } else {\n element._watchHandles.push(handle);\n }\n}\n\nexport function checkForView(element: ExpandableComponent | WidgetElement): void {\n let isDetached = false;\n if (!checkForExpand(element)) {\n let viewRef: HTMLArcgisMapElement | HTMLArcgisSceneElement | null =\n element.el.closest(\"arcgis-map\") ?? element.el.closest(\"arcgis-scene\");\n\n if (!viewRef && typeof element.referenceElement === \"string\") {\n viewRef = document.querySelector(element.referenceElement);\n isDetached = true;\n }\n\n if (viewRef?.view) {\n element.view = viewRef.view;\n const el = element.childElem ?? element.el;\n if (!isDetached) {\n element.view.ui.add(el, element.position);\n }\n } else if (viewRef) {\n waitForViewHandler(viewRef, element, isDetached);\n }\n } else {\n const viewRef: HTMLArcgisMapElement | HTMLArcgisSceneElement | null =\n element.el.closest(\"arcgis-map\") ?? element.el.closest(\"arcgis-scene\");\n\n if (viewRef?.view) {\n element.view = viewRef.view;\n } else if (viewRef) {\n const handler = (): void => {\n if (viewRef.ready) {\n viewRef.removeEventListener(\"arcgisViewReadyChange\", handler, false);\n element.view = viewRef.view;\n }\n };\n viewRef.addEventListener(\"arcgisViewReadyChange\", handler, false);\n }\n }\n}\n\nexport function isNullOrEmptyString(value: string | null | undefined): boolean {\n return value === undefined || value === null || value === \"\";\n}\n\nexport function isValidInteger(value: number | null | undefined): boolean {\n return value != null && value % 1 === 0;\n}\n\nexport function isNotSameCamera(camera: __esri.Camera, camera2: __esri.Camera): boolean {\n return (\n camera2 === undefined ||\n camera.position !== camera2.position ||\n camera.heading !== camera2.heading ||\n camera.tilt !== camera2.tilt\n );\n}\n\nexport function isNotSameEnvironment(environment: __esri.Environment, environment2: __esri.Environment): boolean {\n return (\n environment2 === undefined ||\n environment2.atmosphereEnabled !== environment.atmosphereEnabled ||\n (environment2.lighting as __esri.SunLighting).date !== (environment.lighting as __esri.SunLighting).date ||\n (environment2.lighting as __esri.SunLighting).directShadowsEnabled !==\n (environment.lighting as __esri.SunLighting).directShadowsEnabled ||\n (environment2.lighting as __esri.SunLighting).cameraTrackingEnabled !==\n (environment.lighting as __esri.SunLighting).cameraTrackingEnabled ||\n (environment2.lighting as __esri.SunLighting).date !== (environment.lighting as __esri.SunLighting).date ||\n (environment2.lighting as __esri.SunLighting).displayUTCOffset !==\n (environment.lighting as __esri.SunLighting).displayUTCOffset\n );\n}\n\nexport function isNotSameViewpoint(viewpoint: __esri.Viewpoint, viewpoint2: __esri.Viewpoint): boolean {\n return (\n viewpoint2 === undefined ||\n viewpoint.targetGeometry !== viewpoint2.targetGeometry ||\n viewpoint.rotation !== viewpoint2.rotation ||\n viewpoint.scale !== viewpoint2.scale\n );\n}\n\nexport async function updateForView(viewStr: string): Promise<__esri.MapView | __esri.SceneView> {\n const viewRef = document.querySelector<ArcgisReferenceElement>(viewStr);\n return await new Promise((resolve) => {\n if (viewRef?.view !== undefined) {\n resolve(viewRef.view);\n } else if (viewRef) {\n const handler = (): void => {\n viewRef.removeEventListener(\"arcgisViewReadyChange\", handler, false);\n resolve(viewRef.view);\n };\n viewRef.addEventListener(\"arcgisViewReadyChange\", handler, false);\n }\n });\n}\n\nexport async function referenceElementHelper(\n element: ExpandableComponent | WidgetElement,\n refElement: ArcgisReferenceElement | string\n): Promise<void> {\n if (typeof refElement === \"string\") {\n element.view = await updateForView(refElement);\n } else if (element.widget) {\n element.view = refElement.view;\n }\n}\n\n//--------------------------------------------------------------------------\n//\n// Private Methods\n//\n//--------------------------------------------------------------------------\n\nfunction waitForViewHandler(\n viewRef: ArcgisReferenceElement,\n element: ExpandableComponent | WidgetElement,\n isDetached: boolean\n): void {\n const handler = (): void => {\n viewRef.removeEventListener(\"arcgisViewReadyChange\", handler, false);\n element.view = viewRef.view;\n if (!isDetached) {\n if (element.childElem) {\n element.view.ui.add(element.childElem, element.position);\n } else {\n element.view.ui.add(element.el, element.position);\n }\n }\n };\n viewRef.addEventListener(\"arcgisViewReadyChange\", handler, false);\n}\n"],"version":3}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function checkForExpand(element) {
|
|
4
|
+
const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
|
|
5
|
+
if (expandRef?.widget) {
|
|
6
|
+
element.view = expandRef.view;
|
|
7
|
+
expandRef.widget.content = element.childElem;
|
|
8
|
+
// TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next
|
|
9
|
+
if (!expandRef.expandIcon) {
|
|
10
|
+
expandRef.widget.expandIcon = element.widget.icon;
|
|
11
|
+
expandRef.widget.expandIconClass = element.widget.iconClass;
|
|
12
|
+
}
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
if (expandRef) {
|
|
16
|
+
const widgetHandler = () => {
|
|
17
|
+
expandRef.removeEventListener("widgetReady", widgetHandler, false);
|
|
18
|
+
element.view = expandRef.view;
|
|
19
|
+
expandRef.widget.content = element.childElem;
|
|
20
|
+
if (!expandRef.expandIcon) {
|
|
21
|
+
expandRef.widget.expandIcon = element.widget.icon;
|
|
22
|
+
expandRef.widget.expandIconClass = element.widget.iconClass;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
expandRef.addEventListener("widgetReady", widgetHandler, false);
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//--------------------------------------------------------------------------
|
|
32
|
+
//
|
|
33
|
+
// Public Methods
|
|
34
|
+
//
|
|
35
|
+
//--------------------------------------------------------------------------
|
|
36
|
+
function addHandles(element, handle) {
|
|
37
|
+
if (Array.isArray(handle)) {
|
|
38
|
+
element._watchHandles = [...element._watchHandles, ...handle];
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
element._watchHandles.push(handle);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function checkForView(element) {
|
|
45
|
+
let isDetached = false;
|
|
46
|
+
if (!checkForExpand(element)) {
|
|
47
|
+
let viewRef = element.el.closest("arcgis-map") || element.el.closest("arcgis-scene");
|
|
48
|
+
if (!viewRef && typeof element.referenceElement === "string") {
|
|
49
|
+
viewRef = document.querySelector(element.referenceElement);
|
|
50
|
+
isDetached = true;
|
|
51
|
+
}
|
|
52
|
+
if (viewRef?.view) {
|
|
53
|
+
element.view = viewRef.view;
|
|
54
|
+
const el = element.childElem || element.el;
|
|
55
|
+
if (!isDetached) {
|
|
56
|
+
element.view.ui.add(el, element.position);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
else if (viewRef) {
|
|
60
|
+
waitForViewHandler(viewRef, element, isDetached);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const viewRef = element.el.closest("arcgis-map") || element.el.closest("arcgis-scene");
|
|
65
|
+
if (viewRef?.view) {
|
|
66
|
+
element.view = viewRef.view;
|
|
67
|
+
}
|
|
68
|
+
else if (viewRef) {
|
|
69
|
+
const handler = () => {
|
|
70
|
+
if (viewRef.ready) {
|
|
71
|
+
viewRef?.removeEventListener("arcgisViewReadyChange", handler, false);
|
|
72
|
+
element.view = viewRef?.view;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
viewRef.addEventListener("arcgisViewReadyChange", handler, false);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function isNullOrEmptyString(value) {
|
|
80
|
+
return value === undefined || value === null || value === "";
|
|
81
|
+
}
|
|
82
|
+
function isValidInteger(value) {
|
|
83
|
+
return value != null && value % 1 === 0;
|
|
84
|
+
}
|
|
85
|
+
function isNotSameCamera(camera, camera2) {
|
|
86
|
+
return (camera2 === undefined ||
|
|
87
|
+
camera.position !== camera2.position ||
|
|
88
|
+
camera.heading !== camera2.heading ||
|
|
89
|
+
camera.tilt !== camera2.tilt);
|
|
90
|
+
}
|
|
91
|
+
function isNotSameEnvironment(environment, environment2) {
|
|
92
|
+
return (environment2 === undefined ||
|
|
93
|
+
environment2.atmosphereEnabled !== environment.atmosphereEnabled ||
|
|
94
|
+
environment2.lighting.date !== environment.lighting.date ||
|
|
95
|
+
environment2.lighting.directShadowsEnabled !==
|
|
96
|
+
environment.lighting.directShadowsEnabled ||
|
|
97
|
+
environment2.lighting.cameraTrackingEnabled !==
|
|
98
|
+
environment.lighting.cameraTrackingEnabled ||
|
|
99
|
+
environment2.lighting.date !== environment.lighting.date ||
|
|
100
|
+
environment2.lighting.displayUTCOffset !==
|
|
101
|
+
environment.lighting.displayUTCOffset);
|
|
102
|
+
}
|
|
103
|
+
function isNotSameViewpoint(viewpoint, viewpoint2) {
|
|
104
|
+
return (viewpoint2 === undefined ||
|
|
105
|
+
viewpoint.targetGeometry !== viewpoint2.targetGeometry ||
|
|
106
|
+
viewpoint.rotation !== viewpoint2.rotation ||
|
|
107
|
+
viewpoint.scale !== viewpoint2.scale);
|
|
108
|
+
}
|
|
109
|
+
async function updateForView(viewStr) {
|
|
110
|
+
const viewRef = document.querySelector(viewStr);
|
|
111
|
+
return new Promise((resolve) => {
|
|
112
|
+
if (viewRef?.view !== undefined) {
|
|
113
|
+
resolve(viewRef.view);
|
|
114
|
+
}
|
|
115
|
+
else if (viewRef) {
|
|
116
|
+
const handler = () => {
|
|
117
|
+
viewRef.removeEventListener("arcgisViewReadyChange", handler, false);
|
|
118
|
+
resolve(viewRef.view);
|
|
119
|
+
};
|
|
120
|
+
viewRef.addEventListener("arcgisViewReadyChange", handler, false);
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
async function referenceElementHelper(element, refElement) {
|
|
125
|
+
if (typeof refElement === "string") {
|
|
126
|
+
element.view = await updateForView(refElement);
|
|
127
|
+
}
|
|
128
|
+
else if (refElement !== undefined && element.widget) {
|
|
129
|
+
element.view = refElement.view;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
//--------------------------------------------------------------------------
|
|
133
|
+
//
|
|
134
|
+
// Private Methods
|
|
135
|
+
//
|
|
136
|
+
//--------------------------------------------------------------------------
|
|
137
|
+
function waitForViewHandler(viewRef, element, isDetached) {
|
|
138
|
+
const handler = () => {
|
|
139
|
+
viewRef?.removeEventListener("arcgisViewReadyChange", handler, false);
|
|
140
|
+
element.view = viewRef?.view;
|
|
141
|
+
if (!isDetached) {
|
|
142
|
+
if (element.childElem) {
|
|
143
|
+
element.view?.ui.add(element.childElem, element.position);
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
element.view?.ui.add(element.el, element.position);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
viewRef.addEventListener("arcgisViewReadyChange", handler, false);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
exports.addHandles = addHandles;
|
|
154
|
+
exports.checkForExpand = checkForExpand;
|
|
155
|
+
exports.checkForView = checkForView;
|
|
156
|
+
exports.isNotSameCamera = isNotSameCamera;
|
|
157
|
+
exports.isNotSameEnvironment = isNotSameEnvironment;
|
|
158
|
+
exports.isNotSameViewpoint = isNotSameViewpoint;
|
|
159
|
+
exports.isNullOrEmptyString = isNullOrEmptyString;
|
|
160
|
+
exports.isValidInteger = isValidInteger;
|
|
161
|
+
exports.referenceElementHelper = referenceElementHelper;
|
|
162
|
+
|
|
163
|
+
//# sourceMappingURL=component-utils-fe0f22b0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"component-utils-fe0f22b0.js","mappings":";;SAQgB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S,kBAAkB,CACzB,OAA+B,EAC/B,OAA4C,EAC5C,UAAmB;IAEnB,MAAM,OAAO,GAAG;QACd,OAAO,EAAE,mBAAmB,CAAC,uBAAuB,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QACtE,OAAO,CAAC,IAAI,GAAG,OAAO,EAAE,IAAI,CAAC;QAC7B,IAAI,CAAC,UAAU,EAAE;YACf,IAAI,OAAO,CAAC,SAAS,EAAE;gBACrB,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;aAC3D;iBAAM;gBACL,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;aACpD;SACF;KACF,CAAC;IACF,OAAO,CAAC,gBAAgB,CAAC,uBAAuB,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AACpE;;;;;;;;;;;;","names":[],"sources":["src/utils/expandable.ts","src/utils/component-utils.ts"],"sourcesContent":["import { WidgetElement } from \"./component-utils\";\n\nexport interface ExpandableComponent extends WidgetElement {\n expandable: boolean;\n expandIcon?: string;\n expandElem?: HTMLArcgisExpandElement;\n}\n\nexport function checkForExpand(element: WidgetElement | ExpandableComponent): boolean {\n const expandRef = element.el.closest(\"arcgis-expand\") || (element as ExpandableComponent).expandElem;\n if (expandRef?.widget) {\n element.view = expandRef.view;\n expandRef.widget.content = element.childElem as HTMLDivElement;\n // TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next\n if (!expandRef.expandIcon) {\n expandRef.widget.expandIcon = element.widget.icon;\n expandRef.widget.expandIconClass = element.widget.iconClass;\n }\n return true;\n }\n if (expandRef) {\n const widgetHandler = () => {\n expandRef.removeEventListener(\"widgetReady\", widgetHandler, false);\n element.view = expandRef.view;\n expandRef.widget.content = element.childElem as HTMLDivElement;\n if (!expandRef.expandIcon) {\n expandRef.widget.expandIcon = element.widget.icon;\n expandRef.widget.expandIconClass = element.widget.iconClass;\n }\n };\n\n expandRef.addEventListener(\"widgetReady\", widgetHandler, false);\n return true;\n }\n return false;\n}\n","import { ArcGISWebMap } from \"../components\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../components/types\";\nimport { checkForExpand, ExpandableComponent } from \"./expandable\";\n\nexport type ArcgisReferenceElement = HTMLArcgisMapElement | HTMLArcgisSceneElement;\n\nexport interface BaseComponentElement extends Partial<HTMLElement> {\n childElem: HTMLDivElement;\n referenceElement?: ArcgisReferenceElement | string;\n view?: ArcGISMapView | ArcGISSceneView;\n position: string;\n}\n\nexport interface WidgetElement extends BaseComponentElement {\n el: HTMLDivElement;\n widget: any;\n _watchHandles: __esri.WatchHandle[];\n}\n\nexport interface ViewElement extends Partial<HTMLElement> {\n el: HTMLDivElement;\n _hostElement?: HTMLArcgisMapElement | HTMLArcgisSceneElement;\n basemap?: ArcGISWebMap[\"basemap\"];\n itemId?: string;\n view?: ArcGISMapView | ArcGISSceneView;\n _watchHandles: __esri.WatchHandle[];\n}\n\n//--------------------------------------------------------------------------\n//\n// Public Methods\n//\n//--------------------------------------------------------------------------\n\nexport function addHandles(\n element: ViewElement | WidgetElement,\n handle: __esri.WatchHandle | __esri.WatchHandle[]\n): void {\n if (Array.isArray(handle)) {\n element._watchHandles = [...element._watchHandles, ...handle];\n } else {\n element._watchHandles.push(handle);\n }\n}\n\nexport function checkForView(element: WidgetElement | ExpandableComponent): void {\n let isDetached = false;\n if (!checkForExpand(element)) {\n let viewRef: HTMLArcgisMapElement | HTMLArcgisSceneElement | null =\n element.el.closest(\"arcgis-map\") || element.el.closest(\"arcgis-scene\");\n\n if (!viewRef && typeof element.referenceElement === \"string\") {\n viewRef = document.querySelector(element.referenceElement) as\n | HTMLArcgisMapElement\n | HTMLArcgisSceneElement\n | null;\n isDetached = true;\n }\n\n if (viewRef?.view) {\n element.view = viewRef.view;\n const el = element.childElem || element.el;\n if (!isDetached) {\n element.view.ui.add(el, element.position);\n }\n } else if (viewRef) {\n waitForViewHandler(viewRef, element, isDetached);\n }\n } else {\n const viewRef: HTMLArcgisMapElement | HTMLArcgisSceneElement | null =\n element.el.closest(\"arcgis-map\") || element.el.closest(\"arcgis-scene\");\n\n if (viewRef?.view) {\n element.view = viewRef.view;\n } else if (viewRef) {\n const handler = () => {\n if (viewRef.ready) {\n viewRef?.removeEventListener(\"arcgisViewReadyChange\", handler, false);\n element.view = viewRef?.view;\n }\n };\n viewRef.addEventListener(\"arcgisViewReadyChange\", handler, false);\n }\n }\n}\n\nexport function isNullOrEmptyString(value: string): boolean {\n return value === undefined || value === null || value === \"\";\n}\n\nexport function isValidInteger(value: number): boolean {\n return value != null && value % 1 === 0;\n}\n\nexport function isNotSameCamera(camera: __esri.Camera, camera2: __esri.Camera): boolean {\n return (\n camera2 === undefined ||\n camera.position !== camera2.position ||\n camera.heading !== camera2.heading ||\n camera.tilt !== camera2.tilt\n );\n}\n\nexport function isNotSameEnvironment(environment: __esri.Environment, environment2: __esri.Environment): boolean {\n return (\n environment2 === undefined ||\n environment2.atmosphereEnabled !== environment.atmosphereEnabled ||\n (environment2.lighting as __esri.SunLighting).date !== (environment.lighting as __esri.SunLighting).date ||\n (environment2.lighting as __esri.SunLighting).directShadowsEnabled !==\n (environment.lighting as __esri.SunLighting).directShadowsEnabled ||\n (environment2.lighting as __esri.SunLighting).cameraTrackingEnabled !==\n (environment.lighting as __esri.SunLighting).cameraTrackingEnabled ||\n (environment2.lighting as __esri.SunLighting).date !== (environment.lighting as __esri.SunLighting).date ||\n (environment2.lighting as __esri.SunLighting).displayUTCOffset !==\n (environment.lighting as __esri.SunLighting).displayUTCOffset\n );\n}\n\nexport function isNotSameViewpoint(viewpoint: __esri.Viewpoint, viewpoint2: __esri.Viewpoint): boolean {\n return (\n viewpoint2 === undefined ||\n viewpoint.targetGeometry !== viewpoint2.targetGeometry ||\n viewpoint.rotation !== viewpoint2.rotation ||\n viewpoint.scale !== viewpoint2.scale\n );\n}\n\nexport async function updateForView(viewStr: string): Promise<any> {\n const viewRef = document.querySelector(viewStr) as HTMLArcgisMapElement | HTMLArcgisSceneElement | null;\n return new Promise((resolve) => {\n if (viewRef?.view !== undefined) {\n resolve(viewRef.view);\n } else if (viewRef) {\n const handler = () => {\n viewRef.removeEventListener(\"arcgisViewReadyChange\", handler, false);\n resolve(viewRef.view);\n };\n viewRef.addEventListener(\"arcgisViewReadyChange\", handler, false);\n }\n });\n}\n\nexport async function referenceElementHelper(\n element: WidgetElement | ExpandableComponent,\n refElement: ArcgisReferenceElement | string\n): Promise<void> {\n if (typeof refElement === \"string\") {\n element.view = await updateForView(refElement);\n } else if (refElement !== undefined && element.widget) {\n element.view = refElement.view;\n }\n}\n\n//--------------------------------------------------------------------------\n//\n// Private Methods\n//\n//--------------------------------------------------------------------------\n\nfunction waitForViewHandler(\n viewRef: ArcgisReferenceElement,\n element: WidgetElement | ExpandableComponent,\n isDetached: boolean\n) {\n const handler = () => {\n viewRef?.removeEventListener(\"arcgisViewReadyChange\", handler, false);\n element.view = viewRef?.view;\n if (!isDetached) {\n if (element.childElem) {\n element.view?.ui.add(element.childElem, element.position);\n } else {\n element.view?.ui.add(element.el, element.position);\n }\n }\n };\n viewRef.addEventListener(\"arcgisViewReadyChange\", handler, false);\n}\n"],"version":3}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function onDisconnectedHelper(element) {
|
|
4
|
+
if (element.childElem) {
|
|
5
|
+
if (!element.el.isConnected) {
|
|
6
|
+
if (element.view) {
|
|
7
|
+
element.view.ui.remove(element.childElem);
|
|
8
|
+
}
|
|
9
|
+
else if (element.widget?.view) {
|
|
10
|
+
element.widget.view.ui.remove(element.childElem);
|
|
11
|
+
}
|
|
12
|
+
element._watchHandles.forEach((handle) => {
|
|
13
|
+
handle.remove();
|
|
14
|
+
});
|
|
15
|
+
element._watchHandles = [];
|
|
16
|
+
element.widget?.destroy();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
setTimeout(() => {
|
|
21
|
+
if (!element.el.isConnected) {
|
|
22
|
+
if (element.view) {
|
|
23
|
+
element.view.ui.remove(element.el);
|
|
24
|
+
}
|
|
25
|
+
else if (element.widget?.view) {
|
|
26
|
+
element.widget.view.ui.remove(element.el);
|
|
27
|
+
}
|
|
28
|
+
element._watchHandles.forEach((handle) => {
|
|
29
|
+
handle.remove();
|
|
30
|
+
});
|
|
31
|
+
element._watchHandles = [];
|
|
32
|
+
element.widget?.destroy();
|
|
33
|
+
}
|
|
34
|
+
}, 1000);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.onDisconnectedHelper = onDisconnectedHelper;
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=disconnected-4490368b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"disconnected-4490368b.js","mappings":";;SAEgB,oBAAoB,CAAC,OAAsB;IACzD,IAAI,OAAO,CAAC,SAAS,EAAE;QACrB,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,WAAW,EAAE;YAC3B,IAAI,OAAO,CAAC,IAAI,EAAE;gBAChB,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;aAC3C;iBAAM,IAAI,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE;gBAC/B,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;aAClD;YACD,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,MAAW;gBACxC,MAAM,CAAC,MAAM,EAAE,CAAC;aACjB,CAAC,CAAC;YACH,OAAO,CAAC,aAAa,GAAG,EAAE,CAAC;YAC3B,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC;SAC3B;KACF;SAAM;QACL,UAAU,CAAC;YACT,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,WAAW,EAAE;gBAC3B,IAAI,OAAO,CAAC,IAAI,EAAE;oBAChB,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;iBACpC;qBAAM,IAAI,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE;oBAC/B,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;iBAC3C;gBACD,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,MAAW;oBACxC,MAAM,CAAC,MAAM,EAAE,CAAC;iBACjB,CAAC,CAAC;gBACH,OAAO,CAAC,aAAa,GAAG,EAAE,CAAC;gBAC3B,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC;aAC3B;SACF,EAAE,IAAI,CAAC,CAAC;KACV;AACH;;;;","names":[],"sources":["src/utils/disconnected.ts"],"sourcesContent":["import type { WidgetElement } from \"./component-utils\";\n\nexport function onDisconnectedHelper(element: WidgetElement): void {\n if (element.childElem) {\n if (!element.el.isConnected) {\n if (element.view) {\n element.view.ui.remove(element.childElem);\n } else if (element.widget?.view) {\n element.widget.view.ui.remove(element.childElem);\n }\n element._watchHandles.forEach((handle: any) => {\n handle.remove();\n });\n element._watchHandles = [];\n element.widget?.destroy();\n }\n } else {\n setTimeout(() => {\n if (!element.el.isConnected) {\n if (element.view) {\n element.view.ui.remove(element.el);\n } else if (element.widget?.view) {\n element.widget.view.ui.remove(element.el);\n }\n element._watchHandles.forEach((handle: any) => {\n handle.remove();\n });\n element._watchHandles = [];\n element.widget?.destroy();\n }\n }, 1000);\n }\n}\n"],"version":3}
|
|
@@ -664,13 +664,6 @@ async function newWidgetsZoom(properties) {
|
|
|
664
664
|
const ModConstructor = await importWidgetsZoom();
|
|
665
665
|
return new ModConstructor(properties);
|
|
666
666
|
}
|
|
667
|
-
async function importConfig() {
|
|
668
|
-
if (amd) {
|
|
669
|
-
return requireModule("esri/config");
|
|
670
|
-
}
|
|
671
|
-
const module = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@arcgis/core/config.js')); });
|
|
672
|
-
return module.default;
|
|
673
|
-
}
|
|
674
667
|
async function importCoreReactiveUtils() {
|
|
675
668
|
if (amd) {
|
|
676
669
|
return requireModule("esri/core/reactiveUtils");
|
|
@@ -679,7 +672,6 @@ async function importCoreReactiveUtils() {
|
|
|
679
672
|
return module;
|
|
680
673
|
}
|
|
681
674
|
|
|
682
|
-
exports.importConfig = importConfig;
|
|
683
675
|
exports.importCoreReactiveUtils = importCoreReactiveUtils;
|
|
684
676
|
exports.newLayersFeatureLayer = newLayersFeatureLayer;
|
|
685
677
|
exports.newLayersGraphicsLayer = newLayersGraphicsLayer;
|
|
@@ -739,3 +731,5 @@ exports.newWidgetsUtilityNetworkValidateTopology = newWidgetsUtilityNetworkValid
|
|
|
739
731
|
exports.newWidgetsValuePicker = newWidgetsValuePicker;
|
|
740
732
|
exports.newWidgetsWeather = newWidgetsWeather;
|
|
741
733
|
exports.newWidgetsZoom = newWidgetsZoom;
|
|
734
|
+
|
|
735
|
+
//# sourceMappingURL=index-048e90f4.js.map
|