@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,12 +1,12 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
2
|
-
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/** Defines outputs for the GetViewpoint activity. */
|
|
4
|
-
export interface GetViewpointOutputs {
|
|
5
|
-
/** The viewpoint of the scene. */
|
|
6
|
-
viewpoint
|
|
7
|
-
}
|
|
8
|
-
export declare class GetViewpoint implements IActivityHandler {
|
|
9
|
-
static readonly action = "gcx:wf:arcgis::GetViewpoint";
|
|
10
|
-
static readonly suite = "gcx:wf:builtin";
|
|
11
|
-
execute(_inputs: EmptyInputs, _context: IActivityContext, type: typeof MapProvider): Promise<GetViewpointOutputs>;
|
|
12
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
2
|
+
import { MapProvider } from "./MapProvider";
|
|
3
|
+
/** Defines outputs for the GetViewpoint activity. */
|
|
4
|
+
export interface GetViewpointOutputs {
|
|
5
|
+
/** The viewpoint of the scene. */
|
|
6
|
+
viewpoint?: __esri.Viewpoint;
|
|
7
|
+
}
|
|
8
|
+
export declare class GetViewpoint implements IActivityHandler {
|
|
9
|
+
static readonly action = "gcx:wf:arcgis::GetViewpoint";
|
|
10
|
+
static readonly suite = "gcx:wf:builtin";
|
|
11
|
+
execute(_inputs: EmptyInputs, _context: IActivityContext, type: typeof MapProvider): Promise<GetViewpointOutputs>;
|
|
12
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Intersect activity. This activity relies on the geometry engine. */
|
|
3
|
-
export interface IntersectEngineTaskInputs {
|
|
4
|
-
/** The input geometry (or geometries). */
|
|
5
|
-
geometry1: __esri.Geometry | __esri.Geometry[];
|
|
6
|
-
/** The input geometry (or geometries). */
|
|
7
|
-
geometry2: __esri.Geometry | __esri.Geometry[];
|
|
8
|
-
}
|
|
9
|
-
/** Defines outputs for the Intersect activity. */
|
|
10
|
-
export interface IntersectEngineTaskOutputs {
|
|
11
|
-
/** Indicates the first intersection result. */
|
|
12
|
-
geometry?: __esri.Geometry;
|
|
13
|
-
/** Indicates all intersection results. */
|
|
14
|
-
results?: __esri.Geometry[];
|
|
15
|
-
}
|
|
16
|
-
export declare class IntersectEngineTask implements IActivityHandler {
|
|
17
|
-
static readonly action = "gcx:wf:arcgis::IntersectEngineTask";
|
|
18
|
-
static readonly suite = "gcx:wf:builtin";
|
|
19
|
-
execute(inputs: IntersectEngineTaskInputs): Promise<IntersectEngineTaskOutputs>;
|
|
20
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Intersect activity. This activity relies on the geometry engine. */
|
|
3
|
+
export interface IntersectEngineTaskInputs {
|
|
4
|
+
/** The input geometry (or geometries). */
|
|
5
|
+
geometry1: __esri.Geometry | __esri.Geometry[];
|
|
6
|
+
/** The input geometry (or geometries). */
|
|
7
|
+
geometry2: __esri.Geometry | __esri.Geometry[];
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs for the Intersect activity. */
|
|
10
|
+
export interface IntersectEngineTaskOutputs {
|
|
11
|
+
/** Indicates the first intersection result. */
|
|
12
|
+
geometry?: __esri.Geometry;
|
|
13
|
+
/** Indicates all intersection results. */
|
|
14
|
+
results?: __esri.Geometry[];
|
|
15
|
+
}
|
|
16
|
+
export declare class IntersectEngineTask implements IActivityHandler {
|
|
17
|
+
static readonly action = "gcx:wf:arcgis::IntersectEngineTask";
|
|
18
|
+
static readonly suite = "gcx:wf:builtin";
|
|
19
|
+
execute(inputs: IntersectEngineTaskInputs): Promise<IntersectEngineTaskOutputs>;
|
|
20
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the LabelPoints task. This tasks requires a geometry service. */
|
|
3
|
-
export interface LabelPointsServiceTaskInputs {
|
|
4
|
-
/** The URL of the ArcGIS geometry service. */
|
|
5
|
-
url: string;
|
|
6
|
-
/** The array of polygons to process. */
|
|
7
|
-
geometry: __esri.Polygon | __esri.Polygon[];
|
|
8
|
-
}
|
|
9
|
-
/** Defines outputs for the LabelPoints task. */
|
|
10
|
-
export interface LabelPointsServiceTaskOutputs {
|
|
11
|
-
/** An array of points defining the interior points of the input polygons that may be used for labeling. */
|
|
12
|
-
points: __esri.Point[];
|
|
13
|
-
}
|
|
14
|
-
export declare class LabelPointsServiceTask implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:arcgis::LabelPointsServiceTask";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: LabelPointsServiceTaskInputs, context: IActivityContext): Promise<LabelPointsServiceTaskOutputs>;
|
|
18
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the LabelPoints task. This tasks requires a geometry service. */
|
|
3
|
+
export interface LabelPointsServiceTaskInputs {
|
|
4
|
+
/** The URL of the ArcGIS geometry service. */
|
|
5
|
+
url: string;
|
|
6
|
+
/** The array of polygons to process. */
|
|
7
|
+
geometry: __esri.Polygon | __esri.Polygon[];
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs for the LabelPoints task. */
|
|
10
|
+
export interface LabelPointsServiceTaskOutputs {
|
|
11
|
+
/** An array of points defining the interior points of the input polygons that may be used for labeling. */
|
|
12
|
+
points: __esri.Point[];
|
|
13
|
+
}
|
|
14
|
+
export declare class LabelPointsServiceTask implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::LabelPointsServiceTask";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: LabelPointsServiceTaskInputs, context: IActivityContext): Promise<LabelPointsServiceTaskOutputs>;
|
|
18
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the Length activity. This activity relies on the geometry engine. */
|
|
3
|
-
export interface LengthEngineTaskInputs {
|
|
4
|
-
/** The input geometry whose length is to be calculated. */
|
|
5
|
-
geometry: __esri.Geometry;
|
|
6
|
-
/** Determines whether the length to be calculated is geodesic. If not, the planar length is returned. Defaults to false. Note: geodesic only works with WGS84 (wkid: 4326) and Web Mercator spatial references. */
|
|
7
|
-
geodesic?: boolean;
|
|
8
|
-
/** Measurement unit of the return value. Defaults to the units of the input geometry. Known values: meters | feet | kilometers | miles | nautical-miles | yards. */
|
|
9
|
-
unit?: "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards" | string | number;
|
|
10
|
-
}
|
|
11
|
-
/** Defines outputs for the Length activity. */
|
|
12
|
-
export interface LengthEngineTaskOutputs {
|
|
13
|
-
length: number;
|
|
14
|
-
}
|
|
15
|
-
export declare class LengthEngineTask implements IActivityHandler {
|
|
16
|
-
static readonly action = "gcx:wf:arcgis::LengthEngineTask";
|
|
17
|
-
static readonly suite = "gcx:wf:builtin";
|
|
18
|
-
private executeUsing;
|
|
19
|
-
execute(inputs: LengthEngineTaskInputs): Promise<LengthEngineTaskOutputs>;
|
|
20
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the Length activity. This activity relies on the geometry engine. */
|
|
3
|
+
export interface LengthEngineTaskInputs {
|
|
4
|
+
/** The input geometry whose length is to be calculated. */
|
|
5
|
+
geometry: __esri.Geometry;
|
|
6
|
+
/** Determines whether the length to be calculated is geodesic. If not, the planar length is returned. Defaults to false. Note: geodesic only works with WGS84 (wkid: 4326) and Web Mercator spatial references. */
|
|
7
|
+
geodesic?: boolean;
|
|
8
|
+
/** Measurement unit of the return value. Defaults to the units of the input geometry. Known values: meters | feet | kilometers | miles | nautical-miles | yards. */
|
|
9
|
+
unit?: "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards" | string | number;
|
|
10
|
+
}
|
|
11
|
+
/** Defines outputs for the Length activity. */
|
|
12
|
+
export interface LengthEngineTaskOutputs {
|
|
13
|
+
length: number;
|
|
14
|
+
}
|
|
15
|
+
export declare class LengthEngineTask implements IActivityHandler {
|
|
16
|
+
static readonly action = "gcx:wf:arcgis::LengthEngineTask";
|
|
17
|
+
static readonly suite = "gcx:wf:builtin";
|
|
18
|
+
private executeUsing;
|
|
19
|
+
execute(inputs: LengthEngineTaskInputs): Promise<LengthEngineTaskOutputs>;
|
|
20
|
+
}
|
|
@@ -1,132 +1,133 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
map
|
|
35
|
-
|
|
36
|
-
view
|
|
37
|
-
|
|
38
|
-
layer
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*
|
|
82
|
-
* @param
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
* to
|
|
88
|
-
*
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
getProperty(name: "
|
|
98
|
-
getProperty(name: "
|
|
99
|
-
getProperty(name:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
1
|
+
import SpatialReference from "@arcgis/core/geometry/SpatialReference";
|
|
2
|
+
import { Activator } from "../../Activator";
|
|
3
|
+
export type Map = MapProvider | __esri.Map | __esri.View;
|
|
4
|
+
export interface MapViewLike {
|
|
5
|
+
layers?: __esri.Collection;
|
|
6
|
+
map?: __esri.Map;
|
|
7
|
+
}
|
|
8
|
+
/** Extension for ESRI map views. */
|
|
9
|
+
export interface ViewExtension {
|
|
10
|
+
}
|
|
11
|
+
/** Extension for ESRI sublayers. */
|
|
12
|
+
export interface SublayerExtension {
|
|
13
|
+
}
|
|
14
|
+
/** Extension for ESRI map. */
|
|
15
|
+
export interface MapExtension {
|
|
16
|
+
}
|
|
17
|
+
/** Exposes map information. */
|
|
18
|
+
export interface MapInfo {
|
|
19
|
+
/** Gets the extent. */
|
|
20
|
+
getExtent(): __esri.Extent | undefined;
|
|
21
|
+
/** Gets the center. */
|
|
22
|
+
getCenter(): __esri.Point | undefined;
|
|
23
|
+
/** Gets the scale. */
|
|
24
|
+
getScale(): number | undefined;
|
|
25
|
+
/** Gets the spatial reference. */
|
|
26
|
+
getSpatialReference(): __esri.SpatialReference | undefined;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Provides functionality which affects the map.
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class MapProvider implements MapInfo {
|
|
33
|
+
static type: string;
|
|
34
|
+
/** Indicates the map. */
|
|
35
|
+
map?: __esri.Map & MapExtension;
|
|
36
|
+
/** Indicates the view. */
|
|
37
|
+
view?: __esri.View & ViewExtension;
|
|
38
|
+
/** Indicates the layer. */
|
|
39
|
+
layer?: __esri.Layer;
|
|
40
|
+
/** Indicates the sublayer. */
|
|
41
|
+
sublayer?: (__esri.Sublayer & SublayerExtension) | {
|
|
42
|
+
id?: string | number;
|
|
43
|
+
visible?: boolean;
|
|
44
|
+
};
|
|
45
|
+
/** Indicates the map name. */
|
|
46
|
+
mapName?: string;
|
|
47
|
+
/** Indicates the map name. */
|
|
48
|
+
type?: typeof MapProvider;
|
|
49
|
+
/** Gets the output SR (or the default). */
|
|
50
|
+
static getOutSR(sr?: __esri.SpatialReference | number | string): __esri.SpatialReference | undefined;
|
|
51
|
+
/** Creates an instance of this class. */
|
|
52
|
+
static create(): MapProvider;
|
|
53
|
+
/** Registers the provider class with the activator. */
|
|
54
|
+
static register(activator: Activator): void;
|
|
55
|
+
constructor(type: typeof MapProvider, mapView?: MapViewLike, mapName?: string);
|
|
56
|
+
/** Loads the map if applicable. */
|
|
57
|
+
protected loadMap(): PromiseLike<void> | undefined;
|
|
58
|
+
/** Loads the view if applicable. */
|
|
59
|
+
protected loadView(): PromiseLike<void> | undefined;
|
|
60
|
+
/** Loads the layer if applicable. */
|
|
61
|
+
protected loadLayer(): PromiseLike<void> | undefined;
|
|
62
|
+
/** Loads the map/layer. */
|
|
63
|
+
load(): PromiseLike<void>;
|
|
64
|
+
/** Gets the extent. */
|
|
65
|
+
getExtent(): __esri.Extent | undefined;
|
|
66
|
+
/** Gets the center. */
|
|
67
|
+
getCenter(): __esri.Point | undefined;
|
|
68
|
+
/** Gets the scale. */
|
|
69
|
+
getScale(): number | undefined;
|
|
70
|
+
/** Gets the spatial reference. */
|
|
71
|
+
getSpatialReference(): SpatialReference | undefined;
|
|
72
|
+
/** Gets the viewpoint. */
|
|
73
|
+
getViewpoint(): __esri.Viewpoint | undefined;
|
|
74
|
+
/** Sets the extent. */
|
|
75
|
+
setExtent(target: __esri.Geometry[], scale?: number): PromiseLike<void>;
|
|
76
|
+
/** Sets the viewpoint. */
|
|
77
|
+
setViewpoint(target: __esri.Geometry[], viewpoint?: __esri.Viewpoint): PromiseLike<void>;
|
|
78
|
+
/** Finds the layer. */
|
|
79
|
+
findLayer(id: string | number, parent?: __esri.Layer): MapProvider | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Finds a table in the map.
|
|
82
|
+
* @param id The unique id of the table.
|
|
83
|
+
* @param mapServiceId The unique id of the map service that the table belongs to.
|
|
84
|
+
*/
|
|
85
|
+
findTable(id: string, mapServiceId?: string): MapProvider | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Allows sub classes to convert ids to a different format,
|
|
88
|
+
* to suit their implementation.
|
|
89
|
+
* @param id The unique id of a sublayer.
|
|
90
|
+
*/
|
|
91
|
+
protected formatSubLayerId(id: any): any;
|
|
92
|
+
/** Gets the visibility for the map/layer. */
|
|
93
|
+
getVisible(): boolean | undefined;
|
|
94
|
+
/** Sets the visibility for the map/layer. */
|
|
95
|
+
setVisible(visible: boolean): boolean;
|
|
96
|
+
/** Gets the property's value for the map/layer. */
|
|
97
|
+
getProperty(name: "mosaicRule"): __esri.MosaicRule;
|
|
98
|
+
getProperty(name: "renderingRule"): __esri.RasterFunction;
|
|
99
|
+
getProperty(name: "pixelFilter"): Function;
|
|
100
|
+
getProperty(name: string): any;
|
|
101
|
+
/** Sets the `mosaicRule` property on the current layer. */
|
|
102
|
+
setProperty(name: "mosaicRule", value: __esri.MosaicRule): boolean;
|
|
103
|
+
/** Sets the `renderingRule` property on the current layer. */
|
|
104
|
+
setProperty(name: "renderingRule", value: __esri.RasterFunction): boolean;
|
|
105
|
+
/** Sets the `pixelFilter` property on the current layer. */
|
|
106
|
+
setProperty(name: "pixelFilter", value: Function): boolean;
|
|
107
|
+
/** Sets the specified property on the current layer. */
|
|
108
|
+
setProperty(name: string, value: any): boolean;
|
|
109
|
+
/** Gets the definition expression for the map/layer. */
|
|
110
|
+
getDefinitionExpression(): string | undefined;
|
|
111
|
+
/** Sets the definition expression for the map/layer. */
|
|
112
|
+
setDefinitionExpression(clause: string): boolean | undefined;
|
|
113
|
+
/** Clears features from the map/layer. */
|
|
114
|
+
clearFeatures(): boolean;
|
|
115
|
+
/** Removes features from the map/layer. */
|
|
116
|
+
removeFeatures(features: __esri.Graphic[]): true | undefined;
|
|
117
|
+
/** Gets features from the map/layer. */
|
|
118
|
+
getFeatures(): __esri.Graphic[] | undefined;
|
|
119
|
+
/** Adds features to the layer. */
|
|
120
|
+
addFeatures(features: __esri.Graphic[], layerId: string | number): __esri.Graphic[];
|
|
121
|
+
/** Removes the layer. */
|
|
122
|
+
removeLayer(): boolean;
|
|
123
|
+
/** Redraws the layer. */
|
|
124
|
+
redraw(): void;
|
|
125
|
+
/** Clones this provider. */
|
|
126
|
+
clone(): MapProvider;
|
|
127
|
+
/** Adds popup to the template. */
|
|
128
|
+
static setPopup(template: object, features: __esri.Graphic[]): void;
|
|
129
|
+
/** Adds popup to the map/layer. */
|
|
130
|
+
setPopup(template: object): void;
|
|
131
|
+
/** Shows a popup for a given feature collection */
|
|
132
|
+
showPopup(features: __esri.Graphic[]): void;
|
|
133
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import PopupTemplate from"@arcgis/core/PopupTemplate";import SpatialReference from"@arcgis/core/geometry/SpatialReference";import GraphicsLayer from"@arcgis/core/layers/GraphicsLayer";import*as TypeChecking from"./TypeChecking.js";import{extentOf}from"./tools.js";class MapProvider{
|
|
1
|
+
import PopupTemplate from"@arcgis/core/PopupTemplate";import SpatialReference from"@arcgis/core/geometry/SpatialReference";import GraphicsLayer from"@arcgis/core/layers/GraphicsLayer";import*as TypeChecking from"./TypeChecking.js";import{extentOf}from"./tools.js";class MapProvider{static getOutSR(e){return"number"==typeof e?new SpatialReference({wkid:e}):"string"==typeof e?new SpatialReference({wkt:e}):e}static create(){return new this(this)}static register(e){e.factories.push(e=>this.type===e?this:void 0)}constructor(e,i,r){null!=i&&(this.map=i.map,this.view=i),this.mapName=r,this.type=e}loadMap(){}loadView(){const e=this.view;if(void 0!==e&&null!==e){if(e.isFulfilled())return Promise.resolve();return e.when(()=>{})}}loadLayer(){const e=this.layer||void 0;if(void 0!==e){if(e.loaded)return Promise.resolve();var i=e.loadError||void 0;return void 0!==i?Promise.reject(i):e.load().then(e=>{})}}load(){return this.loadLayer()||this.loadView()||this.loadMap()||Promise.resolve()}getExtent(){var e=this.view;if(null!=e){var i=e.extent;if(null!=i)return i}i=this.map;if(null!=i){i=i.extent;if(null!=i)return i}}getCenter(){var e=this.view;if(null!=e){var i=e.center;if(null!=i)return i}i=this.map||void 0;if(void 0!==i){i=i.extent;if(null!=i)return i.center}}getScale(){var e=this.view;if(null!=e){e=e.scale;if("number"==typeof e)return e}}getSpatialReference(){var e=this.view;if(null!=e)return e.spatialReference}getViewpoint(){var e=this.view;if(null!=e)return e.viewpoint}setExtent(e,i){let r;e=extentOf(e)||void 0;void 0!==e&&(r=e.center);const t=this.view||void 0;if(void 0!==t){if(void 0!==r&&"number"==typeof i)return t.goTo({center:r,scale:i});if(void 0!==e)return t.goTo(e);if(void 0!==r)return t.goTo(r)}return Promise.resolve()}setViewpoint(e,i){let r;e=extentOf(e)||void 0;void 0!==e&&(r=e.center);const t=this.view;if(void 0!==t&&null!==t){if(void 0!==r&&null!=i)return t.goTo(i).then(e=>t.goTo(r));if(void 0!==e)return t.goTo(e);if(void 0!==r)return t.goTo(r)}return Promise.resolve()}findLayer(i,e){if(null==e){const r=this.map;if(void 0!==r&&null!==r){const t=i.toString();let e=r.findLayerById(t)||void 0;if(void 0===e&&(e=r.allLayers.find(e=>e.title===t)||void 0),void 0!==e){const o=this.clone();return o.layer=e,o.sublayer=void 0,o}}}else{i=new Number(i).valueOf();if(TypeChecking.isLayerWithSublayers(e)){i=e.findSublayerById(i);if(i){const n=this.clone();return n.layer=e,n.sublayer=i,n}}}}findTable(e,i){if(e){const r=this.map;if(r){const t=e.toLowerCase();e=r.allTables.find(e=>void 0!==e.id&&null!==e.id&&e.id.toLowerCase()===t);if(e){const o=this.clone();return o.layer=e,o.sublayer=void 0,o}}}}formatSubLayerId(e){return e}getVisible(){var e=this.layer||void 0;if(void 0===e)return!1;var i=this.sublayer||void 0;return(void 0!==i?i:e).visible}setVisible(e){const i=this.layer||void 0;if(void 0===i)return!1;{const r=this.sublayer||void 0;return void 0!==r?(r.visible=!0===e,r.visible===(!0===e)):(i.visible=!0===e,i.visible===(!0===e))}}getProperty(e){var i=this.layer;if(null!=i)return i[e]}setProperty(e,i){const r=this.layer||void 0;return void 0!==r&&(r.set(e,i),this.getProperty(e)===i)}getDefinitionExpression(){var e=this.layer||void 0;if(void 0!==e){var i=this.sublayer||void 0;if(void 0!==i){if(TypeChecking.isSublayerWithDefinitionExpression(i)){i=i.definitionExpression;return"string"==typeof i?i:void 0}return}if(TypeChecking.isLayerWithDefinitionExpression(e))return e.definitionExpression}}setDefinitionExpression(e){const i=this.layer||void 0;if(void 0!==i){const r=this.sublayer||void 0;if(void 0!==r)return TypeChecking.isSublayerWithDefinitionExpression(r)?(r.definitionExpression=e,r.definitionExpression===e):void 0;if(TypeChecking.isLayerWithDefinitionExpression(i))return i.definitionExpression=e,i.definitionExpression===e}}clearFeatures(){const e=this.layer;return!(void 0===e||null===e||!TypeChecking.isGraphicsLayer(e))&&(e.removeAll(),!0)}removeFeatures(e){const i=this.layer;if(void 0!==i&&null!==i&&TypeChecking.isGraphicsLayer(i))return i.removeMany(e),!0}getFeatures(){const e=this.layer||void 0;if(void 0!==e&&TypeChecking.isGraphicsLayer(e))return e.graphics.toArray()}addFeatures(e,i){const r=this.map||void 0;if(void 0===r)return[];let t=this.layer||void 0;return void 0===t&&(t=new GraphicsLayer({id:i.toString()}),r.add(t)),TypeChecking.isGraphicsLayer(t)&&t.addMany(e),TypeChecking.isGraphicsLayer(t)?t.graphics.toArray():[]}removeLayer(){const e=this.map||void 0;if(void 0===e)return!1;var i=this.layer||void 0;return void 0!==i&&(e.remove(i),!0)}redraw(){const e=this.layer||void 0;void 0!==e&&TypeChecking.isLayerWithRedraw(e)&&e.redraw()}clone(){const e=new this.type(this.type,this.view||this.map,this.mapName);return e.layer=this.layer,e.sublayer=this.sublayer,e}static setPopup(e,i){if(i&&e){var r=new PopupTemplate(e);for(const t of i)t.popupTemplate=r}}setPopup(e){const i=this.layer;i&&e&&(e=new PopupTemplate(e),TypeChecking.isLayerWithPopupTemplate(i)&&(i.popupTemplate=e))}showPopup(e){if(e&&e.length){var i=e.filter(e=>e.geometry)[0],i=i?extentOf([i.geometry]):this.map.extent;const r=this.view?.popup;r&&r.open({features:e,location:i?.center})}}}MapProvider.type="5B3643D6-5FF4-4B30-B439-39C70AD68DE3:MapProvider";export{MapProvider};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs to the NearestCoordinate activity. This activity relies on the geometry engine and combines the nearestVertex() and nearestCoordinate() tasks. */
|
|
3
|
-
export interface NearestCoordinateEngineTaskInputs {
|
|
4
|
-
/** The geometry to consider. */
|
|
5
|
-
geometry: __esri.Geometry;
|
|
6
|
-
/** The point used to search the nearest coordinate (or vertex) in the geometry. */
|
|
7
|
-
point: __esri.Point;
|
|
8
|
-
}
|
|
9
|
-
/** Defines outputs to the NearestCoordinate activity. */
|
|
10
|
-
export interface NearestCoordinateEngineTaskOutputs {
|
|
11
|
-
/** Indicates the point. */
|
|
12
|
-
point: __esri.Point;
|
|
13
|
-
/** Indicates the distance to the point. */
|
|
14
|
-
distance: number;
|
|
15
|
-
/** Indicates if the point is on the left or right of the line-segment. */
|
|
16
|
-
side
|
|
17
|
-
/** Indicates the index of the vertex. */
|
|
18
|
-
index: number;
|
|
19
|
-
/** Indicates if the result is empty. */
|
|
20
|
-
empty: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare class NearestCoordinateEngineTask implements IActivityHandler {
|
|
23
|
-
static readonly action = "gcx:wf:arcgis::NearestCoordinateEngineTask";
|
|
24
|
-
static readonly suite = "gcx:wf:builtin";
|
|
25
|
-
execute(inputs: NearestCoordinateEngineTaskInputs): Promise<NearestCoordinateEngineTaskOutputs>;
|
|
26
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs to the NearestCoordinate activity. This activity relies on the geometry engine and combines the nearestVertex() and nearestCoordinate() tasks. */
|
|
3
|
+
export interface NearestCoordinateEngineTaskInputs {
|
|
4
|
+
/** The geometry to consider. */
|
|
5
|
+
geometry: __esri.Geometry;
|
|
6
|
+
/** The point used to search the nearest coordinate (or vertex) in the geometry. */
|
|
7
|
+
point: __esri.Point;
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs to the NearestCoordinate activity. */
|
|
10
|
+
export interface NearestCoordinateEngineTaskOutputs {
|
|
11
|
+
/** Indicates the point. */
|
|
12
|
+
point: __esri.Point;
|
|
13
|
+
/** Indicates the distance to the point. */
|
|
14
|
+
distance: number;
|
|
15
|
+
/** Indicates if the point is on the left or right of the line-segment. */
|
|
16
|
+
side?: "left" | "right" | string;
|
|
17
|
+
/** Indicates the index of the vertex. */
|
|
18
|
+
index: number;
|
|
19
|
+
/** Indicates if the result is empty. */
|
|
20
|
+
empty: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare class NearestCoordinateEngineTask implements IActivityHandler {
|
|
23
|
+
static readonly action = "gcx:wf:arcgis::NearestCoordinateEngineTask";
|
|
24
|
+
static readonly suite = "gcx:wf:builtin";
|
|
25
|
+
execute(inputs: NearestCoordinateEngineTaskInputs): Promise<NearestCoordinateEngineTaskOutputs>;
|
|
26
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs to the NearestVertex activity. This activity relies on the geometry engine. */
|
|
3
|
-
export interface NearestVertexEngineTaskInputs {
|
|
4
|
-
/** The geometry to consider. */
|
|
5
|
-
geometry: __esri.Geometry;
|
|
6
|
-
/** The point used to search for the nearest vertex in the geometry. */
|
|
7
|
-
point: __esri.Point;
|
|
8
|
-
}
|
|
9
|
-
/** Defines outputs to the NearestCoordinateOrVertex activity. */
|
|
10
|
-
export interface NearestVertexEngineTaskOutputs {
|
|
11
|
-
/** Indicates the point. */
|
|
12
|
-
point: __esri.Point;
|
|
13
|
-
/** Indicates the distance to the point. */
|
|
14
|
-
distance: number;
|
|
15
|
-
/** Indicates if the point is on the left or right of the line-segment. */
|
|
16
|
-
side
|
|
17
|
-
/** The index of the vertex. */
|
|
18
|
-
index: number;
|
|
19
|
-
/** Indicates if the result is empty. */
|
|
20
|
-
empty: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare class NearestVertexEngineTask implements IActivityHandler {
|
|
23
|
-
static readonly action = "gcx:wf:arcgis::NearestVertexEngineTask";
|
|
24
|
-
static readonly suite = "gcx:wf:builtin";
|
|
25
|
-
execute(inputs: NearestVertexEngineTaskInputs): Promise<NearestVertexEngineTaskOutputs>;
|
|
26
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs to the NearestVertex activity. This activity relies on the geometry engine. */
|
|
3
|
+
export interface NearestVertexEngineTaskInputs {
|
|
4
|
+
/** The geometry to consider. */
|
|
5
|
+
geometry: __esri.Geometry;
|
|
6
|
+
/** The point used to search for the nearest vertex in the geometry. */
|
|
7
|
+
point: __esri.Point;
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs to the NearestCoordinateOrVertex activity. */
|
|
10
|
+
export interface NearestVertexEngineTaskOutputs {
|
|
11
|
+
/** Indicates the point. */
|
|
12
|
+
point: __esri.Point;
|
|
13
|
+
/** Indicates the distance to the point. */
|
|
14
|
+
distance: number;
|
|
15
|
+
/** Indicates if the point is on the left or right of the line-segment. */
|
|
16
|
+
side?: "left" | "right" | string;
|
|
17
|
+
/** The index of the vertex. */
|
|
18
|
+
index: number;
|
|
19
|
+
/** Indicates if the result is empty. */
|
|
20
|
+
empty: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare class NearestVertexEngineTask implements IActivityHandler {
|
|
23
|
+
static readonly action = "gcx:wf:arcgis::NearestVertexEngineTask";
|
|
24
|
+
static readonly suite = "gcx:wf:builtin";
|
|
25
|
+
execute(inputs: NearestVertexEngineTaskInputs): Promise<NearestVertexEngineTaskOutputs>;
|
|
26
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the NearestVertices activity. This activity relies on the geometry engine. */
|
|
3
|
-
export interface NearestVerticesEngineTaskInputs {
|
|
4
|
-
/** The geometry to consider. */
|
|
5
|
-
geometry: __esri.Geometry;
|
|
6
|
-
/** The point from which to measure. */
|
|
7
|
-
point: __esri.Point;
|
|
8
|
-
/** The distance to search from the input point. */
|
|
9
|
-
proximity
|
|
10
|
-
/** The maximum number of vertices to return. */
|
|
11
|
-
maxVertices
|
|
12
|
-
}
|
|
13
|
-
export interface NearestVertex {
|
|
14
|
-
/** Indicates the point. */
|
|
15
|
-
point?: __esri.Point;
|
|
16
|
-
/** Indicates the distance to the point. */
|
|
17
|
-
distance?: number;
|
|
18
|
-
/** Indicates if the point is on the left or right of the line-segment. */
|
|
19
|
-
side?: "left" | "right" | string;
|
|
20
|
-
/** Indicates the index of the vertex. */
|
|
21
|
-
index?: number;
|
|
22
|
-
/** Indicates if the result is empty. */
|
|
23
|
-
empty?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/** Defines outputs for the NearestVertices activity. */
|
|
26
|
-
export interface NearestVerticesEngineTaskOutputs {
|
|
27
|
-
/** Indicates the results. */
|
|
28
|
-
results?: NearestVertex[];
|
|
29
|
-
}
|
|
30
|
-
export declare class NearestVerticesEngineTask implements IActivityHandler {
|
|
31
|
-
static readonly action = "gcx:wf:arcgis::NearestVerticesEngineTask";
|
|
32
|
-
static readonly suite = "gcx:wf:builtin";
|
|
33
|
-
execute(inputs: NearestVerticesEngineTaskInputs): Promise<NearestVerticesEngineTaskOutputs>;
|
|
34
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the NearestVertices activity. This activity relies on the geometry engine. */
|
|
3
|
+
export interface NearestVerticesEngineTaskInputs {
|
|
4
|
+
/** The geometry to consider. */
|
|
5
|
+
geometry: __esri.Geometry;
|
|
6
|
+
/** The point from which to measure. */
|
|
7
|
+
point: __esri.Point;
|
|
8
|
+
/** The distance to search from the input point. */
|
|
9
|
+
proximity?: number;
|
|
10
|
+
/** The maximum number of vertices to return. */
|
|
11
|
+
maxVertices?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface NearestVertex {
|
|
14
|
+
/** Indicates the point. */
|
|
15
|
+
point?: __esri.Point;
|
|
16
|
+
/** Indicates the distance to the point. */
|
|
17
|
+
distance?: number;
|
|
18
|
+
/** Indicates if the point is on the left or right of the line-segment. */
|
|
19
|
+
side?: "left" | "right" | string;
|
|
20
|
+
/** Indicates the index of the vertex. */
|
|
21
|
+
index?: number;
|
|
22
|
+
/** Indicates if the result is empty. */
|
|
23
|
+
empty?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/** Defines outputs for the NearestVertices activity. */
|
|
26
|
+
export interface NearestVerticesEngineTaskOutputs {
|
|
27
|
+
/** Indicates the results. */
|
|
28
|
+
results?: NearestVertex[];
|
|
29
|
+
}
|
|
30
|
+
export declare class NearestVerticesEngineTask implements IActivityHandler {
|
|
31
|
+
static readonly action = "gcx:wf:arcgis::NearestVerticesEngineTask";
|
|
32
|
+
static readonly suite = "gcx:wf:builtin";
|
|
33
|
+
execute(inputs: NearestVerticesEngineTaskInputs): Promise<NearestVerticesEngineTaskOutputs>;
|
|
34
|
+
}
|