@arcgis/core 4.32.0-next.20241219 → 4.32.0-next.20241221
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/WebLinkChart.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{0da2aaca3f0b4fe910e3.js → 015285436ca965f94e17.js} +1 -1
- package/assets/esri/core/workers/chunks/127c82cdb229434883b6.js +1 -0
- package/assets/esri/core/workers/chunks/16530347bd78dc6c2fcd.js +1 -0
- package/assets/esri/core/workers/chunks/{5119811063bfc97fb725.js → 1a713cc601c6fcd97d2f.js} +1 -1
- package/assets/esri/core/workers/chunks/{48f6eb3b63fec1d3312d.js → 2d908c115ea18e813b95.js} +1 -1
- package/assets/esri/core/workers/chunks/{11052103efe3d53a784e.js → 31d9f0a37a5d0a1c450b.js} +1 -1
- package/assets/esri/core/workers/chunks/{e7c3199813070ff30a3d.js → 3bb94da29dac3367ecc6.js} +1 -1
- package/assets/esri/core/workers/chunks/3ed7c8138231de3a3b96.js +1 -0
- package/assets/esri/core/workers/chunks/{9cc9bac6e02ab241e852.js → 4746b7afa90ea3641e60.js} +1 -1
- package/assets/esri/core/workers/chunks/{ce33d2b5f22a5c566661.js → 4b5dbdcad438cb2dd4bf.js} +1 -1
- package/assets/esri/core/workers/chunks/5a0eb9dfe668cf290462.js +1 -0
- package/assets/esri/core/workers/chunks/{ee1ddf56549bb169509c.js → 6332da54159d72a6ce66.js} +1 -1
- package/assets/esri/core/workers/chunks/648d7d8fa19a2e772c89.js +1 -0
- package/assets/esri/core/workers/chunks/66b411119b8ffb99b9dc.js +1 -0
- package/assets/esri/core/workers/chunks/69efc716991a407c3d23.js +1 -0
- package/assets/esri/core/workers/chunks/88c68881cbdf4e911832.js +1 -0
- package/assets/esri/core/workers/chunks/8e60de347b209a753c73.js +1 -0
- package/assets/esri/core/workers/chunks/{fb43c44a7d6b61f31e75.js → 94432e04de01ee7adc0e.js} +1 -1
- package/assets/esri/core/workers/chunks/{80ac74da0b0e45e74beb.js → 9a498f2c007f4d78d4dd.js} +1 -1
- package/assets/esri/core/workers/chunks/{770d233254419b741616.js → 9ad7d095e614e7e8d7f5.js} +1 -1
- package/assets/esri/core/workers/chunks/9dd167db3f2e68b71cea.js +1 -0
- package/assets/esri/core/workers/chunks/{b15894bff153e0793ef4.js → 9f495ad57cdbfa90c5b8.js} +1 -1
- package/assets/esri/core/workers/chunks/{d7b76bc7bff34abc2253.js → a0b3d70a1b0360084593.js} +1 -1
- package/assets/esri/core/workers/chunks/a90611cdc86190799560.js +1 -0
- package/assets/esri/core/workers/chunks/{e213f4a1c95a33f80cdc.js → aedff36d3fec86abb9fb.js} +1 -1
- package/assets/esri/core/workers/chunks/{194013d377e7dd00845f.js → b611f46835edcd6eefcc.js} +1 -1
- package/assets/esri/core/workers/chunks/{eddab4dc706e75c6637f.js → bff74200a0df0950cf08.js} +1 -1
- package/assets/esri/core/workers/chunks/{8f2ffb6944c9028d3bea.js → c08cb75c3eef6c45f604.js} +1 -1
- package/assets/esri/core/workers/chunks/c1c216b0aebe86311fae.js +1 -0
- package/assets/esri/core/workers/chunks/{f2b195d04414417682d4.js → cbf57abb537e86c1dd7f.js} +1 -1
- package/assets/esri/core/workers/chunks/dce55e7f76adecc055c3.js +1 -0
- package/assets/esri/core/workers/chunks/f2cdb7be3fd65f65c30b.js +1 -0
- package/assets/esri/core/workers/chunks/f9af0473878d960a02f2.js +1 -0
- package/assets/esri/core/workers/chunks/fa1c68f2ffcdff7986b6.js +1 -0
- package/assets/esri/core/workers/chunks/{0f1a7aeec18db5323365.js → fdd8a5eb07466541f1f9.js} +1 -1
- package/assets/esri/themes/base/widgets/_FeatureTable.scss +3 -3
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/OperatorProject.js +1 -1
- package/chunks/QuadraticBezier.js +1 -1
- package/form/elements/GroupElement.js +1 -1
- package/form/elements/UtilityNetworkAssociationsElement.d.ts +4 -0
- package/form/elements/{UtilityNetworkAssociationElement.js → UtilityNetworkAssociationsElement.js} +1 -1
- package/form/elements.js +1 -1
- package/form/support/formUtils.js +1 -1
- package/geometry/operators/affineTransformOperator.js +1 -1
- package/geometry/operators/alphaShapeOperator.js +1 -1
- package/geometry/operators/areaOperator.js +1 -1
- package/geometry/operators/autoCompleteOperator.js +1 -1
- package/geometry/operators/boundaryOperator.js +1 -1
- package/geometry/operators/bufferOperator.js +1 -1
- package/geometry/operators/centroidOperator.js +1 -1
- package/geometry/operators/clipOperator.js +1 -1
- package/geometry/operators/containsOperator.js +1 -1
- package/geometry/operators/convexHullOperator.js +1 -1
- package/geometry/operators/crossesOperator.js +1 -1
- package/geometry/operators/cutOperator.js +1 -1
- package/geometry/operators/densifyOperator.js +1 -1
- package/geometry/operators/differenceOperator.js +1 -1
- package/geometry/operators/disjointOperator.js +1 -1
- package/geometry/operators/distanceOperator.js +1 -1
- package/geometry/operators/equalsOperator.js +1 -1
- package/geometry/operators/extendOperator.js +1 -1
- package/geometry/operators/generalizeOperator.js +1 -1
- package/geometry/operators/geodesicBufferOperator.js +1 -1
- package/geometry/operators/geodesicProximityOperator.js +1 -1
- package/geometry/operators/geodeticAreaOperator.js +1 -1
- package/geometry/operators/geodeticDensifyOperator.js +1 -1
- package/geometry/operators/geodeticDistanceOperator.js +1 -1
- package/geometry/operators/geodeticLengthOperator.js +1 -1
- package/geometry/operators/graphicBufferOperator.js +1 -1
- package/geometry/operators/integrateOperator.js +1 -1
- package/geometry/operators/intersectionOperator.js +1 -1
- package/geometry/operators/intersectsOperator.js +1 -1
- package/geometry/operators/isNearOperator.js +1 -1
- package/geometry/operators/labelPointOperator.js +1 -1
- package/geometry/operators/lengthOperator.js +1 -1
- package/geometry/operators/linesToPolygonsOperator.js +1 -1
- package/geometry/operators/locateBetweenOperator.js +1 -1
- package/geometry/operators/minimumBoundingCircleOperator.js +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
- package/geometry/operators/offsetOperator.js +1 -1
- package/geometry/operators/overlapsOperator.js +1 -1
- package/geometry/operators/polygonOverlayOperator.js +1 -1
- package/geometry/operators/polygonSlicerOperator.js +1 -1
- package/geometry/operators/projectOperator.js +1 -1
- package/geometry/operators/proximityOperator.js +1 -1
- package/geometry/operators/relateOperator.js +1 -1
- package/geometry/operators/reshapeOperator.js +1 -1
- package/geometry/operators/simplifyOperator.js +1 -1
- package/geometry/operators/singlePartToMultiPartOperator.js +1 -1
- package/geometry/operators/symmetricDifferenceOperator.js +1 -1
- package/geometry/operators/touchesOperator.js +1 -1
- package/geometry/operators/unionOperator.js +1 -1
- package/geometry/operators/withinOperator.js +1 -1
- package/interfaces.d.ts +231 -71
- package/layers/LinkChartLayer.js +1 -1
- package/layers/graphics/OptimizedFeature.js +1 -1
- package/layers/graphics/sources/geojson/geojson.js +1 -1
- package/layers/knowledgeGraph/supportUtils.js +1 -1
- package/layers/support/Sublayer.js +1 -1
- package/layers/support/VideoElement.js +1 -1
- package/layers/support/domainUtils.js +1 -1
- package/layers/support/fieldUtils.js +1 -1
- package/linkChart/OrganicLayoutSettings.js +1 -1
- package/package.json +1 -1
- package/portal/schemas/definitions.js +1 -1
- package/rest/knowledgeGraphService.js +1 -1
- package/rest/query/operations/pbfOptimizedFeatureSet.js +1 -1
- package/rest/support/fileFormat.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/mesh/factories/ResourceProxy.js +1 -1
- package/views/2d/input/MapViewInputManager.js +1 -1
- package/views/2d/input/handlers/KeyRotate.js +1 -1
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
- package/views/2d/layers/features/Processor.js +1 -1
- package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
- package/views/2d/layers/features/processor/BinningStrategy.js +1 -1
- package/views/2d/layers/features/processor/ClusterStrategy.js +1 -1
- package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
- package/views/2d/layers/features/sources/FeatureSource.js +1 -1
- package/views/2d/layers/features/sources/strategies/ALoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/ASourceChunk.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/Overrides.js +5 -0
- package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderJSON.js +1 -1
- package/views/2d/layers/support/DebouncedFeatureOverride.js +5 -0
- package/views/2d/layers/support/FeatureCommandQueue.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/input/handlers/KeyboardNavigation.js +1 -1
- package/views/3d/terrain/TileTexture.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/RenderSubmitSystem.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/lib/TextureCompressionWorker.js +1 -1
- package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
- package/views/layers/FeatureLayerView.js +1 -1
- package/views/support/TextureCompressionHelper.js +1 -1
- package/views/webgl/Texture.js +1 -1
- package/webscene/Slide.js +1 -1
- package/webscene/SlideLegend.d.ts +4 -0
- package/webscene/SlideLegend.js +5 -0
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/Features.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/DigitizationAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageOverlays.js +1 -1
- package/widgets/OrientedImageryViewer/digitizationUtils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/Popup.js +1 -1
- package/widgets/Print/PrintViewModel.js +1 -1
- package/widgets/Print/TemplateOptions.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/ShadowCast.js +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/assets/esri/core/workers/chunks/0e9bd990a8d0691fb9c8.js +0 -1
- package/assets/esri/core/workers/chunks/27933d6ffeebb5c13ab7.js +0 -1
- package/assets/esri/core/workers/chunks/3ef5002b21b1a5b97e11.js +0 -1
- package/assets/esri/core/workers/chunks/48266c87363e7dcaefb3.js +0 -1
- package/assets/esri/core/workers/chunks/5786b190ad3e2d933245.js +0 -1
- package/assets/esri/core/workers/chunks/668679baf519ada9ae28.js +0 -1
- package/assets/esri/core/workers/chunks/737f381f2cfeddb96d15.js +0 -1
- package/assets/esri/core/workers/chunks/84d26c6c805f5855ffd3.js +0 -1
- package/assets/esri/core/workers/chunks/8f2f2d497b875e2b4139.js +0 -1
- package/assets/esri/core/workers/chunks/a4c8b773283ea8f0e256.js +0 -1
- package/assets/esri/core/workers/chunks/a68068b3151a14c4a0ad.js +0 -1
- package/assets/esri/core/workers/chunks/ad99308fb9678cdce917.js +0 -1
- package/assets/esri/core/workers/chunks/cc427e8f1b17744b6ea4.js +0 -1
- package/assets/esri/core/workers/chunks/dd4bd96dfb7f9921b774.js +0 -1
- package/assets/esri/core/workers/chunks/e1a03231e24293e66418.js +0 -1
- package/assets/esri/core/workers/chunks/fce1158755f959730602.js +0 -1
- package/views/2d/layers/features/sources/strategies/chunks/OverrideChunk.js +0 -5
- package/views/3d/input/handlers/SingleKey.js +0 -5
- package/views/3d/input/handlers/SingleKeyResetHeading.js +0 -5
- package/views/3d/input/handlers/SingleKeyResetTilt.js +0 -5
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import"./AttachmentElement.js";import"./FieldElement.js";import{_ as e}from"../../chunks/tslib.es6.js";import{clone as t}from"../../core/lang.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import{cast as o}from"../../core/accessorSupport/decorators/cast.js";import{reader as s}from"../../core/accessorSupport/decorators/reader.js";import{subclass as i}from"../../core/accessorSupport/decorators/subclass.js";import{writer as p}from"../../core/accessorSupport/decorators/writer.js";import l from"./Element.js";import{ensureType as n,fromJSON as m,toJSON as a,buildTypeMaps as c}from"../support/formUtils.js";import"./RelationshipElement.js";import"./TextElement.js";var d;let u=d=class extends l{constructor(e){super(e),this.elements=null,this.initialState="expanded",this.type="group"}castElements(e){return n(e,E,!1)}readElements(e,t){return m(t.formElements,E,!1)}writeElements(e,t){t.formElements=a(e,E,!1)}clone(){return new d({description:this.description,elements:t(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};e([r({json:{write:!0}})],u.prototype,"elements",void 0),e([o("elements")],u.prototype,"castElements",null),e([s("elements",["formElements"])],u.prototype,"readElements",null),e([p("elements")],u.prototype,"writeElements",null),e([r({type:["collapsed","expanded"],json:{write:!0}})],u.prototype,"initialState",void 0),e([r({type:String,json:{read:!1,write:!0}})],u.prototype,"type",void 0),u=d=e([i("esri.form.elements.GroupElement")],u);const E=c(u),j=u;export{j as default};
|
|
5
|
+
import"./AttachmentElement.js";import"./FieldElement.js";import{_ as e}from"../../chunks/tslib.es6.js";import{clone as t}from"../../core/lang.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import{cast as o}from"../../core/accessorSupport/decorators/cast.js";import{reader as s}from"../../core/accessorSupport/decorators/reader.js";import{subclass as i}from"../../core/accessorSupport/decorators/subclass.js";import{writer as p}from"../../core/accessorSupport/decorators/writer.js";import l from"./Element.js";import{ensureType as n,fromJSON as m,toJSON as a,buildTypeMaps as c}from"../support/formUtils.js";import"./RelationshipElement.js";import"./TextElement.js";import"./UtilityNetworkAssociationsElement.js";var d;let u=d=class extends l{constructor(e){super(e),this.elements=null,this.initialState="expanded",this.type="group"}castElements(e){return n(e,E,!1)}readElements(e,t){return m(t.formElements,E,!1)}writeElements(e,t){t.formElements=a(e,E,!1)}clone(){return new d({description:this.description,elements:t(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};e([r({json:{write:!0}})],u.prototype,"elements",void 0),e([o("elements")],u.prototype,"castElements",null),e([s("elements",["formElements"])],u.prototype,"readElements",null),e([p("elements")],u.prototype,"writeElements",null),e([r({type:["collapsed","expanded"],json:{write:!0}})],u.prototype,"initialState",void 0),e([r({type:String,json:{read:!1,write:!0}})],u.prototype,"type",void 0),u=d=e([i("esri.form.elements.GroupElement")],u);const E=c(u),j=u;export{j as default};
|
package/form/elements/{UtilityNetworkAssociationElement.js → UtilityNetworkAssociationsElement.js}
RENAMED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as o}from"../../chunks/tslib.es6.js";import t from"../../core/Clonable.js";import{property as s}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as e}from"../../core/accessorSupport/decorators/subclass.js";import r from"./Element.js";import i from"../../popup/support/UtilityNetworkAssociationType.js";let p=class extends(t.ClonableMixin(r)){constructor(o){super(o),this.associationTypes=null,this.displayCount=3,this.editableExpression=null,this.type="utilityNetworkAssociations"}};o([s({type:[i],json:{write:{isRequired:!0}}})],p.prototype,"associationTypes",void 0),o([s({type:Number,json:{write:!0}})],p.prototype,"displayCount",void 0),o([s({type:String,json:{write:!0}})],p.prototype,"editableExpression",void 0),o([s({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],p.prototype,"type",void 0),p=o([e("esri.form.elements.
|
|
5
|
+
import{_ as o}from"../../chunks/tslib.es6.js";import t from"../../core/Clonable.js";import{property as s}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as e}from"../../core/accessorSupport/decorators/subclass.js";import r from"./Element.js";import i from"../../popup/support/UtilityNetworkAssociationType.js";let p=class extends(t.ClonableMixin(r)){constructor(o){super(o),this.associationTypes=null,this.displayCount=3,this.editableExpression=null,this.type="utilityNetworkAssociations"}};o([s({type:[i],json:{write:{isRequired:!0}}})],p.prototype,"associationTypes",void 0),o([s({type:Number,json:{write:!0}})],p.prototype,"displayCount",void 0),o([s({type:String,json:{write:!0}})],p.prototype,"editableExpression",void 0),o([s({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],p.prototype,"type",void 0),p=o([e("esri.form.elements.UtilityNetworkAssociationsElement")],p);const n=p;export{n as default};
|
package/form/elements.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.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
export{default as AttachmentElement}from"./elements/AttachmentElement.js";export{default as FieldElement}from"./elements/FieldElement.js";export{default as GroupElement}from"./elements/GroupElement.js";export{default as RelationshipElement}from"./elements/RelationshipElement.js";export{default as TextElement}from"./elements/TextElement.js";
|
|
5
|
+
export{default as AttachmentElement}from"./elements/AttachmentElement.js";export{default as FieldElement}from"./elements/FieldElement.js";export{default as GroupElement}from"./elements/GroupElement.js";export{default as RelationshipElement}from"./elements/RelationshipElement.js";export{default as TextElement}from"./elements/TextElement.js";export{default as UtilityNetworkAssociationsElement}from"./elements/UtilityNetworkAssociationsElement.js";
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{ensureOneOfType as t}from"../../core/accessorSupport/ensureType.js";import e from"../elements/AttachmentElement.js";import
|
|
5
|
+
import{ensureOneOfType as t}from"../../core/accessorSupport/ensureType.js";import e from"../elements/AttachmentElement.js";import o from"../elements/Element.js";import p from"../elements/FieldElement.js";import r from"../elements/RelationshipElement.js";import i from"../elements/TextElement.js";import n from"../elements/UtilityNetworkAssociationsElement.js";const s=t=>"field"===t.type,u=t=>"group"===t.type,m=t=>"text"===t.type,y=t=>"relationship"===t.type,l=t=>"utilityNetworkAssociations"===t.type;function a(t){return f(t)||c(t)}function f(t){return"text-area"===t.type}function c(t){return"text-box"===t.type}function h(t){return{typesWithGroup:{base:o,key:"type",typeMap:{attachment:e,field:p,group:t,relationship:r,text:i,utilityNetworkAssociations:n}},typesWithoutGroup:{base:o,key:"type",typeMap:{attachment:e,field:p,relationship:r,text:i,utilityNetworkAssociations:n}}}}function x(t,e,o=!0){if(!t)return null;const p=o?e.typesWithGroup.typeMap:e.typesWithoutGroup.typeMap;return t.filter((t=>p[t.type])).map((t=>p[t.type].fromJSON(t)))}function G(t,e,o=!0){if(!t)return null;const p=o?e.typesWithGroup.typeMap:e.typesWithoutGroup.typeMap;return t.filter((t=>p[t.type])).map((t=>t.toJSON()))}function W(e,o,p=!0){return e?e.map((e=>t(p?o.typesWithGroup:o.typesWithoutGroup,e))):null}export{h as buildTypeMaps,W as ensureType,x as fromJSON,s as isFieldElement,u as isGroupElement,y as isRelationshipElement,f as isTextAreaInput,c as isTextBoxInput,m as isTextElement,a as isTextInput,l as isUtilityNetworkAssociationsElement,G as toJSON};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{execute as t,executeMany as
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as o,execute as t,executeMany as s}from"./gx/operatorAffineTransform.js";import{getSpatialReference as e,toGeometry as n,fromGeometry as a}from"./support/apiConverter.js";function p(r,o){const s=e(r);return n(t(a(r),o.transform),s)}function f(o,t){const p=o.map(a),f=e(o);return s(p,t.transform).map((r=>n(r,f))).filter(r)}const m=o();export{p as execute,f as executeMany,m as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
5
|
+
import{supportsCurves as e,execute as r,executeMany as t}from"./gx/operatorAlphaShape.js";import{getSpatialReference as a,toPolygon as p,fromGeometry as o}from"./support/apiConverter.js";function s(e,t){const s=a(e),n=[0];return{alphaShape:p(r(o(e),t,n),s),calculatedAlpha:n[0]}}function n(e,r,s={}){const{merge:n=!1}=s,u=e.map(o),c=a(e);return t(u,r,n).map((e=>p(e,c)))}const u=e();export{s as execute,n as executeMany,u as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{areaUnitFromSpatialReference as r,convertUnit as t,getMetersPerUnitForSR as
|
|
5
|
+
import{areaUnitFromSpatialReference as r,convertUnit as t,getMetersPerUnitForSR as o}from"../../core/unitUtils.js";import{fromGeometry as e,getSpatialReference as n}from"./support/apiConverter.js";function a(a,i={}){const{unit:s}=i;let c=e(a).calculateArea2D();if(c&&s){const e=n(a);if(e.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const i=r(e);i!==s&&(i?c=t(c,i,s):(c=Math.sqrt(c),c*=o(e),c**=2,c=t(c,"square-meters",s)))}return c}const i=!0;export{a as execute,i as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as o,execute as t}from"./gx/operatorAutoComplete.js";import{getSpatialReference as p,fromSpatialReference as e,fromPolyline as s,fromPolygon as m,toPolygon as a}from"./support/apiConverter.js";function i(o,i){const u=p(o);return t(o.map(m),i.map(s),e(u)).map((r=>a(r,u))).filter(r)}const u=o();export{i as execute,u as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
5
|
+
import{supportsCurves as r,execute as o,executeMany as t}from"./gx/operatorBoundary.js";import{getSpatialReference as e,toGeometry as n,fromGeometry as s}from"./support/apiConverter.js";function p(r){const t=e(r);return n(o(s(r)),t)}function u(r){const o=r.map(s),p=e(r);return t(o).map((r=>n(r,p)))}const a=r();export{p as execute,u as executeMany,a as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{supportsCurves as o,execute as e,executeManyEx as i}from"./gx/operatorBuffer.js";import{getSpatialReference as n,toGeometry as s,fromSpatialReference as p,fromGeometry as u}from"./support/apiConverter.js";function a(r,o,i={}){const{unit:a}=i,m=n(r);return a&&(o=t(o,a,m)),s(e(u(r),p(m),o),m)}function m(o,e,a={}){let{maxDeviation:m=NaN,maxVerticesInFullCircle:c=96,union:f=!1,unit:l}=a;const x=n(o);l&&(e=e.map((r=>t(r,l,x))),m&&(m=t(m,l,x)));const j=o.map(u);return i(j,p(x),e,m,c,f).map((r=>s(r,x))).filter(r)}const c=o();export{a as execute,m as executeMany,c as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{c as e}from"../../chunks/Centroid-DZi-eb9F.js";import{fromGeometry as r,toPoint as t,getSpatialReference as n}from"./support/apiConverter.js";class
|
|
5
|
+
import{c as e}from"../../chunks/Centroid-DZi-eb9F.js";import{fromGeometry as r,toPoint as t,getSpatialReference as n}from"./support/apiConverter.js";class o{getOperatorType(){return 10205}accelerateGeometry(e,r,t){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(r,t){return e(r)}}const s=new o;function u(e){const o=s.execute(r(e),null);return t(o,n(e))}const c=s.supportsCurves();export{u as execute,c as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
5
|
+
import{supportsCurves as e,execute as o,executeMany as r}from"./gx/operatorClip.js";import{getSpatialReference as t,fromExtent as p,toGeometry as s,fromSpatialReference as n,fromGeometry as a}from"./support/apiConverter.js";function u(e,r){const u=t(e),c=p(r).asEnvelope2D();return s(o(a(e),c,n(u)),u)}function c(e,o){const u=e.map(a),c=t(e),i=p(o).asEnvelope2D();return r(u,i,n(c)).map((e=>s(e,c)))}const i=e();export{u as execute,c as executeMany,i as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{O as e}from"../../chunks/OperatorProject.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as
|
|
5
|
+
import{O as e}from"../../chunks/OperatorProject.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";const n=new e;function s(e){const s=r(e);return n.accelerateGeometry(t(e),o(s),1)}function c(e,r){return n.execute(t(e),t(r),o(e.spatialReference),null)}const p=n.supportsCurves();export{s as accelerateGeometry,c as execute,p as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
5
|
+
import{supportsCurves as r,execute as e,executeMany as o,isConvex as t}from"./gx/operatorConvexHull.js";import{getSpatialReference as n,toGeometry as s,fromGeometry as u}from"./support/apiConverter.js";function p(r){const o=n(r);return s(e(u(r)),o)}function a(r,e={}){const{merge:t=!1}=e,p=r.map(u),a=n(r);return o(p,t).map((r=>s(r,a)))}function c(r){return t(u(r))}const i=r();export{p as execute,a as executeMany,c as isConvex,i as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{O as e}from"../../chunks/OperatorCrosses.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as
|
|
5
|
+
import{O as e}from"../../chunks/OperatorCrosses.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";const s=new e;function n(e){const n=r(e);return s.accelerateGeometry(t(e),o(n),1)}function c(e,r){return s.execute(t(e),t(r),o(e.spatialReference),null)}const p=s.supportsCurves();export{n as accelerateGeometry,c as execute,p as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as o,execute as t}from"./gx/operatorCut.js";import{getSpatialReference as s,fromSpatialReference as e,fromPolyline as p,fromGeometry as a,toGeometry as i}from"./support/apiConverter.js";function m(o,m){const u=s(o);return t(a(o),p(m),e(u)).map((r=>i(r,u))).filter(r)}const u=o();export{m as execute,u as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as
|
|
5
|
+
import{isSome as t}from"../../core/arrayUtils.js";import{deg2rad as e}from"../../core/mathUtils.js";import{convertToSpatialReferenceUnit as r}from"../../core/unitUtils.js";import{supportsCurves as o,execute as n,executeMany as s}from"./gx/operatorDensify.js";import{getSpatialReference as i,toGeometry as a,fromGeometry as m}from"./support/apiConverter.js";function p(t,o,s={}){let{maxAngleInDegrees:p=0,maxDeviation:u=0,unit:c}=s;const f=i(t);return c&&(o=r(o,c,f),u&&(u=r(u,c,f))),a(n(m(t),o,u,e(p)),f)}function u(o,n,p={}){let{maxAngleInDegrees:u=0,maxDeviation:c=0,unit:f}=p;const l=o.map(m),x=i(o);return f&&(n=r(n,f,x),c&&(c=r(c,f,x))),s(l,n,c,e(u)).map((t=>a(t,x))).filter(t)}const c=o();export{p as execute,u as executeMany,c as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
5
|
+
import{supportsCurves as r,execute as e,executeMany as t}from"./gx/operatorDifference.js";import{getSpatialReference as o,toGeometry as n,fromSpatialReference as s,fromGeometry as p}from"./support/apiConverter.js";function u(r,t){const u=o(r);return n(e(p(r),p(t),s(u)),u)}function a(r,e){const u=r.map(p),a=o(r);return t(u,p(e),s(a)).map((r=>n(r,a)))}const c=r();export{u as execute,a as executeMany,c as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{d as e}from"../../chunks/OperatorProject.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";const n=new e;function
|
|
5
|
+
import{d as e}from"../../chunks/OperatorProject.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";const n=new e;function s(e){const s=r(e);return n.accelerateGeometry(t(e),o(s),1)}function c(e,r){return n.execute(t(e),t(r),o(e.spatialReference))}const p=n.supportsCurves();export{s as accelerateGeometry,c as execute,p as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{b as e}from"../../chunks/Geometry.js";import{D as r}from"../../chunks/Distance2DCalculator-eS0piaux.js";import{convertFromSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{fromGeometry as u,getSpatialReference as
|
|
5
|
+
import{b as e}from"../../chunks/Geometry.js";import{D as r}from"../../chunks/Distance2DCalculator-eS0piaux.js";import{convertFromSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{fromGeometry as u,getSpatialReference as s}from"./support/apiConverter.js";class n{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(e,r,t){return!1}canAccelerateGeometry(e){return!1}execute(e,r,t){return this.executeEx(e,r,t,null,null,Number.NaN)}executeEx(t,u,s,n,o,c){if(t.isEmpty()||u.isEmpty())return Number.NaN;e(t),e(u);const i=t,a=u;Number.isNaN(c)&&(c=Number.POSITIVE_INFINITY);const m=new r(c,s).calculate(i,a,n,o);return Number.isFinite(m)?m:Number.NaN}}const o=new n;function c(e,r,n={}){const{unit:c}=n;let i=o.execute(u(e),u(r),null);if(i&&c){const r=s(e);i=t(i,r,c)}return i}const i=o.supportsCurves();export{c as execute,i as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{b as e,r}from"../../chunks/OperatorProject.js";import{getSpatialReference as t,fromGeometry as n,fromSpatialReference as o}from"./support/apiConverter.js";class s extends e{getOperatorType(){return 2}execute(e,t,n,o){return r(e,t,n,3,o)}}const
|
|
5
|
+
import{b as e,r}from"../../chunks/OperatorProject.js";import{getSpatialReference as t,fromGeometry as n,fromSpatialReference as o}from"./support/apiConverter.js";class s extends e{getOperatorType(){return 2}execute(e,t,n,o){return r(e,t,n,3,o)}}const c=new s;function u(e){const r=t(e);return c.accelerateGeometry(n(e),o(r),1)}function p(e,r){return c.execute(n(e),n(r),o(e.spatialReference),null)}const a=c.supportsCurves();export{u as accelerateGeometry,p as execute,a as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{t as e,p as t,G as n,k as r}from"../../chunks/Geometry.js";import{a as o,c as s,S as a,P as i,$ as g,A as u,B as m}from"../../chunks/QuadraticBezier.js";import{getSpatialReference as c,fromPolyline as l,fromSpatialReference as d,toPolyline as p}from"./support/apiConverter.js";function h(t,n,r,a,i){if(t.isEmpty()||n.isEmpty())return null;if(8&a&&16&a)return null;2&a&&4&a&&e("");const g=new o,u=new o;t.queryEnvelope(g),n.queryEnvelope(u),g.mergeEnvelope2D(u);return f(t,n,s(r,g,!0).total(),a)}function f(e,o,s,u){t(e),t(o);let m,c=!1;const l=e.querySegmentIterator(),d=o.querySegmentIterator();let p=0;const h=new a,f=new i({vd:e.getDescription()}),P=new i({vd:e.getDescription()}),S=[],x=[];for(y(e,S,x);l.nextPath();){let t=!0,o=0;for(;2!==o;){if(0===o){l.nextSegment().getGeometryType()!==n.enumLine&&r(""),o++}else{l.resetToLastSegment();if(l.previousSegment().getGeometryType()!==n.enumLine&&r(""),c&&t){const n=l.getPathIndex();m.addSegmentsFromPath(e,n,0,e.getSegmentCountPath(n),!0),t=!1}o++}let a=!1;if(p<x.length){const e=x[S[p]],t=l.getPathIndex();if(e.m_path===t){const t=1===o?l.getStartPointIndex():l.getEndPointIndex();e.m_pointIndex===t&&(a=!0,p++)}}if(1===o){if(8&u)continue}else if(16&u)continue;if(!a){1===o?l.previousSegment():l.nextSegment();const a=1===o?l.nextSegment():l.previousSegment(),i=a,p=i.calculateLength2D();d.resetToFirstPath();let y=!1,S=Number.NaN;for(;d.nextPath();){for(;d.hasNextSegment();){const e=d.nextSegment();e.getGeometryType()!==n.enumLine&&r("");const t=e,{bIntersect:a,t1:u,t2:m}=g(i,t);if(a){const e=t.calculateLength2D();if(m*e>=-s&&(1-m)*e>=-s)if(1===o){if(u*p<=-s)(Number.isNaN(S)||u>S)&&(S=u);else if(u*p<=s){S=Number.NaN,y=!0;break}}else if((1-u)*p<=-s)(Number.isNaN(S)||u<S)&&(S=u);else if((1-u)*p<=s){S=Number.NaN,y=!0;break}}}if(y)break}if(!Number.isNaN(S)){if(!c){m=e.createInstance();for(let t=0;t<l.getPathIndex();t++)m.addPath(e,t,!0)}if(1===o){a.queryCoord(S,f);const n=l.getPathIndex();if(2&u?e.getPointByVal(e.getPathStart(n),P):4&u&&P.setEmpty(),1&u||(h.create(a.getGeometryType()),a.copyTo(h.get()),h.get().setEnd(f),h.get().reverse(),m.addSegment(h.get(),!0),t=!1),m.addSegmentsFromPath(e,n,0,e.getSegmentCountPath(n),t),1&u){const e=m.getPathStart(n);m.setPointByVal(e,f)}if(2&u||4&u){const e=m.getPathStart(n),t=f.getXY();P.setXY(t),m.setPointByVal(e,P)}c=!0,t=!1}else{const n=l.getPathIndex();if(t&&(m.addSegmentsFromPath(e,n,0,e.getSegmentCountPath(n),!0),t=!1),2&u?e.getPointByVal(e.getPathEnd(n)-1,P):4&u&&P.setEmpty(),a.queryCoord(S,f),1&u){const e=m.getPathEnd(n);m.setPointByVal(e-1,f)}else h.create(a.getGeometryType()),a.copyTo(h.get()),h.get().setEnd(f),m.addSegment(h.get(),!1);if(2&u||4&u){const e=m.getPathEnd(n),t=f.getXY();P.setXY(t),m.setPointByVal(e-1,P)}c=!0}}}}}return c?m:null}function P(e,t){return{m_path:e,m_pointIndex:t}}function y(e,t,n){const r=[],o=[],s=e.querySegmentIterator();for(;s.nextPath();){s.resetToFirstSegment();const e=s.nextSegment().getStartXY(),t=s.getPathIndex(),n=s.getStartPointIndex();r.push(e),o.push(P(t,n)),s.resetToLastSegment();const a=s.previousSegment().getEndXY(),i=s.getPathIndex(),g=s.getEndPointIndex();r.push(a),o.push(P(i,g))}const a=new u(0);for(let g=0;g<r.length;g++)a.add(g);const i={userSort(e,t,n){n.sort(e,t,((e,t)=>r[e].compare(r[t])))},getValue:e=>r[e].y};(new m).sort(a,0,a.size(),i);for(let g=0;g<a.size()-1;g++){const e=r[a.read(g)];if(e.equals(r[a.read(g+1)])){do{const e=o[a.read(g)];n.push(e),g++}while(g<a.size()&&e.equals(r[a.read(g)]));g--}}t.length=n.length;for(let g=0;g<n.length;g++)t[g]=g;t.sort(((e,t)=>{const r=n[e],o=n[t];return r.m_path<o.m_path?-1:r.m_path>o.m_path?1:r.m_pointIndex<o.m_pointIndex?-1:1}))}class S{getOperatorType(){return 10007}supportsCurves(){return!1}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n,r,o){return h(e,t,n,r)}}const x=new S;function E(e,t,n){let r=0;n&&(n.relocateEnds&&(r|=1),n.keepEndAttributes&&(r|=2),n.noEndAttributes&&(r|=4),n.noExtendAtFrom&&(r|=8),n.noExtendAtTo&&(r|=16));const o=c(e),s=x.execute(l(e),l(t),d(o),r,null);return s?p(s,o):null}
|
|
5
|
+
import{t as e,p as t,G as n,k as r}from"../../chunks/Geometry.js";import{a as o,c as s,S as a,P as i,$ as g,A as u,B as m}from"../../chunks/QuadraticBezier.js";import{getSpatialReference as c,fromPolyline as l,fromSpatialReference as d,toPolyline as p}from"./support/apiConverter.js";function h(t,n,r,a,i){if(t.isEmpty()||n.isEmpty())return null;if(8&a&&16&a)return null;2&a&&4&a&&e("");const g=new o,u=new o;t.queryEnvelope(g),n.queryEnvelope(u),g.mergeEnvelope2D(u);return f(t,n,s(r,g,!0).total(),a)}function f(e,o,s,u){t(e),t(o);let m,c=!1;const l=e.querySegmentIterator(),d=o.querySegmentIterator();let p=0;const h=new a,f=new i({vd:e.getDescription()}),P=new i({vd:e.getDescription()}),S=[],x=[];for(y(e,S,x);l.nextPath();){let t=!0,o=0;for(;2!==o;){if(0===o){l.nextSegment().getGeometryType()!==n.enumLine&&r(""),o++}else{l.resetToLastSegment();if(l.previousSegment().getGeometryType()!==n.enumLine&&r(""),c&&t){const n=l.getPathIndex();m.addSegmentsFromPath(e,n,0,e.getSegmentCountPath(n),!0),t=!1}o++}let a=!1;if(p<x.length){const e=x[S[p]],t=l.getPathIndex();if(e.m_path===t){const t=1===o?l.getStartPointIndex():l.getEndPointIndex();e.m_pointIndex===t&&(a=!0,p++)}}if(1===o){if(8&u)continue}else if(16&u)continue;if(!a){1===o?l.previousSegment():l.nextSegment();const a=1===o?l.nextSegment():l.previousSegment(),i=a,p=i.calculateLength2D();d.resetToFirstPath();let y=!1,S=Number.NaN;for(;d.nextPath();){for(;d.hasNextSegment();){const e=d.nextSegment();e.getGeometryType()!==n.enumLine&&r("");const t=e,{bIntersect:a,t1:u,t2:m}=g(i,t);if(a){const e=t.calculateLength2D();if(m*e>=-s&&(1-m)*e>=-s)if(1===o){if(u*p<=-s)(Number.isNaN(S)||u>S)&&(S=u);else if(u*p<=s){S=Number.NaN,y=!0;break}}else if((1-u)*p<=-s)(Number.isNaN(S)||u<S)&&(S=u);else if((1-u)*p<=s){S=Number.NaN,y=!0;break}}}if(y)break}if(!Number.isNaN(S)){if(!c){m=e.createInstance();for(let t=0;t<l.getPathIndex();t++)m.addPath(e,t,!0)}if(1===o){a.queryCoord(S,f);const n=l.getPathIndex();if(2&u?e.getPointByVal(e.getPathStart(n),P):4&u&&P.setEmpty(),1&u||(h.create(a.getGeometryType()),a.copyTo(h.get()),h.get().setEnd(f),h.get().reverse(),m.addSegment(h.get(),!0),t=!1),m.addSegmentsFromPath(e,n,0,e.getSegmentCountPath(n),t),1&u){const e=m.getPathStart(n);m.setPointByVal(e,f)}if(2&u||4&u){const e=m.getPathStart(n),t=f.getXY();P.setXY(t),m.setPointByVal(e,P)}c=!0,t=!1}else{const n=l.getPathIndex();if(t&&(m.addSegmentsFromPath(e,n,0,e.getSegmentCountPath(n),!0),t=!1),2&u?e.getPointByVal(e.getPathEnd(n)-1,P):4&u&&P.setEmpty(),a.queryCoord(S,f),1&u){const e=m.getPathEnd(n);m.setPointByVal(e-1,f)}else h.create(a.getGeometryType()),a.copyTo(h.get()),h.get().setEnd(f),m.addSegment(h.get(),!1);if(2&u||4&u){const e=m.getPathEnd(n),t=f.getXY();P.setXY(t),m.setPointByVal(e-1,P)}c=!0}}}}}return c?m:null}function P(e,t){return{m_path:e,m_pointIndex:t}}function y(e,t,n){const r=[],o=[],s=e.querySegmentIterator();for(;s.nextPath();){s.resetToFirstSegment();const e=s.nextSegment().getStartXY(),t=s.getPathIndex(),n=s.getStartPointIndex();r.push(e),o.push(P(t,n)),s.resetToLastSegment();const a=s.previousSegment().getEndXY(),i=s.getPathIndex(),g=s.getEndPointIndex();r.push(a),o.push(P(i,g))}const a=new u(0);for(let g=0;g<r.length;g++)a.add(g);const i={userSort(e,t,n){n.sort(e,t,((e,t)=>r[e].compare(r[t])))},getValue:e=>r[e].y};(new m).sort(a,0,a.size(),i);for(let g=0;g<a.size()-1;g++){const e=r[a.read(g)];if(e.equals(r[a.read(g+1)])){do{const e=o[a.read(g)];n.push(e),g++}while(g<a.size()&&e.equals(r[a.read(g)]));g--}}t.length=n.length;for(let g=0;g<n.length;g++)t[g]=g;t.sort(((e,t)=>{const r=n[e],o=n[t];return r.m_path<o.m_path?-1:r.m_path>o.m_path?1:r.m_pointIndex<o.m_pointIndex?-1:1}))}class S{getOperatorType(){return 10007}supportsCurves(){return!1}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n,r,o){return h(e,t,n,r)}}const x=new S;function E(e,t,n){let r=0;n&&(n.relocateEnds&&(r|=1),n.keepEndAttributes&&(r|=2),n.noEndAttributes&&(r|=4),n.noExtendAtFrom&&(r|=8),n.noExtendAtTo&&(r|=16));const o=c(e),s=x.execute(l(e),l(t),d(o),r,null);return s?p(s,o):null}const I=x.supportsCurves();export{E as execute,I as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as e}from"../../core/unitUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as e}from"../../core/unitUtils.js";import{supportsCurves as t,execute as o,executeMany as s}from"./gx/operatorGeneralize.js";import{getSpatialReference as n,toGeometry as a,fromGeometry as i}from"./support/apiConverter.js";function p(r,t,s={}){const{removeDegenerateParts:p=!1,unit:m}=s,u=n(r);return m&&(t=e(t,m,u)),a(o(i(r),t,p),u)}function m(t,o,p={}){const{removeDegenerateParts:m=!1,unit:u}=p,c=t.map(i),f=n(t);return u&&(o=e(o,u,f)),s(c,o,m).map((r=>a(r,f))).filter(r)}const u=t();export{p as execute,m as executeMany,u as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as e}from"../../core/arrayUtils.js";import{convertUnit as t}from"../../core/unitUtils.js";import{load as r,
|
|
5
|
+
import{isSome as e}from"../../core/arrayUtils.js";import{convertUnit as t}from"../../core/unitUtils.js";import{load as r,supportsCurves as o,execute as i,executeMany as s,isLoaded as a}from"./gx/operatorGeodesicBuffer.js";import{geodeticCurveType as n}from"./support/geodeticCurveType.js";let m,p,u,c,f;function l(){return!!m&&a()}async function y(){if(!l()){const[e]=await Promise.all([import("./support/apiConverter.js"),r()]);m=e.fromGeometry,p=e.fromSpatialReference,u=e.getSpatialReference,c=e.toGeometry,f=o()}}function d(e,r,o={}){let{curveType:s="geodesic",maxDeviation:a=NaN,unit:f}=o;f&&(r=t(r,f,"meters"),a&&(a=t(a,f,"meters")));const l=u(e);return c(i(m(e),p(l),n[s],r,a),l)}function v(r,o,i={}){let{curveType:a="geodesic",maxDeviation:f=NaN,union:l=!1,unit:y}=i;y&&(o=o.map((e=>t(e,y,"meters"))),f&&(f=t(f,y,"meters")));const d=r.map(m),v=u(r);return s(d,p(v),n[a],o,f,l).map((e=>c(e,v))).filter(e)}export{d as execute,v as executeMany,l as isLoaded,y as load,f as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{convertUnit as t}from"../../core/unitUtils.js";import{load as e,
|
|
5
|
+
import{convertUnit as t}from"../../core/unitUtils.js";import{load as e,supportsCurves as r,getNearestCoordinate as s,getNearestVertex as i,getNearestVertices as o,isLoaded as n}from"./gx/operatorProximityGeodesic.js";let a,m,c,u,p,d;function f(){return!!a&&n()}async function l(){if(!f()){const[t,s]=await Promise.all([import("./support/apiConverter.js"),import("./support/proximityResult.js"),e()]);a=t.fromGeometry,m=t.fromPoint,c=t.fromSpatialReference,u=t.getSpatialReference,p=s.toProximityResult,d=r()}}function g(e,r,i={}){let{calculateLeftRightSide:o=!1,maxDeviation:n=NaN,testPolygonInterior:d=!0,unit:f}=i;f&&n&&(n=t(n,f,"meters"));const l=u(e),g=s(a(e),m(r).getXY(),c(l),n,d,o);return f&&g.m_distance&&(g.m_distance=t(g.m_distance,"meters",f)),p(g,e,o)}function _(e,r,s={}){const{unit:o}=s,n=u(e),d=i(a(e),m(r).getXY(),c(n));return o&&d.m_distance&&(d.m_distance=t(d.m_distance,"meters",o)),p(d,e)}function x(e,r,s,i,n={}){const{unit:d}=n;d&&s&&(s=t(s,d,"meters"));const f=u(e);return o(a(e),m(r).getXY(),c(f),s,i).map((r=>(d&&r.m_distance&&(r.m_distance=t(r.m_distance,"meters",d)),p(r,e))))}export{g as getNearestCoordinate,_ as getNearestVertex,x as getNearestVertices,f as isLoaded,l as load,d as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{convertUnit as e}from"../../core/unitUtils.js";import{load as r,
|
|
5
|
+
import{convertUnit as e}from"../../core/unitUtils.js";import{load as r,supportsCurves as t,execute as o,isLoaded as s}from"./gx/operatorGeodeticArea.js";import{geodeticCurveType as i}from"./support/geodeticCurveType.js";let a,p,n,u;function c(){return!!a&&s()}async function m(){if(!c()){const[e]=await Promise.all([import("./support/apiConverter.js"),r()]);a=e.fromGeometry,p=e.fromSpatialReference,n=e.getSpatialReference,u=t()}}function f(r,t={}){const{curveType:s="geodesic",unit:u}=t,c=n(r);let m=o(a(r),p(c),i[s]);return m&&u&&(m=e(m,"square-meters",u)),m}export{f as execute,c as isLoaded,m as load,u as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{convertUnit as e}from"../../core/unitUtils.js";import{load as t,
|
|
5
|
+
import{convertUnit as e}from"../../core/unitUtils.js";import{load as t,supportsCurves as o,execute as r,executeMany as s,isLoaded as n}from"./gx/operatorGeodeticDensify.js";import{geodeticCurveType as i}from"./support/geodeticCurveType.js";let c,a,p,u,m;function f(){return!!c&&n()}async function y(){if(!f()){const[e]=await Promise.all([import("./support/apiConverter.js"),t()]);c=e.fromGeometry,a=e.fromSpatialReference,p=e.getSpatialReference,u=e.toGeometry,m=o()}}function d(t,o,s={}){const{curveType:n="geodesic",unit:m}=s;m&&(o=e(o,m,"meters"));const f=p(t);return u(r(c(t),o,a(f),i[n]),f)}function l(t,o,r={}){const{curveType:n="geodesic",unit:m}=r;m&&(o=e(o,m,"meters"));const f=t.map(c),y=p(t);return s(f,o,a(y),i[n]).map((e=>u(e,y)))}export{d as execute,l as executeMany,f as isLoaded,y as load,m as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{convertUnit as e}from"../../core/unitUtils.js";import{load as t,
|
|
5
|
+
import{convertUnit as e}from"../../core/unitUtils.js";import{load as t,supportsCurves as r,execute as o,isLoaded as s}from"./gx/operatorGeodeticDistance.js";import{geodeticCurveType as i}from"./support/geodeticCurveType.js";let a,n,p,c;function u(){return!!a&&s()}async function m(){if(!u()){const[e]=await Promise.all([import("./support/apiConverter.js"),t()]);a=e.fromGeometry,n=e.fromSpatialReference,p=e.getSpatialReference,c=r()}}function f(t,r,s={}){const{curveType:c="geodesic",unit:u}=s,m=p(t);let f=o(a(t),a(r),n(m),i[c]);return f&&u&&(f=e(f,"meters",u)),f}export{f as execute,u as isLoaded,m as load,c as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{convertUnit as e}from"../../core/unitUtils.js";import{load as t,
|
|
5
|
+
import{convertUnit as e}from"../../core/unitUtils.js";import{load as t,supportsCurves as r,execute as o,isLoaded as s}from"./gx/operatorGeodeticLength.js";import{geodeticCurveType as i}from"./support/geodeticCurveType.js";let n,p,a,c;function u(){return!!n&&s()}async function m(){if(!u()){const[e]=await Promise.all([import("./support/apiConverter.js"),t()]);n=e.fromGeometry,p=e.fromSpatialReference,a=e.getSpatialReference,c=r()}}function f(t,r={}){const{curveType:s="geodesic",unit:c}=r,u=a(t);let m=o(n(t),p(u),i[s]);return m&&c&&(m=e(m,"meters",c)),m}export{f as execute,u as isLoaded,m as load,c as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{supportsCurves as o,executeMany as e}from"./gx/operatorGraphicBuffer.js";import{fromGeometry as i,getSpatialReference as s,fromSpatialReference as a,toGeometry as m}from"./support/apiConverter.js";const n={round:0,miter:1,bevel:2},p={round:0,butt:1,square:2};function u(o,u,c,f,l={}){let{maxDeviation:x=NaN,maxVerticesInFullCircle:j=96,miterLimit:v=10,union:C=!1,unit:b}=l;const d=o.map(i),y=s(o);return b&&(u=u.map((r=>t(r,b,y))),x&&(x=t(x,b,y))),e(d,a(y),u,n[c],p[f],v,x,j,C).map((r=>m(r,y))).filter(r)}const c=o();export{u as executeMany,c as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as t,executeMany as o}from"./gx/operatorIntegrate.js";import{fromGeometry as e,getSpatialReference as p,fromSpatialReference as s,toGeometry as a}from"./support/apiConverter.js";function m(t){const m=t.map(e),n=p(t);return o(m,s(n)).map((r=>a(r,n))).filter(r)}const n=t();export{m as executeMany,n as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as t,accelerateGeometry as e,execute as o,executeMany as n}from"./gx/operatorIntersection.js";import{getSpatialReference as s,fromSpatialReference as a,fromGeometry as c,toGeometry as p}from"./support/apiConverter.js";function u(r){const t=s(r);return e(c(r),a(t))}function i(r,t){const e=s(r);return p(o(c(r),c(t),a(e)),e)}function m(t,e){const o=t.map(c),u=s(t);return n(o,c(e),a(u),7).map((r=>p(r,u))).filter(r)}const f=t();export{u as accelerateGeometry,i as execute,m as executeMany,f as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{O as e}from"../../chunks/OperatorIntersects.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as n}from"./support/apiConverter.js";const o=new e;function s(e){const s=r(e);return o.accelerateGeometry(t(e),n(s),1)}function
|
|
5
|
+
import{O as e}from"../../chunks/OperatorIntersects.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as n}from"./support/apiConverter.js";const o=new e;function s(e){const s=r(e);return o.accelerateGeometry(t(e),n(s),1)}function c(e,r){return o.execute(t(e),t(r),n(e.spatialReference),null)}const p=o.supportsCurves();export{s as accelerateGeometry,c as execute,p as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{t as
|
|
5
|
+
import{t as e,b as r}from"../../chunks/Geometry.js";import{D as t}from"../../chunks/Distance2DCalculator-eS0piaux.js";import{convertToSpatialReferenceUnit as s}from"../../core/unitUtils.js";import{getSpatialReference as n,fromGeometry as o}from"./support/apiConverter.js";class u{getOperatorType(){return 10}accelerateGeometry(e,r,t){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(s,n,o,u){if(s.isEmpty()||n.isEmpty())return!1;o<0&&e("distance"),r(s),r(n);const c=s,i=n;Number.isNaN(o)&&(o=Number.POSITIVE_INFINITY);return new t(o,u).isNear(c,i)}}const c=new u;function i(e,r,t,u={}){const{unit:i}=u;if(i){const r=n(e);t=s(t,i,r)}return c.execute(o(e),o(r),t,null)}const a=c.supportsCurves();export{i as execute,a as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{
|
|
5
|
+
import{supportsCurves as r,execute as t,executeMany as o}from"./gx/operatorLabelPoint.js";import{toPoint as e,getSpatialReference as n,fromGeometry as p}from"./support/apiConverter.js";function s(r){return e(t(p(r)),n(r))}function a(r){const t=r.map(p),s=n(r);return o(t).map((r=>e(r,s)))}const u=r();export{s as execute,a as executeMany,u as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{convertFromSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{fromGeometry as
|
|
5
|
+
import{convertFromSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{fromGeometry as o,getSpatialReference as r}from"./support/apiConverter.js";function n(n,e={}){const{unit:i}=e;let c=o(n).calculateLength2D();if(c&&i){const o=r(n);c=t(c,o,i)}return c}const e=!0;export{n as execute,e as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as o,executeMany as t}from"./gx/operatorLinesToPolygons.js";import{fromGeometry as s,getSpatialReference as e,fromSpatialReference as p,toPolygon as a}from"./support/apiConverter.js";function n(o){const n=o.map(s),i=e(o);return t(n,p(i)).map((r=>a(r,i))).filter(r)}const i=o();export{n as executeMany,i as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{E as
|
|
5
|
+
import{E as o}from"../../chunks/Transformation2D.js";import{supportsCurves as r,executeMany as t}from"./gx/operatorLocateBetween.js";import{fromGeometry as e,getSpatialReference as s,toGeometry as n}from"./support/apiConverter.js";function p(r,p,a){const m=r.map(e),u=s(r);return t(m,new o(p,a)).map((o=>n(o,u)))}const a=r();export{p as executeMany,a as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as o,executeMany as t}from"./gx/operatorMinimumBoundingCircle.js";import{fromGeometry as e,getSpatialReference as n,toPolygon as i}from"./support/apiConverter.js";function p(r){return s([r])[0]}function s(o,p={}){const{merge:s=!1}=p,m=o.map(e),u=n(o);return t(m,s).map((r=>i(r,u))).filter(r)}const m=o();export{p as execute,s as executeMany,m as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as o,executeMany as t}from"./gx/operatorMultiPartToSinglePart.js";import{fromGeometry as s,getSpatialReference as p,fromSpatialReference as e,toGeometry as a}from"./support/apiConverter.js";function i(o,i={}){const{simplifyPolygons:m=!0}=i,n=m?1:2,u=o.map(s),f=p(o);return t(u,e(f),n).map((r=>a(r,f))).filter(r)}const m=o();export{i as executeMany,m as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as t}from"../../core/unitUtils.js";import{supportsCurves as o,execute as e,executeMany as n}from"./gx/operatorOffset.js";import{getSpatialReference as i,toGeometry as s,fromSpatialReference as u,fromGeometry as m}from"./support/apiConverter.js";const a={round:0,bevel:1,miter:2,square:3};function p(r,o,n={}){const{miterLimit:p=10,flattenError:c=0,joins:f="round",unit:j}=n,l=i(r);return j&&(o=t(o,j,l)),s(e(m(r),u(l),o,a[f],p,c),l)}function c(o,e,p={}){const{miterLimit:c=10,flattenError:f=0,joins:j="round",unit:l}=p,x=i(o);l&&(e=t(e,l,x));const d=o.map(m);return n(d,u(x),e,a[j],c,f).map((r=>s(r,x))).filter(r)}const f=o();export{p as execute,c as executeMany,f as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{O as e}from"../../chunks/OperatorOverlaps.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as
|
|
5
|
+
import{O as e}from"../../chunks/OperatorOverlaps.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";const n=new e;function s(e){const s=r(e);return n.accelerateGeometry(t(e),o(s),1)}function p(e,r){return n.execute(t(e),t(r),o(e.spatialReference),null)}const c=n.supportsCurves();export{s as accelerateGeometry,p as execute,c as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as r}from"../../core/arrayUtils.js";import{
|
|
5
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as o,executeMany as t}from"./gx/operatorPolygonOverlay.js";import{fromGeometry as e,getSpatialReference as s,fromSpatialReference as p,toGeometry as a}from"./support/apiConverter.js";function l(o,l){let m=0;l&&(l.overlaps&&(m|=1),l.noOverlaps&&(m|=2),l.gaps&&(m|=4),l.holes&&(m|=8),l.multiPart&&(m|=16));const n=o.map(e),i=s(o);return t(n,p(i),m).map((r=>a(r,i))).filter(r)}const m=o();export{l as executeMany,m as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{areaUnitFromSpatialReference as r,convertUnit as t,getMetersPerUnitForSR as n}from"../../core/unitUtils.js";import{
|
|
5
|
+
import{areaUnitFromSpatialReference as r,convertUnit as t,getMetersPerUnitForSR as n}from"../../core/unitUtils.js";import{supportsCurves as o,findSlicesByArea as s,recursiveSliceEqualArea as a,sliceIntoStrips as e}from"./gx/operatorPolygonSlicer.js";import{getSpatialReference as i,fromSpatialReference as u,fromPolygon as c,toPolygon as f}from"./support/apiConverter.js";function l(o,a,e,f={}){const{transform:l,unit:m}=f,p=i(o);if(e&&m){if(p.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const o=r(p);o!==m&&(o?e=t(e,m,o):(e=t(e,m,"square-meters"),e=Math.sqrt(e),e/=n(p),e**=2))}return s(c(o),u(p),a,e,l?.transform??null)}function m(r,t,n={}){const{transform:o}=n,s=i(r);return a(c(r),u(s),t,o?.transform??null).map((r=>f(r,s)))}function p(r,t,n={}){const{transform:o}=n,s=i(r);return e(c(r),u(s),t,o?.transform??null).map((r=>f(r,s)))}const g=o();export{l as findSlicesByArea,m as recursiveSliceEqualArea,p as sliceIntoStrips,g as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{isSome as t}from"../../core/arrayUtils.js";import{load as
|
|
5
|
+
import{isSome as t}from"../../core/arrayUtils.js";import{load as e,supportsCurves as r,execute as o,executeMany as a,isLoaded as s}from"./gx/operatorProject.js";let n,i,c,p;function u(){return!!n&&s()}async function m(){if(!u()){const[t]=await Promise.all([import("./support/apiConverter.js"),e()]);n=t.fromGeometry,i=t.getSpatialReference,c=t.toGeometry,p=r()}}function f(t,e){const r=i(t);return c(o(n(t),e),r)}function l(e,r){const o=e.map(n),s=i(e);return a(o,r).map((t=>c(t,s))).filter(t)}export{f as execute,l as executeMany,u as isLoaded,m as load,p as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{O as t}from"../../chunks/OperatorProximity.js";import{convertFromSpatialReferenceUnit as e,convertToSpatialReferenceUnit as n}from"../../core/unitUtils.js";import{fromGeometry as r,fromPoint as
|
|
5
|
+
import{O as t}from"../../chunks/OperatorProximity.js";import{convertFromSpatialReferenceUnit as e,convertToSpatialReferenceUnit as n}from"../../core/unitUtils.js";import{fromGeometry as r,fromPoint as s,getSpatialReference as i}from"./support/apiConverter.js";import{toProximityResult as o}from"./support/proximityResult.js";const c=new t;function m(t,n,m={}){const{calculateLeftRightSide:a=!1,testPolygonInterior:u=!0,unit:p}=m,d=c.getNearestCoordinate(r(t),s(n).getXY(),u,a);if(p&&d.m_distance){const n=i(t);d.m_distance=e(d.m_distance,n,p)}return o(d,t,a)}function a(t,n,m={}){const{unit:a}=m,u=c.getNearestVertex(r(t),s(n).getXY());if(a&&u.m_distance){const n=i(t);u.m_distance=e(u.m_distance,n,a)}return o(u,t)}function u(t,m,a,u,p={}){const{unit:d}=p,f=i(t);return d&&a&&(a=n(a,d,f)),c.getNearestVertices(r(t),s(m).getXY(),a,u).map((n=>(d&&n.m_distance&&(n.m_distance=e(n.m_distance,f,d)),o(n,t))))}const p=c.supportsCurves();export{m as getNearestCoordinate,a as getNearestVertex,u as getNearestVertices,p as supportsCurves};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{X as e,Y as r,Z as t,_ as n}from"../../chunks/OperatorProject.js";import{getSpatialReference as
|
|
5
|
+
import{X as e,Y as r,Z as t,_ as n}from"../../chunks/OperatorProject.js";import{getSpatialReference as s,fromGeometry as o,fromSpatialReference as u}from"./support/apiConverter.js";class c{supportsCurves(){return!0}getOperatorType(){return 1}execute(r,t,n,s,o){return e(r,t,n,s,o)}isValidDE9IM(e){return 0===r(e)}accelerateGeometry(e,r,n){return t(e,r,n)}canAccelerateGeometry(e){return n(e)}}const a=new c;function p(e){const r=s(e);return a.accelerateGeometry(o(e),u(r),1)}function i(e,r,t){return a.execute(o(e),o(r),u(e.spatialReference),t,null)}function l(e){return a.isValidDE9IM(e)}const m=a.supportsCurves();export{p as accelerateGeometry,i as execute,l as isValidDE9IM,m as supportsCurves};
|