@arcgis/core 6.0.0-next.28 → 6.0.0-next.29
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/arcgisGlobal.d.ts +0 -2
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/131185d26343a997495e.js +1 -0
- package/assets/esri/core/workers/chunks/{dbda982485d3fe26c729.js → 13c64087be3b2985a21b.js} +1 -1
- package/assets/esri/core/workers/chunks/144bad0c2415c345736a.js +1 -0
- package/assets/esri/core/workers/chunks/176d0a06ebff5a29dedf.js +1 -0
- package/assets/esri/core/workers/chunks/{b0ca81a07cff25df19d2.js → 176d75e76318bfc25a53.js} +1 -1
- package/assets/esri/core/workers/chunks/18776a130d96879a68b1.js +1 -0
- package/assets/esri/core/workers/chunks/{e35641a3a4da8cfbcf54.js → 189321d88026bd7e6d3e.js} +1 -1
- package/assets/esri/core/workers/chunks/18e7fa4d3e0b1a084cc6.js +1 -0
- package/assets/esri/core/workers/chunks/{1168bc5c9f0a7e1f63a2.js → 1989410a618865f02dec.js} +1 -1
- package/assets/esri/core/workers/chunks/{2c0cb214fedb29487eef.js → 199a7f97916679e0257c.js} +1 -1
- package/assets/esri/core/workers/chunks/1c406ab2bf99ac563316.js +1 -0
- package/assets/esri/core/workers/chunks/1d96fbad881a7d14a950.js +1 -0
- package/assets/esri/core/workers/chunks/{42d44c7d532df5ee70e9.js → 1deca3de77b1a9a07da4.js} +1 -1
- package/assets/esri/core/workers/chunks/{45f826554499c38968c6.js → 1ee4df0fd61440cb5f02.js} +1 -1
- package/assets/esri/core/workers/chunks/22e73501e1435a896826.js +1 -0
- package/assets/esri/core/workers/chunks/25657f70c5f04a4ed978.js +1 -0
- package/assets/esri/core/workers/chunks/276a0b549acf048e8673.js +1 -0
- package/assets/esri/core/workers/chunks/{56e903ccef66cbe18f92.js → 2cd60fd062d954322c1f.js} +1 -1
- package/assets/esri/core/workers/chunks/{ad96132bc89671e595f3.js → 2d3e0e4442dbc6ec6def.js} +1 -1
- package/assets/esri/core/workers/chunks/2de4296590bf9f9e9add.js +1 -0
- package/assets/esri/core/workers/chunks/2f5d014d6a72108b0b3a.js +1 -0
- package/assets/esri/core/workers/chunks/{0363d29fc665d169ebc4.js → 3105336a05f38a95ebea.js} +1 -1
- package/assets/esri/core/workers/chunks/379ef56f6b32494832a6.js +1 -0
- package/assets/esri/core/workers/chunks/3aafdb905c697bc9b1ad.js +1 -0
- package/assets/esri/core/workers/chunks/40c2674dae73f0942751.js +1 -0
- package/assets/esri/core/workers/chunks/418addce122dbb8897b4.js +1 -0
- package/assets/esri/core/workers/chunks/4419732baf3459a80e6d.js +1 -0
- package/assets/esri/core/workers/chunks/4976f5567fc7f1b63d10.js +1 -0
- package/assets/esri/core/workers/chunks/4e17665dd9048c300d87.js +1 -0
- package/assets/esri/core/workers/chunks/5396b6e99a0546a25d19.js +1 -0
- package/assets/esri/core/workers/chunks/53c7510df09b71ab5646.js +1 -0
- package/assets/esri/core/workers/chunks/561c48cb4d49b150765b.js +1 -0
- package/assets/esri/core/workers/chunks/{d90a3bfd45b5ed4092e0.js → 590fe0f56bc4c33a50e7.js} +1 -1
- package/assets/esri/core/workers/chunks/5bb6c255bdc8aa9ba23e.js +1 -0
- package/assets/esri/core/workers/chunks/5f1cb79aec9c4a9b7ddc.js +29 -0
- package/assets/esri/core/workers/chunks/{23a4806b4cdf7cc32e4d.js → 5f787809b74eed7b9a91.js} +1 -1
- package/assets/esri/core/workers/chunks/636e9c4ac1f9ae98f9d1.js +1 -0
- package/assets/esri/core/workers/chunks/654f5441227579d2b6b4.js +1 -0
- package/assets/esri/core/workers/chunks/692f0093c444fcc752b5.js +1 -0
- package/assets/esri/core/workers/chunks/69627b2634da64dd885f.js +1 -0
- package/assets/esri/core/workers/chunks/6a7de221cea4426cb490.js +1 -0
- package/assets/esri/core/workers/chunks/7030a4d0714a35995a58.js +1 -0
- package/assets/esri/core/workers/chunks/72d20d3957d612f86431.js +1 -0
- package/assets/esri/core/workers/chunks/7862abd24fb5c3b12e6b.js +1 -0
- package/assets/esri/core/workers/chunks/7a0b4dc0cda190367a39.js +1 -0
- package/assets/esri/core/workers/chunks/{5eec1c1162779574f46e.js → 7c75a8ee266c36baa902.js} +1 -1
- package/assets/esri/core/workers/chunks/{ab1660f5f8a5268c2fac.js → 84038dd85005fea413eb.js} +1 -1
- package/assets/esri/core/workers/chunks/849f446c718e892f39ce.js +1 -0
- package/assets/esri/core/workers/chunks/{8ac2098ecdc40ad41055.js → 8502274806ea52308822.js} +1 -1
- package/assets/esri/core/workers/chunks/865cebc5c982c040ab6f.js +1 -0
- package/assets/esri/core/workers/chunks/{76196c414e48834f7b92.js → 8f008eedb11685ee2048.js} +1 -1
- package/assets/esri/core/workers/chunks/90d797ab82d4a68ba32f.js +1 -0
- package/assets/esri/core/workers/chunks/9184c947cdefe06bf551.js +1 -0
- package/assets/esri/core/workers/chunks/9976eaa81085c0d17e14.js +1 -0
- package/assets/esri/core/workers/chunks/{177f353ce72133e2eeed.js → 9c2436464b7dfd666678.js} +1 -1
- package/assets/esri/core/workers/chunks/a125650edbed802e419a.js +1 -0
- package/assets/esri/core/workers/chunks/{23fd4de56de352f63e2d.js → a2196a49f89d57a0a1c7.js} +1 -1
- package/assets/esri/core/workers/chunks/ad21757d78e372fa2ed6.js +1 -0
- package/assets/esri/core/workers/chunks/b01688ccc29d33bfc82d.js +1 -0
- package/assets/esri/core/workers/chunks/b5eff28cf482d920b9ea.js +1 -0
- package/assets/esri/core/workers/chunks/{04ecf15524ff3838c01c.js → ba4520ddcb6a49988da6.js} +1 -1
- package/assets/esri/core/workers/chunks/be55771758e4bcef0976.js +1 -0
- package/assets/esri/core/workers/chunks/bead830a677690eeb6fb.js +1 -0
- package/assets/esri/core/workers/chunks/c131e0dd180a4c10e12e.js +1 -0
- package/assets/esri/core/workers/chunks/c1cf3edce15f09648eb4.js +1 -0
- package/assets/esri/core/workers/chunks/c4f78a481f43cfae7b63.js +1 -0
- package/assets/esri/core/workers/chunks/c570b90995c65bbb2e14.js +1 -0
- package/assets/esri/core/workers/chunks/c576bef77e34920af188.js +1 -0
- package/assets/esri/core/workers/chunks/c9feffb9884cfed52c4b.js +1 -0
- package/assets/esri/core/workers/chunks/cc97e4fd0dacad970a23.js +1 -0
- package/assets/esri/core/workers/chunks/ce324dde6d7daea33638.js +1 -0
- package/assets/esri/core/workers/chunks/d1d6154b4af1c9cc497b.js +1 -0
- package/assets/esri/core/workers/chunks/d3c3fb079ad97970f834.js +1 -0
- package/assets/esri/core/workers/chunks/daae21cf77864f3293ef.js +1 -0
- package/assets/esri/core/workers/chunks/dc2f93453dfa40f623ab.js +1 -0
- package/assets/esri/core/workers/chunks/dcf6024dc19428ff2b9d.js +1 -0
- package/assets/esri/core/workers/chunks/dd30b02c5978c1c5f511.js +1 -0
- package/assets/esri/core/workers/chunks/de3f140058aa0b907b65.js +1 -0
- package/assets/esri/core/workers/chunks/df375d1b0dab5ecbd1be.js +1 -0
- package/assets/esri/core/workers/chunks/{ef2c3febcceedc44b3ac.js → dfd4782b11d6fdca0492.js} +1 -1
- package/assets/esri/core/workers/chunks/{48cc58890fddbcf69cef.js → e121d15b883184ee83e7.js} +1 -1
- package/assets/esri/core/workers/chunks/{67e06d606c7fd2064adf.js → e2c6cd8dac01e129ccfe.js} +1 -1
- package/assets/esri/core/workers/chunks/e3b212f8af448ec29eef.js +1 -0
- package/assets/esri/core/workers/chunks/e4042e43f0081fe49f7b.js +1 -0
- package/assets/esri/core/workers/chunks/e480e7d5f40049a2053b.js +1 -0
- package/assets/esri/core/workers/chunks/eaab787a5f2445be5e5a.js +1 -0
- package/assets/esri/core/workers/chunks/edd36a1fc80b1d29907e.js +1 -0
- package/assets/esri/core/workers/chunks/ee0dc906cc7979080329.js +1 -0
- package/assets/esri/core/workers/chunks/f07fb9b3fa30d7ee1681.js +1 -0
- package/assets/esri/core/workers/chunks/f09bc86cd52224febfcb.js +1 -0
- package/assets/esri/core/workers/chunks/{037c67ef5c4398d5954d.js → f2dab9fcd90ce38ae3d1.js} +1 -1
- package/assets/esri/core/workers/chunks/f39c700f3db7db52b522.js +1 -0
- package/assets/esri/core/workers/chunks/f3b4159c0722df8ffe13.js +1 -0
- package/assets/esri/core/workers/chunks/f3dc0bc0e00635855a7a.js +1 -0
- package/assets/esri/core/workers/chunks/f45064066e1ab041a0b2.js +1 -0
- package/assets/esri/core/workers/chunks/{dc7aa0a1eb6c6e361f9f.js → f7398cfd8bbd041bd635.js} +1 -1
- package/assets/esri/core/workers/chunks/f9dc38761b314d33890f.js +1 -0
- package/assets/esri/core/workers/chunks/fe6dcb21570395e46ce8.js +1 -0
- package/assets/esri/core/workers/chunks/{9c4961213ac6ec283dd9.js → fefdd10bdd5a4c8d8ed0.js} +44 -47
- package/assets/esri/core/workers/chunks/ffe49d9e7df081bef4a5.js +1 -0
- package/assets/esri/themes/base/_core.scss +0 -2
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/Component.glsl.js +48 -48
- package/chunks/EmissionComposite.glsl.js +1 -1
- package/chunks/Fog.glsl.js +1 -1
- package/chunks/GaussianSplatDepth.glsl.js +15 -7
- package/chunks/GaussianSplatShadow.glsl.js +14 -4
- package/config.d.ts +12 -9
- package/config.js +1 -1
- package/form/FormTemplate.d.ts +1 -1
- package/form/elements/AttachmentElement.d.ts +2 -0
- package/form/elements/FieldElement.d.ts +2 -2
- package/form/elements/FieldElement.js +1 -1
- package/form/elements/RelationshipElement.d.ts +1 -1
- package/form/elements/TextElement.d.ts +2 -2
- package/form/elements/UtilityNetworkAssociationsElement.d.ts +1 -1
- package/form/elements/inputs/inputUtils.js +1 -1
- package/form/elements/inputs/types.d.ts +19 -0
- package/form/elements/inputs.d.ts +3 -2
- package/form/elements/inputs.js +1 -1
- package/interfaces.d.ts +0 -14
- package/kernel.js +1 -1
- package/layers/VideoLayer.d.ts +5 -5
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/orientedImagery/transformations/rotationUtils.js +2 -0
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/save/parquetLayerUtils.js +1 -1
- package/layers/support/vectorTileLayerLoader.js +1 -1
- package/package.json +2 -2
- package/smartMapping/support/adapters/support/histogramUtils.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler.js +1 -1
- package/views/2d/engine/vectorTiles/style/GeoJSONVectorTileSource.js +1 -1
- package/views/2d/engine/vectorTiles/style/GeoJSONVectorTileSourceWorker.js +1 -1
- package/views/2d/engine/vectorTiles/style/geoJSONVectorTileUtils.js +2 -0
- package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
- package/views/2d/engine/webgl/collisions/LabelStore.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/support/visualVariableSimpleUtils.js +1 -1
- package/views/3d/state/controllers/PointToPointAnimationController.js +1 -1
- package/views/3d/support/ResourceController.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/TileAgent.js +1 -1
- package/views/3d/webgl-engine/Stage.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +23 -26
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +18 -21
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VerticalOffset.glsl.js +5 -5
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js +10 -12
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +22 -25
- package/views/3d/webgl-engine/effects/RenderPluginContext.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/applyEmissiveGlow.glsl.js +3 -3
- package/views/3d/webgl-engine/effects/highlight/Highlight.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/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeUtil.glsl.js +30 -35
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/EmissiveTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +62 -53
- package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
- package/views/VideoView.d.ts +10 -0
- package/views/VideoView.js +1 -1
- package/views/layers/LayerView.d.ts +10 -2
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +2 -2
- package/widgets/Editor/EditorViewModel.d.ts +10 -12
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/support/EditableColumnTemplateMixin.js +1 -1
- package/widgets/OrientedImageryViewer/ImageMeasurementWorker.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementWorkerUtils.js +2 -0
- package/widgets/OrientedImageryViewer/services/ImageMeasurementService.js +1 -1
- package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
- package/widgets/support/iconUtils.js +1 -1
- package/assets/esri/core/workers/chunks/010f57ec7fdbedf78d02.js +0 -1
- package/assets/esri/core/workers/chunks/03f33cb78b5405ab7e23.js +0 -1
- package/assets/esri/core/workers/chunks/0487e1d7a7cecf7c1c25.js +0 -1
- package/assets/esri/core/workers/chunks/09300e74e5b014ce6269.js +0 -1
- package/assets/esri/core/workers/chunks/0d9c4c6c571ce26d356b.js +0 -1
- package/assets/esri/core/workers/chunks/112ed86f812e4400a7e0.js +0 -1
- package/assets/esri/core/workers/chunks/151e5799ede763a03ee2.js +0 -1
- package/assets/esri/core/workers/chunks/173f89c55a5c79ff065b.js +0 -1
- package/assets/esri/core/workers/chunks/2447d2e2a4a3ab8fcf94.js +0 -1
- package/assets/esri/core/workers/chunks/2a36fe3f3f257a779a1b.js +0 -1
- package/assets/esri/core/workers/chunks/2a97268000c6d03ef720.js +0 -1
- package/assets/esri/core/workers/chunks/2cf8172be83b10b11bdc.js +0 -1
- package/assets/esri/core/workers/chunks/2df37a9a95ceebb87a5f.js +0 -1
- package/assets/esri/core/workers/chunks/2e00c155e447e4930442.js +0 -1
- package/assets/esri/core/workers/chunks/2f91fd61019d2a37476d.js +0 -1
- package/assets/esri/core/workers/chunks/30af63b3b750142faadb.js +0 -1
- package/assets/esri/core/workers/chunks/3a47fc97c400fca2c736.js +0 -1
- package/assets/esri/core/workers/chunks/3cd04d23b73beaf79650.js +0 -1
- package/assets/esri/core/workers/chunks/426b4eb500fdfe9df325.js +0 -1
- package/assets/esri/core/workers/chunks/45367aa8e5c5d574de94.js +0 -1
- package/assets/esri/core/workers/chunks/47c97640ec525676918b.js +0 -1
- package/assets/esri/core/workers/chunks/47d074136a7f8e551a9a.js +0 -1
- package/assets/esri/core/workers/chunks/4a6b92ecbb1f1c55cc43.js +0 -1
- package/assets/esri/core/workers/chunks/4cb751dc8d00bdaeb04c.js +0 -1
- package/assets/esri/core/workers/chunks/518ab22f80c3300bcfff.js +0 -1
- package/assets/esri/core/workers/chunks/53ff68d4f9e365fc15cd.js +0 -1
- package/assets/esri/core/workers/chunks/58609bf94f72bc4f1952.js +0 -1
- package/assets/esri/core/workers/chunks/586a929bc037e23857af.js +0 -1
- package/assets/esri/core/workers/chunks/5c7780f804d789cb37f5.js +0 -1
- package/assets/esri/core/workers/chunks/5d76f4d97beee494bbbf.js +0 -1
- package/assets/esri/core/workers/chunks/603fdbbe9534c614928f.js +0 -1
- package/assets/esri/core/workers/chunks/611e3cdf67283c11576f.js +0 -1
- package/assets/esri/core/workers/chunks/6431480ba0fa8c8d487f.js +0 -1
- package/assets/esri/core/workers/chunks/652faf4359ac072c5dde.js +0 -1
- package/assets/esri/core/workers/chunks/65c98f3449044fa4fd79.js +0 -1
- package/assets/esri/core/workers/chunks/6b9961261241fdce0e94.js +0 -1
- package/assets/esri/core/workers/chunks/6dfe96b056bec30068df.js +0 -1
- package/assets/esri/core/workers/chunks/6f897b4e7ddd1dd1672b.js +0 -1
- package/assets/esri/core/workers/chunks/70cc2d79653d66e85b58.js +0 -1
- package/assets/esri/core/workers/chunks/7159d9c36869cd82599e.js +0 -29
- package/assets/esri/core/workers/chunks/7393f63043a1da3d05a6.js +0 -1
- package/assets/esri/core/workers/chunks/7449568eb2305bf2d650.js +0 -1
- package/assets/esri/core/workers/chunks/75d551a449bba61ce238.js +0 -1
- package/assets/esri/core/workers/chunks/76e27e36050a3dd9d249.js +0 -1
- package/assets/esri/core/workers/chunks/76f877e2d2493d56afab.js +0 -1
- package/assets/esri/core/workers/chunks/7748c2886d0122b40eeb.js +0 -1
- package/assets/esri/core/workers/chunks/78643f116677950ea29a.js +0 -1
- package/assets/esri/core/workers/chunks/78fbe330f16bdbdb886e.js +0 -1
- package/assets/esri/core/workers/chunks/7e0f04a5038e2a4f6e4b.js +0 -1
- package/assets/esri/core/workers/chunks/7f16ae01ccd9b6114d1c.js +0 -1
- package/assets/esri/core/workers/chunks/90153b5230b3a4985c14.js +0 -1
- package/assets/esri/core/workers/chunks/9189dfe19a2a2ccd5173.js +0 -1
- package/assets/esri/core/workers/chunks/943a0f140813ee4ab04a.js +0 -1
- package/assets/esri/core/workers/chunks/98be2f621801e230aa01.js +0 -1
- package/assets/esri/core/workers/chunks/99f51d5d9da6e9bfc430.js +0 -1
- package/assets/esri/core/workers/chunks/9aebe876b1a2fb075f9c.js +0 -1
- package/assets/esri/core/workers/chunks/9b6929faf649e81265fb.js +0 -1
- package/assets/esri/core/workers/chunks/9dd48e75b4e8d9811d81.js +0 -1
- package/assets/esri/core/workers/chunks/a163c6005aba3378edaa.js +0 -1
- package/assets/esri/core/workers/chunks/a8286febe371dc186aaa.js +0 -1
- package/assets/esri/core/workers/chunks/acb265a22be5e12f38e5.js +0 -1
- package/assets/esri/core/workers/chunks/b12acf1f694f82e00df9.js +0 -1
- package/assets/esri/core/workers/chunks/b83cef2d3f528726d492.js +0 -1
- package/assets/esri/core/workers/chunks/b9596d862da1ec342cd3.js +0 -1
- package/assets/esri/core/workers/chunks/bc1fcc9c897461e68e29.js +0 -1
- package/assets/esri/core/workers/chunks/bdc221d94300c225665a.js +0 -1
- package/assets/esri/core/workers/chunks/be97a629e2ae4d13ceb3.js +0 -1
- package/assets/esri/core/workers/chunks/bfb39590c548188f5052.js +0 -1
- package/assets/esri/core/workers/chunks/c2318c014e97ba519be8.js +0 -1
- package/assets/esri/core/workers/chunks/c62237c344e341619341.js +0 -1
- package/assets/esri/core/workers/chunks/cdb5c26fed7d9a97db49.js +0 -1
- package/assets/esri/core/workers/chunks/cdf0c7706d3e1221f49b.js +0 -1
- package/assets/esri/core/workers/chunks/cea0db3ee326f60610eb.js +0 -1
- package/assets/esri/core/workers/chunks/d7f2f1708d2a2668676c.js +0 -1
- package/assets/esri/core/workers/chunks/daf9b691817e83a11f3c.js +0 -1
- package/assets/esri/core/workers/chunks/db41490bd39d863305bf.js +0 -1
- package/assets/esri/core/workers/chunks/ddc95cdac6c06fc4794c.js +0 -1
- package/assets/esri/core/workers/chunks/df26ec0b508cf4716e0a.js +0 -1
- package/assets/esri/core/workers/chunks/e11159e3dc3353b27c57.js +0 -1
- package/assets/esri/core/workers/chunks/e4a57a0a9629faafd6c6.js +0 -1
- package/assets/esri/core/workers/chunks/ebc1a2ef3aed8aa29424.js +0 -1
- package/assets/esri/core/workers/chunks/ec1c4d66142b6efb0e8b.js +0 -1
- package/assets/esri/core/workers/chunks/ef12fa3574d4cbf8b084.js +0 -1
- package/assets/esri/core/workers/chunks/f2d56f5c15d5977e1d19.js +0 -1
- package/assets/esri/core/workers/chunks/f7bfa3d33b05b250ce33.js +0 -1
- package/assets/esri/core/workers/chunks/f905f1a1aa4c123cbe83.js +0 -1
- package/assets/esri/core/workers/chunks/fc139f251dc0523074e7.js +0 -1
- package/assets/esri/themes/base/widgets/_VideoPlayer.scss +0 -129
- package/assets/esri/widgets/VideoPlayer/t9n/messages.ar.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.bg.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.bs.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.ca.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.cs.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.da.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.de.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.el.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.en.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.es.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.et.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.fi.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.fr.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.he.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.hr.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.hu.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.id.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.it.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.ja.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.ko.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.lt.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.lv.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.nl.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.no.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.pl.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.pt-BR.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.pt-PT.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.ro.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.ru.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.sk.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.sl.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.sr.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.sv.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.th.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.tr.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.uk.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.vi.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.zh-CN.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.zh-HK.json +0 -1
- package/assets/esri/widgets/VideoPlayer/t9n/messages.zh-TW.json +0 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +0 -232
- package/widgets/VideoPlayer/VideoPlayerViewModel.js +0 -2
- package/widgets/VideoPlayer/components/MetadataSection.js +0 -2
- package/widgets/VideoPlayer/components/PlayerActionsGroup.js +0 -2
- package/widgets/VideoPlayer/components/PlayerControlsGroup.js +0 -2
- package/widgets/VideoPlayer/components/SettingsButton.js +0 -2
- package/widgets/VideoPlayer/css.js +0 -2
- package/widgets/VideoPlayer.d.ts +0 -119
- package/widgets/VideoPlayer.js +0 -2
package/chunks/Component.glsl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js";import{waterNormals as t}from"../views/3d/webgl-engine/core/shaderLibrary/bindUniforms.js";import{forwardLinearDepthToWriteShadow as
|
|
2
|
+
import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js";import{waterNormals as t}from"../views/3d/webgl-engine/core/shaderLibrary/bindUniforms.js";import{forwardLinearDepthToWriteShadow as n}from"../views/3d/webgl-engine/core/shaderLibrary/forwardLinearDepthToWriteShadow.glsl.js";import{isColor as r,isShadow as ee}from"../views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js";import{slicePass as te}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{TextureCoordinateAttribute as ne}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{VertexColor as re}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js";import{VertexNormal as ie}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js";import{VertexPosition as i}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js";import{DepthConversion as a}from"../views/3d/webgl-engine/core/shaderLibrary/output/DepthConversion.glsl.js";import{outputDepth as o}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputDepth.glsl.js";import{OutputHighlight as s}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{OutputHighlightOverlay as c}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlightOverlay.js";import{computeFragmentNormals as l}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js";import{ComputeMaterialColor as u}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeMaterialColor.glsl.js";import{ComputeNormalTextureDraw as d}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js";import{EvaluateSceneLighting as f}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import{getLocalUp as p}from"../views/3d/webgl-engine/core/shaderLibrary/shading/getLocalUp.glsl.js";import{lightingGlobalFactor as m,mainLightIntensity as h,mainLightDirection as g}from"../views/3d/webgl-engine/core/shaderLibrary/shading/lightingUniforms.js";import{NormalUtils as ae}from"../views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js";import{pbrGlobals as oe}from"../views/3d/webgl-engine/core/shaderLibrary/shading/pbrGlobals.glsl.js";import{PhysicallyBasedRenderingParameters as se}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{ReadBaseColorTexture as ce}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js";import{readShadowPass as le}from"../views/3d/webgl-engine/core/shaderLibrary/shading/readShadow.glsl.js";import{OverlayIM as ue}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js";import{DiscardOrAdjustAlphaDraw as de}from"../views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js";import{BooleanDrawUniform as fe}from"../views/3d/webgl-engine/core/shaderModules/BooleanDrawUniform.js";import{FloatDrawUniform as _}from"../views/3d/webgl-engine/core/shaderModules/FloatDrawUniform.js";import{If as v,glsl as y}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{applySnow as pe}from"../views/3d/webgl-engine/effects/snowcover/applySnow.glsl.js";import{alphaCutoff as b}from"../views/3d/webgl-engine/shaders/alphaCutoff.glsl.js";import{outputColorHighlightOLID as me}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js";import{getPlanetRadius as x,sphereDepthInterpolate as S}from"../views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js";import{ShaderBuilder as C}from"../views/webgl/ShaderBuilder.js";function w(w){let T=new C,{vertex:E,fragment:D}=T;T.include(i,w),T.include(ie,w),T.include(re,w),T.include(ne,w),T.include(e,w),T.include(de,w),D.include(te,w),T.include(ce,w);let{output:O,pbrMode:k,hasNormalTexture:A,snowCover:j,receiveShadows:M,shadeNormals:N,spherical:P,sphericalSR:F,overlayEnabled:I,componentDataType:L,vertexDiscardMode:R,renderOccluded:z,isGroundSlice:B,groundTransparencyMode:he}=w,V=r(O),H=k===1||k===2,U=he===2,W=U&&(O===3||O===4);H&&(T.include(se,w),A&&T.include(d,w));let G=ee(O),K=O===11,ge=O===10,q=O===4,_e=G&&L===1,J=x(w),Y=(I||W)&&P,X=F===1;(V||q)&&(T.include(u,w),D.include(b)),(I||W)&&(D.include(f,w),T.include(ue,w),Y?(T.varyings.add(`vPositionForDraping`,`vec3`),D.uniforms.add(new fe(`useENUForGlobalOverlayUV`,e=>e.useENUForGlobalOverlayUV),new _(`overlayMapScaleU`,e=>e.toMapSpace[2]),new _(`overlayReferenceU`,e=>e.toMapSpace[0])),D.constants.add(`overlayWorldWidth`,`float`,X?2*Math.PI*J:360),X?(D.constants.add(`pRadius`,`float`,J),D.constants.add(`halfSemiMajorAxis`,`float`,.5*J)):D.constants.add(`rad2deg1`,`float`,180/Math.PI),D.constants.add(`invRadius`,`float`,1/J).code.add(y`
|
|
3
3
|
vec2 projectOverlay(vec3 pos) { return pos.xy / (1.0 + invRadius * pos.z); }
|
|
4
4
|
|
|
5
5
|
vec2 selectOverlayUVNorm(vec2 normUV, float offsetUNorm) {
|
|
@@ -31,12 +31,12 @@ import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Ma
|
|
|
31
31
|
float sinLat = wPos.z / oRadius;
|
|
32
32
|
vec2 posMap;
|
|
33
33
|
|
|
34
|
-
${
|
|
34
|
+
${v(X,y`
|
|
35
35
|
posMap = vec2(
|
|
36
36
|
oLonRad * pRadius,
|
|
37
37
|
halfSemiMajorAxis * log((1.0 + sinLat) / (1.0 - sinLat))
|
|
38
38
|
);
|
|
39
|
-
`,
|
|
39
|
+
`,y`
|
|
40
40
|
float oLatRad = asin(clamp(sinLat,-1.0,1.0));
|
|
41
41
|
posMap = vec2(rad2deg1 * oLonRad, rad2deg1 * oLatRad);
|
|
42
42
|
`)}
|
|
@@ -49,14 +49,14 @@ import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Ma
|
|
|
49
49
|
? selectLocalOverlayUVs(projectOverlay(vPositionForDraping))
|
|
50
50
|
: selectMapOverlayUVs(overlayMapUVFromWorldPosition());
|
|
51
51
|
}
|
|
52
|
-
`)):
|
|
52
|
+
`)):E.code.add(`vec2 projectOverlay(vec3 pos) { return pos.xy; }`));let Z=I&&V&&k===4;Z&&P&&(E.include(p,w),T.varyings.add(`tbnTangent`,`vec3`),T.varyings.add(`tbnBiTangent`,`vec3`));let Q=R===0,ve=R===2;if(T.include(le,w),T.include(n,w),E.include(b),E.main.add(y`
|
|
53
53
|
bool castShadows;
|
|
54
54
|
vec4 externalColor = forwardExternalColor(castShadows);
|
|
55
|
-
${
|
|
56
|
-
${
|
|
55
|
+
${v(_e,`if(!castShadows) { gl_Position = vec4(vec3(1e38), 1.0); return; }`)}
|
|
56
|
+
${v(!Q,`if (externalColor.a ${ve?`>`:`<=`} opacityCutoff) {
|
|
57
57
|
gl_Position = vec4(vec3(1e38), 1.0); return;
|
|
58
58
|
}`)}
|
|
59
|
-
${
|
|
59
|
+
${v(K,`externalColor.a = 1.0;`)}
|
|
60
60
|
|
|
61
61
|
forwardPosition(readElevationOffset());
|
|
62
62
|
forwardNormal();
|
|
@@ -66,11 +66,11 @@ import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Ma
|
|
|
66
66
|
forwardLinearDepthToWriteShadow();
|
|
67
67
|
forwardEmissiveStrength();
|
|
68
68
|
forwardObjectAndLayerIdColor();
|
|
69
|
-
${
|
|
70
|
-
vec3 upNormal =
|
|
69
|
+
${v(Z&&P,y`
|
|
70
|
+
vec3 upNormal = getLocalUp(positionWorld());
|
|
71
71
|
tbnTangent = normalize(cross(vec3(0.0, 0.0, 1.0), upNormal));
|
|
72
72
|
tbnBiTangent = normalize(cross(upNormal, tbnTangent));`)}
|
|
73
|
-
${
|
|
73
|
+
${v(I||W,v(P,`vPositionForDraping = positionForDraping();
|
|
74
74
|
vtcOverlay = vec4(0.0);`,`setOverlayVTC(projectOverlay(positionForDraping()));`))}
|
|
75
75
|
|
|
76
76
|
if (externalColor.a < alphaCutoff) {
|
|
@@ -78,12 +78,12 @@ import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Ma
|
|
|
78
78
|
gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
|
-
`),
|
|
81
|
+
`),V)return T.include(l,w),T.include(me,w),D.include(f,w),D.include(pe,w),D.include(ae,w),D.code.add(y`
|
|
82
82
|
float evaluateShadow() {
|
|
83
|
-
return ${
|
|
83
|
+
return ${M?`readShadowMap(vPositionWorldCameraRelative)`:`0.0`};
|
|
84
84
|
}
|
|
85
|
-
`).main.add(
|
|
86
|
-
${
|
|
85
|
+
`).main.add(y`
|
|
86
|
+
${v(!B,`discardBySlice(vPositionWorldCameraRelative);`)}
|
|
87
87
|
|
|
88
88
|
vec4 textureColor = readBaseColorTexture();
|
|
89
89
|
discardOrAdjustAlpha(textureColor);
|
|
@@ -91,15 +91,15 @@ import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Ma
|
|
|
91
91
|
// When rendering the occluded overlay, we still need to read the base color texture because we need to use the
|
|
92
92
|
// same discard logic. However after that to render only the draped overlay, we simply set the base texture color
|
|
93
93
|
// to zero.
|
|
94
|
-
${
|
|
94
|
+
${v(z,y`textureColor = vec4(0);`)}
|
|
95
95
|
|
|
96
|
-
${
|
|
97
|
-
vec4 overlayUVs = ${
|
|
96
|
+
${v(I,y`
|
|
97
|
+
vec4 overlayUVs = ${Y?`componentOverlayUVs()`:`vtcOverlay`};
|
|
98
98
|
|
|
99
99
|
vec4 overlayColor = getCombinedOverlayColor(overlayUVs);
|
|
100
100
|
|
|
101
101
|
/* Early discard to only emit when we have overlay */
|
|
102
|
-
${
|
|
102
|
+
${v(z,y`if (overlayColor.a < alphaCutoff) { discard; }`)}
|
|
103
103
|
`)}
|
|
104
104
|
|
|
105
105
|
vec4 externalColor;
|
|
@@ -107,81 +107,81 @@ import{ComponentData as e}from"../views/3d/webgl-engine/collections/Component/Ma
|
|
|
107
107
|
readExternalColor(externalColor, externalColorMixMode);
|
|
108
108
|
|
|
109
109
|
vec4 materialColor = computeMaterialColor(textureColor, externalColor, externalColorMixMode);
|
|
110
|
-
${
|
|
111
|
-
`),
|
|
110
|
+
${v(U,`materialColor = vec4(0.0);`)}
|
|
111
|
+
`),H?(P&&D.uniforms.add(m),D.include(oe),D.uniforms.add(h).main.add(y`
|
|
112
112
|
applyPBRFactors();
|
|
113
|
-
${
|
|
114
|
-
${
|
|
113
|
+
${v(k===1,`if (externalColorMixMode == 3) mrr = vec3(0.0, 0.6, 0.2);`)}
|
|
114
|
+
${v(A,`mat3 tangentSpace = computeTangentSpace(fragmentFaceNormal, vPositionWorldCameraRelative, vuv0);`)}
|
|
115
115
|
|
|
116
116
|
vec3 viewDirection = normalize(vPositionWorldCameraRelative);
|
|
117
117
|
vec3 upNormal = getLocalUp(positionWorld());
|
|
118
|
-
vec3 shadingNormal = ${
|
|
118
|
+
vec3 shadingNormal = ${A?`computeTextureNormal(tangentSpace, vuv0)`:`fragmentShadingNormal`};
|
|
119
119
|
|
|
120
120
|
float ssao = occlusion * evaluateAmbientOcclusionInverse();
|
|
121
|
-
${
|
|
121
|
+
${v(j,y`float snow = applySnow(fragmentFaceNormal, upNormal, materialColor.rgb, ssao);
|
|
122
122
|
shadingNormal = mix(shadingNormal, fragmentFaceNormal, snow);`)}
|
|
123
|
-
${
|
|
123
|
+
${v(I,`materialColor = compositeOverlayUnpremultiplied(materialColor, overlayColor);`)}
|
|
124
124
|
|
|
125
125
|
vec3 additionalLight = evaluateAdditionalLighting(1.0 - ssao, positionWorld());
|
|
126
|
-
${
|
|
127
|
-
${
|
|
126
|
+
${v(P,`float additionalAmbientScale = additionalDirectedAmbientLight(positionWorld());`)}
|
|
127
|
+
${v(P,`float shadow = max(lightingGlobalFactor * (1.0 - additionalAmbientScale), evaluateShadow());`,`float shadow = evaluateShadow();`)}
|
|
128
128
|
vec4 shadedColor = vec4(evaluateSceneLighting(shadingNormal, materialColor.rgb, shadow, 1.0 - ssao, additionalLight, viewDirection, upNormal), materialColor.a);
|
|
129
|
-
`)):(
|
|
130
|
-
${
|
|
131
|
-
float shadow = ${P
|
|
129
|
+
`)):(P&&D.uniforms.add(m),Z&&D.uniforms.add(t),D.uniforms.add(g).main.add(y`
|
|
130
|
+
${v(P,`float additionalAmbientScale = additionalDirectedAmbientLight(positionWorld());`)}
|
|
131
|
+
float shadow = ${M?P?`max(lightingGlobalFactor * (1.0 - additionalAmbientScale), evaluateShadow())`:`evaluateShadow()`:P?`lightingGlobalFactor * (1.0 - additionalAmbientScale)`:`0.0`};
|
|
132
132
|
float ssao = evaluateAmbientOcclusionInverse();
|
|
133
133
|
|
|
134
|
-
${
|
|
134
|
+
${v(M&&N!==1,y`
|
|
135
135
|
float dotFL = dot(fragmentFaceNormal, mainLightDirection);
|
|
136
136
|
if( dotFL <= 0.0) shadow = 1.0;
|
|
137
137
|
`)}
|
|
138
138
|
vec3 upNormal = getLocalUp(positionWorld());
|
|
139
|
-
${
|
|
139
|
+
${v(j,`float snow = applySnow(fragmentFaceNormal, upNormal, materialColor.rgb, ssao);`)}
|
|
140
140
|
|
|
141
141
|
vec3 viewDirection = normalize(vPositionWorldCameraRelative);
|
|
142
142
|
|
|
143
143
|
// At global scale we create some additional ambient light based on the main light to simulate global illumination
|
|
144
144
|
vec3 additionalLight = evaluateAdditionalLighting(1.0 - ssao, positionWorld());
|
|
145
145
|
|
|
146
|
-
${
|
|
146
|
+
${v(I,`materialColor = compositeOverlayUnpremultiplied(materialColor, overlayColor);`)}
|
|
147
147
|
|
|
148
148
|
vec4 shadedColor = vec4(evaluateSceneLighting(fragmentShadingNormal, materialColor.rgb, shadow, 1.0 - ssao, additionalLight, viewDirection, upNormal), materialColor.a);
|
|
149
|
-
${
|
|
149
|
+
${v(Z,y`vec4 overlayWaterMask = getOverlayColor(waterNormals, overlayUVs);
|
|
150
150
|
float waterNormalLength = length(overlayWaterMask);
|
|
151
151
|
if (waterNormalLength > 0.95) {
|
|
152
|
-
mat3 tbnMatrix = ${
|
|
152
|
+
mat3 tbnMatrix = ${P?`mat3(tbnTangent, tbnBiTangent, upNormal)`:`mat3(1.0)`};
|
|
153
153
|
vec4 waterColorLinear = getOverlayWaterColor(overlayWaterMask, overlayColor, -normalize(vPositionWorldCameraRelative), shadow, upNormal, tbnMatrix, vPosition_view, positionWorld());
|
|
154
154
|
vec4 waterColorNonLinear = delinearizeGamma(vec4(waterColorLinear.xyz, 1.0));
|
|
155
155
|
// un-gamma the ground color to mix in linear space
|
|
156
156
|
shadedColor = mix(shadedColor, waterColorNonLinear, waterColorLinear.w);
|
|
157
157
|
}`)}
|
|
158
|
-
`)),
|
|
159
|
-
${
|
|
158
|
+
`)),D.main.add(`
|
|
159
|
+
${v(B,`if(rejectBySlice(vPositionWorldCameraRelative)) shadedColor.a *= groundSliceOpacity;`)}
|
|
160
160
|
|
|
161
|
-
outputColorHighlightOLID(applySlice(shadedColor, vPositionWorldCameraRelative), materialColor.rgb ${
|
|
162
|
-
`),
|
|
161
|
+
outputColorHighlightOLID(applySlice(shadedColor, vPositionWorldCameraRelative), materialColor.rgb ${v(j,`, snow`)});
|
|
162
|
+
`),w.sphereDepthInterpolate&&(T.include(S,w),T.fragment.include(a),D.main.add(y`vec3 worldRay = normalize(vPositionWorldCameraRelative);
|
|
163
163
|
vec3 viewRay = normalize(vPosition_view);
|
|
164
|
-
gl_FragDepth = delinearizeDepth(sphereDepthInterpolate(worldRay, viewRay, linearizeDepth(gl_FragCoord.z)));`)),
|
|
165
|
-
${
|
|
164
|
+
gl_FragDepth = delinearizeDepth(sphereDepthInterpolate(worldRay, viewRay, linearizeDepth(gl_FragCoord.z)));`)),T;let $=G||O===8;return $&&T.include(o,w),q&&T.include(l,w),I&&T.include(c,w),T.include(s,w),D.main.add(y`
|
|
165
|
+
${v(!B,`discardBySlice(vPositionWorldCameraRelative);`)}
|
|
166
166
|
|
|
167
167
|
vec4 textureColor = readBaseColorTexture();
|
|
168
168
|
discardOrAdjustAlpha(textureColor);
|
|
169
169
|
|
|
170
|
-
${
|
|
171
|
-
vec4 overlayUVs = ${
|
|
170
|
+
${v(W,y`
|
|
171
|
+
vec4 overlayUVs = ${Y?`componentOverlayUVs()`:`vtcOverlay`};
|
|
172
172
|
if (getCombinedOverlayColor(overlayUVs).a < alphaCutoff) {
|
|
173
173
|
discard;
|
|
174
174
|
}
|
|
175
175
|
`)}
|
|
176
176
|
|
|
177
|
-
${
|
|
178
|
-
${
|
|
177
|
+
${v($,`outputDepth(linearDepth);`)}
|
|
178
|
+
${v(q,y`
|
|
179
179
|
vec4 externalColor;
|
|
180
180
|
int externalColorMixMode;
|
|
181
181
|
readExternalColor(externalColor, externalColorMixMode);
|
|
182
182
|
|
|
183
183
|
vec4 materialColor = computeMaterialColor(textureColor, externalColor, externalColorMixMode);
|
|
184
|
-
${
|
|
184
|
+
${v(B,y`
|
|
185
185
|
if (rejectBySlice(vPositionWorldCameraRelative)) {
|
|
186
186
|
materialColor.a *= groundSliceOpacity;
|
|
187
187
|
}
|
|
@@ -189,5 +189,5 @@ gl_FragDepth = delinearizeDepth(sphereDepthInterpolate(worldRay, viewRay, linear
|
|
|
189
189
|
|
|
190
190
|
fragColor = vec4(vec3(0.5) + 0.5 * fragmentFaceNormalView, materialColor.a);
|
|
191
191
|
`)}
|
|
192
|
-
${
|
|
193
|
-
${
|
|
192
|
+
${v(K,I?Y?`fragColor = getOverlayColorTexel(componentOverlayUVs());`:`fragColor = getOverlayColorTexel();`:`outputObjectAndLayerIdColor();`)}
|
|
193
|
+
${v(ge,v(I,Y?y`calculateOcclusionAndOutputHighlight(getAllOverlayHighlightValuesEncoded(componentOverlayUVs()));`:y`calculateOcclusionAndOutputHighlight(getAllOverlayHighlightValuesEncoded());`,y`calculateOcclusionAndOutputHighlight();`))}`),T}const T=Object.freeze(Object.defineProperty({__proto__:null,build:w},Symbol.toStringTag,{value:`Module`}));export{T as C,w as b};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{Gamma as t}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{FloatBindUniform as n}from"../views/3d/webgl-engine/core/shaderModules/FloatBindUniform.js";import{glsl as r}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{parameter as a}from"../views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueConfiguration.js";import{
|
|
2
|
+
import{__decorate as e}from"tslib";import{Gamma as t}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{FloatBindUniform as n}from"../views/3d/webgl-engine/core/shaderModules/FloatBindUniform.js";import{glsl as r}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{parameter as a}from"../views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueConfiguration.js";import{EmissiveGlowConfiguration as o,EmissiveGlowPassParameters as s,applyEmissiveGlow as c}from"../views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js";import{floatBlendScale as l}from"../views/3d/webgl-engine/shaders/floatBlendScale.glsl.js";import{ScreenSpacePassAtmosphere as u}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{ToneMapping as d}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as f}from"../views/webgl/ShaderBuilder.js";class p extends o{constructor(){super(...arguments),this.applyBlur=!0}}e([a()],p.prototype,`applyBlur`,void 0);class m extends s{}function h(e){let a=new f,o=a.fragment;return a.include(u,{needUVs:!0,needEyeDirection:!0}),a.outputs.add(`fragColor`,`vec4`,0),o.include(t),o.include(d),e.applyBlur?(o.include(c,e),o.code.add(`vec3 readEmission() { return applyEmissiveGlow(); }`)):(o.include(l,e),o.uniforms.add(new i(`emissionTexture`,({emission:e})=>e?.attachment)).code.add(`vec3 readEmission() { return texture(emissionTexture, uv).rgb * floatBlendInputScale; }`)),o.uniforms.add(new i(`colorTexture`,({color:e})=>e),new n(`inputScale`,({lighting:e})=>1.2-.5*e.noonFactor)).main.add(r`vec4 color = texture(colorTexture, uv);
|
|
3
3
|
color = vec4(linearizeGamma(color.rgb), color.a);
|
|
4
4
|
vec3 emission = readEmission() * inputScale;
|
|
5
5
|
vec3 toneMapped = tonemapKhronosNeutral(color.rgb + emission);
|
package/chunks/Fog.glsl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{create as e}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{mainDepth as t}from"../views/3d/webgl-engine/core/shaderLibrary/bindUniforms.js";import{ReadDepth as n}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{Gamma as r}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{ColorConversion as i}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{Float3PassUniform as a}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{FloatPassUniform as o}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as s}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as c}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{
|
|
2
|
+
import{create as e}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{mainDepth as t}from"../views/3d/webgl-engine/core/shaderLibrary/bindUniforms.js";import{ReadDepth as n}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{Gamma as r}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{ColorConversion as i}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{Float3PassUniform as a}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{FloatPassUniform as o}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as s}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DPassUniform as c}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{EmissiveGlowPassParameters as l,applyEmissiveGlow as u}from"../views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js";import{getDistanceFalloff as d}from"../views/3d/webgl-engine/effects/raymarching/DistanceFalloff.glsl.js";import{ScreenSpacePassAtmosphere as f}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{ToneMapping as p}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as m}from"../views/webgl/ShaderBuilder.js";class h extends l{constructor(){super(...arguments),this.fogColor=e(),this.strength=0,this.amount=0,this.fogColorDistanceWeight=.85,this.inputScale=1}}function g(e){let l=new m,{outputs:h,fragment:g}=l;h.add(`fragColor`,`vec4`,0),l.include(f,{needUVs:!0,needEyeDirection:!0}),g.uniforms.add(t,new o(`fogStrength`,e=>e.strength),new o(`fogAmount`,e=>e.amount),new a(`fogColor`,e=>e.fogColor),new o(`fogColorDistanceWeight`,e=>e.fogColorDistanceWeight)).constants.add(`f16Epsilon`,`float`,6103515625e-14),g.include(d),g.include(r),g.include(p),g.include(n),g.include(i),g.main.add(s`float depth = -1.0;
|
|
3
3
|
float depthSample = depthFromTexture(mainDepth, uv);
|
|
4
4
|
if(depthSample < 1.0 && depthSample > 0.0){
|
|
5
5
|
vec3 cameraSpaceRay = normalize(eyeDir);
|
|
@@ -43,10 +43,18 @@ import{positionOutsideClipSpace as e}from"../views/3d/webgl-engine/core/shaderLi
|
|
|
43
43
|
);
|
|
44
44
|
`)}
|
|
45
45
|
gl_Position = projection.clipPosition;
|
|
46
|
-
`),u.main.add(n`
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
`),u.main.add(n`
|
|
47
|
+
if (rejectGaussianPosition(fragmentPositionCameraRelative)) {
|
|
48
|
+
discard;
|
|
49
|
+
}
|
|
50
|
+
${s.normalizedCutoff?n`
|
|
51
|
+
if (dot(gaussianCoordinates, gaussianCoordinates) > 1.0) {
|
|
52
|
+
discard;
|
|
53
|
+
}
|
|
54
|
+
`:n`
|
|
55
|
+
float gaussianExponent = evaluateGaussianExponent(gaussianCoordinates);
|
|
56
|
+
if (gaussianExponent > 0.0 || gaussianExponent < gaussianLogFalloffCutoff) {
|
|
57
|
+
discard;
|
|
58
|
+
}
|
|
59
|
+
`}
|
|
60
|
+
`),s.preciseDepth&&u.main.add(n`gl_FragDepth = delinearizeDepth(-computeGaussianRayDepth(rayGaussianFactor));`),s.writeNormals&&u.main.add(`fragNormal = vec4(0.0);`),l}const c=Object.freeze(Object.defineProperty({__proto__:null,build:s},Symbol.toStringTag,{value:`Module`}));export{c as G,s as b};
|
|
@@ -35,10 +35,18 @@ discard;
|
|
|
35
35
|
vec3 positionCameraRelative = homogeneousPositionCameraRelative.xyz / homogeneousPositionCameraRelative.w;
|
|
36
36
|
if (rejectGaussianPosition(positionCameraRelative)) {
|
|
37
37
|
discard;
|
|
38
|
-
}`),p.main.add(r`
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
}`),p.main.add(r`
|
|
39
|
+
${e.normalizedCutoff?r`
|
|
40
|
+
if (dot(gaussianCoordinates, gaussianCoordinates) > 1.0) {
|
|
41
|
+
discard;
|
|
42
|
+
}
|
|
43
|
+
`:r`
|
|
44
|
+
float gaussianExponent = evaluateGaussianExponent(gaussianCoordinates);
|
|
45
|
+
if (gaussianExponent > 0.0 || gaussianExponent < gaussianLogFalloffCutoff) {
|
|
46
|
+
discard;
|
|
47
|
+
}
|
|
48
|
+
`}
|
|
49
|
+
`),f.constants.add(`alphaCutoff`,`float`,s),f.constants.add(`depthBias`,`float`,o),f.code.add(r`float safeClipW(float clipW) {
|
|
42
50
|
return abs(clipW) < 1e-7 ? (clipW < 0.0 ? -1e-7 : 1e-7) : clipW;
|
|
43
51
|
}`),f.code.add(r`vec3 computeProjectivePixelGradient(
|
|
44
52
|
vec3 clipGradient,
|
|
@@ -152,4 +160,6 @@ return min(linearDepth + depthBias, 1.0);
|
|
|
152
160
|
);
|
|
153
161
|
`)}
|
|
154
162
|
gl_Position = vec4(clipPos, biasedDepth * 2.0 - 1.0, 1.0);
|
|
163
|
+
|
|
164
|
+
${i(e.normalizedCutoff,r`gaussianCoordinates = computeGaussianUnitQuadCorner(gl_VertexID);`)}
|
|
155
165
|
`),u}const m=Object.freeze(Object.defineProperty({__proto__:null,GaussianSplatShadowPassParameters:f,build:p},Symbol.toStringTag,{value:`Module`}));export{f as G,m as a,p as b};
|
package/config.d.ts
CHANGED
|
@@ -5,20 +5,23 @@
|
|
|
5
5
|
* >
|
|
6
6
|
* > **Note**
|
|
7
7
|
* >
|
|
8
|
-
* > It is recommended that properties of the `config` module be set on a global `esriConfig` variable before the API is loaded. Setting properties on the `config` module after the API is loaded may not have the intended effect, as some properties need to be set by the time the first request is made that needs that value.
|
|
8
|
+
* > It is recommended that properties of the `config` module be set on a global `esriConfig` variable before the API is loaded. Setting properties on the `config` module after the API is loaded may not have the intended effect, as some properties need to be set by the time the first request is made that needs that value.
|
|
9
|
+
* >
|
|
10
|
+
* > For example, the `apiKey` property needs to be set before the first request is made to a secure service that requires an API key. If the `apiKey` is set after that, the request will fail with an authentication error and prompt for credentials instead of using the API key.
|
|
9
11
|
*
|
|
10
12
|
* @since 4.0
|
|
11
13
|
* @example
|
|
12
|
-
* //
|
|
13
|
-
* const config = await $arcgis.import("@arcgis/core/config.js");
|
|
14
|
-
* config.portalUrl = "https://myHostName.esri.com/arcgis";
|
|
15
|
-
* @example
|
|
14
|
+
* // When using the CDN, the global esriConfig variable should be set before the JS Maps SDK script.
|
|
16
15
|
* <script>
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* };
|
|
16
|
+
* globalThis.esriConfig = {
|
|
17
|
+
* portalUrl: "https://myHostName.esri.com/arcgis",
|
|
18
|
+
* };
|
|
21
19
|
* </script>
|
|
20
|
+
* <script type="module"src="https://js.arcgis.com/x.y/"></script>
|
|
21
|
+
* @example
|
|
22
|
+
* // Load the config module and set the respectPrefersReducedMotion property
|
|
23
|
+
* const config = await $arcgis.import("@arcgis/core/config.js");
|
|
24
|
+
* config.respectPrefersReducedMotion = true;
|
|
22
25
|
*/
|
|
23
26
|
import type { LogInterceptor } from "./core/types.js";
|
|
24
27
|
import type { RequestInterceptor } from "./request/types.js";
|
package/config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const t={apiKey:void 0,apiKeys:{scopes:[]},applicationName:``,applicationUrl:globalThis.location?.href,assetsPath:``,fontsUrl:`https://static.arcgis.com/fonts`,geometryServiceUrl:`https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer`,geoRSSServiceUrl:`https://utility.arcgis.com/sharing/rss`,kmlServiceUrl:`https://utility.arcgis.com/sharing/kml`,userPrivilegesApplied:!0,portalUrl:`https://www.arcgis.com`,respectPrefersReducedMotion:!0,routeServiceUrl:`https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World`,workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:[`arcgis.com`,`arcgisonline.com`,`esrikr.com`,`premiumservices.blackbridge.com`,`esripremium.accuweather.com`,`gbm.digitalglobe.com`,`firstlook.digitalglobe.com`,`msi.digitalglobe.com`],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:`high`,proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};globalThis.esriConfig&&(e(t,globalThis.esriConfig,!0),delete t.has),t.assetsPath||(t.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@6.0.0-next.
|
|
2
|
+
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const t={apiKey:void 0,apiKeys:{scopes:[]},applicationName:``,applicationUrl:globalThis.location?.href,assetsPath:``,fontsUrl:`https://static.arcgis.com/fonts`,geometryServiceUrl:`https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer`,geoRSSServiceUrl:`https://utility.arcgis.com/sharing/rss`,kmlServiceUrl:`https://utility.arcgis.com/sharing/kml`,userPrivilegesApplied:!0,portalUrl:`https://www.arcgis.com`,respectPrefersReducedMotion:!0,routeServiceUrl:`https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World`,workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:[`arcgis.com`,`arcgisonline.com`,`esrikr.com`,`premiumservices.blackbridge.com`,`esripremium.accuweather.com`,`gbm.digitalglobe.com`,`firstlook.digitalglobe.com`,`msi.digitalglobe.com`],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:`high`,proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};globalThis.esriConfig&&(e(t,globalThis.esriConfig,!0),delete t.has),t.assetsPath||(t.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@6.0.0-next.29/assets`,t.defaultAssetsPath=t.assetsPath);export{t as default};
|
package/form/FormTemplate.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export interface FormTemplateProperties extends Partial<Pick<FormTemplate, "desc
|
|
|
95
95
|
*
|
|
96
96
|
* @since 4.16
|
|
97
97
|
* @see [Sample - Editing with calculated field expressions](https://developers.arcgis.com/javascript/latest/sample-code/widgets-featureform-async/)
|
|
98
|
-
* @see [Sample - Edit FeatureLayers with form elements ](https://developers.arcgis.com/javascript/latest/sample-code/
|
|
98
|
+
* @see [Sample - Edit FeatureLayers with form elements ](https://developers.arcgis.com/javascript/latest/sample-code/editor-form-elements/)
|
|
99
99
|
* @see [Sample - Editing related data with calculated expressions](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-relates-calculations/)
|
|
100
100
|
* @see [FeatureLayer.formTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#formTemplate)
|
|
101
101
|
* @see [SubtypeSublayer.formTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#formTemplate)
|
|
@@ -35,6 +35,8 @@ export interface AttachmentElementProperties extends ElementProperties, Partial<
|
|
|
35
35
|
*
|
|
36
36
|
* @since 5.1
|
|
37
37
|
* @see [FormTemplate](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/)
|
|
38
|
+
* @see [Editor](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/)
|
|
39
|
+
* @see [Sample - Edit FeatureLayers with form elements ](https://developers.arcgis.com/javascript/latest/sample-code/editor-form-elements/)
|
|
38
40
|
* @example
|
|
39
41
|
* // Create the attachment element
|
|
40
42
|
* const attachmentElement = new AttachmentElement({
|
|
@@ -2,7 +2,7 @@ import type Element from "./Element.js";
|
|
|
2
2
|
import type CodedValueDomain from "../../layers/support/CodedValueDomain.js";
|
|
3
3
|
import type RangeDomain from "../../layers/support/RangeDomain.js";
|
|
4
4
|
import type { ElementProperties } from "./Element.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { InputUnion } from "./inputs/types.js";
|
|
6
6
|
import type { RangeDomainProperties } from "../../layers/support/RangeDomain.js";
|
|
7
7
|
import type { CodedValueDomainProperties } from "../../layers/support/CodedValueDomain.js";
|
|
8
8
|
import type { TimePickerInputProperties } from "./inputs/TimePickerInput.js";
|
|
@@ -130,7 +130,7 @@ export default class FieldElement extends Element {
|
|
|
130
130
|
*/
|
|
131
131
|
accessor hint: string | null | undefined;
|
|
132
132
|
/** The input to use for the element. The client application is responsible for defining the default user interface. */
|
|
133
|
-
get input():
|
|
133
|
+
get input(): InputUnion | null | undefined;
|
|
134
134
|
set input(value: ((BarcodeScannerInputProperties & { type: "barcode-scanner" }) | (ComboBoxInputProperties & { type: "combo-box" }) | (DatePickerInputProperties & { type: "date-picker" }) | (DateTimeOffsetPickerInputProperties & { type: "timestampoffset-picker" }) | (DateTimePickerInputProperties & { type: "datetime-picker" }) | (DynamicChoiceInputProperties & { type: "dynamic-choice" }) | (MultipleChoiceInputProperties & { type: "multiple-choice" }) | (RadioButtonsInputProperties & { type: "radio-buttons" }) | (SwitchInputProperties & { type: "switch" }) | (TextAreaInputProperties & { type: "text-area" }) | (TextBoxInputProperties & { type: "text-box" }) | (TimePickerInputProperties & { type: "time-picker" })) | null | undefined);
|
|
135
135
|
/**
|
|
136
136
|
* A reference to the [ExpressionInfo.name](https://developers.arcgis.com/javascript/latest/references/core/form/ExpressionInfo/#name) of an
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{property as t,subclass as n}from"../../core/accessorSupport/decorators.js";import r from"./Element.js";import{types as i}from"./inputs.js";import{fromJSON as a,types as o}from"../../layers/support/domains.js";var s;let c=s=class extends r{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type=`field`,this.valueExpression=null}clone(){return new s({description:this.description,domain:this.domain?.clone()??null,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input?.clone(),label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};e([t({types:o,json:{read:{reader:a},write:!0}})],c.prototype,`domain`,void 0),e([t({type:Boolean,json:{write:!0}})],c.prototype,`editable`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`editableExpression`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`fieldName`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`hint`,void 0),e([t({types:i,json:{read:{source:`inputType`},write:{target:`inputType`}}})],c.prototype,`input`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`requiredExpression`,void 0),e([t({type:String,json:{read:!1,write:!0}})],c.prototype,`type`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`valueExpression`,void 0),c=s=e([n(`esri.form.elements.FieldElement`)],c);export{c as default};
|
|
2
|
+
import{__decorate as e}from"tslib";import{property as t,subclass as n}from"../../core/accessorSupport/decorators.js";import r from"./Element.js";import{types as i}from"./inputs/inputUtils.js";import{fromJSON as a,types as o}from"../../layers/support/domains.js";var s;let c=s=class extends r{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type=`field`,this.valueExpression=null}clone(){return new s({description:this.description,domain:this.domain?.clone()??null,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input?.clone(),label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};e([t({types:o,json:{read:{reader:a},write:!0}})],c.prototype,`domain`,void 0),e([t({type:Boolean,json:{write:!0}})],c.prototype,`editable`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`editableExpression`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`fieldName`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`hint`,void 0),e([t({types:i,json:{read:{source:`inputType`},write:{target:`inputType`}}})],c.prototype,`input`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`requiredExpression`,void 0),e([t({type:String,json:{read:!1,write:!0}})],c.prototype,`type`,void 0),e([t({type:String,json:{write:!0}})],c.prototype,`valueExpression`,void 0),c=s=e([n(`esri.form.elements.FieldElement`)],c);export{c as default};
|
|
@@ -30,7 +30,7 @@ export interface RelationshipElementProperties extends ElementProperties, Partia
|
|
|
30
30
|
* @since 4.27
|
|
31
31
|
* @see [FormTemplate](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/)
|
|
32
32
|
* @see [Editor](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/)
|
|
33
|
-
* @see [Sample - Edit FeatureLayers with form elements ](https://developers.arcgis.com/javascript/latest/sample-code/
|
|
33
|
+
* @see [Sample - Edit FeatureLayers with form elements ](https://developers.arcgis.com/javascript/latest/sample-code/editor-form-elements/)
|
|
34
34
|
* @see [Sample - Editing related data with calculated expressions](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-relates-calculations/)
|
|
35
35
|
* @example
|
|
36
36
|
* // Create the relationship element
|
|
@@ -9,12 +9,12 @@ export interface TextElementProperties extends ElementProperties, Partial<Pick<T
|
|
|
9
9
|
* The text may reference values returned from a field attribute or an
|
|
10
10
|
* [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expression defined in a FormTemplate's [FormTemplate.expressionInfos](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/#expressionInfos) property.
|
|
11
11
|
*
|
|
12
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/
|
|
12
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/editor-form-elements/)
|
|
13
13
|
*
|
|
14
14
|
* @see [FormTemplate](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/)
|
|
15
15
|
* @see [FeatureForm](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureForm/)
|
|
16
16
|
* @see [ExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/form/ExpressionInfo/)
|
|
17
|
-
* @see [Sample - Edit FeatureLayers with form elements](https://developers.arcgis.com/javascript/latest/sample-code/
|
|
17
|
+
* @see [Sample - Edit FeatureLayers with form elements](https://developers.arcgis.com/javascript/latest/sample-code/editor-form-elements/)
|
|
18
18
|
* @example
|
|
19
19
|
* // Create a plain-text element.
|
|
20
20
|
* const textElement = new TextElement({
|
|
@@ -16,7 +16,7 @@ export interface UtilityNetworkAssociationsElementProperties extends ElementProp
|
|
|
16
16
|
* @see [FormTemplate](https://developers.arcgis.com/javascript/latest/references/core/form/FormTemplate/)
|
|
17
17
|
* @see [Editor](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/)
|
|
18
18
|
* @see [FeatureForm](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureForm/)
|
|
19
|
-
* @see [Sample - Edit FeatureLayers with form elements ](https://developers.arcgis.com/javascript/latest/sample-code/
|
|
19
|
+
* @see [Sample - Edit FeatureLayers with form elements ](https://developers.arcgis.com/javascript/latest/sample-code/editor-form-elements/)
|
|
20
20
|
* @example
|
|
21
21
|
* // Configure associations in forms
|
|
22
22
|
* const formTemplate = new FormTemplate({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
function
|
|
2
|
+
import e from"./BarcodeScannerInput.js";import t from"./ComboBoxInput.js";import n from"./DatePickerInput.js";import r from"./DateTimeOffsetPickerInput.js";import i from"./DateTimePickerInput.js";import a from"./DynamicChoiceInput.js";import o from"./Input.js";import s from"./MultipleChoiceInput.js";import c from"./RadioButtonsInput.js";import l from"./SwitchInput.js";import u from"./TextAreaInput.js";import d from"./TextBoxInput.js";import f from"./TimePickerInput.js";const p={base:o,key:`type`,typeMap:{"barcode-scanner":e,"combo-box":t,"date-picker":n,"datetime-picker":i,"dynamic-choice":a,"multiple-choice":s,"timestampoffset-picker":r,"datetimeoffset-picker":r,"radio-buttons":c,switch:l,"text-area":u,"text-box":d,"time-picker":f}};function m(e){return e.type===`barcode-scanner`}function h(e){return e.type===`combo-box`}function g(e){return e.type===`date-picker`}function _(e){return e.type===`datetime-picker`}function v(e){return e.type===`dynamic-choice`}function y(e){return e.type===`multiple-choice`}function b(e){return e.type===`timestampoffset-picker`}function x(e){return e.type===`radio-buttons`}function S(e){return e.type===`switch`}function C(e){return e.type===`text-area`}function w(e){return e.type===`text-box`}function T(e){return e.type===`time-picker`}export{m as isBarcodeScannerInput,h as isComboBoxInput,g as isDatePickerInput,b as isDateTimeOffsetPickerInput,_ as isDateTimePickerInput,v as isDynamicChoiceInput,y as isMultipleChoiceInput,x as isRadioButtonsInput,S as isSwitchInput,C as isTextAreaInput,w as isTextBoxInput,T as isTimePickerInput,p as types};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type BarcodeScannerInput from "./BarcodeScannerInput.js";
|
|
2
|
+
import type ComboBoxInput from "./ComboBoxInput.js";
|
|
3
|
+
import type DatePickerInput from "./DatePickerInput.js";
|
|
4
|
+
import type DateTimeOffsetPickerInput from "./DateTimeOffsetPickerInput.js";
|
|
5
|
+
import type DateTimePickerInput from "./DateTimePickerInput.js";
|
|
6
|
+
import type DynamicChoiceInput from "./DynamicChoiceInput.js";
|
|
7
|
+
import type MultipleChoiceInput from "./MultipleChoiceInput.js";
|
|
8
|
+
import type RadioButtonsInput from "./RadioButtonsInput.js";
|
|
9
|
+
import type SwitchInput from "./SwitchInput.js";
|
|
10
|
+
import type TextAreaInput from "./TextAreaInput.js";
|
|
11
|
+
import type TextBoxInput from "./TextBoxInput.js";
|
|
12
|
+
import type TimePickerInput from "./TimePickerInput.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A union of all [form inputs](https://developers.arcgis.com/javascript/latest/references/core/form/elements/inputs/Input/).
|
|
16
|
+
*
|
|
17
|
+
* @since 5.2
|
|
18
|
+
*/
|
|
19
|
+
export type InputUnion = BarcodeScannerInput | ComboBoxInput | DatePickerInput | DateTimeOffsetPickerInput | DateTimePickerInput | DynamicChoiceInput | MultipleChoiceInput | RadioButtonsInput | SwitchInput | TextAreaInput | TextBoxInput | TimePickerInput;
|
|
@@ -70,13 +70,14 @@ import type SwitchInputClass from "./inputs/SwitchInput.js";
|
|
|
70
70
|
import type TextAreaInputClass from "./inputs/TextAreaInput.js";
|
|
71
71
|
import type TextBoxInputClass from "./inputs/TextBoxInput.js";
|
|
72
72
|
import type TimePickerInputClass from "./inputs/TimePickerInput.js";
|
|
73
|
+
import type { InputUnion } from "./inputs/types.js";
|
|
73
74
|
|
|
74
75
|
/**
|
|
75
76
|
* Form element input types.
|
|
76
77
|
*
|
|
77
|
-
* @deprecated since 5.2.
|
|
78
|
+
* @deprecated since 5.2. Use [InputUnion](https://developers.arcgis.com/javascript/latest/references/core/form/elements/inputs/types/#InputUnion) instead.
|
|
78
79
|
*/
|
|
79
|
-
export type Input =
|
|
80
|
+
export type Input = InputUnion;
|
|
80
81
|
|
|
81
82
|
/**
|
|
82
83
|
* The `BarcodeScannerInput` class defines the desired user interface for a barcode or QR code scanner. If this type is used in an ArcGIS Maps SDK for JavaScript web application, it will default to the [TextBoxInput](https://developers.arcgis.com/javascript/latest/references/core/form/elements/inputs/TextBoxInput/) type as the API does not support bar code scanning as an input type.
|
package/form/elements/inputs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{deprecatedModule as e}from"../../core/deprecate.js";import t from"../../core/Logger.js";import n from"./inputs/BarcodeScannerInput.js";import r from"./inputs/ComboBoxInput.js";import i from"./inputs/DatePickerInput.js";import a from"./inputs/DateTimeOffsetPickerInput.js";import o from"./inputs/DateTimePickerInput.js";import s from"./inputs/DynamicChoiceInput.js";import c from"./inputs/
|
|
2
|
+
import{deprecatedModule as e}from"../../core/deprecate.js";import t from"../../core/Logger.js";import n from"./inputs/BarcodeScannerInput.js";import r from"./inputs/ComboBoxInput.js";import i from"./inputs/DatePickerInput.js";import a from"./inputs/DateTimeOffsetPickerInput.js";import o from"./inputs/DateTimePickerInput.js";import s from"./inputs/DynamicChoiceInput.js";import c from"./inputs/MultipleChoiceInput.js";import l from"./inputs/RadioButtonsInput.js";import u from"./inputs/SwitchInput.js";import d from"./inputs/TextAreaInput.js";import f from"./inputs/TextBoxInput.js";import p from"./inputs/TimePickerInput.js";export{types}from"./inputs/inputUtils.js";e(t.getLogger(`esri.form.elements.inputs`),`esri.form.elements.inputs`,{replacement:`Individual input module imports`,version:`5.2`,warnOnce:!0});const m=n,h=r,g=i,_=a,v=o,y=s,b=c,x=l,S=u,C=d,w=f,T=p;export{m as BarcodeScannerInput,h as ComboBoxInput,g as DatePickerInput,_ as DateTimeOffsetPickerInput,v as DateTimePickerInput,y as DynamicChoiceInput,b as MultipleChoiceInput,x as RadioButtonsInput,S as SwitchInput,C as TextAreaInput,w as TextBoxInput,T as TimePickerInput};
|
package/interfaces.d.ts
CHANGED
|
@@ -13719,13 +13719,6 @@ declare namespace __esri {
|
|
|
13719
13719
|
/** @deprecated since 5.0. Refactor using \@arcgis/codemod */
|
|
13720
13720
|
export type ValuePickerPreviousEventHandler = (event: ValuePickerPreviousEvent) => void;
|
|
13721
13721
|
|
|
13722
|
-
/** @deprecated since 5.0. Refactor using \@arcgis/codemod */
|
|
13723
|
-
export type VideoPlayerProperties = import("./widgets/VideoPlayer.js").VideoPlayerProperties;
|
|
13724
|
-
|
|
13725
|
-
/** @deprecated since 5.0. Refactor using \@arcgis/codemod */
|
|
13726
|
-
export type VideoPlayer = import("./widgets/VideoPlayer.js").default;
|
|
13727
|
-
export const VideoPlayer: typeof import("./widgets/VideoPlayer.js").default;
|
|
13728
|
-
|
|
13729
13722
|
/** @deprecated since 5.0. Refactor using \@arcgis/codemod */
|
|
13730
13723
|
export type WeatherProperties = import("./widgets/Weather.js").WeatherProperties;
|
|
13731
13724
|
|
|
@@ -15697,13 +15690,6 @@ declare namespace __esri {
|
|
|
15697
15690
|
export type VersionManagementViewModel = import("./widgets/VersionManagement/VersionManagementViewModel.js").default;
|
|
15698
15691
|
export const VersionManagementViewModel: typeof import("./widgets/VersionManagement/VersionManagementViewModel.js").default;
|
|
15699
15692
|
|
|
15700
|
-
/** @deprecated since 5.0. Refactor using \@arcgis/codemod */
|
|
15701
|
-
export type VideoPlayerViewModelProperties = import("./widgets/VideoPlayer/VideoPlayerViewModel.js").VideoPlayerViewModelProperties;
|
|
15702
|
-
|
|
15703
|
-
/** @deprecated since 5.0. Refactor using \@arcgis/codemod */
|
|
15704
|
-
export type VideoPlayerViewModel = import("./widgets/VideoPlayer/VideoPlayerViewModel.js").default;
|
|
15705
|
-
export const VideoPlayerViewModel: typeof import("./widgets/VideoPlayer/VideoPlayerViewModel.js").default;
|
|
15706
|
-
|
|
15707
15693
|
/** @deprecated since 5.0. Refactor using \@arcgis/codemod */
|
|
15708
15694
|
export type WeatherVisibleElementsProperties = import("./widgets/Weather/VisibleElements.js").VisibleElementsProperties;
|
|
15709
15695
|
|
package/kernel.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import"./core/has.js";import{addQueryParameter as e}from"./core/urlUtils.js";Symbol.dispose??=Symbol(`Symbol.dispose`),Symbol.asyncDispose??=Symbol(`Symbol.asyncDispose`);const t=`5.2`;let n=`5.2`;n=`6.0.0-next.
|
|
2
|
+
import"./core/has.js";import{addQueryParameter as e}from"./core/urlUtils.js";Symbol.dispose??=Symbol(`Symbol.dispose`),Symbol.asyncDispose??=Symbol(`Symbol.asyncDispose`);const t=`5.2`;let n=`5.2`;n=`6.0.0-next.29`;let r;function i(e){r=e}function a(t){let n=r?.findCredential(t);return n?.token?e(t,`token`,n.token):t}globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}});export{a as addTokenParameter,n as fullVersion,r as id,i as setId,t as version};
|