@arcgis/core 5.2.0-next.111 → 5.2.0-next.113
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/Ground.d.ts +4 -5
- package/Ground.js +1 -1
- package/arcgisGlobal.d.ts +5 -0
- package/assets/components/assets/icon/alignBottom16.json +1 -0
- package/assets/components/assets/icon/alignBottom24.json +1 -0
- package/assets/components/assets/icon/alignBottom32.json +1 -0
- package/assets/components/assets/icon/alignCenterHorizontal16.json +1 -0
- package/assets/components/assets/icon/alignCenterHorizontal24.json +1 -0
- package/assets/components/assets/icon/alignCenterHorizontal32.json +1 -0
- package/assets/components/assets/icon/alignCenterVertical16.json +1 -0
- package/assets/components/assets/icon/alignCenterVertical24.json +1 -0
- package/assets/components/assets/icon/alignCenterVertical32.json +1 -0
- package/assets/components/assets/icon/alignLeft16.json +1 -0
- package/assets/components/assets/icon/alignLeft24.json +1 -0
- package/assets/components/assets/icon/alignLeft32.json +1 -0
- package/assets/components/assets/icon/alignRight16.json +1 -0
- package/assets/components/assets/icon/alignRight24.json +1 -0
- package/assets/components/assets/icon/alignRight32.json +1 -0
- package/assets/components/assets/icon/alignTop16.json +1 -0
- package/assets/components/assets/icon/alignTop24.json +1 -0
- package/assets/components/assets/icon/alignTop32.json +1 -0
- package/assets/components/assets/icon/columnGroup16.json +1 -0
- package/assets/components/assets/icon/columnGroup24.json +1 -0
- package/assets/components/assets/icon/columnGroup32.json +1 -0
- package/assets/components/assets/icon/columnRemove16.json +1 -0
- package/assets/components/assets/icon/columnRemove24.json +1 -0
- package/assets/components/assets/icon/columnRemove32.json +1 -0
- package/assets/components/assets/icon/columnUngroup16.json +1 -0
- package/assets/components/assets/icon/columnUngroup24.json +1 -0
- package/assets/components/assets/icon/columnUngroup32.json +1 -0
- package/assets/components/assets/icon/envelopeOpen16.json +1 -0
- package/assets/components/assets/icon/envelopeOpen24.json +1 -0
- package/assets/components/assets/icon/envelopeOpen32.json +1 -0
- package/assets/components/assets/icon/handDraw16.json +1 -0
- package/assets/components/assets/icon/handDraw24.json +1 -0
- package/assets/components/assets/icon/handDraw32.json +1 -0
- package/assets/components/assets/icon/monitorShare16.json +1 -0
- package/assets/components/assets/icon/monitorShare24.json +1 -0
- package/assets/components/assets/icon/monitorShare32.json +1 -0
- package/assets/components/assets/icon/pi16.json +1 -0
- package/assets/components/assets/icon/pi24.json +1 -0
- package/assets/components/assets/icon/pi32.json +1 -0
- package/assets/components/assets/icon/rowGroup16.json +1 -0
- package/assets/components/assets/icon/rowGroup24.json +1 -0
- package/assets/components/assets/icon/rowGroup32.json +1 -0
- package/assets/components/assets/icon/rowRemove16.json +1 -0
- package/assets/components/assets/icon/rowRemove24.json +1 -0
- package/assets/components/assets/icon/rowRemove32.json +1 -0
- package/assets/components/assets/icon/rowUngroup16.json +1 -0
- package/assets/components/assets/icon/rowUngroup24.json +1 -0
- package/assets/components/assets/icon/rowUngroup32.json +1 -0
- package/assets/components/assets/icon/sdCard16.json +1 -0
- package/assets/components/assets/icon/sdCard24.json +1 -0
- package/assets/components/assets/icon/sdCard32.json +1 -0
- package/assets/components/assets/icon/spaceAroundHorizontal16.json +1 -0
- package/assets/components/assets/icon/spaceAroundHorizontal24.json +1 -0
- package/assets/components/assets/icon/spaceAroundHorizontal32.json +1 -0
- package/assets/components/assets/icon/spaceAroundVertical16.json +1 -0
- package/assets/components/assets/icon/spaceAroundVertical24.json +1 -0
- package/assets/components/assets/icon/spaceAroundVertical32.json +1 -0
- package/assets/components/assets/icon/spaceBetweenHorizontal16.json +1 -0
- package/assets/components/assets/icon/spaceBetweenHorizontal24.json +1 -0
- package/assets/components/assets/icon/spaceBetweenHorizontal32.json +1 -0
- package/assets/components/assets/icon/spaceBetweenVertical16.json +1 -0
- package/assets/components/assets/icon/spaceBetweenVertical24.json +1 -0
- package/assets/components/assets/icon/spaceBetweenVertical32.json +1 -0
- package/assets/components/assets/icon/spacedEvenlyHorizontal16.json +1 -0
- package/assets/components/assets/icon/spacedEvenlyHorizontal24.json +1 -0
- package/assets/components/assets/icon/spacedEvenlyHorizontal32.json +1 -0
- package/assets/components/assets/icon/spacedEvenlyVertical16.json +1 -0
- package/assets/components/assets/icon/spacedEvenlyVertical24.json +1 -0
- package/assets/components/assets/icon/spacedEvenlyVertical32.json +1 -0
- package/assets/components/assets/icon/stretchHorizontal16.json +1 -0
- package/assets/components/assets/icon/stretchHorizontal24.json +1 -0
- package/assets/components/assets/icon/stretchHorizontal32.json +1 -0
- package/assets/components/assets/icon/stretchVertical16.json +1 -0
- package/assets/components/assets/icon/stretchVertical24.json +1 -0
- package/assets/components/assets/icon/stretchVertical32.json +1 -0
- package/assets/components/assets/icon/swatchPalette16.json +1 -0
- package/assets/components/assets/icon/swatchPalette24.json +1 -0
- package/assets/components/assets/icon/swatchPalette32.json +1 -0
- package/assets/components/assets/icon/thermometer16.json +1 -0
- package/assets/components/assets/icon/thermometer24.json +1 -0
- package/assets/components/assets/icon/thermometer32.json +1 -0
- package/assets/components/assets/icon/webCamera16.json +1 -0
- package/assets/components/assets/icon/webCamera24.json +1 -0
- package/assets/components/assets/icon/webCamera32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/01ca17092545d72be7b6.js +1 -0
- package/assets/esri/core/workers/chunks/{f5a988bb850f7a7af143.js → 05b373a663cb5d4d722f.js} +1 -1
- package/assets/esri/core/workers/chunks/078ed48eb055dd213ee6.js +1 -0
- package/assets/esri/core/workers/chunks/{36f8caeb574dcd5c0ed5.js → 0b727d7bf3e36e146725.js} +1 -1
- package/assets/esri/core/workers/chunks/0c65862e3dd810015491.js +1 -0
- package/assets/esri/core/workers/chunks/0e3e58ba8e2d358121a5.js +1 -0
- package/assets/esri/core/workers/chunks/0edebc6c516f0b9dac7b.js +1 -0
- package/assets/esri/core/workers/chunks/1004e77593dfa506cd5d.js +1 -0
- package/assets/esri/core/workers/chunks/184942ea601237c8241a.js +1 -0
- package/assets/esri/core/workers/chunks/20de0ea9fa08a6545978.js +1 -0
- package/assets/esri/core/workers/chunks/214d63813d268afc265d.js +1 -0
- package/assets/esri/core/workers/chunks/21c0743b2f612e7e7de3.js +1 -0
- package/assets/esri/core/workers/chunks/22e85819e23202a8ba90.js +1 -0
- package/assets/esri/core/workers/chunks/{6e677505d257e0848075.js → 23f9ab77e4e263f82636.js} +1 -1
- package/assets/esri/core/workers/chunks/25cc6d7178a52f2f46b7.js +1 -0
- package/assets/esri/core/workers/chunks/28a04887ecaee5445d14.js +1 -0
- package/assets/esri/core/workers/chunks/{2fc5c1504691badc7792.js → 2ac2d0a7623dd060c144.js} +1 -1
- package/assets/esri/core/workers/chunks/2afce71e8b6ae86e0792.js +1 -0
- package/assets/esri/core/workers/chunks/{4c9df8ae9238454969b8.js → 2c21f4744e19b925a6ae.js} +1 -1
- package/assets/esri/core/workers/chunks/32fc7d1db4b311f6b880.js +1 -0
- package/assets/esri/core/workers/chunks/36792b8a85e88044cb49.js +1 -0
- package/assets/esri/core/workers/chunks/36a7e19f43517aa94577.js +1 -0
- package/assets/esri/core/workers/chunks/{6e6cdff4bbe1ff2f44ac.js → 3ab25279aaa30f035038.js} +1 -1
- package/assets/esri/core/workers/chunks/3acc1299c1382c3b034d.js +1 -0
- package/assets/esri/core/workers/chunks/{abcda435bc83ef4240f9.js → 3b499cfc89c8f87cdb20.js} +1 -1
- package/assets/esri/core/workers/chunks/{c2684fcde2923c9830e0.js → 42c4d0c1c08bf111e5a4.js} +1 -1
- package/assets/esri/core/workers/chunks/430802108b63194b7ddd.js +2 -0
- package/assets/esri/core/workers/chunks/445b0ca1b70730c9a2e6.js +1 -0
- package/assets/esri/core/workers/chunks/49c6dc487714f9cd55c7.js +1 -0
- package/assets/esri/core/workers/chunks/{70e0ead69a722fd964b8.js → 49e8ff5ed079a9e3be4b.js} +1 -1
- package/assets/esri/core/workers/chunks/{24673aac70d6c949b6fa.js → 4bf2cc4d092601ff2b86.js} +1 -1
- package/assets/esri/core/workers/chunks/{72be81c1394285b51ed3.js → 4bfd63f3cf9208eb839b.js} +225 -229
- package/assets/esri/core/workers/chunks/501df20cdd09384f6ee2.js +1 -0
- package/assets/esri/core/workers/chunks/510a190a6f0a60ae38c3.js +1 -0
- package/assets/esri/core/workers/chunks/{89a785f8b61263e2d592.js → 552c92b01a5f02a115c5.js} +1 -1
- package/assets/esri/core/workers/chunks/564fdf0d663b773806cc.js +1 -0
- package/assets/esri/core/workers/chunks/{d9270f4935eb0d044db3.js → 57328c206f1e699ac06f.js} +1 -1
- package/assets/esri/core/workers/chunks/{50951fb13013b11b8a24.js → 58e62c8ce1292f4d3b06.js} +1 -1
- package/assets/esri/core/workers/chunks/{434c5b54e89ace974cbd.js → 5965a947f68b707eaa6b.js} +2 -2
- package/assets/esri/core/workers/chunks/5aee7739afb5160d4ace.js +1 -0
- package/assets/esri/core/workers/chunks/5b9925f23d4b10a7087e.js +1 -0
- package/assets/esri/core/workers/chunks/5f79ba5639067f734791.js +1 -0
- package/assets/esri/core/workers/chunks/{b013b70e40dfb6ce013e.js → 60c61f34733063730386.js} +1 -1
- package/assets/esri/core/workers/chunks/62b1f94f4fa978d4da48.js +1 -0
- package/assets/esri/core/workers/chunks/6b264006b96cbf93d8ed.js +1 -0
- package/assets/esri/core/workers/chunks/6b9d29ca568590358478.js +1 -0
- package/assets/esri/core/workers/chunks/6c25c929bcde7e3a2af1.js +1 -0
- package/assets/esri/core/workers/chunks/{7c5310e0104c22da0261.js → 6c7cb7974969e3167f2b.js} +1 -1
- package/assets/esri/core/workers/chunks/6c82cbcd504c711a7450.js +1 -0
- package/assets/esri/core/workers/chunks/{e98b785e8f4edc8bd3ff.js → 6eceeca33fac8e900d9d.js} +1 -1
- package/assets/esri/core/workers/chunks/7232fc11b23777b6be94.js +1 -0
- package/assets/esri/core/workers/chunks/726ca458b98bb4334431.js +1 -0
- package/assets/esri/core/workers/chunks/785206da3962ba23de16.js +1 -0
- package/assets/esri/core/workers/chunks/{1c70620f40be02f532b5.js → 7b169eabafcc03bfaee6.js} +1 -1
- package/assets/esri/core/workers/chunks/7bbc3d22383388d11345.js +1 -0
- package/assets/esri/core/workers/chunks/{082069f80eee0407b828.js → 7edf57e31ff07af9032b.js} +1 -1
- package/assets/esri/core/workers/chunks/7f2ac03efaa4a4898ba2.js +2 -0
- package/assets/esri/core/workers/chunks/83ed38468e316302b157.js +1 -0
- package/assets/esri/core/workers/chunks/85c876ee9e63d5732937.js +1 -0
- package/assets/esri/core/workers/chunks/8f0ecf4d06ec7b67d4ed.js +1 -0
- package/assets/esri/core/workers/chunks/8f1c5f5e70d4b33d021d.js +1 -0
- package/assets/esri/core/workers/chunks/{a1916bca1af5c65be4b0.js → 90ab3c47138875070a53.js} +1 -1
- package/assets/esri/core/workers/chunks/{10389c87d9c6a43363ce.js → 917dec9c004218c58950.js} +1 -1
- package/assets/esri/core/workers/chunks/91f451b98e0f696043df.js +1 -0
- package/assets/esri/core/workers/chunks/943d0026ca4d49eb3ac2.js +1 -0
- package/assets/esri/core/workers/chunks/982a396bd4fffa62e911.js +1 -0
- package/assets/esri/core/workers/chunks/98a5327fd96d9542b39f.js +1 -0
- package/assets/esri/core/workers/chunks/9b9a60f1e0c48aa701f0.js +1 -0
- package/assets/esri/core/workers/chunks/9d92e6f0beed9a8580fa.js +1 -0
- package/assets/esri/core/workers/chunks/9df379041e8860fe7f01.js +1 -0
- package/assets/esri/core/workers/chunks/{847781aefed049493444.js → 9f760dc4492a03e0504c.js} +1 -1
- package/assets/esri/core/workers/chunks/{013c9cc198736a72f7f2.js → 9fb46ccd4be4c3b61c31.js} +1 -1
- package/assets/esri/core/workers/chunks/{1e8ceb4a4b28625236e3.js → a42505b978d54d36d3b6.js} +1 -1
- package/assets/esri/core/workers/chunks/{bfbe6ff786435fe1e7cf.js → a86a4e550a92f770d6d5.js} +1 -1
- package/assets/esri/core/workers/chunks/{a34eee4c9d4c1c2b8c49.js → ab60f3bc18b5ea504f70.js} +1 -1
- package/assets/esri/core/workers/chunks/{18b9ec6ba7a6c0fa2ac6.js → b1880d9f5eafd50ce84b.js} +1 -1
- package/assets/esri/core/workers/chunks/{777fc163530448eea13e.js → b4222152efaf73b37b53.js} +1 -1
- package/assets/esri/core/workers/chunks/b6ca73c1384f07b30b74.js +1 -0
- package/assets/esri/core/workers/chunks/bb4cbf6b7c35e8c78cc7.js +1 -0
- package/assets/esri/core/workers/chunks/bb831d23422acfb00ae2.js +1 -0
- package/assets/esri/core/workers/chunks/bdcca906fdfb8e179abb.js +2 -0
- package/assets/esri/core/workers/chunks/c0855be20ffcd52c7026.js +1 -0
- package/assets/esri/core/workers/chunks/c5ceceb0683671f92efa.js +1 -0
- package/assets/esri/core/workers/chunks/c5e288d57bacb8451e2d.js +2 -0
- package/assets/esri/core/workers/chunks/{a0f742fd947104662d37.js → c6277236ec47586dca00.js} +1 -1
- package/assets/esri/core/workers/chunks/{3be33a129d3ae7dc4f06.js → caf38cf4d8542fb11c46.js} +1 -1
- package/assets/esri/core/workers/chunks/{10d33b4f248864225f85.js → cd0f5cd0fefe7f49e3d8.js} +1 -1
- package/assets/esri/core/workers/chunks/{b92b7d6c1e693c97a3eb.js → d1f54b0079fb71a15612.js} +1 -1
- package/assets/esri/core/workers/chunks/{48a53bfeef11c32dadcc.js → d25fb32a233d2128afbe.js} +1 -1
- package/assets/esri/core/workers/chunks/d5e3f8e5b8d2576d3cb3.js +2 -0
- package/assets/esri/core/workers/chunks/d629708bf23da24ee523.js +1 -0
- package/assets/esri/core/workers/chunks/{21d4219844ae5654618b.js → d926bffc3ff9f87e9081.js} +1 -1
- package/assets/esri/core/workers/chunks/db141122060d8d9b38da.js +1 -0
- package/assets/esri/core/workers/chunks/dc1944a7601b518a9c48.js +1 -0
- package/assets/esri/core/workers/chunks/{573ee2e59d26bc75201e.js → dc8670f32bb0b93c1473.js} +1 -1
- package/assets/esri/core/workers/chunks/e1f2b07be33e33117313.js +1 -0
- package/assets/esri/core/workers/chunks/e52f30dfb7c82491a7f2.js +1 -0
- package/assets/esri/core/workers/chunks/e5906b28b981199fd489.js +1 -0
- package/assets/esri/core/workers/chunks/{b3293ee9f221423a6825.js → e611e452f04a9ce64cf8.js} +1 -1
- package/assets/esri/core/workers/chunks/e755075ac2e02e881fad.js +1 -0
- package/assets/esri/core/workers/chunks/{058d4c927486a361e633.js → ea9e770efc85594e4dd2.js} +1 -1
- package/assets/esri/core/workers/chunks/{0f20c458f873564faff2.js → ec4f887153c24ab83f2c.js} +1 -1
- package/assets/esri/core/workers/chunks/{707b4ae689c4329cad3b.js → f40ceb5e03c699605302.js} +1 -1
- package/assets/esri/core/workers/chunks/{547a073c789fdfb78310.js → f42243c62dd0b6993816.js} +1 -1
- package/assets/esri/core/workers/chunks/{a49147203e55609630cc.js → f453dc4a075d2f900c7d.js} +1 -1
- package/assets/esri/core/workers/chunks/f465fb26541372fdc908.js +2 -0
- package/assets/esri/core/workers/chunks/f91cab9904020cf25d50.js +1 -0
- package/assets/esri/core/workers/chunks/f9b29d2ce1cd31c0fce1.js +1 -0
- package/assets/esri/core/workers/chunks/fdf5ceffec9d5185953d.js +1 -0
- package/assets/esri/themes/base/widgets/_BasemapLayerList.scss +1 -0
- package/assets/esri/themes/base/widgets/_Bookmarks.scss +1 -0
- 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/assets/esri/views/3d/environment/resources/milkyway-band.ktx2 +0 -0
- package/chunks/ChapmanAtmosphere.glsl.js +1 -1
- package/chunks/Component.glsl.js +57 -56
- package/chunks/DeepSky.glsl.js +1 -1
- package/chunks/DefaultMaterial.glsl.js +19 -23
- package/chunks/FocusArea.glsl.js +1 -1
- package/chunks/GaussianSplat.glsl.js +13 -11
- package/chunks/GaussianSplatDepth.glsl.js +3 -3
- package/chunks/GlobalIllumination.glsl.js +1 -1
- package/chunks/Haze.glsl.js +1 -1
- package/chunks/Path.glsl.js +21 -24
- package/chunks/RealisticTree.glsl.js +42 -41
- package/chunks/RibbonLine.glsl.js +72 -61
- package/chunks/SimpleAtmosphere.glsl.js +1 -1
- package/chunks/Terrain.glsl.js +25 -25
- package/chunks/Water.glsl.js +4 -4
- package/config.js +1 -1
- package/core/units.js +1 -1
- package/geometry/Extent.js +1 -1
- package/geometry/operators/affineTransformOperator.d.ts +9 -3
- package/geometry/operators/affineTransformOperator.js +1 -1
- package/geometry/operators/alphaShapeOperator.d.ts +14 -4
- package/geometry/operators/alphaShapeOperator.js +1 -1
- package/geometry/operators/areaOperator.d.ts +11 -3
- package/geometry/operators/areaOperator.js +1 -1
- package/geometry/operators/autoCompleteOperator.d.ts +6 -2
- package/geometry/operators/autoCompleteOperator.js +1 -1
- package/geometry/operators/boundaryOperator.d.ts +9 -3
- package/geometry/operators/boundaryOperator.js +1 -1
- package/geometry/operators/bufferOperator.d.ts +19 -5
- package/geometry/operators/bufferOperator.js +1 -1
- package/geometry/operators/centroidOperator.d.ts +6 -2
- package/geometry/operators/centroidOperator.js +1 -1
- package/geometry/operators/clipOperator.d.ts +9 -3
- package/geometry/operators/clipOperator.js +1 -1
- package/geometry/operators/containsOperator.d.ts +9 -3
- package/geometry/operators/containsOperator.js +1 -1
- package/geometry/operators/convexHullOperator.d.ts +17 -5
- package/geometry/operators/convexHullOperator.js +1 -1
- package/geometry/operators/crossesOperator.d.ts +9 -3
- package/geometry/operators/crossesOperator.js +1 -1
- package/geometry/operators/cutOperator.d.ts +6 -2
- package/geometry/operators/cutOperator.js +1 -1
- package/geometry/operators/densifyOperator.d.ts +14 -4
- package/geometry/operators/densifyOperator.js +1 -1
- package/geometry/operators/differenceOperator.d.ts +9 -3
- package/geometry/operators/differenceOperator.js +1 -1
- package/geometry/operators/disjointOperator.d.ts +9 -3
- package/geometry/operators/disjointOperator.js +1 -1
- package/geometry/operators/distanceOperator.d.ts +11 -3
- package/geometry/operators/distanceOperator.js +1 -1
- package/geometry/operators/equalsOperator.d.ts +9 -3
- package/geometry/operators/equalsOperator.js +1 -1
- package/geometry/operators/extendOperator.d.ts +11 -3
- package/geometry/operators/extendOperator.js +1 -1
- package/geometry/operators/generalizeOperator.d.ts +14 -4
- package/geometry/operators/generalizeOperator.js +1 -1
- package/geometry/operators/geodesicBufferOperator.d.ts +25 -7
- package/geometry/operators/geodesicBufferOperator.js +1 -1
- package/geometry/operators/geodesicProximityOperator.d.ts +28 -8
- package/geometry/operators/geodesicProximityOperator.js +1 -1
- package/geometry/operators/geodeticAreaOperator.d.ts +17 -5
- package/geometry/operators/geodeticAreaOperator.js +1 -1
- package/geometry/operators/geodeticDensifyOperator.d.ts +20 -6
- package/geometry/operators/geodeticDensifyOperator.js +1 -1
- package/geometry/operators/geodeticDistanceOperator.d.ts +17 -5
- package/geometry/operators/geodeticDistanceOperator.js +1 -1
- package/geometry/operators/geodeticLengthOperator.d.ts +17 -5
- package/geometry/operators/geodeticLengthOperator.js +1 -1
- package/geometry/operators/geodeticUtilsOperator.d.ts +17 -5
- package/geometry/operators/geodeticUtilsOperator.js +1 -1
- package/geometry/operators/graphicBufferOperator.d.ts +11 -3
- package/geometry/operators/graphicBufferOperator.js +1 -1
- package/geometry/operators/integrateOperator.d.ts +6 -2
- package/geometry/operators/integrateOperator.js +1 -1
- package/geometry/operators/intersectionOperator.d.ts +12 -4
- package/geometry/operators/intersectionOperator.js +1 -1
- package/geometry/operators/intersectsOperator.d.ts +9 -3
- package/geometry/operators/intersectsOperator.js +1 -1
- package/geometry/operators/isNearOperator.d.ts +11 -3
- package/geometry/operators/isNearOperator.js +1 -1
- package/geometry/operators/json/bufferOperator.js +1 -1
- package/geometry/operators/json/containsOperator.js +1 -1
- package/geometry/operators/json/convexHullOperator.js +1 -1
- package/geometry/operators/json/crossesOperator.js +1 -1
- package/geometry/operators/json/disjointOperator.js +1 -1
- package/geometry/operators/json/generalizeOperator.js +1 -1
- package/geometry/operators/json/geodesicBufferOperator.js +1 -1
- package/geometry/operators/json/graphicBufferOperator.js +1 -1
- package/geometry/operators/json/intersectionOperator.js +1 -1
- package/geometry/operators/json/intersectsOperator.js +1 -1
- package/geometry/operators/json/lengthOperator.js +1 -1
- package/geometry/operators/json/offsetOperator.js +1 -1
- package/geometry/operators/json/overlapsOperator.js +1 -1
- package/geometry/operators/json/projectOperator.js +1 -1
- package/geometry/operators/json/simplifyOperator.js +1 -1
- package/geometry/operators/json/simplifyOperatorOGC.js +1 -1
- package/geometry/operators/json/touchesOperator.js +1 -1
- package/geometry/operators/json/unionOperator.js +1 -1
- package/geometry/operators/json/withinOperator.js +1 -1
- package/geometry/operators/labelPointOperator.d.ts +9 -3
- package/geometry/operators/labelPointOperator.js +1 -1
- package/geometry/operators/lengthOperator.d.ts +11 -3
- package/geometry/operators/lengthOperator.js +1 -1
- package/geometry/operators/linesToPolygonsOperator.d.ts +6 -2
- package/geometry/operators/linesToPolygonsOperator.js +1 -1
- package/geometry/operators/locateBetweenOperator.d.ts +6 -2
- package/geometry/operators/locateBetweenOperator.js +1 -1
- package/geometry/operators/minimumBoundingCircleOperator.d.ts +14 -4
- package/geometry/operators/minimumBoundingCircleOperator.js +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +11 -3
- package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
- package/geometry/operators/offsetOperator.d.ts +14 -4
- package/geometry/operators/offsetOperator.js +1 -1
- package/geometry/operators/overlapsOperator.d.ts +9 -3
- package/geometry/operators/overlapsOperator.js +1 -1
- package/geometry/operators/polygonOverlayOperator.d.ts +11 -3
- package/geometry/operators/polygonOverlayOperator.js +1 -1
- package/geometry/operators/polygonSlicerOperator.d.ts +22 -6
- package/geometry/operators/polygonSlicerOperator.js +1 -1
- package/geometry/operators/projectOperator.d.ts +15 -5
- package/geometry/operators/projectOperator.js +1 -1
- package/geometry/operators/proximityOperator.d.ts +22 -6
- package/geometry/operators/proximityOperator.js +1 -1
- package/geometry/operators/relateOperator.d.ts +12 -4
- package/geometry/operators/relateOperator.js +1 -1
- package/geometry/operators/reshapeOperator.d.ts +6 -2
- package/geometry/operators/reshapeOperator.js +1 -1
- package/geometry/operators/shapePreservingProjectOperator.d.ts +20 -6
- package/geometry/operators/shapePreservingProjectOperator.js +1 -1
- package/geometry/operators/simplifyOGCOperator.d.ts +3 -1
- package/geometry/operators/simplifyOGCOperator.js +1 -1
- package/geometry/operators/simplifyOperator.d.ts +12 -4
- package/geometry/operators/simplifyOperator.js +1 -1
- package/geometry/operators/singlePartToMultiPartOperator.js +1 -1
- package/geometry/operators/support/deprecatedOperator.js +2 -0
- package/geometry/operators/symmetricDifferenceOperator.d.ts +9 -3
- package/geometry/operators/symmetricDifferenceOperator.js +1 -1
- package/geometry/operators/touchesOperator.d.ts +9 -3
- package/geometry/operators/touchesOperator.js +1 -1
- package/geometry/operators/unionOperator.d.ts +9 -3
- package/geometry/operators/unionOperator.js +1 -1
- package/geometry/operators/withinOperator.d.ts +9 -3
- package/geometry/operators/withinOperator.js +1 -1
- package/geometry/support/heightModelInfoUtils.js +1 -1
- package/geometry/support/intersectsBase.js +1 -1
- package/geometry/support/normalizeUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/GaussianSplatLayer.js +1 -1
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/IntegratedMeshLayer.js +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/buildingSublayers/BuildingComponentSublayer.js +1 -1
- package/layers/list/BasemapItemCollection.d.ts +40 -14
- package/layers/list/BasemapItemCollection.js +1 -1
- package/layers/list/CatalogItemCollection.d.ts +29 -11
- package/layers/list/CatalogItemCollection.js +1 -1
- package/layers/list/Item.d.ts +66 -122
- package/layers/list/Item.js +1 -1
- package/layers/list/ItemPanel.d.ts +23 -34
- package/layers/list/LayerItemCollection.d.ts +33 -43
- package/layers/list/LayerItemCollection.js +1 -1
- package/layers/list/TableItem.d.ts +42 -53
- package/layers/list/TableItem.js +1 -1
- package/layers/list/TableItemCollection.d.ts +25 -55
- package/layers/list/TableItemCollection.js +1 -1
- package/layers/list/TableItemPanel.d.ts +25 -23
- package/layers/list/support/layerListUtils.js +1 -1
- package/layers/list/types.d.ts +158 -37
- package/layers/mixins/TiledImagery.d.ts +6 -0
- package/layers/mixins/TiledImagery.js +1 -1
- package/layers/raster/datasets/ImageServerRaster.js +1 -1
- package/layers/raster/datasets/RasterFactory.js +1 -1
- package/layers/support/ElevationQuery.js +1 -1
- package/layers/support/FeatureFilter.d.ts +2 -1
- package/layers/support/FeatureFilter.js +1 -1
- package/layers/support/domainUtils.d.ts +2 -0
- package/layers/support/domainUtils.js +1 -1
- package/layers/support/fieldUtils.d.ts +10 -0
- package/layers/support/fieldUtils.js +1 -1
- package/package.json +6 -6
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +0 -1
- package/support/revision.js +1 -1
- package/symbols/LineStyleMarker3D.d.ts +3 -4
- package/symbols/LineSymbol3D.d.ts +19 -2
- package/symbols/LineSymbol3D.js +1 -1
- package/symbols/LineSymbol3DLayer.d.ts +22 -9
- package/symbols/Symbol3DLayer.d.ts +1 -1
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/OverrideHelper.js +1 -1
- package/symbols/cim/Rasterizer.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/dashUtils.js +2 -0
- package/symbols/cim/effects/EffectDashes.js +1 -1
- package/symbols/cim/fromCIMFontStyle.js +2 -0
- package/symbols/cim/richTextUtils.js +1 -1
- package/symbols/cim/utils.js +1 -1
- package/symbols/patterns/LinePattern3D.d.ts +10 -4
- package/symbols/patterns/LinePattern3D.js +1 -1
- package/symbols/patterns/LineTemplatePattern3D.d.ts +48 -0
- package/symbols/patterns/LineTemplatePattern3D.js +2 -0
- package/symbols/patterns/utils.js +1 -1
- package/symbols/support/Symbol3DOutline.js +1 -1
- package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
- package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
- package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
- package/views/2d/engine/webgl/GlyphWorker.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/decorGlyphRect.js +2 -0
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
- package/views/2d/engine/webgl/effects/highlight/MultiHighlightGradient.js +1 -1
- package/views/2d/engine/webgl/hashMosaic.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/clipping.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ShaderHighlight.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/utils.js +1 -1
- package/views/2d/input/MapViewInputManager.js +1 -1
- package/views/2d/input/handlers/KeyPan.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/GraphicsLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/LayerView2D.js +1 -1
- package/views/2d/layers/MapImageLayerView2D.js +1 -1
- package/views/2d/layers/MapNotesLayerView2D.js +1 -1
- package/views/2d/layers/RouteLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
- package/views/2d/layers/features/Processor.js +1 -1
- package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
- package/views/2d/layers/features/processor/AggregateStrategy.js +1 -1
- package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
- package/views/2d/layers/features/processor/bins/BinLevelState.js +1 -1
- package/views/2d/layers/features/processor/clusters/ClusterLevelState.js +1 -1
- package/views/2d/layers/features/processor/tracks/TrackLevelState.js +1 -1
- package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
- package/views/2d/layers/features/sources/FeatureSource.js +1 -1
- package/views/2d/layers/features/support/AttributeStore.js +1 -1
- package/views/2d/layers/graphics/AGraphicContainer.js +1 -1
- package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
- package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
- package/views/2d/layers/support/FeatureCommandQueue.js +1 -1
- package/views/2d/layers/support/FilterSchema.js +2 -0
- package/views/2d/layers/support/HighlightRegistry.js +2 -0
- package/views/2d/layers/support/annodime/DimensionInfo.js +1 -1
- package/views/2d/layers/support/annodime/dimensionUtils.js +1 -1
- package/views/2d/layers/support/util.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/input/handlers/KeyboardNavigation.js +1 -1
- package/views/3d/input/handlers/ground/GroundNavigation.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureStore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/support/Tiles3DMeshIntersectionHandler.js +1 -1
- package/views/3d/navigation/Navigation3D.d.ts +16 -0
- package/views/3d/navigation/Navigation3D.js +2 -0
- package/views/3d/navigation/modes/DefaultNavigationMode3D.d.ts +4 -0
- package/views/3d/navigation/modes/DefaultNavigationMode3D.js +2 -0
- package/views/3d/navigation/modes/GroundNavigationMode3D.d.ts +4 -0
- package/views/3d/navigation/modes/GroundNavigationMode3D.js +2 -0
- package/views/3d/navigation/modes/NavigationMode3D.d.ts +4 -0
- package/views/3d/navigation/modes/NavigationMode3D.js +2 -0
- package/views/3d/navigation/modes/NavigationMode3DUnion.d.ts +5 -0
- package/views/3d/state/ConstraintsManager.js +1 -1
- package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
- package/views/3d/support/MemoryController.js +1 -1
- package/views/3d/support/QualityProfile.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/hitTest.js +1 -1
- package/views/3d/terrain/ExtentHelper.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentDrawParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +4 -4
- package/views/3d/webgl-engine/core/shaderLibrary/output/getEmissions.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +57 -58
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +5 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/MarkerSizing.glsl.js +7 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Normals.glsl.js +5 -10
- package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js +10 -48
- package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js +16 -22
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +6 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadow.glsl.js +5 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/pbrGlobals.glsl.js +19 -0
- package/views/3d/webgl-engine/core/shaderLibrary/shading/pbrShadingInfo.glsl.js +24 -0
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +2 -2
- package/views/3d/webgl-engine/effects/AmbientIllumination.js +2 -0
- package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/effects/glow/BlurEmission.js +1 -1
- package/views/3d/webgl-engine/effects/snowcover/SnowCover.glsl.js +4 -4
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatDepthRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/LineMaterial.js +1 -1
- package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/VisualVariablePassParameters.js +1 -1
- package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +23 -22
- package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarkerTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechniqueConfiguration.js +1 -1
- package/views/MapView.d.ts +1 -0
- package/views/PopupView.js +1 -1
- package/views/SceneView.d.ts +1 -0
- package/views/SceneView.js +1 -1
- package/views/View.js +1 -1
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/support/DefaultsFromMap.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/BatchAttributeForm/ReactiveContingentValuesManager.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Bookmarks.js +1 -1
- package/widgets/FeatureForm/featureFormUtils.js +1 -1
- package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
- package/widgets/LayerList/LayerListViewModel.d.ts +1 -0
- package/widgets/LayerList/LayerListViewModel.js +1 -1
- package/widgets/LayerList/ListItem.d.ts +4 -0
- package/widgets/LayerList/ListItemPanel.d.ts +3 -0
- package/widgets/OrientedImageryViewer/types.d.ts +2 -2
- package/widgets/OrientedImageryViewer.d.ts +20 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/Search/LocatorSearchSource.d.ts +4 -3
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/support/forms/formUtils.d.ts +5 -0
- package/widgets/support/forms/formUtils.js +1 -1
- package/widgets/support/forms/types.d.ts +7 -1
- package/widgets/support/iconUtils.js +1 -1
- package/assets/esri/core/workers/chunks/03601be8b0763f82e88f.js +0 -1
- package/assets/esri/core/workers/chunks/075eb62465edb9cbf907.js +0 -1
- package/assets/esri/core/workers/chunks/0bff8d589312be6588fe.js +0 -1
- package/assets/esri/core/workers/chunks/0de90b1ad8118457fd5a.js +0 -1
- package/assets/esri/core/workers/chunks/0e1a067ab243900d0371.js +0 -1
- package/assets/esri/core/workers/chunks/0ee6109e6578395a7900.js +0 -1
- package/assets/esri/core/workers/chunks/0ee7376c29e0fd8f676c.js +0 -1
- package/assets/esri/core/workers/chunks/0ff13f7a18b0123d253e.js +0 -1
- package/assets/esri/core/workers/chunks/1082bb0858585bd4fa21.js +0 -2
- package/assets/esri/core/workers/chunks/13551987fbeaae154df8.js +0 -1
- package/assets/esri/core/workers/chunks/19ac6f4664f97fb3821c.js +0 -1
- package/assets/esri/core/workers/chunks/1ec01fd6330d011c76d6.js +0 -1
- package/assets/esri/core/workers/chunks/262052dfaec3af8a58b9.js +0 -1
- package/assets/esri/core/workers/chunks/2c01477b69c38f691e19.js +0 -1
- package/assets/esri/core/workers/chunks/2e2349387a2b9903f13c.js +0 -2
- package/assets/esri/core/workers/chunks/307297e025eed110095f.js +0 -1
- package/assets/esri/core/workers/chunks/33422dca6f4bcaa0ea74.js +0 -1
- package/assets/esri/core/workers/chunks/33e583166ab3943ecf0e.js +0 -1
- package/assets/esri/core/workers/chunks/349e9f3d3e3267d02988.js +0 -1
- package/assets/esri/core/workers/chunks/37ae52c71bf9c70fbb92.js +0 -1
- package/assets/esri/core/workers/chunks/3daddcb106a7009c5a70.js +0 -1
- package/assets/esri/core/workers/chunks/3de6e54b6ed0feae1940.js +0 -1
- package/assets/esri/core/workers/chunks/3ffc852db1a820ed143b.js +0 -1
- package/assets/esri/core/workers/chunks/411bbdecba340df11d95.js +0 -2
- package/assets/esri/core/workers/chunks/4490dd8bae0dd2769d99.js +0 -1
- package/assets/esri/core/workers/chunks/476535cfb06ced74d611.js +0 -2
- package/assets/esri/core/workers/chunks/4c088c26d5d546c95c90.js +0 -1
- package/assets/esri/core/workers/chunks/54bb3678570ca032f051.js +0 -1
- package/assets/esri/core/workers/chunks/56163189fbe63aa11e94.js +0 -1
- package/assets/esri/core/workers/chunks/571cf99c3eab8e517542.js +0 -1
- package/assets/esri/core/workers/chunks/5830deda121e4c95d199.js +0 -1
- package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +0 -1
- package/assets/esri/core/workers/chunks/5c8f423812a23c02c1fd.js +0 -1
- package/assets/esri/core/workers/chunks/5e56a004b4407b8066eb.js +0 -1
- package/assets/esri/core/workers/chunks/5eb726317b6602f1e206.js +0 -1
- package/assets/esri/core/workers/chunks/6010799e05d239073de0.js +0 -1
- package/assets/esri/core/workers/chunks/69921d068add041b5dcb.js +0 -1
- package/assets/esri/core/workers/chunks/6df29716f75696434807.js +0 -1
- package/assets/esri/core/workers/chunks/6e2075bd4832ff0db68c.js +0 -1
- package/assets/esri/core/workers/chunks/7608de0d942b4c16b2f6.js +0 -1
- package/assets/esri/core/workers/chunks/7737ab739eba6d81282d.js +0 -1
- package/assets/esri/core/workers/chunks/7d9468e38f3bf006f86e.js +0 -1
- package/assets/esri/core/workers/chunks/7efc51324cfc8e08c756.js +0 -1
- package/assets/esri/core/workers/chunks/84dc2afd89263a311b81.js +0 -1
- package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
- package/assets/esri/core/workers/chunks/a322afbb48898ce35851.js +0 -1
- package/assets/esri/core/workers/chunks/ab332bd411d6c7d4190c.js +0 -1
- package/assets/esri/core/workers/chunks/b7809ef3e1dabd921339.js +0 -1
- package/assets/esri/core/workers/chunks/b82b523b6837ed1f28d3.js +0 -2
- package/assets/esri/core/workers/chunks/bc9b96a539f28afcb8cb.js +0 -1
- package/assets/esri/core/workers/chunks/be69e2dda75b079362b2.js +0 -1
- package/assets/esri/core/workers/chunks/bf9eba555aebca2c132b.js +0 -1
- package/assets/esri/core/workers/chunks/c18de0f6cbeecee4ce34.js +0 -1
- package/assets/esri/core/workers/chunks/c7b762bae945f383c723.js +0 -1
- package/assets/esri/core/workers/chunks/c9df18e9ff7367a004b6.js +0 -1
- package/assets/esri/core/workers/chunks/d33d08cb6856cd2eb35e.js +0 -1
- package/assets/esri/core/workers/chunks/e688e6e816824b53a25e.js +0 -1
- package/assets/esri/core/workers/chunks/ea068c797e3e462f4518.js +0 -1
- package/assets/esri/core/workers/chunks/eaf1d38f09744b7e84f5.js +0 -1
- package/assets/esri/core/workers/chunks/ef24fd6c0322e5de9fdf.js +0 -2
- package/assets/esri/core/workers/chunks/f219ba010c480bb75684.js +0 -1
- package/assets/esri/core/workers/chunks/f5e8ccbd6b4c0a386903.js +0 -1
- package/assets/esri/core/workers/chunks/f60d5ce49c173d5381ec.js +0 -1
- package/assets/esri/core/workers/chunks/f834aa732c3f06525089.js +0 -1
- package/assets/esri/core/workers/chunks/f9e5740b05de24ba81be.js +0 -1
- package/assets/esri/core/workers/chunks/fae14e30fa7d81bf706e.js +0 -1
- package/assets/esri/core/workers/chunks/fb6f1b562ee0983c8c6e.js +0 -1
- package/assets/esri/core/workers/chunks/fc1658eae7b312502fab.js +0 -1
- package/assets/esri/core/workers/chunks/fc622f9e33e3b48113c8.js +0 -1
- package/views/2d/engine/webgl/Utils.js +0 -2
- package/views/2d/layers/support/HighlightCounter.js +0 -2
- /package/assets/esri/core/workers/chunks/{476535cfb06ced74d611.js.LICENSE.txt → 430802108b63194b7ddd.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{b82b523b6837ed1f28d3.js.LICENSE.txt → 7f2ac03efaa4a4898ba2.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ef24fd6c0322e5de9fdf.js.LICENSE.txt → bdcca906fdfb8e179abb.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{1082bb0858585bd4fa21.js.LICENSE.txt → c5e288d57bacb8451e2d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{2e2349387a2b9903f13c.js.LICENSE.txt → d5e3f8e5b8d2576d3cb3.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{411bbdecba340df11d95.js.LICENSE.txt → f465fb26541372fdc908.js.LICENSE.txt} +0 -0
package/layers/list/Item.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 e from"../../core/Accessor.js";import{isSome as i}from"../../core/arrayUtils.js";import n from"../../core/Collection.js";import{IdentifiableMixin as r}from"../../core/Identifiable.js";import{watch as s,initial as l}from"../../core/reactiveUtils.js";import{property as o,cast as a,subclass as h}from"../../core/accessorSupport/decorators.js";import{ensureType as d}from"../../core/accessorSupport/ensureType.js";import{get as p}from"../../core/accessorSupport/get.js";import c from"./ItemPanel.js";import{isLayerOutsideScaleRange as y,findLayerVisibilityMode as u,findLayerListMode as m,canDisplayLayer as b,getNormalizedChildLayerProperty as f}from"./support/layerListUtils.js";import{telemetryDisplayPropertyNames as v}from"../support/telemetryDisplayUtils.js";import{trackInfoPartPropertyNames as g}from"../support/trackInfoUtils.js";import C from"../../support/actions/ActionBase.js";import _ from"../../support/actions/ActionButton.js";import w from"../../support/actions/ActionToggle.js";var S;const k=n.ofType({key:"type",defaultKeyValue:"button",base:C,typeMap:{button:_,toggle:w}}),I=n.ofType(k);function M(t){return"csv"===t?.type||"feature"===t?.type||"geojson"===t?.type||"ogc-feature"===t?.type||"stream"===t?.type}function x(t){return"video"===t?.type}const O="layer",P="child-list-mode",E="hide";let D=S=class extends(r(e)){constructor(t){super(t),this.actionsSections=new I,this.actionsExpanded=!1,this.checkPublishStatusEnabled=!1,this.children=new(n.ofType(S)),this.childrenSortable=!0,this.content={type:"layer"},this.hidden=!1,this.layer=null,this.listItemCreatedFunction=null,this.listModeDisabled=!1,this.expanded=!1,this.parent=null,this.view=null}initialize(){if(this.addHandles([s(()=>[this.layer,this.layer?.listMode,this.listModeDisabled],()=>this._watchLayerProperties(this.layer),l),s(()=>this.checkPublishStatusEnabled,t=>this._updateChildrenPublishing(t),l),s(()=>this.view,t=>this._updateChildrenView(t),l),s(()=>this.panel,t=>this._setItemOnPanel(t),l),s(()=>{const t=this.layer,e=M(t)?t.trackInfo:null;return[t,e,e?.enabled]},()=>this._compileTrackInfoChildren(),l),s(()=>{const t=this.layer;return[t,x(t)?t.telemetryDisplay:null]},()=>this._compileTelemetryDisplayChildren(),l)]),"function"==typeof this.listItemCreatedFunction){const t={item:this};this.listItemCreatedFunction.call(null,t)}}destroy(){this.panel?.destroy(),this.children.destroyAll(),this.view=null}get actionsOpen(){return this.actionsExpanded}set actionsOpen(t){this.actionsExpanded=t}get connectionStatus(){const{layerView:t,publishing:e}=this;if(!e&&t&&"connectionStatus"in t)return t.connectionStatus}get error(){return this.layer?.loadError}get incompatible(){const{layerView:t}=this;return!(!t||!("spatialReferenceSupported"in t))&&!t.spatialReferenceSupported}get layerView(){const{layer:t,view:e}=this;if(!t||!e||"sublayer"===t.type)return null;const i="subtype-sublayer"===t.type?t.parent:t;return e.allLayerViews.find(t=>t.layer===i)??null}get open(){return this.expanded}set open(t){this.expanded=t}set panel(t){const e=this._get("panel");t!==e&&t&&e?.destroy(),this._set("panel",t)}castPanel(t){return this.expanded&&!t.hasOwnProperty("open")&&(t.open=!0),d(c,t)}get sortable(){return"layer"===this.content.type&&"knowledge-graph-sublayer"!==this.layer?.type&&this._get("sortable")}set sortable(t){this._set("sortable",t)}get state(){return!this.layer||this.hidden||this.incompatible?"disabled":this.updating?"loading":"ready"}get title(){if("layer"!==this.content.type)return this._get("title")||"";const t=p(this,"layer.layer");return(!t||t&&p(this,"layer.layer.loaded"))&&p(this,"layer.title")||p(this,"layer.attributes.title")||""}set title(t){this._override("title",t)}get publishing(){const{layer:t,checkPublishStatusEnabled:e}=this;return!!(e&&t&&"publishingInfo"in t&&"publishing"===t.publishingInfo?.status)}get updating(){const{layerView:t,connectionStatus:e,layer:i,publishing:n}=this;return!n&&!e&&(t?t.updating:"loading"===i?.loadStatus||!1)}get visible(){const{content:t,layer:e}=this;return"track-info"===t.type?this._getTrackPart(t.name)?.visible??!1:"telemetry-display"===t.type?!(!x(e)||!e.telemetryDisplay)&&e.telemetryDisplay[t.name]:!!e?.visible}set visible(t){const{content:e,layer:i}=this;if("track-info"===e.type){const i=this._getTrackPart(e.name);return void(i&&(i.visible=t))}"telemetry-display"!==e.type?i&&(i.visible=t):x(i)&&i.telemetryDisplay&&(i.telemetryDisplay[e.name]=t)}get visibleAtCurrentScale(){return this.layerView?.visibleAtCurrentScale??!y(this.layer,this.view?.scale)}get visibleAtCurrentTimeExtent(){return this.layerView?.visibleAtCurrentTimeExtent??!0}get visibilityMode(){return u(this.layer)}clone(){return new S({actionsExpanded:this.actionsExpanded,actionsSections:this.actionsSections.clone(),checkPublishStatusEnabled:this.checkPublishStatusEnabled,children:this.children.clone(),childrenSortable:this.childrenSortable,content:{...this.content},expanded:this.expanded,hidden:this.hidden,layer:this.layer,listItemCreatedFunction:this.listItemCreatedFunction,listModeDisabled:this.listModeDisabled,panel:this.panel,parent:this.parent,sortable:this.sortable,title:this.title,view:this.view,visible:this.visible})}toggleVisibility(t){if(!this.layer)return!1;const e=t??!this.visible;return this.visible=e,this.visible}_getTrackPart(t){const{layer:e}=this;return M(e)?e.trackInfo?.[t]??null:null}_setItemOnPanel(t){t&&(t.listItem=this)}_compileTrackInfoChildren(){const t=this.layer,e=this.children.filter(t=>"track-info"===t.content.type);if("layer"===this.content.type&&M(t)&&t.trackInfo?.enabled){e.some(e=>e.layer!==t)&&this.children.destroyMany(e.toArray());for(const e of g)this.children.some(t=>"track-info"===t.content.type&&t.content.name===e)||this.children.add(new S({content:{type:"track-info",name:e},layer:t,listItemCreatedFunction:this.listItemCreatedFunction,parent:this}))}else this.children.destroyMany(e.toArray())}_compileTelemetryDisplayChildren(){const t=this.layer,e=this.children.filter(t=>"telemetry-display"===t.content.type);if("layer"===this.content.type&&x(t)&&t.telemetryDisplay){e.some(e=>e.layer!==t)&&this.children.destroyMany(e.toArray());for(const e of v)this.children.some(t=>"telemetry-display"===t.content.type&&t.content.name===e)||this.children.add(new S({content:{type:"telemetry-display",name:e},layer:t,listItemCreatedFunction:this.listItemCreatedFunction,parent:this}))}else this.children.destroyMany(e.toArray())}_updateChildrenPublishing(t){this.children?.forEach(e=>e.checkPublishStatusEnabled=t)}_updateChildrenView(t){const e=this.children;e&&e.forEach(e=>e.view=t)}_createChildren(t){const{listModeDisabled:e,children:i}=this,n=t.filter(t=>!i.some(e=>"layer"===e.content.type&&e.layer===t));i.addMany(this._createChildItems(n,e).toArray())}_destroyChildren(t){const{children:e}=this,i=e.filter(e=>"layer"===e.content.type&&!!e.layer&&!t.includes(e.layer));e.destroyMany(i.toArray())}_sortChildren(t){this.children.sort((e,i)=>{const n="layer"!==e.content.type,r="layer"!==i.content.type;return n||r?n?r?"track-info"===e.content.type&&"track-info"===i.content.type?g.indexOf(e.content.name)-g.indexOf(i.content.name):"telemetry-display"===e.content.type&&"telemetry-display"===i.content.type?v.indexOf(e.content.name)-v.indexOf(i.content.name):"track-info"===e.content.type?-1:1:1:-1:t.indexOf(i.layer)-t.indexOf(e.layer)})}_destroyLayerChildren(){this.removeHandles(P),this.children.destroyMany(this.children.filter(t=>"layer"===t.content.type).toArray())}_watchChildLayerListMode(t){this.removeHandles(P),this.listModeDisabled||this.addHandles(t.toArray().map(e=>s(()=>e.listMode,()=>this._compileChildren(t))),P)}_compileChildren(t){const e=this.listModeDisabled?t:t?.filter(t=>m(t)!==E);t?.length?(this._createChildren(e),this._destroyChildren(e),this._sortChildren(e),this._watchChildLayerListMode(t)):this._destroyLayerChildren()}_watchSublayerChanges(t){t&&this.addHandles(t.on("change",()=>this._compileChildren(t)),O)}_initializeChildLayers(t){this._compileChildren(t),this._watchSublayerChanges(t)}_createChildItems(t,e){return t.reverse().map(t=>e||b(t)?new S({layer:t,checkPublishStatusEnabled:this.checkPublishStatusEnabled,listItemCreatedFunction:this.listItemCreatedFunction,listModeDisabled:this.listModeDisabled,parent:this,view:this.view}):null).filter(i)}_watchLayerProperties(t){if(this.removeHandles(O),this.removeHandles(P),!t||"layer"!==this.content.type)return;if("hide-children"===(!this.listModeDisabled&&m(t)))return void this._destroyLayerChildren();const e=f(t);e&&this.addHandles(s(()=>t[e],i=>{const n=i;t.hasOwnProperty(e)&&n&&this._initializeChildLayers(n)},l),O)}};t([o({type:I})],D.prototype,"actionsSections",void 0),t([o()],D.prototype,"actionsExpanded",void 0),t([o()],D.prototype,"actionsOpen",null),t([o()],D.prototype,"checkPublishStatusEnabled",void 0),t([o({type:n.ofType(S)})],D.prototype,"children",void 0),t([o()],D.prototype,"childrenSortable",void 0),t([o({nonNullable:!0})],D.prototype,"content",void 0),t([o({readOnly:!0})],D.prototype,"connectionStatus",null),t([o({readOnly:!0})],D.prototype,"error",null),t([o()],D.prototype,"hidden",void 0),t([o({readOnly:!0})],D.prototype,"incompatible",null),t([o()],D.prototype,"layer",void 0),t([o({readOnly:!0})],D.prototype,"layerView",null),t([o()],D.prototype,"listItemCreatedFunction",void 0),t([o({nonNullable:!0})],D.prototype,"listModeDisabled",void 0),t([o()],D.prototype,"expanded",void 0),t([o()],D.prototype,"open",null),t([o({type:c})],D.prototype,"panel",null),t([a("panel")],D.prototype,"castPanel",null),t([o()],D.prototype,"parent",void 0),t([o({value:!0})],D.prototype,"sortable",null),t([o({readOnly:!0})],D.prototype,"state",null),t([o()],D.prototype,"title",null),t([o({readOnly:!0})],D.prototype,"publishing",null),t([o({readOnly:!0})],D.prototype,"updating",null),t([o()],D.prototype,"view",void 0),t([o()],D.prototype,"visible",null),t([o({readOnly:!0})],D.prototype,"visibleAtCurrentScale",null),t([o({readOnly:!0})],D.prototype,"visibleAtCurrentTimeExtent",null),t([o({readOnly:!0})],D.prototype,"visibilityMode",null),D=S=t([h("esri.layers.list.Item")],D);const A=D;export{A as default};
|
|
2
|
+
import{__decorate as t}from"tslib";import e from"../../core/Accessor.js";import{isSome as i}from"../../core/arrayUtils.js";import n from"../../core/Collection.js";import{IdentifiableMixin as r}from"../../core/Identifiable.js";import{watch as s,initial as l}from"../../core/reactiveUtils.js";import{property as o,cast as a,subclass as h}from"../../core/accessorSupport/decorators.js";import{ensureType as d}from"../../core/accessorSupport/ensureType.js";import{get as p}from"../../core/accessorSupport/get.js";import c from"./ItemPanel.js";import{isLayerOutsideScaleRange as y,findLayerVisibilityMode as u,findLayerListMode as m,canDisplayLayer as b,getNormalizedChildLayerProperty as f}from"./support/layerListUtils.js";import{telemetryDisplayPropertyNames as v}from"../support/telemetryDisplayUtils.js";import{trackInfoPartPropertyNames as g}from"../support/trackInfoUtils.js";import C from"../../support/actions/ActionBase.js";import _ from"../../support/actions/ActionButton.js";import w from"../../support/actions/ActionToggle.js";var S;const k=n.ofType({key:"type",defaultKeyValue:"button",base:C,typeMap:{button:_,toggle:w}}),I=n.ofType(k);function M(t){return"csv"===t?.type||"feature"===t?.type||"geojson"===t?.type||"ogc-feature"===t?.type||"stream"===t?.type}function x(t){return"video"===t?.type}const O="layer",P="child-list-mode",E="hide";let D=S=class extends(r(e)){constructor(t){super(t),this.actionsExpanded=!1,this.actionsSections=new I,this.checkPublishStatusEnabled=!1,this.children=new(n.ofType(S)),this.childrenSortable=!0,this.content={type:"layer"},this.expanded=!1,this.hidden=!1,this.layer=null,this.listItemCreatedFunction=null,this.listModeDisabled=!1,this.parent=null,this.view=null}initialize(){if(this.addHandles([s(()=>[this.layer,this.layer?.listMode,this.listModeDisabled],()=>this._watchLayerProperties(this.layer),l),s(()=>this.checkPublishStatusEnabled,t=>this._updateChildrenPublishing(t),l),s(()=>this.view,t=>this._updateChildrenView(t),l),s(()=>this.panel,t=>this._setItemOnPanel(t),l),s(()=>{const t=this.layer,e=M(t)?t.trackInfo:null;return[t,e,e?.enabled]},()=>this._compileTrackInfoChildren(),l),s(()=>{const t=this.layer;return[t,x(t)?t.telemetryDisplay:null]},()=>this._compileTelemetryDisplayChildren(),l)]),"function"==typeof this.listItemCreatedFunction){const t={item:this};this.listItemCreatedFunction.call(null,t)}}destroy(){this.panel?.destroy(),this.children.destroyAll(),this.view=null}get actionsOpen(){return this.actionsExpanded}set actionsOpen(t){this.actionsExpanded=t}get connectionStatus(){const{layerView:t,publishing:e}=this;if(!e&&t&&"connectionStatus"in t)return t.connectionStatus}get error(){return this.layer?.loadError}get incompatible(){const{layerView:t}=this;return!(!t||!("spatialReferenceSupported"in t))&&!t.spatialReferenceSupported}get layerView(){const{layer:t,view:e}=this;if(!t||!e||"sublayer"===t.type)return null;const i="subtype-sublayer"===t.type?t.parent:t;return e.allLayerViews.find(t=>t.layer===i)??null}get open(){return this.expanded}set open(t){this.expanded=t}set panel(t){const e=this._get("panel");t!==e&&t&&e?.destroy(),this._set("panel",t)}castPanel(t){return this.expanded&&!t.hasOwnProperty("open")&&(t.open=!0),d(c,t)}get publishing(){const{layer:t,checkPublishStatusEnabled:e}=this;return!!(e&&t&&"publishingInfo"in t&&"publishing"===t.publishingInfo?.status)}get sortable(){return"layer"===this.content.type&&"knowledge-graph-sublayer"!==this.layer?.type&&this._get("sortable")}set sortable(t){this._set("sortable",t)}get state(){return!this.layer||this.hidden||this.incompatible?"disabled":this.updating?"loading":"ready"}get title(){if("layer"!==this.content.type)return this._get("title")||"";const t=p(this,"layer.layer");return(!t||t&&p(this,"layer.layer.loaded"))&&p(this,"layer.title")||p(this,"layer.attributes.title")||""}set title(t){this._override("title",t)}get updating(){const{layerView:t,connectionStatus:e,layer:i,publishing:n}=this;return!n&&!e&&(t?t.updating:"loading"===i?.loadStatus||!1)}get visible(){const{content:t,layer:e}=this;return"track-info"===t.type?this._getTrackPart(t.name)?.visible??!1:"telemetry-display"===t.type?!(!x(e)||!e.telemetryDisplay)&&e.telemetryDisplay[t.name]:!!e?.visible}set visible(t){const{content:e,layer:i}=this;if("track-info"===e.type){const i=this._getTrackPart(e.name);return void(i&&(i.visible=t))}"telemetry-display"!==e.type?i&&(i.visible=t):x(i)&&i.telemetryDisplay&&(i.telemetryDisplay[e.name]=t)}get visibleAtCurrentScale(){return this.layerView?.visibleAtCurrentScale??!y(this.layer,this.view?.scale)}get visibleAtCurrentTimeExtent(){return this.layerView?.visibleAtCurrentTimeExtent??!0}get visibilityMode(){return u(this.layer)}clone(){return new S({actionsExpanded:this.actionsExpanded,actionsSections:this.actionsSections.clone(),checkPublishStatusEnabled:this.checkPublishStatusEnabled,children:this.children.clone(),childrenSortable:this.childrenSortable,content:{...this.content},expanded:this.expanded,hidden:this.hidden,layer:this.layer,listItemCreatedFunction:this.listItemCreatedFunction,listModeDisabled:this.listModeDisabled,panel:this.panel,parent:this.parent,sortable:this.sortable,title:this.title,view:this.view,visible:this.visible})}toggleVisibility(t){if(!this.layer)return!1;const e=t??!this.visible;return this.visible=e,this.visible}_compileChildren(t){const e=this.listModeDisabled?t:t?.filter(t=>m(t)!==E);t?.length?(this._createChildren(e),this._destroyChildren(e),this._sortChildren(e),this._watchChildLayerListMode(t)):this._destroyLayerChildren()}_compileTelemetryDisplayChildren(){const t=this.layer,e=this.children.filter(t=>"telemetry-display"===t.content.type);if("layer"===this.content.type&&x(t)&&t.telemetryDisplay){e.some(e=>e.layer!==t)&&this.children.destroyMany(e.toArray());for(const e of v)this.children.some(t=>"telemetry-display"===t.content.type&&t.content.name===e)||this.children.add(new S({content:{type:"telemetry-display",name:e},layer:t,listItemCreatedFunction:this.listItemCreatedFunction,parent:this}))}else this.children.destroyMany(e.toArray())}_compileTrackInfoChildren(){const t=this.layer,e=this.children.filter(t=>"track-info"===t.content.type);if("layer"===this.content.type&&M(t)&&t.trackInfo?.enabled){e.some(e=>e.layer!==t)&&this.children.destroyMany(e.toArray());for(const e of g)this.children.some(t=>"track-info"===t.content.type&&t.content.name===e)||this.children.add(new S({content:{type:"track-info",name:e},layer:t,listItemCreatedFunction:this.listItemCreatedFunction,parent:this}))}else this.children.destroyMany(e.toArray())}_createChildItems(t,e){return t.reverse().map(t=>e||b(t)?new S({checkPublishStatusEnabled:this.checkPublishStatusEnabled,layer:t,listItemCreatedFunction:this.listItemCreatedFunction,listModeDisabled:this.listModeDisabled,parent:this,view:this.view}):null).filter(i)}_createChildren(t){const{listModeDisabled:e,children:i}=this,n=t.filter(t=>!i.some(e=>"layer"===e.content.type&&e.layer===t));i.addMany(this._createChildItems(n,e).toArray())}_destroyChildren(t){const{children:e}=this,i=e.filter(e=>"layer"===e.content.type&&!!e.layer&&!t.includes(e.layer));e.destroyMany(i.toArray())}_destroyLayerChildren(){this.removeHandles(P),this.children.destroyMany(this.children.filter(t=>"layer"===t.content.type).toArray())}_getTrackPart(t){const{layer:e}=this;return M(e)?e.trackInfo?.[t]??null:null}_initializeChildLayers(t){this._compileChildren(t),this._watchSublayerChanges(t)}_setItemOnPanel(t){t&&(t.listItem=this)}_sortChildren(t){this.children.sort((e,i)=>{const n="layer"!==e.content.type,r="layer"!==i.content.type;return n||r?n?r?"track-info"===e.content.type&&"track-info"===i.content.type?g.indexOf(e.content.name)-g.indexOf(i.content.name):"telemetry-display"===e.content.type&&"telemetry-display"===i.content.type?v.indexOf(e.content.name)-v.indexOf(i.content.name):"track-info"===e.content.type?-1:1:1:-1:t.indexOf(i.layer)-t.indexOf(e.layer)})}_updateChildrenPublishing(t){this.children?.forEach(e=>e.checkPublishStatusEnabled=t)}_updateChildrenView(t){const e=this.children;e&&e.forEach(e=>e.view=t)}_watchChildLayerListMode(t){this.removeHandles(P),this.listModeDisabled||this.addHandles(t.toArray().map(e=>s(()=>e.listMode,()=>this._compileChildren(t))),P)}_watchLayerProperties(t){if(this.removeHandles(O),this.removeHandles(P),!t||"layer"!==this.content.type)return;if("hide-children"===(!this.listModeDisabled&&m(t)))return void this._destroyLayerChildren();const e=f(t);e&&this.addHandles(s(()=>t[e],i=>{const n=i;t.hasOwnProperty(e)&&n&&this._initializeChildLayers(n)},l),O)}_watchSublayerChanges(t){t&&this.addHandles(t.on("change",()=>this._compileChildren(t)),O)}};t([o()],D.prototype,"actionsExpanded",void 0),t([o()],D.prototype,"actionsOpen",null),t([o({type:I})],D.prototype,"actionsSections",void 0),t([o()],D.prototype,"checkPublishStatusEnabled",void 0),t([o({type:n.ofType(S)})],D.prototype,"children",void 0),t([o()],D.prototype,"childrenSortable",void 0),t([o({readOnly:!0})],D.prototype,"connectionStatus",null),t([o({nonNullable:!0})],D.prototype,"content",void 0),t([o({readOnly:!0})],D.prototype,"error",null),t([o()],D.prototype,"expanded",void 0),t([o()],D.prototype,"hidden",void 0),t([o({readOnly:!0})],D.prototype,"incompatible",null),t([o()],D.prototype,"layer",void 0),t([o({readOnly:!0})],D.prototype,"layerView",null),t([o()],D.prototype,"listItemCreatedFunction",void 0),t([o({nonNullable:!0})],D.prototype,"listModeDisabled",void 0),t([o()],D.prototype,"open",null),t([o({type:c})],D.prototype,"panel",null),t([a("panel")],D.prototype,"castPanel",null),t([o()],D.prototype,"parent",void 0),t([o({readOnly:!0})],D.prototype,"publishing",null),t([o({value:!0})],D.prototype,"sortable",null),t([o({readOnly:!0})],D.prototype,"state",null),t([o()],D.prototype,"title",null),t([o({readOnly:!0})],D.prototype,"updating",null),t([o()],D.prototype,"view",void 0),t([o()],D.prototype,"visible",null),t([o({readOnly:!0})],D.prototype,"visibleAtCurrentScale",null),t([o({readOnly:!0})],D.prototype,"visibleAtCurrentTimeExtent",null),t([o({readOnly:!0})],D.prototype,"visibilityMode",null),D=S=t([h("esri.layers.list.Item")],D);const A=D;export{A as default};
|
|
@@ -1,72 +1,61 @@
|
|
|
1
1
|
import type Accessor from "../../core/Accessor.js";
|
|
2
2
|
import type Item from "./Item.js";
|
|
3
|
-
import type { IdentifiableMixin
|
|
4
|
-
|
|
5
|
-
export interface ItemPanelProperties extends IdentifiableMixinProperties, Partial<Pick<ItemPanel, "content" | "disabled" | "flowEnabled" | "icon" | "image" | "listItem" | "open" | "title" | "visible">> {}
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Arbitrary data associated with the panel.
|
|
9
|
-
*
|
|
10
|
-
* @see [content](https://developers.arcgis.com/javascript/latest/references/core/layers/list/ItemPanel/#content)
|
|
11
|
-
*/
|
|
12
|
-
export type ItemPanelContent = "legend" | HTMLElement | string;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Defines one or more panel content values.
|
|
16
|
-
*
|
|
17
|
-
* @see [content](https://developers.arcgis.com/javascript/latest/references/core/layers/list/ItemPanel/#content)
|
|
18
|
-
*/
|
|
19
|
-
export type ItemPanelContents = ItemPanelContent | ItemPanelContent[];
|
|
3
|
+
import type { IdentifiableMixin } from "../../core/Identifiable.js";
|
|
4
|
+
import type { ItemPanelContents, ItemPanelProperties } from "./types.js";
|
|
20
5
|
|
|
21
6
|
/**
|
|
22
|
-
*
|
|
7
|
+
* Stores state for additional content associated with a layer-list item.
|
|
23
8
|
*
|
|
24
|
-
* This class does not render UI.
|
|
9
|
+
* This class does not render UI. Consumer components use its content, presentation, and interaction state
|
|
10
|
+
* to render a panel associated with an [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/).
|
|
25
11
|
*
|
|
12
|
+
* @beta
|
|
26
13
|
* @since 5.2
|
|
27
14
|
*/
|
|
28
15
|
export default class ItemPanel extends ItemPanelSuperclass {
|
|
29
16
|
constructor(properties?: ItemPanelProperties);
|
|
30
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The content to display in the panel.
|
|
19
|
+
* Content may be a string, an `HTMLElement`, the `"legend"` keyword, or an array of content values.
|
|
20
|
+
*/
|
|
31
21
|
accessor content: ItemPanelContents | null | undefined;
|
|
32
22
|
/**
|
|
33
|
-
*
|
|
23
|
+
* Indicates whether the panel cannot be opened or interacted with.
|
|
34
24
|
*
|
|
35
25
|
* @default false
|
|
36
|
-
* @since 5.2
|
|
37
26
|
*/
|
|
38
27
|
accessor disabled: boolean;
|
|
39
28
|
/**
|
|
40
|
-
* Indicates
|
|
29
|
+
* Indicates whether a consumer UI should display the panel in a drill-in flow.
|
|
30
|
+
* When `true`, the panel can be rendered as a separate flow step instead of inline content.
|
|
41
31
|
*
|
|
42
32
|
* @default false
|
|
43
|
-
* @since 5.2
|
|
44
33
|
*/
|
|
45
34
|
accessor flowEnabled: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Identifier for an icon to represent this panel.
|
|
48
|
-
*
|
|
49
|
-
* @since 5.2
|
|
50
|
-
*/
|
|
35
|
+
/** The icon identifier used by a consumer UI to represent this panel. */
|
|
51
36
|
accessor icon: string | null | undefined;
|
|
52
|
-
/** URL or data URI used by consumer
|
|
37
|
+
/** A URL or data URI for an image used by a consumer UI to represent this panel. */
|
|
53
38
|
accessor image: string | null | undefined;
|
|
54
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* The list item that owns this panel.
|
|
41
|
+
* This association is set automatically when the panel is assigned to an item.
|
|
42
|
+
*/
|
|
55
43
|
accessor listItem: Item | null | undefined;
|
|
56
44
|
/**
|
|
57
|
-
* Indicates
|
|
45
|
+
* Indicates whether the panel is open in a consumer UI.
|
|
58
46
|
*
|
|
59
47
|
* @default false
|
|
60
48
|
*/
|
|
61
49
|
accessor open: boolean;
|
|
62
50
|
/**
|
|
63
|
-
* The title
|
|
51
|
+
* The title displayed by a consumer UI for this panel.
|
|
64
52
|
*
|
|
65
53
|
* @default ""
|
|
66
54
|
*/
|
|
67
55
|
accessor title: string;
|
|
68
56
|
/**
|
|
69
|
-
* Indicates whether consumer
|
|
57
|
+
* Indicates whether a consumer UI should display this panel.
|
|
58
|
+
* Set to `false` to hide the panel while preserving its content and state.
|
|
70
59
|
*
|
|
71
60
|
* @default true
|
|
72
61
|
*/
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type Collection from "../../core/Collection.js";
|
|
2
2
|
import type Item from "./Item.js";
|
|
3
3
|
import type { EventedAccessor } from "../../core/Evented.js";
|
|
4
|
-
import type { Action, ItemModifier, State } from "./types.js";
|
|
4
|
+
import type { Action, ItemModifier, LayerItemCollectionProperties, LayerItemCollectionTriggerActionEvent, State } from "./types.js";
|
|
5
5
|
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
6
6
|
|
|
7
|
-
export interface LayerItemCollectionProperties extends Partial<Pick<LayerItemCollection, "checkPublishStatusEnabled" | "listItemCreatedFunction" | "listModeDisabled" | "view">> {}
|
|
8
|
-
|
|
9
7
|
export interface LayerItemCollectionEvents {
|
|
10
8
|
/**
|
|
11
9
|
* Emitted when the user clicks an [action](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or
|
|
@@ -18,22 +16,12 @@ export interface LayerItemCollectionEvents {
|
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
|
|
25
|
-
export interface LayerItemCollectionTriggerActionEvent {
|
|
26
|
-
/** The action that was clicked by the user. */
|
|
27
|
-
action: Action;
|
|
28
|
-
/** The list item associated with the action. */
|
|
29
|
-
item: Item;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Provides list-item orchestration logic for layer-list workflows.
|
|
34
|
-
* To hide layers from the list, set the [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
|
|
35
|
-
* property on the layer(s) to `hide`.
|
|
19
|
+
* Manages the [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) instances displayed for operational layers in a layer-list workflow.
|
|
20
|
+
* The collection tracks the view's layers and layer views, creates and updates list items, and supports
|
|
21
|
+
* custom item configuration, actions, visibility filtering, and reordering.
|
|
22
|
+
* To exclude a layer from the collection, set its [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property to `hide`.
|
|
36
23
|
*
|
|
24
|
+
* @beta
|
|
37
25
|
* @since 5.2
|
|
38
26
|
*/
|
|
39
27
|
export default class LayerItemCollection extends EventedAccessor {
|
|
@@ -45,62 +33,64 @@ export default class LayerItemCollection extends EventedAccessor {
|
|
|
45
33
|
"@eventTypes": LayerItemCollectionEvents;
|
|
46
34
|
constructor(properties?: LayerItemCollectionProperties);
|
|
47
35
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* will be `false` if `checkPublishStatusEnabled` is `false`.
|
|
36
|
+
* Indicates whether items should report when their associated layers are being published.
|
|
37
|
+
* When `false`, the [Item.publishing](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/#publishing) property is always `false`.
|
|
51
38
|
*
|
|
52
39
|
* @default false
|
|
53
|
-
* @since 5.2
|
|
54
40
|
*/
|
|
55
41
|
accessor checkPublishStatusEnabled: boolean;
|
|
56
42
|
/**
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* [Item.actionsSections](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/#actionsSections) property.
|
|
61
|
-
*
|
|
62
|
-
* @since 5.2
|
|
43
|
+
* A function called when each [Item](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/) is created.
|
|
44
|
+
* Use the callback to modify supported item properties or add actions through
|
|
45
|
+
* the [Item.actionsSections](https://developers.arcgis.com/javascript/latest/references/core/layers/list/Item/#actionsSections) property.
|
|
63
46
|
*/
|
|
64
47
|
accessor listItemCreatedFunction: ItemModifier | null | undefined;
|
|
65
48
|
/**
|
|
66
|
-
*
|
|
49
|
+
* Indicates whether to ignore the [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property when determining which layers to display.
|
|
50
|
+
* When `true`, layers with a `listMode` of `hide` are included.
|
|
67
51
|
*
|
|
68
52
|
* @default false
|
|
69
|
-
* @since 5.2
|
|
70
53
|
* @see [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
|
|
71
54
|
*/
|
|
72
55
|
accessor listModeDisabled: boolean;
|
|
73
56
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
57
|
+
* The items representing operational layers in the view.
|
|
58
|
+
* Items are ordered to match the map's layer order and can include nested child items.
|
|
59
|
+
* To exclude a layer, set its [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property to `hide`.
|
|
76
60
|
*
|
|
77
61
|
* @see [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
|
|
78
62
|
*/
|
|
79
63
|
get operationalItems(): Collection<Item>;
|
|
80
64
|
/**
|
|
81
|
-
* The
|
|
65
|
+
* The current state of the collection.
|
|
66
|
+
* Returns `disabled` when no view is set, `loading` while the view is not ready, and `ready` when
|
|
67
|
+
* the view is ready to provide operational layer items.
|
|
82
68
|
*
|
|
83
69
|
* @default "disabled"
|
|
84
70
|
*/
|
|
85
71
|
get state(): State;
|
|
86
|
-
/** The
|
|
72
|
+
/** The total number of items, including nested child items. */
|
|
73
|
+
get totalItems(): number;
|
|
74
|
+
/** The map or scene view that supplies the operational layers and layer views for this collection. */
|
|
87
75
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
88
76
|
/**
|
|
89
|
-
* Moves a
|
|
77
|
+
* Moves a layer item within the map or between supported parent layers.
|
|
78
|
+
* The item must represent a layer, and sublayers cannot be moved with this method.
|
|
79
|
+
* The target index uses the layer collection's order, where `0` represents the top position in the list.
|
|
90
80
|
*
|
|
91
|
-
* @param targetItem - The
|
|
92
|
-
* @param fromParentItem - The current parent
|
|
93
|
-
* @param toParentItem - The target parent
|
|
94
|
-
* @param newIndex - The
|
|
95
|
-
* @since 5.2
|
|
81
|
+
* @param targetItem - The item to move.
|
|
82
|
+
* @param fromParentItem - The item's current parent, if it has one.
|
|
83
|
+
* @param toParentItem - The target parent, if the item is being moved into a child collection.
|
|
84
|
+
* @param newIndex - The target position in the destination collection.
|
|
96
85
|
*/
|
|
97
86
|
moveItem(targetItem: Item | null | undefined, fromParentItem: Item | null | undefined, toParentItem: Item | null | undefined, newIndex: number): void;
|
|
98
87
|
/**
|
|
99
|
-
*
|
|
100
|
-
*
|
|
88
|
+
* Executes an enabled action associated with an item and emits the
|
|
89
|
+
* [@trigger-action](https://developers.arcgis.com/javascript/latest/references/core/layers/list/LayerItemCollection/#event-trigger-action) event.
|
|
90
|
+
* Disabled actions are ignored.
|
|
101
91
|
*
|
|
102
92
|
* @param action - The action to execute.
|
|
103
|
-
* @param item -
|
|
93
|
+
* @param item - The item associated with the action.
|
|
104
94
|
*/
|
|
105
95
|
triggerAction(action: Action, item: Item): void;
|
|
106
96
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import t from"../../core/Collection.js";import{EventedAccessor as s}from"../../core/Evented.js";import{watch as i,initial as a}from"../../core/reactiveUtils.js";import{property as r,subclass as l}from"../../core/accessorSupport/decorators.js";import o from"./Item.js";import{getItemLayers as n,findLayerListMode as d}from"./support/layerListUtils.js";import{isLinkChartView as h}from"../../linkChart/guards.js";const m={view:"view",viewLayers:"view-layers",mapLayers:"map-layers",layerViews:"layer-views",layerListMode:"layer-list-mode"},c="hide",p=t.ofType(o);let y=class extends s{constructor(e){super(e),this.checkPublishStatusEnabled=!1,this.listItemCreatedFunction=null,this.listModeDisabled=!1,this.operationalItems=new p,this.view=null}initialize(){this.addHandles([i(()=>!0===this.view?.ready,()=>this._viewHandles(),a),i(()=>[this.listItemCreatedFunction,this.checkPublishStatusEnabled,this.listModeDisabled],()=>this._recompileList()),i(()=>h(this.view)?this.view.inGeographicLayout:null,()=>this._compileList())],m.view)}destroy(){this._removeAllItems(),this.view=null}get state(){const{view:e}=this;return e?.ready?"ready":e?"loading":"disabled"}get totalItems(){return this.operationalItems.flatten(e=>e.children).length}
|
|
2
|
+
import{__decorate as e}from"tslib";import t from"../../core/Collection.js";import{EventedAccessor as s}from"../../core/Evented.js";import{watch as i,initial as a}from"../../core/reactiveUtils.js";import{property as r,subclass as l}from"../../core/accessorSupport/decorators.js";import o from"./Item.js";import{getItemLayers as n,findLayerListMode as d}from"./support/layerListUtils.js";import{isLinkChartView as h}from"../../linkChart/guards.js";const m={view:"view",viewLayers:"view-layers",mapLayers:"map-layers",layerViews:"layer-views",layerListMode:"layer-list-mode"},c="hide",p=t.ofType(o);let y=class extends s{constructor(e){super(e),this.checkPublishStatusEnabled=!1,this.listItemCreatedFunction=null,this.listModeDisabled=!1,this.operationalItems=new p,this.view=null}initialize(){this.addHandles([i(()=>!0===this.view?.ready,()=>this._viewHandles(),a),i(()=>[this.listItemCreatedFunction,this.checkPublishStatusEnabled,this.listModeDisabled],()=>this._recompileList()),i(()=>h(this.view)?this.view.inGeographicLayout:null,()=>this._compileList())],m.view)}destroy(){this._removeAllItems(),this.view=null}get state(){const{view:e}=this;return e?.ready?"ready":e?"loading":"disabled"}get totalItems(){return this.operationalItems.flatten(e=>e.children).length}moveItem(e,t,s,i){const a=e?.layer;if(!a||"layer"!==e.content.type||"subtype-sublayer"===a.type||"sublayer"===a.type)return;const r=this.view?.map?.layers,l=t?n(t):r,o=s?n(s):r;if(!l||!o)return;const{operationalItems:d}=this,h=t?.children||d,m=s?.children||d,c=o.length-i;e.parent=s||null,h.remove(e),l.remove(a),m.includes(e)||m.add(e,c),o.includes(a)||o.add(a,c),this._compileList()}triggerAction(e,t){e&&!e.disabled&&this.emit("trigger-action",{action:e,item:t})}_compileList(){const e=this.view?.map?.layers,t=h(this.view)&&!this.view.inGeographicLayout?e?.filter(({type:e})=>"link-chart"===e):e;this._watchLayersListMode(t);const s=this._getViewableLayers(t);s?.length?(this._createNewItems(s),this._removeItems(s),this._sortItems(s)):this._removeAllItems()}_createItem(e){const{view:t,listItemCreatedFunction:s,checkPublishStatusEnabled:i,listModeDisabled:a}=this;return new o({checkPublishStatusEnabled:i,layer:e,listItemCreatedFunction:s,listModeDisabled:a,view:t})}_createLayerViewHandles(e){this.removeHandles(m.layerViews),this._compileList(),e&&this.addHandles(e.on("change",()=>this._compileList()),m.layerViews)}_createMapLayerHandles(e){this.removeHandles(m.mapLayers),this._compileList(),e&&this.addHandles(e.on("change",()=>this._compileList()),m.mapLayers)}_createNewItems(e){const{operationalItems:t}=this;e.forEach(e=>{t.some(t=>t.layer===e)||t.add(this._createItem(e))})}_getViewableLayers(e){return e?this.listModeDisabled?e:e.filter(e=>d(e)!==c):void 0}_recompileList(){this._removeAllItems(),this._compileList()}_removeAllItems(){this.operationalItems.destroyAll()}_removeItems(e){const{operationalItems:t}=this,s=[];t.forEach(t=>{t&&e&&e.includes(t.layer)||s.push(t)}),t.destroyMany(s)}_sortItems(e){const{operationalItems:t}=this;t.sort((t,s)=>{const i=e.indexOf(t.layer),a=e.indexOf(s.layer);return i>a?-1:i<a?1:0})}_viewHandles(){const{view:e}=this;this.removeHandles([m.mapLayers,m.layerViews,m.viewLayers]),e?.ready?this.addHandles([i(()=>this.view?.map?.allLayers,e=>this._createMapLayerHandles(e),a),i(()=>this.view?.allLayerViews,e=>this._createLayerViewHandles(e),a)],m.viewLayers):this._removeAllItems()}_watchLayersListMode(e){this.removeHandles(m.layerListMode),e&&!this.listModeDisabled&&this.addHandles(i(()=>e.filter(e=>"listMode"in e).map(e=>e.listMode).toArray(),()=>this._compileList()),m.layerListMode)}};e([r()],y.prototype,"checkPublishStatusEnabled",void 0),e([r()],y.prototype,"listItemCreatedFunction",void 0),e([r({nonNullable:!0})],y.prototype,"listModeDisabled",void 0),e([r({type:p})],y.prototype,"operationalItems",void 0),e([r({readOnly:!0})],y.prototype,"state",null),e([r()],y.prototype,"totalItems",null),e([r()],y.prototype,"view",void 0),y=e([l("esri.layers.list.LayerItemCollection")],y);const v=y;export{v as default};
|
|
@@ -1,96 +1,75 @@
|
|
|
1
1
|
import type Accessor from "../../core/Accessor.js";
|
|
2
2
|
import type Collection from "../../core/Collection.js";
|
|
3
3
|
import type EsriError from "../../core/Error.js";
|
|
4
|
-
import type Layer from "../Layer.js";
|
|
5
|
-
import type SubtypeGroupLayer from "../SubtypeGroupLayer.js";
|
|
6
4
|
import type TableItemPanel from "./TableItemPanel.js";
|
|
7
|
-
import type
|
|
8
|
-
import type
|
|
9
|
-
import type { IdentifiableMixin, IdentifiableMixinProperties } from "../../core/Identifiable.js";
|
|
10
|
-
import type { Action } from "./types.js";
|
|
5
|
+
import type { IdentifiableMixin } from "../../core/Identifiable.js";
|
|
6
|
+
import type { Action, TableItemLayer, TableItemModifier, TableItemProperties, TableItemPanelProperties } from "./types.js";
|
|
11
7
|
import type { ActionToggleProperties } from "../../support/actions/ActionToggle.js";
|
|
12
8
|
import type { ActionButtonProperties } from "../../support/actions/ActionButton.js";
|
|
13
9
|
import type { ReadonlyArrayOrCollection } from "../../core/Collection.js";
|
|
14
|
-
import type { TableItemPanelProperties } from "./TableItemPanel.js";
|
|
15
|
-
|
|
16
|
-
export interface TableItemProperties extends IdentifiableMixinProperties, Partial<Pick<TableItem, "actionsOpen" | "checkPublishStatusEnabled" | "hidden" | "layer" | "listModeDisabled" | "open" | "parent">> {
|
|
17
|
-
/** A nested 2-dimensional collection of actions that can be triggered on the item. */
|
|
18
|
-
actionsSections?: ReadonlyArrayOrCollection<ReadonlyArrayOrCollection<((ActionButtonProperties & { type: "button" }) | (ActionToggleProperties & { type: "toggle" }))>>;
|
|
19
|
-
/**
|
|
20
|
-
* Child items when the associated layer contains sublayers.
|
|
21
|
-
*
|
|
22
|
-
* @since 5.2
|
|
23
|
-
*/
|
|
24
|
-
children?: ReadonlyArrayOrCollection<TableItemProperties>;
|
|
25
|
-
/**
|
|
26
|
-
* Additional panel state associated with this item.
|
|
27
|
-
*
|
|
28
|
-
* @since 5.2
|
|
29
|
-
*/
|
|
30
|
-
panel?: TableItemPanelProperties;
|
|
31
|
-
/** The title of the associated table. */
|
|
32
|
-
title?: string | null;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/** Event object passed to a table list item creation callback. */
|
|
36
|
-
export interface TableItemModifierEvent {
|
|
37
|
-
/** The table list item being created. */
|
|
38
|
-
item: TableItem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Function used to customize table list items during creation.
|
|
43
|
-
*
|
|
44
|
-
* @param event - The event containing the table list item being created.
|
|
45
|
-
*/
|
|
46
|
-
export type TableItemModifier = (event: TableItemModifierEvent) => void;
|
|
47
10
|
|
|
48
11
|
/**
|
|
49
12
|
* Represents a table-related list item with support for child items, actions, and panel state.
|
|
50
13
|
*
|
|
51
|
-
* @
|
|
14
|
+
* @internal
|
|
52
15
|
*/
|
|
53
16
|
export default class TableItem extends TableItemSuperclass {
|
|
17
|
+
/** @internal */
|
|
54
18
|
constructor(properties?: TableItemProperties);
|
|
55
19
|
/**
|
|
56
20
|
* Indicates whether the actions state is open.
|
|
57
21
|
*
|
|
58
22
|
* @default false
|
|
23
|
+
* @internal
|
|
59
24
|
*/
|
|
60
25
|
accessor actionsOpen: boolean;
|
|
61
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* A nested 2-dimensional collection of actions that can be triggered on the item.
|
|
28
|
+
*
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
62
31
|
get actionsSections(): Collection<Collection<Action>>;
|
|
63
32
|
set actionsSections(value: ReadonlyArrayOrCollection<ReadonlyArrayOrCollection<((ActionButtonProperties & { type: "button" }) | (ActionToggleProperties & { type: "toggle" }))>>);
|
|
64
33
|
/**
|
|
65
34
|
* Enables publish-status checks used by [publishing](https://developers.arcgis.com/javascript/latest/references/core/layers/list/TableItem/#publishing).
|
|
66
35
|
*
|
|
67
36
|
* @default false
|
|
68
|
-
* @
|
|
37
|
+
* @internal
|
|
69
38
|
*/
|
|
70
39
|
accessor checkPublishStatusEnabled: boolean;
|
|
71
40
|
/**
|
|
72
41
|
* Child items when the associated layer contains sublayers.
|
|
73
42
|
*
|
|
74
|
-
* @
|
|
43
|
+
* @internal
|
|
75
44
|
*/
|
|
76
45
|
get children(): Collection<TableItem>;
|
|
77
46
|
set children(value: ReadonlyArrayOrCollection<TableItemProperties>);
|
|
78
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* The error object returned if an error occurred.
|
|
49
|
+
*
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
79
52
|
get error(): EsriError | null | undefined;
|
|
80
53
|
/**
|
|
81
54
|
* When `true`, marks this item as hidden for consumer UIs.
|
|
82
55
|
*
|
|
83
56
|
* @default false
|
|
84
|
-
* @
|
|
57
|
+
* @internal
|
|
85
58
|
*/
|
|
86
59
|
accessor hidden: boolean;
|
|
87
|
-
/**
|
|
88
|
-
|
|
60
|
+
/**
|
|
61
|
+
* The layer associated with the triggered action.
|
|
62
|
+
*
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
accessor layer: TableItemLayer;
|
|
66
|
+
/** @internal */
|
|
67
|
+
accessor listItemCreatedFunction: TableItemModifier | null | undefined;
|
|
89
68
|
/**
|
|
90
69
|
* Specifies whether to ignore the [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property of child layers.
|
|
91
70
|
*
|
|
92
71
|
* @default false
|
|
93
|
-
* @
|
|
72
|
+
* @internal
|
|
94
73
|
* @see [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
|
|
95
74
|
*/
|
|
96
75
|
accessor listModeDisabled: boolean;
|
|
@@ -98,20 +77,20 @@ export default class TableItem extends TableItemSuperclass {
|
|
|
98
77
|
* Indicates whether the item is open.
|
|
99
78
|
*
|
|
100
79
|
* @default false
|
|
101
|
-
* @
|
|
80
|
+
* @internal
|
|
102
81
|
*/
|
|
103
82
|
accessor open: boolean;
|
|
104
83
|
/**
|
|
105
84
|
* Additional panel state associated with this item.
|
|
106
85
|
*
|
|
107
|
-
* @
|
|
86
|
+
* @internal
|
|
108
87
|
*/
|
|
109
88
|
get panel(): TableItemPanel;
|
|
110
89
|
set panel(value: TableItemPanelProperties);
|
|
111
90
|
/**
|
|
112
91
|
* The parent item.
|
|
113
92
|
*
|
|
114
|
-
* @
|
|
93
|
+
* @internal
|
|
115
94
|
*/
|
|
116
95
|
accessor parent: TableItem | null | undefined;
|
|
117
96
|
/**
|
|
@@ -120,16 +99,26 @@ export default class TableItem extends TableItemSuperclass {
|
|
|
120
99
|
* [checkPublishStatusEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/list/TableItem/#checkPublishStatusEnabled) is `false`.
|
|
121
100
|
*
|
|
122
101
|
* @default false
|
|
123
|
-
* @
|
|
102
|
+
* @internal
|
|
124
103
|
*/
|
|
125
104
|
get publishing(): boolean;
|
|
126
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* @default true
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
accessor sortable: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* The title of the associated table.
|
|
112
|
+
*
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
127
115
|
get title(): string;
|
|
128
116
|
set title(value: string | null | undefined);
|
|
129
117
|
/**
|
|
130
118
|
* Creates a deep clone of this object.
|
|
131
119
|
*
|
|
132
120
|
* @returns A clone of the new [TableItem](https://developers.arcgis.com/javascript/latest/references/core/layers/list/TableItem/) instance.
|
|
121
|
+
* @internal
|
|
133
122
|
*/
|
|
134
123
|
clone(): TableItem;
|
|
135
124
|
}
|
package/layers/list/TableItem.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 t from"../../core/Accessor.js";import{isSome as i}from"../../core/arrayUtils.js";import s from"../../core/Collection.js";import{IdentifiableMixin as l}from"../../core/Identifiable.js";import{watch as r,initial as o}from"../../core/reactiveUtils.js";import{property as n,cast as a,subclass as h}from"../../core/accessorSupport/decorators.js";import{ensureType as d}from"../../core/accessorSupport/ensureType.js";import{get as p}from"../../core/accessorSupport/get.js";import c from"./TableItemPanel.js";import{
|
|
2
|
+
import{__decorate as e}from"tslib";import t from"../../core/Accessor.js";import{isSome as i}from"../../core/arrayUtils.js";import s from"../../core/Collection.js";import{IdentifiableMixin as l}from"../../core/Identifiable.js";import{watch as r,initial as o}from"../../core/reactiveUtils.js";import{property as n,cast as a,subclass as h}from"../../core/accessorSupport/decorators.js";import{ensureType as d}from"../../core/accessorSupport/ensureType.js";import{get as p}from"../../core/accessorSupport/get.js";import c from"./TableItemPanel.js";import{findLayerListMode as y,canDisplayLayer as u,getNormalizedChildLayerProperty as m}from"./support/layerListUtils.js";import b from"../../support/actions/ActionBase.js";import f from"../../support/actions/ActionButton.js";import C from"../../support/actions/ActionToggle.js";var _;const v="layer",g="child-list-mode",P="hide",I=s.ofType({key:"type",defaultKeyValue:"button",base:b,typeMap:{button:f,toggle:C}}),S=s.ofType(I);let M=_=class extends(l(t)){constructor(e){super(e),this.actionsOpen=!1,this.actionsSections=new S,this.checkPublishStatusEnabled=!1,this.children=new(s.ofType(_)),this.hidden=!1,this.layer=null,this.listItemCreatedFunction=null,this.listModeDisabled=!1,this.open=!1,this.parent=null,this.sortable=!0}initialize(){if(this.addHandles([r(()=>[this.layer?.listMode,this.listModeDisabled],()=>this._watchLayerProperties(this.layer),o),r(()=>this.checkPublishStatusEnabled,e=>this._updateChildrenPublishing(e),o),r(()=>this.panel,e=>this._setItemOnPanel(e),o)]),"function"==typeof this.listItemCreatedFunction){const e={item:this};this.listItemCreatedFunction.call(null,e)}}destroy(){this.panel?.destroy(),this.children.destroyAll()}get error(){return this.layer?.loadError}set panel(e){const t=this._get("panel");e!==t&&e&&t?.destroy(),this._set("panel",e)}castPanel(e){return this.panel?.open&&!e.hasOwnProperty("open")&&(e.open=!0),d(c,e)}get publishing(){const{layer:e,checkPublishStatusEnabled:t}=this;return!!(t&&e&&"publishingInfo"in e&&"publishing"===e.publishingInfo?.status)}get title(){const e=p(this,"layer.layer");return(!e||e&&p(this,"layer.layer.loaded")?this.layer?.title:null)??""}set title(e){this._overrideIfSome("title",e)}clone(){return new _({actionsOpen:this.actionsOpen,actionsSections:this.actionsSections.clone(),checkPublishStatusEnabled:this.checkPublishStatusEnabled,children:this.children.clone(),hidden:this.hidden,layer:this.layer,listItemCreatedFunction:this.listItemCreatedFunction,listModeDisabled:this.listModeDisabled,open:this.open,panel:this.panel,parent:this.parent,sortable:this.sortable,title:this.title})}_compileChildren(e){const t=this.listModeDisabled?e:e?.filter(e=>y(e)!==P);e?.length?(this._createChildren(t),this._destroyChildren(t),this._sortChildren(t),this._watchChildLayerListMode(e)):this._destroyAllChildren()}_createChildItems(e,t){return e.reverse().map(e=>t||u(e)?new _({checkPublishStatusEnabled:this.checkPublishStatusEnabled,layer:e,listItemCreatedFunction:this.listItemCreatedFunction,listModeDisabled:this.listModeDisabled,parent:this}):null).filter(i)}_createChildren(e){const{listModeDisabled:t,children:i}=this,s=e.reverse().filter(e=>!i.some(t=>t.layer===e));i.addMany(this._createChildItems(s,t))}_destroyAllChildren(){this.removeHandles(g),this.children.destroyAll()}_destroyChildren(e){const{children:t}=this,i=t.filter(t=>!!t.layer&&!e.includes(t.layer));t.destroyMany(i)}_initializeChildLayers(e){this._compileChildren(e),this._watchSublayerChanges(e)}_setItemOnPanel(e){e&&(e.listItem=this)}_sortChildren(e){this.children.sort((t,i)=>e.indexOf(i.layer)-e.indexOf(t.layer))}_updateChildrenPublishing(e){this.children?.forEach(t=>t.checkPublishStatusEnabled=e)}_watchChildLayerListMode(e){this.removeHandles(g),this.listModeDisabled||this.addHandles(e.toArray().map(t=>r(()=>t.listMode,()=>this._compileChildren(e))),g)}_watchLayerProperties(e){if(this.removeHandles(v),this.removeHandles(g),!e)return;e.load().catch(()=>{});if("hide-children"===(!this.listModeDisabled&&y(e)))return void this.children.destroyAll();const t=m(e);t&&this.addHandles(r(()=>e[t],i=>{e.hasOwnProperty(t)&&this._initializeChildLayers(i)},o),v)}_watchSublayerChanges(e){e&&this.addHandles(e.on("change",()=>this._compileChildren(e)),v)}};e([n()],M.prototype,"actionsOpen",void 0),e([n({type:S})],M.prototype,"actionsSections",void 0),e([n()],M.prototype,"checkPublishStatusEnabled",void 0),e([n({type:s.ofType(_)})],M.prototype,"children",void 0),e([n({readOnly:!0})],M.prototype,"error",null),e([n()],M.prototype,"hidden",void 0),e([n()],M.prototype,"layer",void 0),e([n()],M.prototype,"listItemCreatedFunction",void 0),e([n({nonNullable:!0})],M.prototype,"listModeDisabled",void 0),e([n()],M.prototype,"open",void 0),e([n({type:c})],M.prototype,"panel",null),e([a("panel")],M.prototype,"castPanel",null),e([n()],M.prototype,"parent",void 0),e([n({readOnly:!0})],M.prototype,"publishing",null),e([n()],M.prototype,"sortable",void 0),e([n()],M.prototype,"title",null),M=_=e([h("esri.layers.list.TableItem")],M);const j=M;export{j as default};
|