@arcgis/core 4.33.0-next.20250416 → 4.33.0-next.20250417
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/analysis/Analysis.js +1 -1
- package/analysis/AreaMeasurementAnalysis.js +1 -1
- package/analysis/DimensionAnalysis.js +1 -1
- package/analysis/DirectLineMeasurementAnalysis.js +1 -1
- package/analysis/LengthDimension.js +1 -1
- package/analysis/LineOfSightAnalysis.js +1 -1
- package/analysis/SliceAnalysis.js +1 -1
- package/analysis/Viewshed.js +1 -1
- package/analysis/ViewshedAnalysis.js +1 -1
- package/assets/components/assets/icon/browserJoin16.json +1 -0
- package/assets/components/assets/icon/browserJoin24.json +1 -0
- package/assets/components/assets/icon/browserJoin32.json +1 -0
- package/assets/components/assets/icon/browserPlus16.json +1 -0
- package/assets/components/assets/icon/browserPlus24.json +1 -0
- package/assets/components/assets/icon/browserPlus32.json +1 -0
- package/assets/components/assets/icon/check16.json +1 -1
- package/assets/components/assets/icon/check24.json +1 -1
- package/assets/components/assets/icon/check32.json +1 -1
- package/assets/components/assets/icon/classroomGis16.json +1 -0
- package/assets/components/assets/icon/classroomGis24.json +1 -0
- package/assets/components/assets/icon/classroomGis32.json +1 -0
- package/assets/components/assets/icon/documentLearning16.json +1 -0
- package/assets/components/assets/icon/documentLearning24.json +1 -0
- package/assets/components/assets/icon/documentLearning32.json +1 -0
- package/assets/components/assets/icon/doubleFloatSet16.json +1 -0
- package/assets/components/assets/icon/doubleFloatSet24.json +1 -0
- package/assets/components/assets/icon/doubleFloatSet32.json +1 -0
- package/assets/components/assets/icon/eLearningGis16.json +1 -0
- package/assets/components/assets/icon/eLearningGis24.json +1 -0
- package/assets/components/assets/icon/eLearningGis32.json +1 -0
- package/assets/components/assets/icon/language216.json +1 -0
- package/assets/components/assets/icon/language224.json +1 -0
- package/assets/components/assets/icon/language232.json +1 -0
- package/assets/components/assets/icon/layerSet16.json +1 -0
- package/assets/components/assets/icon/layerSet24.json +1 -0
- package/assets/components/assets/icon/layerSet32.json +1 -0
- package/assets/components/assets/icon/learningGisWorkflow16.json +1 -0
- package/assets/components/assets/icon/learningGisWorkflow24.json +1 -0
- package/assets/components/assets/icon/learningGisWorkflow32.json +1 -0
- package/assets/components/assets/icon/learningSteps16.json +1 -0
- package/assets/components/assets/icon/learningSteps24.json +1 -0
- package/assets/components/assets/icon/learningSteps32.json +1 -0
- package/assets/components/assets/icon/learningWebCourse16.json +1 -0
- package/assets/components/assets/icon/learningWebCourse24.json +1 -0
- package/assets/components/assets/icon/learningWebCourse32.json +1 -0
- package/assets/components/assets/icon/mapInformation16.json +1 -0
- package/assets/components/assets/icon/mapInformation24.json +1 -0
- package/assets/components/assets/icon/mapInformation32.json +1 -0
- package/assets/components/assets/icon/mooc16.json +1 -0
- package/assets/components/assets/icon/mooc24.json +1 -0
- package/assets/components/assets/icon/mooc32.json +1 -0
- package/assets/components/assets/icon/multipleVariablesSet16.json +1 -0
- package/assets/components/assets/icon/multipleVariablesSet24.json +1 -0
- package/assets/components/assets/icon/multipleVariablesSet32.json +1 -0
- package/assets/components/assets/icon/parameters16.json +1 -0
- package/assets/components/assets/icon/parameters24.json +1 -0
- package/assets/components/assets/icon/parameters32.json +1 -0
- package/assets/components/assets/icon/parametersGear16.json +1 -0
- package/assets/components/assets/icon/parametersGear24.json +1 -0
- package/assets/components/assets/icon/parametersGear32.json +1 -0
- package/assets/components/assets/icon/parametersPlus16.json +1 -0
- package/assets/components/assets/icon/parametersPlus24.json +1 -0
- package/assets/components/assets/icon/parametersPlus32.json +1 -0
- package/assets/components/assets/icon/storymapExperience16.json +1 -0
- package/assets/components/assets/icon/storymapExperience24.json +1 -0
- package/assets/components/assets/icon/storymapExperience32.json +1 -0
- package/assets/components/assets/icon/stringSet16.json +1 -0
- package/assets/components/assets/icon/stringSet24.json +1 -0
- package/assets/components/assets/icon/stringSet32.json +1 -0
- package/assets/components/assets/icon/tableSet16.json +1 -0
- package/assets/components/assets/icon/tableSet24.json +1 -0
- package/assets/components/assets/icon/tableSet32.json +1 -0
- package/assets/components/assets/icon/variablePlus16.json +1 -0
- package/assets/components/assets/icon/variablePlus24.json +1 -0
- package/assets/components/assets/icon/variablePlus32.json +1 -0
- package/assets/components/assets/icon/videoLearning16.json +1 -0
- package/assets/components/assets/icon/videoLearning24.json +1 -0
- package/assets/components/assets/icon/videoLearning32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/05cba30c0d3855de7a65.js +1 -0
- package/assets/esri/core/workers/chunks/{7ef9bcd58af499a14a08.js → 089a19381b66cd074425.js} +1 -1
- package/assets/esri/core/workers/chunks/0be7a0f4c4f4f91d1957.js +1 -0
- package/assets/esri/core/workers/chunks/0c6f2808c57ff820bfdd.js +2 -0
- package/assets/esri/core/workers/chunks/{baed733a29aa65efc2a0.js.LICENSE.txt → 0c6f2808c57ff820bfdd.js.LICENSE.txt} +7 -1
- package/assets/esri/core/workers/chunks/103c78c8bfdb56227bc0.js +1 -0
- package/assets/esri/core/workers/chunks/184d7c8ea818bec5c462.js +1 -0
- package/assets/esri/core/workers/chunks/{4523ba4a3c8987abca56.js → 1c75f7e4d2e9c8e377e7.js} +1 -1
- package/assets/esri/core/workers/chunks/1e1c3243ac82c969bb1f.js +1 -0
- package/assets/esri/core/workers/chunks/22f604726529ee6f8c25.js +1 -0
- package/assets/esri/core/workers/chunks/25142d431dd1e5e82234.js +1 -0
- package/assets/esri/core/workers/chunks/25e19bd171eeb5634a4f.js +1 -0
- package/assets/esri/core/workers/chunks/26924d2f03b8a1b7a9b2.js +1 -0
- package/assets/esri/core/workers/chunks/27482132abb939a1cdb7.js +1 -0
- package/assets/esri/core/workers/chunks/2ae1dbdac9f24f4a3c84.js +1 -0
- package/assets/esri/core/workers/chunks/{984c5047ab1fa632ca09.js → 2db5dd5638c93b0af102.js} +1 -1
- package/assets/esri/core/workers/chunks/31b2ceed80796c7f6c03.js +1 -0
- package/assets/esri/core/workers/chunks/3521a53f826f0ce6ac33.js +1 -0
- package/assets/esri/core/workers/chunks/3697ec74522cc5059098.js +1 -0
- package/assets/esri/core/workers/chunks/{60472225a228e499b1a2.js → 38557792ff9516fc991b.js} +1 -1
- package/assets/esri/core/workers/chunks/388a763da712ca71ccf4.js +1 -0
- package/assets/esri/core/workers/chunks/38f9ede26098eb03ca2d.js +2 -0
- package/assets/esri/core/workers/chunks/{239821543abbd63c5787.js.LICENSE.txt → 38f9ede26098eb03ca2d.js.LICENSE.txt} +3 -3
- package/assets/esri/core/workers/chunks/3b8eee013d7ca156ef2d.js +1 -0
- package/assets/esri/core/workers/chunks/{7f86c9ec45f4fae1fb49.js → 3ee505f9ddb671dcfa52.js} +1 -1
- package/assets/esri/core/workers/chunks/3f3a2c6ce48d832bf2f1.js +1 -0
- package/assets/esri/core/workers/chunks/{82493f51a2182f76dd2f.js → 459e3e507e8ea3e7e6ab.js} +1 -1
- package/assets/esri/core/workers/chunks/51b5dfc7085272d26b89.js +1 -0
- package/assets/esri/core/workers/chunks/536d7986ebb710a8a452.js +1 -0
- package/assets/esri/core/workers/chunks/53eaad20c4f55dae21e0.js +1 -0
- package/assets/esri/core/workers/chunks/55eff05354069f34bb1d.js +1 -0
- package/assets/esri/core/workers/chunks/569e9ec636199d1f1744.js +1 -0
- package/assets/esri/core/workers/chunks/598fade09fa4da759ac2.js +1 -0
- package/assets/esri/core/workers/chunks/5ac3096139e3eafd0e1d.js +1 -0
- package/assets/esri/core/workers/chunks/{93d06a1a0b700ddb3807.js → 5bdd5ae2d2f23ef6b331.js} +1 -1
- package/assets/esri/core/workers/chunks/5db336767959507c07e5.js +2 -0
- package/assets/esri/core/workers/chunks/{c03bffa13841e4f80379.js.LICENSE.txt → 5db336767959507c07e5.js.LICENSE.txt} +2 -2
- package/assets/esri/core/workers/chunks/5e5225623977e61fd0ef.js +1 -0
- package/assets/esri/core/workers/chunks/642a595353a86f3717e3.js +1 -0
- package/assets/esri/core/workers/chunks/64640051f1fd787a3362.js +1 -0
- package/assets/esri/core/workers/chunks/6d230c55cde66ee905b3.js +1 -0
- package/assets/esri/core/workers/chunks/{c1bd47cde53918f454ca.js → 729407e372c8353cf871.js} +1 -1
- package/assets/esri/core/workers/chunks/{29283c19e1ccdc6cfbde.js → 736a11e64e5f03e3936b.js} +34 -33
- package/assets/esri/core/workers/chunks/769b66cca8347f0f84db.js +1 -0
- package/assets/esri/core/workers/chunks/7c4746f60332620f75c5.js +1 -0
- package/assets/esri/core/workers/chunks/{b6dd25bccb9f6e19c18e.js → 7c7ff11246479382974c.js} +1 -1
- package/assets/esri/core/workers/chunks/7fce62ef3f0b011e0d35.js +1 -0
- package/assets/esri/core/workers/chunks/814d72abbfdd4552e4ec.js +2 -0
- package/assets/esri/core/workers/chunks/{373782e9f5d61616fde4.js.LICENSE.txt → 814d72abbfdd4552e4ec.js.LICENSE.txt} +1 -6
- package/assets/esri/core/workers/chunks/{07f206719763173faa8d.js → 873327fc41edd3830afa.js} +4 -4
- package/assets/esri/core/workers/chunks/8ea182c2fc20dba79ef2.js +1 -0
- package/assets/esri/core/workers/chunks/{d58fae2fc9d148e015ae.js → 90dc783a617ff053e862.js} +1 -1
- package/assets/esri/core/workers/chunks/93e9dfd1ba8f393c6c47.js +1 -0
- package/assets/esri/core/workers/chunks/93f792f5b94f3745b57d.js +2 -0
- package/assets/esri/core/workers/chunks/{3845e1d47bb51c06682e.js.LICENSE.txt → 93f792f5b94f3745b57d.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/a197c86d42cc9ce21924.js +1 -0
- package/assets/esri/core/workers/chunks/a276980c06d5d311a37e.js +1 -0
- package/assets/esri/core/workers/chunks/a600194cfe26aedc21dd.js +1 -0
- package/assets/esri/core/workers/chunks/{a4239e301728d594afa5.js → a6b14665a46c2af5ac11.js} +1 -1
- package/assets/esri/core/workers/chunks/ae156b99e60a2bf940e4.js +1 -0
- package/assets/esri/core/workers/chunks/afcb12bf54a5656f641e.js +2 -0
- package/assets/esri/core/workers/chunks/{75e01c6404cbd51daabc.js.LICENSE.txt → afcb12bf54a5656f641e.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/b2f1d1721a9dd88a1adf.js +1 -0
- package/assets/esri/core/workers/chunks/{4275dcec730a11173661.js → b7fc99ec15e2c86a6425.js} +1 -1
- package/assets/esri/core/workers/chunks/b8248939373e25a8d6db.js +1 -0
- package/assets/esri/core/workers/chunks/bbaadce582df7e20397b.js +1 -0
- package/assets/esri/core/workers/chunks/{18404cd87d29b2bdc7bf.js → c4dba6cf17aece714d22.js} +1 -1
- package/assets/esri/core/workers/chunks/c5d786166a5609b85276.js +2 -0
- package/assets/esri/core/workers/chunks/{e4d522ade82192f32d54.js.LICENSE.txt → c5d786166a5609b85276.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{f4111bb5e5a4910b684a.js → c616139a160eab9cd717.js} +1 -1
- package/assets/esri/core/workers/chunks/{c589d32f8efcca6bf712.js → c6b08fdc0421258efcf5.js} +1 -1
- package/assets/esri/core/workers/chunks/c779335f5d5455c77a62.js +1 -0
- package/assets/esri/core/workers/chunks/{eb61e484f090fca28937.js → cb2be1a81bdd3443f758.js} +1 -1
- package/assets/esri/core/workers/chunks/ccc50f28f217e50cc2c3.js +1 -0
- package/assets/esri/core/workers/chunks/cd2927b922444880566d.js +1 -0
- package/assets/esri/core/workers/chunks/{df1225a3e751a662c182.js → d04efa51da9b4eb3a8a7.js} +1 -1
- package/assets/esri/core/workers/chunks/d434d44916d32d4b10d5.js +1 -0
- package/assets/esri/core/workers/chunks/{50c1753ee3dc0d28ffd7.js → d696abbb1b13ac1a689b.js} +1 -1
- package/assets/esri/core/workers/chunks/dbaa4b8d37aab40d7bd1.js +2 -0
- package/assets/esri/core/workers/chunks/dbaa4b8d37aab40d7bd1.js.LICENSE.txt +3 -0
- package/assets/esri/core/workers/chunks/{4a15308b54734247f38e.js → dd8e72d6784a8ebc115d.js} +1 -1
- package/assets/esri/core/workers/chunks/de0784474d2e9e504a91.js +1 -0
- package/assets/esri/core/workers/chunks/{aca3ccb9599bcc444617.js → e1472af8f5d64c057d04.js} +1 -1
- package/assets/esri/core/workers/chunks/e27fa1e84f16b7f19a90.js +1 -0
- package/assets/esri/core/workers/chunks/e2cd6038d9c7167b128e.js +1 -0
- package/assets/esri/core/workers/chunks/{0252d853419adc203f04.js → ef6e805c49e1afdf966b.js} +1 -1
- package/assets/esri/core/workers/chunks/f2bc75a718a10065011d.js +1 -0
- package/assets/esri/core/workers/chunks/{1263391920fbb8926ced.js → f34ce3c37a385b341631.js} +1 -1
- package/assets/esri/core/workers/chunks/{e3d25d027885eb1a415f.js → f458a40e1f8fce3ad23c.js} +1 -1
- package/assets/esri/core/workers/chunks/f65b720b750aebca1bcd.js +1 -0
- package/assets/esri/core/workers/chunks/fdcbd28f38bc485ac5e3.js +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/chunks/ComponentShader.glsl.js +14 -14
- package/chunks/DefaultMaterial.glsl.js +6 -6
- package/chunks/OITBlend.glsl.js +1 -0
- package/chunks/Path.glsl.js +3 -3
- package/chunks/RealisticTree.glsl.js +5 -5
- package/chunks/SSAO.glsl.js +5 -4
- package/chunks/Viewshed.glsl.js +1 -1
- package/core/promiseUtils.d.ts +1 -0
- package/core/urlUtils.d.ts +4 -0
- package/identity/IdentityModal.js +1 -1
- package/interfaces.d.ts +246 -42
- package/intl/date.js +1 -1
- package/intl/messages.js +1 -1
- package/intl/number.js +1 -1
- package/layers/FeatureLayer.js +1 -1
- package/layers/ParquetLayer.js +1 -1
- package/layers/ViewshedLayer.js +1 -1
- package/layers/graphics/sources/ParquetSource.js +1 -1
- package/layers/save/featureLayerUtils.js +1 -1
- package/layers/support/ParquetEncodingBase.js +5 -0
- package/layers/support/ParquetEncodingLocation.js +5 -0
- package/layers/support/ParquetEncodingWkb.js +5 -0
- package/layers/support/layerUtils.js +1 -1
- package/layers/support/parquetUtils.js +5 -0
- package/libs/parquet/parquet.js +1 -1
- package/package.json +2 -2
- package/portal/PortalItem.js +1 -1
- package/portal/PortalUser.js +1 -1
- package/portal/support/portalItemUtils.js +1 -1
- package/rest/networks/trace.js +1 -1
- package/rest/print.js +1 -1
- package/support/TablesMixin.js +1 -1
- package/support/modeUtils.js +5 -0
- package/support/revision.js +1 -1
- package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetLoadStrategy.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedComputedData.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedVisualization.js +1 -1
- package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
- package/views/3d/interactive/editingTools/transform/ExtentTransformTool.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/ExtentMove.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/ExtentRotate.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
- package/views/3d/interactive/visualElements/ViewshedShapeVisualElement.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
- package/views/ToolViewManager.js +1 -1
- package/views/analysis/analysisViewUtils.js +1 -1
- package/views/draw/support/HighlightHelper.js +1 -1
- package/views/interactive/InteractiveToolBase.js +1 -1
- package/views/interactive/Tooltip.js +1 -1
- package/views/interactive/interactiveToolUtils.js +1 -1
- package/views/interactive/keybindings.js +1 -1
- package/views/ui/UI.js +1 -1
- package/webdoc/support/saveUtils.js +1 -1
- package/webdoc/support/webdocSaveUtils.js +1 -1
- package/widgets/ElevationProfile/support/chartUtils.js +1 -1
- package/widgets/Feature/FeatureMedia.js +1 -1
- package/widgets/Feature/support/featureUtils.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Legend/support/sizeRampUtils.js +1 -1
- package/widgets/TimeSlider.js +1 -1
- package/widgets/support/AnalysisViewModel.js +1 -1
- package/widgets/support/InteractiveAnalysisViewModel.js +1 -1
- package/widgets/support/widget.js +1 -1
- package/assets/esri/core/workers/chunks/0297e55a49ca0d1231ef.js +0 -1
- package/assets/esri/core/workers/chunks/04008648c59031bca8ea.js +0 -1
- package/assets/esri/core/workers/chunks/067dda58592fbf4fb812.js +0 -1
- package/assets/esri/core/workers/chunks/0b4e63e705db09dbe171.js +0 -1
- package/assets/esri/core/workers/chunks/1072b4f37eacbbfda2c8.js +0 -1
- package/assets/esri/core/workers/chunks/1b87fa15470cce26feea.js +0 -1
- package/assets/esri/core/workers/chunks/239821543abbd63c5787.js +0 -2
- package/assets/esri/core/workers/chunks/272a309760dacb13dee3.js +0 -1
- package/assets/esri/core/workers/chunks/2791f1f2791087d0217f.js +0 -1
- package/assets/esri/core/workers/chunks/35dccd3883d2e466c42e.js +0 -1
- package/assets/esri/core/workers/chunks/364860a42edc0c3b8d5b.js +0 -1
- package/assets/esri/core/workers/chunks/373782e9f5d61616fde4.js +0 -2
- package/assets/esri/core/workers/chunks/37e49d1a1407c193dcd0.js +0 -1
- package/assets/esri/core/workers/chunks/37e4f588a6896f98bce3.js +0 -1
- package/assets/esri/core/workers/chunks/3845e1d47bb51c06682e.js +0 -2
- package/assets/esri/core/workers/chunks/3f6dc811b5d515c2725c.js +0 -1
- package/assets/esri/core/workers/chunks/42aab2a336ee22fd9055.js +0 -1
- package/assets/esri/core/workers/chunks/4ba34124054752b363c0.js +0 -1
- package/assets/esri/core/workers/chunks/4baef5262ce401bf81bb.js +0 -1
- package/assets/esri/core/workers/chunks/593396b4c210da77a131.js +0 -1
- package/assets/esri/core/workers/chunks/5b32c2a1b276352593dc.js +0 -1
- package/assets/esri/core/workers/chunks/5df4e73905c0ae75e37c.js +0 -1
- package/assets/esri/core/workers/chunks/5fb9bb3ac2f60dbd59c4.js +0 -1
- package/assets/esri/core/workers/chunks/66e90f7d473d1f688254.js +0 -1
- package/assets/esri/core/workers/chunks/68d7babbe7e0d934e056.js +0 -1
- package/assets/esri/core/workers/chunks/6e6b60779c11efc128af.js +0 -1
- package/assets/esri/core/workers/chunks/759c12b0715279e3c0f6.js +0 -1
- package/assets/esri/core/workers/chunks/75e01c6404cbd51daabc.js +0 -2
- package/assets/esri/core/workers/chunks/77660e18ea793ae85f83.js +0 -1
- package/assets/esri/core/workers/chunks/879d672d12f9ef2e1b50.js +0 -1
- package/assets/esri/core/workers/chunks/90442f47c9f31f26b453.js +0 -1
- package/assets/esri/core/workers/chunks/91439b59260b0fb04be9.js +0 -1
- package/assets/esri/core/workers/chunks/96978d039f183565bffa.js +0 -1
- package/assets/esri/core/workers/chunks/999a4f7ca581f28cc1c4.js +0 -1
- package/assets/esri/core/workers/chunks/af41dcc8006cd0f451c2.js +0 -1
- package/assets/esri/core/workers/chunks/af9fda47d02c51a2c7da.js +0 -1
- package/assets/esri/core/workers/chunks/baed733a29aa65efc2a0.js +0 -2
- package/assets/esri/core/workers/chunks/c03bffa13841e4f80379.js +0 -2
- package/assets/esri/core/workers/chunks/c7ab674764312d65348f.js +0 -1
- package/assets/esri/core/workers/chunks/ca0572fe5614005acceb.js +0 -1
- package/assets/esri/core/workers/chunks/d2c7067bb6654c0e2793.js +0 -1
- package/assets/esri/core/workers/chunks/d46c82a55219b27c301b.js +0 -1
- package/assets/esri/core/workers/chunks/d89f105b8a0b13dd8e5f.js +0 -1
- package/assets/esri/core/workers/chunks/e13caf9691f556071e31.js +0 -1
- package/assets/esri/core/workers/chunks/e14449f07ed3386f4f2b.js +0 -1
- package/assets/esri/core/workers/chunks/e31bb256921807464715.js +0 -1
- package/assets/esri/core/workers/chunks/e4d522ade82192f32d54.js +0 -2
- package/assets/esri/core/workers/chunks/e5713b757f770a138b8c.js +0 -1
- package/assets/esri/core/workers/chunks/e6544e966f14fb410157.js +0 -1
- package/assets/esri/core/workers/chunks/e792603b7cc3ddd133f3.js +0 -1
- package/assets/esri/core/workers/chunks/e7cb4003c45e42b48ea6.js +0 -1
- package/assets/esri/core/workers/chunks/eb011e8b14db37ddb110.js +0 -1
- package/assets/esri/core/workers/chunks/f0c864425f000ab87a7b.js +0 -1
- package/assets/esri/core/workers/chunks/f7d33d18bf1bd4db9df8.js +0 -1
- package/assets/esri/core/workers/chunks/f9396af9cbfd165e72e2.js +0 -1
- package/assets/esri/core/workers/chunks/fa2d836d4a844b26b84e.js +0 -1
- package/layers/support/parquetLayerUtils.js +0 -5
- package/support/themeUtils.js +0 -5
package/interfaces.d.ts
CHANGED
|
@@ -337,6 +337,12 @@ declare namespace __esri {
|
|
|
337
337
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html#unit Read more...}
|
|
338
338
|
*/
|
|
339
339
|
unit: SystemOrAreaUnit | nullish;
|
|
340
|
+
/**
|
|
341
|
+
* Indicates whether the anlysis can be computed and interacted with in the view.
|
|
342
|
+
*
|
|
343
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html#valid Read more...}
|
|
344
|
+
*/
|
|
345
|
+
readonly valid: boolean;
|
|
340
346
|
/**
|
|
341
347
|
* AreaMeasurementAnalysis computes the area of a polygonal region and displays the measurement
|
|
342
348
|
* in a 3D {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html SceneView}.
|
|
@@ -378,6 +384,12 @@ declare namespace __esri {
|
|
|
378
384
|
}
|
|
379
385
|
|
|
380
386
|
export class DimensionAnalysis {
|
|
387
|
+
/**
|
|
388
|
+
* Indicates whether the analysis can be computed and interacted with in the view.
|
|
389
|
+
*
|
|
390
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DimensionAnalysis.html#valid Read more...}
|
|
391
|
+
*/
|
|
392
|
+
readonly valid: boolean;
|
|
381
393
|
/**
|
|
382
394
|
* DimensionAnalysis enables the creation and display of measurement annotations for lengths and distances in a 3D
|
|
383
395
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html SceneView}.
|
|
@@ -529,6 +541,12 @@ declare namespace __esri {
|
|
|
529
541
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html#unit Read more...}
|
|
530
542
|
*/
|
|
531
543
|
unit: SystemOrLengthUnit | nullish;
|
|
544
|
+
/**
|
|
545
|
+
* Indicates whether the analysis can be computed and interacted with in the view.
|
|
546
|
+
*
|
|
547
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html#valid Read more...}
|
|
548
|
+
*/
|
|
549
|
+
readonly valid: boolean;
|
|
532
550
|
/**
|
|
533
551
|
* DirectLineMeasurementAnalysis computes the distance between two points and displays the measurement
|
|
534
552
|
* in a 3D {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html SceneView}.
|
|
@@ -607,6 +625,12 @@ declare namespace __esri {
|
|
|
607
625
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LengthDimension.html#orientation Read more...}
|
|
608
626
|
*/
|
|
609
627
|
orientation: number;
|
|
628
|
+
/**
|
|
629
|
+
* Indicates whether the dimension can be computed and interacted with in the view.
|
|
630
|
+
*
|
|
631
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LengthDimension.html#valid Read more...}
|
|
632
|
+
*/
|
|
633
|
+
readonly valid: boolean;
|
|
610
634
|
/**
|
|
611
635
|
* LengthDimension enables the measurement of linear distances between the specified {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LengthDimension.html#startPoint start} and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LengthDimension.html#endPoint end} points.
|
|
612
636
|
*
|
|
@@ -672,6 +696,12 @@ declare namespace __esri {
|
|
|
672
696
|
}
|
|
673
697
|
|
|
674
698
|
export class LineOfSightAnalysis {
|
|
699
|
+
/**
|
|
700
|
+
* Indicates whether the analysis can be computed and interacted with in the view.
|
|
701
|
+
*
|
|
702
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html#valid Read more...}
|
|
703
|
+
*/
|
|
704
|
+
readonly valid: boolean;
|
|
675
705
|
/**
|
|
676
706
|
* LineOfSightAnalysis computes the line of sight from a single observer position towards
|
|
677
707
|
* a set of targets.
|
|
@@ -885,6 +915,12 @@ declare namespace __esri {
|
|
|
885
915
|
*/
|
|
886
916
|
tiltEnabled: boolean;
|
|
887
917
|
readonly type: "slice";
|
|
918
|
+
/**
|
|
919
|
+
* Indicates whether the analysis can be computed and interacted with in the view.
|
|
920
|
+
*
|
|
921
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html#valid Read more...}
|
|
922
|
+
*/
|
|
923
|
+
readonly valid: boolean;
|
|
888
924
|
/**
|
|
889
925
|
* SliceAnalysis can be used to programmatically create a plane that slices through 3D features in a
|
|
890
926
|
* 3D {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html SceneView}.
|
|
@@ -1094,6 +1130,12 @@ declare namespace __esri {
|
|
|
1094
1130
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-Viewshed.html#tilt Read more...}
|
|
1095
1131
|
*/
|
|
1096
1132
|
tilt: number;
|
|
1133
|
+
/**
|
|
1134
|
+
* Indicates whether the viewshed can be computed and interacted with in the view.
|
|
1135
|
+
*
|
|
1136
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-Viewshed.html#valid Read more...}
|
|
1137
|
+
*/
|
|
1138
|
+
readonly valid: boolean;
|
|
1097
1139
|
/**
|
|
1098
1140
|
* The vertical field of view (FOV) angle defines the height of the scope being analyzed (in degrees).
|
|
1099
1141
|
*
|
|
@@ -1178,6 +1220,12 @@ declare namespace __esri {
|
|
|
1178
1220
|
|
|
1179
1221
|
export class ViewshedAnalysis {
|
|
1180
1222
|
readonly type: "viewshed";
|
|
1223
|
+
/**
|
|
1224
|
+
* Indicates whether the analysis can be computed and interacted with in the view.
|
|
1225
|
+
*
|
|
1226
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ViewshedAnalysis.html#valid Read more...}
|
|
1227
|
+
*/
|
|
1228
|
+
readonly valid: boolean;
|
|
1181
1229
|
/**
|
|
1182
1230
|
* ViewshedAnalysis enables the creation and display of viewshed and view dome type of visibility analysis in a 3D {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html SceneView}.
|
|
1183
1231
|
*
|
|
@@ -3566,6 +3614,14 @@ declare namespace __esri {
|
|
|
3566
3614
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-promiseUtils.html#filter Read more...}
|
|
3567
3615
|
*/
|
|
3568
3616
|
filter<T>(input: T[], predicate: FilterPredicateCallback): Promise<T[]>;
|
|
3617
|
+
/**
|
|
3618
|
+
* Catches and "drops" abort errors.
|
|
3619
|
+
*
|
|
3620
|
+
* @param promise The promise to catch abort errors on.
|
|
3621
|
+
*
|
|
3622
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-promiseUtils.html#ignoreAbortErrors Read more...}
|
|
3623
|
+
*/
|
|
3624
|
+
ignoreAbortErrors(promise: Promise<any>): void;
|
|
3569
3625
|
/**
|
|
3570
3626
|
* Check if the provided error object is the special kind of error with which promises are rejected when they are
|
|
3571
3627
|
* aborted.
|
|
@@ -3580,7 +3636,7 @@ declare namespace __esri {
|
|
|
3580
3636
|
export const promiseUtils: promiseUtils;
|
|
3581
3637
|
|
|
3582
3638
|
/**
|
|
3583
|
-
* The result object for a promise passed to
|
|
3639
|
+
* The result object for a promise passed to promiseUtils.eachAlways.
|
|
3584
3640
|
*
|
|
3585
3641
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-promiseUtils.html#EachAlwaysResult Read more...}
|
|
3586
3642
|
*/
|
|
@@ -4286,6 +4342,40 @@ declare namespace __esri {
|
|
|
4286
4342
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-urlUtils.html#addProxyRule Read more...}
|
|
4287
4343
|
*/
|
|
4288
4344
|
addProxyRule(rule: urlUtilsAddProxyRuleRule): number;
|
|
4345
|
+
/**
|
|
4346
|
+
* Converts a base64 encoded data url to an ArrayBuffer.
|
|
4347
|
+
*
|
|
4348
|
+
* @param dataUrl the data url
|
|
4349
|
+
*
|
|
4350
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-urlUtils.html#dataToArrayBuffer Read more...}
|
|
4351
|
+
*/
|
|
4352
|
+
dataToArrayBuffer(dataUrl: string): ArrayBuffer | nullish;
|
|
4353
|
+
/**
|
|
4354
|
+
* Converts a base64 encoded data url to a Blob.
|
|
4355
|
+
*
|
|
4356
|
+
* @param dataUrl the data url.
|
|
4357
|
+
*
|
|
4358
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-urlUtils.html#dataToBlob Read more...}
|
|
4359
|
+
*/
|
|
4360
|
+
dataToBlob(dataUrl: string): Blob | nullish;
|
|
4361
|
+
/**
|
|
4362
|
+
* Trigger a browser file download from a data url encoded as binary data.
|
|
4363
|
+
*
|
|
4364
|
+
* @param blob The data url to download (as binary data.
|
|
4365
|
+
* @param filename the filename.
|
|
4366
|
+
*
|
|
4367
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-urlUtils.html#downloadBlobAsFile Read more...}
|
|
4368
|
+
*/
|
|
4369
|
+
downloadBlobAsFile(blob: Blob, filename: string): void;
|
|
4370
|
+
/**
|
|
4371
|
+
* Trigger a browser file download from a base64 encoded data url.
|
|
4372
|
+
*
|
|
4373
|
+
* @param dataUrl the data url.
|
|
4374
|
+
* @param filename the filename.
|
|
4375
|
+
*
|
|
4376
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-urlUtils.html#downloadDataAsFile Read more...}
|
|
4377
|
+
*/
|
|
4378
|
+
downloadDataAsFile(dataUrl: string, filename: string): void;
|
|
4289
4379
|
/**
|
|
4290
4380
|
* Returns the proxy rule that matches the given URL.
|
|
4291
4381
|
*
|
|
@@ -6672,6 +6762,16 @@ declare namespace __esri {
|
|
|
6672
6762
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#clone Read more...}
|
|
6673
6763
|
*/
|
|
6674
6764
|
clone(): FormTemplate;
|
|
6765
|
+
/**
|
|
6766
|
+
* Returns the names of all fields represented or referenced in any way by the
|
|
6767
|
+
* FormTemplate.
|
|
6768
|
+
*
|
|
6769
|
+
* @param fieldsIndex The field index. It can be used to make case-insensitive lookup by name for fields used in the `FormTemplate`.
|
|
6770
|
+
* @param relationships An array of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Relationship.html Relationship} objects that define the relationships on the layer with which the `FormTemplate` is associated.
|
|
6771
|
+
*
|
|
6772
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html#getFieldsUsed Read more...}
|
|
6773
|
+
*/
|
|
6774
|
+
getFieldsUsed(fieldsIndex?: FieldsIndex, relationships?: Relationship[]): Promise<string[]>;
|
|
6675
6775
|
/**
|
|
6676
6776
|
* Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
|
|
6677
6777
|
*
|
|
@@ -28086,14 +28186,6 @@ declare namespace __esri {
|
|
|
28086
28186
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#labelsVisible Read more...}
|
|
28087
28187
|
*/
|
|
28088
28188
|
labelsVisible: boolean;
|
|
28089
|
-
/**
|
|
28090
|
-
* Indicates whether the layer will be included in the legend.
|
|
28091
|
-
*
|
|
28092
|
-
* @default true
|
|
28093
|
-
*
|
|
28094
|
-
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#legendEnabled Read more...}
|
|
28095
|
-
*/
|
|
28096
|
-
legendEnabled: boolean;
|
|
28097
28189
|
/**
|
|
28098
28190
|
* The maximum scale (most zoomed in) at which the layer is visible in the view.
|
|
28099
28191
|
*
|
|
@@ -28331,12 +28423,6 @@ declare namespace __esri {
|
|
|
28331
28423
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#labelsVisible Read more...}
|
|
28332
28424
|
*/
|
|
28333
28425
|
labelsVisible?: boolean;
|
|
28334
|
-
/**
|
|
28335
|
-
* Indicates whether the layer will be included in the legend.
|
|
28336
|
-
*
|
|
28337
|
-
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#legendEnabled Read more...}
|
|
28338
|
-
*/
|
|
28339
|
-
legendEnabled?: boolean;
|
|
28340
28426
|
/**
|
|
28341
28427
|
* The maximum scale (most zoomed in) at which the layer is visible in the view.
|
|
28342
28428
|
*
|
|
@@ -54792,6 +54878,12 @@ declare namespace __esri {
|
|
|
54792
54878
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalUser.html#fullName Read more...}
|
|
54793
54879
|
*/
|
|
54794
54880
|
fullName: string | nullish;
|
|
54881
|
+
/**
|
|
54882
|
+
* The unique id for the user.
|
|
54883
|
+
*
|
|
54884
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalUser.html#id Read more...}
|
|
54885
|
+
*/
|
|
54886
|
+
id: string;
|
|
54795
54887
|
/**
|
|
54796
54888
|
* The ID of the organization the user belongs to.
|
|
54797
54889
|
*
|
|
@@ -55012,6 +55104,12 @@ declare namespace __esri {
|
|
|
55012
55104
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalUser.html#fullName Read more...}
|
|
55013
55105
|
*/
|
|
55014
55106
|
fullName?: string | nullish;
|
|
55107
|
+
/**
|
|
55108
|
+
* The unique id for the user.
|
|
55109
|
+
*
|
|
55110
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalUser.html#id Read more...}
|
|
55111
|
+
*/
|
|
55112
|
+
id?: string;
|
|
55015
55113
|
/**
|
|
55016
55114
|
* The date the user was last modified.
|
|
55017
55115
|
*
|
|
@@ -91555,12 +91653,29 @@ declare namespace __esri {
|
|
|
91555
91653
|
| "years"
|
|
91556
91654
|
| "decades"
|
|
91557
91655
|
| "centuries", timeZone: "system" | "unknown" | string): TimeExtent;
|
|
91656
|
+
/**
|
|
91657
|
+
* Returns the time extent resulting from the intersection of a given time extent and
|
|
91658
|
+
* parsed time extent.
|
|
91659
|
+
*
|
|
91660
|
+
* @param timeExtent The time extent to be intersected with the time extent on which `intersection()` is being called on.
|
|
91661
|
+
*
|
|
91662
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeExtent.html#intersection Read more...}
|
|
91663
|
+
*/
|
|
91664
|
+
intersection(timeExtent: TimeExtent | nullish): TimeExtent;
|
|
91558
91665
|
/**
|
|
91559
91666
|
* Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
|
|
91560
91667
|
*
|
|
91561
91668
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeExtent.html#toJSON Read more...}
|
|
91562
91669
|
*/
|
|
91563
91670
|
toJSON(): any;
|
|
91671
|
+
/**
|
|
91672
|
+
* Returns the time extent resulting from the union of the current time extent and a given time extent.
|
|
91673
|
+
*
|
|
91674
|
+
* @param timeExtent The time extent to be unioned with.
|
|
91675
|
+
*
|
|
91676
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeExtent.html#union Read more...}
|
|
91677
|
+
*/
|
|
91678
|
+
union(timeExtent: TimeExtent | nullish): TimeExtent;
|
|
91564
91679
|
/**
|
|
91565
91680
|
* Creates a new instance of this class and initializes it with values from a JSON object
|
|
91566
91681
|
* generated from an ArcGIS product.
|
|
@@ -91719,21 +91834,6 @@ declare namespace __esri {
|
|
|
91719
91834
|
| "years"
|
|
91720
91835
|
| "decades"
|
|
91721
91836
|
| "centuries", timeZone: "system" | "unknown" | string): TimeExtent;
|
|
91722
|
-
/**
|
|
91723
|
-
* Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
|
|
91724
|
-
*
|
|
91725
|
-
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-TimeExtent.html#toJSON Read more...}
|
|
91726
|
-
*/
|
|
91727
|
-
toJSON(): any;
|
|
91728
|
-
/**
|
|
91729
|
-
* Creates a new instance of this class and initializes it with values from a JSON object
|
|
91730
|
-
* generated from an ArcGIS product.
|
|
91731
|
-
*
|
|
91732
|
-
* @param json A JSON representation of the instance in the ArcGIS format. See the [ArcGIS REST API documentation](https://developers.arcgis.com/documentation/common-data-types/overview-of-common-data-types.htm) for examples of the structure of various input JSON objects.
|
|
91733
|
-
*
|
|
91734
|
-
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-TimeExtent.html#fromJSON Read more...}
|
|
91735
|
-
*/
|
|
91736
|
-
static fromJSON(json: any): any | nullish;
|
|
91737
91837
|
/**
|
|
91738
91838
|
* Returns the time extent resulting from the intersection of a given time extent and
|
|
91739
91839
|
* parsed time extent.
|
|
@@ -91742,7 +91842,13 @@ declare namespace __esri {
|
|
|
91742
91842
|
*
|
|
91743
91843
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-TimeExtent.html#intersection Read more...}
|
|
91744
91844
|
*/
|
|
91745
|
-
|
|
91845
|
+
intersection(timeExtent: TimeExtent): TimeExtent;
|
|
91846
|
+
/**
|
|
91847
|
+
* Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
|
|
91848
|
+
*
|
|
91849
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-TimeExtent.html#toJSON Read more...}
|
|
91850
|
+
*/
|
|
91851
|
+
toJSON(): any;
|
|
91746
91852
|
/**
|
|
91747
91853
|
* Returns the time extent resulting from the union of the current time extent and a given time extent.
|
|
91748
91854
|
*
|
|
@@ -91750,7 +91856,16 @@ declare namespace __esri {
|
|
|
91750
91856
|
*
|
|
91751
91857
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-TimeExtent.html#union Read more...}
|
|
91752
91858
|
*/
|
|
91753
|
-
|
|
91859
|
+
union(timeExtent: TimeExtent): TimeExtent;
|
|
91860
|
+
/**
|
|
91861
|
+
* Creates a new instance of this class and initializes it with values from a JSON object
|
|
91862
|
+
* generated from an ArcGIS product.
|
|
91863
|
+
*
|
|
91864
|
+
* @param json A JSON representation of the instance in the ArcGIS format. See the [ArcGIS REST API documentation](https://developers.arcgis.com/documentation/common-data-types/overview-of-common-data-types.htm) for examples of the structure of various input JSON objects.
|
|
91865
|
+
*
|
|
91866
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-TimeExtent.html#fromJSON Read more...}
|
|
91867
|
+
*/
|
|
91868
|
+
static fromJSON(json: any): any | nullish;
|
|
91754
91869
|
static fromJSON(json: any): esriTimeExtent;
|
|
91755
91870
|
}
|
|
91756
91871
|
|
|
@@ -93473,6 +93588,19 @@ declare namespace __esri {
|
|
|
93473
93588
|
*/
|
|
93474
93589
|
visible: boolean;
|
|
93475
93590
|
constructor(properties?: any);
|
|
93591
|
+
/**
|
|
93592
|
+
* Starts the interactive placement of an observer and/or targets on the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-LineOfSightAnalysisView3D.html#analysis analysis}.
|
|
93593
|
+
*
|
|
93594
|
+
* @param options An object specifying additional options.
|
|
93595
|
+
* @param options.signal Abort signal which can be used to cancel creation.
|
|
93596
|
+
*
|
|
93597
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-LineOfSightAnalysisView3D.html#place Read more...}
|
|
93598
|
+
*/
|
|
93599
|
+
place(options?: LineOfSightAnalysisView3DPlaceOptions | nullish): Promise<void>;
|
|
93600
|
+
}
|
|
93601
|
+
|
|
93602
|
+
export interface LineOfSightAnalysisView3DPlaceOptions {
|
|
93603
|
+
signal?: AbortSignal | nullish;
|
|
93476
93604
|
}
|
|
93477
93605
|
|
|
93478
93606
|
export class SliceAnalysisView3D {
|
|
@@ -115486,6 +115614,14 @@ declare namespace __esri {
|
|
|
115486
115614
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#multipleSelectionEnabled Read more...}
|
|
115487
115615
|
*/
|
|
115488
115616
|
multipleSelectionEnabled: boolean;
|
|
115617
|
+
/**
|
|
115618
|
+
* This property can be used to determine how newly sorted columns are prioritized.
|
|
115619
|
+
*
|
|
115620
|
+
* @default "prepend"
|
|
115621
|
+
*
|
|
115622
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#multipleSortPriority Read more...}
|
|
115623
|
+
*/
|
|
115624
|
+
multipleSortPriority: "append" | "prepend";
|
|
115489
115625
|
/**
|
|
115490
115626
|
* Indicates whether sorting multiple columns is supported within the table.
|
|
115491
115627
|
*
|
|
@@ -116056,6 +116192,12 @@ declare namespace __esri {
|
|
|
116056
116192
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#multipleSelectionEnabled Read more...}
|
|
116057
116193
|
*/
|
|
116058
116194
|
multipleSelectionEnabled?: boolean;
|
|
116195
|
+
/**
|
|
116196
|
+
* This property can be used to determine how newly sorted columns are prioritized.
|
|
116197
|
+
*
|
|
116198
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#multipleSortPriority Read more...}
|
|
116199
|
+
*/
|
|
116200
|
+
multipleSortPriority?: "append" | "prepend";
|
|
116059
116201
|
/**
|
|
116060
116202
|
* Indicates whether sorting multiple columns is supported within the table.
|
|
116061
116203
|
*
|
|
@@ -116526,6 +116668,14 @@ declare namespace __esri {
|
|
|
116526
116668
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#multipleSelectionEnabled Read more...}
|
|
116527
116669
|
*/
|
|
116528
116670
|
multipleSelectionEnabled: boolean;
|
|
116671
|
+
/**
|
|
116672
|
+
* This property can be used to determine how newly sorted columns are prioritized.
|
|
116673
|
+
*
|
|
116674
|
+
* @default "prepend"
|
|
116675
|
+
*
|
|
116676
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#multipleSortPriority Read more...}
|
|
116677
|
+
*/
|
|
116678
|
+
multipleSortPriority: "append" | "prepend";
|
|
116529
116679
|
/**
|
|
116530
116680
|
* Indicates whether sorting multiple columns is supported within the table.
|
|
116531
116681
|
*
|
|
@@ -117016,6 +117166,12 @@ declare namespace __esri {
|
|
|
117016
117166
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#multipleSelectionEnabled Read more...}
|
|
117017
117167
|
*/
|
|
117018
117168
|
multipleSelectionEnabled?: boolean;
|
|
117169
|
+
/**
|
|
117170
|
+
* This property can be used to determine how newly sorted columns are prioritized.
|
|
117171
|
+
*
|
|
117172
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-FeatureTableViewModel.html#multipleSortPriority Read more...}
|
|
117173
|
+
*/
|
|
117174
|
+
multipleSortPriority?: "append" | "prepend";
|
|
117019
117175
|
/**
|
|
117020
117176
|
* Indicates whether sorting multiple columns is supported within the table.
|
|
117021
117177
|
*
|
|
@@ -125706,8 +125862,8 @@ declare namespace __esri {
|
|
|
125706
125862
|
*/
|
|
125707
125863
|
allPlaceholder: string | nullish;
|
|
125708
125864
|
/**
|
|
125709
|
-
* The combined collection of defaultSources
|
|
125710
|
-
* and sources.
|
|
125865
|
+
* The combined collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources defaultSources}
|
|
125866
|
+
* and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#sources sources}.
|
|
125711
125867
|
*
|
|
125712
125868
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#allSources Read more...}
|
|
125713
125869
|
*/
|
|
@@ -125753,7 +125909,7 @@ declare namespace __esri {
|
|
|
125753
125909
|
*/
|
|
125754
125910
|
icon: string;
|
|
125755
125911
|
/**
|
|
125756
|
-
* Indicates whether or not to include defaultSources in the Search UI.
|
|
125912
|
+
* Indicates whether or not to include {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources defaultSources} in the Search UI.
|
|
125757
125913
|
*
|
|
125758
125914
|
* @default true
|
|
125759
125915
|
*
|
|
@@ -126005,7 +126161,7 @@ declare namespace __esri {
|
|
|
126005
126161
|
*/
|
|
126006
126162
|
icon?: string;
|
|
126007
126163
|
/**
|
|
126008
|
-
* Indicates whether or not to include defaultSources in the Search UI.
|
|
126164
|
+
* Indicates whether or not to include {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources defaultSources} in the Search UI.
|
|
126009
126165
|
*
|
|
126010
126166
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#includeDefaultSources Read more...}
|
|
126011
126167
|
*/
|
|
@@ -126788,8 +126944,8 @@ declare namespace __esri {
|
|
|
126788
126944
|
*/
|
|
126789
126945
|
allPlaceholder: string | nullish;
|
|
126790
126946
|
/**
|
|
126791
|
-
* The combined collection of defaultSources
|
|
126792
|
-
* and sources.
|
|
126947
|
+
* The combined collection of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources defaultSources}
|
|
126948
|
+
* and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#sources sources}.
|
|
126793
126949
|
*
|
|
126794
126950
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#allSources Read more...}
|
|
126795
126951
|
*/
|
|
@@ -126833,7 +126989,7 @@ declare namespace __esri {
|
|
|
126833
126989
|
*/
|
|
126834
126990
|
declare goToOverride: GoTo["goToOverride"];
|
|
126835
126991
|
/**
|
|
126836
|
-
* Indicates whether or not to include defaultSources in the Search UI.
|
|
126992
|
+
* Indicates whether or not to include {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources defaultSources} in the Search UI.
|
|
126837
126993
|
*
|
|
126838
126994
|
* @default true
|
|
126839
126995
|
*
|
|
@@ -127073,6 +127229,52 @@ declare namespace __esri {
|
|
|
127073
127229
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#hasEventListener Read more...}
|
|
127074
127230
|
*/
|
|
127075
127231
|
hasEventListener(type: string): boolean;
|
|
127232
|
+
/**
|
|
127233
|
+
* Depending on the sources specified, `search()` queries the feature layer(s) and/or performs
|
|
127234
|
+
* address matching using any specified {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html Locator(s)} and
|
|
127235
|
+
* returns the applicable results.
|
|
127236
|
+
*
|
|
127237
|
+
* @param searchItem This searchItem can be a string, point geometry, suggest candidate object, or an array containing [latitude,longitude]. If a geometry is supplied, then it will reverse geocode (locator) or findAddressCandidates with geometry instead of text (featurelayer).
|
|
127238
|
+
* @param options An object containing an optional `signal` property that can be used to cancel the request.
|
|
127239
|
+
*
|
|
127240
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#search Read more...}
|
|
127241
|
+
*/
|
|
127242
|
+
search(searchItem?: string | Graphic | Point | SuggestResult | number[] | nullish, options?: any): Promise<SearchResponse | nullish>;
|
|
127243
|
+
/**
|
|
127244
|
+
* Returns search results near your current location.
|
|
127245
|
+
*
|
|
127246
|
+
* @param options An object containing an optional `signal` property that can be used to cancel the request.
|
|
127247
|
+
*
|
|
127248
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#searchNearby Read more...}
|
|
127249
|
+
*/
|
|
127250
|
+
searchNearby(options?: any): Promise<SearchResponse | nullish>;
|
|
127251
|
+
/**
|
|
127252
|
+
* Selects a result.
|
|
127253
|
+
*
|
|
127254
|
+
* @param value The result object to select.
|
|
127255
|
+
*
|
|
127256
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#select Read more...}
|
|
127257
|
+
*/
|
|
127258
|
+
select(value: any): Promise<SearchResult>;
|
|
127259
|
+
/**
|
|
127260
|
+
* Performs a suggest() request on the active Locator.
|
|
127261
|
+
*
|
|
127262
|
+
* @param value The string value used to suggest() on an active Locator or feature layer. If nothing is passed in, takes the current value of the widget.
|
|
127263
|
+
* @param suggestionDelay The millisecond delay after keyup and before making a `suggest()` network request.
|
|
127264
|
+
* @param options An object containing an optional `signal` property that can be used to cancel the request.
|
|
127265
|
+
*
|
|
127266
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#suggest Read more...}
|
|
127267
|
+
*/
|
|
127268
|
+
suggest(value?: string, suggestionDelay?: number | nullish, options?: any): Promise<SuggestResponse | nullish>;
|
|
127269
|
+
/**
|
|
127270
|
+
* `when()` may be leveraged once the `SearchViewModel` has been updated.
|
|
127271
|
+
*
|
|
127272
|
+
* @param callback The function to call when the promise resolves.
|
|
127273
|
+
* @param errback The function to execute when the promise fails.
|
|
127274
|
+
*
|
|
127275
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#when Read more...}
|
|
127276
|
+
*/
|
|
127277
|
+
when(callback?: Function, errback?: Function): Promise<any>;
|
|
127076
127278
|
on(name: "search-clear", eventHandler: SearchViewModelSearchClearEventHandler): IHandle;
|
|
127077
127279
|
on(name: "search-start", eventHandler: SearchViewModelSearchStartEventHandler): IHandle;
|
|
127078
127280
|
on(name: "suggest-start", eventHandler: SearchViewModelSuggestStartEventHandler): IHandle;
|
|
@@ -127127,7 +127329,7 @@ declare namespace __esri {
|
|
|
127127
127329
|
*/
|
|
127128
127330
|
goToOverride?: GoToProperties["goToOverride"];
|
|
127129
127331
|
/**
|
|
127130
|
-
* Indicates whether or not to include defaultSources in the Search UI.
|
|
127332
|
+
* Indicates whether or not to include {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources defaultSources} in the Search UI.
|
|
127131
127333
|
*
|
|
127132
127334
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#includeDefaultSources Read more...}
|
|
127133
127335
|
*/
|
|
@@ -127365,7 +127567,6 @@ declare namespace __esri {
|
|
|
127365
127567
|
activeSourceIndex: number;
|
|
127366
127568
|
searchTerm: string;
|
|
127367
127569
|
numResults: number;
|
|
127368
|
-
errors: Error[];
|
|
127369
127570
|
}
|
|
127370
127571
|
|
|
127371
127572
|
/**
|
|
@@ -127375,6 +127576,7 @@ declare namespace __esri {
|
|
|
127375
127576
|
*/
|
|
127376
127577
|
export interface SuggestResponse extends BaseSearchResponse {
|
|
127377
127578
|
results: SuggestResults[];
|
|
127579
|
+
errors: SuggestResults[];
|
|
127378
127580
|
}
|
|
127379
127581
|
|
|
127380
127582
|
/**
|
|
@@ -127384,6 +127586,7 @@ declare namespace __esri {
|
|
|
127384
127586
|
*/
|
|
127385
127587
|
export interface SearchResponse extends BaseSearchResponse {
|
|
127386
127588
|
results: SearchResults[];
|
|
127589
|
+
errors: SearchResults[];
|
|
127387
127590
|
}
|
|
127388
127591
|
}
|
|
127389
127592
|
|
|
@@ -127396,7 +127599,6 @@ declare namespace __esri {
|
|
|
127396
127599
|
activeSourceIndex: number;
|
|
127397
127600
|
searchTerm: string;
|
|
127398
127601
|
numResults: number;
|
|
127399
|
-
errors: Error[];
|
|
127400
127602
|
}
|
|
127401
127603
|
|
|
127402
127604
|
/**
|
|
@@ -127417,6 +127619,7 @@ declare namespace __esri {
|
|
|
127417
127619
|
*/
|
|
127418
127620
|
export interface SearchResponse extends BaseSearchResponse {
|
|
127419
127621
|
results: SearchResults[];
|
|
127622
|
+
errors: SearchResults[];
|
|
127420
127623
|
}
|
|
127421
127624
|
|
|
127422
127625
|
/**
|
|
@@ -127449,6 +127652,7 @@ declare namespace __esri {
|
|
|
127449
127652
|
*/
|
|
127450
127653
|
export interface SuggestResponse extends BaseSearchResponse {
|
|
127451
127654
|
results: SuggestResults[];
|
|
127655
|
+
errors: SuggestResults[];
|
|
127452
127656
|
}
|
|
127453
127657
|
|
|
127454
127658
|
/**
|
package/intl/date.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{strict as t}from"../core/jsonMap.js";import{beforeLocaleChange as e,getLocale as o}from"./locale.js";import{system as r,utc as
|
|
5
|
+
import{strict as t}from"../core/jsonMap.js";import{beforeLocaleChange as e,getLocale as o,getLocaleParts as n}from"./locale.js";import{system as r,utc as a,unknown as m,systemTimeZone as h}from"../time/constants.js";import{shortTimeZoneName as i}from"../time/timeZoneUtils.js";import{DateTime as s}from"luxon";const l={year:void 0,month:void 0,day:void 0,weekday:void 0},y={hour:void 0,minute:void 0,second:void 0},d={timeZone:a},g={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},c={year:"numeric",month:"short",day:"numeric"},D={year:"numeric",month:"long",weekday:"long",day:"numeric"},f={hour:"numeric",minute:"numeric"},T={...f,second:"numeric"},S={hourCycle:"h23"},L={...f,...S},M={...T,...S},Y={"short-date":g,"short-date-short-time":{...g,...f},"short-date-short-time-24":{...g,...L},"short-date-long-time":{...g,...T},"short-date-long-time-24":{...g,...M},"short-date-le":g,"short-date-le-short-time":{...g,...f},"short-date-le-short-time-24":{...g,...L},"short-date-le-long-time":{...g,...T},"short-date-le-long-time-24":{...g,...M},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...f},"long-month-day-year-short-time-24":{...u,...L},"long-month-day-year-long-time":{...u,...T},"long-month-day-year-long-time-24":{...u,...M},"day-short-month-year":c,"day-short-month-year-short-time":{...c,...f},"day-short-month-year-short-time-24":{...c,...L},"day-short-month-year-long-time":{...c,...T},"day-short-month-year-long-time-24":{...c,...M},"long-date":D,"long-date-short-time":{...D,...f},"long-date-short-time-24":{...D,...L},"long-date-long-time":{...D,...T},"long-date-long-time-24":{...D,...M},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":f,"long-time":T},Z=t()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),w={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function p(){const t=o(),e=n(t)?.language;return(e&&w[e])??t}let v=new WeakMap;const j=Y["short-date-short-time"];function E(t){let e=v.get(t);if(!e){const o=p(),n=W(t.timeZone??r),a={...t,timeZone:n};e=new Intl.DateTimeFormat(o,a),v.set(t,e)}return e}function k(t){return Y[t]}function N(t,e=j){return E(e).format(t)}function I(t,e=j){return N(new Date(t),{...e,...d,...y})}function x(t,e=j){return N(new Date(`1970-01-01T${t}Z`),{...e,...d,...l})}function F(t,e=j){if(e.timeZone)return N(new Date(t),e);const o=s.fromISO(t,{setZone:!0}),n=0===o.offset?a:e.timeZone,r={...e,timeZone:n};return o.toLocaleString(r,{locale:p()})}function W(t){switch(t){case r:return h;case m:return a;default:return t}}function C(t,e){return new Intl.DateTimeFormat(p(),e).formatToParts(t)}function O(t,e=new Date){return C(e,{timeZone:t,timeZoneName:i}).find((({type:t})=>"timeZoneName"===t))?.value}e((()=>{v=new WeakMap}));export{k as convertDateFormatToIntlOptions,Z as dateFormatJSONMap,N as formatDate,I as formatDateOnly,x as formatTimeOnly,F as formatTimestamp,E as getDateTimeFormatter,O as getShortOffsetTimeZoneSuffix,W as resolveTimeZone};
|
package/intl/messages.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import t from"../core/Error.js";import{makeHandle as n}from"../core/handleUtils.js";import{createResolver as e}from"../core/promiseUtils.js";import{beforeLocaleChange as r,getLocale as s,getLocaleParts as o}from"./locale.js";const i={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function a(t){return t in i}function c(t){if(a(t)){const n=i[t];return!0===n?t:n}return null}const d=[],l=new Map;function h(t){for(const n of l.keys())_(t.pattern,n)&&l.delete(n)}function u(t){return d.includes(t)||(h(t),d.unshift(t)),n((()=>{const n=d.indexOf(t);n>-1&&(d.splice(n,1),h(t))}))}async function f(t){const n=s();l.has(t)||l.set(t,p(t,n));const e=l.get(t);return e&&await g.add(e),e}function m(t){const n=o(t);return n?c(t)??c(n.language):null}async function p(n,e){const r=[];for(const t of d)if(_(t.pattern,n))try{return await t.fetchMessageBundle(n,e)}catch(s){r.push(s)}if(r.length)throw new t("intl:message-bundle-error",`Errors occurred while loading "${n}"`,{errors:r});throw new t("intl:no-message-bundle-loader",`No loader found for message bundle "${n}"`)}function _(t,n){return"string"==typeof t?n.startsWith(t):t.test(n)}r((()=>{l.clear()}));const g=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(t){return this._increase(),t.then((()=>this._decrease()),(()=>this._decrease())),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=e())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}},w={cache:l,loaders:d};export{f as fetchMessageBundle,i as messageBundlesLocaleMap,m as normalizeMessageBundleLocale,u as registerMessageBundleLoader,w as test};
|
|
5
|
+
import t from"../core/Error.js";import{makeHandle as n}from"../core/handleUtils.js";import{createResolver as e}from"../core/promiseUtils.js";import{beforeLocaleChange as r,getLocale as s,getLocaleParts as o}from"./locale.js";const i={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,nn:"no",pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function a(t){return t in i}function c(t){if(a(t)){const n=i[t];return!0===n?t:n}return null}const d=[],l=new Map;function h(t){for(const n of l.keys())_(t.pattern,n)&&l.delete(n)}function u(t){return d.includes(t)||(h(t),d.unshift(t)),n((()=>{const n=d.indexOf(t);n>-1&&(d.splice(n,1),h(t))}))}async function f(t){const n=s();l.has(t)||l.set(t,p(t,n));const e=l.get(t);return e&&await g.add(e),e}function m(t){const n=o(t);return n?c(t)??c(n.language):null}async function p(n,e){const r=[];for(const t of d)if(_(t.pattern,n))try{return await t.fetchMessageBundle(n,e)}catch(s){r.push(s)}if(r.length)throw new t("intl:message-bundle-error",`Errors occurred while loading "${n}"`,{errors:r});throw new t("intl:no-message-bundle-loader",`No loader found for message bundle "${n}"`)}function _(t,n){return"string"==typeof t?n.startsWith(t):t.test(n)}r((()=>{l.clear()}));const g=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(t){return this._increase(),t.then((()=>this._decrease()),(()=>this._decrease())),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=e())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}},w={cache:l,loaders:d};export{f as fetchMessageBundle,i as messageBundlesLocaleMap,m as normalizeMessageBundleLocale,u as registerMessageBundleLoader,w as test};
|
package/intl/number.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{beforeLocaleChange as e,getLocale as n}from"./locale.js";const
|
|
5
|
+
import{beforeLocaleChange as e,getLocale as n,getLocaleParts as t}from"./locale.js";const u={ar:"ar-u-nu-latn",nn:"no-NN"};let r=new WeakMap,a={};function l(e){const l=e||a;if(!r.has(l)){const a=n(),i=t(a)?.language,o=i&&u[i]||a;r.set(l,new Intl.NumberFormat(o,e))}return r.get(l)}function i(e={}){const n={};return null!=e.digitSeparator&&(n.useGrouping=e.digitSeparator),null!=e.places&&(n.minimumFractionDigits=n.maximumFractionDigits=e.places),n}function o(e,n){return Object.is(e,-0)&&(e=0),l(n).format(e)}function p(e,t=n()){if(!e)return null;let u=c.get(t);if(!u){const e=l().formatToParts(12345.6),n=[...l({useGrouping:!1}).format(9876543210)].reverse(),r=new Map(n.map(((e,n)=>[e,n]))),a=new RegExp(`[${e.find((e=>"group"===e.type))?.value}]`,"g"),i=new RegExp(`[${e.find((e=>"decimal"===e.type))?.value}]`),o=new RegExp(`[${n.join("")}]`,"g"),p=/[\u200E\u200F\u202A\u202B\u202C\u202D\u202E\u2066\u2067\u2068\u2069\u061C]/g,s=/[-\u2212\u2013\u2014\u2015]/g;u=e=>{if(""===(e=e.trim().replaceAll(a,"").replace(i,".").replace(o,(e=>String(r.get(e)))).replaceAll(p,"").replaceAll(s,"-")))return null;const n=Number(e);return isNaN(n)?null:n},c.set(t,u)}return u(e)}e((()=>{r=new WeakMap,a={}}));const c=new Map;export{i as convertNumberFormatToIntlOptions,o as formatNumber,l as getFormatter,p as parseNumber};
|