@vertigis/workflow 5.36.0 → 5.37.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/Activator.d.ts +25 -25
- package/Collections.d.ts +83 -91
- package/EnumUtils.d.ts +28 -28
- package/Errors.d.ts +155 -155
- package/Hooks.d.ts +32 -32
- package/IActivityHandler.d.ts +101 -101
- package/LanguageStringUtils.d.ts +16 -17
- package/LanguageStringUtils.js +1 -1
- package/ProgramInspectorFacility.d.ts +23 -24
- package/Task.d.ts +56 -56
- package/TemplateUtils.d.ts +28 -28
- package/Validation.d.ts +151 -26
- package/Validation.js +1 -1
- package/activities/app/GetApplicationData.d.ts +15 -12
- package/activities/app/GetApplicationData.js +1 -1
- package/activities/app/GetApplicationInfo.d.ts +15 -15
- package/activities/app/GetUserInfo.d.ts +15 -15
- package/activities/app/PublishEvent.d.ts +14 -14
- package/activities/app/RemoveApplicationData.d.ts +14 -11
- package/activities/app/RemoveApplicationData.js +1 -1
- package/activities/app/RunCommand.d.ts +17 -17
- package/activities/app/RunOperation.d.ts +25 -25
- package/activities/app/SetApplicationData.d.ts +13 -10
- package/activities/app/SetApplicationData.js +1 -1
- package/activities/app/applicationData.d.ts +12 -0
- package/activities/app/applicationData.js +1 -0
- package/activities/arcgis/AddAttachment.d.ts +22 -22
- package/activities/arcgis/AddFeatureLayer.d.ts +23 -23
- package/activities/arcgis/AddFeatureLayer.js +1 -1
- package/activities/arcgis/AddFeatures.d.ts +27 -27
- package/activities/arcgis/AddGraphics.d.ts +27 -27
- package/activities/arcgis/ArcadeScript.d.ts +17 -18
- package/activities/arcgis/AreaEngineTask.d.ts +20 -20
- package/activities/arcgis/BufferEngineTask.d.ts +27 -27
- package/activities/arcgis/BufferServiceTask.d.ts +33 -33
- package/activities/arcgis/BufferServiceTask.js +1 -1
- package/activities/arcgis/CastGeometry.d.ts +23 -23
- package/activities/arcgis/ClearGraphics.d.ts +12 -12
- package/activities/arcgis/ClearGraphics.js +1 -1
- package/activities/arcgis/ClipEngineTask.d.ts +18 -18
- package/activities/arcgis/ClosestFacilityTask.d.ts +90 -90
- package/activities/arcgis/ClosestFacilityTask.js +1 -1
- package/activities/arcgis/CompareGeometries.d.ts +19 -19
- package/activities/arcgis/ConvertValueToArcGisFieldType.d.ts +13 -0
- package/activities/arcgis/ConvertValueToArcGisFieldType.js +1 -0
- package/activities/arcgis/CreateFeatureSet.d.ts +16 -16
- package/activities/arcgis/CreateFeatureSet.js +1 -1
- package/activities/arcgis/CreateGraphic.d.ts +17 -17
- package/activities/arcgis/CreateGraphic.js +1 -1
- package/activities/arcgis/CreatePoint.d.ts +17 -17
- package/activities/arcgis/CutEngineTask.d.ts +18 -18
- package/activities/arcgis/DeleteAttachments.d.ts +22 -22
- package/activities/arcgis/DeleteFeatures.d.ts +30 -30
- package/activities/arcgis/DensifyEngineTask.d.ts +20 -20
- package/activities/arcgis/DifferenceEngineTask.d.ts +23 -23
- package/activities/arcgis/DistanceEngineTask.d.ts +20 -20
- package/activities/arcgis/DistanceServiceTask.d.ts +24 -24
- package/activities/arcgis/DistanceServiceTask.js +1 -1
- package/activities/arcgis/ExtendedSpatialReferenceInfoEngineTask.d.ts +17 -17
- package/activities/arcgis/FeatureSetFromJson.d.ts +16 -16
- package/activities/arcgis/FeatureTableMap.d.ts +12 -12
- package/activities/arcgis/FlipEngineTask.d.ts +21 -21
- package/activities/arcgis/FromGeoCoordinateStringServiceTask.d.ts +24 -24
- package/activities/arcgis/GeneralizeEngineTask.d.ts +22 -22
- package/activities/arcgis/GenerateArcGisToken.d.ts +23 -23
- package/activities/arcgis/GenerateWebmapForReport.d.ts +20 -20
- package/activities/arcgis/GenerateWebmapForReport.js +1 -1
- package/activities/arcgis/Geocode.d.ts +37 -38
- package/activities/arcgis/Geocode.js +1 -1
- package/activities/arcgis/GeometryFromJson.d.ts +16 -16
- package/activities/arcgis/Geoprocessing.d.ts +25 -26
- package/activities/arcgis/Geoprocessing.js +1 -1
- package/activities/arcgis/GeoprocessingAsync.d.ts +36 -37
- package/activities/arcgis/GeoprocessingAsync.js +1 -1
- package/activities/arcgis/GetAttributeValue.d.ts +22 -22
- package/activities/arcgis/GetAttributeValues.d.ts +20 -20
- package/activities/arcgis/GetCentroid.d.ts +16 -16
- package/activities/arcgis/GetCodedValueDomain.d.ts +29 -29
- package/activities/arcgis/GetCodedValueDomain.js +1 -1
- package/activities/arcgis/GetCurrentPosition.d.ts +46 -46
- package/activities/arcgis/GetFeatureGeometries.d.ts +20 -20
- package/activities/arcgis/GetFeatureGeometry.d.ts +18 -18
- package/activities/arcgis/GetFeatureLayerInfo.d.ts +22 -22
- package/activities/arcgis/GetFeatureSetExtent.d.ts +18 -18
- package/activities/arcgis/GetFeatureSetObjectIds.d.ts +20 -20
- package/activities/arcgis/GetFormElementItemsFromFeatures.d.ts +49 -50
- package/activities/arcgis/GetFormElementItemsFromFeatures.js +1 -1
- package/activities/arcgis/GetGeometryExtent.d.ts +17 -17
- package/activities/arcgis/GetGraphics.d.ts +19 -19
- package/activities/arcgis/GetLayer.d.ts +21 -21
- package/activities/arcgis/GetLayerDefinitionExpression.d.ts +18 -18
- package/activities/arcgis/GetLayerProperty.d.ts +18 -18
- package/activities/arcgis/GetLayerVisibility.d.ts +18 -18
- package/activities/arcgis/GetMap.d.ts +11 -11
- package/activities/arcgis/GetMapScreenshot.d.ts +18 -18
- package/activities/arcgis/GetPortalUser.d.ts +20 -20
- package/activities/arcgis/GetTable.d.ts +18 -18
- package/activities/arcgis/GetViewExtent.d.ts +16 -16
- package/activities/arcgis/GetViewpoint.d.ts +12 -12
- package/activities/arcgis/IntersectEngineTask.d.ts +20 -20
- package/activities/arcgis/LabelPointsServiceTask.d.ts +18 -18
- package/activities/arcgis/LengthEngineTask.d.ts +20 -20
- package/activities/arcgis/MapProvider.d.ts +133 -132
- package/activities/arcgis/MapProvider.js +1 -1
- package/activities/arcgis/NearestCoordinateEngineTask.d.ts +26 -26
- package/activities/arcgis/NearestVertexEngineTask.d.ts +26 -26
- package/activities/arcgis/NearestVerticesEngineTask.d.ts +34 -34
- package/activities/arcgis/OffsetEngineTask.d.ts +25 -25
- package/activities/arcgis/ProjectServiceTask.d.ts +27 -27
- package/activities/arcgis/ProjectServiceTask.js +1 -1
- package/activities/arcgis/QueryAttachmentInfos.d.ts +21 -21
- package/activities/arcgis/QueryTask.d.ts +77 -77
- package/activities/arcgis/QueryTask.js +1 -1
- package/activities/arcgis/RefreshLayer.d.ts +12 -12
- package/activities/arcgis/RegisterCorsUrl.d.ts +21 -21
- package/activities/arcgis/RelateEngineTask.d.ts +22 -22
- package/activities/arcgis/RelationServiceTask.d.ts +29 -29
- package/activities/arcgis/RelationServiceTask.js +1 -1
- package/activities/arcgis/RelationshipQueryTask.d.ts +37 -38
- package/activities/arcgis/RelationshipQueryTask.js +1 -1
- package/activities/arcgis/RemoveFeatureSetFields.d.ts +22 -22
- package/activities/arcgis/RemoveFeatureSetFields.js +1 -1
- package/activities/arcgis/RemoveGraphics.d.ts +14 -14
- package/activities/arcgis/RemoveGraphics.js +1 -1
- package/activities/arcgis/RemoveLayer.d.ts +16 -16
- package/activities/arcgis/RendererFromJson.d.ts +16 -16
- package/activities/arcgis/ReshapeServiceTask.d.ts +20 -20
- package/activities/arcgis/ReverseGeocode.d.ts +31 -31
- package/activities/arcgis/ReverseGeocode.js +1 -1
- package/activities/arcgis/RotateEngineTask.d.ts +20 -20
- package/activities/arcgis/RouteTask.d.ts +91 -91
- package/activities/arcgis/RouteTask.js +1 -1
- package/activities/arcgis/RunPrint.d.ts +33 -34
- package/activities/arcgis/RunPrint.js +1 -1
- package/activities/arcgis/RunReport.d.ts +37 -38
- package/activities/arcgis/RunReport.js +1 -1
- package/activities/arcgis/RunWorkflow.d.ts +51 -52
- package/activities/arcgis/SendLayerToAttributeTable.d.ts +10 -10
- package/activities/arcgis/ServiceAreaTask.d.ts +87 -87
- package/activities/arcgis/ServiceAreaTask.js +1 -1
- package/activities/arcgis/SetFeatureAttribute.d.ts +15 -15
- package/activities/arcgis/SetFeatureGeometry.d.ts +13 -13
- package/activities/arcgis/SetFeaturePopup.d.ts +12 -12
- package/activities/arcgis/SetFeatureSymbol.d.ts +13 -13
- package/activities/arcgis/SetImageryLayerOptions.d.ts +27 -27
- package/activities/arcgis/SetLayerDefinitionExpression.d.ts +21 -21
- package/activities/arcgis/SetLayerDefinitionExpression.js +1 -1
- package/activities/arcgis/SetLayerPopup.d.ts +12 -12
- package/activities/arcgis/SetLayerProperty.d.ts +23 -23
- package/activities/arcgis/SetLayerVisibility.d.ts +23 -23
- package/activities/arcgis/SetMap.d.ts +14 -14
- package/activities/arcgis/SetViewExtent.d.ts +27 -27
- package/activities/arcgis/SetViewpoint.d.ts +23 -23
- package/activities/arcgis/ShowFeaturePopup.d.ts +11 -11
- package/activities/arcgis/ShowResults.d.ts +51 -51
- package/activities/arcgis/SimplifyEngineTask.d.ts +15 -15
- package/activities/arcgis/SortFeatureSet.d.ts +20 -20
- package/activities/arcgis/SymbolFromJson.d.ts +16 -16
- package/activities/arcgis/ToGeoCoordinateStringServiceTask.d.ts +30 -30
- package/activities/arcgis/TypeChecking.d.ts +46 -46
- package/activities/arcgis/UnionEngineTask.d.ts +19 -19
- package/activities/arcgis/UnionServiceTask.d.ts +20 -20
- package/activities/arcgis/UpdateAttachment.d.ts +29 -29
- package/activities/arcgis/UpdateFeatures.d.ts +27 -27
- package/activities/arcgis/libs/arcGisRestApi.d.ts +18 -18
- package/activities/arcgis/runUtils.d.ts +93 -93
- package/activities/arcgis/shared.d.ts +61 -61
- package/activities/arcgis/tools.d.ts +42 -40
- package/activities/arcgis/tools.js +1 -1
- package/activities/browser/GetBrowserInfo.d.ts +13 -13
- package/activities/browser/InjectCss.d.ts +11 -11
- package/activities/constants.d.ts +19 -19
- package/activities/core/AddItem.d.ts +12 -12
- package/activities/core/AddItems.d.ts +12 -12
- package/activities/core/Annotation.d.ts +8 -8
- package/activities/core/Cast.d.ts +16 -16
- package/activities/core/ChannelProvider.d.ts +89 -90
- package/activities/core/ChannelProvider.js +1 -1
- package/activities/core/ClearItems.d.ts +10 -10
- package/activities/core/Container.d.ts +7 -7
- package/activities/core/ConvertBytesToText.d.ts +14 -14
- package/activities/core/ConvertDataTableToFeatureSet.d.ts +12 -12
- package/activities/core/ConvertTextToBytes.d.ts +14 -14
- package/activities/core/ConvertToJson.d.ts +16 -16
- package/activities/core/ConvertToJson.js +1 -1
- package/activities/core/CreateFile.d.ts +18 -18
- package/activities/core/CreateValue.d.ts +21 -21
- package/activities/core/DecodeUriComponent.d.ts +14 -14
- package/activities/core/Delay.d.ts +18 -18
- package/activities/core/EncodeUriComponent.d.ts +14 -14
- package/activities/core/Evaluate.d.ts +18 -18
- package/activities/core/EvaluateAsync.d.ts +18 -18
- package/activities/core/Exit.d.ts +7 -7
- package/activities/core/ForEach.d.ts +25 -26
- package/activities/core/FormatDate.d.ts +23 -23
- package/activities/core/GetBase64StringFromBytes.d.ts +15 -15
- package/activities/core/GetBase64StringFromFile.d.ts +15 -15
- package/activities/core/GetBytesFromBase64String.d.ts +15 -15
- package/activities/core/GetFirstItem.d.ts +14 -14
- package/activities/core/GetItemAtIndex.d.ts +15 -15
- package/activities/core/GetLastItem.d.ts +14 -14
- package/activities/core/GetLogLevel.d.ts +9 -9
- package/activities/core/GetTextFromFile.d.ts +16 -16
- package/activities/core/GetWorkflowInputs.d.ts +12 -12
- package/activities/core/If.d.ts +18 -18
- package/activities/core/Log.d.ts +14 -14
- package/activities/core/Log.js +1 -1
- package/activities/core/Loop.d.ts +27 -27
- package/activities/core/Loop.js +1 -1
- package/activities/core/ParseJson.d.ts +16 -16
- package/activities/core/ParseNumber.d.ts +12 -12
- package/activities/core/ParseUrl.d.ts +24 -25
- package/activities/core/ParseUrl.js +1 -1
- package/activities/core/Placeholder.d.ts +6 -6
- package/activities/core/RegexMatches.d.ts +17 -17
- package/activities/core/RegexReplace.d.ts +18 -18
- package/activities/core/RemoveItem.d.ts +14 -14
- package/activities/core/RunActivity.d.ts +12 -13
- package/activities/core/RunSubworkflow.d.ts +14 -15
- package/activities/core/SetLogLevel.d.ts +9 -9
- package/activities/core/SetProperty.d.ts +15 -15
- package/activities/core/SetWorkflowOutput.d.ts +12 -12
- package/activities/core/Subworkflow.d.ts +14 -15
- package/activities/core/Switch.d.ts +19 -19
- package/activities/core/TextReplace.d.ts +16 -16
- package/activities/core/Throw.d.ts +12 -12
- package/activities/core/TryCatch.d.ts +12 -12
- package/activities/core/WebRequest.d.ts +49 -50
- package/activities/core/converters.d.ts +10 -10
- package/activities/csv/ConvertCsvToDataTable.d.ts +15 -15
- package/activities/csv/ConvertDataTableToCsv.d.ts +15 -15
- package/activities/essentials/GetEssentialsSite.d.ts +225 -225
- package/activities/essentials/RunEssentialsWorkflow.d.ts +25 -26
- package/activities/essentials/RunEssentialsWorkflowActivity.d.ts +17 -18
- package/activities/forms/ActivateFormElement.d.ts +13 -13
- package/activities/forms/ActivateFormElement.js +1 -1
- package/activities/forms/AddFormElement.d.ts +18 -18
- package/activities/forms/ClearFormElementError.d.ts +13 -13
- package/activities/forms/CompleteForm.d.ts +11 -11
- package/activities/forms/DisplayForm.d.ts +48 -49
- package/activities/forms/Errors.d.ts +18 -18
- package/activities/forms/FilterFormElementItems.d.ts +16 -16
- package/activities/forms/FormElementMap.d.ts +13 -13
- package/activities/forms/FormRenderer.d.ts +139 -140
- package/activities/forms/FormRenderer.js +1 -1
- package/activities/forms/GetFormElementItemsFromCollection.d.ts +49 -50
- package/activities/forms/GetFormElementItemsFromCollection.js +1 -1
- package/activities/forms/GetFormElementProperty.d.ts +19 -19
- package/activities/forms/GetFormElementValue.d.ts +17 -17
- package/activities/forms/GetFormEventData.d.ts +17 -17
- package/activities/forms/HideFormElement.d.ts +13 -13
- package/activities/forms/PropagateFormEvent.d.ts +10 -10
- package/activities/forms/SetCurrentFormElementItem.d.ts +18 -18
- package/activities/forms/SetCurrentFormElementItem.js +1 -1
- package/activities/forms/SetFormElementError.d.ts +17 -17
- package/activities/forms/SetFormElementEvent.d.ts +18 -18
- package/activities/forms/SetFormElementItemProperty.d.ts +34 -21
- package/activities/forms/SetFormElementItemProperty.js +1 -1
- package/activities/forms/SetFormElementItems.d.ts +18 -19
- package/activities/forms/SetFormElementProperty.d.ts +32 -19
- package/activities/forms/SetFormElementProperty.js +1 -1
- package/activities/forms/ShowFormElement.d.ts +15 -15
- package/activities/image/GetImageMetadata.d.ts +16 -16
- package/activities/image/RotateImage.d.ts +15 -15
- package/activities/index.d.ts +4 -2
- package/activities/index.js +1 -1
- package/activities/main.d.ts +1 -1
- package/activities/math/Abs.d.ts +14 -14
- package/activities/math/Cos.d.ts +14 -14
- package/activities/math/Max.d.ts +16 -16
- package/activities/math/Min.d.ts +16 -16
- package/activities/math/Pow.d.ts +15 -15
- package/activities/math/Random.d.ts +10 -10
- package/activities/math/Sin.d.ts +14 -14
- package/activities/math/Sqrt.d.ts +14 -14
- package/activities/math/Tan.d.ts +14 -14
- package/activities/pdf/AddGeoreferenceToPdf.d.ts +19 -19
- package/activities/pdf/AddImageToPdf.d.ts +63 -0
- package/activities/pdf/AddImageToPdf.js +1 -0
- package/activities/pdf/AddTextToPdf.d.ts +59 -0
- package/activities/pdf/AddTextToPdf.js +1 -0
- package/activities/pdf/CreatePdf.d.ts +49 -0
- package/activities/pdf/CreatePdf.js +1 -0
- package/activities/pdf/ExtractPdfPages.d.ts +17 -17
- package/activities/pdf/MergePdfs.d.ts +15 -15
- package/activities/server/CopyFile.d.ts +10 -10
- package/activities/server/CreateDirectory.d.ts +9 -9
- package/activities/server/CreateDownload.d.ts +18 -18
- package/activities/server/CreateEmailAttachment.d.ts +16 -16
- package/activities/server/CreateZipFromDirectory.d.ts +12 -12
- package/activities/server/DeleteDirectory.d.ts +9 -9
- package/activities/server/DeleteFile.d.ts +9 -9
- package/activities/server/DirectoryExists.d.ts +13 -13
- package/activities/server/ExtractZipToDirectory.d.ts +11 -11
- package/activities/server/FileExists.d.ts +13 -13
- package/activities/server/GetDirectoriesInDirectory.d.ts +14 -14
- package/activities/server/GetFilesInDirectory.d.ts +14 -14
- package/activities/server/MoveFile.d.ts +10 -10
- package/activities/server/ReadFile.d.ts +14 -14
- package/activities/server/ReadFileBytes.d.ts +13 -13
- package/activities/server/RunApplication.d.ts +22 -22
- package/activities/server/RunPython.d.ts +23 -23
- package/activities/server/SendEmail.d.ts +16 -16
- package/activities/server/SqlNonQuery.d.ts +18 -18
- package/activities/server/SqlQuery.d.ts +18 -18
- package/activities/server/SqlQueryUnsafe.d.ts +18 -18
- package/activities/server/WriteFile.d.ts +11 -11
- package/activities/server/WriteFileBytes.d.ts +10 -10
- package/activities/ui/Alert.d.ts +17 -17
- package/activities/ui/Confirm.d.ts +24 -24
- package/activities/ui/Prompt.d.ts +26 -26
- package/activities/wab/OpenWidget.d.ts +10 -10
- package/activities/wab/PublishWidgetData.d.ts +11 -11
- package/activities/xlsx/ConvertDataTableToXlsx.d.ts +15 -15
- package/activities/xlsx/ConvertXlsxToDataSet.d.ts +15 -15
- package/constants.d.ts +2 -2
- package/definition/Activity.d.ts +12 -13
- package/definition/ActivityInput.d.ts +31 -31
- package/definition/Component.d.ts +10 -10
- package/definition/DeploymentConfig.d.ts +4 -5
- package/definition/Form.d.ts +5 -5
- package/definition/Program.d.ts +29 -30
- package/definition/ProgramInspector.d.ts +290 -288
- package/definition/ProgramInspector.js +1 -1
- package/definition/Reference.d.ts +11 -11
- package/definition/Resource.d.ts +26 -26
- package/definition/Step.d.ts +9 -9
- package/definition/Transition.d.ts +17 -17
- package/diagnostics/ConsoleDebugLogger.d.ts +10 -10
- package/diagnostics/logging.d.ts +5 -5
- package/execution/ActivityLoader.d.ts +23 -24
- package/execution/Engine.d.ts +84 -85
- package/execution/IDebugSession.d.ts +43 -44
- package/execution/ModuleLoader.d.ts +42 -42
- package/execution/ProgramRunner.d.ts +1 -1
- package/execution/ProgramRunner.js +1 -1
- package/forms/Calendar.d.ts +89 -89
- package/forms/ExclusiveTimer.d.ts +13 -13
- package/forms/FormComponent.d.ts +47 -47
- package/forms/FormComponent.js +1 -1
- package/forms/FormDefinition.d.ts +451 -452
- package/forms/FormElement.d.ts +24 -59
- package/forms/FormElement.js +1 -1
- package/forms/FormHost.d.ts +225 -231
- package/forms/FormHost.js +1 -1
- package/forms/FormPresenterHost.d.ts +62 -74
- package/forms/MutuallyExclusiveSectionGroup.d.ts +41 -41
- package/forms/NumberParser.d.ts +27 -26
- package/forms/NumberParser.js +1 -1
- package/forms/common.d.ts +67 -62
- package/forms/common.js +1 -1
- package/forms/components/AccordionGroup.d.ts +15 -15
- package/forms/components/AutoComplete.d.ts +8 -8
- package/forms/components/ButtonBar.d.ts +8 -8
- package/forms/components/CheckBox.d.ts +7 -7
- package/forms/components/CheckGroup.d.ts +8 -8
- package/forms/components/Custom.d.ts +7 -7
- package/forms/components/DatePicker.d.ts +8 -8
- package/forms/components/DatePicker.js +1 -1
- package/forms/components/DateRangePicker.d.ts +12 -12
- package/forms/components/DateRangePicker.js +1 -1
- package/forms/components/DateTimePicker.d.ts +8 -8
- package/forms/components/DateTimePicker.js +1 -1
- package/forms/components/DropDownList.d.ts +8 -7
- package/forms/components/DropDownList.js +1 -1
- package/forms/components/FilePicker.d.ts +10 -9
- package/forms/components/FilePicker.js +1 -1
- package/forms/components/Form.d.ts +23 -23
- package/forms/components/Form.js +1 -1
- package/forms/components/FormLabelNumberField.d.ts +17 -17
- package/forms/components/GeometryPicker.d.ts +5 -4
- package/forms/components/GeometryPicker.js +1 -1
- package/forms/components/GeometryPickerListItem.d.ts +23 -23
- package/forms/components/HorizontalRule.d.ts +7 -7
- package/forms/components/Image.d.ts +7 -7
- package/forms/components/ItemPicker.d.ts +15 -17
- package/forms/components/ItemPicker.js +1 -1
- package/forms/components/ListBox.d.ts +8 -8
- package/forms/components/Markdown.d.ts +14 -14
- package/forms/components/Number.d.ts +8 -8
- package/forms/components/Number.js +1 -1
- package/forms/components/NumberRangeSlider.d.ts +12 -12
- package/forms/components/NumberSlider.d.ts +11 -11
- package/forms/components/RadioGroup.d.ts +8 -8
- package/forms/components/Scanner.d.ts +11 -9
- package/forms/components/Scanner.js +1 -1
- package/forms/components/Section.d.ts +14 -14
- package/forms/components/Section.js +1 -1
- package/forms/components/Signature.d.ts +12 -11
- package/forms/components/Signature.js +1 -1
- package/forms/components/SignatureDialog.d.ts +22 -22
- package/forms/components/Text.d.ts +8 -8
- package/forms/components/TextArea.d.ts +7 -7
- package/forms/components/TextBox.d.ts +7 -7
- package/forms/components/TimePicker.d.ts +8 -8
- package/forms/components/TimePicker.js +1 -1
- package/forms/constants.d.ts +81 -81
- package/forms/dateUtilities.d.ts +102 -103
- package/forms/dateUtilities.js +1 -1
- package/forms/elements/AutoComplete.d.ts +13 -13
- package/forms/elements/ButtonBar.d.ts +9 -9
- package/forms/elements/CheckBox.d.ts +7 -7
- package/forms/elements/CheckGroup.d.ts +11 -11
- package/forms/elements/Custom.d.ts +7 -7
- package/forms/elements/DatePicker.d.ts +6 -6
- package/forms/elements/DateRangePicker.d.ts +6 -6
- package/forms/elements/DateTimePicker.d.ts +6 -6
- package/forms/elements/DropDownList.d.ts +6 -6
- package/forms/elements/FilePicker.d.ts +8 -8
- package/forms/elements/GeometryPicker.d.ts +18 -18
- package/forms/elements/Header.d.ts +10 -10
- package/forms/elements/HorizontalRule.d.ts +2 -2
- package/forms/elements/Image.d.ts +2 -2
- package/forms/elements/ItemPicker.d.ts +13 -13
- package/forms/elements/ListBox.d.ts +11 -11
- package/forms/elements/Number.d.ts +11 -11
- package/forms/elements/NumberRangeSlider.d.ts +10 -10
- package/forms/elements/NumberSlider.d.ts +6 -6
- package/forms/elements/PasswordBox.d.ts +5 -5
- package/forms/elements/RadioGroup.d.ts +6 -6
- package/forms/elements/Scanner.d.ts +19 -19
- package/forms/elements/Section.d.ts +2 -2
- package/forms/elements/Signature.d.ts +16 -16
- package/forms/elements/Text.d.ts +2 -2
- package/forms/elements/TextArea.d.ts +7 -7
- package/forms/elements/TextBox.d.ts +5 -5
- package/forms/elements/TimePicker.d.ts +6 -6
- package/forms/elements/types.d.ts +83 -83
- package/forms/index.d.ts +124 -108
- package/forms/keyboard.d.ts +9 -9
- package/forms/listUtilities.d.ts +3 -3
- package/forms/manifest.d.ts +3 -3
- package/forms/manifest.js +1 -1
- package/forms/numberFormatter.d.ts +90 -94
- package/forms/numberFormatter.js +1 -1
- package/forms/numberUtilities.d.ts +150 -150
- package/forms/numberUtilities.js +1 -1
- package/forms/presenter.d.ts +21 -21
- package/forms/presenter.js +1 -1
- package/forms/renderers.d.ts +5 -8
- package/forms/renderers.js +1 -1
- package/forms/textUtilities.d.ts +33 -23
- package/forms/textUtilities.js +1 -1
- package/forms/utils.d.ts +177 -146
- package/forms/utils.js +1 -1
- package/index.d.ts +2 -2
- package/libs/version.d.ts +1 -1
- package/libs/version.js +1 -1
- package/licensing/LicenseChecker.d.ts +1 -1
- package/licensing/Watermark.d.ts +7 -7
- package/package.json +9 -11
- package/activities/app/constants.d.ts +0 -1
- package/activities/app/constants.js +0 -1
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
url
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
static readonly
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines the inputs for the RelationshipQueryTask activity. */
|
|
4
|
+
export interface RelationshipQueryTaskInputs {
|
|
5
|
+
/** The URL to the ArcGIS layer or table to query. Either url or layer is required. */
|
|
6
|
+
url?: string;
|
|
7
|
+
/** The ArcGIS layer or table to query. Either url or layer is required. */
|
|
8
|
+
layer?: __esri.Layer;
|
|
9
|
+
/** Object IDs to query for. */
|
|
10
|
+
objectIds: number | number[];
|
|
11
|
+
/** The ID of the relationship to be queried. The relationships that this layer or table participates in are included in the Layer / Table Resource response. Records in tables / layers corresponding to the related table / layer of the relationship are queried. */
|
|
12
|
+
relationshipId: number;
|
|
13
|
+
outFields?: string | string[];
|
|
14
|
+
/** The spatial reference for the returned geometry. If not specified, the geometry is returned in the spacial reference of the map. */
|
|
15
|
+
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
16
|
+
/** If true, each feature in the FeatureSet includes the geometry. Set to false (default) if you do not plan to include highlighted features on a map since the geometry takes up a significant portion of the response. */
|
|
17
|
+
returnGeometry?: boolean;
|
|
18
|
+
/** The version of the geodatabase on which the query will be performed. This property applies to feature services. Requires ArcGIS Server 10.0+. */
|
|
19
|
+
gdbVersion?: string;
|
|
20
|
+
/** The definition expression to be applied to the related layer or table. From the list of records that are related to the specified objectIds, only those records that conform to this expression will be returned. For example: POP2000 > 100000 */
|
|
21
|
+
definitionExpression?: string;
|
|
22
|
+
/** Specify the number of decimal places for the geometries returned by the query operation. */
|
|
23
|
+
geometryPrecision?: number;
|
|
24
|
+
/** The maximum allowable offset to be used for generalizing geometries returned by the query operation. The offset is in the units of spatialReference. If spatialReference is not defined, the spatial reference of the map is used. Requires ArcGIS Server 10+. */
|
|
25
|
+
maxAllowableOffset?: number;
|
|
26
|
+
}
|
|
27
|
+
/** Defines the outputs for the RelationshipQueryTask activity. */
|
|
28
|
+
export interface RelationshipQueryTaskOutputs {
|
|
29
|
+
/** The relationship query result returned by the query operation. */
|
|
30
|
+
results: Record<string, __esri.FeatureSet>;
|
|
31
|
+
}
|
|
32
|
+
/** Performs an ArcGIS Server relationship query. */
|
|
33
|
+
export declare class RelationshipQueryTask implements IActivityHandler {
|
|
34
|
+
static readonly action = "gcx:wf:arcgis:query:RelationshipQueryTask";
|
|
35
|
+
static readonly suite = "gcx:wf:builtin";
|
|
36
|
+
execute(inputs: RelationshipQueryTaskInputs, context: IActivityContext, mapProvider: typeof MapProvider): Promise<RelationshipQueryTaskOutputs>;
|
|
37
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{executeRelationshipQuery}from"@arcgis/core/rest/query";import RelationshipQuery from"@arcgis/core/rest/support/RelationshipQuery";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let RelationshipQueryTask=class{async execute(e,i,o){
|
|
1
|
+
import{__decorate}from"tslib";import{executeRelationshipQuery}from"@arcgis/core/rest/query";import RelationshipQuery from"@arcgis/core/rest/support/RelationshipQuery";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let RelationshipQueryTask=class{async execute(e,i,o){var r=validation.urlOrLayer(e),e=new RelationshipQuery({where:validation.string("definitionExpression",e.definitionExpression,void 0),geometryPrecision:validation.number("geometryPrecision",e.geometryPrecision,void 0),maxAllowableOffset:validation.number("maxAllowableOffset",e.maxAllowableOffset,void 0),objectIds:validation.array("objectIds",e.objectIds,validation.never),outFields:validation.array("outFields",e.outFields,["*"]),outSpatialReference:o.getOutSR(e.outSpatialReference),relationshipId:validation.number("relationshipId",e.relationshipId,validation.never),returnGeometry:validation.boolean("returnGeometry",e.returnGeometry,!0),gdbVersion:validation.string("gdbVersion",e.gdbVersion,void 0)}),i={signal:i.cancellationToken.signal};return{results:await executeRelationshipQuery(r,e,i)}}};RelationshipQueryTask.action="gcx:wf:arcgis:query:RelationshipQueryTask",RelationshipQueryTask.suite="gcx:wf:builtin",RelationshipQueryTask=__decorate([activate(MapProvider)],RelationshipQueryTask);export{RelationshipQueryTask};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Remove Feature Set Fields activity. */
|
|
3
|
-
export interface RemoveFeatureSetFieldsInputs {
|
|
4
|
-
/** The feature set or collection of graphics to process. */
|
|
5
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
/** The list of fields to remove. */
|
|
7
|
-
fields: string | string[];
|
|
8
|
-
/** Whether to remove fields that do not contain any data. Defaults to false. */
|
|
9
|
-
removeEmptyFields?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/** Defines outputs for the Remove Feature Set Fields activity. */
|
|
12
|
-
export interface RemoveFeatureSetFieldsOutputs {
|
|
13
|
-
/** Indicates the first feature affected or otherwise. */
|
|
14
|
-
feature?: __esri.Graphic;
|
|
15
|
-
/** Indicates all the features affected or otherwise. */
|
|
16
|
-
features?: __esri.Graphic[];
|
|
17
|
-
}
|
|
18
|
-
export declare class RemoveFeatureSetFields implements IActivityHandler {
|
|
19
|
-
static readonly action = "gcx:wf:arcgis::RemoveFeatureSetFields";
|
|
20
|
-
static readonly suite = "gcx:wf:builtin";
|
|
21
|
-
execute(inputs: RemoveFeatureSetFieldsInputs): RemoveFeatureSetFieldsOutputs;
|
|
22
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Remove Feature Set Fields activity. */
|
|
3
|
+
export interface RemoveFeatureSetFieldsInputs {
|
|
4
|
+
/** The feature set or collection of graphics to process. */
|
|
5
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
+
/** The list of fields to remove. */
|
|
7
|
+
fields: string | string[];
|
|
8
|
+
/** Whether to remove fields that do not contain any data. Defaults to false. */
|
|
9
|
+
removeEmptyFields?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/** Defines outputs for the Remove Feature Set Fields activity. */
|
|
12
|
+
export interface RemoveFeatureSetFieldsOutputs {
|
|
13
|
+
/** Indicates the first feature affected or otherwise. */
|
|
14
|
+
feature?: __esri.Graphic;
|
|
15
|
+
/** Indicates all the features affected or otherwise. */
|
|
16
|
+
features?: __esri.Graphic[];
|
|
17
|
+
}
|
|
18
|
+
export declare class RemoveFeatureSetFields implements IActivityHandler {
|
|
19
|
+
static readonly action = "gcx:wf:arcgis::RemoveFeatureSetFields";
|
|
20
|
+
static readonly suite = "gcx:wf:builtin";
|
|
21
|
+
execute(inputs: RemoveFeatureSetFieldsInputs): RemoveFeatureSetFieldsOutputs;
|
|
22
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{validation}from"../../Validation.js";import{getFieldName}from"./shared.js";import{featuresToArray,isFeatureSet}from"./tools.js";function removeAttributes(e,t){const i=e.attributes;for(const s of t)delete i[s];e.attributes=i}class RemoveFeatureSetFields{execute(e){const t=featuresToArray(validation.exists("features",e.features)),i=validation.array("fields",e.fields,[]);var s,r=validation.boolean("removeEmptyFields",e.removeEmptyFields,!1);const o=0<t.length?t[0].attributes:{},a=i.map(e=>{return getFieldName(e,o)||e}),l={};for(const n of t){const o=n.attributes;if(void 0!==o&&null!==o&&(removeAttributes(n,a),r))for(const u in o)u in l||(l[u]=!1),l[u]||null!=(s=o[u])&&""!==s&&(l[u]=!0)}let f=[];if(r&&(f=Object.keys(l).filter(e=>!l[e]&&!a.includes(e)),0<f.length))for(const d of t){const o=d.attributes;void 0!==o&&null!==o&&removeAttributes(d,f)}if(isFeatureSet(e.features)){const c=e.features,m=[...a,...f];
|
|
1
|
+
import{validation}from"../../Validation.js";import{getFieldName}from"./shared.js";import{featuresToArray,isFeatureSet}from"./tools.js";function removeAttributes(e,t){const i=e.attributes;for(const s of t)delete i[s];e.attributes=i}class RemoveFeatureSetFields{execute(e){const t=featuresToArray(validation.exists("features",e.features)),i=validation.array("fields",e.fields,[]);var s,r=validation.boolean("removeEmptyFields",e.removeEmptyFields,!1);const o=0<t.length?t[0].attributes:{},a=i.map(e=>{return getFieldName(e,o)||e}),l={};for(const n of t){const o=n.attributes;if(void 0!==o&&null!==o&&(removeAttributes(n,a),r))for(const u in o)u in l||(l[u]=!1),l[u]||null!=(s=o[u])&&""!==s&&(l[u]=!0)}let f=[];if(r&&(f=Object.keys(l).filter(e=>!l[e]&&!a.includes(e)),0<f.length))for(const d of t){const o=d.attributes;void 0!==o&&null!==o&&removeAttributes(d,f)}if(isFeatureSet(e.features)){const c=e.features,m=[...a,...f];c.fields&&(c.fields=c.fields.filter(e=>!m.includes(e.name)));const v=c;if(v.fieldAliases){const F=v.fieldAliases;for(const b of m)delete F[b];v.fieldAliases=F}}e=t.slice(0);return{feature:e[0],features:e}}}RemoveFeatureSetFields.action="gcx:wf:arcgis::RemoveFeatureSetFields",RemoveFeatureSetFields.suite="gcx:wf:builtin";export{RemoveFeatureSetFields};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the RemoveGraphics activity. */
|
|
4
|
-
export interface RemoveGraphicsInputs {
|
|
5
|
-
/** The ID of the graphics layer to remove features from. */
|
|
6
|
-
layerId?: string | number;
|
|
7
|
-
/** The set of features to be removed from the layer. */
|
|
8
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
9
|
-
}
|
|
10
|
-
export declare class RemoveGraphics implements IActivityHandler {
|
|
11
|
-
static readonly action = "gcx:wf:arcgis::RemoveGraphics";
|
|
12
|
-
static readonly suite = "gcx:wf:builtin";
|
|
13
|
-
execute(inputs: RemoveGraphicsInputs, _context: IActivityContext, type: typeof MapProvider): Promise<EmptyOutputs>;
|
|
14
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the RemoveGraphics activity. */
|
|
4
|
+
export interface RemoveGraphicsInputs {
|
|
5
|
+
/** The ID of the graphics layer to remove features from. */
|
|
6
|
+
layerId?: string | number;
|
|
7
|
+
/** The set of features to be removed from the layer. */
|
|
8
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
9
|
+
}
|
|
10
|
+
export declare class RemoveGraphics implements IActivityHandler {
|
|
11
|
+
static readonly action = "gcx:wf:arcgis::RemoveGraphics";
|
|
12
|
+
static readonly suite = "gcx:wf:builtin";
|
|
13
|
+
execute(inputs: RemoveGraphicsInputs, _context: IActivityContext, type: typeof MapProvider): Promise<EmptyOutputs>;
|
|
14
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";import{featuresToArray}from"./tools.js";let RemoveGraphics=class{async execute(e,a,r){var o=validation.id("layerId",e.layerId,void 0);const i=r.create();e=featuresToArray(validation.exists("features",e.features));if(await i.load(),o){const t=i.findLayer(o);return t&&(await t.load(),t.removeFeatures(e)),{}}i.view.graphics.removeMany(e)}};RemoveGraphics.action="gcx:wf:arcgis::RemoveGraphics",RemoveGraphics.suite="gcx:wf:builtin",RemoveGraphics=__decorate([activate(MapProvider)],RemoveGraphics);export{RemoveGraphics};
|
|
1
|
+
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";import{featuresToArray}from"./tools.js";let RemoveGraphics=class{async execute(e,a,r){var o=validation.id("layerId",e.layerId,void 0);const i=r.create();e=featuresToArray(validation.exists("features",e.features));if(await i.load(),o){const t=i.findLayer(o);return t&&(await t.load(),t.removeFeatures(e)),{}}return i.view.graphics.removeMany(e),{}}};RemoveGraphics.action="gcx:wf:arcgis::RemoveGraphics",RemoveGraphics.suite="gcx:wf:builtin",RemoveGraphics=__decorate([activate(MapProvider)],RemoveGraphics);export{RemoveGraphics};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the RemoveLayer activity. */
|
|
4
|
-
export interface RemoveLayerInputs {
|
|
5
|
-
/** The ID of the layer to be removed from the map. */
|
|
6
|
-
layerId: string | number;
|
|
7
|
-
}
|
|
8
|
-
/** Defines outputs for the RemoveLayer activity. */
|
|
9
|
-
export interface RemoveLayerOutputs {
|
|
10
|
-
success: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class RemoveLayer implements IActivityHandler {
|
|
13
|
-
static readonly action = "gcx:wf:arcgis::RemoveLayer";
|
|
14
|
-
static readonly suite = "gcx:wf:builtin";
|
|
15
|
-
execute(inputs: RemoveLayerInputs, _context: IActivityContext, type: typeof MapProvider): Promise<RemoveLayerOutputs>;
|
|
16
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the RemoveLayer activity. */
|
|
4
|
+
export interface RemoveLayerInputs {
|
|
5
|
+
/** The ID of the layer to be removed from the map. */
|
|
6
|
+
layerId: string | number;
|
|
7
|
+
}
|
|
8
|
+
/** Defines outputs for the RemoveLayer activity. */
|
|
9
|
+
export interface RemoveLayerOutputs {
|
|
10
|
+
success: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare class RemoveLayer implements IActivityHandler {
|
|
13
|
+
static readonly action = "gcx:wf:arcgis::RemoveLayer";
|
|
14
|
+
static readonly suite = "gcx:wf:builtin";
|
|
15
|
+
execute(inputs: RemoveLayerInputs, _context: IActivityContext, type: typeof MapProvider): Promise<RemoveLayerOutputs>;
|
|
16
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Renderer From JSON activity. */
|
|
3
|
-
export interface RendererFromJsonInputs {
|
|
4
|
-
/** The renderer JSON as a string or object. */
|
|
5
|
-
json: string | Object;
|
|
6
|
-
}
|
|
7
|
-
/** Defines outputs for the Renderer From JSON activity. */
|
|
8
|
-
export interface RendererFromJsonOutputs {
|
|
9
|
-
/** The renderer. */
|
|
10
|
-
renderer
|
|
11
|
-
}
|
|
12
|
-
export declare class RendererFromJson implements IActivityHandler {
|
|
13
|
-
static readonly action = "gcx:wf:arcgis::RendererFromJson";
|
|
14
|
-
static readonly suite = "gcx:wf:builtin";
|
|
15
|
-
execute(inputs: RendererFromJsonInputs, context: IActivityContext): RendererFromJsonOutputs;
|
|
16
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Renderer From JSON activity. */
|
|
3
|
+
export interface RendererFromJsonInputs {
|
|
4
|
+
/** The renderer JSON as a string or object. */
|
|
5
|
+
json: string | Object;
|
|
6
|
+
}
|
|
7
|
+
/** Defines outputs for the Renderer From JSON activity. */
|
|
8
|
+
export interface RendererFromJsonOutputs {
|
|
9
|
+
/** The renderer. */
|
|
10
|
+
renderer?: __esri.Renderer;
|
|
11
|
+
}
|
|
12
|
+
export declare class RendererFromJson implements IActivityHandler {
|
|
13
|
+
static readonly action = "gcx:wf:arcgis::RendererFromJson";
|
|
14
|
+
static readonly suite = "gcx:wf:builtin";
|
|
15
|
+
execute(inputs: RendererFromJsonInputs, context: IActivityContext): RendererFromJsonOutputs;
|
|
16
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs to the Reshape task. This task requires a geometry service. */
|
|
3
|
-
export interface ReshapeServiceTaskInputs {
|
|
4
|
-
/** The URL of the ArcGIS geometry service. */
|
|
5
|
-
url: string;
|
|
6
|
-
/** The polyline or polygon to be reshaped. */
|
|
7
|
-
geometry: __esri.Polyline | __esri.Polygon;
|
|
8
|
-
/** The single-part polyline that performs the reshaping. */
|
|
9
|
-
reshaper: __esri.Polyline;
|
|
10
|
-
}
|
|
11
|
-
/** Defines outputs for the Reshape task. */
|
|
12
|
-
export interface ReshapeServiceTaskOutputs {
|
|
13
|
-
/** The reshaped geometry. */
|
|
14
|
-
geometry: __esri.Geometry;
|
|
15
|
-
}
|
|
16
|
-
export declare class ReshapeServiceTask implements IActivityHandler {
|
|
17
|
-
static readonly action = "gcx:wf:arcgis::ReshapeServiceTask";
|
|
18
|
-
static readonly suite = "gcx:wf:builtin";
|
|
19
|
-
execute(inputs: ReshapeServiceTaskInputs, context: IActivityContext): Promise<ReshapeServiceTaskOutputs>;
|
|
20
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs to the Reshape task. This task requires a geometry service. */
|
|
3
|
+
export interface ReshapeServiceTaskInputs {
|
|
4
|
+
/** The URL of the ArcGIS geometry service. */
|
|
5
|
+
url: string;
|
|
6
|
+
/** The polyline or polygon to be reshaped. */
|
|
7
|
+
geometry: __esri.Polyline | __esri.Polygon;
|
|
8
|
+
/** The single-part polyline that performs the reshaping. */
|
|
9
|
+
reshaper: __esri.Polyline;
|
|
10
|
+
}
|
|
11
|
+
/** Defines outputs for the Reshape task. */
|
|
12
|
+
export interface ReshapeServiceTaskOutputs {
|
|
13
|
+
/** The reshaped geometry. */
|
|
14
|
+
geometry: __esri.Geometry;
|
|
15
|
+
}
|
|
16
|
+
export declare class ReshapeServiceTask implements IActivityHandler {
|
|
17
|
+
static readonly action = "gcx:wf:arcgis::ReshapeServiceTask";
|
|
18
|
+
static readonly suite = "gcx:wf:builtin";
|
|
19
|
+
execute(inputs: ReshapeServiceTaskInputs, context: IActivityContext): Promise<ReshapeServiceTaskOutputs>;
|
|
20
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the ReverseGeocode activity. */
|
|
4
|
-
export interface ReverseGeocodeInputs {
|
|
5
|
-
/** The URL of the geocoding service. */
|
|
6
|
-
url: string;
|
|
7
|
-
/** The point at which to search for the closest address. The location parameter can be represented by a Point object or as a comma-separated list. The spatial reference can be specified if a Point is used; otherwise the spatial reference is assumed to be the same as that of the geocoding service. If comma-separated values are used, they must be in the following format: <XCoordinate>,<YCoordinate>. */
|
|
8
|
-
location: number[] | __esri.Point;
|
|
9
|
-
/** Specifies the radius of an area around a point location that should be searched. The distance value is in meters. If the distance parameter is not specified or invalid, a default value of 0 meters is used. */
|
|
10
|
-
distance?: number;
|
|
11
|
-
/** The well-known ID (WKID) of the spatial reference or a Spatial Reference object for the returned address candidates. For a list of valid WKID values, see http://resources.arcgis.com/EN/HELP/REST/APIREF/PCS.HTML and http://resources.arcgis.com/EN/HELP/REST/APIREF/GCS.HTML. */
|
|
12
|
-
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
13
|
-
/** The language code. Note: Only supported by geocode services published using StreetMap Premium locators. Added at 10.3 and only supported by geocode services published with ArcGIS 10.3 for Server and later versions. */
|
|
14
|
-
languageCode?: string;
|
|
15
|
-
/** Determines whether the geocode service should return the nearest street intersection or the nearest address to the given point. If true, then the closest intersection to the input location is returned; if false, then the closest address to the input location is returned. The default value is false. Note: This parameter is only valid for geocode services that support intersections. A geocode service that supports intersections will include the IntersectionConnectors property in the service description. This parameter was added at 10.3. */
|
|
16
|
-
returnIntersection?: boolean;
|
|
17
|
-
/** The time span in milliseconds to wait for the request's results. */
|
|
18
|
-
timeout?: number;
|
|
19
|
-
/** This activity errors and causes the workflow to quit if it's provided with coordinates that don't match an address. Setting this parameter to true will continue the workflow on error. */
|
|
20
|
-
continueOnError?: boolean;
|
|
21
|
-
}
|
|
22
|
-
/** Defines outputs for the ReverseGeocode activity. */
|
|
23
|
-
export interface ReverseGeocodeOutputs {
|
|
24
|
-
address
|
|
25
|
-
location
|
|
26
|
-
}
|
|
27
|
-
export declare class ReverseGeocode implements IActivityHandler {
|
|
28
|
-
static readonly action = "gcx:wf:arcgis::ReverseGeocode";
|
|
29
|
-
static readonly suite = "gcx:wf:builtin";
|
|
30
|
-
execute(inputs: ReverseGeocodeInputs, context: IActivityContext, type: typeof MapProvider): Promise<ReverseGeocodeOutputs>;
|
|
31
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the ReverseGeocode activity. */
|
|
4
|
+
export interface ReverseGeocodeInputs {
|
|
5
|
+
/** The URL of the geocoding service. */
|
|
6
|
+
url: string;
|
|
7
|
+
/** The point at which to search for the closest address. The location parameter can be represented by a Point object or as a comma-separated list. The spatial reference can be specified if a Point is used; otherwise the spatial reference is assumed to be the same as that of the geocoding service. If comma-separated values are used, they must be in the following format: <XCoordinate>,<YCoordinate>. */
|
|
8
|
+
location: number[] | __esri.Point;
|
|
9
|
+
/** Specifies the radius of an area around a point location that should be searched. The distance value is in meters. If the distance parameter is not specified or invalid, a default value of 0 meters is used. */
|
|
10
|
+
distance?: number;
|
|
11
|
+
/** The well-known ID (WKID) of the spatial reference or a Spatial Reference object for the returned address candidates. For a list of valid WKID values, see http://resources.arcgis.com/EN/HELP/REST/APIREF/PCS.HTML and http://resources.arcgis.com/EN/HELP/REST/APIREF/GCS.HTML. */
|
|
12
|
+
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
13
|
+
/** The language code. Note: Only supported by geocode services published using StreetMap Premium locators. Added at 10.3 and only supported by geocode services published with ArcGIS 10.3 for Server and later versions. */
|
|
14
|
+
languageCode?: string;
|
|
15
|
+
/** Determines whether the geocode service should return the nearest street intersection or the nearest address to the given point. If true, then the closest intersection to the input location is returned; if false, then the closest address to the input location is returned. The default value is false. Note: This parameter is only valid for geocode services that support intersections. A geocode service that supports intersections will include the IntersectionConnectors property in the service description. This parameter was added at 10.3. */
|
|
16
|
+
returnIntersection?: boolean;
|
|
17
|
+
/** The time span in milliseconds to wait for the request's results. */
|
|
18
|
+
timeout?: number;
|
|
19
|
+
/** This activity errors and causes the workflow to quit if it's provided with coordinates that don't match an address. Setting this parameter to true will continue the workflow on error. */
|
|
20
|
+
continueOnError?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/** Defines outputs for the ReverseGeocode activity. */
|
|
23
|
+
export interface ReverseGeocodeOutputs {
|
|
24
|
+
address?: {};
|
|
25
|
+
location?: __esri.Point;
|
|
26
|
+
}
|
|
27
|
+
export declare class ReverseGeocode implements IActivityHandler {
|
|
28
|
+
static readonly action = "gcx:wf:arcgis::ReverseGeocode";
|
|
29
|
+
static readonly suite = "gcx:wf:builtin";
|
|
30
|
+
execute(inputs: ReverseGeocodeInputs, context: IActivityContext, type: typeof MapProvider): Promise<ReverseGeocodeOutputs>;
|
|
31
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";import{addToPath,get,schedulePromiseCancellation}from"./tools.js";let ReverseGeocode=class{async execute(o,e,t){var a=validation.string("url",o.url,validation.never),a=addToPath(a,"reverseGeocode");const i=validation.exists("location",o.location);var r=validation.number("distance",o.distance,void 0),n=validation.string("languageCode",o.languageCode,void 0),
|
|
1
|
+
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";import{addToPath,get,schedulePromiseCancellation}from"./tools.js";let ReverseGeocode=class{async execute(o,e,t){var a=validation.string("url",o.url,validation.never),a=addToPath(a,"reverseGeocode");const i=validation.exists("location",o.location);var r=validation.number("distance",o.distance,void 0),n=validation.string("languageCode",o.languageCode,void 0),d=validation.boolean("returnIntersection",o.returnIntersection,!1),c=validation.number("timeout",o.timeout,void 0),d={location:i instanceof Array?i.toString():i,distance:r,outSR:t.getOutSR(o.outSpatialReference),langCode:n,returnIntersection:d},c=get(a,d,c,e.cancellationToken.signal);schedulePromiseCancellation(e,c);try{var s=await c;return{address:s.address,location:s.location}}catch(e){if(o.continueOnError)return{address:void 0,location:void 0};throw e}}};ReverseGeocode.action="gcx:wf:arcgis::ReverseGeocode",ReverseGeocode.suite="gcx:wf:builtin",ReverseGeocode=__decorate([activate(MapProvider)],ReverseGeocode);export{ReverseGeocode};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs to the Rotate activity. This activity relies on the geometry engine. */
|
|
3
|
-
export interface RotateEngineTaskInputs {
|
|
4
|
-
/** The geometry to rotate. */
|
|
5
|
-
geometry: __esri.Geometry;
|
|
6
|
-
/** The rotation angle in degrees. */
|
|
7
|
-
angle: number;
|
|
8
|
-
/** Point to rotate the geometry around. Defaults to the centroid of the geometry. */
|
|
9
|
-
origin?: __esri.Point;
|
|
10
|
-
}
|
|
11
|
-
/** Defines outputs to the Rotate activity. */
|
|
12
|
-
export interface RotateEngineTaskOutputs {
|
|
13
|
-
/** The rotated geometry. */
|
|
14
|
-
geometry: __esri.Geometry;
|
|
15
|
-
}
|
|
16
|
-
export declare class RotateEngineTask implements IActivityHandler {
|
|
17
|
-
static readonly action = "gcx:wf:arcgis::RotateEngineTask";
|
|
18
|
-
static readonly suite = "gcx:wf:builtin";
|
|
19
|
-
execute(inputs: RotateEngineTaskInputs): Promise<RotateEngineTaskOutputs>;
|
|
20
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs to the Rotate activity. This activity relies on the geometry engine. */
|
|
3
|
+
export interface RotateEngineTaskInputs {
|
|
4
|
+
/** The geometry to rotate. */
|
|
5
|
+
geometry: __esri.Geometry;
|
|
6
|
+
/** The rotation angle in degrees. */
|
|
7
|
+
angle: number;
|
|
8
|
+
/** Point to rotate the geometry around. Defaults to the centroid of the geometry. */
|
|
9
|
+
origin?: __esri.Point;
|
|
10
|
+
}
|
|
11
|
+
/** Defines outputs to the Rotate activity. */
|
|
12
|
+
export interface RotateEngineTaskOutputs {
|
|
13
|
+
/** The rotated geometry. */
|
|
14
|
+
geometry: __esri.Geometry;
|
|
15
|
+
}
|
|
16
|
+
export declare class RotateEngineTask implements IActivityHandler {
|
|
17
|
+
static readonly action = "gcx:wf:arcgis::RotateEngineTask";
|
|
18
|
+
static readonly suite = "gcx:wf:builtin";
|
|
19
|
+
execute(inputs: RotateEngineTaskInputs): Promise<RotateEngineTaskOutputs>;
|
|
20
|
+
}
|