@vertigis/workflow 5.36.0 → 5.37.1
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,16 +1,16 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Geometry From JSON activity. */
|
|
3
|
-
export interface GeometryFromJsonInputs {
|
|
4
|
-
/** The geometry JSON as a string or object. */
|
|
5
|
-
json: string | Object;
|
|
6
|
-
}
|
|
7
|
-
/** Defines outputs for the Geometry From JSON activity. */
|
|
8
|
-
export interface GeometryFromJsonOutputs {
|
|
9
|
-
/** The geometry. */
|
|
10
|
-
geometry
|
|
11
|
-
}
|
|
12
|
-
export declare class GeometryFromJson implements IActivityHandler {
|
|
13
|
-
static readonly action = "gcx:wf:arcgis::GeometryFromJson";
|
|
14
|
-
static readonly suite = "gcx:wf:builtin";
|
|
15
|
-
execute(inputs: GeometryFromJsonInputs, context: IActivityContext): GeometryFromJsonOutputs;
|
|
16
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Geometry From JSON activity. */
|
|
3
|
+
export interface GeometryFromJsonInputs {
|
|
4
|
+
/** The geometry JSON as a string or object. */
|
|
5
|
+
json: string | Object;
|
|
6
|
+
}
|
|
7
|
+
/** Defines outputs for the Geometry From JSON activity. */
|
|
8
|
+
export interface GeometryFromJsonOutputs {
|
|
9
|
+
/** The geometry. */
|
|
10
|
+
geometry?: __esri.Geometry;
|
|
11
|
+
}
|
|
12
|
+
export declare class GeometryFromJson implements IActivityHandler {
|
|
13
|
+
static readonly action = "gcx:wf:arcgis::GeometryFromJson";
|
|
14
|
+
static readonly suite = "gcx:wf:builtin";
|
|
15
|
+
execute(inputs: GeometryFromJsonInputs, context: IActivityContext): GeometryFromJsonOutputs;
|
|
16
|
+
}
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
static readonly
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs to the Synchronous Geoprocessor task. This task is suitable for geoprocessing services with a synchronous execution type. */
|
|
4
|
+
export interface GeoprocessingInputs {
|
|
5
|
+
/** The URL of the ArcGIS Server Geoprocessing service task. */
|
|
6
|
+
url: string;
|
|
7
|
+
/** The input arguments accepted by the task. */
|
|
8
|
+
arguments: Record<string, any>;
|
|
9
|
+
/** The spatial reference of the output geometries. If this is not specified, the output geometries are in the spatial reference of the input geometries. If processSpatialReference is specified and outputSpatialReference is not specified, the output geometries' spatial reference is processSpatialReference. */
|
|
10
|
+
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
11
|
+
/** The spatial reference that the model uses to perform geometry operations. If processSpatialReference is specified while outputSpatialReference is not, the output geometries' spatial reference is processSpatialReference. */
|
|
12
|
+
processSpatialReference?: number | string | __esri.SpatialReference;
|
|
13
|
+
}
|
|
14
|
+
/** Defines outputs to the Geoprocessor activity. */
|
|
15
|
+
export interface GeoprocessingOutputs {
|
|
16
|
+
/** The messages from the geoprocessing job. */
|
|
17
|
+
messages: __esri.GPMessage[];
|
|
18
|
+
/** The results of the geoprocessing job. */
|
|
19
|
+
results: Record<string, any>;
|
|
20
|
+
}
|
|
21
|
+
export declare class Geoprocessing implements IActivityHandler {
|
|
22
|
+
static readonly action = "gcx:wf:arcgis::Geoprocessing";
|
|
23
|
+
static readonly suite = "gcx:wf:builtin";
|
|
24
|
+
execute(inputs: GeoprocessingInputs, context: IActivityContext, mapProvider: typeof MapProvider): Promise<GeoprocessingOutputs>;
|
|
25
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import esriRequest from"@arcgis/core/request";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){const t=validation.string("url",e.url,validation.never);var a=s.getOutSR(e.outSpatialReference),s=s.getOutSR(e.processSpatialReference),e=validation.exists("arguments",e.arguments,{}),s={outSpatialReference:a,processSpatialReference:s},r={signal:r.cancellationToken.signal},o=await executeTask(t,e,s,r),i=await(async()=>{var e=t.indexOf("?");let r=t,s="";-1!==e&&(r=t.substring(0,e),s=t.substring(e)),s=s?`${s}&f=json`:"?f=json";e=`${r}${s}`;const a=(await esriRequest(e))?.data?.parameters;
|
|
1
|
+
import{__decorate}from"tslib";import esriRequest from"@arcgis/core/request";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){const t=validation.string("url",e.url,validation.never);var a=s.getOutSR(e.outSpatialReference),s=s.getOutSR(e.processSpatialReference),e=validation.exists("arguments",e.arguments,{}),s={outSpatialReference:a,processSpatialReference:s},r={signal:r.cancellationToken.signal},o=await executeTask(t,e,s,r),i=await(async()=>{var e=t.indexOf("?");let r=t,s="";-1!==e&&(r=t.substring(0,e),s=t.substring(e)),s=s?`${s}&f=json`:"?f=json";e=`${r}${s}`;const a=(await esriRequest(e))?.data?.parameters;return void 0!==a&&Array.isArray(a)?a.map(e=>e.name):[]})();const n={};for(let e=0;e<o.results.length;e++){var c=o.results[e],l=i[e];n[l]=c.value}return{messages:Array.isArray(o)?[]:o.messages,results:n}}};Geoprocessing.action="gcx:wf:arcgis::Geoprocessing",Geoprocessing.suite="gcx:wf:builtin",Geoprocessing=__decorate([activate(MapProvider)],Geoprocessing);export{Geoprocessing};
|
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
static readonly
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*
|
|
32
|
-
* @param
|
|
33
|
-
* @param
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs to the Asynchronous Geoprocessor task. This task is suitable for geoprocessing services with an asynchronous execution type. */
|
|
4
|
+
export interface GeoprocessingAsyncInputs {
|
|
5
|
+
/** The URL of the ArcGIS Server Geoprocessing service task. */
|
|
6
|
+
url: string;
|
|
7
|
+
/** The input arguments accepted by the task. */
|
|
8
|
+
arguments: Record<string, any>;
|
|
9
|
+
/** The spatial reference of the output geometries. If this is not specified, the output geometries are in the spatial reference of the input geometries. If processSpatialReference is specified and outputSpatialReference is not specified, the output geometries' spatial reference is processSpatialReference. */
|
|
10
|
+
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
11
|
+
/** The spatial reference that the model uses to perform geometry operations. If processSpatialReference is specified while outputSpatialReference is not, the output geometries' spatial reference is processSpatialReference. */
|
|
12
|
+
processSpatialReference?: number | string | __esri.SpatialReference;
|
|
13
|
+
}
|
|
14
|
+
/** Defines outputs to the Asynchronous Geoprocessor task. */
|
|
15
|
+
export interface GeoprocessingAsyncOutputs {
|
|
16
|
+
/** The ID of the geoprocessing job. */
|
|
17
|
+
id?: string;
|
|
18
|
+
/** The status of the geoprocessing job.. */
|
|
19
|
+
status?: string;
|
|
20
|
+
/** The messages from the geoprocessing job. */
|
|
21
|
+
messages?: __esri.GPMessage[];
|
|
22
|
+
/** The results of the geoprocessing job. */
|
|
23
|
+
results?: Record<string, any>;
|
|
24
|
+
}
|
|
25
|
+
export declare class GeoprocessingAsync implements IActivityHandler {
|
|
26
|
+
static readonly action = "gcx:wf:arcgis::GeoprocessingAsync";
|
|
27
|
+
static readonly suite = "gcx:wf:builtin";
|
|
28
|
+
execute(inputs: GeoprocessingAsyncInputs, context: IActivityContext, mapProvider: typeof MapProvider): Promise<GeoprocessingAsyncOutputs>;
|
|
29
|
+
/**
|
|
30
|
+
* Looks up the names of the results related to the job from the Services Directory.
|
|
31
|
+
* @param taskUrl The url for the task.
|
|
32
|
+
* @param jobInfo Details of the current geoprocessing job.
|
|
33
|
+
* @param requestOptions Options to be included in the request, such as an `AbortSignal`.
|
|
34
|
+
*/
|
|
35
|
+
getResultNames(jobInfo: __esri.JobInfo, requestOptions?: any): Promise<string[]>;
|
|
36
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import esriRequest from"@arcgis/core/request";import{submitJob}from"@arcgis/core/rest/geoprocessor";import Bluebird from"bluebird";import{activate}from"../../Hooks.js";import{Task}from"../../Task.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";import{schedulePromiseCancellation,isAbortable}from"./tools.js";function hasJobSucceeded(e){return"job-succeeded"===e}let GeoprocessingAsync=class{async execute(s,
|
|
1
|
+
import{__decorate}from"tslib";import esriRequest from"@arcgis/core/request";import{submitJob}from"@arcgis/core/rest/geoprocessor";import Bluebird from"bluebird";import{activate}from"../../Hooks.js";import{Task}from"../../Task.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";import{schedulePromiseCancellation,isAbortable}from"./tools.js";function hasJobSucceeded(e){return"job-succeeded"===e}let GeoprocessingAsync=class{async execute(s,t,e){var o=validation.string("url",s.url,validation.never),a=e.getOutSR(s.outSpatialReference),i=e.getOutSR(s.processSpatialReference),e=validation.exists("arguments",s.arguments,{}),s=isAbortable(t.cancellationToken)?{signal:t.cancellationToken.signal}:void 0,i={outSpatialReference:a,processSpatialReference:i};let r=await submitJob(o,e,i,s);i=r.waitForJobCompletion();schedulePromiseCancellation(t,i),r=await i;let n;if(hasJobSucceeded(r.jobStatus)){n={};let e=await this.getResultNames(r,s);s=e.map(async e=>{var s=await r.fetchResultData(e);n[e]=s.value});const c=Bluebird.all(s);Task.race([c,t.cancellationToken]).finally(function(){c.isPending()&&r.cancelJob(r.jobId)}),await c}return{id:r.jobId,status:r.jobStatus,results:n,messages:r.messages}}async getResultNames(e,s){const t=e.sourceUrl;var o=t.indexOf("?");let a=t,i="";-1!==o&&(a=t.substring(0,o),i=t.substring(o)),i=i?`${i}&f=json`:"?f=json";e=`${a}/jobs/${e.jobId}${i}`,s=(await esriRequest(e,s))?.data?.results;return s?Object.keys(s):[]}};GeoprocessingAsync.action="gcx:wf:arcgis::GeoprocessingAsync",GeoprocessingAsync.suite="gcx:wf:builtin",GeoprocessingAsync=__decorate([activate(MapProvider)],GeoprocessingAsync);export{GeoprocessingAsync};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Get Attribute Value activity. */
|
|
3
|
-
export interface GetAttributeValueInputs {
|
|
4
|
-
/** The feature set or collection of graphics to search for the attribute. */
|
|
5
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
/** The name of the attribute to get. */
|
|
7
|
-
attribute: string;
|
|
8
|
-
/** The zero-based index of the feature to get the attribute from. If not specified, the first feature will be used. */
|
|
9
|
-
index?: number;
|
|
10
|
-
}
|
|
11
|
-
/** Defines outputs for the Get Attribute Value activity. */
|
|
12
|
-
export interface GetAttributeValueOutputs {
|
|
13
|
-
/** Indicates the feature containing the first assigned attribute. */
|
|
14
|
-
feature?: __esri.Graphic;
|
|
15
|
-
/** Indicates the value of the specified attribute for the first feature. */
|
|
16
|
-
value?: any;
|
|
17
|
-
}
|
|
18
|
-
export declare class GetAttributeValue implements IActivityHandler {
|
|
19
|
-
static readonly action = "gcx:wf:arcgis::GetAttributeValue";
|
|
20
|
-
static readonly suite = "gcx:wf:builtin";
|
|
21
|
-
execute(inputs: GetAttributeValueInputs, context: IActivityContext): GetAttributeValueOutputs;
|
|
22
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Get Attribute Value activity. */
|
|
3
|
+
export interface GetAttributeValueInputs {
|
|
4
|
+
/** The feature set or collection of graphics to search for the attribute. */
|
|
5
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
+
/** The name of the attribute to get. */
|
|
7
|
+
attribute: string;
|
|
8
|
+
/** The zero-based index of the feature to get the attribute from. If not specified, the first feature will be used. */
|
|
9
|
+
index?: number;
|
|
10
|
+
}
|
|
11
|
+
/** Defines outputs for the Get Attribute Value activity. */
|
|
12
|
+
export interface GetAttributeValueOutputs {
|
|
13
|
+
/** Indicates the feature containing the first assigned attribute. */
|
|
14
|
+
feature?: __esri.Graphic;
|
|
15
|
+
/** Indicates the value of the specified attribute for the first feature. */
|
|
16
|
+
value?: any;
|
|
17
|
+
}
|
|
18
|
+
export declare class GetAttributeValue implements IActivityHandler {
|
|
19
|
+
static readonly action = "gcx:wf:arcgis::GetAttributeValue";
|
|
20
|
+
static readonly suite = "gcx:wf:builtin";
|
|
21
|
+
execute(inputs: GetAttributeValueInputs, context: IActivityContext): GetAttributeValueOutputs;
|
|
22
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Get Attributes Value activity. */
|
|
3
|
-
export interface GetAttributeValuesInputs {
|
|
4
|
-
/** The feature set or collection of graphics to search for the attribute. */
|
|
5
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
/** The name of the attribute to get. */
|
|
7
|
-
attribute: string;
|
|
8
|
-
}
|
|
9
|
-
/** Defines outputs for the Get Attribute Values activity. */
|
|
10
|
-
export interface GetAttributeValuesOutputs {
|
|
11
|
-
/** Indicates the value for the first feature. */
|
|
12
|
-
value?: any;
|
|
13
|
-
/** Indicates all the values for the features having the attribute assigned. */
|
|
14
|
-
values?: any[];
|
|
15
|
-
}
|
|
16
|
-
export declare class GetAttributeValues implements IActivityHandler {
|
|
17
|
-
static readonly action = "gcx:wf:arcgis::GetAttributeValues";
|
|
18
|
-
static readonly suite = "gcx:wf:builtin";
|
|
19
|
-
execute(inputs: GetAttributeValuesInputs): GetAttributeValuesOutputs;
|
|
20
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Get Attributes Value activity. */
|
|
3
|
+
export interface GetAttributeValuesInputs {
|
|
4
|
+
/** The feature set or collection of graphics to search for the attribute. */
|
|
5
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
+
/** The name of the attribute to get. */
|
|
7
|
+
attribute: string;
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs for the Get Attribute Values activity. */
|
|
10
|
+
export interface GetAttributeValuesOutputs {
|
|
11
|
+
/** Indicates the value for the first feature. */
|
|
12
|
+
value?: any;
|
|
13
|
+
/** Indicates all the values for the features having the attribute assigned. */
|
|
14
|
+
values?: any[];
|
|
15
|
+
}
|
|
16
|
+
export declare class GetAttributeValues implements IActivityHandler {
|
|
17
|
+
static readonly action = "gcx:wf:arcgis::GetAttributeValues";
|
|
18
|
+
static readonly suite = "gcx:wf:builtin";
|
|
19
|
+
execute(inputs: GetAttributeValuesInputs): GetAttributeValuesOutputs;
|
|
20
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Get Centroid activity. */
|
|
3
|
-
export interface GetCentroidInputs {
|
|
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. */
|
|
5
|
-
geometry: __esri.Geometry | __esri.Geometry[];
|
|
6
|
-
}
|
|
7
|
-
/** Defines outputs for the Get Centroid activity. */
|
|
8
|
-
export interface GetCentroidOutputs {
|
|
9
|
-
/** The centroid of the input geometry. */
|
|
10
|
-
centroid
|
|
11
|
-
}
|
|
12
|
-
export declare class GetCentroid implements IActivityHandler {
|
|
13
|
-
static readonly action = "gcx:wf:arcgis::GetCentroid";
|
|
14
|
-
static readonly suite = "gcx:wf:builtin";
|
|
15
|
-
execute(inputs: GetCentroidInputs, context: IActivityContext): GetCentroidOutputs;
|
|
16
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Get Centroid activity. */
|
|
3
|
+
export interface GetCentroidInputs {
|
|
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. */
|
|
5
|
+
geometry: __esri.Geometry | __esri.Geometry[];
|
|
6
|
+
}
|
|
7
|
+
/** Defines outputs for the Get Centroid activity. */
|
|
8
|
+
export interface GetCentroidOutputs {
|
|
9
|
+
/** The centroid of the input geometry. */
|
|
10
|
+
centroid?: __esri.Point;
|
|
11
|
+
}
|
|
12
|
+
export declare class GetCentroid implements IActivityHandler {
|
|
13
|
+
static readonly action = "gcx:wf:arcgis::GetCentroid";
|
|
14
|
+
static readonly suite = "gcx:wf:builtin";
|
|
15
|
+
execute(inputs: GetCentroidInputs, context: IActivityContext): GetCentroidOutputs;
|
|
16
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { FeatureLayerInfo } from "./libs/arcGisRestApi";
|
|
3
|
-
/** Defines inputs for the GetCodedValueDomain activity. */
|
|
4
|
-
export interface GetCodedValueDomainInputs {
|
|
5
|
-
/** The FeatureLayer or table that contains the fields. */
|
|
6
|
-
layer?: __esri.FeatureLayer;
|
|
7
|
-
/** The FeatureLayerInfo object containing the layer or table's fields. */
|
|
8
|
-
layerInfo?: FeatureLayerInfo;
|
|
9
|
-
/** The id or name of the feature type whose domain is of interest. */
|
|
10
|
-
type?: string | number;
|
|
11
|
-
/** The name of the field whose domain is of interest. */
|
|
12
|
-
field?: string;
|
|
13
|
-
url?: string;
|
|
14
|
-
/** The layer definition used to describe a dynamic layer. */
|
|
15
|
-
dynamicLayerDefinition?: any;
|
|
16
|
-
/** The layer source used with a dynamic layer. */
|
|
17
|
-
source?: any;
|
|
18
|
-
/** Indicates the timeout for the request. */
|
|
19
|
-
timeout?: number;
|
|
20
|
-
}
|
|
21
|
-
/** Defines outputs for the GetCodedValueDomain activity. */
|
|
22
|
-
export interface GetCodedValueDomainOutputs {
|
|
23
|
-
domain: __esri.CodedValueDomain;
|
|
24
|
-
}
|
|
25
|
-
export declare class GetCodedValueDomain implements IActivityHandler {
|
|
26
|
-
static readonly action = "gcx:wf:arcgis::GetCodedValueDomain";
|
|
27
|
-
static readonly suite = "gcx:wf:builtin";
|
|
28
|
-
execute(inputs: GetCodedValueDomainInputs, context: IActivityContext): Promise<GetCodedValueDomainOutputs>;
|
|
29
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { FeatureLayerInfo } from "./libs/arcGisRestApi";
|
|
3
|
+
/** Defines inputs for the GetCodedValueDomain activity. */
|
|
4
|
+
export interface GetCodedValueDomainInputs {
|
|
5
|
+
/** The FeatureLayer or table that contains the fields. */
|
|
6
|
+
layer?: __esri.FeatureLayer;
|
|
7
|
+
/** The FeatureLayerInfo object containing the layer or table's fields. */
|
|
8
|
+
layerInfo?: FeatureLayerInfo;
|
|
9
|
+
/** The id or name of the feature type whose domain is of interest. */
|
|
10
|
+
type?: string | number;
|
|
11
|
+
/** The name of the field whose domain is of interest. */
|
|
12
|
+
field?: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
/** The layer definition used to describe a dynamic layer. */
|
|
15
|
+
dynamicLayerDefinition?: any;
|
|
16
|
+
/** The layer source used with a dynamic layer. */
|
|
17
|
+
source?: any;
|
|
18
|
+
/** Indicates the timeout for the request. */
|
|
19
|
+
timeout?: number;
|
|
20
|
+
}
|
|
21
|
+
/** Defines outputs for the GetCodedValueDomain activity. */
|
|
22
|
+
export interface GetCodedValueDomainOutputs {
|
|
23
|
+
domain: __esri.CodedValueDomain;
|
|
24
|
+
}
|
|
25
|
+
export declare class GetCodedValueDomain implements IActivityHandler {
|
|
26
|
+
static readonly action = "gcx:wf:arcgis::GetCodedValueDomain";
|
|
27
|
+
static readonly suite = "gcx:wf:builtin";
|
|
28
|
+
execute(inputs: GetCodedValueDomainInputs, context: IActivityContext): Promise<GetCodedValueDomainOutputs>;
|
|
29
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import FeatureType from"@arcgis/core/layers/support/FeatureType";import Field from"@arcgis/core/layers/support/Field";import{validation}from"../../Validation.js";import{equalsIgnoreCase}from"./shared.js";import{get,schedulePromiseCancellation}from"./tools.js";class GetCodedValueDomain{async execute(e,o){var i=
|
|
1
|
+
import FeatureType from"@arcgis/core/layers/support/FeatureType";import Field from"@arcgis/core/layers/support/Field";import{validation}from"../../Validation.js";import{equalsIgnoreCase}from"./shared.js";import{get,schedulePromiseCancellation}from"./tools.js";class GetCodedValueDomain{async execute(e,o){var i=e.layer;let a=e.layerInfo;const r=validation.id("type",e.type,void 0),n=validation.string("field",e.field,validation.never);var t=validation.string("url",e.url,void 0);const l=validation.number("timeout",e.timeout,void 0);if(t){const d={};e.dynamicLayerDefinition?d.layer=e.dynamicLayerDefinition:e.source&&(d.layer={source:e.source}),a=await async function(e,i){i=get(e,i,l,o.cancellationToken.signal),schedulePromiseCancellation(o,i);const a=await i;return a.fields&&(a.fields=a.fields.map(e=>Field.fromJSON(e))),a.types&&(a.types=a.types.map(e=>FeatureType.fromJSON(e))),a}(t,d)}else a=a||i;function s(e){e=e.fields;if(e instanceof Array)for(const a of e)if(equalsIgnoreCase(a.name,n)){var i=a.domain;if(null!=i)if(i.codedValues instanceof Array)return{domain:i}}return{}}return void 0!==a&&null!==a?(void 0!==r?function(e){var i=e.types;if(i instanceof Array)for(const o of i)if(o.id===r||o.name===r){var a=o.domains;if(null!=a){a=a[n];if(null!=a){if(a.codedValues instanceof Array)return{domain:a};if("inherited"===a.type)return s(e)}}return{}}return{}}:s)(a):{}}}GetCodedValueDomain.action="gcx:wf:arcgis::GetCodedValueDomain",GetCodedValueDomain.suite="gcx:wf:builtin";export{GetCodedValueDomain};
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetCurrentPosition activity. */
|
|
3
|
-
export interface GetCurrentPositionInputs {
|
|
4
|
-
/** Whether to request the best possible location data */
|
|
5
|
-
enableHighAccuracy?: boolean;
|
|
6
|
-
/** The maximum age of a cached position that will be accepted. */
|
|
7
|
-
maximumAge?: number;
|
|
8
|
-
/** The amount of time to wait for a location. */
|
|
9
|
-
timeout?: number;
|
|
10
|
-
/** Whether to use multiple readings to improve the accuracy of the geolocation result. */
|
|
11
|
-
useMultipleReadings?: boolean;
|
|
12
|
-
accuracyThreshold?: number;
|
|
13
|
-
}
|
|
14
|
-
/** Defines outputs for the GetCurrentPosition activity. */
|
|
15
|
-
export interface GetCurrentPositionOutputs {
|
|
16
|
-
position: __esri.Point;
|
|
17
|
-
accuracy: number;
|
|
18
|
-
altitude?: number;
|
|
19
|
-
altitudeAccuracy?: number;
|
|
20
|
-
heading?: number;
|
|
21
|
-
latitude: number;
|
|
22
|
-
longitude: number;
|
|
23
|
-
speed?: number;
|
|
24
|
-
timestamp: number;
|
|
25
|
-
recieverName?: string;
|
|
26
|
-
pdop?: number;
|
|
27
|
-
hdop?: number;
|
|
28
|
-
vdop?: number;
|
|
29
|
-
fixType?: number;
|
|
30
|
-
correctionAge?: number;
|
|
31
|
-
stationId?: number;
|
|
32
|
-
numberOfSatellites?: number;
|
|
33
|
-
averageAccuracy?: number;
|
|
34
|
-
averageAltitudeAccuracy?: number;
|
|
35
|
-
averagedPositions?: number;
|
|
36
|
-
standardDeviation?: number;
|
|
37
|
-
errorCode?: number;
|
|
38
|
-
errorMessage?: string;
|
|
39
|
-
}
|
|
40
|
-
export declare class GetCurrentPosition implements IActivityHandler {
|
|
41
|
-
static readonly action = "gcx:wf:arcgis::GetCurrentPosition";
|
|
42
|
-
static readonly suite = "gcx:wf:builtin";
|
|
43
|
-
/** This allows us to mock the geolocation API during testing */
|
|
44
|
-
geolocation: Geolocation;
|
|
45
|
-
execute(inputs: GetCurrentPositionInputs): PromiseLike<GetCurrentPositionOutputs>;
|
|
46
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetCurrentPosition activity. */
|
|
3
|
+
export interface GetCurrentPositionInputs {
|
|
4
|
+
/** Whether to request the best possible location data */
|
|
5
|
+
enableHighAccuracy?: boolean;
|
|
6
|
+
/** The maximum age of a cached position that will be accepted. */
|
|
7
|
+
maximumAge?: number;
|
|
8
|
+
/** The amount of time to wait for a location. */
|
|
9
|
+
timeout?: number;
|
|
10
|
+
/** Whether to use multiple readings to improve the accuracy of the geolocation result. */
|
|
11
|
+
useMultipleReadings?: boolean;
|
|
12
|
+
accuracyThreshold?: number;
|
|
13
|
+
}
|
|
14
|
+
/** Defines outputs for the GetCurrentPosition activity. */
|
|
15
|
+
export interface GetCurrentPositionOutputs {
|
|
16
|
+
position: __esri.Point;
|
|
17
|
+
accuracy: number;
|
|
18
|
+
altitude?: number;
|
|
19
|
+
altitudeAccuracy?: number;
|
|
20
|
+
heading?: number;
|
|
21
|
+
latitude: number;
|
|
22
|
+
longitude: number;
|
|
23
|
+
speed?: number;
|
|
24
|
+
timestamp: number;
|
|
25
|
+
recieverName?: string;
|
|
26
|
+
pdop?: number;
|
|
27
|
+
hdop?: number;
|
|
28
|
+
vdop?: number;
|
|
29
|
+
fixType?: number;
|
|
30
|
+
correctionAge?: number;
|
|
31
|
+
stationId?: number;
|
|
32
|
+
numberOfSatellites?: number;
|
|
33
|
+
averageAccuracy?: number;
|
|
34
|
+
averageAltitudeAccuracy?: number;
|
|
35
|
+
averagedPositions?: number;
|
|
36
|
+
standardDeviation?: number;
|
|
37
|
+
errorCode?: number;
|
|
38
|
+
errorMessage?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare class GetCurrentPosition implements IActivityHandler {
|
|
41
|
+
static readonly action = "gcx:wf:arcgis::GetCurrentPosition";
|
|
42
|
+
static readonly suite = "gcx:wf:builtin";
|
|
43
|
+
/** This allows us to mock the geolocation API during testing */
|
|
44
|
+
geolocation: Geolocation;
|
|
45
|
+
execute(inputs: GetCurrentPositionInputs): PromiseLike<GetCurrentPositionOutputs>;
|
|
46
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Get Geometries activity. */
|
|
3
|
-
export interface GetFeatureGeometriesInputs {
|
|
4
|
-
/** The feature set or list of features whose geometries will be returned. */
|
|
5
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
/** If false, the activity returns a list of geometries. If true the activity returns a single geometry that results from unioning the returned geometries together. Unioning takes advantage of the geometry engine. Defaults to false. */
|
|
7
|
-
union?: boolean;
|
|
8
|
-
}
|
|
9
|
-
/** Defines outputs for the Get Geometries activity. */
|
|
10
|
-
export interface GetFeatureGeometriesOutputs {
|
|
11
|
-
/** The first geometry result. */
|
|
12
|
-
geometry?: __esri.Geometry;
|
|
13
|
-
/** The result geometries. */
|
|
14
|
-
geometries?: __esri.Geometry[];
|
|
15
|
-
}
|
|
16
|
-
export declare class GetFeatureGeometries implements IActivityHandler {
|
|
17
|
-
static readonly action = "gcx:wf:arcgis::GetFeatureGeometries";
|
|
18
|
-
static readonly suite = "gcx:wf:builtin";
|
|
19
|
-
execute(inputs: GetFeatureGeometriesInputs): Promise<GetFeatureGeometriesOutputs>;
|
|
20
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Get Geometries activity. */
|
|
3
|
+
export interface GetFeatureGeometriesInputs {
|
|
4
|
+
/** The feature set or list of features whose geometries will be returned. */
|
|
5
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
+
/** If false, the activity returns a list of geometries. If true the activity returns a single geometry that results from unioning the returned geometries together. Unioning takes advantage of the geometry engine. Defaults to false. */
|
|
7
|
+
union?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs for the Get Geometries activity. */
|
|
10
|
+
export interface GetFeatureGeometriesOutputs {
|
|
11
|
+
/** The first geometry result. */
|
|
12
|
+
geometry?: __esri.Geometry;
|
|
13
|
+
/** The result geometries. */
|
|
14
|
+
geometries?: __esri.Geometry[];
|
|
15
|
+
}
|
|
16
|
+
export declare class GetFeatureGeometries implements IActivityHandler {
|
|
17
|
+
static readonly action = "gcx:wf:arcgis::GetFeatureGeometries";
|
|
18
|
+
static readonly suite = "gcx:wf:builtin";
|
|
19
|
+
execute(inputs: GetFeatureGeometriesInputs): Promise<GetFeatureGeometriesOutputs>;
|
|
20
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Get Geometry activity. */
|
|
3
|
-
export interface GetFeatureGeometryInputs {
|
|
4
|
-
/** The FeatureSet or collection of graphics to get the geometry from. */
|
|
5
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
/** The zero-based index of the feature to get the geometry from. If not specified, the first feature will be used. */
|
|
7
|
-
index?: number;
|
|
8
|
-
}
|
|
9
|
-
/** Defines outputs for the Get Geometry activity. */
|
|
10
|
-
export interface GetFeatureGeometryOutputs {
|
|
11
|
-
/** Indicates the geometry of the feature. */
|
|
12
|
-
geometry
|
|
13
|
-
}
|
|
14
|
-
export declare class GetFeatureGeometry implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:arcgis::GetFeatureGeometry";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: GetFeatureGeometryInputs, context: IActivityContext): GetFeatureGeometryOutputs;
|
|
18
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Get Geometry activity. */
|
|
3
|
+
export interface GetFeatureGeometryInputs {
|
|
4
|
+
/** The FeatureSet or collection of graphics to get the geometry from. */
|
|
5
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
+
/** The zero-based index of the feature to get the geometry from. If not specified, the first feature will be used. */
|
|
7
|
+
index?: number;
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs for the Get Geometry activity. */
|
|
10
|
+
export interface GetFeatureGeometryOutputs {
|
|
11
|
+
/** Indicates the geometry of the feature. */
|
|
12
|
+
geometry?: __esri.Geometry;
|
|
13
|
+
}
|
|
14
|
+
export declare class GetFeatureGeometry implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::GetFeatureGeometry";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: GetFeatureGeometryInputs, context: IActivityContext): GetFeatureGeometryOutputs;
|
|
18
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { FeatureLayerInfo } from "./libs/arcGisRestApi";
|
|
3
|
-
/** Defines inputs to the GetFeatureLayerInfo activity. */
|
|
4
|
-
export interface GetFeatureLayerInfoInputs {
|
|
5
|
-
/** The URL of the ArcGIS feature layer or table. */
|
|
6
|
-
url: string;
|
|
7
|
-
/** The layer definition used to describe a dynamic layer. */
|
|
8
|
-
dynamicLayerDefinition?: any;
|
|
9
|
-
/** The layer source used with a dynamic layer. */
|
|
10
|
-
source?: any;
|
|
11
|
-
/** The time span in milliseconds to wait for the request's results. */
|
|
12
|
-
timeout?: number;
|
|
13
|
-
}
|
|
14
|
-
/** Defines outputs to the GetFeatureLayerInfo activity. */
|
|
15
|
-
export interface GetFeatureLayerInfoOutputs {
|
|
16
|
-
layerInfo: FeatureLayerInfo;
|
|
17
|
-
}
|
|
18
|
-
export declare class GetFeatureLayerInfo implements IActivityHandler {
|
|
19
|
-
static readonly action = "gcx:wf:arcgis::GetFeatureLayerInfo";
|
|
20
|
-
static readonly suite = "gcx:wf:builtin";
|
|
21
|
-
execute(inputs: GetFeatureLayerInfoInputs, context: IActivityContext): Promise<GetFeatureLayerInfoOutputs>;
|
|
22
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { FeatureLayerInfo } from "./libs/arcGisRestApi";
|
|
3
|
+
/** Defines inputs to the GetFeatureLayerInfo activity. */
|
|
4
|
+
export interface GetFeatureLayerInfoInputs {
|
|
5
|
+
/** The URL of the ArcGIS feature layer or table. */
|
|
6
|
+
url: string;
|
|
7
|
+
/** The layer definition used to describe a dynamic layer. */
|
|
8
|
+
dynamicLayerDefinition?: any;
|
|
9
|
+
/** The layer source used with a dynamic layer. */
|
|
10
|
+
source?: any;
|
|
11
|
+
/** The time span in milliseconds to wait for the request's results. */
|
|
12
|
+
timeout?: number;
|
|
13
|
+
}
|
|
14
|
+
/** Defines outputs to the GetFeatureLayerInfo activity. */
|
|
15
|
+
export interface GetFeatureLayerInfoOutputs {
|
|
16
|
+
layerInfo: FeatureLayerInfo;
|
|
17
|
+
}
|
|
18
|
+
export declare class GetFeatureLayerInfo implements IActivityHandler {
|
|
19
|
+
static readonly action = "gcx:wf:arcgis::GetFeatureLayerInfo";
|
|
20
|
+
static readonly suite = "gcx:wf:builtin";
|
|
21
|
+
execute(inputs: GetFeatureLayerInfoInputs, context: IActivityContext): Promise<GetFeatureLayerInfoOutputs>;
|
|
22
|
+
}
|