@arcgis/core 4.29.0-next.20231102 → 4.29.0-next.20231104

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 (118) hide show
  1. package/README.md +15 -25
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/08d031fa9a940e52b134.js +1 -0
  4. package/assets/esri/core/workers/chunks/0b2c9cf8de6e681c0937.js +1 -0
  5. package/assets/esri/core/workers/chunks/{6db1e9849d7ea72b3ade.js → 15969d6b00e1e7b0ced6.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{1da721608993783dc9cf.js → 24d04cca452ba2fec5d4.js} +1 -1
  7. package/assets/esri/core/workers/chunks/2bfec29b5a5ef68f914b.js +1 -0
  8. package/assets/esri/core/workers/chunks/413f2d371b55d052e835.js +1 -0
  9. package/assets/esri/core/workers/chunks/473ca48dfae4c4740b90.js +1 -0
  10. package/assets/esri/core/workers/chunks/5ac6ffab5c8fb41a4f42.js +1 -0
  11. package/assets/esri/core/workers/chunks/{cf982f2694d9a094e8fc.js → 6694168f82e199240070.js} +1 -1
  12. package/assets/esri/core/workers/chunks/6b2422e833f2f067a9e3.js +1 -0
  13. package/assets/esri/core/workers/chunks/6f48119e0d6162237699.js +1 -0
  14. package/assets/esri/core/workers/chunks/76d3bfee82c065894f28.js +1 -0
  15. package/assets/esri/core/workers/chunks/{277a372cca101e64ecc5.js → 813b474cc238ec16d588.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{be08c5e327c9ee48acea.js → 8be34838f7e83012e487.js} +1 -1
  17. package/assets/esri/core/workers/chunks/8c3e05aadde58cc63c88.js +1 -0
  18. package/assets/esri/core/workers/chunks/8e8fdf1749a54c66318c.js +1 -0
  19. package/assets/esri/core/workers/chunks/94b12274cb24ecec7933.js +1 -0
  20. package/assets/esri/core/workers/chunks/a3b844e904c5ca20b55b.js +1 -0
  21. package/assets/esri/core/workers/chunks/a91c267494bbe982c15c.js +1 -0
  22. package/assets/esri/core/workers/chunks/bbb58a904cfd2054a27c.js +1 -0
  23. package/assets/esri/core/workers/chunks/c9306fb3ec1a2d5e137a.js +1 -0
  24. package/assets/esri/core/workers/chunks/d22a48f60358efe8c661.js +1 -0
  25. package/assets/esri/core/workers/chunks/dc287bd40ffe3569ec65.js +1 -0
  26. package/assets/esri/core/workers/chunks/dd4547bfee8cbdbc54cf.js +1 -0
  27. package/assets/esri/core/workers/chunks/e9cbf9c8f8cbd9e544f5.js +1 -0
  28. package/assets/esri/core/workers/chunks/f0567dad52068e6303a4.js +1103 -0
  29. package/assets/esri/core/workers/chunks/f0e7100562270a98ef9b.js +1 -0
  30. package/assets/esri/core/workers/chunks/f23d32396d8a4e154547.js +1 -0
  31. package/assets/esri/core/workers/chunks/f570179657f35d8cd6ba.js +1 -0
  32. package/assets/esri/core/workers/chunks/fee5293e0232f0950bb3.js +1 -0
  33. package/assets/esri/themes/base/_OverlayItem.scss +0 -1
  34. package/assets/esri/themes/base/_View.scss +1 -0
  35. package/assets/esri/themes/base/widgets/_Bookmarks.scss +0 -1
  36. package/assets/esri/themes/base/widgets/_ButtonMenu.scss +0 -1
  37. package/assets/esri/themes/base/widgets/_ElevationProfile.scss +0 -1
  38. package/assets/esri/themes/base/widgets/_FeatureTable.scss +0 -1
  39. package/assets/esri/themes/base/widgets/_FloorFilter.scss +0 -4
  40. package/assets/esri/themes/base/widgets/_LabeledSwitch.scss +6 -1
  41. package/assets/esri/themes/base/widgets/_Tooltip.scss +0 -4
  42. package/assets/esri/themes/base/widgets/_ValuePicker.scss +1 -1
  43. package/assets/esri/themes/base/widgets/_Widget.scss +0 -2
  44. package/assets/esri/themes/dark/main.css +1 -1
  45. package/assets/esri/themes/light/main.css +1 -1
  46. package/assets/esri/themes/light/view.css +1 -1
  47. package/chunks/DefaultMaterial.glsl.js +12 -12
  48. package/core/handleUtils.js +1 -1
  49. package/core/sql/WhereClause.js +1 -1
  50. package/core/sql/sqlCompareUtils.js +1 -1
  51. package/core/sql/sqlDateParsingUtils.js +1 -1
  52. package/interfaces.d.ts +6 -0
  53. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  54. package/layers/mixins/ArcGISImageService.js +1 -1
  55. package/layers/support/FieldsIndex.js +1 -1
  56. package/layers/support/rasterFunctions/customBandIndexUtils.js +1 -1
  57. package/package.json +1 -1
  58. package/rest/imageService.js +1 -1
  59. package/rest/support/CameraInfo.js +1 -1
  60. package/rest/support/CameraInfoMixin.js +5 -0
  61. package/rest/support/FindImagesParameters.js +5 -0
  62. package/rest/support/FindImagesResult.js +5 -0
  63. package/rest/support/ImageInspectionInfo.js +5 -0
  64. package/rest/support/ImageUrlParameters.js +1 -1
  65. package/support/revision.js +1 -1
  66. package/views/2d/engine/webgl/WorldExtentClipRenderer.js +1 -1
  67. package/views/3d/glTF/internal/Resource.js +1 -1
  68. package/views/3d/layers/I3SMeshView3D.js +1 -1
  69. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  70. package/views/3d/layers/PointCloudWorker.js +1 -1
  71. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  72. package/views/3d/layers/graphics/GraphicStateTracking.js +1 -1
  73. package/views/3d/layers/i3s/I3SIndex.js +1 -1
  74. package/views/3d/layers/i3s/I3SIntersectionHandler.js +1 -1
  75. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  76. package/views/3d/layers/i3s/LoDUtil.js +1 -1
  77. package/views/3d/layers/i3s/PagedNodeIndex.js +1 -1
  78. package/views/3d/layers/i3s/PointRenderer.js +1 -1
  79. package/views/3d/support/dito.js +1 -1
  80. package/views/3d/terrain/OverlayFramebufferObject.js +1 -1
  81. package/views/3d/terrain/OverlayManager.js +1 -1
  82. package/views/3d/terrain/OverlayRenderer.js +1 -1
  83. package/views/3d/terrain/TerrainRenderer.js +1 -1
  84. package/views/3d/terrain/TerrainSurface.js +1 -1
  85. package/views/3d/webgl-engine/collections/Component/ComponentIntersectionData.js +1 -1
  86. package/views/3d/webgl-engine/core/shaderLibrary/shading/TextureTransformUV.glsl.js +6 -6
  87. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  88. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  89. package/views/webgl/FramebufferObject.js +1 -1
  90. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  91. package/widgets/Editor/workflowUtils.js +1 -1
  92. package/widgets/Features.js +1 -1
  93. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  94. package/widgets/support/LabeledSwitch.js +1 -1
  95. package/assets/esri/core/workers/chunks/0fac8a4747b1ad8e1618.js +0 -1
  96. package/assets/esri/core/workers/chunks/1b61404543213cf35e05.js +0 -1
  97. package/assets/esri/core/workers/chunks/299eeeab1778ec2e601f.js +0 -1
  98. package/assets/esri/core/workers/chunks/2c4258811b29310a06e9.js +0 -1103
  99. package/assets/esri/core/workers/chunks/2e5f22addef79e2e12b1.js +0 -1
  100. package/assets/esri/core/workers/chunks/30b6431e7944d0344ba4.js +0 -1
  101. package/assets/esri/core/workers/chunks/342d4b2fd331ab67bafa.js +0 -1
  102. package/assets/esri/core/workers/chunks/405743ac88df065e7c81.js +0 -1
  103. package/assets/esri/core/workers/chunks/48f1243baf529ba0f759.js +0 -1
  104. package/assets/esri/core/workers/chunks/4a4a6ba94f1b04e67f82.js +0 -1
  105. package/assets/esri/core/workers/chunks/4f0412b52844aa9c7bd4.js +0 -1
  106. package/assets/esri/core/workers/chunks/500a11efe8cea1d12d04.js +0 -1
  107. package/assets/esri/core/workers/chunks/503039dbc80a3564be21.js +0 -1
  108. package/assets/esri/core/workers/chunks/69afe082149ac86326d0.js +0 -1
  109. package/assets/esri/core/workers/chunks/79cc5da74eba82775e6e.js +0 -1
  110. package/assets/esri/core/workers/chunks/c60172cd277a1cbe28f5.js +0 -1
  111. package/assets/esri/core/workers/chunks/c95bafd4e789ea3eea6d.js +0 -1
  112. package/assets/esri/core/workers/chunks/cbb2af333a0856ec290b.js +0 -1
  113. package/assets/esri/core/workers/chunks/cdfa4f14957753f168f5.js +0 -1
  114. package/assets/esri/core/workers/chunks/cebcb7b63b97d519c0d1.js +0 -1
  115. package/assets/esri/core/workers/chunks/d9fe0525bcfdbffabe42.js +0 -1
  116. package/assets/esri/core/workers/chunks/db0be2fb84874739f795.js +0 -1
  117. package/assets/esri/core/workers/chunks/dd942ca09926047e0c64.js +0 -1
  118. package/assets/esri/core/workers/chunks/eec4909c59e9e812c67b.js +0 -1
package/README.md CHANGED
@@ -6,15 +6,17 @@ A minified, unbuilt version of the [ArcGIS Maps SDK for JavaScript](https://deve
6
6
 
7
7
  For an overview of the SDK, visit the [developer documentation](https://developers.arcgis.com/javascript/latest/key-features/) site.
8
8
 
9
- You can install these modules with [npm](https://npmjs.org/) and then use them directly in a framework such as [React](https://reactjs.org/), [Vue.js](https://vuejs.org) or [Angular](https://cli.angular.io/). Or, you can also create your own custom builds with [Webpack](https://webpackjs.org) or [Rollup](https://rollupjs.org).
9
+ You can install this package with [npm](https://npmjs.org/) and then use it directly in a framework such as [React](https://reactjs.org/), [Vue.js](https://vuejs.org) or [Angular](https://cli.angular.io/). Or, you can also create your own custom builds with a module bundler such as [Webpack](https://webpackjs.org) or [Rollup](https://rollupjs.org).
10
10
 
11
11
  The SDK includes [TypeScript](https://www.typescriptlang.org/) type definitions. The `.d.ts` declaration files are bundled with the install.
12
12
 
13
- Sample applications can be found at [github.com/Esri/jsapi-resources/](https://github.com/Esri/jsapi-resources/tree/master/esm-samples).
13
+ For more information on using the `next` versions, visit the [feedback-js-api-next](https://github.com/Esri/feedback-js-api-next/blob/main/README.md) repository.
14
+
15
+ Sample applications can be found at [github.com/Esri/jsapi-resources/](https://github.com/Esri/jsapi-resources/tree/main/esm-samples).
14
16
 
15
17
  ## Get started
16
18
 
17
- Install the modules into your project:
19
+ Install the package into your project:
18
20
 
19
21
  ```
20
22
  npm install @arcgis/core
@@ -22,35 +24,25 @@ npm install @arcgis/core
22
24
 
23
25
  ## Configure CSS
24
26
 
25
- Set the CSS to the same version as the installed SDK modules. You can verify the installed SDK version by running `npm list @arcgis/core`. If you are working with locally hosted assets skip to the _Manage assets locally_ section.
27
+ Set the CSS to the same version as the installed package. You can verify the installed SDK version by running `npm list @arcgis/core`. If you are working with locally hosted assets skip to the _Manage assets locally_ section.
26
28
 
27
- The first example shows importing CSS for production SDK version `4.26.0`:
29
+ The first example shows importing CSS for the `latest` SDK version: `4.28.7`:
28
30
 
29
31
  _index.css_
30
32
 
31
33
  ```css
32
- @import "https://js.arcgis.com/4.26/@arcgis/core/assets/esri/themes/light/main.css";
34
+ @import "https://js.arcgis.com/4.28/@arcgis/core/assets/esri/themes/light/main.css";
33
35
  ```
34
36
 
35
- The second example shows importing CSS for `next` SDK version `4.27.0-next.20230519`:
36
-
37
- _index.css_
38
-
39
- ```css
40
- @import "https://cdn.jsdelivr.net/npm/@arcgis/core@4.27.0-next.20230519/assets/esri/themes/light/main.css";
41
- ```
42
-
43
- For more information on using the next version, visit the [feedback-js-api-next](https://github.com/Esri/feedback-js-api-next/blob/main/README.md) repository.
44
-
45
37
  ## Working with assets
46
38
 
47
- The default configuration for local builds is for the SDK to automatically pull assets from a CDN at runtime, there is no need for additional configuration. The assets include styles, images, web workers, wasm and localization files. Production and `rc` versions of the SDK's assets are hosted on the ArcGIS CDN, while `next` builds (e.g. `4.27.0-next.20230519`) use assets hosted on the jsDelivr CDN.
39
+ The default configuration for local builds is for the SDK to automatically pull assets from a CDN at runtime. There is no need for additional configuration. The assets include styles, images, web workers, wasm and localization files. `latest` and `rc` versions of the SDK's assets are hosted on the ArcGIS CDN, while `next` versions use assets hosted on the jsDelivr CDN.
48
40
 
49
41
  ### Manage assets locally
50
42
 
51
- If you need to manage the assets locally, copy them into your project from `/node_modules/@arcgis/core/assets`, and then set `config.assetsPath` to ensure requests for assets are resolved correctly. A simple way to accomplish this is to configure a npm script that runs during your build process. For example, use npm to install `ncp` and configure a script in package.json to copy the folder.
43
+ If you need to manage the assets locally, copy them into your project from `/node_modules/@arcgis/core/assets`, and then set `config.assetsPath` to ensure requests for assets are resolved correctly. A simple way to accomplish this is to configure an npm script that runs during your build process. For example, use `cp` on MacOS and Windows PowerShell, or [`xcopy`](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy) on Windows, and configure a script in the package.json to copy the folder.
52
44
 
53
- **Important:** Every time you upgrade the SDK, be sure to recopy the new version of the assets to your project. This ensures the assets stay synchronized.
45
+ **Important:** Every time you upgrade the SDK, be sure to recopy the new version of the assets into your project. This ensures the assets and API library stay synchronized.
54
46
 
55
47
  Here’s a React example:
56
48
 
@@ -59,8 +51,8 @@ _package.json_
59
51
  ```json
60
52
  {
61
53
  "scripts": {
62
- "start": "ncp ./node_modules/@arcgis/core/assets ./public/assets && react-scripts start",
63
- "build": "ncp ./node_modules/@arcgis/core/assets ./public/assets && react-scripts build"
54
+ "start": "cp -R ./node_modules/@arcgis/core/assets ./public/assets && react-scripts start",
55
+ "build": "cp -R ./node_modules/@arcgis/core/assets ./public/assets && react-scripts build"
64
56
  }
65
57
  }
66
58
  ```
@@ -78,7 +70,7 @@ _index.css_
78
70
  @import "@arcgis/core/assets/esri/themes/light/main.css";
79
71
  ```
80
72
 
81
- For Angular, copy the asset files by configuring the `architect/build/options/assets` section of `angular.json`, for example:
73
+ For Angular, one example is to copy the asset files by configuring the `architect/build/options/assets` section of `angular.json`, for example:
82
74
 
83
75
  _angular.json_
84
76
 
@@ -121,15 +113,13 @@ _package.json_
121
113
  }
122
114
  ```
123
115
 
124
- Windows users can use [`xcopy`](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy) or [`ncp`](https://www.npmjs.com/package/ncp) for any platform.
125
-
126
116
  ## Requirements
127
117
 
128
118
  Use of the ArcGIS Maps SDK for JavaScript is subject to [System Requirements](https://developers.arcgis.com/javascript/latest/system-requirements/), and the terms described in the product-specific [Terms of Use.](https://www.esri.com/en-us/legal/terms/product-specific-scope-of-use) Learn more about licensing [here](https://developers.arcgis.com/javascript/latest/licensing/).
129
119
 
130
120
  ## Resources
131
121
 
132
- - [ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript/)
122
+ - [ArcGIS Maps SDK for JavaScript - Build with ES modules](https://developers.arcgis.com/javascript/latest/es-modules/)
133
123
  - [http://blogs.esri.com/esri/arcgis/tag/javascript/](https://blogs.esri.com/esri/arcgis/tag/javascript/)
134
124
  - [twitter@EsriDevs](https://twitter.com/EsriDevs)
135
125