@vertigis/workflow 5.37.1 → 5.38.0
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/Collections.js +1 -1
- package/Hooks.d.ts +2 -2
- package/Hooks.js +1 -1
- package/IActivityHandler.d.ts +4 -4
- package/TemplateUtils.d.ts +1 -1
- package/activities/app/GetApplicationData.d.ts +1 -1
- package/activities/app/GetApplicationInfo.d.ts +1 -1
- package/activities/app/GetUserInfo.d.ts +1 -1
- package/activities/app/PublishEvent.d.ts +1 -1
- package/activities/app/RunCommand.d.ts +1 -1
- package/activities/app/RunOperation.d.ts +1 -1
- package/activities/app/SetApplicationData.d.ts +1 -1
- package/activities/arcgis/AddAttachment.d.ts +1 -1
- package/activities/arcgis/AddFeatureLayer.d.ts +1 -1
- package/activities/arcgis/AddFeatures.d.ts +2 -2
- package/activities/arcgis/AddGraphics.d.ts +1 -1
- package/activities/arcgis/ArcadeScript.d.ts +1 -1
- package/activities/arcgis/AreaEngineTask.d.ts +1 -1
- package/activities/arcgis/BufferEngineTask.d.ts +1 -1
- package/activities/arcgis/BufferServiceTask.d.ts +1 -1
- package/activities/arcgis/CastGeometry.d.ts +1 -1
- package/activities/arcgis/ClearGraphics.d.ts +1 -1
- package/activities/arcgis/ClipEngineTask.d.ts +1 -1
- package/activities/arcgis/ClosestFacilityTask.d.ts +1 -1
- package/activities/arcgis/CompareGeometries.d.ts +1 -1
- package/activities/arcgis/ConvertValueToArcGisFieldType.d.ts +1 -1
- package/activities/arcgis/CreateFeatureSet.d.ts +1 -1
- package/activities/arcgis/CreateGraphic.d.ts +1 -1
- package/activities/arcgis/CreatePoint.d.ts +1 -1
- package/activities/arcgis/CutEngineTask.d.ts +1 -1
- package/activities/arcgis/DeleteAttachments.d.ts +1 -1
- package/activities/arcgis/DeleteFeatures.d.ts +2 -2
- package/activities/arcgis/DensifyEngineTask.d.ts +1 -1
- package/activities/arcgis/DifferenceEngineTask.d.ts +1 -1
- package/activities/arcgis/DistanceEngineTask.d.ts +1 -1
- package/activities/arcgis/DistanceServiceTask.d.ts +1 -1
- package/activities/arcgis/ExtendedSpatialReferenceInfoEngineTask.d.ts +1 -1
- package/activities/arcgis/FeatureSetFromJson.d.ts +1 -1
- package/activities/arcgis/FlipEngineTask.d.ts +1 -1
- package/activities/arcgis/FromGeoCoordinateStringServiceTask.d.ts +1 -1
- package/activities/arcgis/GeneralizeEngineTask.d.ts +1 -1
- package/activities/arcgis/GenerateArcGisToken.d.ts +1 -1
- package/activities/arcgis/GenerateWebmapForReport.d.ts +2 -2
- package/activities/arcgis/Geocode.d.ts +1 -1
- package/activities/arcgis/GeometryFromJson.d.ts +1 -1
- package/activities/arcgis/Geoprocessing.d.ts +1 -1
- package/activities/arcgis/Geoprocessing.js +1 -1
- package/activities/arcgis/GeoprocessingAsync.d.ts +1 -1
- package/activities/arcgis/GetAttributeValue.d.ts +1 -1
- package/activities/arcgis/GetAttributeValues.d.ts +1 -1
- package/activities/arcgis/GetCentroid.d.ts +1 -1
- package/activities/arcgis/GetCodedValueDomain.d.ts +2 -2
- package/activities/arcgis/GetCurrentPosition.d.ts +1 -1
- package/activities/arcgis/GetFeatureGeometries.d.ts +1 -1
- package/activities/arcgis/GetFeatureGeometry.d.ts +1 -1
- package/activities/arcgis/GetFeatureLayerInfo.d.ts +2 -2
- package/activities/arcgis/GetFeatureSetExtent.d.ts +1 -1
- package/activities/arcgis/GetFeatureSetObjectIds.d.ts +1 -1
- package/activities/arcgis/GetFormElementItemsFromFeatures.d.ts +2 -2
- package/activities/arcgis/GetGeometryExtent.d.ts +1 -1
- package/activities/arcgis/GetGraphics.d.ts +1 -1
- package/activities/arcgis/GetLayer.d.ts +1 -1
- package/activities/arcgis/GetLayerDefinitionExpression.d.ts +1 -1
- package/activities/arcgis/GetLayerProperty.d.ts +1 -1
- package/activities/arcgis/GetLayerVisibility.d.ts +1 -1
- package/activities/arcgis/GetMap.d.ts +3 -2
- package/activities/arcgis/GetMapScreenshot.d.ts +1 -1
- package/activities/arcgis/GetPortalUser.d.ts +1 -1
- package/activities/arcgis/GetTable.d.ts +1 -1
- package/activities/arcgis/GetViewExtent.d.ts +1 -1
- package/activities/arcgis/GetViewpoint.d.ts +1 -1
- package/activities/arcgis/IntersectEngineTask.d.ts +1 -1
- package/activities/arcgis/LabelPointsServiceTask.d.ts +1 -1
- package/activities/arcgis/LengthEngineTask.d.ts +1 -1
- package/activities/arcgis/MapProvider.d.ts +1 -1
- package/activities/arcgis/NearestCoordinateEngineTask.d.ts +1 -1
- package/activities/arcgis/NearestVertexEngineTask.d.ts +1 -1
- package/activities/arcgis/NearestVerticesEngineTask.d.ts +1 -1
- package/activities/arcgis/OffsetEngineTask.d.ts +1 -1
- package/activities/arcgis/ProjectServiceTask.d.ts +1 -1
- package/activities/arcgis/QueryAttachmentInfos.d.ts +1 -1
- package/activities/arcgis/QueryTask.d.ts +1 -1
- package/activities/arcgis/RefreshLayer.d.ts +1 -1
- package/activities/arcgis/RegisterCorsUrl.d.ts +1 -1
- package/activities/arcgis/RelateEngineTask.d.ts +1 -1
- package/activities/arcgis/RelationServiceTask.d.ts +1 -1
- package/activities/arcgis/RelationshipQueryTask.d.ts +1 -1
- package/activities/arcgis/RemoveFeatureSetFields.d.ts +1 -1
- package/activities/arcgis/RemoveGraphics.d.ts +1 -1
- package/activities/arcgis/RemoveLayer.d.ts +1 -1
- package/activities/arcgis/RendererFromJson.d.ts +1 -1
- package/activities/arcgis/ReshapeServiceTask.d.ts +1 -1
- package/activities/arcgis/ReverseGeocode.d.ts +1 -1
- package/activities/arcgis/RotateEngineTask.d.ts +1 -1
- package/activities/arcgis/RouteTask.d.ts +1 -1
- package/activities/arcgis/RunPrint.d.ts +2 -2
- package/activities/arcgis/RunReport.d.ts +2 -2
- package/activities/arcgis/RunWorkflow.d.ts +1 -1
- package/activities/arcgis/SendLayerToAttributeTable.d.ts +1 -1
- package/activities/arcgis/ServiceAreaTask.d.ts +1 -1
- package/activities/arcgis/SetFeatureAttribute.d.ts +1 -1
- package/activities/arcgis/SetFeatureGeometry.d.ts +1 -1
- package/activities/arcgis/SetFeaturePopup.d.ts +1 -1
- package/activities/arcgis/SetFeatureSymbol.d.ts +1 -1
- package/activities/arcgis/SetImageryLayerOptions.d.ts +1 -1
- package/activities/arcgis/SetLayerDefinitionExpression.d.ts +1 -1
- package/activities/arcgis/SetLayerPopup.d.ts +1 -1
- package/activities/arcgis/SetLayerProperty.d.ts +1 -1
- package/activities/arcgis/SetLayerVisibility.d.ts +1 -1
- package/activities/arcgis/SetMap.d.ts +1 -1
- package/activities/arcgis/SetViewExtent.d.ts +1 -1
- package/activities/arcgis/SetViewpoint.d.ts +1 -1
- package/activities/arcgis/ShowFeaturePopup.d.ts +1 -1
- package/activities/arcgis/ShowResults.d.ts +1 -1
- package/activities/arcgis/SimplifyEngineTask.d.ts +1 -1
- package/activities/arcgis/SortFeatureSet.d.ts +1 -1
- package/activities/arcgis/SortFeatureSet.js +1 -1
- package/activities/arcgis/SymbolFromJson.d.ts +1 -1
- package/activities/arcgis/ToGeoCoordinateStringServiceTask.d.ts +1 -1
- package/activities/arcgis/UnionEngineTask.d.ts +1 -1
- package/activities/arcgis/UnionServiceTask.d.ts +1 -1
- package/activities/arcgis/UpdateAttachment.d.ts +1 -1
- package/activities/arcgis/UpdateFeatures.d.ts +2 -2
- package/activities/arcgis/runUtils.d.ts +3 -3
- package/activities/arcgis/shared.d.ts +2 -2
- package/activities/arcgis/tools.d.ts +2 -2
- package/activities/browser/GetBrowserInfo.d.ts +1 -1
- package/activities/browser/InjectCss.d.ts +1 -1
- package/activities/core/AddItem.d.ts +1 -1
- package/activities/core/AddItems.d.ts +1 -1
- package/activities/core/Annotation.d.ts +2 -2
- package/activities/core/Cast.d.ts +1 -1
- package/activities/core/ChannelProvider.d.ts +1 -1
- package/activities/core/ClearItems.d.ts +1 -1
- package/activities/core/Container.d.ts +1 -1
- package/activities/core/ConvertBytesToText.d.ts +1 -1
- package/activities/core/ConvertDataTableToFeatureSet.d.ts +1 -1
- package/activities/core/ConvertTextToBytes.d.ts +1 -1
- package/activities/core/ConvertToJson.d.ts +1 -1
- package/activities/core/CreateFile.d.ts +1 -1
- package/activities/core/CreateValue.d.ts +1 -1
- package/activities/core/DecodeUriComponent.d.ts +1 -1
- package/activities/core/Delay.d.ts +1 -1
- package/activities/core/EncodeUriComponent.d.ts +1 -1
- package/activities/core/Evaluate.d.ts +1 -1
- package/activities/core/EvaluateAsync.d.ts +1 -1
- package/activities/core/Exit.d.ts +1 -1
- package/activities/core/ForEach.d.ts +1 -1
- package/activities/core/FormatDate.d.ts +1 -1
- package/activities/core/GetBase64StringFromBytes.d.ts +1 -1
- package/activities/core/GetBase64StringFromFile.d.ts +1 -1
- package/activities/core/GetBytesFromBase64String.d.ts +1 -1
- package/activities/core/GetFirstItem.d.ts +1 -1
- package/activities/core/GetItemAtIndex.d.ts +1 -1
- package/activities/core/GetLastItem.d.ts +1 -1
- package/activities/core/GetLogLevel.d.ts +1 -1
- package/activities/core/GetTextFromFile.d.ts +1 -1
- package/activities/core/GetWorkflowInputs.d.ts +1 -1
- package/activities/core/If.d.ts +1 -2
- package/activities/core/Log.d.ts +1 -1
- package/activities/core/Loop.d.ts +1 -2
- package/activities/core/ParseJson.d.ts +1 -1
- package/activities/core/ParseNumber.d.ts +1 -1
- package/activities/core/ParseUrl.d.ts +1 -1
- package/activities/core/Placeholder.d.ts +1 -1
- package/activities/core/RegexMatches.d.ts +1 -1
- package/activities/core/RegexReplace.d.ts +1 -1
- package/activities/core/RemoveItem.d.ts +1 -1
- package/activities/core/RunActivity.d.ts +1 -1
- package/activities/core/RunSubworkflow.d.ts +1 -1
- package/activities/core/SetLogLevel.d.ts +1 -1
- package/activities/core/SetProperty.d.ts +1 -1
- package/activities/core/SetWorkflowOutput.d.ts +1 -2
- package/activities/core/Subworkflow.d.ts +2 -2
- package/activities/core/Switch.d.ts +1 -1
- package/activities/core/TextReplace.d.ts +1 -1
- package/activities/core/Throw.d.ts +1 -1
- package/activities/core/TryCatch.d.ts +1 -1
- package/activities/core/WebRequest.d.ts +3 -2
- package/activities/csv/ConvertCsvToDataTable.d.ts +1 -1
- package/activities/csv/ConvertDataTableToCsv.d.ts +1 -1
- package/activities/essentials/GetEssentialsSite.d.ts +1 -1
- package/activities/essentials/RunEssentialsWorkflow.d.ts +1 -1
- package/activities/essentials/RunEssentialsWorkflowActivity.d.ts +1 -1
- package/activities/forms/ActivateFormElement.d.ts +3 -3
- package/activities/forms/AddFormElement.d.ts +3 -3
- package/activities/forms/ClearFormElementError.d.ts +3 -3
- package/activities/forms/CompleteForm.d.ts +2 -2
- package/activities/forms/DisplayForm.d.ts +3 -2
- package/activities/forms/DisplayForm.js +1 -1
- package/activities/forms/Errors.d.ts +1 -1
- package/activities/forms/FilterFormElementItems.d.ts +3 -3
- package/activities/forms/FormElementMap.d.ts +2 -2
- package/activities/forms/FormRenderer.d.ts +2 -2
- package/activities/forms/FormRenderer.js +1 -1
- package/activities/forms/GetFormElementItemsFromCollection.d.ts +2 -2
- package/activities/forms/GetFormElementProperty.d.ts +3 -3
- package/activities/forms/GetFormElementValue.d.ts +3 -3
- package/activities/forms/GetFormEventData.d.ts +2 -2
- package/activities/forms/HideFormElement.d.ts +3 -3
- package/activities/forms/PropagateFormEvent.d.ts +2 -2
- package/activities/forms/SetCurrentFormElementItem.d.ts +3 -3
- package/activities/forms/SetFormElementError.d.ts +3 -3
- package/activities/forms/SetFormElementEvent.d.ts +2 -2
- package/activities/forms/SetFormElementItemProperty.d.ts +3 -3
- package/activities/forms/SetFormElementItems.d.ts +4 -4
- package/activities/forms/SetFormElementProperty.d.ts +3 -3
- package/activities/forms/ShowFormElement.d.ts +3 -3
- package/activities/image/GetImageMetadata.d.ts +1 -1
- package/activities/image/RotateImage.d.ts +1 -1
- package/activities/math/Abs.d.ts +1 -1
- package/activities/math/Cos.d.ts +1 -1
- package/activities/math/Max.d.ts +1 -1
- package/activities/math/Min.d.ts +1 -1
- package/activities/math/Pow.d.ts +1 -1
- package/activities/math/Random.d.ts +1 -1
- package/activities/math/Sin.d.ts +1 -1
- package/activities/math/Sqrt.d.ts +1 -1
- package/activities/math/Tan.d.ts +1 -1
- package/activities/pdf/AddGeoreferenceToPdf.d.ts +1 -1
- package/activities/pdf/AddImageToPdf.d.ts +1 -1
- package/activities/pdf/AddTextToPdf.d.ts +1 -1
- package/activities/pdf/CreatePdf.d.ts +1 -1
- package/activities/pdf/ExtractPdfPages.d.ts +1 -1
- package/activities/pdf/MergePdfs.d.ts +1 -1
- package/activities/server/CopyFile.d.ts +1 -1
- package/activities/server/CreateDirectory.d.ts +1 -1
- package/activities/server/CreateDownload.d.ts +1 -1
- package/activities/server/CreateEmailAttachment.d.ts +1 -1
- package/activities/server/CreateZipFromDirectory.d.ts +1 -1
- package/activities/server/DeleteDirectory.d.ts +1 -1
- package/activities/server/DeleteFile.d.ts +1 -1
- package/activities/server/DirectoryExists.d.ts +1 -1
- package/activities/server/ExtractZipToDirectory.d.ts +1 -1
- package/activities/server/FileExists.d.ts +1 -1
- package/activities/server/GetDirectoriesInDirectory.d.ts +1 -1
- package/activities/server/GetFilesInDirectory.d.ts +1 -1
- package/activities/server/MoveFile.d.ts +1 -1
- package/activities/server/ReadFile.d.ts +1 -1
- package/activities/server/ReadFileBytes.d.ts +1 -1
- package/activities/server/RunApplication.d.ts +1 -1
- package/activities/server/RunPython.d.ts +1 -1
- package/activities/server/SendEmail.d.ts +1 -1
- package/activities/server/SqlNonQuery.d.ts +1 -1
- package/activities/server/SqlQuery.d.ts +1 -1
- package/activities/server/SqlQueryUnsafe.d.ts +1 -1
- package/activities/server/WriteFile.d.ts +1 -1
- package/activities/server/WriteFileBytes.d.ts +1 -1
- package/activities/ui/Alert.d.ts +1 -1
- package/activities/ui/Confirm.d.ts +1 -1
- package/activities/ui/Prompt.d.ts +1 -1
- package/activities/wab/OpenWidget.d.ts +1 -1
- package/activities/wab/PublishWidgetData.d.ts +1 -1
- package/activities/xlsx/ConvertDataTableToXlsx.d.ts +1 -1
- package/activities/xlsx/ConvertXlsxToDataSet.d.ts +1 -1
- package/definition/Activity.d.ts +3 -3
- package/definition/ActivityInput.d.ts +1 -1
- package/definition/Component.d.ts +3 -3
- package/definition/Form.d.ts +2 -2
- package/definition/Program.d.ts +7 -7
- package/definition/ProgramInspector.d.ts +11 -10
- package/definition/ProgramInspector.js +1 -1
- package/definition/Reference.d.ts +1 -1
- package/definition/Step.d.ts +4 -2
- package/definition/Transition.d.ts +2 -2
- package/diagnostics/ConsoleDebugLogger.d.ts +1 -1
- package/execution/ActivityContext.d.ts +92 -0
- package/execution/ActivityContext.js +1 -0
- package/execution/ActivityContextProxy.d.ts +24 -0
- package/execution/ActivityContextProxy.js +1 -0
- package/execution/ActivityLoader.d.ts +5 -5
- package/execution/AmbientState.d.ts +71 -0
- package/execution/AmbientState.js +1 -0
- package/execution/AmbientStateProxy.d.ts +28 -0
- package/execution/AmbientStateProxy.js +1 -0
- package/execution/AsyncContext.d.ts +7 -0
- package/execution/AsyncContext.js +1 -0
- package/execution/Engine.d.ts +25 -6
- package/execution/Engine.js +1 -1
- package/execution/ExternalEvent.d.ts +14 -0
- package/execution/ExternalEvent.js +0 -0
- package/execution/IDebugSession.d.ts +3 -3
- package/execution/MonikerFrame.d.ts +11 -0
- package/execution/MonikerFrame.js +1 -0
- package/execution/ProgramRunner.js +1 -1
- package/execution/Proxy.d.ts +5 -0
- package/execution/Proxy.js +1 -0
- package/execution/StepContext.d.ts +6 -0
- package/execution/StepContext.js +1 -0
- package/execution/TransitionContext.d.ts +8 -0
- package/execution/TransitionContext.js +1 -0
- package/execution/util.d.ts +1 -0
- package/execution/util.js +1 -0
- package/forms/FormComponent.d.ts +4 -4
- package/forms/FormDefinition.d.ts +5 -4
- package/forms/FormElement.d.ts +3 -4
- package/forms/FormHost.d.ts +15 -8
- package/forms/FormHost.js +1 -1
- package/forms/FormPresenterHost.d.ts +12 -6
- package/forms/MutuallyExclusiveSectionGroup.d.ts +1 -1
- package/forms/common.d.ts +3 -3
- package/forms/components/AccordionGroup.d.ts +1 -1
- package/forms/components/AutoComplete.d.ts +2 -2
- package/forms/components/ButtonBar.d.ts +2 -2
- package/forms/components/CheckBox.d.ts +1 -1
- package/forms/components/CheckGroup.d.ts +2 -2
- package/forms/components/CheckGroup.js +1 -1
- package/forms/components/Custom.d.ts +1 -1
- package/forms/components/DatePicker.d.ts +2 -2
- package/forms/components/DateRangePicker.d.ts +2 -2
- package/forms/components/DateTimePicker.d.ts +2 -2
- package/forms/components/DropDownList.d.ts +2 -2
- package/forms/components/FilePicker.d.ts +2 -2
- package/forms/components/Form.js +1 -1
- package/forms/components/FormLabelNumberField.d.ts +1 -1
- package/forms/components/GeometryPicker.d.ts +2 -2
- package/forms/components/GeometryPickerListItem.d.ts +1 -1
- package/forms/components/HorizontalRule.d.ts +1 -1
- package/forms/components/Image.d.ts +1 -1
- package/forms/components/ItemPicker.d.ts +2 -2
- package/forms/components/ListBox.d.ts +2 -2
- package/forms/components/Markdown.d.ts +2 -2
- package/forms/components/Number.d.ts +2 -2
- package/forms/components/NumberRangeSlider.d.ts +1 -1
- package/forms/components/NumberSlider.d.ts +2 -2
- package/forms/components/RadioGroup.d.ts +2 -2
- package/forms/components/Scanner.d.ts +3 -3
- package/forms/components/Section.d.ts +3 -2
- package/forms/components/Section.js +1 -1
- package/forms/components/Signature.d.ts +2 -2
- package/forms/components/TabGroup.d.ts +15 -0
- package/forms/components/TabGroup.js +1 -0
- package/forms/components/Text.d.ts +1 -1
- package/forms/components/TextArea.d.ts +1 -1
- package/forms/components/TextBox.d.ts +1 -1
- package/forms/components/TimePicker.d.ts +2 -2
- package/forms/constants.d.ts +1 -0
- package/forms/constants.js +1 -1
- package/forms/dateUtilities.d.ts +3 -3
- package/forms/elements/AutoComplete.d.ts +2 -2
- package/forms/elements/ButtonBar.d.ts +1 -1
- package/forms/elements/CheckBox.d.ts +1 -1
- package/forms/elements/CheckGroup.d.ts +1 -1
- package/forms/elements/Custom.d.ts +1 -1
- package/forms/elements/DatePicker.d.ts +2 -2
- package/forms/elements/DateRangePicker.d.ts +2 -2
- package/forms/elements/DateTimePicker.d.ts +2 -2
- package/forms/elements/DropDownList.d.ts +1 -1
- package/forms/elements/FilePicker.d.ts +2 -2
- package/forms/elements/GeometryPicker.d.ts +2 -2
- package/forms/elements/HorizontalRule.d.ts +1 -1
- package/forms/elements/Image.d.ts +1 -1
- package/forms/elements/ItemPicker.d.ts +1 -1
- package/forms/elements/ListBox.d.ts +1 -1
- package/forms/elements/Number.d.ts +3 -3
- package/forms/elements/NumberRangeSlider.d.ts +2 -2
- package/forms/elements/NumberSlider.d.ts +2 -2
- package/forms/elements/PasswordBox.d.ts +1 -1
- package/forms/elements/RadioGroup.d.ts +1 -1
- package/forms/elements/Scanner.d.ts +3 -3
- package/forms/elements/Section.d.ts +1 -1
- package/forms/elements/Signature.d.ts +3 -3
- package/forms/elements/Text.d.ts +1 -1
- package/forms/elements/TextArea.d.ts +1 -1
- package/forms/elements/TextBox.d.ts +1 -1
- package/forms/elements/TimePicker.d.ts +2 -2
- package/forms/elements/types.d.ts +1 -1
- package/forms/index.d.ts +3 -3
- package/forms/listUtilities.d.ts +1 -1
- package/forms/manifest.d.ts +1 -1
- package/forms/numberUtilities.d.ts +3 -3
- package/forms/numberUtilities.js +1 -1
- package/forms/presenter.d.ts +1 -1
- package/forms/renderers.d.ts +1 -1
- package/forms/renderers.js +1 -1
- package/forms/textUtilities.d.ts +1 -1
- package/forms/utils.d.ts +9 -3
- package/forms/utils.js +1 -1
- package/libs/version.d.ts +1 -1
- package/libs/version.js +1 -1
- package/package.json +10 -8
package/Collections.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
class Iterator{list(){const t=[];for(;this.next();)t.push(this.current);return t}next(){return!1}peek(){return this.next()?this.current:void 0}map(e,n){null==n&&(n=function(t,r){return r});const i=
|
|
1
|
+
class Iterator{list(){const t=[];for(;this.next();)t.push(this.current);return t}next(){return!1}peek(){return this.next()?this.current:void 0}map(e,n){null==n&&(n=function(t,r){return r});const i=new Iterator,u=i.next;return i.next=()=>{for(;this.next();){const t=Iterator.from(e(this.current));if(t.next()){const r=i.next;return i.next=function(){return t.next()?(i.key=n(t.current,t.key),i.current=t.current,!0):(i.next=r,i.next())},i.key=n(t.current,t.key),i.current=t.current,!0}}return i.key=void 0,i.current=void 0,i.next=u,!1},i}filter(t){const r=new Iterator,e=r.next;return r.next=()=>{for(;this.next();)if(t(this.current,this.key))return r.key=this.key,r.current=this.current,!0;return r.key=void 0,r.current=void 0,r.next=e,!1},r}concat(r){const e=new Iterator,n=e.next;return e.next=()=>{if(this.next())return e.key=this.key,e.current=this.current,!0;const t=Iterator.from(r);return e.next=function(){return t.next()?(e.key=t.key,e.current=t.current,!0):(e.key=void 0,e.current=void 0,e.next=n,!1)},e.next()},e}static from(r){if(Array.isArray(r)){const e=new Iterator,n=e.next;return e.next=function(){let t=0;return e.next=function(){return t<r.length?(e.key=t,e.current=r[t++],!0):(e.key=t,e.current=void 0,e.next=n,!1)},e.next()},e}if(r instanceof Iterator)return r;const e=new Iterator,n=e.next;return e.next=function(){return e.current=r,e.next=function(){return e.current=void 0,e.next=n,!1},!0},e}}Iterator.empty=new Iterator;class Dictionary{constructor(){this.iterating=!1,this.array=[],this.lookup={}}ensureMutable(){let t=this.array;return this.iterating&&(t=this.array=[...t],this.iterating=!1),t}iterate(){const i=new Iterator,u=i.next;return i.next=()=>{this.iterating?this.array=[...this.array]:this.iterating=!0;let e=0;const n=this.array;return i.next=()=>{for(;e<n.length;){var t=n[e++],r=t.key;if(this.lookup[r]===t)return i.key=r,i.current=t.value,!0}return this.array===n&&(this.iterating=!1),i.key=void 0,i.current=void 0,i.next=u,!1},i.next()},i}assign(t,r){t=String(t);const e=this.lookup;var n=e[t];if(void 0!==n){var i=n.index,n=n.value;const u=this.ensureMutable();return u[i]=e[t]={key:t,index:i,value:r},n}const u=this.ensureMutable();u.push(e[t]={key:t,index:u.length,value:r})}remove(t){t=String(t);const r=this.lookup;var e=r[t];if(void 0!==e&&delete r[t]){t=e.index;const n=this.ensureMutable();e=n.length-1;if(t!==e){const i=n[e];n[i.index=t]=i}n.length=e}return!1}exists(t){return void 0!==this.lookup[String(t)]}find(t){t=this.lookup[String(t)];return void 0!==t?t.value:void 0}clear(){0<this.array.length&&(this.array=[],this.lookup={})}get length(){return this.array.length}}class Stash{constructor(){this.lookup={}}isArray(t){return Array.isArray(t)&&t.owner===this.lookup}read(t,r){t=this.lookup[String(t)];if(void 0!==t){if(!this.isArray(t))return t.item===r?t.result:void 0;for(const e of t)if(e.item===r)return e.result}}write(t,r,e){t=String(t);const n=this.lookup;let i=n[t];if(void 0!==i)if(this.isArray(i)){for(const o of i)if(o.item===r){var u=o.result;return o.result=e,u}i.push({item:r,result:e})}else{if(i.item===r){var s=i.result;return i.result=e,s}n[t]=i=[i,{item:r,result:e}],i.owner=n}else n[t]={item:r,result:e}}}export{Iterator,Dictionary,Stash};
|
package/Hooks.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IFacility } from "./Activator";
|
|
2
|
-
import { IActivityHandler, IActivityContext } from "./IActivityHandler";
|
|
1
|
+
import type { IFacility } from "./Activator";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "./IActivityHandler";
|
|
3
3
|
/** Do not reference. */
|
|
4
4
|
export interface IActivityHandlerConstructorWithFacility<T> {
|
|
5
5
|
new (): IActivityHandlerWithFacility<T>;
|
package/Hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const guid="AB6BF11D-6ED6-45F2-8FCB-B9BECC39A905",
|
|
1
|
+
const guid="AB6BF11D-6ED6-45F2-8FCB-B9BECC39A905",basisPropertyName=`${guid}:Basis`,basisTwoPropertyName=`${guid}:BasisTwo`;function activate(t){return function(e){e.prototype.execute[basisPropertyName]=t}}function activateTwo(t,o){return function(e){e.prototype.execute[basisPropertyName]=t,e.prototype.execute[basisTwoPropertyName]=o}}function query(e){const t=[];var o=e.execute[basisPropertyName];return o&&(t.push(o),(e=e.execute[basisTwoPropertyName])&&t.push(e)),t}export{activate,activateTwo,query};
|
package/IActivityHandler.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import type { Task } from "./Task";
|
|
2
|
+
import type { LogLevel } from "./diagnostics/logging";
|
|
3
|
+
import type Bluebird from "bluebird";
|
|
4
4
|
/**
|
|
5
5
|
* Implemented by activity handlers.
|
|
6
6
|
* @public
|
|
@@ -23,7 +23,7 @@ export interface IAmbientState {
|
|
|
23
23
|
/** Indicates the resources for expression evaluation. */
|
|
24
24
|
resources?: Record<string, any>;
|
|
25
25
|
/** Indicates the error given to the workflow consumer. */
|
|
26
|
-
error
|
|
26
|
+
error?: Error;
|
|
27
27
|
/** Indicates the inputs given to the workflow consumer. */
|
|
28
28
|
inputs: Record<string, any>;
|
|
29
29
|
/** Indicates the current workflow locale. */
|
package/TemplateUtils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EmptyInputs, IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { EmptyInputs, IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/**
|
|
3
3
|
* Defines outputs from the GetApplicationInfo activity.
|
|
4
4
|
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, EmptyInputs } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, EmptyInputs } from "../../IActivityHandler";
|
|
2
2
|
/**
|
|
3
3
|
* Defines outputs from the GetUserInfo activity.
|
|
4
4
|
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
2
|
/** Inputs for the PublishEvent activity. */
|
|
3
3
|
export interface PublishEventInputs {
|
|
4
4
|
/** The name of the event to publish. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
2
|
/**
|
|
3
3
|
* Inputs for the RunCommand activity.
|
|
4
4
|
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/**
|
|
3
3
|
* Inputs for the RunOperation activity.
|
|
4
4
|
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
2
|
export interface SetApplicationDataInputs {
|
|
3
3
|
key: string;
|
|
4
4
|
visibility: "memory" | "application" | "global" | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
export interface AddAttachmentInputs {
|
|
3
3
|
/** The URL of the ArcGIS feature layer or table. Either url or layer is required. */
|
|
4
4
|
url?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines the inputs for the Add Feature Layer activity */
|
|
4
4
|
export interface AddFeatureLayerInputs {
|
|
5
5
|
/** The features to be included in the new layer. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ApplyEditResult, ApplyEditResults } from "./libs/arcGisRestApi";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the AddFeatures activity. */
|
|
4
4
|
export interface AddFeaturesInputs {
|
|
5
5
|
/** The URL of the ArcGIS feature layer or table to edit. Either url or layer input is required. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/**
|
|
4
4
|
* Defines inputs for the AddGraphics activity.
|
|
5
5
|
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Area activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface AreaEngineTaskInputs {
|
|
4
4
|
/** The polygon whose area is being calculated. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs to the Buffer activity. This activity makes use of the geometry engine. */
|
|
3
3
|
export interface BufferEngineTaskInputs {
|
|
4
4
|
/** The buffer input geometry. The geometry and distance parameters must be specified as either both arrays or both non-arrays. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the Buffer activity. This activity relies on an ArcGIS Geometry Service REST endpoint. */
|
|
4
4
|
export interface BufferServiceTaskInputs {
|
|
5
5
|
/** The URL of the ArcGIS geometry service. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the ClearGraphics activity. */
|
|
4
4
|
export interface ClearGraphicsInputs {
|
|
5
5
|
/** The ID of the graphics layer to clear. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Clip activity. This activity makes use of the geometry engine. */
|
|
3
3
|
export interface ClipEngineTaskInputs {
|
|
4
4
|
/** The geometry to be clipped. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the basic Closest Facility Task activity. This task is related to the Route and Service Area tasks. */
|
|
4
4
|
export interface ClosestFacilityTaskInputs {
|
|
5
5
|
/** The URL to the ArcGIS network analysis service. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines imports for the CompareGeometries activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface CompareGeometriesInputs {
|
|
4
4
|
/** The first geometry being compared. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
export interface ConvertValueToArcGisFieldTypeInputs {
|
|
3
3
|
value: Object;
|
|
4
4
|
type: "double" | "integer" | "long" | "oid" | "single" | "small-integer" | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Create Feature Set activity. */
|
|
3
3
|
export interface CreateFeatureSetInputs {
|
|
4
4
|
geometries?: __esri.Geometry | __esri.Geometry[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Create Graphic activity. */
|
|
3
3
|
export interface CreateGraphicInputs {
|
|
4
4
|
attributes?: Object;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Cut activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface CutEngineTaskInputs {
|
|
4
4
|
/** The geometry (a Polyline or Polygon) to be cut. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
export interface DeleteAttachmentsInputs {
|
|
3
3
|
/** The URL of the ArcGIS feature layer or table. Either url or layer is required. */
|
|
4
4
|
url?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ApplyEditResult, ApplyEditResults } from "./libs/arcGisRestApi";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the DeleteFeatures activity. */
|
|
4
4
|
export interface DeleteFeaturesInputs {
|
|
5
5
|
/** The URL of the ArcGIS feature layer or table to edit. Either url or layer is required. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Densify activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface DensifyEngineTaskInputs {
|
|
4
4
|
/** The geometry to be densified. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Difference activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface DifferenceEngineTaskInputs {
|
|
4
4
|
/** The input geometry to subtract from. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Distance Engine activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface DistanceEngineTaskInputs {
|
|
4
4
|
/** The first input geometry. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Distance Service activity. This activity relies on an ArcGIS Geometry Service REST endpoint. */
|
|
3
3
|
export interface DistanceServiceTaskInputs {
|
|
4
4
|
/** The URL of the ArcGIS geometry service. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the ExtendedSpatialReferenceInfo activity. This activity relies on the geometry engine. */
|
|
4
4
|
export interface ExtendedSpatialReferenceInfoEngineTaskInputs {
|
|
5
5
|
/** The input spatial reference. Valid inputs are projected spatial references (e.g., Web Mercator). Geographic spatial references (e.g., WGS84) are not valid. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the FeatureSet From JSON activity. */
|
|
3
3
|
export interface FeatureSetFromJsonInputs {
|
|
4
4
|
/** The FeatureSet JSON as a string or object. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Flip activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface FlipEngineTaskInputs {
|
|
4
4
|
/** The geometry to flip. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the FromGeoCoordinateString task. This task requires a geometry service. */
|
|
3
3
|
export interface FromGeoCoordinateStringServiceTaskInputs {
|
|
4
4
|
/** The URL of the ArcGIS geometry service. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Generalize activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface GeneralizeEngineTaskInputs {
|
|
4
4
|
/** The geometry to generalize. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
3
|
-
import { Webmap, WebmapPrintParameters } from "./runUtils";
|
|
2
|
+
import type { Webmap, WebmapPrintParameters } from "./runUtils";
|
|
3
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
4
4
|
/** Defines inputs for the GenerateWebmapForReport activity. */
|
|
5
5
|
export interface GenerateWebmapForReportInputs {
|
|
6
6
|
mapName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the Geocode activity. */
|
|
4
4
|
export interface GeocodeInputs {
|
|
5
5
|
/** The URL of the geocoding service. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Geometry From JSON activity. */
|
|
3
3
|
export interface GeometryFromJsonInputs {
|
|
4
4
|
/** The geometry JSON as a string or object. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs to the Synchronous Geoprocessor task. This task is suitable for geoprocessing services with a synchronous execution type. */
|
|
4
4
|
export interface GeoprocessingInputs {
|
|
5
5
|
/** The URL of the ArcGIS Server Geoprocessing service task. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import
|
|
1
|
+
import{__decorate}from"tslib";import{execute as executeTask}from"@arcgis/core/rest/geoprocessor";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let Geoprocessing=class{async execute(e,r,s){var a=validation.string("url",e.url,validation.never),o=s.getOutSR(e.outSpatialReference),s=s.getOutSR(e.processSpatialReference),e=validation.exists("arguments",e.arguments,{}),s={outSpatialReference:o,processSpatialReference:s},r={signal:r.cancellationToken.signal},r=await executeTask(a,e,s,r);const t={};for(const i of r.results)t[i.paramName]=i.value;return{messages:Array.isArray(r)?[]:r.messages,results:t}}};Geoprocessing.action="gcx:wf:arcgis::Geoprocessing",Geoprocessing.suite="gcx:wf:builtin",Geoprocessing=__decorate([activate(MapProvider)],Geoprocessing);export{Geoprocessing};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs to the Asynchronous Geoprocessor task. This task is suitable for geoprocessing services with an asynchronous execution type. */
|
|
4
4
|
export interface GeoprocessingAsyncInputs {
|
|
5
5
|
/** The URL of the ArcGIS Server Geoprocessing service task. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Get Attribute Value activity. */
|
|
3
3
|
export interface GetAttributeValueInputs {
|
|
4
4
|
/** The feature set or collection of graphics to search for the attribute. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Get Attributes Value activity. */
|
|
3
3
|
export interface GetAttributeValuesInputs {
|
|
4
4
|
/** The feature set or collection of graphics to search for the attribute. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Get Centroid activity. */
|
|
3
3
|
export interface GetCentroidInputs {
|
|
4
4
|
/** The geometry whose centroid will be calculated. In the case of a Polyline, the activity returns the average of midpoints of the Polyline's line segments. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { FeatureLayerInfo } from "./libs/arcGisRestApi";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the GetCodedValueDomain activity. */
|
|
4
4
|
export interface GetCodedValueDomainInputs {
|
|
5
5
|
/** The FeatureLayer or table that contains the fields. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the GetCurrentPosition activity. */
|
|
3
3
|
export interface GetCurrentPositionInputs {
|
|
4
4
|
/** Whether to request the best possible location data */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Get Geometries activity. */
|
|
3
3
|
export interface GetFeatureGeometriesInputs {
|
|
4
4
|
/** The feature set or list of features whose geometries will be returned. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Get Geometry activity. */
|
|
3
3
|
export interface GetFeatureGeometryInputs {
|
|
4
4
|
/** The FeatureSet or collection of graphics to get the geometry from. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { FeatureLayerInfo } from "./libs/arcGisRestApi";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs to the GetFeatureLayerInfo activity. */
|
|
4
4
|
export interface GetFeatureLayerInfoInputs {
|
|
5
5
|
/** The URL of the ArcGIS feature layer or table. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the GetFeatureSetExtent activity. */
|
|
3
3
|
export interface GetFeatureSetExtentInputs {
|
|
4
4
|
/** The features to calculate the bounding extent of. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Get Object IDs activity. */
|
|
3
3
|
export interface GetFeatureSetObjectIdsInputs {
|
|
4
4
|
/** The feature set to obtain the object IDs from. Note that object IDs should be integers. If another data type is used (such as strings) to denote object IDs, they should be retrieved with the Get Attribute Values activity. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
import { Item } from "../../forms/FormDefinition";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
import type { Item } from "../../forms/FormDefinition";
|
|
3
3
|
export interface GetFormElementItemsFromFeaturesInputs {
|
|
4
4
|
/** The features to be converted to the items collection. */
|
|
5
5
|
features: __esri.Graphic[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the GetGeometryExtent activity. */
|
|
3
3
|
export interface GetGeometryExtentInputs {
|
|
4
4
|
geometry: __esri.Geometry | __esri.Geometry[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs to the GetGraphics activity. */
|
|
4
4
|
export interface GetGraphicsInputs {
|
|
5
5
|
/** The ID of the graphics layer to get the features from. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the GetLayer activity. */
|
|
4
4
|
export interface GetLayerInputs {
|
|
5
5
|
/** The ID of the layer to be retrieved. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the GetLayerDefinitionExpression activity. */
|
|
4
4
|
export interface GetLayerDefinitionExpressionInputs {
|
|
5
5
|
/** The ID of the layer whose definition is of interest. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the GetLayerProperty activity. */
|
|
4
4
|
export interface GetLayerPropertyInputs {
|
|
5
5
|
/** The ID of the layer whose property is of interest. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the GetLayerVisibility activity. */
|
|
4
4
|
export interface GetLayerVisibilityInputs {
|
|
5
5
|
/** The ID of the layer whose visibility is of interest. */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { MapInfo } from "./MapProvider";
|
|
3
|
+
import type { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
3
4
|
/** Defines outputs for the GetMap activity. */
|
|
4
5
|
export interface GetMapOutputs {
|
|
5
6
|
map: MapInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the GetMapScreenshot activity. */
|
|
4
4
|
export interface GetMapScreenshotInputs {
|
|
5
5
|
/** The height of the screenshot. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the GetTable activity. */
|
|
4
4
|
export interface GetTableInputs {
|
|
5
5
|
/** The ID of the table to be retrieved. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
3
3
|
/** Defines outputs for the GetViewExtent activity. */
|
|
4
4
|
export interface GetViewExtentOutputs {
|
|
5
5
|
/** The extent of the view. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
2
1
|
import { MapProvider } from "./MapProvider";
|
|
2
|
+
import type { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
3
3
|
/** Defines outputs for the GetViewpoint activity. */
|
|
4
4
|
export interface GetViewpointOutputs {
|
|
5
5
|
/** The viewpoint of the scene. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
1
|
+
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Intersect activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface IntersectEngineTaskInputs {
|
|
4
4
|
/** The input geometry (or geometries). */
|