@arcgis/core 5.2.0-next.6 → 5.2.0-next.8
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/WebLinkChart.d.ts +1 -1
- package/WebMap.d.ts +2 -2
- package/WebScene.d.ts +3 -3
- package/arcade.d.ts +9 -9
- package/arcgisGlobal.d.ts +8 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/07cc5743cb6a9fd68adb.js +1 -0
- package/assets/esri/core/workers/chunks/09d0e430c66788a2626f.js +640 -0
- package/assets/esri/core/workers/chunks/{829a0583b8a228c65379.js → 0b169bb1969f86232a1a.js} +1 -1
- package/assets/esri/core/workers/chunks/0cbd7f5fe24271942abd.js +1 -0
- package/assets/esri/core/workers/chunks/{20e2d11f6de438ee883e.js → 0ded58ccb83f624f1460.js} +1 -1
- package/assets/esri/core/workers/chunks/0ecc1bc1686844cdd60e.js +1 -0
- package/assets/esri/core/workers/chunks/{d1ac98f48bb6d43d97c8.js → 0f3654c8157ec8f22869.js} +3 -3
- package/assets/esri/core/workers/chunks/0f75c19d8e296a32e329.js +1 -0
- package/assets/esri/core/workers/chunks/174cc2e69e5b5a13d880.js +1 -0
- package/assets/esri/core/workers/chunks/18f980465db5a86153d1.js +1 -0
- package/assets/esri/core/workers/chunks/1996f0a930abdd97b855.js +1 -0
- package/assets/esri/core/workers/chunks/1c8436b27a3d3cde5cfc.js +1 -0
- package/assets/esri/core/workers/chunks/1cb1f125dccbf8c8cac9.js +1 -0
- package/assets/esri/core/workers/chunks/1dd06335bb2d35c66339.js +1 -0
- package/assets/esri/core/workers/chunks/1f289aa69dd6b6be534a.js +1 -0
- package/assets/esri/core/workers/chunks/2185e8a52c5e29d46680.js +1 -0
- package/assets/esri/core/workers/chunks/{bf706a5d065a357de51b.js → 2413b383b7f2bdcd4ced.js} +1 -1
- package/assets/esri/core/workers/chunks/{da29cf0e64065631a470.js → 24810c36ae09bb4e83dc.js} +1 -1
- package/assets/esri/core/workers/chunks/26583db2af1a1cc456e5.js +1 -0
- package/assets/esri/core/workers/chunks/274b82cb183ddd0042f3.js +1 -0
- package/assets/esri/core/workers/chunks/277718031c903da2b3b9.js +1 -0
- package/assets/esri/core/workers/chunks/27c6def22c2b0791ce9e.js +1 -0
- package/assets/esri/core/workers/chunks/{7ed5b669010db58845f8.js → 294f2803aac000c99693.js} +1 -1
- package/assets/esri/core/workers/chunks/{093f27e4e4781870b431.js → 297ae764445e6f73a5ea.js} +1 -1
- package/assets/esri/core/workers/chunks/{be0eab592db0e651b023.js → 2b814bb51704a5b4fdc2.js} +6 -6
- package/assets/esri/core/workers/chunks/2c9ba638d1f31c82f9f5.js +1 -0
- package/assets/esri/core/workers/chunks/2d2895f1fdf44d212a4d.js +1 -0
- package/assets/esri/core/workers/chunks/2dbc2fd0f2dde505c465.js +1 -0
- package/assets/esri/core/workers/chunks/2dbcdfdf000226bfe746.js +1 -0
- package/assets/esri/core/workers/chunks/2e6382d50bf012064eae.js +1 -0
- package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +1 -0
- package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +1 -0
- package/assets/esri/core/workers/chunks/31918a0d9886dedf385f.js +1 -0
- package/assets/esri/core/workers/chunks/{1c029b03ed836f393a50.js → 3248001d9dfb9153699e.js} +1 -1
- package/assets/esri/core/workers/chunks/3297658ccd8d4b9ce733.js +1 -0
- package/assets/esri/core/workers/chunks/{716a4d7e8b908b81870b.js → 32f26757e36704923286.js} +1 -1
- package/assets/esri/core/workers/chunks/3529afab0c2444275d91.js +1 -0
- package/assets/esri/core/workers/chunks/36dac6ab51d9dbdd091d.js +1 -0
- package/assets/esri/core/workers/chunks/{a2159df718a7f2f59271.js → 38a2f34661563c7c29c1.js} +1 -1
- package/assets/esri/core/workers/chunks/390fda094fa8695d98cf.js +1 -0
- package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +30 -0
- package/assets/esri/core/workers/chunks/398eb3100a282e4736bb.js +1 -0
- package/assets/esri/core/workers/chunks/{6af77529c977d034d287.js → 3b15933f65f59625a650.js} +1 -1
- package/assets/esri/core/workers/chunks/3b3f91a61e3f29af1fb2.js +1 -0
- package/assets/esri/core/workers/chunks/{f815106d439ff1f76e51.js → 3b837b512999e6ab24bc.js} +1 -1
- package/assets/esri/core/workers/chunks/3d20c86f1fe877bf884b.js +1 -0
- package/assets/esri/core/workers/chunks/{a96c7432ca97cbeef4b8.js → 3db898a38a7c5f0efb48.js} +1 -1
- package/assets/esri/core/workers/chunks/3dc5fbecc427df1fd827.js +1 -0
- package/assets/esri/core/workers/chunks/3e65b4b18760bde8ceee.js +1 -0
- package/assets/esri/core/workers/chunks/3ff7aa216cd794d951e8.js +1 -0
- package/assets/esri/core/workers/chunks/{8e1865392681d390ab2e.js → 401ee7fa500adad77db1.js} +1 -1
- package/assets/esri/core/workers/chunks/{60915a3708a34da1977e.js → 426156137f279d979ddd.js} +1 -1
- package/assets/esri/core/workers/chunks/4517630bf869205bab87.js +1 -0
- package/assets/esri/core/workers/chunks/{b002304a45856b024b46.js → 4714241189c13d0db897.js} +1 -1
- package/assets/esri/core/workers/chunks/48f1c3a7c9f16d6896f6.js +1 -0
- package/assets/esri/core/workers/chunks/49308bdc36373555f1af.js +1 -0
- package/assets/esri/core/workers/chunks/5075e85e1eafd431a8c0.js +1 -0
- package/assets/esri/core/workers/chunks/5121768c70f1e03b685c.js +1 -0
- package/assets/esri/core/workers/chunks/5201105ca11a2d450460.js +1 -0
- package/assets/esri/core/workers/chunks/{0e774f14ba274832f390.js → 520e0e5307eef27becc6.js} +1 -1
- package/assets/esri/core/workers/chunks/528ed0bd8dc149ead023.js +1 -0
- package/assets/esri/core/workers/chunks/52f354bf80ee5ab0379a.js +1 -0
- package/assets/esri/core/workers/chunks/538537f9bc866d9caa75.js +1 -0
- package/assets/esri/core/workers/chunks/53d165b4f30fd64e5d8a.js +1 -0
- package/assets/esri/core/workers/chunks/58a7cdebc3d182c15ec6.js +1 -0
- package/assets/esri/core/workers/chunks/58ac245ff7fb57c1004f.js +1 -0
- package/assets/esri/core/workers/chunks/58acc18b92533166135d.js +1 -0
- package/assets/esri/core/workers/chunks/597aa39cdb5366ef9a74.js +1 -0
- package/assets/esri/core/workers/chunks/5bfae465872760e7af6d.js +1 -0
- package/assets/esri/core/workers/chunks/{cda99b543a0e1979346c.js → 5cb1b950249d651f3837.js} +1 -1
- package/assets/esri/core/workers/chunks/5cb274e5759f7ca0d4ed.js +1 -0
- package/assets/esri/core/workers/chunks/5d3ddbf94539cb4f493e.js +1 -0
- package/assets/esri/core/workers/chunks/{c83fea0d0ebd0d8e43fd.js → 5d62d1920e3e35fc0192.js} +1 -1
- package/assets/esri/core/workers/chunks/5dd441db1e74dc9b56e9.js +1 -0
- package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js → 62e77e3c5ca9b4887923.js} +2 -2
- package/assets/esri/core/workers/chunks/630ad47857de3cf726d1.js +1 -0
- package/assets/esri/core/workers/chunks/64114a7d2da162987958.js +1 -0
- package/assets/esri/core/workers/chunks/6821462e5c1e9c76010a.js +1 -0
- package/assets/esri/core/workers/chunks/684d3cb4fb233180b2d0.js +1 -0
- package/assets/esri/core/workers/chunks/686c51fd2144e132783e.js +1 -0
- package/assets/esri/core/workers/chunks/68f9b2da1fd08785320f.js +2 -0
- package/assets/esri/core/workers/chunks/69e98de578f467a35054.js +1 -0
- package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +1 -0
- package/assets/esri/core/workers/chunks/6aabde21b0b376d95888.js +1 -0
- package/assets/esri/core/workers/chunks/6c6396bfcdab12e68deb.js +1 -0
- package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +1 -0
- package/assets/esri/core/workers/chunks/{bcb021a167580bb1619f.js → 6ef3b8d67b498d655a99.js} +1 -1
- package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +1 -0
- package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +1 -0
- package/assets/esri/core/workers/chunks/6f5d61f734ec40dafabb.js +1 -0
- package/assets/esri/core/workers/chunks/{fce7995c26953bfd8d3d.js → 70229007d594536ba6a3.js} +1 -1
- package/assets/esri/core/workers/chunks/71e55381fdff3fc2542e.js +1 -0
- package/assets/esri/core/workers/chunks/{5abe34bb0110694f7b42.js → 72cfb186e50537bcdd19.js} +1 -1
- package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +1 -0
- package/assets/esri/core/workers/chunks/7748743d4be047094d67.js +1 -0
- package/assets/esri/core/workers/chunks/77a4f6f224d7ca4b69f4.js +1 -0
- package/assets/esri/core/workers/chunks/78c53aeb0a408ab3c80c.js +1 -0
- package/assets/esri/core/workers/chunks/7b5c1030a7cf0f382cc4.js +1 -0
- package/assets/esri/core/workers/chunks/7cee81c5aa1e6b7d2452.js +1 -0
- package/assets/esri/core/workers/chunks/7e89cb9ff615742e0894.js +1 -0
- package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +1 -0
- package/assets/esri/core/workers/chunks/{8477b5fdd99c6ac5c27b.js → 851705cf276eae8d4d37.js} +1 -1
- package/assets/esri/core/workers/chunks/{c319c3b85cdec73a9f45.js → 877c848beaf9a939862c.js} +1 -1
- package/assets/esri/core/workers/chunks/{ae74f722fb385e45fcf1.js → 893c0d28a5bf3f9f29f1.js} +1 -1
- package/assets/esri/core/workers/chunks/89e09276086745aa21fa.js +1 -0
- package/assets/esri/core/workers/chunks/{16b90d8f628a412ba4ba.js → 8a8c5e5ce457ca004687.js} +1 -1
- package/assets/esri/core/workers/chunks/{1f55d60d3adc31283296.js → 8b0a01ebc86ab226f01f.js} +1 -1
- package/assets/esri/core/workers/chunks/{452c01cecbbd1e370098.js → 8f93e6fc11a158d4f1ee.js} +1 -1
- package/assets/esri/core/workers/chunks/93bd56396b8cd020f965.js +1 -0
- package/assets/esri/core/workers/chunks/{359d3acb3953e64e5a78.js → 93ceb74ac88ef460fe5f.js} +1 -1
- package/assets/esri/core/workers/chunks/{4e676e888a935c507d90.js → 93d4bda22bde33fafa57.js} +1 -1
- package/assets/esri/core/workers/chunks/957f7b8de4aecb6f644e.js +1 -0
- package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js → 9629601de5e44ffe90ea.js} +2 -2
- package/assets/esri/core/workers/chunks/976ab2be6c244768c08a.js +1 -0
- package/assets/esri/core/workers/chunks/{e785f76c1a75cb1d1e1f.js → 99101789035f1787c630.js} +1 -1
- package/assets/esri/core/workers/chunks/{fbb23db01f3cf629d32e.js → 992a90ecbab931198fd0.js} +1 -1
- package/assets/esri/core/workers/chunks/99e5296192ab98fd0d99.js +1 -0
- package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +1 -0
- package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +1 -0
- package/assets/esri/core/workers/chunks/a2247f4c3116efb16c4f.js +1 -0
- package/assets/esri/core/workers/chunks/a4245bd4e67a428fd835.js +1 -0
- package/assets/esri/core/workers/chunks/a442534ac0956a68b769.js +1 -0
- package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +1 -0
- package/assets/esri/core/workers/chunks/a4e9a17dacbb52444d75.js +1 -0
- package/assets/esri/core/workers/chunks/{8bdca6f06c8b5fedd917.js → a5abba59e738c3240c22.js} +1 -1
- package/assets/esri/core/workers/chunks/a8ec5b85c2fa6fb4f391.js +1 -0
- package/assets/esri/core/workers/chunks/{f5a2c28dc26c065ea355.js → a9a1293b1d5302fb3b54.js} +28 -30
- package/assets/esri/core/workers/chunks/a9fc53ae040320e49834.js +1 -0
- package/assets/esri/core/workers/chunks/aa118c1bcd922b8ac328.js +1 -0
- package/assets/esri/core/workers/chunks/aae0049c2c3e15a813e8.js +1 -0
- package/assets/esri/core/workers/chunks/ac33b10fe65f9e9e824f.js +1 -0
- package/assets/esri/core/workers/chunks/adc32f6b45ea3026fc34.js +1 -0
- package/assets/esri/core/workers/chunks/af31e62499d45bdab3c3.js +1 -0
- package/assets/esri/core/workers/chunks/b22a1c98271c2e4d8808.js +1 -0
- package/assets/esri/core/workers/chunks/{9f4681713f03365a2a53.js → b666027b9022fa346a79.js} +1 -1
- package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +1 -0
- package/assets/esri/core/workers/chunks/b9bdb1f05e904c3655e4.js +1 -0
- package/assets/esri/core/workers/chunks/c0cbc50e5afd68bd485c.js +1 -0
- package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +1 -0
- package/assets/esri/core/workers/chunks/c357c0a08b99c1e7f290.js +1 -0
- package/assets/esri/core/workers/chunks/{4a23b27bfbcfa08fd9a7.js → c3cf9e6e91f71c9cc5f3.js} +1 -1
- package/assets/esri/core/workers/chunks/c3ff2ff0a86a9143d7a5.js +1 -0
- package/assets/esri/core/workers/chunks/{3e3134e4bc34d4e07179.js → c424a66f1546275e2bcb.js} +1 -1
- package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +1 -0
- package/assets/esri/core/workers/chunks/c60b4f2dd5fccdf362a7.js +1 -0
- package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +1 -0
- package/assets/esri/core/workers/chunks/c911f0b5bdd43b66b731.js +1 -0
- package/assets/esri/core/workers/chunks/c983e5ce0ff952b65d7f.js +1 -0
- package/assets/esri/core/workers/chunks/c9a4601073e1a3eee9d0.js +1 -0
- package/assets/esri/core/workers/chunks/ccffaba50674adba7a0f.js +1 -0
- package/assets/esri/core/workers/chunks/{24646a1176ce34039155.js → cdf6ad970dc1893dac58.js} +1 -1
- package/assets/esri/core/workers/chunks/d13e003c9293cb7e2852.js +1 -0
- package/assets/esri/core/workers/chunks/d24e027bb8b2c09f25c8.js +1 -0
- package/assets/esri/core/workers/chunks/d2df8c328054dc6cb7b7.js +1 -0
- package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +1 -0
- package/assets/esri/core/workers/chunks/{ace1899a8e5162b4018d.js → d6bb8db22ba85ad05fd7.js} +1 -1
- package/assets/esri/core/workers/chunks/{7601278ebced0c0c31cf.js → d78b7cac322755e87eb8.js} +1 -1
- package/assets/esri/core/workers/chunks/d7be278aed1fb37ad5ec.js +1 -0
- package/assets/esri/core/workers/chunks/d9695794cfaa014a55b1.js +1 -0
- package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js → d9d4754062758789f186.js} +2 -2
- package/assets/esri/core/workers/chunks/da1e8b338ab9fe9e0a8e.js +1 -0
- package/assets/esri/core/workers/chunks/e1bf87077541da6853c6.js +1 -0
- package/assets/esri/core/workers/chunks/e279bcbe4f10e87bde6c.js +1 -0
- package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +1 -0
- package/assets/esri/core/workers/chunks/e4406baf206b9e4c7e4f.js +1 -0
- package/assets/esri/core/workers/chunks/e499252cb52f7aed49a0.js +1 -0
- package/assets/esri/core/workers/chunks/{e178cd0e9178d6716410.js → e5837e5ac6ef761f26a2.js} +1 -1
- package/assets/esri/core/workers/chunks/e6a7272b59a4c2e34dca.js +1 -0
- package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +1 -0
- package/assets/esri/core/workers/chunks/eac683a37339aa558455.js +1 -0
- package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +1 -0
- package/assets/esri/core/workers/chunks/ed3d16a5b4084ef61f8a.js +1 -0
- package/assets/esri/core/workers/chunks/ee07f54bc77fe9f8575a.js +1 -0
- package/assets/esri/core/workers/chunks/{d35c475f004367e333eb.js → eeea5710275c967e8d51.js} +1 -1
- package/assets/esri/core/workers/chunks/ef46ef4f0ee9f2aeaa4a.js +1 -0
- package/assets/esri/core/workers/chunks/efb4aa5886730ea377bd.js +1 -0
- package/assets/esri/core/workers/chunks/f2a268c69f2a5566381b.js +1 -0
- package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js → f5731ad4cfbbf1cc569a.js} +2 -2
- package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +1 -0
- package/assets/esri/core/workers/chunks/f69df22a5c64389ebe28.js +1 -0
- package/assets/esri/core/workers/chunks/{f60292d97bcdbf19165b.js → f6d047358d14328f3622.js} +1 -1
- package/assets/esri/core/workers/chunks/f7fca88d120d45bb782a.js +1 -0
- package/assets/esri/core/workers/chunks/f819854098d63fe4ccdb.js +1 -0
- package/assets/esri/core/workers/chunks/f8f3579d0c1b65762902.js +1 -0
- package/assets/esri/core/workers/chunks/f98118127469449ca145.js +1 -0
- package/assets/esri/core/workers/chunks/f9ed05d4ad1f44d033bb.js +1 -0
- package/assets/esri/core/workers/chunks/fb6605be0c5e36785543.js +1 -0
- package/assets/esri/core/workers/chunks/fbe7dae0b4bf2d172487.js +1 -0
- package/assets/esri/core/workers/chunks/fc4d9be62cf5e9758842.js +1 -0
- package/assets/esri/core/workers/chunks/fd70a25ffdf2cc6c5be2.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
- package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +38 -8
- package/assets/esri/themes/base/widgets/_DatePicker.scss +1 -1
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/GlowComposition.glsl.js +2 -2
- package/chunks/RealisticTree.glsl.js +17 -15
- package/chunks/bundle2.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/chunks/vxlLayer.js +1 -1
- package/config.d.ts +2 -2
- package/config.js +1 -1
- package/core/Collection.d.ts +25 -25
- package/core/Error.d.ts +1 -1
- package/core/JSONSupport.d.ts +1 -1
- package/core/promiseUtils.d.ts +3 -3
- package/core/reactiveUtils.d.ts +4 -4
- package/core/screenUtils.js +1 -1
- package/core/sql/WhereClause.d.ts +1 -1
- package/core/sql.d.ts +1 -1
- package/core/timeUtils.d.ts +1 -1
- package/core/workers/Connection.d.ts +9 -9
- package/core/workers.d.ts +1 -1
- package/editing/types.d.ts +3 -3
- package/geometry/Extent.d.ts +0 -13
- package/geometry/Geometry.d.ts +10 -8
- package/geometry/Mesh.d.ts +9 -2
- package/geometry/Mesh.js +1 -1
- package/geometry/Multipoint.d.ts +9 -0
- package/geometry/Multipoint.js +1 -1
- package/geometry/Point.d.ts +15 -71
- package/geometry/Polygon.js +1 -1
- package/geometry/support/MeshMaterial.d.ts +5 -5
- package/geometry/support/MeshTexture.d.ts +19 -19
- package/geometry/support/geometryUtils.js +1 -1
- package/geometry/support/jsonUtils.d.ts +1 -1
- package/geometry/support/meshUtils.d.ts +130 -2
- package/geometry/support/meshUtils.js +1 -1
- package/graphic/AnnotationGraphicOrigin.d.ts +34 -0
- package/graphic/AnnotationGraphicOrigin.js +2 -0
- package/graphic/DimensionFeatureGraphicOrigin.d.ts +34 -0
- package/graphic/DimensionFeatureGraphicOrigin.js +2 -0
- package/identity/Credential.d.ts +1 -1
- package/identity/IdentityManager.d.ts +1 -1
- package/identity/IdentityManagerBase.js +1 -1
- package/identity/OAuthInfo.d.ts +1 -1
- package/identity/ServerInfo.d.ts +2 -2
- package/interfaces.d.ts +23 -0
- package/intl/number.d.ts +3 -3
- package/intl/substitute.d.ts +2 -2
- package/intl.d.ts +28 -28
- package/kernel.js +1 -1
- package/layers/AnnotationLayer.d.ts +263 -32
- package/layers/AnnotationLayer.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +5 -5
- package/layers/BaseTileLayer.d.ts +4 -4
- package/layers/BuildingSceneLayer.d.ts +1 -1
- package/layers/CSVLayer.d.ts +7 -1
- package/layers/CatalogLayer.d.ts +6 -0
- package/layers/DimensionFeatureLayer.d.ts +263 -32
- package/layers/DimensionFeatureLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +45 -8
- package/layers/FeatureLayer.js +1 -1
- package/layers/GeoJSONLayer.d.ts +14 -8
- package/layers/LinkChartLayer.js +1 -1
- package/layers/MapImageLayer.d.ts +5 -5
- package/layers/MediaLayer.d.ts +2 -2
- package/layers/OrientedImageryLayer.d.ts +29 -2
- package/layers/ParquetLayer.d.ts +7 -1
- package/layers/SceneLayer.d.ts +5 -3
- package/layers/SceneLayer.js +1 -1
- package/layers/StreamLayer.d.ts +1 -1
- package/layers/SubtypeGroupLayer.d.ts +7 -1
- package/layers/TileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +8 -2
- package/layers/VideoLayer.js +1 -1
- package/layers/VoxelLayer.d.ts +4 -4
- package/layers/WCSLayer.d.ts +2 -2
- package/layers/WFSLayer.d.ts +6 -0
- package/layers/WebTileLayer.d.ts +1 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +60 -11
- package/layers/graphics/sources/FeatureLayerSource.js +1 -1
- package/layers/graphics/sources/parquet/FileProvider.js +1 -1
- package/layers/graphics/sources/parquet/ParquetFileInfo.js +2 -0
- package/layers/graphics/sources/parquet/ParquetFileStatistics.js +2 -0
- package/layers/graphics/sources/parquet/PortalParquetFileProvider.js +1 -1
- package/layers/graphics/sources/parquet/PortalParquetLayerFileProvider.js +1 -1
- package/layers/graphics/sources/parquet/UrlsFileProvider.js +1 -1
- package/layers/graphics/sources/parquet/createFileProvider.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +6 -0
- package/layers/mixins/ArcGISImageService.d.ts +7 -1
- package/layers/mixins/BlendLayer.d.ts +1 -1
- package/layers/mixins/DataSeriesLayer.d.ts +161 -0
- package/layers/mixins/DataSeriesLayer.js +2 -0
- package/layers/mixins/FeatureLayerBase.d.ts +43 -19
- package/layers/mixins/TemporalLayer.d.ts +4 -2
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/support/AnnotationSublayer.d.ts +44 -0
- package/layers/support/AnnotationSublayer.js +2 -0
- package/layers/support/DateTimeFieldFormat.d.ts +10 -10
- package/layers/support/FeatureEffect.d.ts +22 -22
- package/layers/support/FeatureReductionBinning.d.ts +12 -0
- package/layers/support/FeatureReductionCluster.d.ts +12 -0
- package/layers/support/Field.d.ts +2 -2
- package/layers/support/ImageElement.d.ts +1 -1
- package/layers/support/MosaicRule.d.ts +0 -2
- package/layers/support/NumberFieldFormat.d.ts +5 -5
- package/layers/support/StreamConnection.d.ts +1 -1
- package/layers/support/Sublayer.d.ts +2 -2
- package/layers/support/SubtypeSublayer.d.ts +14 -1
- package/layers/support/TimeSeriesFieldTimeMapping.d.ts +30 -0
- package/layers/support/TimeSeriesFieldTimeMapping.js +2 -0
- package/layers/support/TimeSeriesInfo.d.ts +149 -0
- package/layers/support/TimeSeriesInfo.js +2 -0
- package/layers/support/VideoElement.d.ts +1 -1
- package/layers/support/commonProperties.js +1 -1
- package/layers/support/dataSeriesUtils.d.ts +18 -0
- package/layers/support/dataSeriesUtils.js +2 -0
- package/layers/support/featureLayerUtils.js +1 -1
- package/layers/support/kmlUtils.js +1 -1
- package/layers/support/layerUtils.js +1 -1
- package/layers/support/parquetUtils.js +1 -1
- package/layers/support/tiles3DUtils.js +1 -1
- package/layers/support/timeSeriesUtils.d.ts +27 -0
- package/layers/support/timeSeriesUtils.js +2 -0
- package/layers/types.d.ts +1 -1
- package/layers/video/types.d.ts +61 -1
- package/libs/parquet/parquet.js +1 -1
- package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
- package/networks/CircuitManager.d.ts +1 -1
- package/networks/Network.d.ts +1 -1
- package/networks/UnitIdentifierManager.d.ts +1 -1
- package/networks/support/NamedTraceConfiguration.d.ts +1 -1
- package/networks/support/TraceConfiguration.d.ts +2 -2
- package/networks/support/UNTraceConfiguration.d.ts +3 -3
- package/networks/support/jsonTypes.d.ts +7 -1
- package/networks/support/utils.js +1 -1
- package/package.json +3 -3
- package/popup/content/CustomContent.d.ts +1 -1
- package/portal/Portal.d.ts +2 -2
- package/portal/jsonTypes.d.ts +2 -2
- package/renderers/support/AuthoringInfo.d.ts +14 -1
- package/renderers/support/AuthoringInfo.js +1 -1
- package/renderers/support/AuthoringInfoVisualVariable.d.ts +14 -1
- package/renderers/support/AuthoringInfoVisualVariable.js +1 -1
- package/renderers/support/jsonUtils.d.ts +1 -1
- package/renderers/support/utils.d.ts +1 -1
- package/renderers/visualVariables/RotationVariable.d.ts +16 -1
- package/renderers/visualVariables/RotationVariable.js +1 -1
- package/request/types.d.ts +41 -43
- package/rest/geometryService.d.ts +1 -1
- package/rest/knowledgeGraph/CreateReplicaResponse.d.ts +1 -1
- package/rest/knowledgeGraph/GraphApplyEdits.d.ts +1 -1
- package/rest/knowledgeGraph/GraphProperty.d.ts +5 -1
- package/rest/knowledgeGraph/GraphQueryStreamingResult.d.ts +2 -2
- package/rest/knowledgeGraph/wasmInterface/wasmToDataModelFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToQueryResponseObjFactories.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +1 -1
- package/rest/knowledgeGraphService.d.ts +13 -13
- package/rest/layerSources/DynamicDataLayer.d.ts +1 -1
- package/rest/print.d.ts +1 -1
- package/rest/support/AttributeBinsQuery.d.ts +16 -2
- package/rest/support/ClosestFacilityParameters.d.ts +6 -6
- package/rest/support/LastMileDeliveryParameters.d.ts +4 -4
- package/rest/support/LocationToAddressParameters.d.ts +1 -1
- package/rest/support/PrintTemplate.d.ts +5 -5
- package/rest/support/Query.d.ts +18 -4
- package/rest/support/RouteParameters.d.ts +5 -5
- package/rest/support/ServiceAreaParameters.d.ts +6 -6
- package/rest/support/TopFeaturesQuery.d.ts +16 -2
- package/rest/support/meshFeatureSet.js +1 -1
- package/smartMapping/renderers/color.d.ts +40 -0
- package/smartMapping/renderers/color.js +1 -1
- package/smartMapping/renderers/opacity.d.ts +8 -0
- package/smartMapping/renderers/opacity.js +1 -1
- package/smartMapping/renderers/size.d.ts +38 -0
- package/smartMapping/renderers/size.js +1 -1
- package/smartMapping/renderers/support/regenerateUtils.js +1 -1
- package/smartMapping/renderers/support/timeSeriesUtils.js +2 -0
- package/smartMapping/renderers/type.d.ts +20 -1
- package/smartMapping/renderers/type.js +1 -1
- package/smartMapping/renderers/univariateColorSize.d.ts +19 -0
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/support/revision.js +1 -1
- package/support/tests/setupServiceMocksMesh.js +1 -1
- package/support/timeUtils.d.ts +3 -3
- package/symbols/Font.d.ts +7 -7
- package/symbols/WebStyleSymbol.d.ts +11 -11
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
- package/symbols/support/Symbol3DEmissive.d.ts +8 -2
- package/symbols/support/jsonUtils.d.ts +1 -1
- package/time/TimeExtent.d.ts +2 -2
- package/versionManagement/VersionManagementService.d.ts +8 -8
- package/versionManagement/VersionManager.d.ts +13 -3
- package/versionManagement/VersioningState.d.ts +4 -4
- package/views/2d/MapViewConstraints.d.ts +29 -25
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/styles/Particles.js +1 -1
- package/views/2d/engine/flow/styles/Streamlines.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexOutlineFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/BaseLayerView2D.d.ts +4 -20
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +6 -22
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/GeoRSSLayerView2D.js +1 -1
- package/views/2d/layers/GraphicsLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/KMLLayerView2D.js +1 -1
- package/views/2d/layers/MapNotesLayerView2D.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/RouteLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetSnapshotLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
- package/views/2d/layers/graphics/GraphicStore.js +1 -1
- package/views/2d/support/hitTestUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightAggregateManipulatedObject3D.js +2 -0
- package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightPlacementLeafPlugin.js +2 -0
- package/views/3d/analysis/LineOfSight/LineOfSightPlacementTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +2 -0
- package/views/3d/analysis/LineOfSight/LineOfSightRootPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool2.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSnappingController.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.d.ts +1 -1
- package/views/3d/glTF/internal/resourceUtils.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
- package/views/3d/interactive/editingTools/reshape/ReshapeTool3D.js +1 -1
- package/views/3d/interactive/editingTools/reshape/isSupportedObject.js +1 -1
- package/views/3d/interactive/editingTools/reshape/reshapeTooltipUtils3D.js +1 -1
- package/views/3d/interactive/editingTools/visualElementUtils.js +1 -1
- package/views/3d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles3D.js +1 -1
- package/views/3d/layers/FlowSubView3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/webgl/RenderNode.d.ts +32 -11
- package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ToneMapping.glsl.js +6 -10
- package/views/BreakpointsOwner.d.ts +1 -1
- package/views/DOMContainer.d.ts +6 -6
- package/views/Magnifier.d.ts +1 -1
- package/views/MapView.d.ts +1 -1
- package/views/SceneView.d.ts +2 -2
- package/views/View2D.d.ts +62 -54
- package/views/Viewport2DMixin.d.ts +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +1 -1
- package/views/draw/plugins/PolygonPlugin.js +1 -1
- package/views/input/gamepad/GamepadInputDevice.d.ts +1 -1
- package/views/input/types.d.ts +15 -15
- package/views/interactive/interactiveToolUtils.js +1 -1
- package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
- package/views/interactive/snapping/LineSnapper.js +1 -1
- package/views/interactive/snapping/ParallelLineSnapper.js +1 -1
- package/views/interactive/snapping/RightAngleSnapper.js +1 -1
- package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
- package/views/interactive/snapping/SnappingAlgorithm.js +1 -1
- package/views/interactive/snapping/SnappingManager.js +1 -1
- package/views/interactive/snapping/snappingUtils.js +1 -1
- package/views/layers/FeatureLikeLayerView.d.ts +32 -5
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/GraphicsLayerView.d.ts +6 -3
- package/views/layers/ImageryLayerView.d.ts +4 -0
- package/views/navigation/Navigation.d.ts +1 -1
- package/views/support/WebAssemblyRequirements.js +1 -1
- package/views/types.d.ts +5 -5
- package/webdoc/support/webdocSaveUtils.js +1 -1
- package/webscene/Glow.d.ts +0 -4
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapLayerList.d.ts +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +10 -2
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/ReactiveContingentValuesManager.js +1 -1
- package/widgets/BatchAttributeForm/attachmentUtils.d.ts +14 -0
- package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +8 -6
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/attachmentValidationCriteriaState.d.ts +5 -0
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/inputs/types.d.ts +8 -1
- package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
- package/widgets/BatchAttributeForm/rendered-content/RelationshipDetails.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm.d.ts +10 -2
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Bookmarks.d.ts +1 -1
- package/widgets/BuildingExplorer.d.ts +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -2
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
- package/widgets/CoordinateConversion.d.ts +2 -2
- package/widgets/Daylight.d.ts +1 -1
- package/widgets/Directions.d.ts +1 -1
- package/widgets/Editor.d.ts +1 -1
- package/widgets/Feature.d.ts +1 -1
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/FieldColumn.d.ts +1 -14
- package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
- package/widgets/FeatureTable/Grid/Column.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/GroupColumn.js +1 -1
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/FeatureTemplates.d.ts +1 -1
- package/widgets/FloorFilter.d.ts +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +3 -3
- package/widgets/Fullscreen/FullscreenViewModel.js +1 -1
- package/widgets/Fullscreen.d.ts +3 -3
- package/widgets/LayerList/ListItemPanel.d.ts +5 -5
- package/widgets/Legend.d.ts +1 -1
- package/widgets/Locate/LocateViewModel.d.ts +2 -2
- package/widgets/Locate.d.ts +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/Popup.d.ts +1 -1
- package/widgets/Print/PrintViewModel.d.ts +2 -2
- package/widgets/Print/PrintViewModel.js +1 -1
- package/widgets/Print/TemplateOptions.d.ts +4 -4
- package/widgets/Print.d.ts +6 -6
- package/widgets/Search/SearchViewModel.d.ts +5 -5
- package/widgets/Search.d.ts +4 -4
- package/widgets/ShadowCast.d.ts +1 -1
- package/widgets/Sketch/SketchViewModel.d.ts +1 -1
- package/widgets/Slice.d.ts +1 -1
- package/widgets/TableList/ListItemPanel.d.ts +5 -5
- package/widgets/Track/TrackViewModel.d.ts +3 -3
- package/widgets/Track.d.ts +3 -3
- package/widgets/UtilityNetworkTrace.d.ts +1 -1
- package/widgets/VersionManagement/VersionManagementViewModel.d.ts +2 -2
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +7 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
- package/widgets/Weather.d.ts +1 -1
- package/widgets/Widget.d.ts +1 -1
- package/widgets/support/ContingentValuesManager.js +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/widgets/support/types.d.ts +1 -1
- package/widgets/support/widget.d.ts +6 -6
- package/assets/esri/core/workers/chunks/02aaeaa988e9e7d65a7f.js +0 -1
- package/assets/esri/core/workers/chunks/07a242ea908aa8e2ba28.js +0 -1
- package/assets/esri/core/workers/chunks/0a780a883abfcdf0b900.js +0 -1
- package/assets/esri/core/workers/chunks/0fbf9bf52ecb4cd8293b.js +0 -1
- package/assets/esri/core/workers/chunks/119d352dd586f2bb61ec.js +0 -1
- package/assets/esri/core/workers/chunks/130784a27661de6b52a5.js +0 -1
- package/assets/esri/core/workers/chunks/145364aa20b4435294c2.js +0 -1
- package/assets/esri/core/workers/chunks/14c6419568d8a7a15cd6.js +0 -1
- package/assets/esri/core/workers/chunks/153dc2a0b08a0e44a881.js +0 -1
- package/assets/esri/core/workers/chunks/1595dc499a06b23b6a96.js +0 -1
- package/assets/esri/core/workers/chunks/16713986893adfbc9331.js +0 -1
- package/assets/esri/core/workers/chunks/1765042635084f75d2b3.js +0 -1
- package/assets/esri/core/workers/chunks/179c9fe4ac83b42e5976.js +0 -1
- package/assets/esri/core/workers/chunks/1c1515e020e32e177b54.js +0 -1
- package/assets/esri/core/workers/chunks/1c64e10f966e26af6fed.js +0 -1
- package/assets/esri/core/workers/chunks/1ddbf5f507ac153234be.js +0 -1
- package/assets/esri/core/workers/chunks/201007cf1a91e2b126fc.js +0 -1
- package/assets/esri/core/workers/chunks/20d0adc678f11981059c.js +0 -1
- package/assets/esri/core/workers/chunks/227eff8aa4a6f5f03bc2.js +0 -1
- package/assets/esri/core/workers/chunks/233ff588798c8a5eedf4.js +0 -1
- package/assets/esri/core/workers/chunks/24647e7424798dccdaf5.js +0 -1
- package/assets/esri/core/workers/chunks/249616ea2d90d40a8299.js +0 -1
- package/assets/esri/core/workers/chunks/24d9e4f1c7b8ff0d2cce.js +0 -1
- package/assets/esri/core/workers/chunks/24eaf1349ffe10e616e6.js +0 -1
- package/assets/esri/core/workers/chunks/29615df388a0df022d8c.js +0 -1
- package/assets/esri/core/workers/chunks/2bcd4d395bfe6a19ccc8.js +0 -1
- package/assets/esri/core/workers/chunks/2bd334f9ab89334df713.js +0 -1
- package/assets/esri/core/workers/chunks/2c8584ec1c3c9fd5aba2.js +0 -1
- package/assets/esri/core/workers/chunks/2d374cc8c54a722a7afe.js +0 -1
- package/assets/esri/core/workers/chunks/2e11b4e9d66474a60064.js +0 -1
- package/assets/esri/core/workers/chunks/2fa080539d039c92ce08.js +0 -1
- package/assets/esri/core/workers/chunks/3109b05fe4fc40d4f25b.js +0 -1
- package/assets/esri/core/workers/chunks/31442f25d550ead58fc4.js +0 -1
- package/assets/esri/core/workers/chunks/319ff04282dc8ae38b56.js +0 -2
- package/assets/esri/core/workers/chunks/32323b0e0fcecd8f640e.js +0 -1
- package/assets/esri/core/workers/chunks/330da3828eefd8d72d3f.js +0 -1
- package/assets/esri/core/workers/chunks/3402fb9c596b582311c7.js +0 -1
- package/assets/esri/core/workers/chunks/388e71e8f2ec41bfa5a9.js +0 -1
- package/assets/esri/core/workers/chunks/3a6678ee9990d7e83e15.js +0 -1
- package/assets/esri/core/workers/chunks/3aacaa1be5efeac23a37.js +0 -1
- package/assets/esri/core/workers/chunks/3b3986276e70297d573b.js +0 -1
- package/assets/esri/core/workers/chunks/3b765a8cac9e92f644f2.js +0 -1
- package/assets/esri/core/workers/chunks/3bf6d55511cd7722eb93.js +0 -1
- package/assets/esri/core/workers/chunks/3e012cd3ca4451f89f59.js +0 -1
- package/assets/esri/core/workers/chunks/40910c69307e2d2d3f28.js +0 -1
- package/assets/esri/core/workers/chunks/423a9882abd4a6dadf86.js +0 -1
- package/assets/esri/core/workers/chunks/428561df7ba6f02e2d80.js +0 -1
- package/assets/esri/core/workers/chunks/45323491f9005629c602.js +0 -1
- package/assets/esri/core/workers/chunks/46d0a25d33b5b328cfce.js +0 -1
- package/assets/esri/core/workers/chunks/46fbd519cc1a37923bfc.js +0 -1
- package/assets/esri/core/workers/chunks/47dd2bfecc5c4b5f10f0.js +0 -1
- package/assets/esri/core/workers/chunks/4845df00f6ebcce6ea3e.js +0 -1
- package/assets/esri/core/workers/chunks/48fcc10768d93e95a04e.js +0 -1
- package/assets/esri/core/workers/chunks/49f6c9e9980b8c624fd7.js +0 -1
- package/assets/esri/core/workers/chunks/4a9dd9f8aa98882218f3.js +0 -1
- package/assets/esri/core/workers/chunks/4bfffdfbe6d467f143a4.js +0 -1
- package/assets/esri/core/workers/chunks/4ef53455c8bc6efee80e.js +0 -1
- package/assets/esri/core/workers/chunks/518046d2b95a7590a092.js +0 -1
- package/assets/esri/core/workers/chunks/51ee6102f5f4840a5b47.js +0 -1
- package/assets/esri/core/workers/chunks/54dad475dc806a38c287.js +0 -1
- package/assets/esri/core/workers/chunks/552945a73a95cd2a9f54.js +0 -1
- package/assets/esri/core/workers/chunks/58155f24f8ed6aca7a21.js +0 -1
- package/assets/esri/core/workers/chunks/5838f46d341d2fde42ee.js +0 -1
- package/assets/esri/core/workers/chunks/58994b6bfcda5f2ada80.js +0 -1
- package/assets/esri/core/workers/chunks/592a599f514de373dead.js +0 -1
- package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +0 -1
- package/assets/esri/core/workers/chunks/5f9bacee6fbf9ac1bca0.js +0 -1
- package/assets/esri/core/workers/chunks/62206d5d497b95fc4caf.js +0 -1
- package/assets/esri/core/workers/chunks/624b1bb269744142b835.js +0 -1
- package/assets/esri/core/workers/chunks/64daa2a714e59d22bbd4.js +0 -1
- package/assets/esri/core/workers/chunks/65621650a53f69f7b05a.js +0 -1
- package/assets/esri/core/workers/chunks/6637f19b82555738a1d5.js +0 -1
- package/assets/esri/core/workers/chunks/6c9933f948efd7923aa1.js +0 -1
- package/assets/esri/core/workers/chunks/6cab67fc7044ee9b863b.js +0 -1
- package/assets/esri/core/workers/chunks/6db274f6767102a39021.js +0 -1
- package/assets/esri/core/workers/chunks/7014e73dfd3c8baa704c.js +0 -1
- package/assets/esri/core/workers/chunks/76589434d573111a8fb4.js +0 -1
- package/assets/esri/core/workers/chunks/767ea5b455b3823afd09.js +0 -1
- package/assets/esri/core/workers/chunks/77769663cd712822d33e.js +0 -1
- package/assets/esri/core/workers/chunks/77859a61d059738d057f.js +0 -1
- package/assets/esri/core/workers/chunks/7b564226def99fcf79d8.js +0 -1
- package/assets/esri/core/workers/chunks/7bbffe07e62897928773.js +0 -1
- package/assets/esri/core/workers/chunks/7cadfd7444a2a05cf2fb.js +0 -1
- package/assets/esri/core/workers/chunks/823789261ca3338f0fa8.js +0 -1
- package/assets/esri/core/workers/chunks/84b0b6e099d949e0fea5.js +0 -1
- package/assets/esri/core/workers/chunks/8c5a41ae68775bac3446.js +0 -1
- package/assets/esri/core/workers/chunks/8f94c90fdb0333da2d0f.js +0 -1
- package/assets/esri/core/workers/chunks/9133c1b7cc1c9da27deb.js +0 -1
- package/assets/esri/core/workers/chunks/9a6e62ef984e9c5babc4.js +0 -1
- package/assets/esri/core/workers/chunks/9d27cc631bab8aa7479e.js +0 -1
- package/assets/esri/core/workers/chunks/9dcfaca1f4fa8c8026ac.js +0 -1
- package/assets/esri/core/workers/chunks/9f23a61c60949459c14f.js +0 -30
- package/assets/esri/core/workers/chunks/a03c4c0bf138734a002e.js +0 -1
- package/assets/esri/core/workers/chunks/a0fa60a24e58f7a47e41.js +0 -1
- package/assets/esri/core/workers/chunks/a806ac351ef5da04c250.js +0 -1
- package/assets/esri/core/workers/chunks/ab94c9f62462d7a98f6a.js +0 -1
- package/assets/esri/core/workers/chunks/abdb05754c50776c3edd.js +0 -1
- package/assets/esri/core/workers/chunks/ad488985824fbb830ed6.js +0 -1
- package/assets/esri/core/workers/chunks/b08a1255dacf6cfcf139.js +0 -640
- package/assets/esri/core/workers/chunks/b098469e0010a6b44df9.js +0 -1
- package/assets/esri/core/workers/chunks/b0ac4b0b7aec70cfe6eb.js +0 -1
- package/assets/esri/core/workers/chunks/b1f1271434af302938e8.js +0 -1
- package/assets/esri/core/workers/chunks/bfbd1ca28ed2f263e58f.js +0 -1
- package/assets/esri/core/workers/chunks/c1b6de0d728d25d7905a.js +0 -1
- package/assets/esri/core/workers/chunks/c27cb2a83a1d2e004501.js +0 -1
- package/assets/esri/core/workers/chunks/c44be4aaba829e6d149d.js +0 -1
- package/assets/esri/core/workers/chunks/ca1b0cb14ea9ae1bf2a3.js +0 -1
- package/assets/esri/core/workers/chunks/ca4245414d8ecd217f9d.js +0 -1
- package/assets/esri/core/workers/chunks/cc479daacd2cf715baa8.js +0 -1
- package/assets/esri/core/workers/chunks/ce0e627a5e1cb78adce8.js +0 -1
- package/assets/esri/core/workers/chunks/cf7acf5acb6d322fd996.js +0 -1
- package/assets/esri/core/workers/chunks/d3af51a6d9014ff46170.js +0 -1
- package/assets/esri/core/workers/chunks/d561dc933d8fe1672d85.js +0 -1
- package/assets/esri/core/workers/chunks/d81291dac1932350eccd.js +0 -1
- package/assets/esri/core/workers/chunks/da3c54e27a808f4fcc18.js +0 -1
- package/assets/esri/core/workers/chunks/dc6d50e1097a920ff820.js +0 -1
- package/assets/esri/core/workers/chunks/dd58286dde3b20356f84.js +0 -1
- package/assets/esri/core/workers/chunks/dfeddb7b17fa9eaae64c.js +0 -1
- package/assets/esri/core/workers/chunks/e38836bfcc7a15a2fd1f.js +0 -1
- package/assets/esri/core/workers/chunks/e4e0c5a45cf32973d5d5.js +0 -1
- package/assets/esri/core/workers/chunks/e638391801ad83fe4a68.js +0 -1
- package/assets/esri/core/workers/chunks/e645f992ec6f935ee3a5.js +0 -1
- package/assets/esri/core/workers/chunks/e755477dc78e9d6038d4.js +0 -1
- package/assets/esri/core/workers/chunks/e7712467db46e1385cf4.js +0 -1
- package/assets/esri/core/workers/chunks/e9dcc3e9dbafe9bbed84.js +0 -1
- package/assets/esri/core/workers/chunks/ea8f642b1db933d2c26f.js +0 -1
- package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +0 -1
- package/assets/esri/core/workers/chunks/ed2cb60e4f17f46fb78d.js +0 -1
- package/assets/esri/core/workers/chunks/edb55329305becdb204f.js +0 -1
- package/assets/esri/core/workers/chunks/eedee0af459e6b8a6116.js +0 -1
- package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +0 -1
- package/assets/esri/core/workers/chunks/f1fb2f12371f4c562079.js +0 -1
- package/assets/esri/core/workers/chunks/f3dfe1bd1146a6927407.js +0 -1
- package/assets/esri/core/workers/chunks/f79bd469b25099a31274.js +0 -1
- package/assets/esri/core/workers/chunks/ff48334528d2554db4fe.js +0 -1
- package/views/3d/analysis/LineOfSight/LineOfSightAuthoringStore.js +0 -2
- /package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js.LICENSE.txt → 62e77e3c5ca9b4887923.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{319ff04282dc8ae38b56.js.LICENSE.txt → 68f9b2da1fd08785320f.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js.LICENSE.txt → 9629601de5e44ffe90ea.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js.LICENSE.txt → d9d4754062758789f186.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js.LICENSE.txt → f5731ad4cfbbf1cc569a.js.LICENSE.txt} +0 -0
package/geometry/Mesh.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{ClonableMixin as t}from"../core/Clonable.js";import
|
|
2
|
+
import{__decorate as e}from"tslib";import{ClonableMixin as t}from"../core/Clonable.js";import{LoadableMixin as r}from"../core/Loadable.js";import o from"../core/Logger.js";import{EsriPromiseMixin as s}from"../core/Promise.js";import{throwIfAborted as n,isPromiseLike as i,whenOrAbort as a}from"../core/promiseUtils.js";import{watch as p}from"../core/reactiveUtils.js";import{property as c,subclass as l}from"../core/accessorSupport/decorators.js";import{fromValues as m}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import h from"./Geometry.js";import u from"./Point.js";import d from"./Polygon.js";import{create as f,fromBuffer as g,zero as y}from"./support/aaBoundingBox.js";import{composeAxes as x,create as v}from"./support/axisAngleDegrees.js";import j from"./support/MeshComponent.js";import{componentNotFoundMessage as S,meshNotLoadedMessage as b,invalidLocationMessage as w,invalidPolygonMessage as L,InvalidLocationError as A}from"./support/meshErrors.js";import M from"./support/MeshGeoreferencedVertexSpace.js";import U from"./support/MeshLocalVertexSpace.js";import C from"./support/MeshTransform.js";import _ from"./support/MeshVertexAttributes.js";import{vertexSpaceOriginToPoint as F,isRelativeVertexSpace as B}from"./support/meshVertexSpaceUtils.js";import{centerAt as P}from"./support/meshUtils/centerAt.js";import{computeMeshExtent as R}from"./support/meshUtils/extent.js";import{loadExternal as E}from"./support/meshUtils/loadExternal.js";import{addMeshMaterialCloneContext as G,addMeshTextureCloneContext as I,getMeshCloneContext as k}from"./support/meshUtils/meshCloneUtils.js";import{Metadata as T}from"./support/meshUtils/Metadata.js";import{convertUnitGeometry as O,createUnitSizeBox as z,extractSingleFaceOfBox as V,createUnitSizeSphere as D,createUnitSizeCylinder as N,convertPlaneSizeParameter as Z,createUnitSizePlane as H}from"./support/meshUtils/primitives.js";import{rotate as K}from"./support/meshUtils/rotate.js";import{scale as q}from"./support/meshUtils/scale.js";import{polygonToRenderInfoNotElevationAligned as J}from"../views/3d/support/renderInfoUtils/polygon.js";var Q;const W={base:null,key:"type",defaultKeyValue:"georeferenced",typeMap:{georeferenced:M,local:U}};let X=Q=class extends(t(r(s(h)))){constructor(e){super(e),this.components=null,this.vertexSpace=new M,this.transform=null,this.metadata=new T,this.hasZ=!0,this.hasM=!1,this.vertexAttributes=new _,this.type="mesh"}initialize(){(0===this.metadata.externalSources.length||this.vertexAttributes.position.length)&&(this.loadStatus="loaded"),this.when(()=>{this.addHandles(p(()=>({vertexAttributes:this.vertexAttributes,components:this.components?.map(e=>e.clone())}),()=>this._clearSources(),{once:!0,sync:!0}))})}get hasExtent(){return this.loaded?this.vertexAttributes.position.length>0&&(!this.components||this.components.length>0):null!=this.metadata.displaySource?.extent}get _transformedExtent(){const{spatialReference:e,vertexSpace:t}=this,r=this;return R({get transform(){return r.transform},vertexSpace:t,spatialReference:e,untransformedBounds:this._untransformedBounds})}get _untransformedBounds(){const{vertexAttributes:{position:e},components:t}=this;return 0===e.length||0===t?.length?f(y):g(e)}get origin(){const e=F(this.vertexSpace,this.spatialReference);if(null!=e)return e;const{center:t,zmin:r}=this._transformedExtent;return new u({x:t.x,y:t.y,z:r,spatialReference:this.spatialReference})}get extent(){return this.loaded||null==this.metadata?.displaySource?.extent?this._transformedExtent:this.metadata.displaySource.extent.clone()}addComponent(e){this._checkIfLoaded("addComponent()")&&(this.components||(this.components=[]),this.components.push(j.from(e)),this.notifyChange("components"))}removeComponent(e){if(this._checkIfLoaded("removeComponent()")){if(this.components){const t=this.components.indexOf(e);if(-1!==t)return this.components.splice(t,1),void this.notifyChange("components")}o.getLogger(this).error("removeComponent()",S)}}rotate(e,t,r,o){return x(e,t,r,Y),K(this,Y,o),this}offset(e,t,r){if(!this._checkIfLoaded("offset()"))return this;const{vertexSpace:o,vertexAttributes:s}=this,n=s?.position;if(!n)return this;if(B(o)){const[s,n,i]=o.origin;o.origin=m(s+e,n+t,i+r)}else{for(let o=0;o<n.length;o+=3)n[o]+=e,n[o+1]+=t,n[o+2]+=r;this.vertexAttributesChanged()}return this}scale(e,t){return this._checkIfLoaded("scale()")?(q(this,e,t),this):this}centerAt(e,t){return this._checkIfLoaded("centerAt()")?(P(this,e,t),this):this}load(e){const{metadata:{displaySource:t}}=this;return t&&this.addResolvingPromise(E(this,t,e)),Promise.resolve(this)}addExternalSources(e){this.metadata.externalSources.addMany(e)}updateDisplaySource(e){this.metadata.displaySource=e}clone(e){return super.clone(G(I(e)))}cloneShallow(){return new Q({components:this.components,spatialReference:this.spatialReference,vertexAttributes:this.vertexAttributes,vertexSpace:this.vertexSpace.clone(),transform:this.transform,metadata:this.metadata})}vertexAttributesChanged(){this.notifyChange("vertexAttributes")}async toBinaryGLTF(e){const[{toBinaryGLTF:t}]=await Promise.all([import("./support/meshUtils/exporters/gltf/gltfexport.js"),this.load(e)]);return n(e),await t(this,e)}get usedMemory(){return this.components?this.components.reduce((e,t)=>e+t.memoryUsage,this.vertexAttributes.usedMemory):this.vertexAttributes.usedMemory}_clearSources(){this.metadata.clearSources()}_checkIfLoaded(e){return!!this.loaded||(o.getLogger(this).error(e,b),!1)}static createBox(e,t){if(!(e instanceof u))return o.getLogger(this.prototype).error(".createBox()",w),null;const r=new Q(O(z(),e,t));return t?.imageFace&&"all"!==t.imageFace?V(r,t.imageFace):r}static createSphere(e,t){return e instanceof u?new Q(O(D(t?.densificationFactor||0),e,t)):(o.getLogger(this.prototype).error(".createSphere()",w),null)}static createCylinder(e,t){return e instanceof u?new Q(O(N(t?.densificationFactor||0),e,t)):(o.getLogger(this.prototype).error(".createCylinder()",w),null)}static createPlane(e,t){if(!(e instanceof u))return o.getLogger(this.prototype).error(".createPlane()",w),null;const r=t?.facing??"up",s=Z(r,t?.size);return new Q(O(H(r),e,{...t,size:s}))}static createFromPolygon(e,t){if(!(e instanceof d))return o.getLogger(this.prototype).error(".createFromPolygon()",L),null;const r=J(e,{method:"earcut"}),s=i(r)?null:r,n=s?.positions??[],a=s?.polygonIndices??[];return new Q({vertexAttributes:new _({position:n}),components:[new j({faces:a,shading:"flat",material:t?.material??null})],spatialReference:e.spatialReference,vertexSpace:new M})}static async createFromGLTF(e,t,r){if(!(e instanceof u)){const e=new A;throw o.getLogger(this.prototype).error(".createfromGLTF()",e.message),e}const{loadGLTFMesh:s}=await a(import("./support/meshUtils/loadGLTFMesh.js"),r);return new Q((await s(e,t,r)).mesh)}};e([c({type:[j],json:{write:!0}})],X.prototype,"components",void 0),e([c({nonNullable:!0,types:W,constructOnly:!0,json:{write:!0},clonable:(e,t)=>k(t)?.vertexSpace??e.clone(t)})],X.prototype,"vertexSpace",void 0),e([c({type:C,clonable:(e,t)=>{const r=k(t);return r&&"transform"in r?r.transform:e?.clone()??e},json:{write:!0}})],X.prototype,"transform",void 0),e([c({constructOnly:!0,type:T,clonable:(e,t)=>k(t)?.metadata??e.clone()})],X.prototype,"metadata",void 0),e([c()],X.prototype,"hasExtent",null),e([c()],X.prototype,"_transformedExtent",null),e([c()],X.prototype,"_untransformedBounds",null),e([c()],X.prototype,"origin",null),e([c({readOnly:!0,json:{read:!1}})],X.prototype,"extent",null),e([c({readOnly:!0,json:{read:!1,write:!0,default:!0}})],X.prototype,"hasZ",void 0),e([c({readOnly:!0,json:{read:!1,write:!0,default:!1}})],X.prototype,"hasM",void 0),e([c({type:_,nonNullable:!0,json:{write:!0},clonable:(e,t)=>k(t)?.vertexAttributes??e.clone(t)})],X.prototype,"vertexAttributes",void 0),X=Q=e([l("esri.geometry.Mesh")],X);const Y=v();export{X as default};
|
package/geometry/Multipoint.d.ts
CHANGED
|
@@ -36,6 +36,15 @@ export default class Multipoint extends BaseGeometry {
|
|
|
36
36
|
* @returns A new instance of a Multipoint object equal to the object used to call `.clone()`.
|
|
37
37
|
*/
|
|
38
38
|
clone(): Multipoint;
|
|
39
|
+
/**
|
|
40
|
+
* Determines if the input multipoint is equal to the multipoint calling the function.
|
|
41
|
+
*
|
|
42
|
+
* @param multipoint - The input multipoint to test.
|
|
43
|
+
* @returns Returns `true` if the points and spatial reference of the input multipoint
|
|
44
|
+
* are exactly equal to those of the multipoint calling `equals()`.
|
|
45
|
+
* @since 5.1
|
|
46
|
+
*/
|
|
47
|
+
equals(multipoint: Multipoint | null | undefined): boolean;
|
|
39
48
|
/**
|
|
40
49
|
* Returns the point at the specified index.
|
|
41
50
|
*
|
package/geometry/Multipoint.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as t}from"tslib";import{
|
|
2
|
+
import{__decorate as t}from"tslib";import{equals as e}from"../core/arrayUtils.js";import{clone as s}from"../core/lang.js";import{property as r,subclass as i}from"../core/accessorSupport/decorators.js";import o from"./Extent.js";import n from"./Geometry.js";import p from"./Point.js";import a from"./SpatialReference.js";import{getMultipointExtent as l}from"./support/extentUtils.js";import{comparePoints as h}from"./support/geometryUtils.js";import{updateSupportFromPoint as u}from"./support/zmUtils.js";import{writer as c}from"../core/accessorSupport/decorators/writer.js";var m;function f(t){if(!t)return;let{points:e,hasM:s,hasZ:r,spatialReference:i}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,s??=!0;break;case 3:r??=!0!==s,s??=!r;break;default:r??=!1,s??=!1}return i??=a.WGS84,{...t,hasM:s,hasZ:r,points:e,spatialReference:i}}let y=m=class extends n{constructor(t){super(f(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=l(this);return t?new o({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=s(this.points)}clone(){const{points:t,spatialReference:e,hasM:r,hasZ:i}=this;return new m({points:s(t),spatialReference:e.clone(),hasM:r,hasZ:i})}equals(t){if(this===t)return!0;if(null==t)return!1;const s=this.spatialReference,r=t.spatialReference;return null!=s==(null!=r)&&(!(null!=s&&null!=r&&!s.equals(r))&&e(this.points,t.points,h))}addPoint(t){return u(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],s={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(s.z=e[2],r=3),this.hasM&&(s.m=e[r]),new p(s)}removePoint(t){if(!this._validateInputs(t))return null;const e=new p(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?(u(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};t([r({readOnly:!0})],y.prototype,"cache",null),t([r({readOnly:!0})],y.prototype,"extent",null),t([r({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),t([c("points")],y.prototype,"writePoints",null),y=m=t([i("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0;export{y as default};
|
package/geometry/Point.d.ts
CHANGED
|
@@ -1,41 +1,10 @@
|
|
|
1
1
|
import type Geometry from "./Geometry.js";
|
|
2
2
|
import type { GeometryProperties } from "./Geometry.js";
|
|
3
3
|
|
|
4
|
-
export interface PointProperties extends GeometryProperties, Partial<Pick<Point, "latitude" | "longitude" | "m" | "x" | "y" | "z">> {
|
|
5
|
-
/**
|
|
6
|
-
* Indicates if the geometry has M values.
|
|
7
|
-
*
|
|
8
|
-
* > [!WARNING]
|
|
9
|
-
* >
|
|
10
|
-
* > **M-values** (measure) allow attribute values to be stored at the vertex
|
|
11
|
-
* > of a point. A common usage for storing a measurement in the vertices
|
|
12
|
-
* > along a linear feature are
|
|
13
|
-
* > [linear referencing](https://pro.arcgis.com/en/pro-app/latest/help/data/linear-referencing/introduction-to-linear-referencing.htm)
|
|
14
|
-
* > applications.
|
|
15
|
-
*/
|
|
16
|
-
hasM?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Indicates if the geometry has z-values (elevation).
|
|
19
|
-
*
|
|
20
|
-
* > [!WARNING]
|
|
21
|
-
* >
|
|
22
|
-
* > **Z-values** defined in a geographic or metric coordinate system are
|
|
23
|
-
* > expressed in meters. However, in local scenes that use a
|
|
24
|
-
* > projected coordinate system, vertical units are assumed to be the same as the
|
|
25
|
-
* > horizontal units specified by the service.
|
|
26
|
-
*/
|
|
27
|
-
hasZ?: boolean;
|
|
28
|
-
}
|
|
4
|
+
export interface PointProperties extends GeometryProperties, Partial<Pick<Point, "latitude" | "longitude" | "m" | "x" | "y" | "z">> {}
|
|
29
5
|
|
|
30
6
|
/**
|
|
31
|
-
* A location defined by
|
|
32
|
-
*
|
|
33
|
-
* > [!WARNING]
|
|
34
|
-
* >
|
|
35
|
-
* > **Z-values** defined in a geographic or metric coordinate system are
|
|
36
|
-
* > expressed in meters. However, in local scenes that use a
|
|
37
|
-
* > projected coordinate system, vertical units are assumed to be the same as the
|
|
38
|
-
* > horizontal units specified by the service.
|
|
7
|
+
* A location defined by [x](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#x) and [y](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#y) coordinates, with optional [z](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#z) (elevation) and [m](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#m) (measure) values.
|
|
39
8
|
*
|
|
40
9
|
* @since 4.0
|
|
41
10
|
* @see [Sample - Add graphics (MapView)](https://developers.arcgis.com/javascript/latest/sample-code/intro-graphics/)
|
|
@@ -44,29 +13,6 @@ export interface PointProperties extends GeometryProperties, Partial<Pick<Point,
|
|
|
44
13
|
*/
|
|
45
14
|
export default class Point extends Geometry {
|
|
46
15
|
constructor(properties?: PointProperties);
|
|
47
|
-
/**
|
|
48
|
-
* Indicates if the geometry has M values.
|
|
49
|
-
*
|
|
50
|
-
* > [!WARNING]
|
|
51
|
-
* >
|
|
52
|
-
* > **M-values** (measure) allow attribute values to be stored at the vertex
|
|
53
|
-
* > of a point. A common usage for storing a measurement in the vertices
|
|
54
|
-
* > along a linear feature are
|
|
55
|
-
* > [linear referencing](https://pro.arcgis.com/en/pro-app/latest/help/data/linear-referencing/introduction-to-linear-referencing.htm)
|
|
56
|
-
* > applications.
|
|
57
|
-
*/
|
|
58
|
-
accessor hasM: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Indicates if the geometry has z-values (elevation).
|
|
61
|
-
*
|
|
62
|
-
* > [!WARNING]
|
|
63
|
-
* >
|
|
64
|
-
* > **Z-values** defined in a geographic or metric coordinate system are
|
|
65
|
-
* > expressed in meters. However, in local scenes that use a
|
|
66
|
-
* > projected coordinate system, vertical units are assumed to be the same as the
|
|
67
|
-
* > horizontal units specified by the service.
|
|
68
|
-
*/
|
|
69
|
-
accessor hasZ: boolean;
|
|
70
16
|
/**
|
|
71
17
|
* The latitude of the point. If the spatial reference is Web Mercator, the latitude will be given in WGS84. In any
|
|
72
18
|
* geographic spatial reference, the latitude will equal the [y](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/#y) coordinate. In all other cases the latitude
|
|
@@ -80,15 +26,11 @@ export default class Point extends Geometry {
|
|
|
80
26
|
*/
|
|
81
27
|
accessor longitude: number | null | undefined;
|
|
82
28
|
/**
|
|
83
|
-
* The m-
|
|
29
|
+
* The m-value (measure) of the point.
|
|
84
30
|
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* > of a point. A common usage for storing a measurement in the vertices
|
|
89
|
-
* > along a linear feature are
|
|
90
|
-
* > [linear referencing](https://pro.arcgis.com/en/pro-app/latest/help/data/linear-referencing/introduction-to-linear-referencing.htm)
|
|
91
|
-
* > applications.
|
|
31
|
+
* @see [Geometry.hasM](https://developers.arcgis.com/javascript/latest/references/core/geometry/Geometry/#hasM)
|
|
32
|
+
* @see [FeatureLayerBase.returnM](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/FeatureLayerBase/#returnM) for details regarding fetching m-values with features from a layer
|
|
33
|
+
* @see [Linear referencing](https://pro.arcgis.com/en/pro-app/latest/help/data/linear-referencing/introduction-to-linear-referencing.htm)
|
|
92
34
|
*/
|
|
93
35
|
accessor m: number | undefined;
|
|
94
36
|
/** The string value representing the type of geometry. */
|
|
@@ -106,14 +48,16 @@ export default class Point extends Geometry {
|
|
|
106
48
|
*/
|
|
107
49
|
accessor y: number;
|
|
108
50
|
/**
|
|
109
|
-
* The z-coordinate (or elevation) of the
|
|
51
|
+
* The z-coordinate (or elevation) of the geometry. The units of the z-values are expressed by the vertical unit of the service's vertical
|
|
52
|
+
* coordinate system (VCS) if one is defined. In the absence of a VCS, the vertical units default to the linear units of the service's
|
|
53
|
+
* horizontal coordinate system. If the service's coordinate system is a geographic coordinate system, the z-values are expressed in meters.
|
|
54
|
+
*
|
|
55
|
+
* For display purposes, z-values are automatically scaled to match the linear unit of the view's spatial reference. For example, if a service is in a State Plane
|
|
56
|
+
* projection (with linear units in us feet) but the view's spatial reference is Web Mercator, any displayed z-values (such as in labels) will be scaled and shown
|
|
57
|
+
* in meters.
|
|
110
58
|
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
* > **Z-values** defined in a geographic or metric coordinate system are
|
|
114
|
-
* > expressed in meters. However, in local scenes that use a
|
|
115
|
-
* > projected coordinate system, vertical units are assumed to be the same as the
|
|
116
|
-
* > horizontal units specified by the service.
|
|
59
|
+
* @see [Geometry.hasZ](https://developers.arcgis.com/javascript/latest/references/core/geometry/Geometry/#hasZ)
|
|
60
|
+
* @see [FeatureLayerBase.returnZ](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/FeatureLayerBase/#returnZ) for details regarding fetching z-values with features from a layer
|
|
117
61
|
*/
|
|
118
62
|
accessor z: number | undefined;
|
|
119
63
|
/**
|
package/geometry/Polygon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as t}from"tslib";import{equals as e}from"../core/arrayUtils.js";import{deprecatedProperty as r}from"../core/deprecate.js";import{clone as i}from"../core/lang.js";import s from"../core/Logger.js";import{property as n,subclass as o}from"../core/accessorSupport/decorators.js";import a from"./Extent.js";import l from"./Geometry.js";import h from"./Point.js";import
|
|
2
|
+
import{__decorate as t}from"tslib";import{equals as e}from"../core/arrayUtils.js";import{deprecatedProperty as r}from"../core/deprecate.js";import{clone as i}from"../core/lang.js";import s from"../core/Logger.js";import{property as n,subclass as o}from"../core/accessorSupport/decorators.js";import a from"./Extent.js";import l from"./Geometry.js";import h from"./Point.js";import p from"./SpatialReference.js";import{polygonCentroidPoint as c}from"./support/centroid.js";import{polygonContainsPoint as u}from"./support/contains.js";import{isClockwise as m}from"./support/coordsUtils.js";import{getPolygonExtent as f}from"./support/extentUtils.js";import{comparePoints as g}from"./support/geometryUtils.js";import{project as y}from"./support/webMercatorUtils.js";import{updateSupportFromPoint as R}from"./support/zmUtils.js";import{writer as d}from"../core/accessorSupport/decorators/writer.js";var w;function v(t){return!Array.isArray(t[0])}function x(t){return"number"==typeof t[0]?.[0]}function j(t){if(!t)return;let{rings:e,hasM:r,hasZ:i,spatialReference:s}=t;switch(e??=[],x(e)&&(e=[e]),e[0]?.[0]?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=p.WGS84,{...t,hasM:r,hasZ:i,rings:e,spatialReference:s}}let P=w=class extends l{static fromExtent(t){const e=t.clone().normalize(),{spatialReference:r}=t;let i=!1,s=!1;for(const o of e)o.hasZ&&(i=!0),o.hasM&&(s=!0);const n={rings:e.map(t=>{const e=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(i&&t.hasZ){const r=t.zmin+.5*(t.zmax-t.zmin);for(let t=0;t<e.length;t++)e[t].push(r)}if(s&&t.hasM){const r=t.mmin+.5*(t.mmax-t.mmin);for(let t=0;t<e.length;t++)e[t].push(r)}return e}),spatialReference:r};return i&&(n.hasZ=!0),s&&(n.hasM=!0),new w(n)}constructor(t){super(j(t)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){r(s.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const t=c(this);return t?h.fromJSON(t):null}writeCurveRings(t,e){e.curveRings=i(t)}get extent(){const t=f(this),{spatialReference:e}=this;return t?new a({...t,spatialReference:e}):null}writeRings(t,e){e.rings=i(this.rings)}addRing(t){if(!t)return;const e=this.rings,r=e.length;if(v(t)){const i=[];for(let e=0,r=t.length;e<r;e++)i[e]=t[e].toArray();e[r]=i}else e[r]=t.slice();return this.notifyChange("rings"),this}clone(){const t=new w;return t.spatialReference=this.spatialReference,t.rings=i(this.rings),t.curveRings=i(this.curveRings),t.hasZ=this.hasZ,t.hasM=this.hasM,t}equals(t){if(this===t)return!0;if(null==t)return!1;const r=this.spatialReference,i=t.spatialReference;if(null!=r!=(null!=i))return!1;if(null!=r&&null!=i&&!r.equals(i))return!1;if(this.rings.length!==t.rings.length)return!1;for(let s=0;s<this.rings.length;s++){const r=this.rings[s],i=t.rings[s];if(!e(r,i,g))return!1}return!0}contains(t){if(!t)return!1;const e=y(t,this.spatialReference);return u(this,null!=e?e:t)}isClockwise(t){const e=v(t)?t.map(t=>this.hasZ?this.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y]):t;return m(e)}getPoint(t,e){if(!this._validateInputs(t,e))return null;const r=this.rings[t][e],i=this.hasZ,s=this.hasM;return i&&!s?new h(r[0],r[1],r[2],void 0,this.spatialReference):s&&!i?new h(r[0],r[1],void 0,r[2],this.spatialReference):i&&s?new h(r[0],r[1],r[2],r[3],this.spatialReference):new h(r[0],r[1],this.spatialReference)}insertPoint(t,e,r){return this._validateInputs(t,e,!0)?(R(this,r),Array.isArray(r)||(r=r.toArray()),this.rings[t].splice(e,0,r),this.notifyChange("rings"),this):this}removePoint(t,e){if(!this._validateInputs(t,e))return null;const r=new h(this.rings[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("rings"),r}removeRing(t){if(!this._validateInputs(t,null))return null;const e=this.rings.splice(t,1)[0],r=this.spatialReference,i=e.map(t=>new h(t,r));return this.notifyChange("rings"),i}setPoint(t,e,r){return this._validateInputs(t,e)?(R(this,r),Array.isArray(r)||(r=r.toArray()),this.rings[t][e]=r,this.notifyChange("rings"),this):this}_validateInputs(t,e,r=!1){if(null==t||t<0||t>=this.rings.length)return!1;if(null!=e){const i=this.rings[t];if(r&&(e<0||e>i.length))return!1;if(!r&&(e<0||e>=i.length))return!1}return!0}toJSON(t){return this.write({},t)}};t([n({readOnly:!0})],P.prototype,"cache",null),t([n({readOnly:!0})],P.prototype,"centroid",null),t([n({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],P.prototype,"curveRings",void 0),t([d("curveRings")],P.prototype,"writeCurveRings",null),t([n({readOnly:!0})],P.prototype,"extent",null),t([n({type:[[[Number]]],json:{write:{isRequired:!0}}})],P.prototype,"rings",void 0),t([d("rings")],P.prototype,"writeRings",null),P=w=t([o("esri.geometry.Polygon")],P),P.prototype.toJSON.isDefaultToJSON=!0;export{P as default};
|
|
@@ -57,10 +57,10 @@ export interface MeshMaterialProperties extends Partial<Pick<MeshMaterial, "alph
|
|
|
57
57
|
* The material properties support a number of convenience autocast types, including
|
|
58
58
|
* hex color strings and well-known color strings (autocasts to
|
|
59
59
|
* [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/)), or strings representing URLs to images,
|
|
60
|
-
* [HTMLImageElements](https://developer.mozilla.org/
|
|
61
|
-
* [HTMLCanvasElements](https://developer.mozilla.org/
|
|
62
|
-
* [HTMLVideoElement](https://developer.mozilla.org/
|
|
63
|
-
* or [ImageData](https://developer.mozilla.org/
|
|
60
|
+
* [HTMLImageElements](https://developer.mozilla.org/docs/Web/API/HTMLImageElement),
|
|
61
|
+
* [HTMLCanvasElements](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement),
|
|
62
|
+
* [HTMLVideoElement](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement),
|
|
63
|
+
* or [ImageData](https://developer.mozilla.org/docs/Web/API/ImageData)
|
|
64
64
|
* (autocasts to [MeshTexture](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshTexture/)).
|
|
65
65
|
*
|
|
66
66
|
* ```js
|
|
@@ -81,7 +81,7 @@ export interface MeshMaterialProperties extends Partial<Pick<MeshMaterial, "alph
|
|
|
81
81
|
* url: "./image.png"
|
|
82
82
|
* });
|
|
83
83
|
*
|
|
84
|
-
* const boxMesh =
|
|
84
|
+
* const boxMesh = createBox(location, {
|
|
85
85
|
* material: {
|
|
86
86
|
* colorTexture: meshTextureByUrl
|
|
87
87
|
* }
|
|
@@ -5,11 +5,11 @@ import type { MeshTextureData } from "../types.js";
|
|
|
5
5
|
export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transparent" | "url" | "wrap">> {
|
|
6
6
|
/**
|
|
7
7
|
* A direct reference to the image or video data. The data can be an
|
|
8
|
-
* [image element](https://developer.mozilla.org/
|
|
9
|
-
* [canvas element](https://developer.mozilla.org/
|
|
10
|
-
* [video element](https://developer.mozilla.org/
|
|
11
|
-
* or [ImageData](https://developer.mozilla.org/
|
|
12
|
-
* If the data is set to a [video element](https://developer.mozilla.org/
|
|
8
|
+
* [image element](https://developer.mozilla.org/docs/Web/API/HTMLImageElement),
|
|
9
|
+
* [canvas element](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement),
|
|
10
|
+
* [video element](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
|
11
|
+
* or [ImageData](https://developer.mozilla.org/docs/Web/API/ImageData).
|
|
12
|
+
* If the data is set to a [video element](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement),
|
|
13
13
|
* the element needs to be visible in the DOM.
|
|
14
14
|
* The data property is mutually exclusive with the url property, setting the data will clear the
|
|
15
15
|
* url (if there is one).
|
|
@@ -27,17 +27,17 @@ export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transp
|
|
|
27
27
|
* set either as a [MeshMaterial.colorTexture](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshMaterial/#colorTexture)
|
|
28
28
|
* or as [MeshMaterial.normalTexture](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshMaterial/#normalTexture).
|
|
29
29
|
* Images can be referred to either by url or directly by data (
|
|
30
|
-
* [HTMLImageElement](https://developer.mozilla.org/
|
|
31
|
-
* [HTMLCanvasElement](https://developer.mozilla.org/
|
|
32
|
-
* [HTMLVideoElement](https://developer.mozilla.org/
|
|
33
|
-
* or [ImageData](https://developer.mozilla.org/
|
|
30
|
+
* [HTMLImageElement](https://developer.mozilla.org/docs/Web/API/HTMLImageElement),
|
|
31
|
+
* [HTMLCanvasElement](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement),
|
|
32
|
+
* [HTMLVideoElement](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
|
33
|
+
* or [ImageData](https://developer.mozilla.org/docs/Web/API/ImageData)).
|
|
34
34
|
*
|
|
35
35
|
* ```js
|
|
36
36
|
* const meshColorByUrl = new MeshTexture({
|
|
37
37
|
* url: "./image.png"
|
|
38
38
|
* });
|
|
39
39
|
*
|
|
40
|
-
* const mesh =
|
|
40
|
+
* const mesh = createBox(location, {
|
|
41
41
|
* material: {
|
|
42
42
|
* colorTexture: meshColorByUrl
|
|
43
43
|
* }
|
|
@@ -47,14 +47,14 @@ export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transp
|
|
|
47
47
|
* data: canvasElement
|
|
48
48
|
* });
|
|
49
49
|
*
|
|
50
|
-
* const meshWithCanvasMaterial =
|
|
50
|
+
* const meshWithCanvasMaterial = createBox(location, {
|
|
51
51
|
* material: {
|
|
52
52
|
* colorTexture: meshColorByCanvas
|
|
53
53
|
* }
|
|
54
54
|
* });
|
|
55
55
|
*
|
|
56
56
|
* // Support for autocasting within a mesh material constructor
|
|
57
|
-
* const meshWithAutocastMaterial =
|
|
57
|
+
* const meshWithAutocastMaterial = createSphere(location, {
|
|
58
58
|
* material: {
|
|
59
59
|
* colorTexture: {
|
|
60
60
|
* url: "./image.png"
|
|
@@ -65,7 +65,7 @@ export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transp
|
|
|
65
65
|
* // Mesh materials also support additional advanced autocasting types
|
|
66
66
|
* // such as a Canvas element. In this case the canvas element will be
|
|
67
67
|
* // available in the MeshTexture.data property.
|
|
68
|
-
* const meshWithCanvasAutocastMaterial =
|
|
68
|
+
* const meshWithCanvasAutocastMaterial = createSphere(location, {
|
|
69
69
|
* material: {
|
|
70
70
|
* colorTexture: canvasElement
|
|
71
71
|
* }
|
|
@@ -87,7 +87,7 @@ export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transp
|
|
|
87
87
|
* video.style.height = 0;
|
|
88
88
|
* video.style.visibility = "hidden";
|
|
89
89
|
*
|
|
90
|
-
* const meshWithVideoMaterial =
|
|
90
|
+
* const meshWithVideoMaterial = createPlane(location, {
|
|
91
91
|
* material: {
|
|
92
92
|
* colorTexture: { data: video }
|
|
93
93
|
* }
|
|
@@ -103,11 +103,11 @@ export default class MeshTexture extends MeshTextureSuperclass {
|
|
|
103
103
|
constructor(properties?: MeshTextureProperties);
|
|
104
104
|
/**
|
|
105
105
|
* A direct reference to the image or video data. The data can be an
|
|
106
|
-
* [image element](https://developer.mozilla.org/
|
|
107
|
-
* [canvas element](https://developer.mozilla.org/
|
|
108
|
-
* [video element](https://developer.mozilla.org/
|
|
109
|
-
* or [ImageData](https://developer.mozilla.org/
|
|
110
|
-
* If the data is set to a [video element](https://developer.mozilla.org/
|
|
106
|
+
* [image element](https://developer.mozilla.org/docs/Web/API/HTMLImageElement),
|
|
107
|
+
* [canvas element](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement),
|
|
108
|
+
* [video element](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
|
109
|
+
* or [ImageData](https://developer.mozilla.org/docs/Web/API/ImageData).
|
|
110
|
+
* If the data is set to a [video element](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement),
|
|
111
111
|
* the element needs to be visible in the DOM.
|
|
112
112
|
* The data property is mutually exclusive with the url property, setting the data will clear the
|
|
113
113
|
* url (if there is one).
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import e from"../Extent.js";import{getExtentForScale as
|
|
2
|
+
import e from"../Extent.js";import{getExtentForScale as n}from"./scaleUtils.js";async function t(e,n){if(e.hasZ||"2d"===n.type)return e;const t=n.map?.ground;return t?.layers.length?(await t.queryElevation(e,{cache:n.basemapTerrain?.elevationQueryCache})).geometry:e}function r(e,n,t){return a(e.center,n,t)}function a(t,r,a){const i=t.hasZ?t.z:void 0;if(r?.map){return(null!=a?n(r,a):r.extent).clone().centerAt(t).set({zmax:i,zmin:i})}const{x:o,y:u,spatialReference:c}=t;return new e({xmin:o-.25,ymin:u-.25,xmax:o+.25,ymax:u+.25,spatialReference:c,zmin:i,zmax:i})}function i(e,n,t,r){switch(e?.type){case"extent":return e;case"polygon":case"polyline":case"multipoint":return e.extent??void 0;case"point":return a(r.execute(e),n??void 0,t??void 0);default:return}}function o([e,n,t,r],[a,i,o,u]){return e===a&&n===i&&(null==t&&null==o||t===o)&&(null==r&&null==u||r===u)}export{o as comparePoints,a as createExtentFromPoint,i as getExtentFromGeometry,t as getPointWithElevation,r as scaleExtent};
|
|
@@ -12,7 +12,7 @@ import type { GeometryType } from "../../portal/jsonTypes.js";
|
|
|
12
12
|
* Creates a new instance of an appropriate [Geometry](https://developers.arcgis.com/javascript/latest/references/core/geometry/Geometry/) class and initializes it with values from a JSON object
|
|
13
13
|
* generated from an ArcGIS product. The object passed into the input `json`
|
|
14
14
|
* parameter often comes from a response to a query operation in the REST API or a
|
|
15
|
-
* [toJSON()](https://
|
|
15
|
+
* [toJSON()](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/conversion/features-to-json.html?tabs=dialog)
|
|
16
16
|
* method from another ArcGIS product. See the [Using fromJSON()](https://developers.arcgis.com/javascript/latest/using-fromjson)
|
|
17
17
|
* topic in the Guide for details and examples of when and how to use this function.
|
|
18
18
|
*
|
|
@@ -6,11 +6,14 @@
|
|
|
6
6
|
import type Ground from "../../Ground.js";
|
|
7
7
|
import type Extent from "../Extent.js";
|
|
8
8
|
import type Mesh from "../Mesh.js";
|
|
9
|
+
import type Point from "../Point.js";
|
|
10
|
+
import type Polygon from "../Polygon.js";
|
|
9
11
|
import type ElevationLayer from "../../layers/ElevationLayer.js";
|
|
10
12
|
import type ElevationSampler from "../../layers/support/ElevationSampler.js";
|
|
11
13
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
12
14
|
import type { MeshVertexSpaceUnion } from "../types.js";
|
|
13
|
-
import type {
|
|
15
|
+
import type { MeshMaterialProperties } from "./MeshMaterial.js";
|
|
16
|
+
import type { CreateBoxParameters, CreateCylinderParameters, CreateElevationSamplerParameters, CreateFromElevationParameters, CreateFromGLTFParameters, CreatePlaneParameters, CreateSphereParameters } from "./meshUtils/types.js";
|
|
14
17
|
|
|
15
18
|
/**
|
|
16
19
|
* Creates a mesh geometry by sampling elevation data from an elevation service on a regular grid.
|
|
@@ -99,4 +102,129 @@ export function merge(geometries: Mesh[]): Mesh | null | undefined;
|
|
|
99
102
|
*
|
|
100
103
|
* view.graphics.add(new Graphic({ geometry: highestPoint }));
|
|
101
104
|
*/
|
|
102
|
-
export function convertVertexSpace(mesh: Mesh, targetVertexSpace: MeshVertexSpaceUnion, options?: AbortOptions): Promise<Mesh>;
|
|
105
|
+
export function convertVertexSpace(mesh: Mesh, targetVertexSpace: MeshVertexSpaceUnion, options?: AbortOptions): Promise<Mesh>;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Creates a mesh representing a box. The spatial reference of the resulting mesh is the same
|
|
109
|
+
* as the location where it is placed.
|
|
110
|
+
*
|
|
111
|
+
* #### Box UV coordinate space
|
|
112
|
+
*
|
|
113
|
+
* The box geometry will have UV coordinates generated according to the following scheme:
|
|
114
|
+
*
|
|
115
|
+
* <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-box-uv.avif" width="300" height="300"/>
|
|
116
|
+
*
|
|
117
|
+
* @param location - The location bottom center of the box.
|
|
118
|
+
* @param parameters - Parameters to configure the box creation.
|
|
119
|
+
* @returns The resulting mesh.
|
|
120
|
+
* @since 5.1
|
|
121
|
+
* @example
|
|
122
|
+
* let mesh = meshUtils.createBox(point, {
|
|
123
|
+
* size: {
|
|
124
|
+
* width: 10,
|
|
125
|
+
* height: 100,
|
|
126
|
+
* depth: 20
|
|
127
|
+
* },
|
|
128
|
+
* material: {
|
|
129
|
+
* color: "green"
|
|
130
|
+
* }
|
|
131
|
+
* });
|
|
132
|
+
* @example
|
|
133
|
+
* let mesh = meshUtils.createBox(point, {
|
|
134
|
+
* imageFace: "top",
|
|
135
|
+
* material: {
|
|
136
|
+
* colorTexture: new MeshTexture({ url: "./url-to-image.png" })
|
|
137
|
+
* }
|
|
138
|
+
* });
|
|
139
|
+
*/
|
|
140
|
+
export function createBox(location: Point, parameters?: CreateBoxParameters): Mesh;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Creates a mesh representing a sphere. The spatial reference of the resulting mesh is the same
|
|
144
|
+
* as the location where it is placed.
|
|
145
|
+
*
|
|
146
|
+
* #### Sphere UV coordinate space
|
|
147
|
+
*
|
|
148
|
+
* The sphere geometry will have UV coordinates generated according to the following scheme
|
|
149
|
+
* (example is shown for 8x8 vertices sphere):
|
|
150
|
+
*
|
|
151
|
+
* <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-sphere-uv.avif" width="300" height="300"/>
|
|
152
|
+
*
|
|
153
|
+
* @param location - The location of the bottom center of the sphere.
|
|
154
|
+
* @param parameters - Parameters to configure the sphere creation.
|
|
155
|
+
* @returns The resulting mesh.
|
|
156
|
+
* @since 5.1
|
|
157
|
+
*/
|
|
158
|
+
export function createSphere(location: Point, parameters?: CreateSphereParameters): Mesh;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Creates a mesh representing a cylinder. The spatial reference of the resulting mesh is the same
|
|
162
|
+
* as the location where it is placed.
|
|
163
|
+
*
|
|
164
|
+
* #### Cylinder UV coordinate space
|
|
165
|
+
*
|
|
166
|
+
* The cylinder geometry will have UV coordinates generated according to the following scheme
|
|
167
|
+
* (example is shown for 8 vertices cylinder):
|
|
168
|
+
*
|
|
169
|
+
* <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-cylinder-uv.avif" width="300" height="300"/>
|
|
170
|
+
*
|
|
171
|
+
* @param location - The location of the bottom center of the cylinder.
|
|
172
|
+
* @param parameters - Parameters to configure the cylinder creation.
|
|
173
|
+
* @returns The resulting mesh.
|
|
174
|
+
* @since 5.1
|
|
175
|
+
*/
|
|
176
|
+
export function createCylinder(location: Point, parameters?: CreateCylinderParameters): Mesh;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Creates a mesh representing a plane. The spatial reference of the resulting mesh is the same
|
|
180
|
+
* as the location where it is placed. A plane consists of two triangles and may be conveniently
|
|
181
|
+
* oriented at creation time.
|
|
182
|
+
*
|
|
183
|
+
* #### Plane UV coordinate space
|
|
184
|
+
*
|
|
185
|
+
* The plane geometry will have UV coordinates generated according to the following scheme:
|
|
186
|
+
*
|
|
187
|
+
* <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-plane-uv.avif" width="300" height="300"/>
|
|
188
|
+
*
|
|
189
|
+
* @param location - The location of the bottom center of the plane.
|
|
190
|
+
* @param parameters - Parameters to configure the plane creation.
|
|
191
|
+
* @returns The resulting mesh.
|
|
192
|
+
* @since 5.1
|
|
193
|
+
*/
|
|
194
|
+
export function createPlane(location: Point, parameters?: CreatePlaneParameters): Mesh;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Creates a new mesh geometry from a polygon geometry. The resulting mesh contains only
|
|
198
|
+
* a position vertex attribute and a single component with faces. The default shading will be
|
|
199
|
+
* set to `flat`. The spatial reference of the resulting mesh is the same
|
|
200
|
+
* as the input polygon. The resulting mesh will not contain any UV nor normal vertex attributes.
|
|
201
|
+
*
|
|
202
|
+
* @param polygon - The input polygon.
|
|
203
|
+
* @param parameters - Optional parameters.
|
|
204
|
+
* @returns A promise that resolves to a new mesh representing the triangulated polygon.
|
|
205
|
+
* @since 5.1
|
|
206
|
+
*/
|
|
207
|
+
export function createFromPolygon(polygon: Polygon, parameters?: CreateFromPolygonParameters): Promise<Mesh>;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Creates a new mesh geometry from a glTF model referenced by the `url` parameter.
|
|
211
|
+
*
|
|
212
|
+
* The spatial reference of the resulting mesh is the same as the spatial reference of the `location` parameter. For
|
|
213
|
+
* more information on the supported glTF features you can read the
|
|
214
|
+
* [Visualizing points with 3D symbols](https://developers.arcgis.com/javascript/latest/visualizing-points-3d/) guide topic. Animations are currently unsupported.
|
|
215
|
+
*
|
|
216
|
+
* @param location - The location of the origin of the model. If the location does not
|
|
217
|
+
* contain a z-value, z is assumed to be `0`.
|
|
218
|
+
* @param url - The URL of the glTF model. The URL should point to a glTF file (.gltf or .glb) which can
|
|
219
|
+
* reference additional binary (.bin) and image files (.jpg, .png).
|
|
220
|
+
* @param parameters - Parameters to configure the mesh from glTF creation.
|
|
221
|
+
* @returns A promise that resolves to a mesh geometry representing the loaded
|
|
222
|
+
* glTF model.
|
|
223
|
+
* @since 5.1
|
|
224
|
+
*/
|
|
225
|
+
export function createFromGLTF(location: Point, url: string, parameters?: CreateFromGLTFParameters): Promise<Mesh>;
|
|
226
|
+
|
|
227
|
+
export interface CreateFromPolygonParameters {
|
|
228
|
+
/** The material to be used for the mesh. */
|
|
229
|
+
material?: MeshMaterialProperties;
|
|
230
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{throwIfAborted as
|
|
2
|
+
import e from"../../core/Error.js";import{throwIfAborted as t,whenOrAbort as n,isPromiseLike as r}from"../../core/promiseUtils.js";import s from"../Mesh.js";import o from"./MeshComponent.js";import i from"./MeshGeoreferencedVertexSpace.js";import a from"./MeshTransform.js";import c from"./MeshVertexAttributes.js";import{selectVertexSpace as m}from"./meshVertexSpaceUtils.js";import{merge as l}from"./meshUtils/merge.js";import{Metadata as p}from"./meshUtils/Metadata.js";import{convertUnitGeometry as f,createUnitSizeSphere as u,createUnitSizeBox as w,extractSingleFaceOfBox as h,createUnitSizeCylinder as j,convertPlaneSizeParameter as d,createUnitSizePlane as v}from"./meshUtils/primitives.js";import{polygonToRenderInfoNotElevationAligned as x}from"../../views/3d/support/renderInfoUtils/polygon.js";async function M(e,n,r){const s=await import("./meshUtils/elevation.js");return t(r),s.create(e,n,r)}async function g(e,t){await e.load();const{create:n}=await import("./meshUtils/elevationSampler.js");return n(e,t)}function U(e){const t=l(e);return null!=t?new s(t):null}async function S(e,n,r){const{convertMeshVertexSpace:s}=await import("./meshUtils/convertMeshVertexSpace.js");return t(r),s(e,n,r)}function y(e,t){const n=new s(f(w(),e,t));return t?.imageFace&&"all"!==t.imageFace?h(n,t.imageFace):n}function F(e,t){return new s(f(u(t?.densificationFactor||0),e,t))}function R(e,t){return new s(f(j(t?.densificationFactor||0),e,t))}function V(e,t){const n=t?.facing??"up",r=d(n,t?.size);return new s(f(v(n),e,{...t,size:r}))}async function b(e,t){let n=x(e);r(n)&&(await n,n=x(e));const a=r(n)?null:n,m=a?.positions??[],l=a?.polygonIndices??[];return new s({vertexAttributes:new c({position:m}),components:[new o({faces:l,shading:"flat",material:t?.material??null})],spatialReference:e.spatialReference,vertexSpace:new i})}async function C(e,t,r){const{loadGLTFMesh:o}=await n(import("./meshUtils/loadGLTFMesh.js"),r);return new s((await o(e,t,r)).mesh)}function G(e,t,n){const r=n?.extent??null,{spatialReference:o}=e,i=n?.transform?.clone()??new a,c=m(e,n),l=n?.unitConversionDisabled,f={source:t,extent:r,unitConversionDisabled:l},u=new p;return u.externalSources.push(f),new s({metadata:u,transform:i,vertexSpace:c,spatialReference:o})}function T(t,n){const{spatialReference:r}=t,o=n?.transform?.clone()??new a,i=m(t,n),c=new s({transform:o,vertexSpace:i,spatialReference:r});return c.addResolvingPromise(Promise.reject(new e("mesh-incomplete","Mesh resources are not complete"))),c}export{S as convertVertexSpace,y as createBox,R as createCylinder,g as createElevationSampler,M as createFromElevation,C as createFromGLTF,b as createFromPolygon,T as createIncomplete,V as createPlane,F as createSphere,G as createWithExternalSource,U as merge};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type GraphicOrigin from "./GraphicOrigin.js";
|
|
2
|
+
import type AnnotationLayer from "../layers/AnnotationLayer.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Provides information about the [AnnotationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/) from which a graphic originates.
|
|
6
|
+
* The [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#origin) information may be available when a graphic is returned from methods such as
|
|
7
|
+
* [hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) or [queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#queryFeatures).
|
|
8
|
+
*
|
|
9
|
+
* @since 5.1
|
|
10
|
+
* @see [MapView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest)
|
|
11
|
+
* @see [SceneView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#hitTest)
|
|
12
|
+
* @see [AnnotationLayer.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#queryFeatures)
|
|
13
|
+
* @example
|
|
14
|
+
* // get a point from view's click event
|
|
15
|
+
* view.on("click", async (event) => {
|
|
16
|
+
* // Search for all features only on included layer at the clicked location
|
|
17
|
+
* const response = await view.hitTest(event, {include: layer});
|
|
18
|
+
* // if graphics are returned from layer, get the layer id from graphic origin
|
|
19
|
+
* if (response.results.length > 0) {
|
|
20
|
+
* const originId = response.results[0].graphic?.origin?.layer?.id;
|
|
21
|
+
* }
|
|
22
|
+
* });
|
|
23
|
+
*/
|
|
24
|
+
export default class AnnotationGraphicOrigin extends GraphicOrigin {
|
|
25
|
+
constructor(layer: AnnotationLayer);
|
|
26
|
+
/** A layer from which a graphic originates. */
|
|
27
|
+
readonly layer: AnnotationLayer;
|
|
28
|
+
/**
|
|
29
|
+
* Indicates the type of layer the graphic originated from.
|
|
30
|
+
*
|
|
31
|
+
* @default "annotation"
|
|
32
|
+
*/
|
|
33
|
+
readonly type: AnnotationLayer["type"];
|
|
34
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{idFieldsProviderSymbol as r}from"./getIdFieldsProvider.js";import{popupProviderSymbol as t}from"./getPopupProvider.js";import{getSliceableContainerSymbol as e}from"./getSliceableContainer.js";import i from"./GraphicOrigin.js";class o extends i{get[t](){return this.layer}get[r](){return this.layer}get[e](){return this.layer}constructor(r){super(),this.type="annotation",this.layer=r}get id(){return this.layer.id}}export{o as default};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type GraphicOrigin from "./GraphicOrigin.js";
|
|
2
|
+
import type DimensionFeatureLayer from "../layers/DimensionFeatureLayer.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Provides information about the [DimensionFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/DimensionFeatureLayer/) from which a graphic originates.
|
|
6
|
+
* The [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#origin) information may be available when a graphic is returned from methods such as
|
|
7
|
+
* [hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) or [queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/DimensionFeatureLayer/#queryFeatures).
|
|
8
|
+
*
|
|
9
|
+
* @since 5.1
|
|
10
|
+
* @see [MapView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest)
|
|
11
|
+
* @see [SceneView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#hitTest)
|
|
12
|
+
* @see [DimensionFeatureLayer.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/DimensionFeatureLayer/#queryFeatures)
|
|
13
|
+
* @example
|
|
14
|
+
* // get a point from view's click event
|
|
15
|
+
* view.on("click", async (event) => {
|
|
16
|
+
* // Search for all features only on included layer at the clicked location
|
|
17
|
+
* const response = await view.hitTest(event, {include: layer});
|
|
18
|
+
* // if graphics are returned from layer, get the layer id from graphic origin
|
|
19
|
+
* if (response.results.length > 0) {
|
|
20
|
+
* const originId = response.results[0].graphic?.origin?.layer?.id;
|
|
21
|
+
* }
|
|
22
|
+
* });
|
|
23
|
+
*/
|
|
24
|
+
export default class DimensionFeatureGraphicOrigin extends GraphicOrigin {
|
|
25
|
+
constructor(layer: DimensionFeatureLayer);
|
|
26
|
+
/** A layer from which a graphic originates. */
|
|
27
|
+
readonly layer: DimensionFeatureLayer;
|
|
28
|
+
/**
|
|
29
|
+
* Indicates the type of layer the graphic originated from.
|
|
30
|
+
*
|
|
31
|
+
* @default "dimension-feature"
|
|
32
|
+
*/
|
|
33
|
+
readonly type: DimensionFeatureLayer["type"];
|
|
34
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{idFieldsProviderSymbol as r}from"./getIdFieldsProvider.js";import{popupProviderSymbol as e}from"./getPopupProvider.js";import{getSliceableContainerSymbol as t}from"./getSliceableContainer.js";import i from"./GraphicOrigin.js";class s extends i{get[e](){return this.layer}get[r](){return this.layer}get[t](){return this.layer}constructor(r){super(),this.type="dimension-feature",this.layer=r}get id(){return this.layer.id}}export{s as default};
|