@arcgis/core 4.34.0-next.21 → 4.34.0-next.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/applications/Components/arcadeFeatureUtils.d.ts +5 -0
- package/applications/Components/arcadeFeatureUtils.js +5 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{bcaf6edf887e4afbbdd2.js → 02dc6e31b1244e5bb785.js} +1 -1
- package/assets/esri/core/workers/chunks/{871fae52d2fddc9e7794.js → 04c17957c15234ca0321.js} +1 -1
- package/assets/esri/core/workers/chunks/084236ca316aad980192.js +1 -0
- package/assets/esri/core/workers/chunks/0b484224a92b52c34330.js +1 -0
- package/assets/esri/core/workers/chunks/{822b32aaeec05a347c84.js → 0ba6177ba118a0f032e2.js} +1 -1
- package/assets/esri/core/workers/chunks/0f6203ae32663b2b52db.js +1 -0
- package/assets/esri/core/workers/chunks/12723e79b996969e304e.js +1 -0
- package/assets/esri/core/workers/chunks/{bd7b985f7962b1cc7b8a.js → 146520d263b910b5bdc7.js} +1 -1
- package/assets/esri/core/workers/chunks/{445ddf57d2f503a0b98b.js → 15064c3b21b325d5c2f6.js} +1 -1
- package/assets/esri/core/workers/chunks/19ae76283a0cb0fe4dee.js +346 -0
- package/assets/esri/core/workers/chunks/{82a5000296134834d1ac.js → 1d75cb1747ffb7b8b050.js} +1 -1
- package/assets/esri/core/workers/chunks/20bcd2e6cf02e057ad7d.js +1 -0
- package/assets/esri/core/workers/chunks/{55ce214a10fb6fc2e901.js → 24fe862b607ec927e07f.js} +1 -1
- package/assets/esri/core/workers/chunks/30fae1f066dc3cd781f1.js +1 -0
- package/assets/esri/core/workers/chunks/{7ec73f63929b1623de72.js → 3793f282ddaccd3465f2.js} +1 -1
- package/assets/esri/core/workers/chunks/3fcd73ba832cb53d3a07.js +1 -0
- package/assets/esri/core/workers/chunks/{5e7f35bf1aab93cb1c52.js → 4cea5170939c8d363ef7.js} +1 -1
- package/assets/esri/core/workers/chunks/5253cca467fe9bc0a210.js +1 -0
- package/assets/esri/core/workers/chunks/{735d96d2b951cc1df3a3.js → 576e408fb0834f3948e8.js} +1 -1
- package/assets/esri/core/workers/chunks/{27c9d3f6cebca087a123.js → 6136bf09950adc46bc33.js} +1 -1
- package/assets/esri/core/workers/chunks/{dfd9ac2e28c96900c53e.js → 6c33ecffbc783cb8f944.js} +1 -1
- package/assets/esri/core/workers/chunks/6ca764b4baadef5c1515.js +1 -0
- package/assets/esri/core/workers/chunks/{fcdf714339060731fe1c.js → 7051bcc178eb512819f6.js} +1 -1
- package/assets/esri/core/workers/chunks/7cfba5cec425221962e8.js +1 -0
- package/assets/esri/core/workers/chunks/{3a753ce4de2e6ad40f7b.js → 86d6007c45f2aa643ac8.js} +1 -1
- package/assets/esri/core/workers/chunks/92ad9098006568358550.js +1 -0
- package/assets/esri/core/workers/chunks/{2ed698579befe73caafd.js → 94d75f3b215e3bd1b4d7.js} +1 -1
- package/assets/esri/core/workers/chunks/{15d1ab71aaf6bcf3145b.js → a7a5b89c2bb69f3af59c.js} +1 -1
- package/assets/esri/core/workers/chunks/{1d9e44bdd129cc682ae5.js → ac93b3f1ff15a95d926c.js} +1 -1
- package/assets/esri/core/workers/chunks/b4512d62b6cb26fc6b25.js +1 -0
- package/assets/esri/core/workers/chunks/{63e984a65ee670449a4a.js → b4bb461955a4c2bce072.js} +1 -1
- package/assets/esri/core/workers/chunks/{abc75c945f3cfb1629b0.js → ba5b24beebeb703b5919.js} +1 -1
- package/assets/esri/core/workers/chunks/{51afd0e71df1825d7593.js → c64fa94cba71ba2794e2.js} +1 -1
- package/assets/esri/core/workers/chunks/c94cc026c4ed330408fb.js +1 -0
- package/assets/esri/core/workers/chunks/cab1a1067f44ce374673.js +1 -0
- package/assets/esri/core/workers/chunks/{3f4a8c874c022dace9be.js → d1b363c418a67b087306.js} +1 -1
- package/assets/esri/core/workers/chunks/d45383d76ba99718b6d9.js +1 -0
- package/assets/esri/core/workers/chunks/{8b19fe829a9dc26fb3fe.js → d915d0a30d9beb24bd3a.js} +1 -1
- package/assets/esri/core/workers/chunks/{bbca1b85656d9ba71e4c.js → def8a854a05f17d3538e.js} +1 -1
- package/assets/esri/core/workers/chunks/{273ff53a68714e4daad5.js → e49a135a2933306a6105.js} +1 -1
- package/assets/esri/core/workers/chunks/{d31fa648497b0af97dc1.js → e9a9174c4d1a0a9effb6.js} +1 -1
- package/assets/esri/core/workers/chunks/f3d5d92e0aefc2593208.js +1 -0
- package/assets/esri/core/workers/chunks/{fc8bbc571216edd9ef5a.js → f3e3c2340452c1d60c95.js} +1 -1
- package/assets/esri/core/workers/chunks/{85b0e2a898251d048dda.js → f42155b7a4e6c5e80757.js} +1 -1
- package/assets/esri/core/workers/chunks/f43110391f124b8a179c.js +1009 -0
- package/assets/esri/core/workers/chunks/f90573c9dc36e51cd588.js +1 -0
- package/assets/esri/core/workers/chunks/{080a8a1c6fe2d215142d.js → fb5e2b1ced03eef28e96.js} +1 -1
- package/assets/esri/core/workers/chunks/fe73e74e3e4278aedcc3.js +1 -0
- package/config.js +1 -1
- package/core/Clonable.js +1 -1
- package/core/lang.js +1 -1
- package/geometry/Mesh.js +1 -1
- package/geometry/support/MeshComponent.js +1 -1
- package/geometry/support/MeshMaterial.js +1 -1
- package/geometry/support/MeshMaterialMetallicRoughness.js +1 -1
- package/geometry/support/MeshTexture.js +1 -1
- package/geometry/support/MeshTransform.js +1 -1
- package/geometry/support/MeshVertexAttributes.js +1 -1
- package/geometry/support/meshUtils/convertMeshVertexSpace.js +1 -1
- package/geometry/support/meshUtils/merge.js +1 -1
- package/geometry/support/meshUtils/meshCloneUtils.js +5 -0
- package/interfaces.d.ts +183 -41
- package/kernel.js +1 -1
- package/layers/VideoLayer.js +1 -1
- package/layers/support/SceneModification.js +1 -1
- package/layers/support/SceneModifications.js +1 -1
- package/layers/support/rasterDatasets/MRFRaster.js +1 -1
- package/layers/video/videoUtils.js +1 -1
- package/libs/basisu/BasisUEncoder.js +1 -1
- package/libs/dxtEncoder/DXTEncoder.js +1 -1
- package/libs/i3s/I3SModule.js +1 -1
- package/networks/support/utils.js +1 -1
- package/package.json +1 -1
- package/rest/knowledgeGraph/GraphAddFieldIndexResult.js +1 -1
- package/rest/knowledgeGraph/GraphAddNamedTypesResult.js +1 -1
- package/rest/knowledgeGraph/GraphAddPropertyResult.js +1 -1
- package/rest/knowledgeGraph/GraphDataModelOperationResult.d.ts +1 -1
- package/rest/knowledgeGraph/GraphDataModelOperationResult.js +1 -1
- package/rest/knowledgeGraph/GraphDeleteFieldIndexResult.js +1 -1
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.js +1 -1
- package/rest/knowledgeGraph/GraphDeletePropertyResult.js +1 -1
- package/rest/knowledgeGraph/GraphUpdateNamedTypesResult.js +1 -1
- package/rest/knowledgeGraph/GraphUpdatePropertyResult.js +1 -1
- package/rest/knowledgeGraph/GraphUpdateSearchIndexResult.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/layers/VideoLayerView2D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/state/GoToOperation.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/support/cameraUtils.js +1 -1
- package/views/3d/support/viewingModeUtils.js +5 -0
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/terrain/OverlayFramebufferObject.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/OverlayRenderTargets.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/webgl/ManagedFBOResource.js +1 -1
- package/views/3d/webgl.d.ts +2 -0
- package/views/3d/webgl.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/draw/DrawScreenTool.js +1 -1
- package/views/support/TextureCompressionHelper.js +1 -1
- package/views/support/TextureCompressionWorker.js +1 -1
- package/views/support/TextureCompressionWorkerHandle.js +1 -1
- package/views/support/layerViewUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/EditableInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/InputBase.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
- package/widgets/Editor/Edits.js +1 -1
- package/widgets/Feature/FeatureExpression/FeatureExpressionViewModel.js +1 -1
- package/widgets/Feature/FeatureViewModel.js +1 -1
- package/widgets/Feature/support/arcadeFeatureUtils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeature.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeaturesDrillIn.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/support/Selector2D/SelectionOperation.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/06c3725d6cc21e7e4bcf.js +0 -1
- package/assets/esri/core/workers/chunks/0f5643d5437f48c63225.js +0 -1
- package/assets/esri/core/workers/chunks/1c7393bcd6e85ba25e1b.js +0 -1
- package/assets/esri/core/workers/chunks/2a784da5fa3f502d1803.js +0 -1
- package/assets/esri/core/workers/chunks/2e3f620c79ec04033a6e.js +0 -1
- package/assets/esri/core/workers/chunks/48953ddf0bbcf3d77e04.js +0 -1
- package/assets/esri/core/workers/chunks/5b7464137aacf1c5fd78.js +0 -1
- package/assets/esri/core/workers/chunks/7925e8ffa8027b59410e.js +0 -1
- package/assets/esri/core/workers/chunks/8235a997acb45ab43173.js +0 -1
- package/assets/esri/core/workers/chunks/8fa6c938e8dc7bbfaeb7.js +0 -1
- package/assets/esri/core/workers/chunks/9d2cb559dd9af4e1727c.js +0 -1
- package/assets/esri/core/workers/chunks/9eb1a171f5ef1fef42ed.js +0 -346
- package/assets/esri/core/workers/chunks/bac5e1d50b69f0d94694.js +0 -1
- package/assets/esri/core/workers/chunks/bcefb413d03d59506b5a.js +0 -1009
- package/assets/esri/core/workers/chunks/c317819ab0544c50c078.js +0 -1
- package/assets/esri/core/workers/chunks/c96fed4889712f5a9135.js +0 -1
- package/assets/esri/core/workers/chunks/cb4c49d5b70f9563bc46.js +0 -1
- package/assets/esri/core/workers/chunks/e9aa1d9ded8a52a40c57.js +0 -1
- package/assets/esri/core/workers/chunks/f65ad6a41c0c69bf1b21.js +0 -1
- package/assets/esri/core/workers/chunks/f806e9221dff7fcfc2f9.js +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*
|
|
2
|
+
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
|
+
*/
|
|
5
|
+
const t=Symbol("meshContext");function n(n){return n&&"object"==typeof n&&t in n?n[t]:void 0}function e(e,o){const r=n(e);return{...e,[t]:{...r,...o}}}const o=Symbol("meshMaterialContext");function r(t){return t&&"object"==typeof t&&o in t?t[o]:void 0}function c(t){const n=r(t);if(n?.materialMap)return t;const e={materialMap:new Map};return{...t,[o]:e}}const i=Symbol("meshTextureContext");function u(t){return t&&"object"==typeof t&&i in t?t[i]:void 0}function a(t){const n=u(t);if(n?.textureMap)return t;const e={textureMap:new Map};return{...t,[i]:e}}export{e as addMeshCloneContext,c as addMeshMaterialCloneContext,a as addMeshTextureCloneContext,n as getMeshCloneContext,r as getMeshMaterialCloneContext,u as getMeshTextureCloneContext};
|
package/interfaces.d.ts
CHANGED
|
@@ -233,9 +233,11 @@ declare namespace __esri {
|
|
|
233
233
|
export type BaseTileLayerLayerviewDestroyEventHandler = (event: BaseTileLayerLayerviewDestroyEvent) => void;
|
|
234
234
|
export type BaseTileLayerRefreshEventHandler = (event: BaseTileLayerRefreshEvent) => void;
|
|
235
235
|
export type BatchAttributeFormSubmitEventHandler = (event: BatchAttributeFormSubmitEvent) => void;
|
|
236
|
-
export type BatchAttributeFormValueChangeEvent1Handler = (event: BatchAttributeFormValueChangeEvent1) => void;
|
|
237
236
|
export type BatchAttributeFormValueChangeEventHandler = (event: BatchAttributeFormValueChangeEvent) => void;
|
|
238
237
|
export type BatchAttributeFormViewModelSubmitEventHandler = (event: BatchAttributeFormViewModelSubmitEvent) => void;
|
|
238
|
+
export type BatchAttributeFormViewModelValueChangeEventHandler = (
|
|
239
|
+
event: BatchAttributeFormViewModelValueChangeEvent,
|
|
240
|
+
) => void;
|
|
239
241
|
export type BingMapsLayerLayerviewCreateErrorEventHandler = (event: BingMapsLayerLayerviewCreateErrorEvent) => void;
|
|
240
242
|
export type BingMapsLayerLayerviewCreateEventHandler = (event: BingMapsLayerLayerviewCreateEvent) => void;
|
|
241
243
|
export type BingMapsLayerLayerviewDestroyEventHandler = (event: BingMapsLayerLayerviewDestroyEvent) => void;
|
|
@@ -256,6 +258,7 @@ declare namespace __esri {
|
|
|
256
258
|
export type CSVLayerLayerviewCreateEventHandler = (event: CSVLayerLayerviewCreateEvent) => void;
|
|
257
259
|
export type CSVLayerLayerviewDestroyEventHandler = (event: CSVLayerLayerviewDestroyEvent) => void;
|
|
258
260
|
export type CSVLayerRefreshEventHandler = (event: CSVLayerRefreshEvent) => void;
|
|
261
|
+
export type DaylightUserDateTimeChangeEventHandler = (event: DaylightUserDateTimeChangeEvent) => void;
|
|
259
262
|
export type DaylightViewModelUserDateTimeChangeEventHandler = (
|
|
260
263
|
event: DaylightViewModelUserDateTimeChangeEvent,
|
|
261
264
|
) => void;
|
|
@@ -1354,6 +1357,48 @@ declare namespace __esri {
|
|
|
1354
1357
|
|
|
1355
1358
|
export const analysisUtils: analysisUtils;
|
|
1356
1359
|
|
|
1360
|
+
/**
|
|
1361
|
+
* Note: reserved for internal use only, this is not part of the stable public API.
|
|
1362
|
+
*
|
|
1363
|
+
* Arcade feature utils for Components.
|
|
1364
|
+
*/
|
|
1365
|
+
interface arcadeFeatureUtils {
|
|
1366
|
+
/**
|
|
1367
|
+
* Note: reserved for internal use only, this is not part of the stable public API.
|
|
1368
|
+
*
|
|
1369
|
+
* Compiles an Arcade expression info object into a compiled expression info.
|
|
1370
|
+
*
|
|
1371
|
+
* @param params The parameters for compilation.
|
|
1372
|
+
*/
|
|
1373
|
+
compileExpression(params: arcadeFeatureUtilsCompileExpressionParams): Promise<any | nullish>;
|
|
1374
|
+
/**
|
|
1375
|
+
* Note: reserved for internal use only, this is not part of the stable public API.
|
|
1376
|
+
*
|
|
1377
|
+
* Compiles an array of Arcade expression info objects into compiled expression infos.
|
|
1378
|
+
*
|
|
1379
|
+
* @param expressionInfos Array of Arcade expression info objects.
|
|
1380
|
+
* @param graphic The graphic to use for context.
|
|
1381
|
+
*/
|
|
1382
|
+
compileExpressionInfos(expressionInfos: popupExpressionInfo[], graphic: Graphic): Promise<any>;
|
|
1383
|
+
/**
|
|
1384
|
+
* Note: reserved for internal use only, this is not part of the stable public API.
|
|
1385
|
+
*
|
|
1386
|
+
* Formats a value returned from an Arcade expression for display.
|
|
1387
|
+
*
|
|
1388
|
+
* @param value The value to format.
|
|
1389
|
+
*/
|
|
1390
|
+
formatArcadeValue(value: string): string;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
export const arcadeFeatureUtils: arcadeFeatureUtils;
|
|
1394
|
+
|
|
1395
|
+
export interface arcadeFeatureUtilsCompileExpressionParams {
|
|
1396
|
+
expressionInfo: popupExpressionInfo;
|
|
1397
|
+
createArcadeExecutor: any;
|
|
1398
|
+
createArcadeProfile: any;
|
|
1399
|
+
graphic: Graphic;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1357
1402
|
/**
|
|
1358
1403
|
* Note: reserved for internal use only, this is not part of the stable public API.
|
|
1359
1404
|
*
|
|
@@ -1827,10 +1872,12 @@ declare namespace __esri {
|
|
|
1827
1872
|
focused: boolean;
|
|
1828
1873
|
height: number;
|
|
1829
1874
|
layer: VideoLayer | nullish;
|
|
1875
|
+
map: Map | WebMap | nullish;
|
|
1830
1876
|
ready: boolean;
|
|
1831
1877
|
resizing: boolean;
|
|
1832
1878
|
videoSize: number[];
|
|
1833
1879
|
width: number;
|
|
1880
|
+
operationalDataVisible: boolean;
|
|
1834
1881
|
}
|
|
1835
1882
|
|
|
1836
1883
|
/**
|
|
@@ -5046,7 +5093,7 @@ declare namespace __esri {
|
|
|
5046
5093
|
|
|
5047
5094
|
/**
|
|
5048
5095
|
* A convenience module for importing {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-Element.html Element} classes
|
|
5049
|
-
* when developing with {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
5096
|
+
* when developing with {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
5050
5097
|
*
|
|
5051
5098
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements.html Read more...}
|
|
5052
5099
|
*/
|
|
@@ -5572,7 +5619,7 @@ declare namespace __esri {
|
|
|
5572
5619
|
|
|
5573
5620
|
/**
|
|
5574
5621
|
* A convenience module for importing module:esri/form/elements/inputs/Input classes
|
|
5575
|
-
* when developing with {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
5622
|
+
* when developing with {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
5576
5623
|
*
|
|
5577
5624
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-inputs.html Read more...}
|
|
5578
5625
|
*/
|
|
@@ -7356,7 +7403,7 @@ declare namespace __esri {
|
|
|
7356
7403
|
|
|
7357
7404
|
/**
|
|
7358
7405
|
* A convenience module for importing {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html Geometry} classes when developing with
|
|
7359
|
-
* {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
7406
|
+
* {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
7360
7407
|
*
|
|
7361
7408
|
* @deprecated since version 4.32. Use {@link module:esri/unionTypes} to import union types, or individual modules to import classes.
|
|
7362
7409
|
*
|
|
@@ -12283,7 +12330,10 @@ declare namespace __esri {
|
|
|
12283
12330
|
|
|
12284
12331
|
export const jsonUtils: jsonUtils;
|
|
12285
12332
|
|
|
12286
|
-
export
|
|
12333
|
+
export interface MeshComponent extends Accessor, Clonable, JSONSupport {
|
|
12334
|
+
}
|
|
12335
|
+
|
|
12336
|
+
export class MeshComponent {
|
|
12287
12337
|
/**
|
|
12288
12338
|
* Specifies a name of the component.
|
|
12289
12339
|
*
|
|
@@ -12320,11 +12370,27 @@ declare namespace __esri {
|
|
|
12320
12370
|
get material(): MeshMaterial | MeshMaterialMetallicRoughness | nullish;
|
|
12321
12371
|
set material(value: MeshMaterialProperties | MeshMaterialMetallicRoughnessProperties | nullish);
|
|
12322
12372
|
/**
|
|
12323
|
-
* Creates a deep clone.
|
|
12373
|
+
* Creates a deep clone of this object.
|
|
12324
12374
|
*
|
|
12325
12375
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshComponent.html#clone Read more...}
|
|
12326
12376
|
*/
|
|
12327
|
-
clone():
|
|
12377
|
+
clone(): this;
|
|
12378
|
+
/**
|
|
12379
|
+
* Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
|
|
12380
|
+
*
|
|
12381
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshComponent.html#toJSON Read more...}
|
|
12382
|
+
*/
|
|
12383
|
+
toJSON(): any;
|
|
12384
|
+
/**
|
|
12385
|
+
* Creates a new instance of this class and initializes it with values from a JSON object
|
|
12386
|
+
* generated from an ArcGIS product.
|
|
12387
|
+
*
|
|
12388
|
+
* @param json A JSON representation of the instance in the ArcGIS format. See the [ArcGIS REST API documentation](https://developers.arcgis.com/documentation/common-data-types/overview-of-common-data-types.htm) for examples of the structure of various input JSON objects.
|
|
12389
|
+
*
|
|
12390
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshComponent.html#fromJSON Read more...}
|
|
12391
|
+
*/
|
|
12392
|
+
static fromJSON(json: any): any | nullish;
|
|
12393
|
+
static fromJSON(json: any): MeshComponent;
|
|
12328
12394
|
}
|
|
12329
12395
|
|
|
12330
12396
|
interface MeshComponentProperties {
|
|
@@ -12469,7 +12535,10 @@ declare namespace __esri {
|
|
|
12469
12535
|
origin?: number[];
|
|
12470
12536
|
}
|
|
12471
12537
|
|
|
12472
|
-
export
|
|
12538
|
+
export interface MeshMaterial extends Accessor, Clonable, JSONSupport {
|
|
12539
|
+
}
|
|
12540
|
+
|
|
12541
|
+
export class MeshMaterial {
|
|
12473
12542
|
/**
|
|
12474
12543
|
* Specifies how transparency on the object is handled.
|
|
12475
12544
|
*
|
|
@@ -12551,6 +12620,28 @@ declare namespace __esri {
|
|
|
12551
12620
|
*/
|
|
12552
12621
|
get normalTextureTransform(): MeshTextureTransform | nullish;
|
|
12553
12622
|
set normalTextureTransform(value: MeshTextureTransformProperties | nullish);
|
|
12623
|
+
/**
|
|
12624
|
+
* Creates a deep clone of this object.
|
|
12625
|
+
*
|
|
12626
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshMaterial.html#clone Read more...}
|
|
12627
|
+
*/
|
|
12628
|
+
clone(): this;
|
|
12629
|
+
/**
|
|
12630
|
+
* Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
|
|
12631
|
+
*
|
|
12632
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshMaterial.html#toJSON Read more...}
|
|
12633
|
+
*/
|
|
12634
|
+
toJSON(): any;
|
|
12635
|
+
/**
|
|
12636
|
+
* Creates a new instance of this class and initializes it with values from a JSON object
|
|
12637
|
+
* generated from an ArcGIS product.
|
|
12638
|
+
*
|
|
12639
|
+
* @param json A JSON representation of the instance in the ArcGIS format. See the [ArcGIS REST API documentation](https://developers.arcgis.com/documentation/common-data-types/overview-of-common-data-types.htm) for examples of the structure of various input JSON objects.
|
|
12640
|
+
*
|
|
12641
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshMaterial.html#fromJSON Read more...}
|
|
12642
|
+
*/
|
|
12643
|
+
static fromJSON(json: any): any | nullish;
|
|
12644
|
+
static fromJSON(json: any): MeshMaterial;
|
|
12554
12645
|
}
|
|
12555
12646
|
|
|
12556
12647
|
interface MeshMaterialProperties {
|
|
@@ -12703,6 +12794,7 @@ declare namespace __esri {
|
|
|
12703
12794
|
*/
|
|
12704
12795
|
get occlusionTextureTransform(): MeshTextureTransform | nullish;
|
|
12705
12796
|
set occlusionTextureTransform(value: MeshTextureTransformProperties | nullish);
|
|
12797
|
+
static fromJSON(json: any): MeshMaterialMetallicRoughness;
|
|
12706
12798
|
}
|
|
12707
12799
|
|
|
12708
12800
|
interface MeshMaterialMetallicRoughnessProperties extends MeshMaterialProperties {
|
|
@@ -12774,7 +12866,10 @@ declare namespace __esri {
|
|
|
12774
12866
|
roughness?: number;
|
|
12775
12867
|
}
|
|
12776
12868
|
|
|
12777
|
-
export
|
|
12869
|
+
export interface MeshTexture extends Accessor, Clonable, JSONSupport {
|
|
12870
|
+
}
|
|
12871
|
+
|
|
12872
|
+
export class MeshTexture {
|
|
12778
12873
|
/**
|
|
12779
12874
|
* A direct reference to the image or video data.
|
|
12780
12875
|
*
|
|
@@ -12811,11 +12906,27 @@ declare namespace __esri {
|
|
|
12811
12906
|
*/
|
|
12812
12907
|
constructor(properties?: MeshTextureProperties);
|
|
12813
12908
|
/**
|
|
12814
|
-
* Creates a deep clone.
|
|
12909
|
+
* Creates a deep clone of this object.
|
|
12815
12910
|
*
|
|
12816
12911
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshTexture.html#clone Read more...}
|
|
12817
12912
|
*/
|
|
12818
|
-
clone():
|
|
12913
|
+
clone(): this;
|
|
12914
|
+
/**
|
|
12915
|
+
* Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
|
|
12916
|
+
*
|
|
12917
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshTexture.html#toJSON Read more...}
|
|
12918
|
+
*/
|
|
12919
|
+
toJSON(): any;
|
|
12920
|
+
/**
|
|
12921
|
+
* Creates a new instance of this class and initializes it with values from a JSON object
|
|
12922
|
+
* generated from an ArcGIS product.
|
|
12923
|
+
*
|
|
12924
|
+
* @param json A JSON representation of the instance in the ArcGIS format. See the [ArcGIS REST API documentation](https://developers.arcgis.com/documentation/common-data-types/overview-of-common-data-types.htm) for examples of the structure of various input JSON objects.
|
|
12925
|
+
*
|
|
12926
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshTexture.html#fromJSON Read more...}
|
|
12927
|
+
*/
|
|
12928
|
+
static fromJSON(json: any): any | nullish;
|
|
12929
|
+
static fromJSON(json: any): MeshTexture;
|
|
12819
12930
|
}
|
|
12820
12931
|
|
|
12821
12932
|
interface MeshTextureProperties {
|
|
@@ -12930,7 +13041,7 @@ declare namespace __esri {
|
|
|
12930
13041
|
scale?: number[];
|
|
12931
13042
|
}
|
|
12932
13043
|
|
|
12933
|
-
export interface MeshTransform extends Accessor, JSONSupport {
|
|
13044
|
+
export interface MeshTransform extends Accessor, JSONSupport, Clonable {
|
|
12934
13045
|
}
|
|
12935
13046
|
|
|
12936
13047
|
export class MeshTransform {
|
|
@@ -12973,11 +13084,11 @@ declare namespace __esri {
|
|
|
12973
13084
|
*/
|
|
12974
13085
|
constructor(properties?: MeshTransformProperties);
|
|
12975
13086
|
/**
|
|
12976
|
-
* Creates a deep clone.
|
|
13087
|
+
* Creates a deep clone of this object.
|
|
12977
13088
|
*
|
|
12978
13089
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-MeshTransform.html#clone Read more...}
|
|
12979
13090
|
*/
|
|
12980
|
-
clone():
|
|
13091
|
+
clone(): this;
|
|
12981
13092
|
/**
|
|
12982
13093
|
* Converts an instance of this class to its [ArcGIS portal JSON](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm) representation.
|
|
12983
13094
|
*
|
|
@@ -24593,7 +24704,8 @@ declare namespace __esri {
|
|
|
24593
24704
|
readonly spatialReference: SpatialReference;
|
|
24594
24705
|
readonly type: "line-of-sight";
|
|
24595
24706
|
/**
|
|
24596
|
-
*
|
|
24707
|
+
* The line of sight layer enables the creation and display of visibility analysis where a line of sight
|
|
24708
|
+
* is computed from a single observer position towards
|
|
24597
24709
|
* a set of targets.
|
|
24598
24710
|
*
|
|
24599
24711
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-LineOfSightLayer.html Read more...}
|
|
@@ -49950,7 +50062,7 @@ declare namespace __esri {
|
|
|
49950
50062
|
|
|
49951
50063
|
/**
|
|
49952
50064
|
* A convenience module for importing {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-PointCloudRenderer.html PointCloudRenderer} classes when developing with
|
|
49953
|
-
* {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
50065
|
+
* {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
49954
50066
|
*
|
|
49955
50067
|
* @deprecated since version 4.32. Use {@link module:esri/unionTypes} to import union types, or individual modules to import classes.
|
|
49956
50068
|
*
|
|
@@ -50052,7 +50164,7 @@ declare namespace __esri {
|
|
|
50052
50164
|
|
|
50053
50165
|
/**
|
|
50054
50166
|
* A convenience module for importing {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-Content.html Content} classes when developing
|
|
50055
|
-
* with {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
50167
|
+
* with {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
50056
50168
|
*
|
|
50057
50169
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content.html Read more...}
|
|
50058
50170
|
*/
|
|
@@ -55460,7 +55572,7 @@ declare namespace __esri {
|
|
|
55460
55572
|
/**
|
|
55461
55573
|
* A convenience module for importing renderer classes that can be used to render
|
|
55462
55574
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html ImageryLayer} when developing with
|
|
55463
|
-
* {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
55575
|
+
* {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
55464
55576
|
*
|
|
55465
55577
|
* @deprecated since version 4.32. Use {@link module:esri/unionTypes} to import union types, or individual modules to import classes.
|
|
55466
55578
|
*
|
|
@@ -55591,7 +55703,7 @@ declare namespace __esri {
|
|
|
55591
55703
|
|
|
55592
55704
|
/**
|
|
55593
55705
|
* A convenience module for importing {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-Renderer.html Renderer} classes when developing with
|
|
55594
|
-
* {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
55706
|
+
* {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
55595
55707
|
*
|
|
55596
55708
|
* @deprecated since version 4.32. Use {@link module:esri/unionTypes} to import union types, or individual modules to import classes.
|
|
55597
55709
|
*
|
|
@@ -64524,7 +64636,7 @@ declare namespace __esri {
|
|
|
64524
64636
|
|
|
64525
64637
|
/**
|
|
64526
64638
|
* A convenience module for importing {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html locator} functions when developing with
|
|
64527
|
-
* {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
64639
|
+
* {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
64528
64640
|
*
|
|
64529
64641
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html Read more...}
|
|
64530
64642
|
*/
|
|
@@ -85831,7 +85943,7 @@ declare namespace __esri {
|
|
|
85831
85943
|
|
|
85832
85944
|
/**
|
|
85833
85945
|
* A convenience module for importing {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol.html Symbol} classes when developing with
|
|
85834
|
-
* {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
85946
|
+
* {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
85835
85947
|
*
|
|
85836
85948
|
* @deprecated since version 4.32. Use {@link module:esri/unionTypes} to import union types, or individual modules to import classes.
|
|
85837
85949
|
*
|
|
@@ -91046,7 +91158,7 @@ declare namespace __esri {
|
|
|
91046
91158
|
|
|
91047
91159
|
/**
|
|
91048
91160
|
* A convenience module for importing {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-tables-elements-AttributeTableElement.html AttributeTableElement} classes
|
|
91049
|
-
* when developing with {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
91161
|
+
* when developing with {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
91050
91162
|
*
|
|
91051
91163
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-tables-elements.html Read more...}
|
|
91052
91164
|
*/
|
|
@@ -91713,7 +91825,7 @@ declare namespace __esri {
|
|
|
91713
91825
|
}
|
|
91714
91826
|
|
|
91715
91827
|
/**
|
|
91716
|
-
* A module for importing union types for use in {@link https://developers.arcgis.com/javascript/latest/typescript
|
|
91828
|
+
* A module for importing union types for use in {@link https://developers.arcgis.com/javascript/latest/get-started/#typescript TypeScript}.
|
|
91717
91829
|
*
|
|
91718
91830
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-unionTypes.html Read more...}
|
|
91719
91831
|
*/
|
|
@@ -92983,7 +93095,7 @@ declare namespace __esri {
|
|
|
92983
93095
|
/**
|
|
92984
93096
|
* Tessellate a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html Polygon} into triangles.
|
|
92985
93097
|
*
|
|
92986
|
-
* @param polygon The input geometry. *The geometry must be simple*; if the input geometry is not simple, you must first create a simplified version of it using {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-
|
|
93098
|
+
* @param polygon The input geometry. *The geometry must be simple*; if the input geometry is not simple, you must first create a simplified version of it using {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-simplifyOperator.html simplifyOperator}, and pass the simplified geometry to `tessellatePolygon`.
|
|
92987
93099
|
*
|
|
92988
93100
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-layers-BaseLayerViewGL2D.html#tessellatePolygon Read more...}
|
|
92989
93101
|
*/
|
|
@@ -92991,7 +93103,7 @@ declare namespace __esri {
|
|
|
92991
93103
|
/**
|
|
92992
93104
|
* Tessellate a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polyline.html Polyline} into triangles.
|
|
92993
93105
|
*
|
|
92994
|
-
* @param polyline The input geometry. *The geometry must be simple*; if the input geometry is not simple, you must first create a simplified version of it using {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-
|
|
93106
|
+
* @param polyline The input geometry. *The geometry must be simple*; if the input geometry is not simple, you must first create a simplified version of it using {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-simplifyOperator.html simplifyOperator}, and pass the simplified geometry to `tessellatePolyline`.
|
|
92995
93107
|
* @param width The width of the line; this will be used to scale xOffset and yOffset.
|
|
92996
93108
|
*
|
|
92997
93109
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-layers-BaseLayerViewGL2D.html#tessellatePolyline Read more...}
|
|
@@ -93255,7 +93367,7 @@ declare namespace __esri {
|
|
|
93255
93367
|
visible: boolean;
|
|
93256
93368
|
constructor(properties?: any);
|
|
93257
93369
|
/**
|
|
93258
|
-
* Starts the interactive placement of
|
|
93370
|
+
* Starts the interactive placement of an area measurement.
|
|
93259
93371
|
*
|
|
93260
93372
|
* @param options An object specifying additional options.
|
|
93261
93373
|
*
|
|
@@ -93959,6 +94071,16 @@ declare namespace __esri {
|
|
|
93959
94071
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-webgl.html Read more...}
|
|
93960
94072
|
*/
|
|
93961
94073
|
interface webgl {
|
|
94074
|
+
/**
|
|
94075
|
+
* Takes a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-webgl-RenderCamera.html RenderCamera} as input and projects it into a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-Camera.html Camera}
|
|
94076
|
+
* using a given view.
|
|
94077
|
+
*
|
|
94078
|
+
* @param view The view the output camera should be related to.
|
|
94079
|
+
* @param camera The input render camera.
|
|
94080
|
+
*
|
|
94081
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-webgl.html#fromRenderCamera Read more...}
|
|
94082
|
+
*/
|
|
94083
|
+
fromRenderCamera(view: SceneView, camera: RenderCamera): Camera;
|
|
93962
94084
|
/**
|
|
93963
94085
|
* Transforms positions from the internal rendering coordinate system to the output spatial reference.
|
|
93964
94086
|
*
|
|
@@ -93985,6 +94107,16 @@ declare namespace __esri {
|
|
|
93985
94107
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-webgl.html#renderCoordinateTransformAt Read more...}
|
|
93986
94108
|
*/
|
|
93987
94109
|
renderCoordinateTransformAt(view: SceneView, origin: number[] | Float32Array | Float64Array, srcSpatialReference?: SpatialReference, dest?: number[] | Float32Array | Float64Array): number[] | Float32Array | Float64Array | nullish;
|
|
94110
|
+
/**
|
|
94111
|
+
* Coverts a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-Camera.html Camera} into a new {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-webgl-RenderCamera.html RenderCamera} using
|
|
94112
|
+
* a given view.
|
|
94113
|
+
*
|
|
94114
|
+
* @param view The view the output camera should be related to.
|
|
94115
|
+
* @param camera The input render camera.
|
|
94116
|
+
*
|
|
94117
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-webgl.html#toRenderCamera Read more...}
|
|
94118
|
+
*/
|
|
94119
|
+
toRenderCamera(view: SceneView, camera: Camera): RenderCamera;
|
|
93988
94120
|
/**
|
|
93989
94121
|
* Transforms positions from the given spatial reference to the internal rendering coordinate system.
|
|
93990
94122
|
*
|
|
@@ -107979,7 +108111,6 @@ declare namespace __esri {
|
|
|
107979
108111
|
submit(): void;
|
|
107980
108112
|
on(name: "value-change", eventHandler: BatchAttributeFormValueChangeEventHandler): IHandle;
|
|
107981
108113
|
on(name: "submit", eventHandler: BatchAttributeFormSubmitEventHandler): IHandle;
|
|
107982
|
-
on(name: "value-change", eventHandler: BatchAttributeFormValueChangeEvent1Handler): IHandle;
|
|
107983
108114
|
}
|
|
107984
108115
|
|
|
107985
108116
|
interface BatchAttributeFormProperties extends WidgetProperties {
|
|
@@ -108251,6 +108382,7 @@ declare namespace __esri {
|
|
|
108251
108382
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-BatchAttributeFormViewModel.html#submit Read more...}
|
|
108252
108383
|
*/
|
|
108253
108384
|
submit(): void;
|
|
108385
|
+
on(name: "value-change", eventHandler: BatchAttributeFormViewModelValueChangeEventHandler): IHandle;
|
|
108254
108386
|
on(name: "submit", eventHandler: BatchAttributeFormViewModelSubmitEventHandler): IHandle;
|
|
108255
108387
|
}
|
|
108256
108388
|
|
|
@@ -108315,6 +108447,13 @@ declare namespace __esri {
|
|
|
108315
108447
|
export interface BatchAttributeFormViewModelSubmitEvent {
|
|
108316
108448
|
}
|
|
108317
108449
|
|
|
108450
|
+
export interface BatchAttributeFormViewModelValueChangeEvent {
|
|
108451
|
+
features: Graphic[];
|
|
108452
|
+
fieldName: string;
|
|
108453
|
+
name: "value-change";
|
|
108454
|
+
value: number | string | nullish;
|
|
108455
|
+
}
|
|
108456
|
+
|
|
108318
108457
|
export class BatchFormInputs extends Accessor {
|
|
108319
108458
|
/**
|
|
108320
108459
|
* Returns an array of all the field inputs in the form, including those in groups.
|
|
@@ -108329,7 +108468,7 @@ declare namespace __esri {
|
|
|
108329
108468
|
*/
|
|
108330
108469
|
readonly description: string | nullish;
|
|
108331
108470
|
/**
|
|
108332
|
-
* An array of field or group inputs that make up the
|
|
108471
|
+
* An array of field or group inputs that make up the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm.html BatchAttributeForm}.
|
|
108333
108472
|
*
|
|
108334
108473
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-inputs-BatchFormInputs.html#inputs Read more...}
|
|
108335
108474
|
*/
|
|
@@ -108359,7 +108498,7 @@ declare namespace __esri {
|
|
|
108359
108498
|
*/
|
|
108360
108499
|
readonly valid: boolean;
|
|
108361
108500
|
/**
|
|
108362
|
-
* The `BatchFormInputs` class is a read-only class that acts as a container for a set of inputs in a
|
|
108501
|
+
* The `BatchFormInputs` class is a read-only class that acts as a container for a set of inputs in a {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-BatchAttributeFormViewModel.html BatchAttributeFormViewModel}.
|
|
108363
108502
|
*
|
|
108364
108503
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-inputs-BatchFormInputs.html Read more...}
|
|
108365
108504
|
*/
|
|
@@ -108485,7 +108624,7 @@ declare namespace __esri {
|
|
|
108485
108624
|
*/
|
|
108486
108625
|
declare readonly label: InputBase["label"];
|
|
108487
108626
|
/**
|
|
108488
|
-
* An array of layers included in the
|
|
108627
|
+
* An array of layers included in the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm.html BatchAttributeForm}.
|
|
108489
108628
|
*
|
|
108490
108629
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-inputs-FieldInput.html#layers Read more...}
|
|
108491
108630
|
*/
|
|
@@ -108576,7 +108715,7 @@ declare namespace __esri {
|
|
|
108576
108715
|
*/
|
|
108577
108716
|
declare existsInAllLayers: InputBase["existsInAllLayers"];
|
|
108578
108717
|
/**
|
|
108579
|
-
* An array of
|
|
108718
|
+
* An array of {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-inputs-FieldInput.html field inputs} contained within the group.
|
|
108580
108719
|
*
|
|
108581
108720
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-inputs-GroupInput.html#inputs Read more...}
|
|
108582
108721
|
*/
|
|
@@ -108588,7 +108727,7 @@ declare namespace __esri {
|
|
|
108588
108727
|
*/
|
|
108589
108728
|
declare readonly label: InputBase["label"];
|
|
108590
108729
|
/**
|
|
108591
|
-
* An array of layers included in the
|
|
108730
|
+
* An array of layers included in the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm.html BatchAttributeForm}.
|
|
108592
108731
|
*
|
|
108593
108732
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-inputs-GroupInput.html#layers Read more...}
|
|
108594
108733
|
*/
|
|
@@ -108658,13 +108797,6 @@ declare namespace __esri {
|
|
|
108658
108797
|
value: number | string | nullish;
|
|
108659
108798
|
}
|
|
108660
108799
|
|
|
108661
|
-
export interface BatchAttributeFormValueChangeEvent1 {
|
|
108662
|
-
features: Graphic[];
|
|
108663
|
-
fieldName: string;
|
|
108664
|
-
name: "value-change";
|
|
108665
|
-
value: number | string | nullish;
|
|
108666
|
-
}
|
|
108667
|
-
|
|
108668
108800
|
/**
|
|
108669
108801
|
* An object containing properties that control the visibility of certain elements within the FeatureForm widget.
|
|
108670
108802
|
*
|
|
@@ -110847,6 +110979,7 @@ declare namespace __esri {
|
|
|
110847
110979
|
*/
|
|
110848
110980
|
get viewModel(): DaylightViewModel;
|
|
110849
110981
|
set viewModel(value: DaylightViewModelProperties);
|
|
110982
|
+
on(name: "user-date-time-change", eventHandler: DaylightUserDateTimeChangeEventHandler): IHandle;
|
|
110850
110983
|
}
|
|
110851
110984
|
|
|
110852
110985
|
interface DaylightProperties extends WidgetProperties {
|
|
@@ -111073,6 +111206,9 @@ declare namespace __esri {
|
|
|
111073
111206
|
export interface DaylightViewModelUserDateTimeChangeEvent {
|
|
111074
111207
|
}
|
|
111075
111208
|
|
|
111209
|
+
export interface DaylightUserDateTimeChangeEvent {
|
|
111210
|
+
}
|
|
111211
|
+
|
|
111076
111212
|
/**
|
|
111077
111213
|
* The visible elements that are displayed within the widget.
|
|
111078
111214
|
*
|
|
@@ -112632,6 +112768,12 @@ declare namespace __esri {
|
|
|
112632
112768
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#featureFormViewModel Read more...}
|
|
112633
112769
|
*/
|
|
112634
112770
|
readonly featureFormViewModel: FeatureFormViewModel | nullish;
|
|
112771
|
+
/**
|
|
112772
|
+
* The form's view model used to support the Editor widget.
|
|
112773
|
+
*
|
|
112774
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#formViewModel Read more...}
|
|
112775
|
+
*/
|
|
112776
|
+
readonly formViewModel: BatchAttributeFormViewModel | FeatureFormViewModel | nullish;
|
|
112635
112777
|
/**
|
|
112636
112778
|
* An array of editing configurations for individual layers.
|
|
112637
112779
|
*
|
|
@@ -138103,8 +138245,8 @@ declare namespace __esri {
|
|
|
138103
138245
|
export interface ResultAreaPropertiesExtend {
|
|
138104
138246
|
type: "buffer" | "convexhull";
|
|
138105
138247
|
distance: number;
|
|
138106
|
-
unit:
|
|
138107
|
-
areaUnit:
|
|
138248
|
+
unit: LengthUnit;
|
|
138249
|
+
areaUnit: AreaUnit;
|
|
138108
138250
|
color: GraphicColor;
|
|
138109
138251
|
show: boolean;
|
|
138110
138252
|
}
|
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.
|
|
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.23",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};
|
package/layers/VideoLayer.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{_ as e}from"../chunks/tslib.es6.js";import t from"../Color.js";import r from"../request.js";import{deprecatedProperty as o}from"../core/deprecate.js";import i from"../core/Error.js";import s from"../core/Logger.js";import{clamp as l}from"../core/mathUtils.js";import{MultiOriginJSONMixin as n}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as a}from"../core/promiseUtils.js";import{watch as p,initial as y,whenOnce as m}from"../core/reactiveUtils.js";import{property as u}from"../core/accessorSupport/decorators/property.js";import{Integer as d}from"../core/accessorSupport/ensureType.js";import"../core/has.js";import"../core/RandomLCG.js";import{reader as c}from"../core/accessorSupport/decorators/reader.js";import{subclass as h}from"../core/accessorSupport/decorators/subclass.js";import{OriginId as f}from"../core/accessorSupport/PropertyOrigin.js";import v from"../geometry/Extent.js";import g from"../geometry/Polyline.js";import S from"../geometry/SpatialReference.js";import b from"./Layer.js";import{ArcGISService as j}from"./mixins/ArcGISService.js";import{BlendLayer as O,effectProperty as T}from"./mixins/BlendLayer.js";import{CustomParametersMixin as w}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as I}from"./mixins/OperationalLayer.js";import{PortalLayer as L}from"./mixins/PortalLayer.js";import{ScaleRangeLayer as C}from"./mixins/ScaleRangeLayer.js";import{titleFromUrlAndName as x}from"./support/arcgisLayerUrl.js";import{opacity as U,id as P}from"./support/commonProperties.js";import{normalizeParsedUrlObject as E,urlProperty as N}from"./support/multiLayerServiceUtils.js";import M from"./support/PlaybackInfo.js";import{getVideoLayerCapabilities as k}from"./support/serviceCapabilitiesUtils.js";import V from"./support/TelemetryData.js";import F from"./support/TelemetryDisplay.js";import R from"./support/VideoFrame.js";import G from"./support/VideoTimeExtent.js";import J from"./video/VideoController.js";import{getFrameHorizonPoints as A,getGroundControlPoints as H,getTelemetryData as z,getServiceLayersInfo as q,getStyledTelemetrySymbol as D,getSensorTrailPoints as _,readVideoTimeExtent as B}from"./video/videoUtils.js";import W from"../symbols/CIMSymbol.js";import Q from"../symbols/PictureMarkerSymbol.js";import $ from"../symbols/SimpleFillSymbol.js";import Z from"../symbols/SimpleLineSymbol.js";import K from"../symbols/SimpleMarkerSymbol.js";import X from"../symbols/Symbol.js";import{write as Y}from"../symbols/support/jsonUtils.js";function ee(e,t){return{ignoreOrigin:this.originIdOf(t)<f.PORTAL_ITEM}}let te=[];const re=new t([255,127,0]),oe=new t([0,0,0,.05]),ie=new K({angle:0,color:re,size:10,style:"cross"}),se=new $({color:oe,outline:new Z({color:re,width:2})}),le=new Z({color:re,width:1}),ne=new K({angle:0,color:re,outline:{color:[255,255,255],width:1.33},size:10,style:"circle"}),ae=new Z({color:re,width:1}),pe={types:{base:X,key:"type",typeMap:{"simple-marker":K,"picture-marker":Q,cim:W}},json:{name:"drawingInfo.sensorSymbol",write:{writer:Y,overridePolicy:ee}}};function ye(e,t){return{type:t,json:{name:e,write:{overridePolicy:ee}}}}let me=class extends(O(C(j(I(L(n(w(b)))))))){constructor(e){super(e),this.capabilities=null,this.codecs=null,this.connectionInfo=null,this.controller=new J,this.copyright=null,this.created=null,this.customParameters=null,this.description=null,this.elevationSource=null,this.frame=null,this.frameCenterSymbol=ie.clone(),this.frameCount=null,this.frameEffect=null,this.frameOpacity=1,this.frameOutlineSymbol=se.clone(),this.fullExtent=null,this.initialExtent=null,this.layerId=null,this.operationalLayerType="ArcGISVideoLayer",this.playbackInfo=null,this.posterUrl=null,this.qualities=null,this.sensorSymbol=ne.clone(),this.sensorSightLineSymbol=le.clone(),this.sensorTrailSymbol=ae.clone(),this.serviceItemId=null,this.sourceJSON=null,this.sourceQuality=null,this.sourceType=null,this.spatialReference=S.WGS84,this.start=0,this.telemetryDisplay=new F,this.type="video",this.url=null,this.version=null,this.videoLayersInfo=null}initialize(){this.addHandles([p(()=>this.metadata,()=>{this.notifyChange("telemetry"),this.notifyChange("groundControlPoints"),this.notifyChange("frameHorizonPoints")}),p(()=>this.telemetry?.sensorLocation,e=>this._setSensorTrail(e),y)]),m(()=>this.loaded&&"can-play"===this.state&&this.duration>0).then(()=>{this.start>=0&&this.start<=this.duration&&this.setCurrentTime(this.start)})}destroy(){this.removeAllHandles(),this.controller&&this.controller.destroy()}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Video Service"],supportsData:!1},e).catch(a).then(()=>this._fetchService(t));return this.addResolvingPromise(r),Promise.resolve(this)}get autoplay(){return this.controller?.autoplay??!1}set autoplay(e){this.controller.autoplay=e}get buffered(){return this.controller.buffered}readCapabilitiesFromService(e,t){return k(t)}readConnectionInfo(e,t){const r=Object.values(t.connectionUrl);return r?.length&&(this.controller.playerUrl=r[0]),t.connectionUrl}get currentTime(){return this.controller.currentTime}get duration(){return this.controller.duration}get ended(){return this.controller.ended}get frameHorizonPoints(){return A(this.metadata)}get groundControlPoints(){return H(this.metadata)}get isLive(){return this.controller?.isLive??!1}get livestreamStatus(){return this.controller?.livestreamStatus}get loop(){return this.controller.loop}set loop(e){this.controller.loop=e}get metadata(){return this.controller?.currentMetadata}get mimeType(){return this.controller?.mimeType}get muted(){return this.controller.muted}set muted(e){this.controller.muted=e}get parsedUrl(){return E(this)}get playbackRate(){return this.controller.rate}set playbackRate(e){this.controller.rate=e}get playerUrl(){return this.controller.playerUrl}get playing(){return this.controller.playing}get started(){return this.controller?.started??!1}get state(){return this.controller.state}get telemetry(){return z(this.metadata)}readTitleFromService(e,{name:t}){return this.url?x(this.url,t):t}get videoElement(){return this.controller?.element}get videoHeight(){return this.controller?.videoHeight}readLayerInfosFromService(e,t){return q(t)}get videoTimeExtent(){return o(s.getLogger(this),"videoTimeExtent",{replacement:"fullTimeExtent",version:"4.33",warnOnce:!0}),this.fullTimeExtent}get videoWidth(){return this.controller?.videoWidth}get volume(){return this.controller?.volume??0}set volume(e){this.controller.volume=e}get waiting(){return this.controller.waiting}play(){this.controller.play()}pause(){this.controller.pause()}reset(){te=[],this.controller.reset()}setCurrentTime(e){if(this.duration<0)return;const t=l(e,0,this.duration);this.controller.setCurrentTime(t)}toGround(e,t){return this.controller?.sensorModel?.metadataSupportsTransforms?this.controller.sensorModel.transformImageToGeo(e,t):null}toVideo(e){if(!this.controller?.sensorModel?.metadataSupportsTransforms)return null;const t=this.controller.sensorModel.transformGeoToImage(e.x,e.y,e.z);return{x:t[0],y:t[1]}}updateTelemetryColor(e){this.frameCenterSymbol=D(this.frameCenterSymbol,e)??ie,this.frameOutlineSymbol=D(this.frameOutlineSymbol,e,oe)??se,this.sensorSightLineSymbol=D(this.sensorSightLineSymbol,e)??le,this.sensorTrailSymbol=D(this.sensorTrailSymbol,e)??ae,this.sensorSymbol=D(this.sensorSymbol,e)??ne}write(e,t){return null==this.layerId?(t?.messages?.push(new i("layer:unsupported",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' cannot be saved to a web map, web scene, or portal item. The ArcGIS server version must be greater than 11.2.`)),null):super.write(e,t)}async _fetchService(e){if(this.sourceJSON)return void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});const{data:t,ssl:o}=await r(this.url,{query:{f:"json",...this.parsedUrl.query,...this.customParameters},signal:e});if(o&&(this.url=this.url.replace(/^http:/i,"https:")),!t?.currentVersion)return t.currentVersion="11.2",this.sourceJSON=t,void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});if(this.layerId??=t.layers?.[0]?.id??null,null==this.layerId)throw new i("arcgis-layers:url-mismatch","The url is not a valid arcgis resource");const{data:s}=await r(this.parsedUrl.path,{query:{f:"json",...this.customParameters},signal:e});this.sourceJSON={...t,...s},this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl})}_setSensorTrail(e){if(!e)return;const t=_(e,te);te=[...t];const r=te.map(e=>e.toArray()),o=new g({hasZ:e.hasZ,paths:[r]});this.telemetry.sensorTrail=o.clone()}};e([u({type:Boolean,json:{write:{ignoreOrigin:!0}}})],me.prototype,"autoplay",null),e([u({readOnly:!0})],me.prototype,"buffered",null),e([u({readOnly:!0})],me.prototype,"cameraInfo",void 0),e([u({readOnly:!0,json:{read:!1}})],me.prototype,"capabilities",void 0),e([c("service","capabilities",["supportsAppend","supportsCoverageQuery","supportsExportClip","supportsExportFrameset","supportsMensuration","supportsPreviews","supportsUpdate"])],me.prototype,"readCapabilitiesFromService",null),e([u({readOnly:!0})],me.prototype,"codecs",void 0),e([u({readOnly:!0})],me.prototype,"connectionInfo",void 0),e([c("connectionInfo",["connectionUrl"])],me.prototype,"readConnectionInfo",null),e([u()],me.prototype,"controller",void 0),e([u({type:String})],me.prototype,"copyright",void 0),e([u({readOnly:!0,type:Date})],me.prototype,"created",void 0),e([u({type:Number})],me.prototype,"currentTime",null),e([u({json:{write:!1}})],me.prototype,"customParameters",void 0),e([u({type:String})],me.prototype,"description",void 0),e([u({type:Number})],me.prototype,"duration",null),e([u({readOnly:!0})],me.prototype,"elevationSource",void 0),e([u({type:Boolean})],me.prototype,"ended",null),e([u({type:R})],me.prototype,"frame",void 0),e([u(ye("drawingInfo.frameCenterSymbol",K))],me.prototype,"frameCenterSymbol",void 0),e([u({readOnly:!0,type:d})],me.prototype,"frameCount",void 0),e([u(T)],me.prototype,"frameEffect",void 0),e([u(U)],me.prototype,"frameOpacity",void 0),e([u(ye("drawingInfo.frameOutlineSymbol",$))],me.prototype,"frameOutlineSymbol",void 0),e([u({type:v})],me.prototype,"fullExtent",void 0),e([u({readOnly:!0})],me.prototype,"frameHorizonPoints",null),e([u({readOnly:!0,json:{read:{reader:B,source:"time"}},type:G})],me.prototype,"fullTimeExtent",void 0),e([u({readOnly:!0})],me.prototype,"groundControlPoints",null),e([u(P)],me.prototype,"id",void 0),e([u({type:v})],me.prototype,"initialExtent",void 0),e([u({readOnly:!0})],me.prototype,"isLive",null),e([u({type:d,json:{read:!1,origins:{service:{read:{source:"id"}}}}})],me.prototype,"layerId",void 0),e([u({readOnly:!0})],me.prototype,"livestreamStatus",null),e([u({type:Boolean})],me.prototype,"loop",null),e([u({readOnly:!0})],me.prototype,"metadata",null),e([u({readOnly:!0})],me.prototype,"mimeType",null),e([u({type:Boolean,json:{write:{ignoreOrigin:!0}}})],me.prototype,"muted",null),e([u({type:["ArcGISVideoLayer"]})],me.prototype,"operationalLayerType",void 0),e([u({readOnly:!0})],me.prototype,"parsedUrl",null),e([u({type:M})],me.prototype,"playbackInfo",void 0),e([u({type:Number})],me.prototype,"playbackRate",null),e([u({readOnly:!0,type:String})],me.prototype,"playerUrl",null),e([u({readOnly:!0})],me.prototype,"playing",null),e([u({readOnly:!0,json:{read:{source:"poster"}}})],me.prototype,"posterUrl",void 0),e([u({readOnly:!0})],me.prototype,"qualities",void 0),e([u(pe)],me.prototype,"sensorSymbol",void 0),e([u(ye("drawingInfo.sensorSightLineSymbol",Z))],me.prototype,"sensorSightLineSymbol",void 0),e([u(ye("drawingInfo.sensorTrailSymbol",Z))],me.prototype,"sensorTrailSymbol",void 0),e([u({readOnly:!0})],me.prototype,"serviceItemId",void 0),e([u()],me.prototype,"sourceJSON",void 0),e([u({readOnly:!0})],me.prototype,"sourceQuality",void 0),e([u({readOnly:!0,json:{name:"serviceType"}})],me.prototype,"sourceType",void 0),e([u()],me.prototype,"spatialReference",void 0),e([u({json:{write:!0}})],me.prototype,"start",void 0),e([u({readOnly:!0})],me.prototype,"started",null),e([u({readOnly:!0,type:String})],me.prototype,"state",null),e([u({readOnly:!0,type:V})],me.prototype,"telemetry",null),e([u({type:F,nonNullable:!0,json:{write:{ignoreOrigin:!0}}})],me.prototype,"telemetryDisplay",void 0),e([c("service","title",["name"])],me.prototype,"readTitleFromService",null),e([u({readOnly:!0})],me.prototype,"type",void 0),e([u(N())],me.prototype,"url",void 0),e([u({readOnly:!0,type:Number,json:{read:{source:"currentVersion"}}})],me.prototype,"version",void 0),e([u({readOnly:!0})],me.prototype,"videoElement",null),e([u({readOnly:!0})],me.prototype,"videoHeight",null),e([u({readOnly:!0,json:{read:!1}})],me.prototype,"videoLayersInfo",void 0),e([c("service","videoLayersInfo",["id","name","poster","serviceType","type"])],me.prototype,"readLayerInfosFromService",null),e([u({type:G,readOnly:!0})],me.prototype,"videoTimeExtent",null),e([u({readOnly:!0})],me.prototype,"videoWidth",null),e([u()],me.prototype,"volume",null),e([u({readOnly:!0})],me.prototype,"waiting",null),me=e([h("esri.layers.VideoLayer")],me);const ue=me;export{ue as default};
|
|
5
|
+
import{_ as e}from"../chunks/tslib.es6.js";import t from"../Color.js";import r from"../request.js";import{deprecatedProperty as o}from"../core/deprecate.js";import i from"../core/Error.js";import s from"../core/Logger.js";import{clamp as l}from"../core/mathUtils.js";import{MultiOriginJSONMixin as n}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as a}from"../core/promiseUtils.js";import{watch as p,initial as y,whenOnce as m}from"../core/reactiveUtils.js";import{property as u}from"../core/accessorSupport/decorators/property.js";import{Integer as d}from"../core/accessorSupport/ensureType.js";import"../core/has.js";import"../core/RandomLCG.js";import{reader as c}from"../core/accessorSupport/decorators/reader.js";import{subclass as h}from"../core/accessorSupport/decorators/subclass.js";import{OriginId as f}from"../core/accessorSupport/PropertyOrigin.js";import v from"../geometry/Extent.js";import g from"../geometry/Polyline.js";import S from"../geometry/SpatialReference.js";import b from"./Layer.js";import{ArcGISService as O}from"./mixins/ArcGISService.js";import{BlendLayer as j,effectProperty as T}from"./mixins/BlendLayer.js";import{CustomParametersMixin as w}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as I}from"./mixins/OperationalLayer.js";import{PortalLayer as L}from"./mixins/PortalLayer.js";import{ScaleRangeLayer as C}from"./mixins/ScaleRangeLayer.js";import{titleFromUrlAndName as x}from"./support/arcgisLayerUrl.js";import{opacity as U,id as P}from"./support/commonProperties.js";import{normalizeParsedUrlObject as E,urlProperty as N}from"./support/multiLayerServiceUtils.js";import M from"./support/PlaybackInfo.js";import{getVideoLayerCapabilities as k}from"./support/serviceCapabilitiesUtils.js";import V from"./support/TelemetryData.js";import F from"./support/TelemetryDisplay.js";import R from"./support/VideoFrame.js";import G from"./support/VideoTimeExtent.js";import H from"./video/VideoController.js";import{getFrameHorizonPoints as J,getGroundControlPoints as A,getTelemetryData as z,getServiceLayersInfo as q,getStyledTelemetrySymbol as D,getSensorTrailPoints as _,readVideoTimeExtent as B}from"./video/videoUtils.js";import W from"../symbols/CIMSymbol.js";import Q from"../symbols/PictureMarkerSymbol.js";import $ from"../symbols/SimpleFillSymbol.js";import Z from"../symbols/SimpleLineSymbol.js";import K from"../symbols/SimpleMarkerSymbol.js";import X from"../symbols/Symbol.js";import{write as Y}from"../symbols/support/jsonUtils.js";function ee(e,t){return{ignoreOrigin:this.originIdOf(t)<f.PORTAL_ITEM}}let te=[];const re=new t([255,127,0]),oe=new t([0,0,0,.05]),ie=new K({angle:0,color:re,size:10,style:"cross"}),se=new $({color:oe,outline:new Z({color:re,width:2})}),le=new Z({color:re,width:1}),ne=new K({angle:0,color:re,outline:{color:[255,255,255],width:1.33},size:10,style:"circle"}),ae=new Z({color:re,width:1}),pe={types:{base:X,key:"type",typeMap:{"simple-marker":K,"picture-marker":Q,cim:W}},json:{name:"drawingInfo.sensorSymbol",write:{writer:Y,overridePolicy:ee}}};function ye(e,t){return{type:t,json:{name:e,write:{overridePolicy:ee}}}}let me=class extends(j(C(O(I(L(n(w(b)))))))){constructor(e){super(e),this.capabilities=null,this.codecs=null,this.connectionInfo=null,this.controller=new H,this.copyright=null,this.created=null,this.customParameters=null,this.description=null,this.elevationSource=null,this.frame=null,this.frameCenterSymbol=ie.clone(),this.frameCount=null,this.frameEffect=null,this.frameOpacity=1,this.frameOutlineSymbol=se.clone(),this.fullExtent=null,this.initialExtent=null,this.layerId=null,this.operationalLayerType="ArcGISVideoLayer",this.playbackInfo=null,this.posterUrl=null,this.qualities=null,this.sensorSymbolOrientation={source:"platformHeading",symbolOffset:0},this.sensorSymbol=ne.clone(),this.sensorSightLineSymbol=le.clone(),this.sensorTrailSymbol=ae.clone(),this.serviceItemId=null,this.sourceJSON=null,this.sourceQuality=null,this.sourceType=null,this.spatialReference=S.WGS84,this.start=0,this.telemetryDisplay=new F,this.type="video",this.url=null,this.version=null,this.videoLayersInfo=null}initialize(){this.addHandles([p(()=>this.metadata,()=>{this.notifyChange("telemetry"),this.notifyChange("groundControlPoints"),this.notifyChange("frameHorizonPoints")}),p(()=>this.telemetry?.sensorLocation,e=>this._setSensorTrail(e),y)]),m(()=>this.loaded&&"can-play"===this.state&&this.duration>0).then(()=>{this.start>=0&&this.start<=this.duration&&this.setCurrentTime(this.start)})}destroy(){this.removeAllHandles(),this.controller&&this.controller.destroy()}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Video Service"],supportsData:!1},e).catch(a).then(()=>this._fetchService(t));return this.addResolvingPromise(r),Promise.resolve(this)}get autoplay(){return this.controller?.autoplay??!1}set autoplay(e){this.controller.autoplay=e}get buffered(){return this.controller.buffered}readCapabilitiesFromService(e,t){return k(t)}readConnectionInfo(e,t){const r=Object.values(t.connectionUrl);return r?.length&&(this.controller.playerUrl=r[0]),t.connectionUrl}get currentTime(){return this.controller.currentTime}get duration(){return this.controller.duration}get ended(){return this.controller.ended}get frameHorizonPoints(){return J(this.metadata)}get groundControlPoints(){return A(this.metadata)}get isLive(){return this.controller?.isLive??!1}get livestreamStatus(){return this.controller?.livestreamStatus}get loop(){return this.controller.loop}set loop(e){this.controller.loop=e}get metadata(){return this.controller?.currentMetadata}get mimeType(){return this.controller?.mimeType}get muted(){return this.controller.muted}set muted(e){this.controller.muted=e}get parsedUrl(){return E(this)}get playbackRate(){return this.controller.rate}set playbackRate(e){this.controller.rate=e}get playerUrl(){return this.controller.playerUrl}get playing(){return this.controller.playing}get started(){return this.controller?.started??!1}get state(){return this.controller.state}get telemetry(){return z(this.metadata)}readTitleFromService(e,{name:t}){return this.url?x(this.url,t):t}get videoElement(){return this.controller?.element}get videoHeight(){return this.controller?.videoHeight}readLayerInfosFromService(e,t){return q(t)}get videoTimeExtent(){return o(s.getLogger(this),"videoTimeExtent",{replacement:"fullTimeExtent",version:"4.33",warnOnce:!0}),this.fullTimeExtent}get videoWidth(){return this.controller?.videoWidth}get volume(){return this.controller?.volume??0}set volume(e){this.controller.volume=e}get waiting(){return this.controller.waiting}play(){this.controller.play()}pause(){this.controller.pause()}reset(){te=[],this.controller.reset()}setCurrentTime(e){if(this.duration<0)return;const t=l(e,0,this.duration);this.controller.setCurrentTime(t)}toGround(e,t){return this.controller?.sensorModel?.metadataSupportsTransforms?this.controller.sensorModel.transformImageToGeo(e,t):null}toVideo(e){if(!this.controller?.sensorModel?.metadataSupportsTransforms)return null;const t=this.controller.sensorModel.transformGeoToImage(e.x,e.y,e.z);return{x:t[0],y:t[1]}}updateTelemetryColor(e){this.frameCenterSymbol=D(this.frameCenterSymbol,e)??ie,this.frameOutlineSymbol=D(this.frameOutlineSymbol,e,oe)??se,this.sensorSightLineSymbol=D(this.sensorSightLineSymbol,e)??le,this.sensorTrailSymbol=D(this.sensorTrailSymbol,e)??ae,this.sensorSymbol=D(this.sensorSymbol,e)??ne}write(e,t){return null==this.layerId?(t?.messages?.push(new i("layer:unsupported",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' cannot be saved to a web map, web scene, or portal item. The ArcGIS server version must be greater than 11.2.`)),null):super.write(e,t)}async _fetchService(e){if(this.sourceJSON)return void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});const{data:t,ssl:o}=await r(this.url,{query:{f:"json",...this.parsedUrl.query,...this.customParameters},signal:e});if(o&&(this.url=this.url.replace(/^http:/i,"https:")),!t?.currentVersion)return t.currentVersion="11.2",this.sourceJSON=t,void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});if(this.layerId??=t.layers?.[0]?.id??null,null==this.layerId)throw new i("arcgis-layers:url-mismatch","The url is not a valid arcgis resource");const{data:s}=await r(this.parsedUrl.path,{query:{f:"json",...this.customParameters},signal:e});this.sourceJSON={...t,...s},this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl})}_setSensorTrail(e){if(!e)return;const t=_(e,te);te=[...t];const r=te.map(e=>e.toArray()),o=new g({hasZ:e.hasZ,paths:[r]});this.telemetry.sensorTrail=o.clone()}};e([u({type:Boolean,json:{write:{ignoreOrigin:!0}}})],me.prototype,"autoplay",null),e([u({readOnly:!0})],me.prototype,"buffered",null),e([u({readOnly:!0})],me.prototype,"cameraInfo",void 0),e([u({readOnly:!0,json:{read:!1}})],me.prototype,"capabilities",void 0),e([c("service","capabilities",["supportsAppend","supportsCoverageQuery","supportsExportClip","supportsExportFrameset","supportsMensuration","supportsPreviews","supportsUpdate"])],me.prototype,"readCapabilitiesFromService",null),e([u({readOnly:!0})],me.prototype,"codecs",void 0),e([u({readOnly:!0})],me.prototype,"connectionInfo",void 0),e([c("connectionInfo",["connectionUrl"])],me.prototype,"readConnectionInfo",null),e([u()],me.prototype,"controller",void 0),e([u({type:String})],me.prototype,"copyright",void 0),e([u({readOnly:!0,type:Date})],me.prototype,"created",void 0),e([u({type:Number})],me.prototype,"currentTime",null),e([u({json:{write:!1}})],me.prototype,"customParameters",void 0),e([u({type:String})],me.prototype,"description",void 0),e([u({type:Number})],me.prototype,"duration",null),e([u({readOnly:!0})],me.prototype,"elevationSource",void 0),e([u({type:Boolean})],me.prototype,"ended",null),e([u({type:R})],me.prototype,"frame",void 0),e([u(ye("drawingInfo.frameCenterSymbol",K))],me.prototype,"frameCenterSymbol",void 0),e([u({readOnly:!0,type:d})],me.prototype,"frameCount",void 0),e([u(T)],me.prototype,"frameEffect",void 0),e([u(U)],me.prototype,"frameOpacity",void 0),e([u(ye("drawingInfo.frameOutlineSymbol",$))],me.prototype,"frameOutlineSymbol",void 0),e([u({type:v})],me.prototype,"fullExtent",void 0),e([u({readOnly:!0})],me.prototype,"frameHorizonPoints",null),e([u({readOnly:!0,json:{read:{reader:B,source:"time"}},type:G})],me.prototype,"fullTimeExtent",void 0),e([u({readOnly:!0})],me.prototype,"groundControlPoints",null),e([u(P)],me.prototype,"id",void 0),e([u({type:v})],me.prototype,"initialExtent",void 0),e([u({readOnly:!0})],me.prototype,"isLive",null),e([u({type:d,json:{read:!1,origins:{service:{read:{source:"id"}}}}})],me.prototype,"layerId",void 0),e([u({readOnly:!0})],me.prototype,"livestreamStatus",null),e([u({type:Boolean})],me.prototype,"loop",null),e([u({readOnly:!0})],me.prototype,"metadata",null),e([u({readOnly:!0})],me.prototype,"mimeType",null),e([u({type:Boolean,json:{write:{ignoreOrigin:!0}}})],me.prototype,"muted",null),e([u({type:["ArcGISVideoLayer"]})],me.prototype,"operationalLayerType",void 0),e([u({readOnly:!0})],me.prototype,"parsedUrl",null),e([u({type:M})],me.prototype,"playbackInfo",void 0),e([u({type:Number})],me.prototype,"playbackRate",null),e([u({readOnly:!0,type:String})],me.prototype,"playerUrl",null),e([u({readOnly:!0})],me.prototype,"playing",null),e([u({readOnly:!0,json:{read:{source:"poster"}}})],me.prototype,"posterUrl",void 0),e([u({readOnly:!0})],me.prototype,"qualities",void 0),e([u()],me.prototype,"sensorSymbolOrientation",void 0),e([u(pe)],me.prototype,"sensorSymbol",void 0),e([u(ye("drawingInfo.sensorSightLineSymbol",Z))],me.prototype,"sensorSightLineSymbol",void 0),e([u(ye("drawingInfo.sensorTrailSymbol",Z))],me.prototype,"sensorTrailSymbol",void 0),e([u({readOnly:!0})],me.prototype,"serviceItemId",void 0),e([u()],me.prototype,"sourceJSON",void 0),e([u({readOnly:!0})],me.prototype,"sourceQuality",void 0),e([u({readOnly:!0,json:{name:"serviceType"}})],me.prototype,"sourceType",void 0),e([u()],me.prototype,"spatialReference",void 0),e([u({json:{write:!0}})],me.prototype,"start",void 0),e([u({readOnly:!0})],me.prototype,"started",null),e([u({readOnly:!0,type:String})],me.prototype,"state",null),e([u({readOnly:!0,type:V})],me.prototype,"telemetry",null),e([u({type:F,nonNullable:!0,json:{write:{ignoreOrigin:!0}}})],me.prototype,"telemetryDisplay",void 0),e([c("service","title",["name"])],me.prototype,"readTitleFromService",null),e([u({readOnly:!0})],me.prototype,"type",void 0),e([u(N())],me.prototype,"url",void 0),e([u({readOnly:!0,type:Number,json:{read:{source:"currentVersion"}}})],me.prototype,"version",void 0),e([u({readOnly:!0})],me.prototype,"videoElement",null),e([u({readOnly:!0})],me.prototype,"videoHeight",null),e([u({readOnly:!0,json:{read:!1}})],me.prototype,"videoLayersInfo",void 0),e([c("service","videoLayersInfo",["id","name","poster","serviceType","type"])],me.prototype,"readLayerInfosFromService",null),e([u({type:G,readOnly:!0})],me.prototype,"videoTimeExtent",null),e([u({readOnly:!0})],me.prototype,"videoWidth",null),e([u()],me.prototype,"volume",null),e([u({readOnly:!0})],me.prototype,"waiting",null),me=e([h("esri.layers.VideoLayer")],me);const ue=me;export{ue as default};
|
|
@@ -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{_ as e}from"../../chunks/tslib.es6.js";import r from"../../core/JSONSupport.js";import{clone as o}from"../../core/lang.js";import t from"../../core/Warning.js";import{property as s}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import{subclass as p}from"../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../core/accessorSupport/decorators/writer.js";import{persistable as a}from"../../core/accessorSupport/decorators/persistable.js";import c from"../../geometry/Polygon.js";import{canProjectWithoutEngine as
|
|
5
|
+
import{_ as e}from"../../chunks/tslib.es6.js";import r from"../../core/JSONSupport.js";import{clone as o}from"../../core/lang.js";import t from"../../core/Warning.js";import{property as s}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import{subclass as p}from"../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../core/accessorSupport/decorators/writer.js";import{persistable as a}from"../../core/accessorSupport/decorators/persistable.js";import c from"../../geometry/Polygon.js";import{canProjectWithoutEngine as m,projectPolygon as n}from"../../geometry/projectionUtils.js";var l;let y=l=class extends r{constructor(e){super(e),this.geometry=null,this.type="clip"}writeGeometry(e,r,o,s){if(s.layer?.spatialReference&&!s.layer.spatialReference.equals(this.geometry.spatialReference)){if(!m(e.spatialReference,s.layer.spatialReference))return void(s?.messages&&s.messages.push(new t("scenemodification:unsupported","Scene modifications with incompatible spatial references are not supported",{modification:this,spatialReference:s.layer.spatialReference,context:s})));const p=new c;n(e,p,s.layer.spatialReference),r[o]=p.toJSON(s)}else r[o]=e.toJSON(s)}clone(){return new l({geometry:o(this.geometry),type:this.type})}};e([s({type:c}),a()],y.prototype,"geometry",void 0),e([i(["web-scene","portal-item"],"geometry")],y.prototype,"writeGeometry",null),e([s({type:["clip","mask","replace"],nonNullable:!0}),a()],y.prototype,"type",void 0),y=l=e([p("esri.layers.support.SceneModification")],y);export{y as default};
|