@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,87 +1,87 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the basic Service Area Task activity. This task is related to the Route and Service Area tasks. */
|
|
4
|
-
export interface ServiceAreaTaskInputs {
|
|
5
|
-
/** The URL to the ArcGIS network analysis service. */
|
|
6
|
-
url: string;
|
|
7
|
-
/** The set of facilities loaded as network locations during analysis. These can be specified as either a DataLayer or a FeatureSet. Either the URL or the features should be specified, but not both. */
|
|
8
|
-
facilities: __esri.DataLayer | __esri.FeatureSet;
|
|
9
|
-
/** The list of network attribute names to be accumulated with the analysis; i.e., which attributes should be returned as part of the response. The defaulted is as defined in the specific routing network layer. See: http://resources.arcgis.com/en/help/main/10.2/index.html#//00470000000m000000 */
|
|
10
|
-
accumulateAttributes?: string[];
|
|
11
|
-
/** An array of parameter values. If present, an attribute name, parameter name, and value must be specified. */
|
|
12
|
-
attributeParameterValues?: any[];
|
|
13
|
-
/** An array of numbers defining the breaks. */
|
|
14
|
-
defaultBreaks?: number[];
|
|
15
|
-
/** If true, avoids network elements restricted by barriers or restrictions specified in restrictionAttributes. Default value: true. */
|
|
16
|
-
doNotLocateOnRestrictedElements?: boolean;
|
|
17
|
-
/** An array of network source names to NOT use when generating polygons. */
|
|
18
|
-
excludeSourcesFromPolygons?: string[];
|
|
19
|
-
/** The network attribute name to be used as the impedance attribute in the analysis. The default is as defined in the routing network layer. You can specify any attribute names listed in the Service Directory under Network Dataset -> Network Attributes as "Usage Type: esriNAUTCost". You can also specify a value of "none" to indicate that no network attributes should be used for impedance. For example, set impedanceAttribute to "Time" for the quickest route, or to "Length" for the shortest drive, assuming the service has those two esriNAUTCost attributes. */
|
|
20
|
-
impedanceAttribute?: string;
|
|
21
|
-
impedenceAttribute?: string;
|
|
22
|
-
/** If true, similar ranges will be merged in the resulting polygons. Default Value: false. */
|
|
23
|
-
mergeSimilarPolygonRanges?: boolean;
|
|
24
|
-
/** The precision of the output geometry after generalization. If 0, no generalization of output geometry is performed. If present and positive, it represents the MaximumAllowableOffset parameter and generalization is performed according to IPolycurve.Generalize. */
|
|
25
|
-
outputGeometryPrecision?: number;
|
|
26
|
-
/** The units of the output geometry precision. Known Values: centimeters | decimal-degrees | decimeters | feet | inches | kilometers | meters | miles | millimeters | nautical-miles | points | yards. */
|
|
27
|
-
outputGeometryPrecisionUnits?: string;
|
|
28
|
-
/** The type of output lines to be generated in the result. Default Value: true-shape. Known Values: none | straight | true-shape | true-shape-with-measure. */
|
|
29
|
-
outputLines?: string;
|
|
30
|
-
/** The type of output polygons to be generated in the result. The default is as defined in the specific routing network layer used. Known Values: none | simplified | detailed. */
|
|
31
|
-
outputPolygons?: string;
|
|
32
|
-
/** The spatial reference (or well-known ID of same) for the geometries returned with the analysis results. If not specified, the geometries are returned in the spatial reference of the map. */
|
|
33
|
-
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
34
|
-
/** Indicates if the lines should overlap from multiple facilities. The default is defined by the network analysis layer. Default Value: false */
|
|
35
|
-
overlapLines?: boolean;
|
|
36
|
-
/** Indicates if the polygons should overlap from multiple facilities. The default is defined by the network analysis layer. Default Value: false */
|
|
37
|
-
overlapPolygons?: boolean;
|
|
38
|
-
/** The set of point barriers loaded as network locations during analysis. Can be an instance of a DataLayer or FeatureSet. Either a URL or features should be supplied, but not both. */
|
|
39
|
-
pointBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
40
|
-
/** The set of polygon barriers loaded as network locations during analysis. At ArcGIS Server 10.1, an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
41
|
-
polygonBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
42
|
-
/** The set of polyline barriers loaded as network locations during analysis. At ArcGIS Server 10.1, an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
43
|
-
polylineBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
44
|
-
/** The list of network attribute names to be used as restrictions with the analysis. The default is as defined in the specific routing network layer used in your ServiceAreaTask. Possible values are listed in the Service Directory under Network Dataset -> Network Attributes. You can also specify a value of none to indicate that no network attributes should be used as restrictions. If you specify an empty array, it will default to the default of the service. */
|
|
45
|
-
restrictionAttributes?: string[];
|
|
46
|
-
/** Specifies how U-Turns should be handled. The default is as defined in the specific routing network layer. Known Values: allow-backtrack | at-dead-ends-only | no-backtrack | at-dead-ends-and-intersections. */
|
|
47
|
-
restrictUTurns?: string;
|
|
48
|
-
/** If true, facilities will be returned with the analysis results. Default Value: false */
|
|
49
|
-
returnFacilities?: boolean;
|
|
50
|
-
/** If true, point barriers will be returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
51
|
-
returnPointBarriers?: boolean;
|
|
52
|
-
/** If true, polygon barriers are returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
53
|
-
returnPolygonBarriers?: boolean;
|
|
54
|
-
/** If true, polyline barriers are returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
55
|
-
returnPolylineBarriers?: boolean;
|
|
56
|
-
/** If true, lines will be split at breaks. Default Value: false. */
|
|
57
|
-
splitLinesAtBreaks?: boolean;
|
|
58
|
-
/** If true, polygons will be split at breaks. Default Value: false. */
|
|
59
|
-
splitPolygonsAtBreaks?: boolean;
|
|
60
|
-
/** The arrival or departure date and time. For example, if the travelDirection is set to TO_FACILITY and timeOfDayUsage is set to "end" and timeOfDay is set to 8:00 a.m., the returned route(s) will be setup to arrive at the facility at 8:00 a.m. local time. Requires ArcGIS Server service version 10.1 or greater. */
|
|
61
|
-
timeOfDay?: Date;
|
|
62
|
-
/** Options for traveling to or from the facility. Default values are defined by the network layer. Known Values: from-facility | to-facility. */
|
|
63
|
-
travelDirection?: string;
|
|
64
|
-
/** If true, the outermost polygon (at the maximum break value) will be trimmed. The default is defined in the network analysis layer. Default Value: false */
|
|
65
|
-
trimOuterPolygon?: boolean;
|
|
66
|
-
/** If polygons are being trimmed, provides the distance to trim. The default value is defined in the network analysis layer. */
|
|
67
|
-
trimPolygonDistance?: number;
|
|
68
|
-
/** If polygons are being trimmed, specifies the units of trimPolygonDistance. The default is defined in the network analysis layer. */
|
|
69
|
-
trimPolygonDistanceUnits?: string;
|
|
70
|
-
/** If true, the hierarchy attribute for the network should be used in analysis. The default is as defined in the specific routing network layer. */
|
|
71
|
-
useHierarchy?: boolean;
|
|
72
|
-
}
|
|
73
|
-
/** defines outputs for the Service Area Task activity. */
|
|
74
|
-
export interface ServiceAreaTaskOutputs {
|
|
75
|
-
facilities: __esri.FeatureSet;
|
|
76
|
-
messages: __esri.NAMessage[];
|
|
77
|
-
pointBarriers: __esri.FeatureSet;
|
|
78
|
-
polygonBarriers: __esri.FeatureSet;
|
|
79
|
-
polylineBarriers: __esri.FeatureSet;
|
|
80
|
-
serviceAreaPolygons: __esri.FeatureSet;
|
|
81
|
-
serviceAreaPolylines: __esri.FeatureSet;
|
|
82
|
-
}
|
|
83
|
-
export declare class ServiceAreaTask implements IActivityHandler {
|
|
84
|
-
static readonly action = "gcx:wf:arcgis::ServiceAreaTask";
|
|
85
|
-
static readonly suite = "gcx:wf:builtin";
|
|
86
|
-
execute(inputs: ServiceAreaTaskInputs, context: IActivityContext, mapProvider: typeof MapProvider): Promise<ServiceAreaTaskOutputs>;
|
|
87
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the basic Service Area Task activity. This task is related to the Route and Service Area tasks. */
|
|
4
|
+
export interface ServiceAreaTaskInputs {
|
|
5
|
+
/** The URL to the ArcGIS network analysis service. */
|
|
6
|
+
url: string;
|
|
7
|
+
/** The set of facilities loaded as network locations during analysis. These can be specified as either a DataLayer or a FeatureSet. Either the URL or the features should be specified, but not both. */
|
|
8
|
+
facilities: __esri.DataLayer | __esri.FeatureSet;
|
|
9
|
+
/** The list of network attribute names to be accumulated with the analysis; i.e., which attributes should be returned as part of the response. The defaulted is as defined in the specific routing network layer. See: http://resources.arcgis.com/en/help/main/10.2/index.html#//00470000000m000000 */
|
|
10
|
+
accumulateAttributes?: string[];
|
|
11
|
+
/** An array of parameter values. If present, an attribute name, parameter name, and value must be specified. */
|
|
12
|
+
attributeParameterValues?: any[];
|
|
13
|
+
/** An array of numbers defining the breaks. */
|
|
14
|
+
defaultBreaks?: number[];
|
|
15
|
+
/** If true, avoids network elements restricted by barriers or restrictions specified in restrictionAttributes. Default value: true. */
|
|
16
|
+
doNotLocateOnRestrictedElements?: boolean;
|
|
17
|
+
/** An array of network source names to NOT use when generating polygons. */
|
|
18
|
+
excludeSourcesFromPolygons?: string[];
|
|
19
|
+
/** The network attribute name to be used as the impedance attribute in the analysis. The default is as defined in the routing network layer. You can specify any attribute names listed in the Service Directory under Network Dataset -> Network Attributes as "Usage Type: esriNAUTCost". You can also specify a value of "none" to indicate that no network attributes should be used for impedance. For example, set impedanceAttribute to "Time" for the quickest route, or to "Length" for the shortest drive, assuming the service has those two esriNAUTCost attributes. */
|
|
20
|
+
impedanceAttribute?: string;
|
|
21
|
+
impedenceAttribute?: string;
|
|
22
|
+
/** If true, similar ranges will be merged in the resulting polygons. Default Value: false. */
|
|
23
|
+
mergeSimilarPolygonRanges?: boolean;
|
|
24
|
+
/** The precision of the output geometry after generalization. If 0, no generalization of output geometry is performed. If present and positive, it represents the MaximumAllowableOffset parameter and generalization is performed according to IPolycurve.Generalize. */
|
|
25
|
+
outputGeometryPrecision?: number;
|
|
26
|
+
/** The units of the output geometry precision. Known Values: centimeters | decimal-degrees | decimeters | feet | inches | kilometers | meters | miles | millimeters | nautical-miles | points | yards. */
|
|
27
|
+
outputGeometryPrecisionUnits?: string;
|
|
28
|
+
/** The type of output lines to be generated in the result. Default Value: true-shape. Known Values: none | straight | true-shape | true-shape-with-measure. */
|
|
29
|
+
outputLines?: string;
|
|
30
|
+
/** The type of output polygons to be generated in the result. The default is as defined in the specific routing network layer used. Known Values: none | simplified | detailed. */
|
|
31
|
+
outputPolygons?: string;
|
|
32
|
+
/** The spatial reference (or well-known ID of same) for the geometries returned with the analysis results. If not specified, the geometries are returned in the spatial reference of the map. */
|
|
33
|
+
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
34
|
+
/** Indicates if the lines should overlap from multiple facilities. The default is defined by the network analysis layer. Default Value: false */
|
|
35
|
+
overlapLines?: boolean;
|
|
36
|
+
/** Indicates if the polygons should overlap from multiple facilities. The default is defined by the network analysis layer. Default Value: false */
|
|
37
|
+
overlapPolygons?: boolean;
|
|
38
|
+
/** The set of point barriers loaded as network locations during analysis. Can be an instance of a DataLayer or FeatureSet. Either a URL or features should be supplied, but not both. */
|
|
39
|
+
pointBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
40
|
+
/** The set of polygon barriers loaded as network locations during analysis. At ArcGIS Server 10.1, an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
41
|
+
polygonBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
42
|
+
/** The set of polyline barriers loaded as network locations during analysis. At ArcGIS Server 10.1, an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
43
|
+
polylineBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
44
|
+
/** The list of network attribute names to be used as restrictions with the analysis. The default is as defined in the specific routing network layer used in your ServiceAreaTask. Possible values are listed in the Service Directory under Network Dataset -> Network Attributes. You can also specify a value of none to indicate that no network attributes should be used as restrictions. If you specify an empty array, it will default to the default of the service. */
|
|
45
|
+
restrictionAttributes?: string[];
|
|
46
|
+
/** Specifies how U-Turns should be handled. The default is as defined in the specific routing network layer. Known Values: allow-backtrack | at-dead-ends-only | no-backtrack | at-dead-ends-and-intersections. */
|
|
47
|
+
restrictUTurns?: string;
|
|
48
|
+
/** If true, facilities will be returned with the analysis results. Default Value: false */
|
|
49
|
+
returnFacilities?: boolean;
|
|
50
|
+
/** If true, point barriers will be returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
51
|
+
returnPointBarriers?: boolean;
|
|
52
|
+
/** If true, polygon barriers are returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
53
|
+
returnPolygonBarriers?: boolean;
|
|
54
|
+
/** If true, polyline barriers are returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
55
|
+
returnPolylineBarriers?: boolean;
|
|
56
|
+
/** If true, lines will be split at breaks. Default Value: false. */
|
|
57
|
+
splitLinesAtBreaks?: boolean;
|
|
58
|
+
/** If true, polygons will be split at breaks. Default Value: false. */
|
|
59
|
+
splitPolygonsAtBreaks?: boolean;
|
|
60
|
+
/** The arrival or departure date and time. For example, if the travelDirection is set to TO_FACILITY and timeOfDayUsage is set to "end" and timeOfDay is set to 8:00 a.m., the returned route(s) will be setup to arrive at the facility at 8:00 a.m. local time. Requires ArcGIS Server service version 10.1 or greater. */
|
|
61
|
+
timeOfDay?: Date;
|
|
62
|
+
/** Options for traveling to or from the facility. Default values are defined by the network layer. Known Values: from-facility | to-facility. */
|
|
63
|
+
travelDirection?: string;
|
|
64
|
+
/** If true, the outermost polygon (at the maximum break value) will be trimmed. The default is defined in the network analysis layer. Default Value: false */
|
|
65
|
+
trimOuterPolygon?: boolean;
|
|
66
|
+
/** If polygons are being trimmed, provides the distance to trim. The default value is defined in the network analysis layer. */
|
|
67
|
+
trimPolygonDistance?: number;
|
|
68
|
+
/** If polygons are being trimmed, specifies the units of trimPolygonDistance. The default is defined in the network analysis layer. */
|
|
69
|
+
trimPolygonDistanceUnits?: string;
|
|
70
|
+
/** If true, the hierarchy attribute for the network should be used in analysis. The default is as defined in the specific routing network layer. */
|
|
71
|
+
useHierarchy?: boolean;
|
|
72
|
+
}
|
|
73
|
+
/** defines outputs for the Service Area Task activity. */
|
|
74
|
+
export interface ServiceAreaTaskOutputs {
|
|
75
|
+
facilities: __esri.FeatureSet;
|
|
76
|
+
messages: __esri.NAMessage[];
|
|
77
|
+
pointBarriers: __esri.FeatureSet;
|
|
78
|
+
polygonBarriers: __esri.FeatureSet;
|
|
79
|
+
polylineBarriers: __esri.FeatureSet;
|
|
80
|
+
serviceAreaPolygons: __esri.FeatureSet;
|
|
81
|
+
serviceAreaPolylines: __esri.FeatureSet;
|
|
82
|
+
}
|
|
83
|
+
export declare class ServiceAreaTask implements IActivityHandler {
|
|
84
|
+
static readonly action = "gcx:wf:arcgis::ServiceAreaTask";
|
|
85
|
+
static readonly suite = "gcx:wf:builtin";
|
|
86
|
+
execute(inputs: ServiceAreaTaskInputs, context: IActivityContext, mapProvider: typeof MapProvider): Promise<ServiceAreaTaskOutputs>;
|
|
87
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{solve}from"@arcgis/core/rest/serviceArea";import ServiceAreaParams from"@arcgis/core/rest/support/ServiceAreaParameters";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";import{schedulePromiseCancellation}from"./tools.js";let ServiceAreaTask=class{async execute(i,
|
|
1
|
+
import{__decorate}from"tslib";import{solve}from"@arcgis/core/rest/serviceArea";import ServiceAreaParams from"@arcgis/core/rest/support/ServiceAreaParameters";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";import{schedulePromiseCancellation}from"./tools.js";let ServiceAreaTask=class{async execute(e,i,r){var t=validation.string("url",e.url,validation.never);const o=new ServiceAreaParams({facilities:validation.exists("facilities",e.facilities),accumulateAttributes:validation.array("accumulateAttributes",e.accumulateAttributes),attributeParameterValues:e.attributeParameterValues,defaultBreaks:e.defaultBreaks,excludeSourcesFromPolygons:e.excludeSourcesFromPolygons,impedanceAttribute:validation.string("impedanceAttribute",e.impedanceAttribute,void 0),mergeSimilarPolygonRanges:validation.boolean("mergeSimilarPolygonRanges",e.mergeSimilarPolygonRanges,void 0),outputGeometryPrecision:validation.number("outputGeometryPrecision",e.outputGeometryPrecision,void 0),outputGeometryPrecisionUnits:validation.string("outputGeometryPrecisionUnits",e.outputGeometryPrecisionUnits,void 0),outputLines:validation.string("outputLines",e.outputLines,void 0),outputPolygons:validation.string("outputPolygons",e.outputPolygons,void 0),overlapLines:validation.boolean("overlapLines",e.overlapLines,void 0),overlapPolygons:validation.boolean("overlapPolygons",e.overlapPolygons,void 0),pointBarriers:e.pointBarriers,polygonBarriers:e.polygonBarriers,polylineBarriers:e.polylineBarriers,restrictionAttributes:e.restrictionAttributes,restrictUTurns:validation.string("restrictUTurns",e.restrictUTurns,void 0),returnFacilities:validation.boolean("returnFacilities",e.returnFacilities,void 0),returnPointBarriers:validation.boolean("returnPointBarriers",e.returnPointBarriers,void 0),returnPolygonBarriers:validation.boolean("returnPolygonBarriers",e.returnPolygonBarriers,void 0),returnPolylineBarriers:validation.boolean("returnPolylineBarriers",e.returnPolylineBarriers,void 0),splitLinesAtBreaks:validation.boolean("splitLinesAtBreaks",e.splitLinesAtBreaks,void 0),splitPolygonsAtBreaks:validation.boolean("splitPolygonsAtBreaks",e.splitPolygonsAtBreaks,void 0),timeOfDay:e.timeOfDay,travelDirection:validation.string("travelDirection",e.travelDirection,void 0),trimOuterPolygon:validation.boolean("trimOuterPolygon",e.trimOuterPolygon,void 0),trimPolygonDistance:validation.number("trimPolygonDistance",e.trimPolygonDistance,void 0),trimPolygonDistanceUnits:validation.string("trimPolygonDistanceUnits",e.trimPolygonDistanceUnits,void 0),useHierarchy:validation.boolean("useHierarchy",e.useHierarchy,void 0),outSpatialReference:r.getOutSR(e.outSpatialReference)});o.impedanceAttribute||(o.impedanceAttribute=validation.string("impedenceAttribute",e.impedenceAttribute,void 0));e={signal:i.cancellationToken.signal},e=solve(t,o,e);schedulePromiseCancellation(i,e);e=await e;return{facilities:e.facilities,messages:e.messages,pointBarriers:e.pointBarriers,polygonBarriers:e.polygonBarriers,polylineBarriers:e.polylineBarriers,serviceAreaPolygons:e.serviceAreaPolygons,serviceAreaPolylines:e.serviceAreaPolylines}}};ServiceAreaTask.action="gcx:wf:arcgis::ServiceAreaTask",ServiceAreaTask.suite="gcx:wf:builtin",ServiceAreaTask=__decorate([activate(MapProvider)],ServiceAreaTask);export{ServiceAreaTask};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the SetFeatureAttribute activity. */
|
|
3
|
-
export interface SetFeatureAttributeInputs {
|
|
4
|
-
/** The feature to set the attribute on. */
|
|
5
|
-
feature: __esri.Graphic;
|
|
6
|
-
/** The name of the attribute to set. */
|
|
7
|
-
attributeName: string;
|
|
8
|
-
/** The value of the attribute. */
|
|
9
|
-
attributeValue?: any;
|
|
10
|
-
}
|
|
11
|
-
export declare class SetFeatureAttribute implements IActivityHandler {
|
|
12
|
-
static readonly action = "gcx:wf:arcgis::SetFeatureAttribute";
|
|
13
|
-
static readonly suite = "gcx:wf:builtin";
|
|
14
|
-
execute(inputs: SetFeatureAttributeInputs): EmptyOutputs;
|
|
15
|
-
}
|
|
1
|
+
import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the SetFeatureAttribute activity. */
|
|
3
|
+
export interface SetFeatureAttributeInputs {
|
|
4
|
+
/** The feature to set the attribute on. */
|
|
5
|
+
feature: __esri.Graphic;
|
|
6
|
+
/** The name of the attribute to set. */
|
|
7
|
+
attributeName: string;
|
|
8
|
+
/** The value of the attribute. */
|
|
9
|
+
attributeValue?: any;
|
|
10
|
+
}
|
|
11
|
+
export declare class SetFeatureAttribute implements IActivityHandler {
|
|
12
|
+
static readonly action = "gcx:wf:arcgis::SetFeatureAttribute";
|
|
13
|
+
static readonly suite = "gcx:wf:builtin";
|
|
14
|
+
execute(inputs: SetFeatureAttributeInputs): EmptyOutputs;
|
|
15
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the SetFeatureGeometry activity. */
|
|
3
|
-
export interface SetFeatureGeometryInputs {
|
|
4
|
-
/** The feature to set the geometry on. */
|
|
5
|
-
feature: __esri.Graphic;
|
|
6
|
-
/** The geometry to assign to the feature. */
|
|
7
|
-
geometry: __esri.Geometry;
|
|
8
|
-
}
|
|
9
|
-
export declare class SetFeatureGeometry implements IActivityHandler {
|
|
10
|
-
static readonly action = "gcx:wf:arcgis::SetFeatureGeometry";
|
|
11
|
-
static readonly suite = "gcx:wf:builtin";
|
|
12
|
-
execute(inputs: SetFeatureGeometryInputs): EmptyOutputs;
|
|
13
|
-
}
|
|
1
|
+
import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the SetFeatureGeometry activity. */
|
|
3
|
+
export interface SetFeatureGeometryInputs {
|
|
4
|
+
/** The feature to set the geometry on. */
|
|
5
|
+
feature: __esri.Graphic;
|
|
6
|
+
/** The geometry to assign to the feature. */
|
|
7
|
+
geometry: __esri.Geometry;
|
|
8
|
+
}
|
|
9
|
+
export declare class SetFeatureGeometry implements IActivityHandler {
|
|
10
|
+
static readonly action = "gcx:wf:arcgis::SetFeatureGeometry";
|
|
11
|
+
static readonly suite = "gcx:wf:builtin";
|
|
12
|
+
execute(inputs: SetFeatureGeometryInputs): EmptyOutputs;
|
|
13
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
export interface SetFeaturePopupInputs {
|
|
4
|
-
template: object;
|
|
5
|
-
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
}
|
|
7
|
-
/** Sets a popup template on the given features. */
|
|
8
|
-
export declare class SetFeaturePopup implements IActivityHandler {
|
|
9
|
-
static readonly action = "gcx:wf:arcgis::SetFeaturePopup";
|
|
10
|
-
static readonly suite = "gcx:wf:builtin";
|
|
11
|
-
execute(inputs: SetFeaturePopupInputs, _context: IActivityContext, type: typeof MapProvider): EmptyOutputs;
|
|
12
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
export interface SetFeaturePopupInputs {
|
|
4
|
+
template: object;
|
|
5
|
+
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
+
}
|
|
7
|
+
/** Sets a popup template on the given features. */
|
|
8
|
+
export declare class SetFeaturePopup implements IActivityHandler {
|
|
9
|
+
static readonly action = "gcx:wf:arcgis::SetFeaturePopup";
|
|
10
|
+
static readonly suite = "gcx:wf:builtin";
|
|
11
|
+
execute(inputs: SetFeaturePopupInputs, _context: IActivityContext, type: typeof MapProvider): EmptyOutputs;
|
|
12
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the SetFeatureSymbol activity. */
|
|
3
|
-
export interface SetFeatureSymbolInputs {
|
|
4
|
-
/** The feature to set the symbol on. */
|
|
5
|
-
feature: __esri.Graphic;
|
|
6
|
-
/** The symbol to assign to the feature. */
|
|
7
|
-
symbol: __esri.Symbol;
|
|
8
|
-
}
|
|
9
|
-
export declare class SetFeatureSymbol implements IActivityHandler {
|
|
10
|
-
static readonly action = "gcx:wf:arcgis::SetFeatureSymbol";
|
|
11
|
-
static readonly suite = "gcx:wf:builtin";
|
|
12
|
-
execute(inputs: SetFeatureSymbolInputs): EmptyOutputs;
|
|
13
|
-
}
|
|
1
|
+
import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the SetFeatureSymbol activity. */
|
|
3
|
+
export interface SetFeatureSymbolInputs {
|
|
4
|
+
/** The feature to set the symbol on. */
|
|
5
|
+
feature: __esri.Graphic;
|
|
6
|
+
/** The symbol to assign to the feature. */
|
|
7
|
+
symbol: __esri.Symbol;
|
|
8
|
+
}
|
|
9
|
+
export declare class SetFeatureSymbol implements IActivityHandler {
|
|
10
|
+
static readonly action = "gcx:wf:arcgis::SetFeatureSymbol";
|
|
11
|
+
static readonly suite = "gcx:wf:builtin";
|
|
12
|
+
execute(inputs: SetFeatureSymbolInputs): EmptyOutputs;
|
|
13
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs to the SetImageryLayerInfo activity. */
|
|
4
|
-
export interface SetImageryLayerOptionsInputs {
|
|
5
|
-
/** The ID of the imagery layer to be updated. */
|
|
6
|
-
layerId: string | number;
|
|
7
|
-
/** The mosaic rule to apply to the imagery layer. */
|
|
8
|
-
mosaicRule?: __esri.MosaicRule | __esri.MosaicRuleProperties;
|
|
9
|
-
/** The raster function used to render the imagery layer. */
|
|
10
|
-
renderingRule?: __esri.RasterFunction | __esri.RasterFunctionProperties;
|
|
11
|
-
/** The filter used to process the pixel data of the imagery layer. The pixelData object contains a pixelBlock property that gives you access to all of the pixels in the raster on the client. */
|
|
12
|
-
pixelFilter?: Function;
|
|
13
|
-
}
|
|
14
|
-
/** Defines outputs to the SetImageryLayerInfo activity. */
|
|
15
|
-
export interface SetImageryLayerOptionsOutputs {
|
|
16
|
-
/** Indicates the mosaic rule used. */
|
|
17
|
-
mosaicRule?: __esri.MosaicRule;
|
|
18
|
-
/** Indicates the rendering rule used. */
|
|
19
|
-
renderingRule?: __esri.RasterFunction;
|
|
20
|
-
/** Indicates the pixel function used. */
|
|
21
|
-
pixelFilter?: Function;
|
|
22
|
-
}
|
|
23
|
-
export declare class SetImageryLayerOptions implements IActivityHandler {
|
|
24
|
-
static readonly action = "gcx:wf:arcgis::SetImageryLayerOptions";
|
|
25
|
-
static readonly suite = "gcx:wf:builtin";
|
|
26
|
-
execute(inputs: SetImageryLayerOptionsInputs, _context: IActivityContext, type: typeof MapProvider): Promise<SetImageryLayerOptionsOutputs>;
|
|
27
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs to the SetImageryLayerInfo activity. */
|
|
4
|
+
export interface SetImageryLayerOptionsInputs {
|
|
5
|
+
/** The ID of the imagery layer to be updated. */
|
|
6
|
+
layerId: string | number;
|
|
7
|
+
/** The mosaic rule to apply to the imagery layer. */
|
|
8
|
+
mosaicRule?: __esri.MosaicRule | __esri.MosaicRuleProperties;
|
|
9
|
+
/** The raster function used to render the imagery layer. */
|
|
10
|
+
renderingRule?: __esri.RasterFunction | __esri.RasterFunctionProperties;
|
|
11
|
+
/** The filter used to process the pixel data of the imagery layer. The pixelData object contains a pixelBlock property that gives you access to all of the pixels in the raster on the client. */
|
|
12
|
+
pixelFilter?: Function;
|
|
13
|
+
}
|
|
14
|
+
/** Defines outputs to the SetImageryLayerInfo activity. */
|
|
15
|
+
export interface SetImageryLayerOptionsOutputs {
|
|
16
|
+
/** Indicates the mosaic rule used. */
|
|
17
|
+
mosaicRule?: __esri.MosaicRule;
|
|
18
|
+
/** Indicates the rendering rule used. */
|
|
19
|
+
renderingRule?: __esri.RasterFunction;
|
|
20
|
+
/** Indicates the pixel function used. */
|
|
21
|
+
pixelFilter?: Function;
|
|
22
|
+
}
|
|
23
|
+
export declare class SetImageryLayerOptions implements IActivityHandler {
|
|
24
|
+
static readonly action = "gcx:wf:arcgis::SetImageryLayerOptions";
|
|
25
|
+
static readonly suite = "gcx:wf:builtin";
|
|
26
|
+
execute(inputs: SetImageryLayerOptionsInputs, _context: IActivityContext, type: typeof MapProvider): Promise<SetImageryLayerOptionsOutputs>;
|
|
27
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the SetLayerDefinitionExpression activity. */
|
|
4
|
-
export interface SetLayerDefinitionExpressionInputs {
|
|
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
|
-
/** The layer definition expression. */
|
|
10
|
-
expression: string;
|
|
11
|
-
}
|
|
12
|
-
/** Defines outputs for the SetLayerDefinitionExpression activity. */
|
|
13
|
-
export interface SetLayerDefinitionExpressionOutputs {
|
|
14
|
-
oldExpression
|
|
15
|
-
newExpression
|
|
16
|
-
}
|
|
17
|
-
export declare class SetLayerDefinitionExpression implements IActivityHandler {
|
|
18
|
-
static readonly action = "gcx:wf:arcgis::SetLayerDefinitionExpression";
|
|
19
|
-
static readonly suite = "gcx:wf:builtin";
|
|
20
|
-
execute(inputs: SetLayerDefinitionExpressionInputs, _context: IActivityContext, type: typeof MapProvider): Promise<SetLayerDefinitionExpressionOutputs>;
|
|
21
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the SetLayerDefinitionExpression activity. */
|
|
4
|
+
export interface SetLayerDefinitionExpressionInputs {
|
|
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
|
+
/** The layer definition expression. */
|
|
10
|
+
expression: string;
|
|
11
|
+
}
|
|
12
|
+
/** Defines outputs for the SetLayerDefinitionExpression activity. */
|
|
13
|
+
export interface SetLayerDefinitionExpressionOutputs {
|
|
14
|
+
oldExpression?: string;
|
|
15
|
+
newExpression?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class SetLayerDefinitionExpression implements IActivityHandler {
|
|
18
|
+
static readonly action = "gcx:wf:arcgis::SetLayerDefinitionExpression";
|
|
19
|
+
static readonly suite = "gcx:wf:builtin";
|
|
20
|
+
execute(inputs: SetLayerDefinitionExpressionInputs, _context: IActivityContext, type: typeof MapProvider): Promise<SetLayerDefinitionExpressionOutputs>;
|
|
21
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let SetLayerDefinitionExpression=class{async execute(i,e,o){var n=validation.string("expression",i.expression,validation.never)
|
|
1
|
+
import{__decorate}from"tslib";import{activate}from"../../Hooks.js";import{validation}from"../../Validation.js";import{MapProvider}from"./MapProvider.js";let SetLayerDefinitionExpression=class{async execute(i,e,o){var n=validation.string("expression",i.expression,validation.never),r=validation.id("layerId",i.layerId,validation.never),i=validation.id("sublayerId",i.sublayerId,void 0);const t=o.create();await t.load();const s=t.findLayer(r);if(void 0===s||null===s)return{};{if(await s.load(),void 0===i)return{oldExpression:s.getDefinitionExpression(),newExpression:s.setDefinitionExpression(n)?n:void 0};const a=t.findLayer(i,s.layer);return void 0===a||null===a?{}:{oldExpression:a.getDefinitionExpression(),newExpression:a.setDefinitionExpression(n)?n:void 0}}}};SetLayerDefinitionExpression.action="gcx:wf:arcgis::SetLayerDefinitionExpression",SetLayerDefinitionExpression.suite="gcx:wf:builtin",SetLayerDefinitionExpression=__decorate([activate(MapProvider)],SetLayerDefinitionExpression);export{SetLayerDefinitionExpression};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
export interface SetLayerPopupInputs {
|
|
4
|
-
template: object;
|
|
5
|
-
layerId: string | number;
|
|
6
|
-
}
|
|
7
|
-
/** Sets a popup template on the given layer. The popup applies to all features of the layer. */
|
|
8
|
-
export declare class SetLayerPopup implements IActivityHandler {
|
|
9
|
-
static readonly action = "gcx:wf:arcgis::SetLayerPopup";
|
|
10
|
-
static readonly suite = "gcx:wf:builtin";
|
|
11
|
-
execute(inputs: SetLayerPopupInputs, _context: IActivityContext, type: typeof MapProvider): Promise<EmptyOutputs>;
|
|
12
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
export interface SetLayerPopupInputs {
|
|
4
|
+
template: object;
|
|
5
|
+
layerId: string | number;
|
|
6
|
+
}
|
|
7
|
+
/** Sets a popup template on the given layer. The popup applies to all features of the layer. */
|
|
8
|
+
export declare class SetLayerPopup implements IActivityHandler {
|
|
9
|
+
static readonly action = "gcx:wf:arcgis::SetLayerPopup";
|
|
10
|
+
static readonly suite = "gcx:wf:builtin";
|
|
11
|
+
execute(inputs: SetLayerPopupInputs, _context: IActivityContext, type: typeof MapProvider): Promise<EmptyOutputs>;
|
|
12
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the SetLayerProperty activity. */
|
|
4
|
-
export interface SetLayerPropertyInputs {
|
|
5
|
-
/** The ID of the layer whose property is of interest. */
|
|
6
|
-
layerId: string | number;
|
|
7
|
-
/** The name of the property of interest. This name is case-sensitive. */
|
|
8
|
-
name: string;
|
|
9
|
-
/** The value for the property to set. */
|
|
10
|
-
value: any;
|
|
11
|
-
}
|
|
12
|
-
/** Defines outputs for the SetLayerProperty activity. */
|
|
13
|
-
export interface SetLayerPropertyOutputs {
|
|
14
|
-
/** The old value. */
|
|
15
|
-
oldValue: any;
|
|
16
|
-
/** The new value. */
|
|
17
|
-
newValue: any;
|
|
18
|
-
}
|
|
19
|
-
export declare class SetLayerProperty implements IActivityHandler {
|
|
20
|
-
static readonly action = "gcx:wf:arcgis::SetLayerProperty";
|
|
21
|
-
static readonly suite = "gcx:wf:builtin";
|
|
22
|
-
execute(inputs: SetLayerPropertyInputs, _context: IActivityContext, type: typeof MapProvider): Promise<SetLayerPropertyOutputs>;
|
|
23
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the SetLayerProperty activity. */
|
|
4
|
+
export interface SetLayerPropertyInputs {
|
|
5
|
+
/** The ID of the layer whose property is of interest. */
|
|
6
|
+
layerId: string | number;
|
|
7
|
+
/** The name of the property of interest. This name is case-sensitive. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** The value for the property to set. */
|
|
10
|
+
value: any;
|
|
11
|
+
}
|
|
12
|
+
/** Defines outputs for the SetLayerProperty activity. */
|
|
13
|
+
export interface SetLayerPropertyOutputs {
|
|
14
|
+
/** The old value. */
|
|
15
|
+
oldValue: any;
|
|
16
|
+
/** The new value. */
|
|
17
|
+
newValue: any;
|
|
18
|
+
}
|
|
19
|
+
export declare class SetLayerProperty implements IActivityHandler {
|
|
20
|
+
static readonly action = "gcx:wf:arcgis::SetLayerProperty";
|
|
21
|
+
static readonly suite = "gcx:wf:builtin";
|
|
22
|
+
execute(inputs: SetLayerPropertyInputs, _context: IActivityContext, type: typeof MapProvider): Promise<SetLayerPropertyOutputs>;
|
|
23
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines inputs for the SetLayerVisibility activity. */
|
|
4
|
-
export interface SetLayerVisibilityInputs {
|
|
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
|
-
/** The visibility to set on the layer. */
|
|
10
|
-
visible
|
|
11
|
-
}
|
|
12
|
-
/** Defines outputs for the SetLayerVisibility activity. */
|
|
13
|
-
export interface SetLayerVisibilityOutputs {
|
|
14
|
-
/** Indicates that the layer was visible. */
|
|
15
|
-
wasVisible
|
|
16
|
-
/** Indicates that the layer is visibile at the time of completing the activity. */
|
|
17
|
-
nowVisible
|
|
18
|
-
}
|
|
19
|
-
export declare class SetLayerVisibility implements IActivityHandler {
|
|
20
|
-
static readonly action = "gcx:wf:arcgis::SetLayerVisibility";
|
|
21
|
-
static readonly suite = "gcx:wf:builtin";
|
|
22
|
-
execute(inputs: SetLayerVisibilityInputs, _context: IActivityContext, type: typeof MapProvider): Promise<SetLayerVisibilityOutputs>;
|
|
23
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines inputs for the SetLayerVisibility activity. */
|
|
4
|
+
export interface SetLayerVisibilityInputs {
|
|
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
|
+
/** The visibility to set on the layer. */
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/** Defines outputs for the SetLayerVisibility activity. */
|
|
13
|
+
export interface SetLayerVisibilityOutputs {
|
|
14
|
+
/** Indicates that the layer was visible. */
|
|
15
|
+
wasVisible?: boolean;
|
|
16
|
+
/** Indicates that the layer is visibile at the time of completing the activity. */
|
|
17
|
+
nowVisible?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare class SetLayerVisibility implements IActivityHandler {
|
|
20
|
+
static readonly action = "gcx:wf:arcgis::SetLayerVisibility";
|
|
21
|
+
static readonly suite = "gcx:wf:builtin";
|
|
22
|
+
execute(inputs: SetLayerVisibilityInputs, _context: IActivityContext, type: typeof MapProvider): Promise<SetLayerVisibilityOutputs>;
|
|
23
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
-
/**
|
|
3
|
-
* Defines inputs for the SetMap activity.
|
|
4
|
-
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
5
|
-
*/
|
|
6
|
-
export interface SetMapInputs {
|
|
7
|
-
/** The unique id of the map to use from now on. */
|
|
8
|
-
mapId: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class SetMap implements IActivityHandler {
|
|
11
|
-
static readonly action = "gcx:wf:arcgis::SetMap";
|
|
12
|
-
static readonly suite = "gcx:wf:builtin";
|
|
13
|
-
execute(inputs: SetMapInputs, context: IActivityContext): EmptyOutputs;
|
|
14
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
+
/**
|
|
3
|
+
* Defines inputs for the SetMap activity.
|
|
4
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
5
|
+
*/
|
|
6
|
+
export interface SetMapInputs {
|
|
7
|
+
/** The unique id of the map to use from now on. */
|
|
8
|
+
mapId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class SetMap implements IActivityHandler {
|
|
11
|
+
static readonly action = "gcx:wf:arcgis::SetMap";
|
|
12
|
+
static readonly suite = "gcx:wf:builtin";
|
|
13
|
+
execute(inputs: SetMapInputs, context: IActivityContext): EmptyOutputs;
|
|
14
|
+
}
|