@arcgis/core 4.34.0-next.93 → 4.34.0-next.94

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.
Files changed (165) hide show
  1. package/analysis/ElevationProfile/ElevationProfileDisplayUnits.d.ts +4 -0
  2. package/analysis/ElevationProfile/{ElevationProfileUnits.js → ElevationProfileDisplayUnits.js} +1 -1
  3. package/analysis/ElevationProfile/ElevationProfileUnits.d.ts +1 -1
  4. package/analysis/ElevationProfile/ElevationProfileViewOptions.js +1 -1
  5. package/analysis/ElevationProfileAnalysis.js +1 -1
  6. package/assets/esri/core/workers/RemoteClient.js +1 -1
  7. package/assets/esri/core/workers/chunks/{db5a985ccc6b7d0ad855.js → 176f56de787bf486be9f.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{ad67e5eb4b8c0c14cea6.js → 1fc7df018c8f802565a6.js} +1 -1
  9. package/assets/esri/core/workers/chunks/20f4c6d8b310ecab97be.js +1 -0
  10. package/assets/esri/core/workers/chunks/25639559336109ff3df1.js +1 -0
  11. package/assets/esri/core/workers/chunks/26081b6486c623735657.js +1 -0
  12. package/assets/esri/core/workers/chunks/2698f656405876f4bd20.js +1 -0
  13. package/assets/esri/core/workers/chunks/{4660798b3b45dcb5cecb.js → 2b9c9a35a6e1f56920b5.js} +2 -2
  14. package/assets/esri/core/workers/chunks/98381404f2d99a1f9341.js +1 -0
  15. package/assets/esri/core/workers/chunks/{992b1389710d716d3450.js → a410dcf80d17a2383337.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{d9d86cf0500fa29d1d43.js → a98b284b147258629947.js} +1 -1
  17. package/assets/esri/core/workers/chunks/b1ccbc2fef7f7e5e04f7.js +1 -0
  18. package/assets/esri/core/workers/chunks/c4641c2c130c7b8bcdee.js +1 -0
  19. package/assets/esri/core/workers/chunks/c9159ebf930af3f336f3.js +1 -0
  20. package/assets/esri/core/workers/chunks/{8de9e50de0ac66ae1573.js → ce2fcaa21d6efcdf4da5.js} +1 -1
  21. package/assets/esri/core/workers/chunks/d2df6e685d6cffc5f486.js +1 -0
  22. package/assets/esri/core/workers/chunks/{c27783ce7ea51a5e49c5.js → e153b61560a7a869db63.js} +1 -1
  23. package/assets/esri/core/workers/chunks/e2c293331515f3bd0355.js +1 -0
  24. package/assets/esri/core/workers/chunks/ec7b156425f25d231078.js +1 -0
  25. package/assets/esri/core/workers/chunks/fb456e7425e09df17d8c.js +1 -0
  26. package/assets/esri/core/workers/chunks/{f6806780ca2aa591475a.js → fe1dcf9f81da4adbb1fe.js} +1 -1
  27. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  28. package/chunks/WaterSurface.glsl.js +0 -1
  29. package/chunks/bundle.js +1 -1
  30. package/colorUtils.js +1 -1
  31. package/config.js +1 -1
  32. package/interfaces.d.ts +229 -97
  33. package/kernel.js +1 -1
  34. package/layers/GaussianSplatLayer.js +1 -1
  35. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  36. package/layers/graphics/dehydratedFeatureComparison.js +1 -1
  37. package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
  38. package/layers/support/rasterDatasets/InMemoryRaster.js +1 -1
  39. package/networks/UtilityNetwork.js +1 -1
  40. package/networks/support/NetworkSystemLayers.js +1 -1
  41. package/package.json +2 -1
  42. package/popup/content/AttachmentsContent.js +1 -1
  43. package/portal/schemas/definitions.js +1 -1
  44. package/rest/knowledgeGraphService.js +1 -1
  45. package/support/revision.js +1 -1
  46. package/views/2d/analysis/ElevationProfile/ElevationProfileInputVisualization2D.js +1 -1
  47. package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
  48. package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
  49. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  50. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  51. package/views/3d/analysis/ElevationProfile/ElevationProfileInputVisualization3D.js +1 -1
  52. package/views/3d/analysis/ElevationProfile/ElevationProfileLineSceneComputation.js +1 -1
  53. package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
  54. package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
  55. package/views/3d/layers/FlowSubView3D.js +1 -1
  56. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  57. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  58. package/views/3d/support/GaussianSplatSortWorker.js +1 -1
  59. package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
  60. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  61. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  62. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  63. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  64. package/views/3d/webgl-engine/lib/CompositingHelper.js +1 -1
  65. package/views/3d/webgl-engine/shaders/GaussianSplatDepthCompositionTechnique.js +1 -1
  66. package/views/PopupView.js +1 -1
  67. package/views/View.js +1 -1
  68. package/views/View2D.js +1 -1
  69. package/views/analysis/ElevationProfile/ElevationProfileChart.js +1 -1
  70. package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
  71. package/views/analysis/ElevationProfile/ElevationProfileHoveredPointsVisualization.js +1 -1
  72. package/views/analysis/ElevationProfile/ElevationProfileLineComputation.js +1 -1
  73. package/views/analysis/ElevationProfile/ElevationProfileLineInputComputation.js +1 -1
  74. package/views/analysis/ElevationProfile/ElevationProfileResult.js +1 -1
  75. package/views/analysis/ElevationProfile/ElevationProfileTool.js +1 -1
  76. package/views/analysis/ElevationProfile/elevationProfileGeometryUtils.js +1 -1
  77. package/views/analysis/ElevationProfile/elevationProfileInputVisualizationUtils.js +1 -1
  78. package/views/interactive/snapping/LineSnapper.js +1 -1
  79. package/views/interactive/snapping/ParallelLineSnapper.js +1 -1
  80. package/views/interactive/snapping/RightAngleSnapper.js +1 -1
  81. package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
  82. package/views/interactive/snapping/snappingUtils.js +1 -1
  83. package/views/popupAdapter.js +5 -0
  84. package/views/webgl/ContextState.js +1 -1
  85. package/views/webgl/RenderingContext.js +1 -1
  86. package/views/webgl/enums.js +1 -1
  87. package/widgets/Attachments/AttachmentsViewModel.js +1 -1
  88. package/widgets/Attachments.js +1 -1
  89. package/widgets/ElevationProfile/support/chartUtils.js +1 -1
  90. package/widgets/Feature/FeatureMedia/chartCommon.js +1 -1
  91. package/widgets/Feature/FeatureMedia/pieChart.js +1 -1
  92. package/widgets/Feature/FeatureMedia/xyChart.js +1 -1
  93. package/widgets/Feature/FeatureViewModel.js +1 -1
  94. package/widgets/FeatureTable/support/ColumnTemplateBase.js +1 -1
  95. package/widgets/FeatureTable/support/TableTemplate.js +1 -1
  96. package/widgets/Features/FeaturesViewModel.js +1 -1
  97. package/widgets/Legend/LegendViewModel.js +1 -1
  98. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  99. package/widgets/Legend.js +1 -1
  100. package/widgets/Search/SearchResultRenderer.js +1 -1
  101. package/widgets/Search/SearchViewModel.js +1 -1
  102. package/widgets/Search.js +1 -1
  103. package/widgets/support/chartUtilsAm5.js +1 -1
  104. package/assets/esri/core/workers/chunks/0b24a6c06d1becbb6815.js +0 -1
  105. package/assets/esri/core/workers/chunks/19f1bfe815896d4983af.js +0 -1
  106. package/assets/esri/core/workers/chunks/22c3a21bc9f32c429c48.js +0 -1
  107. package/assets/esri/core/workers/chunks/3b2ef975831eb75b40fb.js +0 -1
  108. package/assets/esri/core/workers/chunks/5eb7f6f5121c8830c561.js +0 -1
  109. package/assets/esri/core/workers/chunks/6c3b585b9cb6bb640fb0.js +0 -1
  110. package/assets/esri/core/workers/chunks/8b9a50cfaa5a7df02dad.js +0 -1
  111. package/assets/esri/core/workers/chunks/8ff2daef892881ff2019.js +0 -1
  112. package/assets/esri/core/workers/chunks/a6a2d4602dfeb62e0ecc.js +0 -1
  113. package/assets/esri/core/workers/chunks/c95e6bef8c97cf647869.js +0 -1
  114. package/assets/esri/core/workers/chunks/ce175801937e80e3c487.js +0 -1
  115. package/assets/esri/core/workers/chunks/d71836cf70b9604832f1.js +0 -1
  116. package/chunks/Button.js +0 -5
  117. package/chunks/ColorSet.js +0 -5
  118. package/chunks/DefaultTheme.js +0 -5
  119. package/chunks/LineSeries.js +0 -5
  120. package/chunks/ResponsiveTheme.js +0 -5
  121. package/chunks/Theme.js +0 -5
  122. package/chunks/Tick.js +0 -5
  123. package/chunks/Tooltip.js +0 -5
  124. package/chunks/ar.js +0 -5
  125. package/chunks/bg_BG.js +0 -5
  126. package/chunks/bs_BA.js +0 -5
  127. package/chunks/ca_ES.js +0 -5
  128. package/chunks/chartUtilsAm5.js +0 -5
  129. package/chunks/cs_CZ.js +0 -5
  130. package/chunks/da_DK.js +0 -5
  131. package/chunks/de_CH.js +0 -5
  132. package/chunks/de_DE.js +0 -5
  133. package/chunks/el_GR.js +0 -5
  134. package/chunks/en_CA.js +0 -5
  135. package/chunks/en_US.js +0 -5
  136. package/chunks/es_ES.js +0 -5
  137. package/chunks/et_EE.js +0 -5
  138. package/chunks/fi_FI.js +0 -5
  139. package/chunks/fr_FR.js +0 -5
  140. package/chunks/he_IL.js +0 -5
  141. package/chunks/hr_HR.js +0 -5
  142. package/chunks/hu_HU.js +0 -5
  143. package/chunks/id_ID.js +0 -5
  144. package/chunks/it_IT.js +0 -5
  145. package/chunks/ja_JP.js +0 -5
  146. package/chunks/ko_KR.js +0 -5
  147. package/chunks/lt_LT.js +0 -5
  148. package/chunks/lv_LV.js +0 -5
  149. package/chunks/nb_NO.js +0 -5
  150. package/chunks/nl_NL.js +0 -5
  151. package/chunks/pl_PL.js +0 -5
  152. package/chunks/pt_BR.js +0 -5
  153. package/chunks/pt_PT.js +0 -5
  154. package/chunks/ro_RO.js +0 -5
  155. package/chunks/ru_RU.js +0 -5
  156. package/chunks/sk_SK.js +0 -5
  157. package/chunks/sl_SL.js +0 -5
  158. package/chunks/sr_RS.js +0 -5
  159. package/chunks/sv_SE.js +0 -5
  160. package/chunks/th_TH.js +0 -5
  161. package/chunks/tr_TR.js +0 -5
  162. package/chunks/uk_UA.js +0 -5
  163. package/chunks/vi_VN.js +0 -5
  164. package/chunks/zh_Hans.js +0 -5
  165. package/chunks/zh_Hant.js +0 -5
package/interfaces.d.ts CHANGED
@@ -655,6 +655,22 @@ declare namespace __esri {
655
655
  unit?: SystemOrLengthUnit | nullish;
656
656
  }
657
657
 
658
+ export interface ElevationProfileDisplayUnits extends Accessor, Clonable {
659
+ }
660
+
661
+ export class ElevationProfileDisplayUnits {
662
+ constructor(properties?: ElevationProfileDisplayUnitsProperties);
663
+ /**
664
+ * Creates a deep clone of this object.
665
+ *
666
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileDisplayUnits.html#clone Read more...}
667
+ */
668
+ clone(): this;
669
+ }
670
+
671
+ interface ElevationProfileDisplayUnitsProperties {
672
+ }
673
+
658
674
  export interface ElevationProfileLine extends Accessor, Clonable {
659
675
  }
660
676
 
@@ -974,67 +990,30 @@ declare namespace __esri {
974
990
  lineVisible?: boolean;
975
991
  }
976
992
 
977
- export interface ElevationProfileUnits extends Accessor, Clonable {
978
- }
979
-
980
- export class ElevationProfileUnits {
981
- /**
982
- * Units used for distance or length values in the elevation profile.
983
- *
984
- * @default null
985
- *
986
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileUnits.html#distance Read more...}
987
- */
993
+ /**
994
+ * Defines the units or measurement system used for computing and displaying elevation profile results.
995
+ *
996
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileUnits.html Read more...}
997
+ */
998
+ interface ElevationProfileUnits {
988
999
  distance: SystemOrLengthUnit | nullish;
989
- /**
990
- * Units used for elevation (vertical) values in the profile.
991
- *
992
- * @default null
993
- *
994
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileUnits.html#elevation Read more...}
995
- */
996
1000
  elevation: SystemOrLengthUnit | nullish;
997
- /**
998
- * Defines the units or measurement system used for computing elevation profile results.
999
- *
1000
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileUnits.html Read more...}
1001
- */
1002
- constructor(properties?: ElevationProfileUnitsProperties);
1003
- /**
1004
- * Creates a deep clone of this object.
1005
- *
1006
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileUnits.html#clone Read more...}
1007
- */
1008
- clone(): this;
1009
1001
  }
1010
1002
 
1011
- interface ElevationProfileUnitsProperties {
1012
- /**
1013
- * Units used for distance or length values in the elevation profile.
1014
- *
1015
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileUnits.html#distance Read more...}
1016
- */
1017
- distance?: SystemOrLengthUnit | nullish;
1018
- /**
1019
- * Units used for elevation (vertical) values in the profile.
1020
- *
1021
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileUnits.html#elevation Read more...}
1022
- */
1023
- elevation?: SystemOrLengthUnit | nullish;
1024
- }
1003
+ export const ElevationProfileUnits: ElevationProfileUnits;
1025
1004
 
1026
1005
  export interface ElevationProfileViewOptions extends Accessor, Clonable {
1027
1006
  }
1028
1007
 
1029
1008
  export class ElevationProfileViewOptions {
1030
1009
  /**
1031
- * Whether the graphic used as input should be highlighted.
1010
+ * Whether the default visualization of the geometry in the view is visible.
1032
1011
  *
1033
1012
  * @default true
1034
1013
  *
1035
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileViewOptions.html#highlightEnabled Read more...}
1014
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileViewOptions.html#geometryVisualizationVisible Read more...}
1036
1015
  */
1037
- highlightEnabled: boolean;
1016
+ geometryVisualizationVisible: boolean;
1038
1017
  /**
1039
1018
  * Provides configuration options for visualizing an elevation profile within a view.
1040
1019
  *
@@ -1051,11 +1030,11 @@ declare namespace __esri {
1051
1030
 
1052
1031
  interface ElevationProfileViewOptionsProperties {
1053
1032
  /**
1054
- * Whether the graphic used as input should be highlighted.
1033
+ * Whether the default visualization of the geometry in the view is visible.
1055
1034
  *
1056
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileViewOptions.html#highlightEnabled Read more...}
1035
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileViewOptions.html#geometryVisualizationVisible Read more...}
1057
1036
  */
1058
- highlightEnabled?: boolean;
1037
+ geometryVisualizationVisible?: boolean;
1059
1038
  }
1060
1039
 
1061
1040
  export class ElevationProfileAnalysis extends Analysis {
@@ -1079,12 +1058,27 @@ declare namespace __esri {
1079
1058
  */
1080
1059
  constructor(properties?: ElevationProfileAnalysisProperties);
1081
1060
  /**
1082
- * The input path for elevation queries.
1061
+ * The units or measurement system used for computing and displaying elevation profile results.
1062
+ *
1063
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#displayUnits Read more...}
1064
+ */
1065
+ get displayUnits(): ElevationProfileDisplayUnits;
1066
+ set displayUnits(value: ElevationProfileDisplayUnitsProperties);
1067
+ /**
1068
+ * Specifies how the geometry Z values are interpreted, for example to compute elevations for an
1069
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileLineInput.html input} profile line.
1083
1070
  *
1084
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#input Read more...}
1071
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#elevationInfo Read more...}
1085
1072
  */
1086
- get input(): Polyline | Graphic | nullish;
1087
- set input(value: (PolylineProperties & { type: "polyline" }) | GraphicProperties | nullish);
1073
+ get elevationInfo(): ElevationInfo | nullish;
1074
+ set elevationInfo(value: ElevationInfoProperties | nullish);
1075
+ /**
1076
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polyline.html Polyline} along which elevation is to be sampled.
1077
+ *
1078
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#geometry Read more...}
1079
+ */
1080
+ get geometry(): Polyline | nullish;
1081
+ set geometry(value: PolylineProperties | nullish);
1088
1082
  /**
1089
1083
  * The collection of profile lines to compute and display.
1090
1084
  *
@@ -1099,13 +1093,6 @@ declare namespace __esri {
1099
1093
  | (ElevationProfileLineQueryProperties & { type: "query" })
1100
1094
  | (ElevationProfileLineSceneProperties & { type: "scene" })
1101
1095
  >);
1102
- /**
1103
- * The units or measurement system used for computing elevation profile results.
1104
- *
1105
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#units Read more...}
1106
- */
1107
- get units(): ElevationProfileUnits;
1108
- set units(value: ElevationProfileUnitsProperties);
1109
1096
  /**
1110
1097
  * Configuration options for visualizing an elevation profile within a view.
1111
1098
  *
@@ -1117,11 +1104,24 @@ declare namespace __esri {
1117
1104
 
1118
1105
  interface ElevationProfileAnalysisProperties extends AnalysisProperties {
1119
1106
  /**
1120
- * The input path for elevation queries.
1107
+ * The units or measurement system used for computing and displaying elevation profile results.
1108
+ *
1109
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#displayUnits Read more...}
1110
+ */
1111
+ displayUnits?: ElevationProfileDisplayUnitsProperties;
1112
+ /**
1113
+ * Specifies how the geometry Z values are interpreted, for example to compute elevations for an
1114
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileLineInput.html input} profile line.
1115
+ *
1116
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#elevationInfo Read more...}
1117
+ */
1118
+ elevationInfo?: ElevationInfoProperties | nullish;
1119
+ /**
1120
+ * The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polyline.html Polyline} along which elevation is to be sampled.
1121
1121
  *
1122
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#input Read more...}
1122
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#geometry Read more...}
1123
1123
  */
1124
- input?: (PolylineProperties & { type: "polyline" }) | GraphicProperties | nullish;
1124
+ geometry?: PolylineProperties | nullish;
1125
1125
  /**
1126
1126
  * The collection of profile lines to compute and display.
1127
1127
  *
@@ -1133,12 +1133,6 @@ declare namespace __esri {
1133
1133
  | (ElevationProfileLineQueryProperties & { type: "query" })
1134
1134
  | (ElevationProfileLineSceneProperties & { type: "scene" })
1135
1135
  >;
1136
- /**
1137
- * The units or measurement system used for computing elevation profile results.
1138
- *
1139
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#units Read more...}
1140
- */
1141
- units?: ElevationProfileUnitsProperties;
1142
1136
  /**
1143
1137
  * Configuration options for visualizing an elevation profile within a view.
1144
1138
  *
@@ -1147,7 +1141,7 @@ declare namespace __esri {
1147
1141
  viewOptions?: ElevationProfileViewOptionsProperties;
1148
1142
  }
1149
1143
 
1150
- export interface ElevationProfileEffectiveUnits {
1144
+ export interface ElevationProfileEffectiveDisplayUnits {
1151
1145
  distance: LengthUnit;
1152
1146
  elevation: LengthUnit;
1153
1147
  }
@@ -16140,7 +16134,7 @@ declare namespace __esri {
16140
16134
  }
16141
16135
 
16142
16136
  /**
16143
- * Utility for retrieving the current or next version of the SDK.
16137
+ * Utility for retrieving the version of the ArcGIS Maps SDK for JavaScript.
16144
16138
  *
16145
16139
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-kernel.html Read more...}
16146
16140
  */
@@ -50976,6 +50970,13 @@ declare namespace __esri {
50976
50970
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-NetworkSystemLayers.html#rulesTableUrl Read more...}
50977
50971
  */
50978
50972
  readonly rulesTableUrl: string | nullish;
50973
+ /**
50974
+ * A {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html FeatureLayer} representing the subnetworks
50975
+ * table.
50976
+ *
50977
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-NetworkSystemLayers.html#subnetworksTable Read more...}
50978
+ */
50979
+ readonly subnetworksTable: FeatureLayer | nullish;
50979
50980
  /**
50980
50981
  * The layer ID of the service containing the utility network's [Subnetworks table](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/subnetworks-table.htm).
50981
50982
  *
@@ -50997,11 +50998,19 @@ declare namespace __esri {
50997
50998
  /**
50998
50999
  * Loads the layer identified by the `associationsTableUrl` property.
50999
51000
  *
51000
- * @param options An object with the following properties.
51001
+ * @param options An object containing an optional `signal` property that can be used to cancel the request.
51001
51002
  *
51002
51003
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-NetworkSystemLayers.html#loadAssociationsTable Read more...}
51003
51004
  */
51004
- loadAssociationsTable(options?: NetworkSystemLayersLoadAssociationsTableOptions): Promise<any>;
51005
+ loadAssociationsTable(options?: NetworkSystemLayersLoadAssociationsTableOptions): Promise<FeatureLayer>;
51006
+ /**
51007
+ * Loads the layer identified by the `subnetworksTableUrl` property.
51008
+ *
51009
+ * @param options An object containing an optional `signal` property that can be used to cancel the request.
51010
+ *
51011
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-support-NetworkSystemLayers.html#loadSubnetworksTable Read more...}
51012
+ */
51013
+ loadSubnetworksTable(options?: NetworkSystemLayersLoadSubnetworksTableOptions): Promise<FeatureLayer>;
51005
51014
  }
51006
51015
 
51007
51016
  interface NetworkSystemLayersProperties {
@@ -51011,6 +51020,10 @@ declare namespace __esri {
51011
51020
  signal?: AbortSignal | nullish;
51012
51021
  }
51013
51022
 
51023
+ export interface NetworkSystemLayersLoadSubnetworksTableOptions {
51024
+ signal?: AbortSignal | nullish;
51025
+ }
51026
+
51014
51027
  export interface Terminal extends Accessor, JSONSupport {
51015
51028
  }
51016
51029
 
@@ -51693,7 +51706,13 @@ declare namespace __esri {
51693
51706
  *
51694
51707
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-UtilityNetwork.html#loadAssociationsTable Read more...}
51695
51708
  */
51696
- loadAssociationsTable(): Promise<any>;
51709
+ loadAssociationsTable(): Promise<FeatureLayer>;
51710
+ /**
51711
+ * Loads the Utility Network's subnetworks table.
51712
+ *
51713
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-networks-UtilityNetwork.html#loadSubnetworksTable Read more...}
51714
+ */
51715
+ loadSubnetworksTable(): Promise<FeatureLayer>;
51697
51716
  /**
51698
51717
  * Returns all associations filtered by the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-networks-support-QueryAssociationsParameters.html QueryAssociationsParameters} in a utility network.
51699
51718
  *
@@ -51990,6 +52009,22 @@ declare namespace __esri {
51990
52009
  }
51991
52010
 
51992
52011
  export class AttachmentsContent {
52012
+ /**
52013
+ * An array of strings used to identify attachment(s).
52014
+ *
52015
+ * @default null
52016
+ *
52017
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#attachmentKeywords Read more...}
52018
+ */
52019
+ attachmentKeywords: string[] | nullish;
52020
+ /**
52021
+ * An array of strings representing MIME types.
52022
+ *
52023
+ * @default null
52024
+ *
52025
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#attachmentTypes Read more...}
52026
+ */
52027
+ attachmentTypes: ("application" | "audio" | "image" | "model" | "text" | "video")[] | nullish;
51993
52028
  /**
51994
52029
  * Describes the attachment's content in detail.
51995
52030
  *
@@ -52057,6 +52092,18 @@ declare namespace __esri {
52057
52092
  }
52058
52093
 
52059
52094
  interface AttachmentsContentProperties extends ContentProperties {
52095
+ /**
52096
+ * An array of strings used to identify attachment(s).
52097
+ *
52098
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#attachmentKeywords Read more...}
52099
+ */
52100
+ attachmentKeywords?: string[] | nullish;
52101
+ /**
52102
+ * An array of strings representing MIME types.
52103
+ *
52104
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.html#attachmentTypes Read more...}
52105
+ */
52106
+ attachmentTypes?: ("application" | "audio" | "image" | "model" | "text" | "video")[] | nullish;
52060
52107
  /**
52061
52108
  * Describes the attachment's content in detail.
52062
52109
  *
@@ -53745,8 +53792,16 @@ declare namespace __esri {
53745
53792
  */
53746
53793
  constructor(properties?: FieldInfoProperties);
53747
53794
  /**
53748
- * Class which provides formatting options for numerical or date fields and how they should display within
53749
- * a popup.
53795
+ * Provides formatting options for numerical or date fields, using the same format types as the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations layer level field formatting}.
53796
+ *
53797
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#fieldFormat Read more...}
53798
+ */
53799
+ get fieldFormat(): DateTimeFieldFormat | NumberFieldFormat | nullish;
53800
+ set fieldFormat(value: | (DateTimeFieldFormatProperties & { type: "date-time" })
53801
+ | (NumberFieldFormatProperties & { type: "number" })
53802
+ | nullish);
53803
+ /**
53804
+ * Class which provides formatting options for numerical or date fields and how they should display.
53750
53805
  *
53751
53806
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format Read more...}
53752
53807
  */
@@ -53777,6 +53832,14 @@ declare namespace __esri {
53777
53832
  }
53778
53833
 
53779
53834
  interface FieldInfoProperties {
53835
+ /**
53836
+ * Provides formatting options for numerical or date fields, using the same format types as the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#fieldConfigurations layer level field formatting}.
53837
+ *
53838
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#fieldFormat Read more...}
53839
+ */
53840
+ fieldFormat?: | (DateTimeFieldFormatProperties & { type: "date-time" })
53841
+ | (NumberFieldFormatProperties & { type: "number" })
53842
+ | nullish;
53780
53843
  /**
53781
53844
  * The field name as defined by the service or the name of
53782
53845
  * an {@link https://developers.arcgis.com/javascript/latest/arcade/ Arcade}
@@ -53786,8 +53849,7 @@ declare namespace __esri {
53786
53849
  */
53787
53850
  fieldName?: string | nullish;
53788
53851
  /**
53789
- * Class which provides formatting options for numerical or date fields and how they should display within
53790
- * a popup.
53852
+ * Class which provides formatting options for numerical or date fields and how they should display.
53791
53853
  *
53792
53854
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html#format Read more...}
53793
53855
  */
@@ -65023,13 +65085,13 @@ declare namespace __esri {
65023
65085
  */
65024
65086
  searchQuery: string;
65025
65087
  /**
65026
- * Specifies whether to search {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-EntityType.html entities}, {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-RelationshipType.html relationships}, or both.
65088
+ * Specifies whether to search {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-EntityType.html entities}, {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-RelationshipType.html relationships}, both entities and relationships, or the provenance meta entity type.
65027
65089
  *
65028
65090
  * @default "both"
65029
65091
  *
65030
65092
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-GraphSearch.html#typeCategoryFilter Read more...}
65031
65093
  */
65032
- typeCategoryFilter: "entity" | "relationship" | "both";
65094
+ typeCategoryFilter: "entity" | "relationship" | "both" | "provenance";
65033
65095
  /**
65034
65096
  * The search operation is performed on a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraphService.html knowledge graph service's}
65035
65097
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-KnowledgeGraph.html graph} resource.
@@ -65047,11 +65109,11 @@ declare namespace __esri {
65047
65109
  */
65048
65110
  searchQuery?: string;
65049
65111
  /**
65050
- * Specifies whether to search {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-EntityType.html entities}, {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-RelationshipType.html relationships}, or both.
65112
+ * Specifies whether to search {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-EntityType.html entities}, {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-RelationshipType.html relationships}, both entities and relationships, or the provenance meta entity type.
65051
65113
  *
65052
65114
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-knowledgeGraph-GraphSearch.html#typeCategoryFilter Read more...}
65053
65115
  */
65054
- typeCategoryFilter?: "entity" | "relationship" | "both";
65116
+ typeCategoryFilter?: "entity" | "relationship" | "both" | "provenance";
65055
65117
  }
65056
65118
 
65057
65119
  export class GraphSearchStreaming extends GraphSearch {
@@ -95321,9 +95383,9 @@ declare namespace __esri {
95321
95383
  /**
95322
95384
  * Units used for all the results and statistics of the elevation profile analysis.
95323
95385
  *
95324
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-ElevationProfileAnalysisView2D.html#effectiveUnits Read more...}
95386
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-ElevationProfileAnalysisView2D.html#effectiveDisplayUnits Read more...}
95325
95387
  */
95326
- readonly effectiveUnits: ElevationProfileEffectiveUnits;
95388
+ readonly effectiveDisplayUnits: ElevationProfileEffectiveDisplayUnits;
95327
95389
  /**
95328
95390
  * If the analysis could not be performed, this property contains an error object with additional details.
95329
95391
  *
@@ -95417,6 +95479,7 @@ declare namespace __esri {
95417
95479
  }
95418
95480
 
95419
95481
  export interface ElevationProfilePickGraphicResult {
95482
+ graphic: Graphic;
95420
95483
  }
95421
95484
 
95422
95485
  export interface ElevationProfilePlacementResult {
@@ -96107,9 +96170,9 @@ declare namespace __esri {
96107
96170
  /**
96108
96171
  * Units used for all the results and statistics of the elevation profile analysis.
96109
96172
  *
96110
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#effectiveUnits Read more...}
96173
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#effectiveDisplayUnits Read more...}
96111
96174
  */
96112
- readonly effectiveUnits: ElevationProfileEffectiveUnits;
96175
+ readonly effectiveDisplayUnits: ElevationProfileEffectiveDisplayUnits;
96113
96176
  /**
96114
96177
  * If the analysis could not be performed, this property contains an error object with additional details.
96115
96178
  *
@@ -96191,7 +96254,7 @@ declare namespace __esri {
96191
96254
  *
96192
96255
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#place Read more...}
96193
96256
  */
96194
- place(options?: ElevationProfileAnalysisView3DPlaceOptions | nullish): Promise<ElevationProfileAnalysisView3DElevationProfilePlacementResult>;
96257
+ place(options?: ElevationProfileAnalysisView3DPlaceOptions | nullish): Promise<ElevationProfilePlacementResult>;
96195
96258
  }
96196
96259
 
96197
96260
  export interface ElevationProfileAnalysisView3DPickGraphicOptions {
@@ -96203,6 +96266,7 @@ declare namespace __esri {
96203
96266
  }
96204
96267
 
96205
96268
  export interface ElevationProfileAnalysisView3DElevationProfilePickGraphicResult {
96269
+ graphic: Graphic;
96206
96270
  }
96207
96271
 
96208
96272
  export interface ElevationProfileAnalysisView3DElevationProfilePlacementResult {
@@ -109556,6 +109620,22 @@ declare namespace __esri {
109556
109620
  }
109557
109621
 
109558
109622
  export class Attachments extends Widget {
109623
+ /**
109624
+ * An array of strings used to identify attachment(s).
109625
+ *
109626
+ * @default null
109627
+ *
109628
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments.html#attachmentKeywords Read more...}
109629
+ */
109630
+ attachmentKeywords: string[] | nullish;
109631
+ /**
109632
+ * An array of strings representing MIME types.
109633
+ *
109634
+ * @default null
109635
+ *
109636
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments.html#attachmentTypes Read more...}
109637
+ */
109638
+ attachmentTypes: string[] | nullish;
109559
109639
  /**
109560
109640
  * Configures the attachment editing functionality that can be performed by the user.
109561
109641
  *
@@ -109616,6 +109696,18 @@ declare namespace __esri {
109616
109696
  }
109617
109697
 
109618
109698
  interface AttachmentsProperties extends WidgetProperties {
109699
+ /**
109700
+ * An array of strings used to identify attachment(s).
109701
+ *
109702
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments.html#attachmentKeywords Read more...}
109703
+ */
109704
+ attachmentKeywords?: string[] | nullish;
109705
+ /**
109706
+ * An array of strings representing MIME types.
109707
+ *
109708
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments.html#attachmentTypes Read more...}
109709
+ */
109710
+ attachmentTypes?: string[] | nullish;
109619
109711
  /**
109620
109712
  * Configures the attachment editing functionality that can be performed by the user.
109621
109713
  *
@@ -109667,6 +109759,22 @@ declare namespace __esri {
109667
109759
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#attachmentInfos Read more...}
109668
109760
  */
109669
109761
  readonly attachmentInfos: Collection<AttachmentInfo>;
109762
+ /**
109763
+ * An array of strings used to identify attachment(s).
109764
+ *
109765
+ * @default null
109766
+ *
109767
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#attachmentKeywords Read more...}
109768
+ */
109769
+ attachmentKeywords: string[] | nullish;
109770
+ /**
109771
+ * An array of strings representing MIME types.
109772
+ *
109773
+ * @default null
109774
+ *
109775
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#attachmentTypes Read more...}
109776
+ */
109777
+ attachmentTypes: string[] | nullish;
109670
109778
  /**
109671
109779
  * Configures the attachment editing functionality that can be performed by the user.
109672
109780
  *
@@ -109730,6 +109838,18 @@ declare namespace __esri {
109730
109838
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#activeAttachmentInfo Read more...}
109731
109839
  */
109732
109840
  activeAttachmentInfo?: AttachmentInfo | nullish;
109841
+ /**
109842
+ * An array of strings used to identify attachment(s).
109843
+ *
109844
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#attachmentKeywords Read more...}
109845
+ */
109846
+ attachmentKeywords?: string[] | nullish;
109847
+ /**
109848
+ * An array of strings representing MIME types.
109849
+ *
109850
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments-AttachmentsViewModel.html#attachmentTypes Read more...}
109851
+ */
109852
+ attachmentTypes?: string[] | nullish;
109733
109853
  /**
109734
109854
  * Configures the attachment editing functionality that can be performed by the user.
109735
109855
  *
@@ -123681,8 +123801,10 @@ declare namespace __esri {
123681
123801
  *
123682
123802
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-support-FieldColumnTemplate.html#domain Read more...}
123683
123803
  */
123684
- get domain(): CodedValueDomain | RangeDomain;
123685
- set domain(value: (CodedValueDomainProperties & { type: "coded-value" }) | (RangeDomainProperties & { type: "range" }));
123804
+ get domain(): CodedValueDomain | RangeDomain | nullish;
123805
+ set domain(value: | (CodedValueDomainProperties & { type: "coded-value" })
123806
+ | (RangeDomainProperties & { type: "range" })
123807
+ | nullish);
123686
123808
  static fromJSON(json: any): FieldColumnTemplate;
123687
123809
  }
123688
123810
 
@@ -123692,7 +123814,9 @@ declare namespace __esri {
123692
123814
  *
123693
123815
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-support-FieldColumnTemplate.html#domain Read more...}
123694
123816
  */
123695
- domain?: (CodedValueDomainProperties & { type: "coded-value" }) | (RangeDomainProperties & { type: "range" });
123817
+ domain?: | (CodedValueDomainProperties & { type: "coded-value" })
123818
+ | (RangeDomainProperties & { type: "range" })
123819
+ | nullish;
123696
123820
  /**
123697
123821
  * Indicates whether the field is editable.
123698
123822
  *
@@ -123822,12 +123946,6 @@ declare namespace __esri {
123822
123946
  | (AttachmentsColumnTemplateProperties & { type: "attachment" })
123823
123947
  | (RelationshipColumnTemplateProperties & { type: "relationship" })
123824
123948
  )[]);
123825
- /**
123826
- * Creates a deep clone of the TableTemplate class.
123827
- *
123828
- * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable-support-TableTemplate.html#clone Read more...}
123829
- */
123830
- clone(): TableTemplate;
123831
123949
  /**
123832
123950
  * Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
123833
123951
  *
@@ -126888,6 +127006,14 @@ declare namespace __esri {
126888
127006
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html#respectLayerDefinitionExpression Read more...}
126889
127007
  */
126890
127008
  respectLayerDefinitionExpression: boolean;
127009
+ /**
127010
+ * Determines whether to respect properties of the layerView that control the legend's visibility.
127011
+ *
127012
+ * @default true
127013
+ *
127014
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html#respectLayerViewVisibility Read more...}
127015
+ */
127016
+ respectLayerViewVisibility: boolean;
126891
127017
  /**
126892
127018
  * Determines whether to respect the properties of the layers in the map that
126893
127019
  * control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
@@ -126964,6 +127090,12 @@ declare namespace __esri {
126964
127090
  * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html#respectLayerDefinitionExpression Read more...}
126965
127091
  */
126966
127092
  respectLayerDefinitionExpression?: boolean;
127093
+ /**
127094
+ * Determines whether to respect properties of the layerView that control the legend's visibility.
127095
+ *
127096
+ * {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html#respectLayerViewVisibility Read more...}
127097
+ */
127098
+ respectLayerViewVisibility?: boolean;
126967
127099
  /**
126968
127100
  * Determines whether to respect the properties of the layers in the map that
126969
127101
  * control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
package/kernel.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.34/esri/copyright.txt for details.
4
4
  */
5
- import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="4.34";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="4.34.0-next.93",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
5
+ import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="4.34";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="4.34.0-next.94",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{__decorate as e}from"tslib";import t from"../request.js";import i from"../core/Error.js";import r from"../core/Logger.js";import{MultiOriginJSONMixin as s}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as o}from"../core/promiseUtils.js";import{property as a}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import"../core/RandomLCG.js";import{subclass as l}from"../core/accessorSupport/decorators/subclass.js";import p from"../geometry/Extent.js";import n from"../geometry/SpatialReference.js";import m from"./Layer.js";import{APIKeyMixin as c}from"./mixins/APIKeyMixin.js";import{ArcGISService as u}from"./mixins/ArcGISService.js";import{CustomParametersMixin as y}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as f}from"./mixins/OperationalLayer.js";import{PortalLayer as h}from"./mixins/PortalLayer.js";import{ScaleRangeLayer as d}from"./mixins/ScaleRangeLayer.js";import{url as S,elevationInfo as x}from"./support/commonProperties.js";import{hasEsriCrs as v,initFullExtent as j}from"./support/tiles3DUtils.js";import{logInvalidElevationInfoWarning as g,elevationModeRequiredMessage as w,featureExpressionUnsupportedMessage as R}from"../support/elevationInfoUtils.js";let E=class extends(u(f(h(d(s(y(c(m)))))))){constructor(e){super(e),this.operationalLayerType="GaussianSplatLayer",this.type="gaussian-splat",this.opacity=1,this.minScale=0,this.maxScale=0,this.url=null,this.rootTilesetJSON=null,this.fullExtent=new p(-180,-90,180,90,this.spatialReference),this.spatialReference=new n({wkid:4326,vcsWkid:115700}),this.esriCrsSpatialReference=null,this.esriCrsFullExtent=null}get supportedSpatialReferences(){return this.initialized&&this.esriCrsSpatialReference?[this.spatialReference,this.esriCrsSpatialReference]:[this.spatialReference]}get fullExtents(){return this.initialized&&this.esriCrsFullExtent?[this.fullExtent,this.esriCrsFullExtent]:[this.fullExtent]}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}async _doLoad(e){const r=null!=e?e.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("GaussianSplat"))return!0;throw new i("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service"})}},e)}catch(s){o(s)}if(this.url){const e=t(this.url,{query:{...this.customParameters,token:this.apiKey},responseType:"json",signal:r}).then(e=>{this.rootTilesetJSON=e.data;const t=v(this.rootTilesetJSON);this.fullExtent=j(this.rootTilesetJSON,!1),this.spatialReference=this.fullExtent.spatialReference,t&&(this.esriCrsFullExtent=j(this.rootTilesetJSON,!0),this.esriCrsSpatialReference=this.esriCrsFullExtent.spatialReference)},e=>{o(e)});await e}}_validateElevationInfo(e){const t="Gaussian Splat layers";g(r.getLogger(this),w(t,"absolute-height",e)),g(r.getLogger(this),R(t,e))}};e([a({type:["GaussianSplatLayer"]})],E.prototype,"operationalLayerType",void 0),e([a({readOnly:!0})],E.prototype,"type",void 0),e([a({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],E.prototype,"opacity",void 0),e([a({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"minScale",void 0),e([a({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"maxScale",void 0),e([a(S)],E.prototype,"url",void 0),e([a({type:p})],E.prototype,"fullExtent",void 0),e([a({type:n})],E.prototype,"spatialReference",void 0),e([a({readOnly:!0})],E.prototype,"supportedSpatialReferences",null),e([a({type:[p]})],E.prototype,"fullExtents",null),e([a({type:["show","hide"]})],E.prototype,"listMode",void 0),e([a(x)],E.prototype,"elevationInfo",null),E=e([l("esri.layers.GaussianSplatLayer")],E);const L=E;export{L as default};
5
+ import{__decorate as e}from"tslib";import t from"../request.js";import i from"../core/Error.js";import has from"../core/has.js";import r from"../core/Logger.js";import{MultiOriginJSONMixin as s}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as o}from"../core/promiseUtils.js";import{property as a}from"../core/accessorSupport/decorators/property.js";import"../core/RandomLCG.js";import{subclass as l}from"../core/accessorSupport/decorators/subclass.js";import n from"../geometry/Extent.js";import p from"../geometry/SpatialReference.js";import m from"./Layer.js";import{APIKeyMixin as c}from"./mixins/APIKeyMixin.js";import{ArcGISService as u}from"./mixins/ArcGISService.js";import{CustomParametersMixin as y}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as f}from"./mixins/OperationalLayer.js";import{PortalLayer as h}from"./mixins/PortalLayer.js";import{ScaleRangeLayer as d}from"./mixins/ScaleRangeLayer.js";import{url as S,elevationInfo as x}from"./support/commonProperties.js";import{hasEsriCrs as v,initFullExtent as j}from"./support/tiles3DUtils.js";import{logInvalidElevationInfoWarning as g,elevationModeRequiredMessage as w,featureExpressionUnsupportedMessage as R}from"../support/elevationInfoUtils.js";let E=class extends(u(f(h(d(s(y(c(m)))))))){constructor(e){super(e),this.operationalLayerType="GaussianSplatLayer",this.type="gaussian-splat",this.opacity=1,this.minScale=0,this.maxScale=0,this.url=null,this.rootTilesetJSON=null,this.fullExtent=new n(-180,-90,180,90,this.spatialReference),this.spatialReference=new p({wkid:4326,vcsWkid:115700}),this.esriCrsSpatialReference=null,this.esriCrsFullExtent=null}get supportedSpatialReferences(){return this.initialized&&this.esriCrsSpatialReference?[this.spatialReference,this.esriCrsSpatialReference]:[this.spatialReference]}get fullExtents(){return this.initialized&&this.esriCrsFullExtent?[this.fullExtent,this.esriCrsFullExtent]:[this.fullExtent]}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}async _doLoad(e){const r=null!=e?e.signal:null;if(!has("enable-feature:gaussianSplatLayer"))throw new i("GaussianSplatLayer-init:not-supported","This layer is currently not supported.");try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("GaussianSplat"))return!0;throw new i("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service"})}},e)}catch(s){o(s)}if(this.url){const e=t(this.url,{query:{...this.customParameters,token:this.apiKey},responseType:"json",signal:r}).then(e=>{this.rootTilesetJSON=e.data;const t=v(this.rootTilesetJSON);this.fullExtent=j(this.rootTilesetJSON,!1),this.spatialReference=this.fullExtent.spatialReference,t&&(this.esriCrsFullExtent=j(this.rootTilesetJSON,!0),this.esriCrsSpatialReference=this.esriCrsFullExtent.spatialReference)},e=>{o(e)});await e}}_validateElevationInfo(e){const t="Gaussian Splat layers";g(r.getLogger(this),w(t,"absolute-height",e)),g(r.getLogger(this),R(t,e))}};e([a({type:["GaussianSplatLayer"]})],E.prototype,"operationalLayerType",void 0),e([a({readOnly:!0})],E.prototype,"type",void 0),e([a({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],E.prototype,"opacity",void 0),e([a({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"minScale",void 0),e([a({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"maxScale",void 0),e([a(S)],E.prototype,"url",void 0),e([a({type:n})],E.prototype,"fullExtent",void 0),e([a({type:p})],E.prototype,"spatialReference",void 0),e([a({readOnly:!0})],E.prototype,"supportedSpatialReferences",null),e([a({type:[n]})],E.prototype,"fullExtents",null),e([a({type:["show","hide"]})],E.prototype,"listMode",void 0),e([a(x)],E.prototype,"elevationInfo",null),E=e([l("esri.layers.GaussianSplatLayer")],E);const L=E;export{L as default};