@arcgis/core 5.1.0-next.86 → 5.1.0-next.88

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 (206) hide show
  1. package/Graphic.js +1 -1
  2. package/analysis/LineOfSightAnalysisObserver.d.ts +2 -2
  3. package/analysis/LineOfSightAnalysisTarget.d.ts +2 -2
  4. package/applications/Components/arcadeUtils.d.ts +23 -0
  5. package/applications/Components/arcadeUtils.js +2 -0
  6. package/assets/esri/core/workers/RemoteClient.js +1 -1
  7. package/assets/esri/core/workers/chunks/00e9e25269d5776f8645.js +1 -0
  8. package/assets/esri/core/workers/chunks/015fc0a17b17d69cc3bb.js +1 -0
  9. package/assets/esri/core/workers/chunks/0a6df243b18acae471be.js +1 -0
  10. package/assets/esri/core/workers/chunks/0cc4b3100a7a453bd058.js +1 -0
  11. package/assets/esri/core/workers/chunks/10cf6a70bf79f04a7208.js +1 -0
  12. package/assets/esri/core/workers/chunks/{e9a42f0262fc44a79d4b.js → 164ee62f2211987ad850.js} +1 -1
  13. package/assets/esri/core/workers/chunks/169ca3724053fc046d1b.js +1 -0
  14. package/assets/esri/core/workers/chunks/206bdfd868a9ef88f3a8.js +1 -0
  15. package/assets/esri/core/workers/chunks/2343b1105bc4c1b4a086.js +1 -0
  16. package/assets/esri/core/workers/chunks/{1bad4331a43169f3cc34.js → 2549a07f403447482f4e.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{f89b7b0ccfbd1e5f9a0f.js → 3092184350d66c79f610.js} +1 -1
  18. package/assets/esri/core/workers/chunks/3469df5c4846b0cee012.js +1 -0
  19. package/assets/esri/core/workers/chunks/{26f804c92077c11c626d.js → 394812e19b6915d560b0.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{2f8b173d1dac73ba0d9e.js → 3cf77b7a61f78f9bcd62.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{edbdee69440dbfc05644.js → 3e72bd6dbfc52d956c06.js} +1 -1
  22. package/assets/esri/core/workers/chunks/3feec3d08424b94e1bcf.js +1 -0
  23. package/assets/esri/core/workers/chunks/{ce4dfc3a470230ddc9e4.js → 43f58604ba4a94a9167c.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{ff57a071156d8a7e47be.js → 456d269e3982c437010a.js} +1 -1
  25. package/assets/esri/core/workers/chunks/46b16501db6681dc467b.js +1 -0
  26. package/assets/esri/core/workers/chunks/48549d3d7bf0154c0afa.js +1 -0
  27. package/assets/esri/core/workers/chunks/{713ab619060bd5087479.js → 4baf66314f82cfa76beb.js} +182 -157
  28. package/assets/esri/core/workers/chunks/{1ab66600579fa4232d7b.js → 4dc91c2208201ba34c90.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{b14c4c3f295970f731ab.js → 500be1fb7cc9efec875c.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{fc6ca7ffb9f1b875059c.js → 51716e411fad624ac21c.js} +1 -1
  31. package/assets/esri/core/workers/chunks/54c035cdc171998d0776.js +1 -0
  32. package/assets/esri/core/workers/chunks/{b23e677c33db6f9bac8a.js → 566f6319ded0634769e0.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{701b823763e941b71f4f.js → 7185486c6dc28fc367a1.js} +1 -1
  34. package/assets/esri/core/workers/chunks/752f4e0e2961fc315dca.js +1 -0
  35. package/assets/esri/core/workers/chunks/7ba67f1d7831a5576a5a.js +1 -0
  36. package/assets/esri/core/workers/chunks/{186bfde8c552e3b42302.js → 7ef51b0ebd560113ae7e.js} +1 -1
  37. package/assets/esri/core/workers/chunks/7f0f10946f05a09b5654.js +1 -0
  38. package/assets/esri/core/workers/chunks/{fce2306a1b31c6680f90.js → 7f34fa9f154f5101cb13.js} +1 -1
  39. package/assets/esri/core/workers/chunks/8178e9ba3c568d406a87.js +1 -0
  40. package/assets/esri/core/workers/chunks/83f1871d04c979fa23b7.js +1 -0
  41. package/assets/esri/core/workers/chunks/85da2987e17b6755a94e.js +1 -0
  42. package/assets/esri/core/workers/chunks/8a5a827ee557d9f9a66e.js +1 -0
  43. package/assets/esri/core/workers/chunks/9c09097e390985bbac58.js +1 -0
  44. package/assets/esri/core/workers/chunks/{618106f5fbdf88ef2278.js → a401d44a5b45c05072c2.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{d0aee7c80c5c7e23d216.js → a429355534bf6cbd8304.js} +1 -1
  46. package/assets/esri/core/workers/chunks/a432219de6a873f88776.js +1 -0
  47. package/assets/esri/core/workers/chunks/{455d08294e0f5c5509ff.js → a6b75576d598ec161cc4.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{99c6bd2125f4eb6796fe.js → aae40d70eb01249c1bab.js} +1 -1
  49. package/assets/esri/core/workers/chunks/b2662bfdbd1e3623ceb9.js +1 -0
  50. package/assets/esri/core/workers/chunks/b4bac22467e96be7a974.js +1 -0
  51. package/assets/esri/core/workers/chunks/{5166f204fd078dced5db.js → baea6f86b2dbe067940e.js} +1 -1
  52. package/assets/esri/core/workers/chunks/c3e89c7c7b677bd18557.js +1 -0
  53. package/assets/esri/core/workers/chunks/cb81d524f12edcadb9bb.js +1 -0
  54. package/assets/esri/core/workers/chunks/cc0f3b9b153a0c232afe.js +1 -0
  55. package/assets/esri/core/workers/chunks/cd0c232f4e3868d91a05.js +1 -0
  56. package/assets/esri/core/workers/chunks/{bae8f2a5dfe0cfbc0688.js → d00dddc3881fa29446e1.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{9bd713d96502ddc2ce25.js → d8ccc713c5ad93e7a0c3.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{e66b9d00d02fc08cbb2d.js → da008d6a3afb30d18392.js} +1 -1
  59. package/assets/esri/core/workers/chunks/dde94664110ff231a52d.js +1 -0
  60. package/assets/esri/core/workers/chunks/de3e5d82502ee15b7eae.js +1 -0
  61. package/assets/esri/core/workers/chunks/defac06f9e2b43090677.js +2 -0
  62. package/assets/esri/core/workers/chunks/e6fe8b5fbe95de01453b.js +1 -0
  63. package/assets/esri/core/workers/chunks/ee7e9bca57160694b3c4.js +1 -0
  64. package/assets/esri/core/workers/chunks/f36345ebb9851ab92453.js +1 -0
  65. package/assets/esri/core/workers/chunks/{add000f51c778114c028.js → f37e4ae0e9be80210db0.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{c503c79ba5761f7abbeb.js → fa869bfe4366f7f49cca.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{d8de7fe49dba9ed589df.js → fade7b878a9498382bb2.js} +1 -1
  68. package/assets/esri/core/workers/chunks/fe30e61652716fcccf16.js +2 -0
  69. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  70. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  71. package/assets/esri/libs/text/pkg/bundle_bg.wasm +0 -0
  72. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ar.json +1 -1
  73. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bg.json +1 -1
  74. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bs.json +1 -1
  75. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ca.json +1 -1
  76. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_cs.json +1 -1
  77. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_da.json +1 -1
  78. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_de.json +1 -1
  79. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_el.json +1 -1
  80. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_es.json +1 -1
  81. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_et.json +1 -1
  82. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fi.json +1 -1
  83. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
  84. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_he.json +1 -1
  85. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hr.json +1 -1
  86. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hu.json +1 -1
  87. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_id.json +1 -1
  88. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_it.json +1 -1
  89. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ja.json +1 -1
  90. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ko.json +1 -1
  91. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lt.json +1 -1
  92. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lv.json +1 -1
  93. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_nl.json +1 -1
  94. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_no.json +1 -1
  95. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pl.json +1 -1
  96. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-BR.json +1 -1
  97. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-PT.json +1 -1
  98. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ro.json +1 -1
  99. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ru.json +1 -1
  100. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sk.json +1 -1
  101. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sl.json +1 -1
  102. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sr.json +1 -1
  103. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sv.json +1 -1
  104. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_th.json +1 -1
  105. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_tr.json +1 -1
  106. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_uk.json +1 -1
  107. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_vi.json +1 -1
  108. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-CN.json +1 -1
  109. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-HK.json +1 -1
  110. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-TW.json +1 -1
  111. package/chunks/GlobalIllumination.glsl.js +25 -17
  112. package/chunks/GlowBlur.glsl.js +11 -8
  113. package/chunks/OITBlend.glsl.js +1 -1
  114. package/chunks/bundle2.js +1 -1
  115. package/config.js +1 -1
  116. package/core/has.js +1 -1
  117. package/interfaces.d.ts +0 -3
  118. package/kernel.js +1 -1
  119. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  120. package/layers/graphics/data/QueryEngineCapabilities.js +1 -1
  121. package/layers/graphics/data/QueryEngineResult.js +1 -1
  122. package/layers/graphics/sources/OGCFeatureSource.js +1 -1
  123. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  124. package/layers/mixins/ArcGISImageService.js +1 -1
  125. package/layers/support/SubtypeSublayer.js +1 -1
  126. package/layers/support/capabilities.js +1 -1
  127. package/layers/support/layerUtils.js +1 -1
  128. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  129. package/networks/CircuitManager.d.ts +33 -25
  130. package/networks/CircuitManager.js +1 -1
  131. package/networks/support/typeUtils.d.ts +4 -1
  132. package/networks/support/typeUtils.js +1 -1
  133. package/package.json +3 -3
  134. package/renderers/ClassBreaksRenderer.js +1 -1
  135. package/renderers/UniqueValueRenderer.js +1 -1
  136. package/renderers/support/scaleDependentSymbolUtils.js +2 -0
  137. package/rest/networks/circuits/queryCircuits.js +1 -1
  138. package/rest/networks/circuits/support/QueryCircuitsParameters.d.ts +21 -15
  139. package/rest/networks/circuits/support/QueryCircuitsParameters.js +1 -1
  140. package/rest/query/operations/query.js +1 -1
  141. package/rest/support/Query.js +1 -1
  142. package/support/revision.js +1 -1
  143. package/third-party-notices.txt +19 -12
  144. package/views/2d/engine/webgl/GlyphSDFCreator.js +1 -1
  145. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  146. package/views/3d/analysis/LineOfSight/LineOfSightAuthoringStore.js +2 -0
  147. package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +2 -0
  148. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  149. package/views/3d/analysis/LineOfSight/LineOfSightDrawToolRenderer.js +2 -0
  150. package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +2 -0
  151. package/views/3d/analysis/LineOfSight/LineOfSightPlacementTool.js +2 -0
  152. package/views/3d/analysis/LineOfSight/LineOfSightRootPlugin.js +2 -0
  153. package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +2 -0
  154. package/views/3d/analysis/LineOfSight/LineOfSightTool2.js +1 -1
  155. package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
  156. package/views/3d/layers/FeatureLikeLayerViewBase3D.js +1 -1
  157. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  158. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceRayMarching.glsl.js +149 -0
  159. package/views/3d/webgl-engine/core/shaderLibrary/shading/WaterColor.glsl.js +2 -2
  160. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +1 -1
  161. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  162. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationTechniqueConfiguration.js +1 -1
  163. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  164. package/views/3d/webgl-engine/materials/WaterTechniqueConfiguration.js +1 -1
  165. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  166. package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
  167. package/webmap/utils.js +1 -1
  168. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  169. package/assets/esri/core/workers/chunks/0c074c46d106ca4d3bad.js +0 -1
  170. package/assets/esri/core/workers/chunks/1f16bc8c02d8c4b2f693.js +0 -1
  171. package/assets/esri/core/workers/chunks/29878b52aa12b3815230.js +0 -1
  172. package/assets/esri/core/workers/chunks/2c916b93d8a6e6b9c0d7.js +0 -1
  173. package/assets/esri/core/workers/chunks/3ea5a18b264628dc37f0.js +0 -1
  174. package/assets/esri/core/workers/chunks/41913575dd45c65d645e.js +0 -1
  175. package/assets/esri/core/workers/chunks/46e622857ba92a72a317.js +0 -1
  176. package/assets/esri/core/workers/chunks/49e8144effc299dfcd66.js +0 -1
  177. package/assets/esri/core/workers/chunks/4d0f793dee4ad919221b.js +0 -1
  178. package/assets/esri/core/workers/chunks/65ac73de5bb133c6bf89.js +0 -1
  179. package/assets/esri/core/workers/chunks/67ec1694d6e18b7c234c.js +0 -1
  180. package/assets/esri/core/workers/chunks/6e526c06825ecc6c99c0.js +0 -1
  181. package/assets/esri/core/workers/chunks/6f7aaba26773fe416ac2.js +0 -1
  182. package/assets/esri/core/workers/chunks/7acf82763aeba44049d0.js +0 -1
  183. package/assets/esri/core/workers/chunks/88eb1e4320c4ada01711.js +0 -1
  184. package/assets/esri/core/workers/chunks/8af9a78cf316581ea482.js +0 -1
  185. package/assets/esri/core/workers/chunks/96bba4d93a32ad34a1c8.js +0 -1
  186. package/assets/esri/core/workers/chunks/97719271a3e4c9f2b2c9.js +0 -1
  187. package/assets/esri/core/workers/chunks/9ea23cd4b2664c08b670.js +0 -1
  188. package/assets/esri/core/workers/chunks/a1a12552d34ea9eea130.js +0 -1
  189. package/assets/esri/core/workers/chunks/a844547bf33a8527ee9f.js +0 -2
  190. package/assets/esri/core/workers/chunks/ac5999c88c27b49cd760.js +0 -1
  191. package/assets/esri/core/workers/chunks/b575292013bceef9b015.js +0 -1
  192. package/assets/esri/core/workers/chunks/bbc27d9285162696d089.js +0 -1
  193. package/assets/esri/core/workers/chunks/bc8a74da48b08309875f.js +0 -1
  194. package/assets/esri/core/workers/chunks/cd7159600ce132e32d04.js +0 -1
  195. package/assets/esri/core/workers/chunks/ce66c551b7083913eee5.js +0 -1
  196. package/assets/esri/core/workers/chunks/cf7acf5acb6d322fd996.js +0 -1
  197. package/assets/esri/core/workers/chunks/d9c3f14eee4db7a7137b.js +0 -1
  198. package/assets/esri/core/workers/chunks/db3c484bfa607dec6050.js +0 -1
  199. package/assets/esri/core/workers/chunks/dcc719e15b2e0cce1f3b.js +0 -1
  200. package/assets/esri/core/workers/chunks/ded2f19a1685db2137f4.js +0 -2
  201. package/assets/esri/core/workers/chunks/f43d628d47eec7d530c7.js +0 -1
  202. package/assets/esri/core/workers/chunks/fae147d03ed723ab234d.js +0 -1
  203. package/assets/esri/core/workers/chunks/fcf51697c361e0075cc2.js +0 -1
  204. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js +0 -132
  205. /package/assets/esri/core/workers/chunks/{ded2f19a1685db2137f4.js.LICENSE.txt → defac06f9e2b43090677.js.LICENSE.txt} +0 -0
  206. /package/assets/esri/core/workers/chunks/{a844547bf33a8527ee9f.js.LICENSE.txt → fe30e61652716fcccf16.js.LICENSE.txt} +0 -0
@@ -1,39 +1,45 @@
1
1
  import type CircuitLocation from "../../../../networks/support/CircuitLocation.js";
2
2
  import type { JSONSupport } from "../../../../core/JSONSupport.js";
3
+ import type { CircuitHierarchy, CircuitStatus } from "../../../../networks/support/typeUtils.js";
3
4
  import type { CircuitLocationProperties } from "../../../../networks/support/CircuitLocation.js";
4
5
 
5
6
  /** @since 5.0 */
6
- export interface QueryCircuitsParametersProperties extends Partial<Pick<QueryCircuitsParameters, "locationType" | "returnConsumerCircuits">> {
7
+ export interface QueryCircuitsParametersProperties extends Partial<Pick<QueryCircuitsParameters, "circuitHierarchy" | "circuitStatus" | "locationType">> {
7
8
  /**
8
- * The start or stop location of the circuit to query.
9
+ * The list of locations to query circuits by.
9
10
  *
10
- * @since 5.0
11
+ * @since 5.1
11
12
  */
12
- location?: CircuitLocationProperties | null;
13
+ locations?: CircuitLocationProperties[] | null;
13
14
  }
14
15
 
15
16
  /** @since 5.0 */
16
17
  export default class QueryCircuitsParameters extends JSONSupport {
17
18
  constructor(properties?: QueryCircuitsParametersProperties);
18
19
  /**
19
- * The start or stop location of the circuit to query.
20
+ * Specifies whether to return the associated consumer and provider circuits with the queried circuit.
20
21
  *
21
- * @since 5.0
22
+ * @default "none"
23
+ * @since 5.1
22
24
  */
23
- get location(): CircuitLocation | null | undefined;
24
- set location(value: CircuitLocationProperties | null | undefined);
25
+ accessor circuitHierarchy: CircuitHierarchy;
25
26
  /**
26
- * The type of location to query circuits by.
27
+ * Specifies whether to filter the result of the query to return only circuits of a certain status.
27
28
  *
28
- * @since 5.0
29
+ * @since 5.1
29
30
  */
30
- accessor locationType: "start" | "stop" | "all" | null | undefined;
31
+ accessor circuitStatus: CircuitStatus | null | undefined;
31
32
  /**
32
- * If false, returns only the immediate circuits passing through
33
- * the specified location. Otherwise, returns all the circuits that consume the immediate circuits.
33
+ * The list of locations to query circuits by.
34
+ *
35
+ * @since 5.1
36
+ */
37
+ get locations(): CircuitLocation[] | null | undefined;
38
+ set locations(value: CircuitLocationProperties[] | null | undefined);
39
+ /**
40
+ * The type of location to query circuits by.
34
41
  *
35
- * @default false
36
42
  * @since 5.0
37
43
  */
38
- accessor returnConsumerCircuits: boolean;
44
+ accessor locationType: "start" | "stop" | "all" | null | undefined;
39
45
  }
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as t}from"tslib";import{JSONSupport as o}from"../../../../core/JSONSupport.js";import{property as r,subclass as e}from"../../../../core/accessorSupport/decorators.js";import{ensureClass as i}from"../../../../core/accessorSupport/ensureType.js";import s from"../../../../networks/support/CircuitLocation.js";import{writer as n}from"../../../../core/accessorSupport/decorators/writer.js";var p;let l=p=class extends o{static from(t){return i(p,t)}constructor(t){super(t),this.gdbVersion=null,this.sessionId=null,this.moment=null,this.domainNetworkName=null,this.circuits=null,this.location=null,this.locationType=null,this.returnConsumerCircuits=!1,this.resultTypes=null}writeLocation(t,o){null!=t&&(o.sourceId=t.sourceId,o.globalId=t.globalId,o.firstUnit=t.firstUnit,o.lastUnit=t.lastUnit)}};t([r({type:String,json:{write:!0}})],l.prototype,"gdbVersion",void 0),t([r({type:String,json:{write:!0}})],l.prototype,"sessionId",void 0),t([r({type:Date,json:{type:Number,write:{writer:(t,o)=>{o.moment=t?t.getTime():null}}}})],l.prototype,"moment",void 0),t([r({type:String,json:{write:!0}})],l.prototype,"domainNetworkName",void 0),t([r({type:[String],json:{write:!0}})],l.prototype,"circuits",void 0),t([r({type:s,json:{write:!0}})],l.prototype,"location",void 0),t([n("location")],l.prototype,"writeLocation",null),t([r({type:String,json:{write:!0}})],l.prototype,"locationType",void 0),t([r({type:Boolean,json:{write:!0}})],l.prototype,"returnConsumerCircuits",void 0),t([r({type:[String],json:{write:!0}})],l.prototype,"resultTypes",void 0),l=p=t([e("esri.rest.networks.circuits.support.QueryCircuitsParameters")],l);const u=l;export{u as default};
2
+ import{__decorate as t}from"tslib";import{JSONSupport as r}from"../../../../core/JSONSupport.js";import{property as i,subclass as o}from"../../../../core/accessorSupport/decorators.js";import{ensureClass as e}from"../../../../core/accessorSupport/ensureType.js";import s from"../../../../networks/support/CircuitLocation.js";import{CircuitHierarchyKebabDict as p}from"../../../../networks/support/typeUtils.js";var n;let c=n=class extends r{static from(t){return e(n,t)}constructor(t){super(t),this.gdbVersion=null,this.sessionId=null,this.moment=null,this.domainNetworkName=null,this.circuits=null,this.circuitIds=null,this.locations=null,this.circuitHierarchy="none",this.circuitStatus=null,this.resultTypes=null}};t([i({type:String,json:{write:!0}})],c.prototype,"gdbVersion",void 0),t([i({type:String,json:{write:!0}})],c.prototype,"sessionId",void 0),t([i({type:Date,json:{type:Number,write:{writer:(t,r)=>{r.moment=t?t.getTime():null}}}})],c.prototype,"moment",void 0),t([i({type:String,json:{write:!0}})],c.prototype,"domainNetworkName",void 0),t([i({type:[String],json:{write:{writer:(t,r)=>r.circuits=JSON.stringify(t??[])}}})],c.prototype,"circuits",void 0),t([i({type:[String],json:{write:{writer:(t,r)=>r.circuitIds=JSON.stringify(t??[])}}})],c.prototype,"circuitIds",void 0),t([i({type:[s],json:{write:{writer:(t,r)=>r.locations=JSON.stringify(t??[])}}})],c.prototype,"locations",void 0),t([i({type:String,json:{write:!0}})],c.prototype,"locationType",void 0),t([i({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],c.prototype,"circuitHierarchy",void 0),t([i({type:String,json:{write:!0}})],c.prototype,"circuitStatus",void 0),t([i({type:[String],json:{write:{writer:(t,r)=>r.resultTypes=JSON.stringify(t??[])}}})],c.prototype,"resultTypes",void 0),c=n=t([o("esri.rest.networks.circuits.support.QueryCircuitsParameters")],c);const u=c;export{u as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import t from"../../../request.js";import{urlToObject as n,join as r}from"../../../core/urlUtils.js";import{normalizeCentralMeridian as e}from"../../../geometry/support/normalizeUtils.js";import{mapParameters as o}from"../../operations/urlUtils.js";import{parsePBFFeatureQuery as u}from"./pbfQueryUtils.js";import{safeExtentResultFormat as s,queryLikeToQueryStringParameters as i}from"./queryUtils.js";import{applyFeatureSetZUnitScaling as c}from"./queryZScale.js";const a="Layer does not support extent calculation.";function y(t,n,r){return i(t,n,r)}async function l(t,n,r,e,o){const u=n.timeExtent?.isEmpty?{features:[]}:await E(t,n,"json",e,void 0,o);return c(n,r,u),u}async function f(t,n,r,e,o){if(n.timeExtent?.isEmpty)return r.featureSet;const s=await m(t,n,e,o);return u(s,r)}function m(t,n,r,e){return E(t,n,"pbf",r,void 0,e)}function p(t,n,r,e){return n.timeExtent?.isEmpty?Promise.resolve({objectIds:[]}):E(t,n,"json",r,{returnIdsOnly:!0},e)}async function O(t,n,r,e){return n.timeExtent?.isEmpty?0:(await E(t,n,"json",r,{returnIdsOnly:!0,returnCountOnly:!0},e)).count}async function d(t,n,r){if(n.timeExtent?.isEmpty)return{count:0,extent:null};const e=await E(t,n,s,r,{returnExtentOnly:!0,returnCountOnly:!0});if(e.hasOwnProperty("extent"))return e;const o="string"==typeof t?t:t.path;if(/\/imageserver\/?$/i.test(o)&&e.hasOwnProperty("count")){const o=await E(t,n,s,r,{returnExtentOnly:!0});return{count:e.count,extent:o.extent}}if(e.features)throw new Error(a);if(e.hasOwnProperty("count"))throw new Error(a);return e}function w(t,n){if(!t.returnIdsOnly||!n.uniqueIdFields)return t;const r={...t,returnUniqueIdsOnly:!0};return delete r.returnIdsOnly,r}async function E(n,r,e,o={},u={},s={}){const i=await j(n,r,e,o,u,s),c="json"===e?"json":"array-buffer";return t(i.url,{responseType:c,...i.options}).then(({data:t})=>t)}async function j(t,u,s,i,c={},a={}){const l="string"==typeof t?n(t):t,f=u.geometry?[u.geometry]:[],m=await e(f,null,{signal:i.signal}),p=m?.[0];if(null!=p){const t=u.clone();t.geometry=p.clone(),u=t}const O=o({...l.query,f:s,...w(c,a),...y(u,c,a)});return i={...i,query:{...O,...i.query}},new x(r(l.path,h(u,c)?"query3d":"query"),i)}class x{constructor(t,n){this.url=t,this.options=n}}function h(t,n){return null!=t.formatOf3DObjects&&!(n.returnCountOnly||n.returnExtentOnly||n.returnIdsOnly)}export{x as RunQueryParameters,l as executeQuery,O as executeQueryForCount,d as executeQueryForExtent,p as executeQueryForIds,f as executeQueryPBF,m as executeQueryPBFBuffer,j as getQueryParameters,y as queryToQueryStringParameters,E as runQuery};
2
+ import t from"../../../request.js";import{urlToObject as n,join as r}from"../../../core/urlUtils.js";import{normalizeCentralMeridian as e}from"../../../geometry/support/normalizeUtils.js";import{mapParameters as o}from"../../operations/urlUtils.js";import{parsePBFFeatureQuery as u}from"./pbfQueryUtils.js";import{safeExtentResultFormat as s,queryLikeToQueryStringParameters as i}from"./queryUtils.js";import{applyFeatureSetZUnitScaling as c}from"./queryZScale.js";const a="Layer does not support extent calculation.";function y(t,n,r){return i(t,n,r)}async function l(t,n,r,e,o){const u=n.timeExtent?.isEmpty?{features:[]}:await d(t,n,"json",e,void 0,o);return c(n,r,u),u}async function f(t,n,r,e,o){if(n.timeExtent?.isEmpty)return r.featureSet;const s=await m(t,n,e,o);return u(s,r)}function m(t,n,r,e){return d(t,n,"pbf",r,void 0,e)}function p(t,n,r,e){return n.timeExtent?.isEmpty?Promise.resolve({objectIds:[]}):d(t,n,"json",r,{returnIdsOnly:!0},e)}async function O(t,n,r,e){return n.timeExtent?.isEmpty?0:(await d(t,n,"json",r,{returnCountOnly:!0},e)).count}async function w(t,n,r){if(n.timeExtent?.isEmpty)return{count:0,extent:null};const e=await d(t,n,s,r,{returnExtentOnly:!0,returnCountOnly:!0});if(e.hasOwnProperty("extent"))return e;const o="string"==typeof t?t:t.path;if(/\/imageserver\/?$/i.test(o)&&e.hasOwnProperty("count")){const o=await d(t,n,s,r,{returnExtentOnly:!0});return{count:e.count,extent:o.extent}}if(e.features)throw new Error(a);if(e.hasOwnProperty("count"))throw new Error(a);return e}function E(t,n){if(!t.returnIdsOnly||!n.uniqueIdFields)return t;const r={...t,returnUniqueIdsOnly:!0};return delete r.returnIdsOnly,r}async function d(n,r,e,o={},u={},s={}){const i=await j(n,r,e,o,u,s),c="json"===e?"json":"array-buffer";return t(i.url,{responseType:c,...i.options}).then(({data:t})=>t)}async function j(t,u,s,i,c={},a={}){const l="string"==typeof t?n(t):t,f=u.geometry?[u.geometry]:[],m=await e(f,null,{signal:i.signal}),p=m?.[0];if(null!=p){const t=u.clone();t.geometry=p.clone(),u=t}const O=o({...l.query,f:s,...E(c,a),...y(u,c,a)});return i={...i,query:{...O,...i.query}},new x(r(l.path,h(u,c)?"query3d":"query"),i)}class x{constructor(t,n){this.url=t,this.options=n}}function h(t,n){return null!=t.formatOf3DObjects&&!(n.returnCountOnly||n.returnExtentOnly||n.returnIdsOnly)}export{x as RunQueryParameters,l as executeQuery,O as executeQueryForCount,w as executeQueryForExtent,p as executeQueryForIds,f as executeQueryPBF,m as executeQueryPBFBuffer,j as getQueryParameters,y as queryToQueryStringParameters,d as runQuery};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as t}from"tslib";import{JSONMap as e}from"../../core/jsonMap.js";import{JSONSupport as r}from"../../core/JSONSupport.js";import{clone as o}from"../../core/lang.js";import{property as i,cast as s,subclass as n}from"../../core/accessorSupport/decorators.js";import{ensureClass as a}from"../../core/accessorSupport/ensureType.js";import l from"../../geometry/Point.js";import p from"../../geometry/SpatialReference.js";import{fromJSON as u}from"../../geometry/support/jsonUtils.js";import{geometryTypes as m}from"../../geometry/support/typeUtils.js";import d from"../layerSources/DynamicDataLayer.js";import c from"./FullTextSearch.js";import y from"./QuantizationParameters.js";import{spatialRelKebabDict as h}from"./spatialRelationships.js";import f from"./StatisticDefinition.js";import j from"../../time/TimeExtent.js";import{writer as v}from"../../core/accessorSupport/decorators/writer.js";import{enumeration as w}from"../../core/accessorSupport/decorators/enumeration.js";var S;const g=new e({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let R=class extends r{static{S=this}static from(t){return a(S,t)}constructor(t){super(t),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.returnTrueCurves=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.outDistance=null,this.where=null}castDatumTransformation(t){return"number"==typeof t||"object"==typeof t?t:null}writeHistoricMoment(t,e){e.historicMoment=t&&t.getTime()}writeParameterValues(t,e){if(t){const r={};for(const e in t){const o=t[e];Array.isArray(o)?r[e]=o.map(t=>t instanceof Date?t.getTime():t):o instanceof Date?r[e]=o.getTime():r[e]=o}e.parameterValues=r}}writeStart(t,e){e.resultOffset=this.start,e.resultRecordCount=this.num||10,e.where="1=1"}writeWhere(t,e){e.where=t||"1=1"}clone(){return new S(o({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,formatOf3DObjects:this.formatOf3DObjects,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:null!=this.historicMoment?new Date(this.historicMoment):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,returnTrueCurves:this.returnTrueCurves,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,outDistance:this.outDistance,where:this.where}))}static{this.MAX_MAX_RECORD_COUNT_FACTOR=5}};t([i({json:{write:!0}})],R.prototype,"aggregateIds",void 0),t([i({type:Boolean,json:{write:!0}})],R.prototype,"cacheHint",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"compactGeometryEnabled",void 0),t([i({json:{write:!0}})],R.prototype,"datumTransformation",void 0),t([s("datumTransformation")],R.prototype,"castDatumTransformation",null),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"defaultSpatialReferenceEnabled",void 0),t([i({type:Number,json:{write:!0}})],R.prototype,"distance",void 0),t([i({type:d,json:{write:!0}})],R.prototype,"dynamicDataSource",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"formatOf3DObjects",void 0),t([i({type:[c],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.fullText&&this.fullText.length>0}}}}})],R.prototype,"fullText",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"gdbVersion",void 0),t([i({types:m,json:{read:u,write:!0}})],R.prototype,"geometry",void 0),t([i({type:Number,json:{write:!0}})],R.prototype,"geometryPrecision",void 0),t([i({type:[String],json:{write:!0}})],R.prototype,"groupByFieldsForStatistics",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"having",void 0),t([i({type:Date})],R.prototype,"historicMoment",void 0),t([v("historicMoment")],R.prototype,"writeHistoricMoment",null),t([i({type:Number,json:{write:!0}})],R.prototype,"maxAllowableOffset",void 0),t([i({type:Number,cast:t=>t<1?1:t>R.MAX_MAX_RECORD_COUNT_FACTOR?R.MAX_MAX_RECORD_COUNT_FACTOR:t,json:{write:{overridePolicy:t=>({enabled:t>1})}}})],R.prototype,"maxRecordCountFactor",void 0),t([i({type:["xyFootprint"],json:{write:!0}})],R.prototype,"multipatchOption",void 0),t([i({type:Number,json:{read:{source:"resultRecordCount"}}})],R.prototype,"num",void 0),t([i({json:{write:!0}})],R.prototype,"objectIds",void 0),t([i({type:[String],json:{write:!0}})],R.prototype,"orderByFields",void 0),t([i({type:[String],json:{write:!0}})],R.prototype,"outFields",void 0),t([i({type:p,json:{name:"outSR",write:!0}})],R.prototype,"outSpatialReference",void 0),t([i({type:[f],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],R.prototype,"outStatistics",void 0),t([i({json:{write:!0}})],R.prototype,"parameterValues",void 0),t([v("parameterValues")],R.prototype,"writeParameterValues",null),t([i({type:l,json:{write:!0}})],R.prototype,"pixelSize",void 0),t([i({type:y,json:{write:!0}})],R.prototype,"quantizationParameters",void 0),t([i({type:[Object],json:{write:!0}})],R.prototype,"rangeValues",void 0),t([i({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],R.prototype,"relationParameter",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"resultType",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnCentroid",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnDistinctValues",void 0),t([i({type:Boolean,json:{default:!0,write:!0}})],R.prototype,"returnExceededLimitFeatures",void 0),t([i({type:Boolean,json:{write:!0}})],R.prototype,"returnGeometry",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnQueryGeometry",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnM",void 0),t([i({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],R.prototype,"returnZ",void 0),t([i({type:Boolean,json:{write:!0}})],R.prototype,"returnTrueCurves",void 0),t([i({type:p,json:{write:!0}})],R.prototype,"sourceSpatialReference",void 0),t([w(h,{ignoreUnknown:!1,name:"spatialRel"})],R.prototype,"spatialRelationship",void 0),t([i({type:Number,json:{read:{source:"resultOffset"}}})],R.prototype,"start",void 0),t([v("start"),v("num")],R.prototype,"writeStart",null),t([i({type:String,json:{write:!0}})],R.prototype,"sqlFormat",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"text",void 0),t([i({type:j,json:{write:!0}})],R.prototype,"timeExtent",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"timeReferenceUnknownClient",void 0),t([w(g,{ignoreUnknown:!1}),i({json:{write:{overridePolicy(t){return{enabled:!!t&&null!=this.distance}}}}})],R.prototype,"units",void 0),t([i()],R.prototype,"outDistance",void 0),t([i({type:String,json:{write:{overridePolicy(t){return{enabled:null!=t||null!=this.start&&this.start>0}}}}})],R.prototype,"where",void 0),t([v("where")],R.prototype,"writeWhere",null),R=S=t([n("esri.rest.support.Query")],R);export{R as default};
2
+ import{__decorate as t}from"tslib";import{JSONMap as e}from"../../core/jsonMap.js";import{JSONSupport as r}from"../../core/JSONSupport.js";import{clone as o}from"../../core/lang.js";import{property as i,cast as s,subclass as n}from"../../core/accessorSupport/decorators.js";import{ensureClass as a}from"../../core/accessorSupport/ensureType.js";import l from"../../geometry/Point.js";import p from"../../geometry/SpatialReference.js";import{fromJSON as u}from"../../geometry/support/jsonUtils.js";import{geometryTypes as m}from"../../geometry/support/typeUtils.js";import d from"../layerSources/DynamicDataLayer.js";import c from"./FullTextSearch.js";import y from"./QuantizationParameters.js";import{spatialRelKebabDict as h}from"./spatialRelationships.js";import f from"./StatisticDefinition.js";import g from"../../time/TimeExtent.js";import{writer as v}from"../../core/accessorSupport/decorators/writer.js";import{enumeration as j}from"../../core/accessorSupport/decorators/enumeration.js";var w;const S=new e({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let R=class extends r{static{w=this}static from(t){return a(w,t)}constructor(t){super(t),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnAggregateIds=!1,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.returnTrueCurves=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.outDistance=null,this.where=null}castDatumTransformation(t){return"number"==typeof t||"object"==typeof t?t:null}writeHistoricMoment(t,e){e.historicMoment=t&&t.getTime()}writeParameterValues(t,e){if(t){const r={};for(const e in t){const o=t[e];Array.isArray(o)?r[e]=o.map(t=>t instanceof Date?t.getTime():t):o instanceof Date?r[e]=o.getTime():r[e]=o}e.parameterValues=r}}writeStart(t,e){e.resultOffset=this.start,e.resultRecordCount=this.num||10,e.where="1=1"}writeWhere(t,e){e.where=t||"1=1"}clone(){return new w(o({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,formatOf3DObjects:this.formatOf3DObjects,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:null!=this.historicMoment?new Date(this.historicMoment):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnAggregateIds:this.returnAggregateIds,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,returnTrueCurves:this.returnTrueCurves,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,outDistance:this.outDistance,where:this.where}))}static{this.MAX_MAX_RECORD_COUNT_FACTOR=5}};t([i({json:{write:!0}})],R.prototype,"aggregateIds",void 0),t([i({type:Boolean,json:{write:!0}})],R.prototype,"cacheHint",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"compactGeometryEnabled",void 0),t([i({json:{write:!0}})],R.prototype,"datumTransformation",void 0),t([s("datumTransformation")],R.prototype,"castDatumTransformation",null),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"defaultSpatialReferenceEnabled",void 0),t([i({type:Number,json:{write:!0}})],R.prototype,"distance",void 0),t([i({type:d,json:{write:!0}})],R.prototype,"dynamicDataSource",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"formatOf3DObjects",void 0),t([i({type:[c],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.fullText&&this.fullText.length>0}}}}})],R.prototype,"fullText",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"gdbVersion",void 0),t([i({types:m,json:{read:u,write:!0}})],R.prototype,"geometry",void 0),t([i({type:Number,json:{write:!0}})],R.prototype,"geometryPrecision",void 0),t([i({type:[String],json:{write:!0}})],R.prototype,"groupByFieldsForStatistics",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"having",void 0),t([i({type:Date})],R.prototype,"historicMoment",void 0),t([v("historicMoment")],R.prototype,"writeHistoricMoment",null),t([i({type:Number,json:{write:!0}})],R.prototype,"maxAllowableOffset",void 0),t([i({type:Number,cast:t=>t<1?1:t>R.MAX_MAX_RECORD_COUNT_FACTOR?R.MAX_MAX_RECORD_COUNT_FACTOR:t,json:{write:{overridePolicy:t=>({enabled:t>1})}}})],R.prototype,"maxRecordCountFactor",void 0),t([i({type:["xyFootprint"],json:{write:!0}})],R.prototype,"multipatchOption",void 0),t([i({type:Number,json:{read:{source:"resultRecordCount"}}})],R.prototype,"num",void 0),t([i({json:{write:!0}})],R.prototype,"objectIds",void 0),t([i({type:[String],json:{write:!0}})],R.prototype,"orderByFields",void 0),t([i({type:[String],json:{write:!0}})],R.prototype,"outFields",void 0),t([i({type:p,json:{name:"outSR",write:!0}})],R.prototype,"outSpatialReference",void 0),t([i({type:[f],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],R.prototype,"outStatistics",void 0),t([i({json:{write:!0}})],R.prototype,"parameterValues",void 0),t([v("parameterValues")],R.prototype,"writeParameterValues",null),t([i({type:l,json:{write:!0}})],R.prototype,"pixelSize",void 0),t([i({type:y,json:{write:!0}})],R.prototype,"quantizationParameters",void 0),t([i({type:[Object],json:{write:!0}})],R.prototype,"rangeValues",void 0),t([i({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],R.prototype,"relationParameter",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"resultType",void 0),t([i({type:Boolean,json:{name:"returnAggIds",write:{overridePolicy(t){return{enabled:t&&!!this.groupByFieldsForStatistics?.length&&!!this.outStatistics?.length}}}}})],R.prototype,"returnAggregateIds",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnCentroid",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnDistinctValues",void 0),t([i({type:Boolean,json:{default:!0,write:!0}})],R.prototype,"returnExceededLimitFeatures",void 0),t([i({type:Boolean,json:{write:!0}})],R.prototype,"returnGeometry",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnQueryGeometry",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnM",void 0),t([i({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],R.prototype,"returnZ",void 0),t([i({type:Boolean,json:{write:!0}})],R.prototype,"returnTrueCurves",void 0),t([i({type:p,json:{write:!0}})],R.prototype,"sourceSpatialReference",void 0),t([j(h,{ignoreUnknown:!1,name:"spatialRel"})],R.prototype,"spatialRelationship",void 0),t([i({type:Number,json:{read:{source:"resultOffset"}}})],R.prototype,"start",void 0),t([v("start"),v("num")],R.prototype,"writeStart",null),t([i({type:String,json:{write:!0}})],R.prototype,"sqlFormat",void 0),t([i({type:String,json:{write:!0}})],R.prototype,"text",void 0),t([i({type:g,json:{write:!0}})],R.prototype,"timeExtent",void 0),t([i({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"timeReferenceUnknownClient",void 0),t([j(S,{ignoreUnknown:!1}),i({json:{write:{overridePolicy(t){return{enabled:!!t&&null!=this.distance}}}}})],R.prototype,"units",void 0),t([i()],R.prototype,"outDistance",void 0),t([i({type:String,json:{write:{overridePolicy(t){return{enabled:null!=t||null!=this.start&&this.start>0}}}}})],R.prototype,"where",void 0),t([v("where")],R.prototype,"writeWhere",null),R=w=t([n("esri.rest.support.Query")],R);export{R as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- const c="20260428",e="56b84fa94df450e2cdd94c2b47a2510c76cebefe";export{c as buildDate,e as commitHash};
2
+ const c="20260430",a="25a21c0430b606c2f0d6d5af52467c615ac694da";export{c as buildDate,a as commitHash};
@@ -772,23 +772,30 @@ DEALINGS IN THE SOFTWARE.
772
772
 
773
773
  -------------------------------------------------------------------------------
774
774
 
775
- woff2-patched/
775
+ wuff/
776
776
 
777
- https://github.com/zimond/woff2-rs
777
+ https://github.com/nicoburns/wuff
778
778
 
779
- Copyright 2022 Cimpress
779
+ Copyright (c) 2013-2017 by the WOFF2 Authors.
780
+ Copyright (c) 2025 by Nico Burns.
780
781
 
781
- Licensed under the Apache License, Version 2.0 (the "License");
782
- you may not use this file except in compliance with the License.
783
- You may obtain a copy of the License at
782
+ Permission is hereby granted, free of charge, to any person obtaining a copy
783
+ of this software and associated documentation files (the "Software"), to deal
784
+ in the Software without restriction, including without limitation the rights
785
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
786
+ copies of the Software, and to permit persons to whom the Software is
787
+ furnished to do so, subject to the following conditions:
784
788
 
785
- http://www.apache.org/licenses/LICENSE-2.0
789
+ The above copyright notice and this permission notice shall be included in
790
+ all copies or substantial portions of the Software.
786
791
 
787
- Unless required by applicable law or agreed to in writing, software
788
- distributed under the License is distributed on an "AS IS" BASIS,
789
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
790
- See the License for the specific language governing permissions and
791
- limitations under the License.
792
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
793
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
794
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
795
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
796
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
797
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
798
+ THE SOFTWARE.
792
799
 
793
800
  -------------------------------------------------------------------------------
794
801
 
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- const t=1e20;class e{constructor(t){this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=t.sdfSizePx+8*t.sdfBufferPx;this.canvasSize=e;const s=this._createCanvas(e);this.context=s.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.context.fillStyle="black",this.context.strokeStyle="black",this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.gridValues=new Float64Array(e),this.parabolaBoundaries=new Float64Array(e+1),this.parabolaIndices=new Uint16Array(e)}draw(e,s){const{context:i,gridInner:r,gridOuter:a,sdfSizePx:n,sdfBufferPx:o,canvasSize:l,cutoff:c,radius:h}=this;this.context.fillStyle="black",this.context.strokeStyle="black",this.context.clearRect(0,0,l,l);const f=e.paintCurves(s,i,n,o);if(!f)return null;const d=Math.ceil(f.width),u=Math.ceil(f.height),x=f.top,g=f.left;f.free();const w=d+2*o,y=u+2*o,S=new Uint8ClampedArray(Math.max(w*y,0)),b={buffer:S,width:d,height:u,top:x,left:g};if(0===d||0===u)return b;const p=i.getImageData(o,o,d,u);a.fill(t,0,S.length),r.fill(0,0,S.length);for(let P=0;P<u;P++)for(let e=0;e<d;e++){const s=p.data[4*(P*d+e)+3]/255;if(0===s)continue;const i=(P+o)*w+e+o;if(1===s)a[i]=0,r[i]=t;else{const t=.5-s;a[i]=t>0?t*t:0,r[i]=t<0?t*t:0}}this._edt(a,0,0,w,y,w),this._edt(r,0,0,w,y,w);for(let t=0;t<S.length;t++){const e=Math.sqrt(a[t])-Math.sqrt(r[t]);S[t]=Math.round(255-255*(e/h+c))}return b}_createCanvas(t){const e=document.createElement("canvas");return e.width=e.height=t,e}_edt(t,e,s,i,r,a){for(let n=e;n<e+i;n++)this._edt1d(t,s*a+n,a,r);for(let n=s;n<s+r;n++)this._edt1d(t,n*a+e,1,i)}_edt1d(e,s,i,r){const a=this.parabolaIndices,n=this.parabolaBoundaries,o=this.gridValues;a[0]=0,n[0]=-t,n[1]=t,o[0]=e[s];for(let l=1,c=0,h=0;l<r;l++){o[l]=e[s+l*i];const r=l*l;do{const t=a[c];h=(o[l]-o[t]+r-t*t)/(l-t)/2}while(h<=n[c]&&--c>-1);c++,a[c]=l,n[c]=h,n[c+1]=t}for(let t=0,l=0;t<r;t++){for(;n[l+1]<t;)l++;const r=a[l],c=t-r;e[s+t*i]=o[r]+c*c}}}export{e as GlyphSDFCreator};
2
+ const t=1e20;class e{constructor(t){this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=3*t.sdfSizePx;this.canvasSize=e;const s=this._createCanvas(e);this.context=s.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.gridValues=new Float64Array(e),this.parabolaBoundaries=new Float64Array(e+1),this.parabolaIndices=new Uint16Array(e)}draw(e,s){const{context:a,gridInner:i,gridOuter:r,sdfSizePx:n,sdfBufferPx:o,canvasSize:h,cutoff:l,radius:c}=this,d=n/e.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,h,h),this.context.translate(this.sdfSizePx,this.sdfSizePx),this.context.scale(d,d);const f=e.paintCurves(s,a);if(!f)return null;const u=f.xMin*d,x=f.xMax*d,g=f.yMin*d,M=f.yMax*d;f.free();const w=Math.ceil(x-u),y=Math.ceil(M-g),S=Math.floor(n+u-o),_=Math.floor(n+g-o),m=w+2*o,p=y+2*o,P=new Uint8ClampedArray(Math.max(m*p,0)),b=a.getImageData(S,_,m,p);r.fill(t,0,P.length),i.fill(0,0,P.length);for(let v=0;v<p;v++)for(let e=0;e<m;e++){const s=p-1-v,a=b.data[4*(s*m+e)+3]/255;if(0===a)continue;const n=v*m+e;if(1===a)r[n]=0,i[n]=t;else{const t=.5-a;r[n]=t>0?t*t:0,i[n]=t<0?t*t:0}}this._edt(r,0,0,m,p,m),this._edt(i,0,0,m,p,m);for(let t=0;t<P.length;t++){const e=Math.sqrt(r[t])-Math.sqrt(i[t]);P[t]=Math.round(255-255*(e/c+l))}const z=d*e.face_height();return{buffer:P,width:w,height:y,top:Math.round(M-z+2*o),left:Math.round(u-o)}}_createCanvas(t){const e=document.createElement("canvas");return e.width=e.height=t,e}_edt(t,e,s,a,i,r){for(let n=e;n<e+a;n++)this._edt1d(t,s*r+n,r,i);for(let n=s;n<s+i;n++)this._edt1d(t,n*r+e,1,a)}_edt1d(e,s,a,i){const r=this.parabolaIndices,n=this.parabolaBoundaries,o=this.gridValues;r[0]=0,n[0]=-t,n[1]=t,o[0]=e[s];let h=0;for(let l=1;l<i;l++){o[l]=e[s+l*a];const i=l*l;let c;do{const t=r[h];c=(o[l]-o[t]+i-t*t)/(l-t)/2}while(c<=n[h]&&--h>-1);h++,r[h]=l,n[h]=c,n[h+1]=t}for(let t=0,l=0;t<i;t++){for(;n[l+1]<t;)l++;const i=r[l],h=t-i;e[s+t*a]=o[i]+h*h}}}export{e as GlyphSDFCreator};