@vertigis/workflow 5.35.1 → 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 -106
- 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/AddAttachment.js +1 -1
- 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/AddFeatures.js +1 -1
- package/activities/arcgis/AddGraphics.d.ts +27 -27
- package/activities/arcgis/AddGraphics.js +1 -1
- package/activities/arcgis/ArcadeScript.d.ts +17 -18
- package/activities/arcgis/ArcadeScript.js +1 -1
- package/activities/arcgis/AreaEngineTask.d.ts +20 -20
- package/activities/arcgis/AreaEngineTask.js +1 -1
- package/activities/arcgis/BufferEngineTask.d.ts +27 -27
- package/activities/arcgis/BufferEngineTask.js +1 -1
- 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/ClipEngineTask.js +1 -1
- 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/CompareGeometries.js +1 -1
- 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/CutEngineTask.js +1 -1
- package/activities/arcgis/DeleteAttachments.d.ts +22 -22
- package/activities/arcgis/DeleteAttachments.js +1 -1
- package/activities/arcgis/DeleteFeatures.d.ts +30 -30
- package/activities/arcgis/DeleteFeatures.js +1 -1
- package/activities/arcgis/DensifyEngineTask.d.ts +20 -20
- package/activities/arcgis/DensifyEngineTask.js +1 -1
- package/activities/arcgis/DifferenceEngineTask.d.ts +23 -23
- package/activities/arcgis/DifferenceEngineTask.js +1 -1
- package/activities/arcgis/DistanceEngineTask.d.ts +20 -20
- package/activities/arcgis/DistanceEngineTask.js +1 -1
- 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/FlipEngineTask.js +1 -1
- package/activities/arcgis/FromGeoCoordinateStringServiceTask.d.ts +24 -24
- package/activities/arcgis/GeneralizeEngineTask.d.ts +22 -22
- package/activities/arcgis/GeneralizeEngineTask.js +1 -1
- 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/GetFeatureLayerInfo.js +1 -1
- 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/GetGraphics.js +1 -1
- package/activities/arcgis/GetLayer.d.ts +21 -21
- package/activities/arcgis/GetLayer.js +1 -1
- package/activities/arcgis/GetLayerDefinitionExpression.d.ts +18 -18
- package/activities/arcgis/GetLayerDefinitionExpression.js +1 -1
- package/activities/arcgis/GetLayerProperty.d.ts +18 -18
- package/activities/arcgis/GetLayerProperty.js +1 -1
- package/activities/arcgis/GetLayerVisibility.d.ts +18 -18
- package/activities/arcgis/GetLayerVisibility.js +1 -1
- package/activities/arcgis/GetMap.d.ts +11 -11
- package/activities/arcgis/GetMap.js +1 -1
- 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/GetTable.js +1 -1
- package/activities/arcgis/GetViewExtent.d.ts +16 -16
- package/activities/arcgis/GetViewExtent.js +1 -1
- package/activities/arcgis/GetViewpoint.d.ts +12 -12
- package/activities/arcgis/GetViewpoint.js +1 -1
- package/activities/arcgis/IntersectEngineTask.d.ts +20 -20
- package/activities/arcgis/IntersectEngineTask.js +1 -1
- package/activities/arcgis/LabelPointsServiceTask.d.ts +18 -18
- package/activities/arcgis/LengthEngineTask.d.ts +20 -20
- package/activities/arcgis/LengthEngineTask.js +1 -1
- 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/NearestVertexEngineTask.js +1 -1
- package/activities/arcgis/NearestVerticesEngineTask.d.ts +34 -34
- package/activities/arcgis/NearestVerticesEngineTask.js +1 -1
- package/activities/arcgis/OffsetEngineTask.d.ts +25 -25
- package/activities/arcgis/OffsetEngineTask.js +1 -1
- 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/QueryAttachmentInfos.js +1 -1
- 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/RelateEngineTask.js +1 -1
- 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/RemoveLayer.js +1 -1
- 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/RotateEngineTask.js +1 -1
- 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/SetImageryLayerOptions.js +1 -1
- 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/SetLayerPopup.js +1 -1
- package/activities/arcgis/SetLayerProperty.d.ts +23 -23
- package/activities/arcgis/SetLayerProperty.js +1 -1
- package/activities/arcgis/SetLayerVisibility.d.ts +23 -23
- package/activities/arcgis/SetLayerVisibility.js +1 -1
- package/activities/arcgis/SetMap.d.ts +14 -14
- package/activities/arcgis/SetViewExtent.d.ts +27 -27
- package/activities/arcgis/SetViewExtent.js +1 -1
- package/activities/arcgis/SetViewpoint.d.ts +23 -23
- package/activities/arcgis/SetViewpoint.js +1 -1
- package/activities/arcgis/ShowFeaturePopup.d.ts +11 -11
- package/activities/arcgis/ShowFeaturePopup.js +1 -1
- package/activities/arcgis/ShowResults.d.ts +51 -51
- package/activities/arcgis/SimplifyEngineTask.d.ts +15 -15
- package/activities/arcgis/SimplifyEngineTask.js +1 -1
- 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/UnionEngineTask.js +1 -1
- package/activities/arcgis/UnionServiceTask.d.ts +20 -20
- package/activities/arcgis/UpdateAttachment.d.ts +29 -29
- package/activities/arcgis/UpdateAttachment.js +1 -1
- package/activities/arcgis/UpdateFeatures.d.ts +27 -27
- package/activities/arcgis/UpdateFeatures.js +1 -1
- package/activities/arcgis/libs/arcGisRestApi.d.ts +18 -25
- package/activities/arcgis/runUtils.d.ts +93 -93
- package/activities/arcgis/shared.d.ts +61 -61
- package/activities/arcgis/tools.d.ts +42 -49
- 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/WebRequest.js +1 -1
- 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/RunEssentialsWorkflow.js +1 -1
- 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/ClearFormElementError.js +1 -1
- package/activities/forms/CompleteForm.d.ts +11 -11
- package/activities/forms/DisplayForm.d.ts +48 -49
- package/activities/forms/DisplayForm.js +1 -1
- 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 -134
- 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/HideFormElement.js +1 -1
- 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/SetFormElementError.js +1 -1
- 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/SetFormElementItems.js +1 -1
- 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/forms/ShowFormElement.js +1 -1
- 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/ActivityLoader.js +1 -1
- package/execution/Engine.d.ts +84 -85
- package/execution/Engine.js +1 -1
- package/execution/IDebugSession.d.ts +43 -44
- package/execution/ModuleLoader.d.ts +42 -42
- package/execution/ModuleLoader.js +1 -1
- 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 -30
- package/forms/FormComponent.js +1 -1
- package/forms/FormDefinition.d.ts +451 -457
- package/forms/FormElement.d.ts +24 -59
- package/forms/FormElement.js +1 -1
- package/forms/FormHost.d.ts +225 -233
- package/forms/FormHost.js +1 -1
- package/forms/FormPresenterHost.d.ts +62 -76
- package/forms/MutuallyExclusiveSectionGroup.d.ts +41 -41
- package/forms/NumberParser.d.ts +27 -25
- 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 -7
- package/forms/components/AutoComplete.js +1 -1
- package/forms/components/ButtonBar.d.ts +8 -13
- package/forms/components/ButtonBar.js +1 -1
- package/forms/components/CheckBox.d.ts +7 -7
- package/forms/components/CheckBox.js +1 -1
- package/forms/components/CheckGroup.d.ts +8 -7
- package/forms/components/CheckGroup.js +1 -1
- package/forms/components/Custom.d.ts +7 -7
- package/forms/components/Custom.js +1 -1
- package/forms/components/DatePicker.d.ts +8 -7
- package/forms/components/DatePicker.js +1 -1
- package/forms/components/DateRangePicker.d.ts +12 -11
- package/forms/components/DateRangePicker.js +1 -1
- package/forms/components/DateTimePicker.d.ts +8 -7
- 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 -15
- package/forms/components/FormLabelNumberField.js +1 -1
- 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/Image.js +1 -1
- package/forms/components/ItemPicker.d.ts +15 -17
- package/forms/components/ItemPicker.js +1 -1
- package/forms/components/ListBox.d.ts +8 -7
- package/forms/components/ListBox.js +1 -1
- package/forms/components/Markdown.d.ts +14 -15
- package/forms/components/Markdown.js +1 -1
- package/forms/components/Number.d.ts +8 -7
- package/forms/components/Number.js +1 -1
- package/forms/components/NumberRangeSlider.d.ts +12 -12
- package/forms/components/NumberRangeSlider.js +1 -1
- package/forms/components/NumberSlider.d.ts +11 -10
- package/forms/components/NumberSlider.js +1 -1
- package/forms/components/RadioGroup.d.ts +8 -7
- package/forms/components/RadioGroup.js +1 -1
- 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/SignatureDialog.js +1 -1
- package/forms/components/Text.d.ts +8 -8
- package/forms/components/TextArea.d.ts +7 -7
- package/forms/components/TextArea.js +1 -1
- package/forms/components/TextBox.d.ts +7 -21
- package/forms/components/TextBox.js +1 -1
- package/forms/components/TimePicker.d.ts +8 -7
- package/forms/components/TimePicker.js +1 -1
- package/forms/constants.d.ts +81 -81
- package/forms/dateUtilities.d.ts +102 -117
- 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 -72
- package/forms/keyboard.d.ts +9 -9
- package/forms/listUtilities.d.ts +3 -0
- package/forms/listUtilities.js +1 -0
- package/forms/manifest.d.ts +3 -0
- package/forms/manifest.js +1 -0
- package/forms/numberFormatter.d.ts +90 -94
- package/forms/numberFormatter.js +1 -1
- package/forms/numberUtilities.d.ts +150 -113
- 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 -132
- 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,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
|
|
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):
|
|
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 +1 @@
|
|
|
1
|
-
import{GenericActivityError}from"../../Errors.js";import{validation}from"../../Validation.js";import{get,
|
|
1
|
+
import FeatureType from"@arcgis/core/layers/support/FeatureType";import Field from"@arcgis/core/layers/support/Field";import{GenericActivityError}from"../../Errors.js";import{validation}from"../../Validation.js";import{get,schedulePromiseCancellation}from"./tools.js";class GetFeatureLayerInfo{async execute(e,r){var t=validation.string("url",e.url,validation.never),i=validation.number("timeout",e.timeout,void 0);const o={};e.dynamicLayerDefinition?o.layer=e.dynamicLayerDefinition:e.source&&(o.layer={source:e.source});i=get(t,o,i,r.cancellationToken.signal);schedulePromiseCancellation(r,i);const a=await i;if(!a.fields)throw new GenericActivityError('Error running the "Get Feature Layer Info" activity. The response did not include the required "fields" property.');return a.fields=a.fields.map(e=>Field.fromJSON(e)),a.types&&(a.types=a.types.map(e=>FeatureType.fromJSON(e))),{layerInfo:a}}}GetFeatureLayerInfo.action="gcx:wf:arcgis::GetFeatureLayerInfo",GetFeatureLayerInfo.suite="gcx:wf:builtin";export{GetFeatureLayerInfo};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetFeatureSetExtent activity. */
|
|
3
|
-
export interface GetFeatureSetExtentInputs {
|
|
4
|
-
/** The features to calculate the bounding extent of. */
|
|
5
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
}
|
|
7
|
-
/** Defines outputs for the GetFeatureSetExtent activity. */
|
|
8
|
-
export interface GetFeatureSetExtentOutputs {
|
|
9
|
-
/** The extent of all the input features. */
|
|
10
|
-
extent: __esri.Extent;
|
|
11
|
-
/** The center of the extent. */
|
|
12
|
-
center: __esri.Point;
|
|
13
|
-
}
|
|
14
|
-
export declare class GetFeatureSetExtent implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:arcgis::GetFeatureSetExtent";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: GetFeatureSetExtentInputs, context: IActivityContext): GetFeatureSetExtentOutputs;
|
|
18
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetFeatureSetExtent activity. */
|
|
3
|
+
export interface GetFeatureSetExtentInputs {
|
|
4
|
+
/** The features to calculate the bounding extent of. */
|
|
5
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
+
}
|
|
7
|
+
/** Defines outputs for the GetFeatureSetExtent activity. */
|
|
8
|
+
export interface GetFeatureSetExtentOutputs {
|
|
9
|
+
/** The extent of all the input features. */
|
|
10
|
+
extent: __esri.Extent;
|
|
11
|
+
/** The center of the extent. */
|
|
12
|
+
center: __esri.Point;
|
|
13
|
+
}
|
|
14
|
+
export declare class GetFeatureSetExtent implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::GetFeatureSetExtent";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: GetFeatureSetExtentInputs, context: IActivityContext): GetFeatureSetExtentOutputs;
|
|
18
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Get Object IDs activity. */
|
|
3
|
-
export interface GetFeatureSetObjectIdsInputs {
|
|
4
|
-
/** The feature set to obtain the object IDs from. Note that object IDs should be integers. If another data type is used (such as strings) to denote object IDs, they should be retrieved with the Get Attribute Values activity. */
|
|
5
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
/** The name of the field containing the features' object IDs. Defaults to OBJECTID. */
|
|
7
|
-
objectIdField?: string;
|
|
8
|
-
}
|
|
9
|
-
/** Defines outputs for the Get Object IDs activity. */
|
|
10
|
-
export interface GetFeatureSetObjectIdsOutputs {
|
|
11
|
-
/** Indicates the ID the first feature in the feature set. */
|
|
12
|
-
id?: number;
|
|
13
|
-
/** Indicates all the IDs of the features in the feature set. */
|
|
14
|
-
ids?: number[];
|
|
15
|
-
}
|
|
16
|
-
export declare class GetFeatureSetObjectIds implements IActivityHandler {
|
|
17
|
-
static readonly action = "gcx:wf:arcgis::GetFeatureSetObjectIds";
|
|
18
|
-
static readonly suite = "gcx:wf:builtin";
|
|
19
|
-
execute(inputs: GetFeatureSetObjectIdsInputs, context: IActivityContext): GetFeatureSetObjectIdsOutputs;
|
|
20
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Get Object IDs activity. */
|
|
3
|
+
export interface GetFeatureSetObjectIdsInputs {
|
|
4
|
+
/** The feature set to obtain the object IDs from. Note that object IDs should be integers. If another data type is used (such as strings) to denote object IDs, they should be retrieved with the Get Attribute Values activity. */
|
|
5
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
+
/** The name of the field containing the features' object IDs. Defaults to OBJECTID. */
|
|
7
|
+
objectIdField?: string;
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs for the Get Object IDs activity. */
|
|
10
|
+
export interface GetFeatureSetObjectIdsOutputs {
|
|
11
|
+
/** Indicates the ID the first feature in the feature set. */
|
|
12
|
+
id?: number;
|
|
13
|
+
/** Indicates all the IDs of the features in the feature set. */
|
|
14
|
+
ids?: number[];
|
|
15
|
+
}
|
|
16
|
+
export declare class GetFeatureSetObjectIds implements IActivityHandler {
|
|
17
|
+
static readonly action = "gcx:wf:arcgis::GetFeatureSetObjectIds";
|
|
18
|
+
static readonly suite = "gcx:wf:builtin";
|
|
19
|
+
execute(inputs: GetFeatureSetObjectIdsInputs, context: IActivityContext): GetFeatureSetObjectIdsOutputs;
|
|
20
|
+
}
|
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
static readonly
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* @param
|
|
26
|
-
* @param
|
|
27
|
-
* @param
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* @param
|
|
36
|
-
* @
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* @param
|
|
44
|
-
* @
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
private
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
import { Item } from "../../forms/FormDefinition";
|
|
3
|
+
export interface GetFormElementItemsFromFeaturesInputs {
|
|
4
|
+
/** The features to be converted to the items collection. */
|
|
5
|
+
features: __esri.Graphic[];
|
|
6
|
+
/** The name of the feature field used to populate the items' labels. */
|
|
7
|
+
labelFieldName?: string;
|
|
8
|
+
/** The name of the feature field used to populate the items' values. If not provided, an item's backing feature is used in a DataRef object. */
|
|
9
|
+
valueFieldName?: string;
|
|
10
|
+
/** The features' fields. If present, the activity can attempt to match inputs to field aliases. */
|
|
11
|
+
fields?: __esri.Field[];
|
|
12
|
+
}
|
|
13
|
+
export interface GetFormElementItemsFromFeaturesOutputs {
|
|
14
|
+
/** The result items collection. */
|
|
15
|
+
items: Record<string, Item>;
|
|
16
|
+
}
|
|
17
|
+
export declare class GetFormElementItemsFromFeatures implements IActivityHandler {
|
|
18
|
+
static readonly action = "gcx:wf:forms::GetFormElementItemsFromFeatures";
|
|
19
|
+
static readonly suite = "gcx:wf:builtin";
|
|
20
|
+
/**
|
|
21
|
+
* Gets the value of the specified attribute.
|
|
22
|
+
* This also accepts aliases and performs a case-insensitive lookup.
|
|
23
|
+
* If no match is found, `undefined` is returned.
|
|
24
|
+
* @param fieldName The name of the field to get the value of.
|
|
25
|
+
* @param fieldNames All field names and aliases.
|
|
26
|
+
* @param attributes The attributes we're interested in looking up.
|
|
27
|
+
* @param hideEmptyValues True if an `undefined` or `false` value should be converted to an empty string, for use in a label. False if the actual value should be returned.
|
|
28
|
+
*/
|
|
29
|
+
private _getAttributeValue;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the actual field name to use based on the supplied value.
|
|
32
|
+
* This also accepts aliases and performs a case-insensitive lookup.
|
|
33
|
+
* If no match is found, `undefined` is returned.
|
|
34
|
+
* @param fieldName The name of the field to look up.
|
|
35
|
+
* @param fieldNames All field names and aliases.
|
|
36
|
+
* @returns The name of the matching field, or `undefined` if no match was found.
|
|
37
|
+
*/
|
|
38
|
+
private _getFieldName;
|
|
39
|
+
/**
|
|
40
|
+
* Checks if there is a field name that matches the supplied label.
|
|
41
|
+
* This also accepts aliases and performs a case-insensitive lookup.
|
|
42
|
+
* @param label The label input to be checked.
|
|
43
|
+
* @param fieldNames All field names and aliases.
|
|
44
|
+
* @returns True if the label matches a field name or alias, false otherwise.
|
|
45
|
+
*/
|
|
46
|
+
private _isLabelFieldName;
|
|
47
|
+
private _getTokenValues;
|
|
48
|
+
execute(inputs: GetFormElementItemsFromFeaturesInputs): GetFormElementItemsFromFeaturesOutputs;
|
|
49
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as TemplateUtils from"../../TemplateUtils.js";import{validation}from"../../Validation.js";import{text}from"../../forms/utils.js";import{getFieldName as getFieldNameIgnoreCase}from"./shared.js";class GetFormElementItemsFromFeatures{_getAttributeValue(e,t,a,r){if(e=this._getFieldName(e,t)){e=a[e];return r?TemplateUtils.valueOrEmptyString(e):e}}_getFieldName(e,t){return t[getFieldNameIgnoreCase(e,t)||e]}_isLabelFieldName(e,t){return null!=e&&!!getFieldNameIgnoreCase(e,t)}_getTokenValues(e,t,a){const r={};for(const i of e){var l,s=i.token;r.hasOwnProperty(s)||(l=this._getAttributeValue(s,a,t,!0),l=TemplateUtils.getTokenValueString(s,l),r[s]=text.escapeTextForMarkdown(l))}return r}execute(e){var r=e.features||[],t=e.fields||[],l=
|
|
1
|
+
import*as TemplateUtils from"../../TemplateUtils.js";import{validation}from"../../Validation.js";import{text}from"../../forms/utils.js";import{getFieldName as getFieldNameIgnoreCase}from"./shared.js";class GetFormElementItemsFromFeatures{_getAttributeValue(e,t,a,r){if(e=this._getFieldName(e,t)){e=a[e];return r?TemplateUtils.valueOrEmptyString(e):e}}_getFieldName(e,t){return t[getFieldNameIgnoreCase(e,t)||e]}_isLabelFieldName(e,t){return null!=e&&!!getFieldNameIgnoreCase(e,t)}_getTokenValues(e,t,a){const r={};for(const i of e){var l,s=i.token;r.hasOwnProperty(s)||(l=this._getAttributeValue(s,a,t,!0),l=TemplateUtils.getTokenValueString(s,l),r[s]=text.escapeTextForMarkdown(l))}return r}execute(e){var r=e.features||[],t=e.fields||[],l=validation.string("labelFieldName",e.labelFieldName),s=e.valueFieldName||void 0;const i={},o={};for(const a of t)"string"==typeof a.alias&&"string"==typeof a.name&&(o[a.alias]=a.name);for(const d of 0<r.length?Object.keys(r[0].attributes):[])o[d]=d;var m=this._isLabelFieldName(l,o),n=m?[]:TemplateUtils.findTokenInstances(l);for(let a=0;a<r.length;++a){var u,F=r[a],g=F.attributes||{};const f={};let e;e=m?this._getAttributeValue(l,o,g,!0):(u=this._getTokenValues(n,g,o),TemplateUtils.replacePlaceholders(l,n,u));g=s?this._getAttributeValue(s,o,g,!1):void 0;let t;t=text.isMarkdown(e)?e:String(e),f.label=t,f.value=s?g:{refValueType:"data",type:"feature",data:F},f.index=a,i[a]=f}return{items:i}}}GetFormElementItemsFromFeatures.action="gcx:wf:forms::GetFormElementItemsFromFeatures",GetFormElementItemsFromFeatures.suite="gcx:wf:builtin";export{GetFormElementItemsFromFeatures};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetGeometryExtent activity. */
|
|
3
|
-
export interface GetGeometryExtentInputs {
|
|
4
|
-
geometry: __esri.Geometry | __esri.Geometry[];
|
|
5
|
-
}
|
|
6
|
-
/** Defines outputs for the GetGeometryExtent activity. */
|
|
7
|
-
export interface GetGeometryExtentOutputs {
|
|
8
|
-
/** The extent of the geometries. */
|
|
9
|
-
extent: __esri.Extent;
|
|
10
|
-
/** The center of the extent of the geometries. */
|
|
11
|
-
center: __esri.Point;
|
|
12
|
-
}
|
|
13
|
-
export declare class GetGeometryExtent implements IActivityHandler {
|
|
14
|
-
static readonly action = "gcx:wf:arcgis::GetGeometryExtent";
|
|
15
|
-
static readonly suite = "gcx:wf:builtin";
|
|
16
|
-
execute(inputs: GetGeometryExtentInputs, context: IActivityContext): GetGeometryExtentOutputs;
|
|
17
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetGeometryExtent activity. */
|
|
3
|
+
export interface GetGeometryExtentInputs {
|
|
4
|
+
geometry: __esri.Geometry | __esri.Geometry[];
|
|
5
|
+
}
|
|
6
|
+
/** Defines outputs for the GetGeometryExtent activity. */
|
|
7
|
+
export interface GetGeometryExtentOutputs {
|
|
8
|
+
/** The extent of the geometries. */
|
|
9
|
+
extent: __esri.Extent;
|
|
10
|
+
/** The center of the extent of the geometries. */
|
|
11
|
+
center: __esri.Point;
|
|
12
|
+
}
|
|
13
|
+
export declare class GetGeometryExtent implements IActivityHandler {
|
|
14
|
+
static readonly action = "gcx:wf:arcgis::GetGeometryExtent";
|
|
15
|
+
static readonly suite = "gcx:wf:builtin";
|
|
16
|
+
execute(inputs: GetGeometryExtentInputs, context: IActivityContext): GetGeometryExtentOutputs;
|
|
17
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs to the GetGraphics activity. */
|
|
4
|
-
export interface GetGraphicsInputs {
|
|
5
|
-
/** The ID of the graphics layer to get the features from. */
|
|
6
|
-
layerId?: string | number;
|
|
7
|
-
/** The type of geometry to retrieve from the graphics layer. If not specified, all features will be returned. */
|
|
8
|
-
geometryType?: string;
|
|
9
|
-
}
|
|
10
|
-
/** Defines outputs to the GetGraphics activity. */
|
|
11
|
-
export interface GetGraphicsOutputs {
|
|
12
|
-
/** The features of the graphics layer. */
|
|
13
|
-
features: __esri.Graphic[];
|
|
14
|
-
}
|
|
15
|
-
export declare class GetGraphics implements IActivityHandler {
|
|
16
|
-
static readonly action = "gcx:wf:arcgis::GetGraphicsLayerFeatures";
|
|
17
|
-
static readonly suite = "gcx:wf:builtin";
|
|
18
|
-
execute(inputs: GetGraphicsInputs,
|
|
19
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs to the GetGraphics activity. */
|
|
4
|
+
export interface GetGraphicsInputs {
|
|
5
|
+
/** The ID of the graphics layer to get the features from. */
|
|
6
|
+
layerId?: string | number;
|
|
7
|
+
/** The type of geometry to retrieve from the graphics layer. If not specified, all features will be returned. */
|
|
8
|
+
geometryType?: string;
|
|
9
|
+
}
|
|
10
|
+
/** Defines outputs to the GetGraphics activity. */
|
|
11
|
+
export interface GetGraphicsOutputs {
|
|
12
|
+
/** The features of the graphics layer. */
|
|
13
|
+
features: __esri.Graphic[];
|
|
14
|
+
}
|
|
15
|
+
export declare class GetGraphics implements IActivityHandler {
|
|
16
|
+
static readonly action = "gcx:wf:arcgis::GetGraphicsLayerFeatures";
|
|
17
|
+
static readonly suite = "gcx:wf:builtin";
|
|
18
|
+
execute(inputs: GetGraphicsInputs, _context: IActivityContext, type: typeof MapProvider): Promise<GetGraphicsOutputs>;
|
|
19
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";
|
|
1
|
+
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let GetGraphics=class{async execute(e,t,a){var r=validation.id("layerId",e.layerId,void 0);const i=validation.string("geometryType",e.geometryType,void 0),o=a.create();if(await o.load(),r){const c=o.findLayer(r);if(void 0!==c&&null!==c){await c.load();let e=c.getFeatures();return void 0!==i&&(e=e.filter(e=>e.geometry.type===i)),void 0!==e&&null!==e?{features:e}:{}}}const s=[];return o.view.graphics.forEach(e=>{s.push(e)}),{features:s}}};GetGraphics.action="gcx:wf:arcgis::GetGraphicsLayerFeatures",GetGraphics.suite="gcx:wf:builtin",GetGraphics=__decorate([activate(MapProvider)],GetGraphics);export{GetGraphics};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the GetLayer activity. */
|
|
4
|
-
export interface GetLayerInputs {
|
|
5
|
-
/** The ID of the layer to be retrieved. */
|
|
6
|
-
layerId: string | number;
|
|
7
|
-
/** The optional ID of the sublayer to be retrieved. Sublayers are associated with MapImageLayers. */
|
|
8
|
-
sublayerId?: string | number;
|
|
9
|
-
}
|
|
10
|
-
/** Defines outputs for the GetLayer activity. */
|
|
11
|
-
export interface GetLayerOutputs {
|
|
12
|
-
/** Indicates the layer. */
|
|
13
|
-
layer
|
|
14
|
-
/** Indicates the sublayer. */
|
|
15
|
-
sublayer?: __esri.Sublayer;
|
|
16
|
-
}
|
|
17
|
-
export declare class GetLayer implements IActivityHandler {
|
|
18
|
-
static readonly action = "gcx:wf:arcgis::GetLayer";
|
|
19
|
-
static readonly suite = "gcx:wf:builtin";
|
|
20
|
-
execute(inputs: GetLayerInputs,
|
|
21
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the GetLayer activity. */
|
|
4
|
+
export interface GetLayerInputs {
|
|
5
|
+
/** The ID of the layer to be retrieved. */
|
|
6
|
+
layerId: string | number;
|
|
7
|
+
/** The optional ID of the sublayer to be retrieved. Sublayers are associated with MapImageLayers. */
|
|
8
|
+
sublayerId?: string | number;
|
|
9
|
+
}
|
|
10
|
+
/** Defines outputs for the GetLayer activity. */
|
|
11
|
+
export interface GetLayerOutputs {
|
|
12
|
+
/** Indicates the layer. */
|
|
13
|
+
layer?: __esri.Layer;
|
|
14
|
+
/** Indicates the sublayer. */
|
|
15
|
+
sublayer?: __esri.Sublayer;
|
|
16
|
+
}
|
|
17
|
+
export declare class GetLayer implements IActivityHandler {
|
|
18
|
+
static readonly action = "gcx:wf:arcgis::GetLayer";
|
|
19
|
+
static readonly suite = "gcx:wf:builtin";
|
|
20
|
+
execute(inputs: GetLayerInputs, _context: IActivityContext, type: typeof MapProvider): Promise<GetLayerOutputs>;
|
|
21
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";
|
|
1
|
+
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let GetLayer=class{async execute(a,e,r){var t=validation.id("layerId",a.layerId,validation.never),a=validation.id("sublayerId",a.sublayerId,void 0);const i=r.create();await i.load();const o=i.findLayer(t);if(void 0===o||null===o)return{};if(await o.load(),void 0===a)return{layer:o.layer};a=i.findLayer(a,o.layer);return null!=a?{layer:a.layer,sublayer:a.sublayer}:{}}};GetLayer.action="gcx:wf:arcgis::GetLayer",GetLayer.suite="gcx:wf:builtin",GetLayer=__decorate([activate(MapProvider)],GetLayer);export{GetLayer};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the GetLayerDefinitionExpression activity. */
|
|
4
|
-
export interface GetLayerDefinitionExpressionInputs {
|
|
5
|
-
/** The ID of the layer whose definition is of interest. */
|
|
6
|
-
layerId: string | number;
|
|
7
|
-
/** The optional index of the sublayer whose definition is of interest. Sublayers are associated with MapImageLayers. */
|
|
8
|
-
sublayerId?: string | number;
|
|
9
|
-
}
|
|
10
|
-
/** Defines outputs for the GetLayerDefinitionExpression activity. */
|
|
11
|
-
export interface GetLayerDefinitionExpressionOutputs {
|
|
12
|
-
expression
|
|
13
|
-
}
|
|
14
|
-
export declare class GetLayerDefinitionExpression implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:arcgis::GetLayerDefinitionExpression";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: GetLayerDefinitionExpressionInputs,
|
|
18
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the GetLayerDefinitionExpression activity. */
|
|
4
|
+
export interface GetLayerDefinitionExpressionInputs {
|
|
5
|
+
/** The ID of the layer whose definition is of interest. */
|
|
6
|
+
layerId: string | number;
|
|
7
|
+
/** The optional index of the sublayer whose definition is of interest. Sublayers are associated with MapImageLayers. */
|
|
8
|
+
sublayerId?: string | number;
|
|
9
|
+
}
|
|
10
|
+
/** Defines outputs for the GetLayerDefinitionExpression activity. */
|
|
11
|
+
export interface GetLayerDefinitionExpressionOutputs {
|
|
12
|
+
expression?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class GetLayerDefinitionExpression implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::GetLayerDefinitionExpression";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: GetLayerDefinitionExpressionInputs, _context: IActivityContext, type: typeof MapProvider): Promise<GetLayerDefinitionExpressionOutputs>;
|
|
18
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";
|
|
1
|
+
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let GetLayerDefinitionExpression=class{async execute(i,e,r){var o=validation.id("layerId",i.layerId,validation.never),i=validation.id("sublayerId",i.sublayerId,void 0);const t=r.create();await t.load();const n=t.findLayer(o);if(void 0===n||null===n)return{};{if(await n.load(),void 0===i)return{expression:n.getDefinitionExpression()};const a=t.findLayer(i,n.layer);return void 0!==a&&null!==a?{expression:a.getDefinitionExpression()}:{}}}};GetLayerDefinitionExpression.action="gcx:wf:arcgis::GetLayerDefinitionExpression",GetLayerDefinitionExpression.suite="gcx:wf:builtin",GetLayerDefinitionExpression=__decorate([activate(MapProvider)],GetLayerDefinitionExpression);export{GetLayerDefinitionExpression};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the GetLayerProperty activity. */
|
|
4
|
-
export interface GetLayerPropertyInputs {
|
|
5
|
-
/** The ID of the layer whose property is of interest. */
|
|
6
|
-
layerId: string | number;
|
|
7
|
-
/** The name of the property of interest. The name is case-sensitive. */
|
|
8
|
-
name: string;
|
|
9
|
-
}
|
|
10
|
-
/** Defines outputs for the GetLayerProperty activity. */
|
|
11
|
-
export interface GetLayerPropertyOutputs {
|
|
12
|
-
value: any;
|
|
13
|
-
}
|
|
14
|
-
export declare class GetLayerProperty implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:arcgis::GetLayerProperty";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: GetLayerPropertyInputs,
|
|
18
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the GetLayerProperty activity. */
|
|
4
|
+
export interface GetLayerPropertyInputs {
|
|
5
|
+
/** The ID of the layer whose property is of interest. */
|
|
6
|
+
layerId: string | number;
|
|
7
|
+
/** The name of the property of interest. The name is case-sensitive. */
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
/** Defines outputs for the GetLayerProperty activity. */
|
|
11
|
+
export interface GetLayerPropertyOutputs {
|
|
12
|
+
value: any;
|
|
13
|
+
}
|
|
14
|
+
export declare class GetLayerProperty implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::GetLayerProperty";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: GetLayerPropertyInputs, _context: IActivityContext, type: typeof MapProvider): Promise<GetLayerPropertyOutputs>;
|
|
18
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";
|
|
1
|
+
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let GetLayerProperty=class{async execute(r,e,t){var a=validation.string("name",r.name),r=validation.id("layerId",r.layerId,validation.never);const o=t.create();await o.load();const i=o.findLayer(r);return void 0!==i&&null!==i?(await i.load(),{value:i.getProperty(a)}):{}}};GetLayerProperty.action="gcx:wf:arcgis::GetLayerProperty",GetLayerProperty.suite="gcx:wf:builtin",GetLayerProperty=__decorate([activate(MapProvider)],GetLayerProperty);export{GetLayerProperty};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the GetLayerVisibility activity. */
|
|
4
|
-
export interface GetLayerVisibilityInputs {
|
|
5
|
-
/** The ID of the layer whose visibility is of interest. */
|
|
6
|
-
layerId: string | number;
|
|
7
|
-
/** The optional index of the sublayer whose visibility is of interest. Sublayers are associated with MapImageLayers. */
|
|
8
|
-
sublayerId?: string | number;
|
|
9
|
-
}
|
|
10
|
-
/** Defines outputs for the GetLayerVisibility activity. */
|
|
11
|
-
export interface GetLayerVisibilityOutputs {
|
|
12
|
-
visible
|
|
13
|
-
}
|
|
14
|
-
export declare class GetLayerVisibility implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:arcgis::GetLayerVisibility";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: GetLayerVisibilityInputs,
|
|
18
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the GetLayerVisibility activity. */
|
|
4
|
+
export interface GetLayerVisibilityInputs {
|
|
5
|
+
/** The ID of the layer whose visibility is of interest. */
|
|
6
|
+
layerId: string | number;
|
|
7
|
+
/** The optional index of the sublayer whose visibility is of interest. Sublayers are associated with MapImageLayers. */
|
|
8
|
+
sublayerId?: string | number;
|
|
9
|
+
}
|
|
10
|
+
/** Defines outputs for the GetLayerVisibility activity. */
|
|
11
|
+
export interface GetLayerVisibilityOutputs {
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare class GetLayerVisibility implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::GetLayerVisibility";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: GetLayerVisibilityInputs, _context: IActivityContext, type: typeof MapProvider): Promise<GetLayerVisibilityOutputs>;
|
|
18
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";
|
|
1
|
+
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let GetLayerVisibility=class{async execute(i,e,t){var a=validation.id("layerId",i.layerId,validation.never),i=validation.id("sublayerId",i.sublayerId,void 0);const r=t.create();await r.load();const l=r.findLayer(a);if(void 0===l||null===l)return{};{if(await l.load(),void 0===i)return{visible:l.getVisible()};const o=r.findLayer(i,l.layer);return void 0!==o&&null!==o?{visible:o.getVisible()}:{}}}};GetLayerVisibility.action="gcx:wf:arcgis::GetLayerVisibility",GetLayerVisibility.suite="gcx:wf:builtin",GetLayerVisibility=__decorate([activate(MapProvider)],GetLayerVisibility);export{GetLayerVisibility};
|