@vertigis/workflow 5.33.1 → 5.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Activator.d.ts +6 -2
- package/Collections.d.ts +8 -5
- package/EnumUtils.d.ts +1 -0
- package/Errors.d.ts +10 -1
- package/Errors.js +1 -1
- package/Hooks.d.ts +4 -1
- package/IActivityHandler.d.ts +20 -6
- package/LanguageStringUtils.js +1 -1
- package/ProgramInspectorFacility.d.ts +1 -0
- package/Task.d.ts +1 -0
- package/activities/app/GetApplicationData.d.ts +2 -2
- package/activities/app/GetApplicationInfo.d.ts +6 -3
- package/activities/app/GetUserInfo.d.ts +6 -3
- package/activities/app/PublishEvent.d.ts +2 -2
- package/activities/app/RemoveApplicationData.d.ts +2 -2
- package/activities/app/RunCommand.d.ts +6 -3
- package/activities/app/RunOperation.d.ts +10 -4
- package/activities/app/SetApplicationData.d.ts +2 -2
- package/activities/arcgis/AddAttachment.d.ts +2 -2
- package/activities/arcgis/AddFeatureLayer.d.ts +2 -2
- package/activities/arcgis/AddFeatures.d.ts +2 -2
- package/activities/arcgis/AddFeatures.js +1 -1
- package/activities/arcgis/AddGraphics.d.ts +10 -4
- package/activities/arcgis/ArcadeScript.d.ts +2 -2
- package/activities/arcgis/AreaEngineTask.d.ts +2 -2
- package/activities/arcgis/BufferEngineTask.d.ts +2 -2
- package/activities/arcgis/BufferServiceTask.d.ts +2 -2
- package/activities/arcgis/CastGeometry.d.ts +2 -2
- package/activities/arcgis/ClearGraphics.d.ts +2 -2
- package/activities/arcgis/ClipEngineTask.d.ts +2 -2
- package/activities/arcgis/ClosestFacilityTask.d.ts +2 -2
- package/activities/arcgis/CompareGeometries.d.ts +2 -2
- package/activities/arcgis/CreateGraphic.d.ts +2 -2
- package/activities/arcgis/CreatePoint.d.ts +2 -2
- package/activities/arcgis/CutEngineTask.d.ts +2 -2
- package/activities/arcgis/DeleteAttachments.d.ts +2 -2
- package/activities/arcgis/DeleteFeatures.d.ts +2 -2
- package/activities/arcgis/DensifyEngineTask.d.ts +2 -2
- package/activities/arcgis/DifferenceEngineTask.d.ts +2 -2
- package/activities/arcgis/DistanceEngineTask.d.ts +2 -2
- package/activities/arcgis/DistanceServiceTask.d.ts +2 -2
- package/activities/arcgis/ExtendedSpatialReferenceInfoEngineTask.d.ts +2 -2
- package/activities/arcgis/FeatureSetFromJson.d.ts +2 -2
- package/activities/arcgis/FlipEngineTask.d.ts +2 -2
- package/activities/arcgis/FromGeoCoordinateStringServiceTask.d.ts +2 -2
- package/activities/arcgis/GeneralizeEngineTask.d.ts +2 -2
- package/activities/arcgis/GenerateArcGisToken.d.ts +2 -2
- package/activities/arcgis/GenerateWebmapForReport.d.ts +2 -2
- package/activities/arcgis/Geocode.d.ts +2 -2
- package/activities/arcgis/GeometryFromJson.d.ts +2 -2
- package/activities/arcgis/Geoprocessing.d.ts +2 -2
- package/activities/arcgis/GeoprocessingAsync.d.ts +2 -2
- package/activities/arcgis/GetAttributeValue.d.ts +2 -2
- package/activities/arcgis/GetAttributeValues.d.ts +2 -2
- package/activities/arcgis/GetCentroid.d.ts +2 -2
- package/activities/arcgis/GetCodedValueDomain.d.ts +2 -2
- package/activities/arcgis/GetCurrentPosition.d.ts +2 -2
- package/activities/arcgis/GetFeatureGeometries.d.ts +2 -2
- package/activities/arcgis/GetFeatureGeometry.d.ts +2 -2
- package/activities/arcgis/GetFeatureLayerInfo.d.ts +2 -2
- package/activities/arcgis/GetFeatureSetExtent.d.ts +2 -2
- package/activities/arcgis/GetFeatureSetObjectIds.d.ts +2 -2
- package/activities/arcgis/GetFormElementItemsFromFeatures.d.ts +2 -2
- package/activities/arcgis/GetGeometryExtent.d.ts +2 -2
- package/activities/arcgis/GetGraphics.d.ts +2 -2
- package/activities/arcgis/GetLayer.d.ts +2 -2
- package/activities/arcgis/GetLayerDefinitionExpression.d.ts +2 -2
- package/activities/arcgis/GetLayerProperty.d.ts +2 -2
- package/activities/arcgis/GetLayerVisibility.d.ts +2 -2
- package/activities/arcgis/GetMap.d.ts +2 -2
- package/activities/arcgis/GetMapScreenshot.d.ts +2 -2
- package/activities/arcgis/GetPortalUser.d.ts +2 -2
- package/activities/arcgis/GetTable.d.ts +2 -2
- package/activities/arcgis/GetViewExtent.d.ts +2 -2
- package/activities/arcgis/GetViewpoint.d.ts +2 -2
- package/activities/arcgis/IntersectEngineTask.d.ts +2 -2
- package/activities/arcgis/LabelPointsServiceTask.d.ts +2 -2
- package/activities/arcgis/LengthEngineTask.d.ts +2 -2
- package/activities/arcgis/MapProvider.d.ts +4 -1
- package/activities/arcgis/NearestCoordinateEngineTask.d.ts +2 -2
- package/activities/arcgis/NearestVertexEngineTask.d.ts +2 -2
- package/activities/arcgis/NearestVerticesEngineTask.d.ts +2 -2
- package/activities/arcgis/OffsetEngineTask.d.ts +2 -2
- package/activities/arcgis/ProjectServiceTask.d.ts +2 -2
- package/activities/arcgis/QueryAttachmentInfos.d.ts +2 -2
- package/activities/arcgis/QueryTask.d.ts +10 -4
- package/activities/arcgis/RefreshLayer.d.ts +2 -2
- package/activities/arcgis/RegisterCorsUrl.d.ts +2 -2
- package/activities/arcgis/RelateEngineTask.d.ts +2 -2
- package/activities/arcgis/RelationServiceTask.d.ts +2 -2
- package/activities/arcgis/RelationshipQueryTask.d.ts +2 -2
- package/activities/arcgis/RemoveFeatureSetFields.d.ts +2 -2
- package/activities/arcgis/RemoveGraphics.d.ts +2 -2
- package/activities/arcgis/RemoveLayer.d.ts +2 -2
- package/activities/arcgis/RendererFromJson.d.ts +2 -2
- package/activities/arcgis/ReshapeServiceTask.d.ts +2 -2
- package/activities/arcgis/ReverseGeocode.d.ts +2 -2
- package/activities/arcgis/RotateEngineTask.d.ts +2 -2
- package/activities/arcgis/RouteTask.d.ts +2 -2
- package/activities/arcgis/RunPrint.d.ts +2 -2
- package/activities/arcgis/RunReport.d.ts +2 -2
- package/activities/arcgis/RunWorkflow.d.ts +21 -3
- package/activities/arcgis/RunWorkflow.js +1 -1
- package/activities/arcgis/SendLayerToAttributeTable.d.ts +2 -2
- package/activities/arcgis/ServiceAreaTask.d.ts +2 -2
- package/activities/arcgis/SetFeatureAttribute.d.ts +2 -2
- package/activities/arcgis/SetFeatureGeometry.d.ts +2 -2
- package/activities/arcgis/SetFeaturePopup.d.ts +2 -2
- package/activities/arcgis/SetFeatureSymbol.d.ts +2 -2
- package/activities/arcgis/SetImageryLayerOptions.d.ts +2 -2
- package/activities/arcgis/SetLayerDefinitionExpression.d.ts +2 -2
- package/activities/arcgis/SetLayerPopup.d.ts +2 -2
- package/activities/arcgis/SetLayerProperty.d.ts +2 -2
- package/activities/arcgis/SetLayerVisibility.d.ts +2 -2
- package/activities/arcgis/SetMap.d.ts +6 -3
- package/activities/arcgis/SetViewExtent.d.ts +2 -2
- package/activities/arcgis/SetViewpoint.d.ts +2 -2
- package/activities/arcgis/ShowFeaturePopup.d.ts +2 -2
- package/activities/arcgis/ShowResults.d.ts +5 -2
- package/activities/arcgis/SimplifyEngineTask.d.ts +2 -2
- package/activities/arcgis/SortFeatureSet.d.ts +2 -2
- package/activities/arcgis/SymbolFromJson.d.ts +2 -2
- package/activities/arcgis/ToGeoCoordinateStringServiceTask.d.ts +2 -2
- package/activities/arcgis/UnionEngineTask.d.ts +2 -2
- package/activities/arcgis/UnionServiceTask.d.ts +2 -2
- package/activities/arcgis/UpdateAttachment.d.ts +2 -2
- package/activities/arcgis/UpdateFeatures.d.ts +2 -2
- package/activities/arcgis/runUtils.d.ts +6 -2
- package/activities/browser/GetBrowserInfo.d.ts +2 -2
- package/activities/browser/InjectCss.d.ts +2 -2
- package/activities/core/AddItem.d.ts +2 -2
- package/activities/core/AddItems.d.ts +2 -2
- package/activities/core/Annotation.d.ts +2 -2
- package/activities/core/Cast.d.ts +2 -2
- package/activities/core/ChannelProvider.d.ts +1 -0
- package/activities/core/ClearItems.d.ts +2 -2
- package/activities/core/Container.d.ts +2 -2
- package/activities/core/ConvertBytesToText.d.ts +2 -2
- package/activities/core/ConvertDataTableToFeatureSet.d.ts +2 -2
- package/activities/core/ConvertTextToBytes.d.ts +2 -2
- package/activities/core/ConvertToJson.d.ts +2 -2
- package/activities/core/CreateFile.d.ts +2 -2
- package/activities/core/CreateValue.d.ts +2 -2
- package/activities/core/DecodeUriComponent.d.ts +2 -2
- package/activities/core/Delay.d.ts +2 -2
- package/activities/core/EncodeUriComponent.d.ts +2 -2
- package/activities/core/Evaluate.d.ts +2 -2
- package/activities/core/EvaluateAsync.d.ts +2 -2
- package/activities/core/Exit.d.ts +2 -2
- package/activities/core/ForEach.d.ts +2 -2
- package/activities/core/FormatDate.d.ts +5 -5
- package/activities/core/FormatDate.js +1 -1
- package/activities/core/GetBase64StringFromBytes.d.ts +2 -2
- package/activities/core/GetBase64StringFromFile.d.ts +2 -2
- package/activities/core/GetBytesFromBase64String.d.ts +2 -2
- package/activities/core/GetFirstItem.d.ts +2 -2
- package/activities/core/GetItemAtIndex.d.ts +2 -2
- package/activities/core/GetLastItem.d.ts +2 -2
- package/activities/core/GetLogLevel.d.ts +2 -2
- package/activities/core/GetTextFromFile.d.ts +2 -2
- package/activities/core/GetWorkflowInputs.d.ts +2 -2
- package/activities/core/If.d.ts +2 -2
- package/activities/core/Log.d.ts +2 -2
- package/activities/core/Loop.d.ts +2 -2
- package/activities/core/ParseJson.d.ts +2 -2
- package/activities/core/ParseNumber.d.ts +2 -2
- package/activities/core/ParseUrl.d.ts +2 -2
- package/activities/core/Placeholder.d.ts +2 -2
- package/activities/core/RegexMatches.d.ts +2 -2
- package/activities/core/RegexReplace.d.ts +2 -2
- package/activities/core/RemoveItem.d.ts +2 -2
- package/activities/core/RunActivity.d.ts +2 -2
- package/activities/core/RunSubworkflow.d.ts +2 -2
- package/activities/core/SetLogLevel.d.ts +2 -2
- package/activities/core/SetProperty.d.ts +2 -2
- package/activities/core/SetWorkflowOutput.d.ts +2 -2
- package/activities/core/Subworkflow.d.ts +2 -2
- package/activities/core/Switch.d.ts +2 -2
- package/activities/core/TextReplace.d.ts +2 -2
- package/activities/core/Throw.d.ts +2 -2
- package/activities/core/TryCatch.d.ts +2 -2
- package/activities/core/WebRequest.d.ts +2 -2
- package/activities/core/converters.d.ts +1 -1
- package/activities/csv/ConvertCsvToDataTable.d.ts +2 -2
- package/activities/csv/ConvertDataTableToCsv.d.ts +2 -2
- package/activities/essentials/GetEssentialsSite.d.ts +2 -2
- package/activities/essentials/RunEssentialsWorkflow.d.ts +2 -2
- package/activities/essentials/RunEssentialsWorkflowActivity.d.ts +2 -2
- package/activities/forms/ActivateFormElement.d.ts +2 -2
- package/activities/forms/AddFormElement.d.ts +2 -2
- package/activities/forms/ClearFormElementError.d.ts +2 -2
- package/activities/forms/CompleteForm.d.ts +2 -2
- package/activities/forms/DisplayForm.d.ts +6 -3
- package/activities/forms/FilterFormElementItems.d.ts +2 -2
- package/activities/forms/FormRenderer.d.ts +1 -0
- package/activities/forms/FormRenderer.js +1 -1
- package/activities/forms/GetFormElementItemsFromCollection.d.ts +2 -2
- package/activities/forms/GetFormElementProperty.d.ts +2 -2
- package/activities/forms/GetFormElementValue.d.ts +2 -2
- package/activities/forms/GetFormEventData.d.ts +2 -2
- package/activities/forms/HideFormElement.d.ts +2 -2
- package/activities/forms/PropagateFormEvent.d.ts +2 -2
- package/activities/forms/SetCurrentFormElementItem.d.ts +2 -2
- package/activities/forms/SetFormElementError.d.ts +2 -2
- package/activities/forms/SetFormElementEvent.d.ts +2 -2
- package/activities/forms/SetFormElementItemProperty.d.ts +2 -2
- package/activities/forms/SetFormElementItems.d.ts +2 -2
- package/activities/forms/SetFormElementProperty.d.ts +3 -3
- package/activities/forms/ShowFormElement.d.ts +2 -2
- package/activities/image/GetImageMetadata.d.ts +2 -2
- package/activities/image/RotateImage.d.ts +2 -2
- package/activities/index.d.ts +1 -0
- package/activities/index.js +1 -1
- package/activities/math/Abs.d.ts +2 -2
- package/activities/math/Cos.d.ts +2 -2
- package/activities/math/Max.d.ts +2 -2
- package/activities/math/Min.d.ts +2 -2
- package/activities/math/Pow.d.ts +2 -2
- package/activities/math/Random.d.ts +2 -2
- package/activities/math/Sin.d.ts +2 -2
- package/activities/math/Sqrt.d.ts +2 -2
- package/activities/math/Tan.d.ts +2 -2
- package/activities/pdf/AddGeoreferenceToPdf.d.ts +19 -0
- package/activities/pdf/AddGeoreferenceToPdf.js +1 -0
- package/activities/pdf/ExtractPdfPages.d.ts +2 -2
- package/activities/pdf/MergePdfs.d.ts +2 -2
- package/activities/server/CopyFile.d.ts +2 -2
- package/activities/server/CreateDirectory.d.ts +2 -2
- package/activities/server/CreateDownload.d.ts +2 -2
- package/activities/server/CreateEmailAttachment.d.ts +2 -2
- package/activities/server/CreateZipFromDirectory.d.ts +2 -2
- package/activities/server/DeleteDirectory.d.ts +2 -2
- package/activities/server/DeleteFile.d.ts +2 -2
- package/activities/server/DirectoryExists.d.ts +2 -2
- package/activities/server/ExtractZipToDirectory.d.ts +2 -2
- package/activities/server/FileExists.d.ts +2 -2
- package/activities/server/GetDirectoriesInDirectory.d.ts +2 -2
- package/activities/server/GetFilesInDirectory.d.ts +2 -2
- package/activities/server/MoveFile.d.ts +2 -2
- package/activities/server/ReadFile.d.ts +2 -2
- package/activities/server/ReadFileBytes.d.ts +2 -2
- package/activities/server/RunApplication.d.ts +2 -2
- package/activities/server/RunPython.d.ts +2 -2
- package/activities/server/SendEmail.d.ts +2 -2
- package/activities/server/SqlNonQuery.d.ts +2 -2
- package/activities/server/SqlQuery.d.ts +2 -2
- package/activities/server/SqlQueryUnsafe.d.ts +2 -2
- package/activities/server/WriteFile.d.ts +2 -2
- package/activities/server/WriteFileBytes.d.ts +2 -2
- package/activities/ui/Alert.d.ts +6 -3
- package/activities/ui/Confirm.d.ts +10 -4
- package/activities/ui/Prompt.d.ts +10 -4
- package/activities/wab/OpenWidget.d.ts +2 -2
- package/activities/wab/PublishWidgetData.d.ts +2 -2
- package/activities/xlsx/ConvertDataTableToXlsx.d.ts +2 -2
- package/activities/xlsx/ConvertXlsxToDataSet.d.ts +2 -2
- package/definition/Program.d.ts +4 -1
- package/definition/ProgramInspector.d.ts +4 -1
- package/definition/Reference.d.ts +4 -1
- package/diagnostics/ConsoleDebugLogger.d.ts +4 -1
- package/diagnostics/logging.d.ts +4 -1
- package/execution/ActivityLoader.d.ts +4 -1
- package/execution/Engine.d.ts +16 -4
- package/execution/IDebugSession.d.ts +4 -1
- package/execution/ProgramRunner.js +1 -1
- package/forms/Calendar.d.ts +1 -1
- package/forms/FormComponent.d.ts +4 -3
- package/forms/FormComponent.js +1 -1
- package/forms/FormDefinition.d.ts +100 -19
- package/forms/FormElement.d.ts +3 -17
- package/forms/FormElement.js +1 -1
- package/forms/FormHost.d.ts +29 -8
- package/forms/FormHost.js +1 -1
- package/forms/FormPresenterHost.d.ts +33 -7
- package/forms/common.d.ts +6 -7
- package/forms/common.js +1 -1
- package/forms/components/AccordionGroup.d.ts +15 -0
- package/forms/components/AccordionGroup.js +1 -0
- package/forms/components/AutoComplete.d.ts +7 -0
- package/forms/components/AutoComplete.js +1 -0
- package/forms/components/ButtonBar.d.ts +13 -0
- package/forms/components/ButtonBar.js +1 -0
- package/forms/components/CheckBox.d.ts +7 -0
- package/forms/components/CheckBox.js +1 -0
- package/forms/components/CheckGroup.d.ts +7 -0
- package/forms/components/CheckGroup.js +1 -0
- package/forms/components/Custom.d.ts +7 -0
- package/forms/components/Custom.js +1 -0
- package/forms/components/DatePicker.d.ts +6 -16
- package/forms/components/DatePicker.js +1 -1
- package/forms/components/DateRangePicker.d.ts +10 -8
- package/forms/components/DateRangePicker.js +1 -1
- package/forms/components/DateTimePicker.d.ts +6 -8
- package/forms/components/DateTimePicker.js +1 -1
- package/forms/components/DropDownList.d.ts +7 -0
- package/forms/components/DropDownList.js +1 -0
- package/forms/components/FilePicker.d.ts +9 -0
- package/forms/components/FilePicker.js +1 -0
- package/forms/components/Form.d.ts +23 -0
- package/forms/components/Form.js +1 -0
- package/forms/components/FormLabelNumberField.d.ts +15 -0
- package/forms/components/FormLabelNumberField.js +1 -0
- package/forms/components/GeometryPicker.d.ts +4 -0
- package/forms/components/GeometryPicker.js +1 -0
- package/forms/components/GeometryPickerListItem.d.ts +23 -0
- package/forms/components/GeometryPickerListItem.js +1 -0
- package/forms/components/HorizontalRule.d.ts +7 -0
- package/forms/components/HorizontalRule.js +1 -0
- package/forms/components/Image.d.ts +7 -0
- package/forms/components/Image.js +1 -0
- package/forms/components/ItemPicker.d.ts +17 -0
- package/forms/components/ItemPicker.js +1 -0
- package/forms/components/ListBox.d.ts +7 -0
- package/forms/components/ListBox.js +1 -0
- package/forms/components/Markdown.d.ts +1 -1
- package/forms/components/Markdown.js +1 -1
- package/forms/components/Number.d.ts +7 -0
- package/forms/components/Number.js +1 -0
- package/forms/components/NumberRangeSlider.d.ts +11 -8
- package/forms/components/NumberRangeSlider.js +1 -1
- package/forms/components/NumberSlider.d.ts +9 -8
- package/forms/components/NumberSlider.js +1 -1
- package/forms/components/RadioGroup.d.ts +7 -0
- package/forms/components/RadioGroup.js +1 -0
- package/forms/components/Scanner.d.ts +9 -0
- package/forms/components/Scanner.js +1 -0
- package/forms/components/Section.d.ts +14 -0
- package/forms/components/Section.js +1 -0
- package/forms/components/Signature.d.ts +11 -0
- package/forms/components/Signature.js +1 -0
- package/forms/components/SignatureDialog.d.ts +22 -0
- package/forms/components/SignatureDialog.js +1 -0
- package/forms/components/Text.d.ts +1 -1
- package/forms/components/Text.js +1 -1
- package/forms/components/TextArea.d.ts +1 -1
- package/forms/components/TextArea.js +1 -1
- package/forms/components/TextBox.d.ts +1 -1
- package/forms/components/TextBox.js +1 -1
- package/forms/components/TimePicker.d.ts +7 -0
- package/forms/components/TimePicker.js +1 -0
- package/forms/constants.d.ts +19 -31
- package/forms/constants.js +1 -1
- package/forms/dateUtilities.d.ts +41 -9
- package/forms/dateUtilities.js +1 -1
- package/forms/elements/AutoComplete.d.ts +7 -0
- package/forms/elements/AutoComplete.js +1 -0
- package/forms/elements/Number.d.ts +5 -0
- package/forms/elements/Number.js +1 -0
- package/forms/elements/NumberRangeSlider.d.ts +5 -3
- package/forms/elements/NumberRangeSlider.js +1 -1
- package/forms/elements/NumberSlider.d.ts +0 -3
- package/forms/elements/NumberSlider.js +0 -1
- package/forms/elements/Scanner.d.ts +9 -0
- package/forms/elements/Scanner.js +1 -0
- package/forms/elements/Signature.d.ts +16 -0
- package/forms/elements/Signature.js +1 -0
- package/forms/elements/types.d.ts +4 -2
- package/forms/index.d.ts +6 -2
- package/forms/index.js +1 -1
- package/forms/keyboard.d.ts +1 -0
- package/forms/numberFormatter.d.ts +5 -6
- package/forms/numberFormatter.js +1 -1
- package/forms/numberUtilities.d.ts +113 -0
- package/forms/numberUtilities.js +1 -0
- package/forms/presenter.d.ts +1 -0
- package/forms/presenter.js +1 -1
- package/forms/renderers.d.ts +5 -43
- package/forms/renderers.js +1 -1
- package/forms/textUtilities.d.ts +6 -4
- package/forms/textUtilities.js +1 -1
- package/forms/utils.d.ts +102 -20
- package/forms/utils.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +0 -1
- package/libs/version.d.ts +1 -1
- package/libs/version.js +1 -1
- package/package.json +10 -10
- package/app/ActivityPackUtils.d.ts +0 -10
- package/app/ActivityPackUtils.js +0 -1
- package/app/AppActivity.d.ts +0 -82
- package/app/AppActivity.js +0 -1
- package/app/RegisterCustomFormElementBase.d.ts +0 -34
- package/app/RegisterCustomFormElementBase.js +0 -1
- package/forms/LegacyStyles.d.ts +0 -498
- package/forms/LegacyStyles.js +0 -1
- package/forms/assets/arrow.d.ts +0 -4
- package/forms/assets/arrow.js +0 -1
- package/forms/assets/chevron.d.ts +0 -3
- package/forms/assets/chevron.js +0 -1
- package/forms/assets/cross.d.ts +0 -3
- package/forms/assets/cross.js +0 -1
- package/forms/assets/datetime.d.ts +0 -3
- package/forms/assets/datetime.js +0 -1
- package/forms/assets/remove.d.ts +0 -2
- package/forms/assets/remove.js +0 -1
- package/forms/assets/scan.d.ts +0 -4
- package/forms/assets/scan.js +0 -1
- package/forms/assets/stock.d.ts +0 -5
- package/forms/assets/stock.js +0 -1
- package/forms/components/DateRange.d.ts +0 -6
- package/forms/components/DateRange.js +0 -1
- package/forms/components/Navigator.d.ts +0 -1
- package/forms/components/Navigator.js +0 -1
- package/forms/components/ReactDateRangeCalendar.d.ts +0 -6
- package/forms/components/ReactDateRangeCalendar.js +0 -1
- package/forms/components/SyntheticButton.d.ts +0 -1
- package/forms/components/SyntheticButton.js +0 -1
- package/forms/components/TimePickerInput.d.ts +0 -24
- package/forms/components/TimePickerInput.js +0 -1
- package/forms/components/TimerManager.d.ts +0 -7
- package/forms/components/TimerManager.js +0 -1
- package/forms/components/utils.d.ts +0 -2
- package/forms/components/utils.js +0 -1
- package/forms/datetime.d.ts +0 -5
- package/forms/datetime.js +0 -1
- package/forms/files.d.ts +0 -4
- package/forms/files.js +0 -1
- package/forms/geometry.d.ts +0 -4
- package/forms/geometry.js +0 -1
- package/forms/number.d.ts +0 -11
- package/forms/number.js +0 -1
- package/forms/numberSliderUtilities.d.ts +0 -12
- package/forms/numberSliderUtilities.js +0 -1
- package/forms/scanner.d.ts +0 -4
- package/forms/scanner.js +0 -1
- package/forms/selectors.d.ts +0 -10
- package/forms/selectors.js +0 -1
- package/forms/styles/daterange.css +0 -1
- package/forms/styles/daterange.d.ts +0 -1
- package/forms/styles/daterange.js +0 -1
- package/forms/styles/stock.css +0 -1
- package/forms/styles/stock.d.ts +0 -1
- package/forms/styles/stock.js +0 -1
package/Activator.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import Bluebird from "bluebird";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Implemented by workflow containers to customize the creation of various currencies.
|
|
4
|
+
*/
|
|
3
5
|
export interface IFacilityFactory {
|
|
4
6
|
/** Activates an instance. */
|
|
5
7
|
(type: string): PromiseLike<{}> | {};
|
|
@@ -8,7 +10,9 @@ export interface IFacilityFactory {
|
|
|
8
10
|
export interface IFacility {
|
|
9
11
|
type: string;
|
|
10
12
|
}
|
|
11
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Exposes functionality for activating well-known facilities.
|
|
15
|
+
*/
|
|
12
16
|
export declare class Activator {
|
|
13
17
|
/** Provides a means to provide a factory implementations. */
|
|
14
18
|
factories: IFacilityFactory[];
|
package/Collections.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Describes a dictionary oriented collection.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface Lookup<T> {
|
|
3
6
|
[id: number]: T;
|
|
4
7
|
[name: string]: T;
|
|
@@ -9,14 +12,14 @@ export interface PropertySet {
|
|
|
9
12
|
}
|
|
10
13
|
/** Provides a means to iterate over a collection efficiently. */
|
|
11
14
|
export declare class Iterator<T> {
|
|
12
|
-
key: string | number;
|
|
13
|
-
current: T;
|
|
15
|
+
key: string | number | undefined;
|
|
16
|
+
current: T | undefined;
|
|
14
17
|
/** Exposes the remaining assets of the collection as an array. */
|
|
15
18
|
list(): T[];
|
|
16
19
|
/** Selects the next asset of the collection. */
|
|
17
20
|
next(): boolean;
|
|
18
21
|
/** Peeks at the next item. */
|
|
19
|
-
peek(): T;
|
|
22
|
+
peek(): T | undefined;
|
|
20
23
|
/** Maps the iterator to another collection. */
|
|
21
24
|
map<TResult>(itemSelector: (item: T) => Iterable<TResult>, keySelector?: (result: TResult, key: string | number) => string | number): Iterator<TResult>;
|
|
22
25
|
/** Returns an iterable which filters. */
|
|
@@ -49,7 +52,7 @@ export declare class Dictionary<T> {
|
|
|
49
52
|
/** Performs an iteration of the items. */
|
|
50
53
|
iterate(): Iterator<T>;
|
|
51
54
|
/** Assigns the value to the given key. */
|
|
52
|
-
assign(key: any, value: T): T;
|
|
55
|
+
assign(key: any, value: T): T | undefined;
|
|
53
56
|
/** Removes an item given the key. */
|
|
54
57
|
remove(key: any): boolean;
|
|
55
58
|
/** Tests if the key exists. */
|
package/EnumUtils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This class allows us to dynamically iterate through the names or value in an
|
|
3
3
|
* enumeration. It was found here: https://stackoverflow.com/a/21294925/5322405
|
|
4
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
4
5
|
*/
|
|
5
6
|
export declare class EnumUtils {
|
|
6
7
|
/**
|
package/Errors.d.ts
CHANGED
|
@@ -7,7 +7,16 @@ export declare abstract class ActivityError extends ActivityError_base {
|
|
|
7
7
|
/** Indicates the error code. */
|
|
8
8
|
code: string;
|
|
9
9
|
}
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Defines an error that occurs when an activity has been aborted.
|
|
12
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
13
|
+
*/
|
|
14
|
+
export declare class ActivityAbortedError extends ActivityError {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Defines an error that occurs when an activity has been cancelled.
|
|
18
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
19
|
+
*/
|
|
11
20
|
export declare class ActivityCancellationError extends ActivityError {
|
|
12
21
|
}
|
|
13
22
|
/** Defines an error that occurs when there is an error executing an activity. */
|
package/Errors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function makeError(){function r(r){r=Error.call(this,r),this.name=r.name,this.message=r.message,this.stack=r.stack}return r.prototype=Error.prototype,r}class ActivityError extends makeError(){}class ActivityCancellationError extends ActivityError{}ActivityCancellationError.prototype.message="[WF: activity cancellation error] The activity was cancelled.",ActivityCancellationError.prototype.code="WF: activity cancellation error";class GenericActivityError extends ActivityError{constructor(r,e){super(),this.code=r||"WF: activity error",this.message="["+this.code+"] "+(e||"Some errors occurred.")}}class ProgramStartError extends makeError(){}ProgramStartError.prototype.code="WF: start error",ProgramStartError.prototype.message="[WF: start error] The given workflow program contains no start point and none was given in the options.";class UnspecifiedError extends makeError(){}UnspecifiedError.prototype.code="WF: unspecified error",UnspecifiedError.prototype.message="[WF: unspecified error] The given workflow program completed with an unspecified error.";class ActivityBindingError extends ActivityError{constructor(r,e,t){super(),this.action=e,this.error=t}}ActivityBindingError.prototype.code="WF: binding error",ActivityBindingError.prototype.message="[WF: binding error] The given workflow program contains some activities which are not valid.";class EngineRuntimeError extends makeError(){constructor(r){super(),this.error=r}}EngineRuntimeError.prototype.code="WF: runtime error",EngineRuntimeError.prototype.message="[WF: runtime error] The workflow engine experienced an internal error.";class ProgramParserError extends makeError(){constructor(r){super(),this.error=r}}ProgramParserError.prototype.code="WF: parser error",ProgramParserError.prototype.message="[WF: parsing error] The given workflow program could not be parsed.";class ExpressionEvaluationError extends ActivityError{constructor(r,e,t,
|
|
1
|
+
function makeError(){function r(r){r=Error.call(this,r),this.name=r.name,this.message=r.message,this.stack=r.stack}return r.prototype=Error.prototype,r}class ActivityError extends makeError(){}class ActivityAbortedError extends ActivityError{}ActivityAbortedError.prototype.message="[WF: activity aborted error] The activity was aborted.",ActivityAbortedError.prototype.code="WF: activity aborted error";class ActivityCancellationError extends ActivityError{}ActivityCancellationError.prototype.message="[WF: activity cancellation error] The activity was cancelled.",ActivityCancellationError.prototype.code="WF: activity cancellation error";class GenericActivityError extends ActivityError{constructor(r,e){super(),this.code=r||"WF: activity error",this.message="["+this.code+"] "+(e||"Some errors occurred.")}}class ProgramStartError extends makeError(){}ProgramStartError.prototype.code="WF: start error",ProgramStartError.prototype.message="[WF: start error] The given workflow program contains no start point and none was given in the options.";class UnspecifiedError extends makeError(){}UnspecifiedError.prototype.code="WF: unspecified error",UnspecifiedError.prototype.message="[WF: unspecified error] The given workflow program completed with an unspecified error.";class ActivityBindingError extends ActivityError{constructor(r,e,t){super(),this.action=e,this.error=t}}ActivityBindingError.prototype.code="WF: binding error",ActivityBindingError.prototype.message="[WF: binding error] The given workflow program contains some activities which are not valid.";class EngineRuntimeError extends makeError(){constructor(r){super(),this.error=r}}EngineRuntimeError.prototype.code="WF: runtime error",EngineRuntimeError.prototype.message="[WF: runtime error] The workflow engine experienced an internal error.";class ProgramParserError extends makeError(){constructor(r){super(),this.error=r}}ProgramParserError.prototype.code="WF: parser error",ProgramParserError.prototype.message="[WF: parsing error] The given workflow program could not be parsed.";class ExpressionEvaluationError extends ActivityError{constructor(r,e,t,o){super(),this.activityId=r,this.inputName=e,this.expression=t,this.error=o,this.code="WF: expression evaluation error",this.message="["+this.code+"] The given expression could not be evaluated.",t&&(this.message+=' "'+t+'"'),o?.message&&(this.message+=" "+o.message)}}class ExpressionSyntaxError extends ActivityError{constructor(r,e,t,o){super(),this.activityId=r,this.inputName=e,this.expression=t,this.error=o,this.code="WF: expression syntax error",this.message="["+this.code+"] The given expression could not be parsed.",t&&(this.message+=' "'+t+'"'),o?.message&&(this.message+=" "+o.message)}}class ExpressionAccessorError extends ActivityError{constructor(r,e,t,o){super(),this.activityId=r,this.accessorName=e,this.error=t,this.code="WF: expression accessor error",this.message="["+this.code+"] The requested accessor could not be resolved.",this.error=t,this.errors=o}}class ActivityActivationError extends ActivityError{constructor(r,e,t){super(),this.activityId=r,this.type=e,this.error=t,this.code="WF: activity activation error",this.message="["+this.code+"] The requested facility could not be activated.",this.error=t}}class AggregateActivityError extends ActivityError{constructor(r,e){super(),this.activityId=r,this.code="WF: aggregate error",this.message="["+this.code+"] The activity experienced multiple errors.",this.errors=e}}class ActivityInputError extends ActivityError{constructor(r,e){super(),this.inputName=r,this.assertion=e}}ActivityInputError.prototype.code="WF: activity input error",ActivityInputError.prototype.message="[WF: activity input error] The activity has invalid inputs.";class ActivityNotImplementedError extends ActivityError{constructor(r){super(),this.message=`[WF: activity not implemented] The ${r} activity has not been implemented.`}}ActivityNotImplementedError.prototype.code="WF: activity not implemented";export{ActivityError,ActivityAbortedError,ActivityCancellationError,GenericActivityError,ProgramStartError,UnspecifiedError,ActivityBindingError,EngineRuntimeError,ProgramParserError,ExpressionEvaluationError,ExpressionSyntaxError,ExpressionAccessorError,ActivityActivationError,AggregateActivityError,ActivityInputError,ActivityNotImplementedError};
|
package/Hooks.d.ts
CHANGED
|
@@ -18,7 +18,10 @@ export interface IActivityHandlerWithFacility<T> {
|
|
|
18
18
|
export interface IActivityHandlerWithTwoFacilities<T1, T2> {
|
|
19
19
|
execute(inputs: {}, context: IActivityContext, facility1: T1, facility2: T2, ...args: any[]): Deferrable<{}>;
|
|
20
20
|
}
|
|
21
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Decorates activity handlers which require a facility.
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
22
25
|
export declare function activate<T extends IFacility>(basis: T): (target: IActivityHandlerConstructorWithFacility<T>) => void;
|
|
23
26
|
/** Decorates activity handlers which require two facilities. */
|
|
24
27
|
export declare function activateTwo<T1 extends IFacility, T2 extends IFacility>(basis1: T1, basis2: T2): (target: IActivityHandlerConstructorWithTwoFacilities<T1, T2>) => void;
|
package/IActivityHandler.d.ts
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import Bluebird from "bluebird";
|
|
2
|
-
import { LogLevel } from "./diagnostics/logging";
|
|
3
2
|
import { Task } from "./Task";
|
|
4
|
-
|
|
3
|
+
import { LogLevel } from "./diagnostics/logging";
|
|
4
|
+
/**
|
|
5
|
+
* Shorthand for a deferrable result.
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
5
8
|
export declare type Deferrable<T> = PromiseLike<T> | T;
|
|
6
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Implemented by activity handlers.
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
7
13
|
export interface IActivityHandler {
|
|
8
14
|
/** Executes the logic for an activity. */
|
|
9
15
|
execute(inputs: {}, context: IActivityContext, ...args: any[]): Deferrable<{}>;
|
|
10
16
|
}
|
|
11
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Describes ambient-level state.
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
12
21
|
export interface IAmbientState {
|
|
13
22
|
/** Indicates the ActivityContexts with group name monikers that are in scope. */
|
|
14
23
|
activityContexts: {};
|
|
@@ -23,7 +32,7 @@ export interface IAmbientState {
|
|
|
23
32
|
/** Indicates the inputs given to the workflow consumer. */
|
|
24
33
|
inputs: {};
|
|
25
34
|
/** Indicates the current workflow locale. */
|
|
26
|
-
locale: string;
|
|
35
|
+
locale: string | undefined;
|
|
27
36
|
/** Indicates the current workflow log level. */
|
|
28
37
|
logLevel: LogLevel;
|
|
29
38
|
/** Indicates the outputs that the workflow should return. */
|
|
@@ -45,7 +54,10 @@ export interface Abortable {
|
|
|
45
54
|
*/
|
|
46
55
|
signal?: AbortSignal;
|
|
47
56
|
}
|
|
48
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Describes an activity currently being executed.
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
49
61
|
export interface IActivityContext {
|
|
50
62
|
/** Indicates the locally-unique identifier that changes per-run per-activity. */
|
|
51
63
|
luid: any;
|
|
@@ -81,12 +93,14 @@ export interface IActivityContext {
|
|
|
81
93
|
/**
|
|
82
94
|
* Indicates an activity has no inputs. Should only be used in
|
|
83
95
|
* an activity's execute method signature.
|
|
96
|
+
* @public
|
|
84
97
|
*/
|
|
85
98
|
export interface EmptyInputs {
|
|
86
99
|
}
|
|
87
100
|
/**
|
|
88
101
|
* Indicates an activity has no outputs. Should only be used in
|
|
89
102
|
* an activity's execute method signature.
|
|
103
|
+
* @public
|
|
90
104
|
*/
|
|
91
105
|
export interface EmptyOutputs {
|
|
92
106
|
}
|
package/LanguageStringUtils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const defaultStrings={"common-all":"All","common-clear":"Clear","common-done":"Done","common-none":"None","common-start":"Start","common-end":"End","file-picker-remove-item-label":"
|
|
1
|
+
const defaultStrings={"common-all":"All","common-cancel":"Cancel","common-clear":"Clear","common-done":"Done","common-end":"End","common-none":"None","common-ok":"OK","common-start":"Start","common-to":"to","common-today":"Today","common-undo":"Undo","date-range-picker-end-text":"End Date","date-range-picker-start-text":"Start Date","file-picker-remove-item-label":"Remove file","form-element-status-failure":"Failure","form-element-status-invalid":"Invalid input","form-element-status-missing":"Required","form-element-status-pending":"Working...","form-element-status-trivial":"No data","geometry-picker-remove-item-label":"Remove location"};function getStringsForProgram(e,t){const o={...defaultStrings};if(t.strings)for(const r of Object.keys(t.strings))o[r]=t.strings[r];var n=e.getStrings(t.locale);for(const m of Object.keys(n))o[m]=n[m];return o}export{getStringsForProgram};
|
package/Task.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface GetApplicationDataOutputs {
|
|
|
6
6
|
value: any;
|
|
7
7
|
}
|
|
8
8
|
export declare class GetApplicationData implements IActivityHandler {
|
|
9
|
-
static action:
|
|
10
|
-
static suite:
|
|
9
|
+
static readonly action = "gcx:wf:app::GetApplicationData";
|
|
10
|
+
static readonly suite = "gcx:wf:builtin";
|
|
11
11
|
execute(inputs: GetApplicationDataInputs): Promise<GetApplicationDataOutputs>;
|
|
12
12
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { EmptyInputs, IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Defines outputs from the GetApplicationInfo activity.
|
|
4
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
5
|
+
*/
|
|
3
6
|
export interface GetApplicationInfoOutputs {
|
|
4
7
|
name: string;
|
|
5
8
|
version?: string;
|
|
6
9
|
info: any;
|
|
7
10
|
}
|
|
8
11
|
export declare class GetApplicationInfo implements IActivityHandler {
|
|
9
|
-
static action:
|
|
10
|
-
static suite:
|
|
12
|
+
static readonly action = "gcx:wf:app::GetApplicationInfo";
|
|
13
|
+
static readonly suite = "gcx:wf:builtin";
|
|
11
14
|
execute(inputs: EmptyInputs): GetApplicationInfoOutputs;
|
|
12
15
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { IActivityHandler, EmptyInputs } from "../../IActivityHandler";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Defines outputs from the GetUserInfo activity.
|
|
4
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
5
|
+
*/
|
|
3
6
|
export interface GetUserInfoOutputs {
|
|
4
7
|
username: string;
|
|
5
8
|
email: string;
|
|
6
9
|
roles: string[];
|
|
7
10
|
}
|
|
8
11
|
export declare class GetUserInfo implements IActivityHandler {
|
|
9
|
-
static action:
|
|
10
|
-
static suite:
|
|
12
|
+
static readonly action = "gcx:wf:app::GetUserInfo";
|
|
13
|
+
static readonly suite = "gcx:wf:builtin";
|
|
11
14
|
execute(inputs: EmptyInputs): GetUserInfoOutputs;
|
|
12
15
|
}
|
|
@@ -8,7 +8,7 @@ export interface PublishEventInputs {
|
|
|
8
8
|
}
|
|
9
9
|
/** Activity which publishes a named event in the host application. */
|
|
10
10
|
export declare class PublishEvent implements IActivityHandler {
|
|
11
|
-
static action:
|
|
12
|
-
static suite:
|
|
11
|
+
static readonly action = "gcx:wf:app::PublishEvent";
|
|
12
|
+
static readonly suite = "gcx:wf:builtin";
|
|
13
13
|
execute(inputs: PublishEventInputs): EmptyOutputs;
|
|
14
14
|
}
|
|
@@ -5,7 +5,7 @@ export interface RemoveApplicationDataOutputs {
|
|
|
5
5
|
removed: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare class RemoveApplicationData {
|
|
8
|
-
static action:
|
|
9
|
-
static suite:
|
|
8
|
+
static readonly action = "gcx:wf:app::RemoveApplicationData";
|
|
9
|
+
static readonly suite = "gcx:wf:builtin";
|
|
10
10
|
execute(inputs: RemoveApplicationDataInputs): Promise<RemoveApplicationDataOutputs>;
|
|
11
11
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Inputs for the RunCommand activity.
|
|
4
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
5
|
+
*/
|
|
3
6
|
export interface RunCommandInputs {
|
|
4
7
|
/** The name of the command to invoke. */
|
|
5
8
|
commandName: string;
|
|
@@ -8,7 +11,7 @@ export interface RunCommandInputs {
|
|
|
8
11
|
}
|
|
9
12
|
/** Activity which runs a named command in the host application. */
|
|
10
13
|
export declare class RunCommand implements IActivityHandler {
|
|
11
|
-
static action:
|
|
12
|
-
static suite:
|
|
14
|
+
static readonly action = "gcx:wf:app::RunCommand";
|
|
15
|
+
static readonly suite = "gcx:wf:builtin";
|
|
13
16
|
execute(inputs: RunCommandInputs, context: IActivityContext): EmptyOutputs;
|
|
14
17
|
}
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Inputs for the RunOperation activity.
|
|
4
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
5
|
+
*/
|
|
3
6
|
export interface RunOperationInputs {
|
|
4
7
|
/** The name of the operation to invoke. */
|
|
5
8
|
operationName: string;
|
|
6
9
|
/** The parameter to pass to the operation. */
|
|
7
10
|
operationParameter?: any;
|
|
8
11
|
}
|
|
9
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Outputs for the RunOperation activity.
|
|
14
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
15
|
+
*/
|
|
10
16
|
export interface RunOperationOutputs {
|
|
11
17
|
/** The result of the operation. */
|
|
12
18
|
result: any;
|
|
13
19
|
}
|
|
14
20
|
/** Activity which runs a named operation in the host application. */
|
|
15
21
|
export declare class RunOperation implements IActivityHandler {
|
|
16
|
-
static action:
|
|
17
|
-
static suite:
|
|
22
|
+
static readonly action = "gcx:wf:app::RunOperation";
|
|
23
|
+
static readonly suite = "gcx:wf:builtin";
|
|
18
24
|
execute(inputs: RunOperationInputs, context: IActivityContext): RunOperationOutputs;
|
|
19
25
|
}
|
|
@@ -4,7 +4,7 @@ export interface SetApplicationDataInputs {
|
|
|
4
4
|
value: any;
|
|
5
5
|
}
|
|
6
6
|
export declare class SetApplicationData implements IActivityHandler {
|
|
7
|
-
static action:
|
|
8
|
-
static suite:
|
|
7
|
+
static readonly action = "gcx:wf:app::SetApplicationData";
|
|
8
|
+
static readonly suite = "gcx:wf:builtin";
|
|
9
9
|
execute(inputs: SetApplicationDataInputs): EmptyOutputs;
|
|
10
10
|
}
|
|
@@ -16,7 +16,7 @@ export interface AddAttachmentOutputs {
|
|
|
16
16
|
}
|
|
17
17
|
/** Add an attachment to the feature specified by the object id. */
|
|
18
18
|
export declare class AddAttachment implements IActivityHandler {
|
|
19
|
-
static action:
|
|
20
|
-
static suite:
|
|
19
|
+
static readonly action = "gcx:wf:arcgis::AddAttachment";
|
|
20
|
+
static readonly suite = "gcx:wf:builtin";
|
|
21
21
|
execute(inputs: AddAttachmentInputs, context: IActivityContext): Deferrable<AddAttachmentOutputs>;
|
|
22
22
|
}
|
|
@@ -15,8 +15,8 @@ export interface AddFeatureLayerOutputs {
|
|
|
15
15
|
layer: __esri.FeatureLayer;
|
|
16
16
|
}
|
|
17
17
|
export declare class AddFeatureLayer implements IActivityHandler {
|
|
18
|
-
static action:
|
|
19
|
-
static suite:
|
|
18
|
+
static readonly action = "gcx:wf:arcgis::AddFeatureLayer";
|
|
19
|
+
static readonly suite = "gcx:wf:builtin";
|
|
20
20
|
execute(inputs: AddFeatureLayerInputs, _context: IActivityContext, type: typeof MapProvider): Promise<AddFeatureLayerOutputs>;
|
|
21
21
|
/** Override within a host implementation for custom behaviour. */
|
|
22
22
|
protected addLayerToMap(map: MapProvider, layer: __esri.FeatureLayer): void;
|
|
@@ -19,8 +19,8 @@ export interface AddFeaturesOutputs {
|
|
|
19
19
|
success: boolean;
|
|
20
20
|
}
|
|
21
21
|
export declare class AddFeatures implements IActivityHandler {
|
|
22
|
-
static action:
|
|
23
|
-
static suite:
|
|
22
|
+
static readonly action = "gcx:wf:arcgis::AddFeatures";
|
|
23
|
+
static readonly suite = "gcx:wf:builtin";
|
|
24
24
|
execute(inputs: AddFeaturesInputs, context: IActivityContext): Deferrable<AddFeaturesOutputs>;
|
|
25
25
|
/** Called after the apply edit operation completes. */
|
|
26
26
|
protected onApplyEditsComplete(results: ApplyEditResults): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{validation}from"../../Validation.js";import{inline,schedulePromiseCancellation,addToPath,post}from"./tools.js";class AddFeatures{execute(e,t){var a=validation.urlOrLayer(e),a=addToPath(a,"applyEdits"),s=validation.string("gdbVersion",e.gdbVersion),i=validation.number("timeout",e.timeout),s={adds:validation.array("features",e.features,validation.never),gdbVersion:s},i=post(a,s,i,t.cancellationToken.signal);schedulePromiseCancellation(t,i);const o=this;return inline(i,function(e){o.onApplyEditsComplete(e);var t=!!e.addResults?.every(e=>e.success);return{results:e.addResults,success:t}})}onApplyEditsComplete(e){}}AddFeatures.action="gcx:wf:arcgis::AddFeatures",AddFeatures.suite="gcx:wf:builtin";export{AddFeatures};
|
|
1
|
+
import{validation}from"../../Validation.js";import{inline,schedulePromiseCancellation,addToPath,post}from"./tools.js";class AddFeatures{execute(e,t){var a=validation.urlOrLayer(e),a=addToPath(a,"applyEdits"),s=validation.string("gdbVersion",e.gdbVersion),i=validation.number("timeout",e.timeout),s={adds:validation.array("features",e.features,validation.never).map(e=>{if(e.geometry)return e;{const t=e.toJSON();return delete t.geometry,t}}),gdbVersion:s},i=post(a,s,i,t.cancellationToken.signal);schedulePromiseCancellation(t,i);const o=this;return inline(i,function(e){o.onApplyEditsComplete(e);var t=!!e.addResults?.every(e=>e.success);return{results:e.addResults,success:t}})}onApplyEditsComplete(e){}}AddFeatures.action="gcx:wf:arcgis::AddFeatures",AddFeatures.suite="gcx:wf:builtin";export{AddFeatures};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IActivityHandler, IActivityContext, Deferrable } from "../../IActivityHandler";
|
|
2
2
|
import { MapProvider } from "./MapProvider";
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Defines inputs for the AddGraphics activity.
|
|
5
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
6
|
+
*/
|
|
4
7
|
export interface AddGraphicsInputs {
|
|
5
8
|
/** The ID of the graphics layer to add the features to. */
|
|
6
9
|
layerId?: string | number;
|
|
@@ -9,13 +12,16 @@ export interface AddGraphicsInputs {
|
|
|
9
12
|
/** Whether or not all features should be removed from the layer. Defauts to false. */
|
|
10
13
|
removeAllFeatures?: boolean;
|
|
11
14
|
}
|
|
12
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Defines outputs for the AddGraphics activity.
|
|
17
|
+
* @product This is intended for internal use only within VertiGIS Studio products.
|
|
18
|
+
*/
|
|
13
19
|
export interface AddGraphicsOutputs {
|
|
14
20
|
/** Indicates the features that were added. */
|
|
15
21
|
features: __esri.Graphic[];
|
|
16
22
|
}
|
|
17
23
|
export declare class AddGraphics implements IActivityHandler {
|
|
18
|
-
static action:
|
|
19
|
-
static suite:
|
|
24
|
+
static readonly action = "gcx:wf:arcgis::AddGraphicsLayerFeatures";
|
|
25
|
+
static readonly suite = "gcx:wf:builtin";
|
|
20
26
|
execute(inputs: AddGraphicsInputs, context: IActivityContext, type: typeof MapProvider): Deferrable<AddGraphicsOutputs>;
|
|
21
27
|
}
|
|
@@ -12,7 +12,7 @@ export interface ArcadeScriptOutputs {
|
|
|
12
12
|
result: any;
|
|
13
13
|
}
|
|
14
14
|
export declare class ArcadeScript implements IActivityHandler {
|
|
15
|
-
static action:
|
|
16
|
-
static suite:
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::ArcadeScript";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
17
|
execute(inputs: ArcadeScriptInputs, context: IActivityContext): Deferrable<ArcadeScriptOutputs>;
|
|
18
18
|
}
|
|
@@ -13,8 +13,8 @@ export interface AreaEngineTaskOutputs {
|
|
|
13
13
|
area: number;
|
|
14
14
|
}
|
|
15
15
|
export declare class AreaEngineTask implements IActivityHandler {
|
|
16
|
-
static action:
|
|
17
|
-
static suite:
|
|
16
|
+
static readonly action = "gcx:wf:arcgis::AreaEngineTask";
|
|
17
|
+
static readonly suite = "gcx:wf:builtin";
|
|
18
18
|
private executeUsing;
|
|
19
19
|
execute(inputs: AreaEngineTaskInputs): Deferrable<AreaEngineTaskOutputs>;
|
|
20
20
|
}
|
|
@@ -20,8 +20,8 @@ export interface BufferEngineTaskOutputs {
|
|
|
20
20
|
results?: __esri.Polygon[];
|
|
21
21
|
}
|
|
22
22
|
export declare class BufferEngineTask implements IActivityHandler {
|
|
23
|
-
static action:
|
|
24
|
-
static suite:
|
|
23
|
+
static readonly action = "gcx:wf:arcgis::BufferEngineTask";
|
|
24
|
+
static readonly suite = "gcx:wf:builtin";
|
|
25
25
|
private executeUsing;
|
|
26
26
|
execute(inputs: BufferEngineTaskInputs): Deferrable<BufferEngineTaskOutputs>;
|
|
27
27
|
}
|
|
@@ -27,7 +27,7 @@ export interface BufferServiceTaskOutputs {
|
|
|
27
27
|
results?: __esri.Polygon[];
|
|
28
28
|
}
|
|
29
29
|
export declare class BufferServiceTask implements IActivityHandler {
|
|
30
|
-
static action:
|
|
31
|
-
static suite:
|
|
30
|
+
static readonly action = "gcx:wf:arcgis::BufferServiceTask";
|
|
31
|
+
static readonly suite = "gcx:wf:builtin";
|
|
32
32
|
execute(inputs: BufferServiceTaskInputs, context: IActivityContext, mapProvider: typeof MapProvider): Promise<BufferServiceTaskOutputs>;
|
|
33
33
|
}
|
|
@@ -17,7 +17,7 @@ export interface CastGeometryOutputs {
|
|
|
17
17
|
multipoint?: __esri.Multipoint;
|
|
18
18
|
}
|
|
19
19
|
export declare class CastGeometry implements IActivityHandler {
|
|
20
|
-
static action:
|
|
21
|
-
static suite:
|
|
20
|
+
static readonly action = "gcx:wf:arcgis::CastGeometry";
|
|
21
|
+
static readonly suite = "gcx:wf:builtin";
|
|
22
22
|
execute(inputs: CastGeometryInputs): CastGeometryOutputs;
|
|
23
23
|
}
|
|
@@ -6,7 +6,7 @@ export interface ClearGraphicsInputs {
|
|
|
6
6
|
layerId?: string | number;
|
|
7
7
|
}
|
|
8
8
|
export declare class ClearGraphics implements IActivityHandler {
|
|
9
|
-
static action:
|
|
10
|
-
static suite:
|
|
9
|
+
static readonly action = "gcx:wf:arcgis::ClearGraphicsLayer";
|
|
10
|
+
static readonly suite = "gcx:wf:builtin";
|
|
11
11
|
execute(inputs: ClearGraphicsInputs, context: IActivityContext, type: typeof MapProvider): EmptyOutputs;
|
|
12
12
|
}
|
|
@@ -12,7 +12,7 @@ export interface ClipEngineTaskOutputs {
|
|
|
12
12
|
geometry: __esri.Geometry;
|
|
13
13
|
}
|
|
14
14
|
export declare class ClipEngineTask implements IActivityHandler {
|
|
15
|
-
static action:
|
|
16
|
-
static suite:
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::ClipEngineTask";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
17
|
execute(inputs: ClipEngineTaskInputs): Deferrable<ClipEngineTaskOutputs>;
|
|
18
18
|
}
|
|
@@ -84,7 +84,7 @@ export interface ClosestFacilityTaskOutputs {
|
|
|
84
84
|
routes: __esri.FeatureSet;
|
|
85
85
|
}
|
|
86
86
|
export declare class ClosestFacilityTask implements IActivityHandler {
|
|
87
|
-
static action:
|
|
88
|
-
static suite:
|
|
87
|
+
static readonly action = "gcx:wf:arcgis::ClosestFacilityTask";
|
|
88
|
+
static readonly suite = "gcx:wf:builtin";
|
|
89
89
|
execute(inputs: ClosestFacilityTaskInputs, context: IActivityContext, mapProvider: typeof MapProvider): Promise<ClosestFacilityTaskOutputs>;
|
|
90
90
|
}
|
|
@@ -12,8 +12,8 @@ export interface CompareGeometriesOutputs {
|
|
|
12
12
|
result: boolean;
|
|
13
13
|
}
|
|
14
14
|
export declare class CompareGeometries implements IActivityHandler {
|
|
15
|
-
static action:
|
|
16
|
-
static suite:
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::CompareGeometries";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
17
|
private executeWith;
|
|
18
18
|
execute(inputs: CompareGeometriesInputs): Deferrable<CompareGeometriesOutputs>;
|
|
19
19
|
}
|
|
@@ -11,7 +11,7 @@ export interface CreateGraphicOutputs {
|
|
|
11
11
|
feature: __esri.Graphic;
|
|
12
12
|
}
|
|
13
13
|
export declare class CreateGraphic implements IActivityHandler {
|
|
14
|
-
static action:
|
|
15
|
-
static suite:
|
|
14
|
+
static readonly action = "gcx:wf:arcgis::CreateGraphic";
|
|
15
|
+
static readonly suite = "gcx:wf:builtin";
|
|
16
16
|
execute(inputs: CreateGraphicInputs, context: IActivityContext): CreateGraphicOutputs;
|
|
17
17
|
}
|
|
@@ -11,7 +11,7 @@ export interface CreatePointOutputs {
|
|
|
11
11
|
point: __esri.Point;
|
|
12
12
|
}
|
|
13
13
|
export declare class CreatePoint implements IActivityHandler {
|
|
14
|
-
static action:
|
|
15
|
-
static suite:
|
|
14
|
+
static readonly action = "gcx:wf:arcgis::CreatePoint";
|
|
15
|
+
static readonly suite = "gcx:wf:builtin";
|
|
16
16
|
execute(inputs: CreatePointInputs, context: IActivityContext): CreatePointOutputs;
|
|
17
17
|
}
|
|
@@ -12,7 +12,7 @@ export interface CutEngineTaskOutputs {
|
|
|
12
12
|
geometry: __esri.Geometry[];
|
|
13
13
|
}
|
|
14
14
|
export declare class CutEngineTask implements IActivityHandler {
|
|
15
|
-
static action:
|
|
16
|
-
static suite:
|
|
15
|
+
static readonly action = "gcx:wf:arcgis::CutEngineTask";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
17
|
execute(inputs: CutEngineTaskInputs): Deferrable<CutEngineTaskOutputs>;
|
|
18
18
|
}
|
|
@@ -16,7 +16,7 @@ export interface DeleteAttachmentsOutputs {
|
|
|
16
16
|
}
|
|
17
17
|
/** Delete attachments associated with the specified object id. */
|
|
18
18
|
export declare class DeleteAttachments implements IActivityHandler {
|
|
19
|
-
static action:
|
|
20
|
-
static suite:
|
|
19
|
+
static readonly action = "gcx:wf:arcgis::DeleteAttachments";
|
|
20
|
+
static readonly suite = "gcx:wf:builtin";
|
|
21
21
|
execute(inputs: DeleteAttachmentsInputs, context: IActivityContext): Deferrable<DeleteAttachmentsOutputs>;
|
|
22
22
|
}
|
|
@@ -22,8 +22,8 @@ export interface DeleteFeaturesOutputs {
|
|
|
22
22
|
success: boolean;
|
|
23
23
|
}
|
|
24
24
|
export declare class DeleteFeatures implements IActivityHandler {
|
|
25
|
-
static action:
|
|
26
|
-
static suite:
|
|
25
|
+
static readonly action = "gcx:wf:arcgis::DeleteFeatures";
|
|
26
|
+
static readonly suite = "gcx:wf:builtin";
|
|
27
27
|
execute(inputs: DeleteFeaturesInputs, context: IActivityContext): Deferrable<DeleteFeaturesOutputs>;
|
|
28
28
|
/** Called after the apply edit operation completes. */
|
|
29
29
|
protected onApplyEditsComplete(results: ApplyEditResults): void;
|
|
@@ -14,7 +14,7 @@ export interface DensifyEngineTaskOutputs {
|
|
|
14
14
|
geometry: __esri.Geometry;
|
|
15
15
|
}
|
|
16
16
|
export declare class DensifyEngineTask implements IActivityHandler {
|
|
17
|
-
static action:
|
|
18
|
-
static suite:
|
|
17
|
+
static readonly action = "gcx:wf:arcgis::DensifyEngineTask";
|
|
18
|
+
static readonly suite = "gcx:wf:builtin";
|
|
19
19
|
execute(inputs: DensifyEngineTaskInputs): Deferrable<DensifyEngineTaskOutputs>;
|
|
20
20
|
}
|
|
@@ -16,8 +16,8 @@ export interface DifferenceEngineTaskOutputs {
|
|
|
16
16
|
results?: __esri.Geometry[];
|
|
17
17
|
}
|
|
18
18
|
export declare class DifferenceEngineTask implements IActivityHandler {
|
|
19
|
-
static action:
|
|
20
|
-
static suite:
|
|
19
|
+
static readonly action = "gcx:wf:arcgis::DifferenceEngineTask";
|
|
20
|
+
static readonly suite = "gcx:wf:builtin";
|
|
21
21
|
private executeUsing;
|
|
22
22
|
execute(inputs: DifferenceEngineTaskInputs): Deferrable<DifferenceEngineTaskOutputs>;
|
|
23
23
|
}
|
|
@@ -14,7 +14,7 @@ export interface DistanceEngineTaskOutputs {
|
|
|
14
14
|
distance: number;
|
|
15
15
|
}
|
|
16
16
|
export declare class DistanceEngineTask implements IActivityHandler {
|
|
17
|
-
static action:
|
|
18
|
-
static suite:
|
|
17
|
+
static readonly action = "gcx:wf:arcgis::DistanceEngineTask";
|
|
18
|
+
static readonly suite = "gcx:wf:builtin";
|
|
19
19
|
execute(inputs: DistanceEngineTaskInputs): Deferrable<DistanceEngineTaskOutputs>;
|
|
20
20
|
}
|
|
@@ -18,7 +18,7 @@ export interface DistanceServiceTaskOutputs {
|
|
|
18
18
|
distance: number;
|
|
19
19
|
}
|
|
20
20
|
export declare class DistanceServiceTask implements IActivityHandler {
|
|
21
|
-
static action:
|
|
22
|
-
static suite:
|
|
21
|
+
static readonly action = "gcx:wf:arcgis::DistanceServiceTask";
|
|
22
|
+
static readonly suite = "gcx:wf:builtin";
|
|
23
23
|
execute(inputs: DistanceServiceTaskInputs, context: IActivityContext): Promise<DistanceServiceTaskOutputs>;
|
|
24
24
|
}
|