@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,18 +1,18 @@
|
|
|
1
|
-
/** Standard imports. */
|
|
2
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
3
|
-
/** Defines inputs to the Evaluate activity. */
|
|
4
|
-
export interface EvaluateInputs {
|
|
5
|
-
/** The expression to evaluate. */
|
|
6
|
-
expression: any;
|
|
7
|
-
}
|
|
8
|
-
/** Defines outputs to the Evaluate activity. */
|
|
9
|
-
export interface EvaluateOutputs {
|
|
10
|
-
/** The result of the expression evaluation. */
|
|
11
|
-
result: any;
|
|
12
|
-
}
|
|
13
|
-
/** Evaluates an expression and returns the result. */
|
|
14
|
-
export declare class Evaluate implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:core::Evaluate";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: EvaluateInputs): EvaluateOutputs;
|
|
18
|
-
}
|
|
1
|
+
/** Standard imports. */
|
|
2
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
3
|
+
/** Defines inputs to the Evaluate activity. */
|
|
4
|
+
export interface EvaluateInputs {
|
|
5
|
+
/** The expression to evaluate. */
|
|
6
|
+
expression: any;
|
|
7
|
+
}
|
|
8
|
+
/** Defines outputs to the Evaluate activity. */
|
|
9
|
+
export interface EvaluateOutputs {
|
|
10
|
+
/** The result of the expression evaluation. */
|
|
11
|
+
result: any;
|
|
12
|
+
}
|
|
13
|
+
/** Evaluates an expression and returns the result. */
|
|
14
|
+
export declare class Evaluate implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:core::Evaluate";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: EvaluateInputs): EvaluateOutputs;
|
|
18
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/** Standard imports. */
|
|
2
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
3
|
-
/** Defines inputs to the activity. */
|
|
4
|
-
export interface EvaluateAsyncInputs {
|
|
5
|
-
/** The expression to evaluate asynchronously. */
|
|
6
|
-
expression: any;
|
|
7
|
-
}
|
|
8
|
-
/** Defines outputs to the activity. */
|
|
9
|
-
export interface EvaluateAsyncOutputs {
|
|
10
|
-
/** The result of the expression evaluation. */
|
|
11
|
-
result: any;
|
|
12
|
-
}
|
|
13
|
-
/** Evaluates an asynchronous expression and returns the result. */
|
|
14
|
-
export declare class EvaluateAsync implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:core::EvaluateAsync";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: EvaluateAsyncInputs): Promise<EvaluateAsyncOutputs>;
|
|
18
|
-
}
|
|
1
|
+
/** Standard imports. */
|
|
2
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
3
|
+
/** Defines inputs to the activity. */
|
|
4
|
+
export interface EvaluateAsyncInputs {
|
|
5
|
+
/** The expression to evaluate asynchronously. */
|
|
6
|
+
expression: any;
|
|
7
|
+
}
|
|
8
|
+
/** Defines outputs to the activity. */
|
|
9
|
+
export interface EvaluateAsyncOutputs {
|
|
10
|
+
/** The result of the expression evaluation. */
|
|
11
|
+
result: any;
|
|
12
|
+
}
|
|
13
|
+
/** Evaluates an asynchronous expression and returns the result. */
|
|
14
|
+
export declare class EvaluateAsync implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:core::EvaluateAsync";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: EvaluateAsyncInputs): Promise<EvaluateAsyncOutputs>;
|
|
18
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/** Standard imports. */
|
|
2
|
-
import { IActivityHandler, IActivityContext, EmptyInputs, EmptyOutputs } from "../../IActivityHandler";
|
|
3
|
-
export declare class Exit implements IActivityHandler {
|
|
4
|
-
static readonly action = "gcx:wf:core::Exit";
|
|
5
|
-
static readonly suite = "gcx:wf:builtin";
|
|
6
|
-
execute(inputs: EmptyInputs, context: IActivityContext): EmptyOutputs;
|
|
7
|
-
}
|
|
1
|
+
/** Standard imports. */
|
|
2
|
+
import { IActivityHandler, IActivityContext, EmptyInputs, EmptyOutputs } from "../../IActivityHandler";
|
|
3
|
+
export declare class Exit implements IActivityHandler {
|
|
4
|
+
static readonly action = "gcx:wf:core::Exit";
|
|
5
|
+
static readonly suite = "gcx:wf:builtin";
|
|
6
|
+
execute(inputs: EmptyInputs, context: IActivityContext): EmptyOutputs;
|
|
7
|
+
}
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
static readonly
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
1
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs to the ForEach activity. */
|
|
3
|
+
export interface ForEachInputs<T> {
|
|
4
|
+
/** A collection of items to iterate over. */
|
|
5
|
+
items: T[] | Record<string, T>;
|
|
6
|
+
/** Whether or not to continue processing items. */
|
|
7
|
+
exit?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/** Defines outputs to the ForEach activity. */
|
|
10
|
+
export interface ForEachOutputs<T> {
|
|
11
|
+
/** The key of the item currently being processed. */
|
|
12
|
+
key?: string;
|
|
13
|
+
/** The pass that the loop is on, if looping. */
|
|
14
|
+
pass?: number;
|
|
15
|
+
/** The count of the items. */
|
|
16
|
+
count?: number;
|
|
17
|
+
/** The current item from the items collection */
|
|
18
|
+
item?: T;
|
|
19
|
+
}
|
|
20
|
+
export declare class ForEach implements IActivityHandler {
|
|
21
|
+
static readonly action = "gcx:wf:core:loop:ForEach";
|
|
22
|
+
static readonly suite = "gcx:wf:builtin";
|
|
23
|
+
/** Carries out the functionality for the ForEach activity. */
|
|
24
|
+
execute<T>(inputs: ForEachInputs<T>, context: IActivityContext): ForEachOutputs<T>;
|
|
25
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { IActivityContext, IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs to the Format Date activity. */
|
|
3
|
-
export interface FormatDateInputs {
|
|
4
|
-
date: string | number;
|
|
5
|
-
format?: "LT" | "LTS" | "L" | "l" | "LL" | "ll" | "LLL" | "lll" | "LLLL" | "llll" | string;
|
|
6
|
-
}
|
|
7
|
-
/** Defines outputs to the Format Date activity. */
|
|
8
|
-
export interface FormatDateOutputs {
|
|
9
|
-
formatted: string;
|
|
10
|
-
iso: string;
|
|
11
|
-
local: string;
|
|
12
|
-
unix: number;
|
|
13
|
-
utc: string;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Parses a date input such as epoch milliseconds, ISO string (anything Date constructor can take) and provides
|
|
17
|
-
*/
|
|
18
|
-
export declare class FormatDate implements IActivityHandler {
|
|
19
|
-
static readonly action = "gcx:wf:core::FormatDate";
|
|
20
|
-
static readonly suite = "gcx:wf:builtin";
|
|
21
|
-
execute(inputs: FormatDateInputs, context: IActivityContext): FormatDateOutputs;
|
|
22
|
-
getFormattedDate(date: Date, inputFormat: string | undefined, locale: string | undefined): string;
|
|
23
|
-
}
|
|
1
|
+
import { IActivityContext, IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs to the Format Date activity. */
|
|
3
|
+
export interface FormatDateInputs {
|
|
4
|
+
date: string | number;
|
|
5
|
+
format?: "LT" | "LTS" | "L" | "l" | "LL" | "ll" | "LLL" | "lll" | "LLLL" | "llll" | string;
|
|
6
|
+
}
|
|
7
|
+
/** Defines outputs to the Format Date activity. */
|
|
8
|
+
export interface FormatDateOutputs {
|
|
9
|
+
formatted: string;
|
|
10
|
+
iso: string;
|
|
11
|
+
local: string;
|
|
12
|
+
unix: number;
|
|
13
|
+
utc: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Parses a date input such as epoch milliseconds, ISO string (anything Date constructor can take) and provides
|
|
17
|
+
*/
|
|
18
|
+
export declare class FormatDate implements IActivityHandler {
|
|
19
|
+
static readonly action = "gcx:wf:core::FormatDate";
|
|
20
|
+
static readonly suite = "gcx:wf:builtin";
|
|
21
|
+
execute(inputs: FormatDateInputs, context: IActivityContext): FormatDateOutputs;
|
|
22
|
+
getFormattedDate(date: Date, inputFormat: string | undefined, locale: string | undefined): string | undefined;
|
|
23
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetBase64StringFromBytes activity. */
|
|
3
|
-
export interface GetBase64StringFromBytesInputs {
|
|
4
|
-
bytes: number[];
|
|
5
|
-
}
|
|
6
|
-
/** Defines outputs for the GetBase64StringFromBytes activity. */
|
|
7
|
-
export interface GetBase64StringFromBytesOutputs {
|
|
8
|
-
/** The base-64 encoded string. */
|
|
9
|
-
result: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class GetBase64StringFromBytes implements IActivityHandler {
|
|
12
|
-
static readonly action = "gcx:wf:core::GetBase64StringFromBytes";
|
|
13
|
-
static readonly suite = "gcx:wf:builtin";
|
|
14
|
-
execute(inputs: GetBase64StringFromBytesInputs): GetBase64StringFromBytesOutputs;
|
|
15
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetBase64StringFromBytes activity. */
|
|
3
|
+
export interface GetBase64StringFromBytesInputs {
|
|
4
|
+
bytes: number[];
|
|
5
|
+
}
|
|
6
|
+
/** Defines outputs for the GetBase64StringFromBytes activity. */
|
|
7
|
+
export interface GetBase64StringFromBytesOutputs {
|
|
8
|
+
/** The base-64 encoded string. */
|
|
9
|
+
result: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class GetBase64StringFromBytes implements IActivityHandler {
|
|
12
|
+
static readonly action = "gcx:wf:core::GetBase64StringFromBytes";
|
|
13
|
+
static readonly suite = "gcx:wf:builtin";
|
|
14
|
+
execute(inputs: GetBase64StringFromBytesInputs): GetBase64StringFromBytesOutputs;
|
|
15
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetBase64StringFromFile activity. */
|
|
3
|
-
export interface GetBase64StringFromFileInputs {
|
|
4
|
-
file: File;
|
|
5
|
-
}
|
|
6
|
-
/** Defines outputs from the GetBase64StringFromFile activity. */
|
|
7
|
-
export interface GetBase64StringFromFileOutputs {
|
|
8
|
-
result: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class GetBase64StringFromFile implements IActivityHandler {
|
|
11
|
-
static readonly action = "gcx:wf:core::GetBase64StringFromFile";
|
|
12
|
-
static readonly suite = "gcx:wf:builtin";
|
|
13
|
-
execute(inputs: GetBase64StringFromFileInputs): Promise<GetBase64StringFromFileOutputs>;
|
|
14
|
-
private getBase64;
|
|
15
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetBase64StringFromFile activity. */
|
|
3
|
+
export interface GetBase64StringFromFileInputs {
|
|
4
|
+
file: File;
|
|
5
|
+
}
|
|
6
|
+
/** Defines outputs from the GetBase64StringFromFile activity. */
|
|
7
|
+
export interface GetBase64StringFromFileOutputs {
|
|
8
|
+
result: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class GetBase64StringFromFile implements IActivityHandler {
|
|
11
|
+
static readonly action = "gcx:wf:core::GetBase64StringFromFile";
|
|
12
|
+
static readonly suite = "gcx:wf:builtin";
|
|
13
|
+
execute(inputs: GetBase64StringFromFileInputs): Promise<GetBase64StringFromFileOutputs>;
|
|
14
|
+
private getBase64;
|
|
15
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetBytesFromBase64String activity. */
|
|
3
|
-
export interface GetBytesFromBase64StringInputs {
|
|
4
|
-
base64: string;
|
|
5
|
-
}
|
|
6
|
-
/** Defines outputs for the GetBytesFromBase64String activity. */
|
|
7
|
-
export interface GetBytesFromBase64StringOutputs {
|
|
8
|
-
/** The decoded bytes. */
|
|
9
|
-
result: number[];
|
|
10
|
-
}
|
|
11
|
-
export declare class GetBytesFromBase64String implements IActivityHandler {
|
|
12
|
-
static readonly action = "gcx:wf:core::GetBytesFromBase64String";
|
|
13
|
-
static readonly suite = "gcx:wf:builtin";
|
|
14
|
-
execute(inputs: GetBytesFromBase64StringInputs): GetBytesFromBase64StringOutputs;
|
|
15
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetBytesFromBase64String activity. */
|
|
3
|
+
export interface GetBytesFromBase64StringInputs {
|
|
4
|
+
base64: string;
|
|
5
|
+
}
|
|
6
|
+
/** Defines outputs for the GetBytesFromBase64String activity. */
|
|
7
|
+
export interface GetBytesFromBase64StringOutputs {
|
|
8
|
+
/** The decoded bytes. */
|
|
9
|
+
result: number[];
|
|
10
|
+
}
|
|
11
|
+
export declare class GetBytesFromBase64String implements IActivityHandler {
|
|
12
|
+
static readonly action = "gcx:wf:core::GetBytesFromBase64String";
|
|
13
|
+
static readonly suite = "gcx:wf:builtin";
|
|
14
|
+
execute(inputs: GetBytesFromBase64StringInputs): GetBytesFromBase64StringOutputs;
|
|
15
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetFirstItem activity. */
|
|
3
|
-
export interface GetFirstItemInputs {
|
|
4
|
-
collection: any[];
|
|
5
|
-
}
|
|
6
|
-
/** Defines outputs from the GetFirstItem activity. */
|
|
7
|
-
export interface GetFirstItemOutputs {
|
|
8
|
-
item: any;
|
|
9
|
-
}
|
|
10
|
-
export declare class GetFirstItem implements IActivityHandler {
|
|
11
|
-
static readonly action = "gcx:wf:core::GetFirstItem";
|
|
12
|
-
static readonly suite = "gcx:wf:builtin";
|
|
13
|
-
execute(inputs: GetFirstItemInputs): GetFirstItemOutputs;
|
|
14
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetFirstItem activity. */
|
|
3
|
+
export interface GetFirstItemInputs {
|
|
4
|
+
collection: any[];
|
|
5
|
+
}
|
|
6
|
+
/** Defines outputs from the GetFirstItem activity. */
|
|
7
|
+
export interface GetFirstItemOutputs {
|
|
8
|
+
item: any;
|
|
9
|
+
}
|
|
10
|
+
export declare class GetFirstItem implements IActivityHandler {
|
|
11
|
+
static readonly action = "gcx:wf:core::GetFirstItem";
|
|
12
|
+
static readonly suite = "gcx:wf:builtin";
|
|
13
|
+
execute(inputs: GetFirstItemInputs): GetFirstItemOutputs;
|
|
14
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetItemAtIndex activity. */
|
|
3
|
-
export interface GetItemAtIndexInputs {
|
|
4
|
-
collection: any[];
|
|
5
|
-
index: number;
|
|
6
|
-
}
|
|
7
|
-
/** Defines outputs from the GetItemAtIndex activity. */
|
|
8
|
-
export interface GetItemAtIndexOutputs {
|
|
9
|
-
item: any;
|
|
10
|
-
}
|
|
11
|
-
export declare class GetItemAtIndex implements IActivityHandler {
|
|
12
|
-
static readonly action = "gcx:wf:core::GetItemAtIndex";
|
|
13
|
-
static readonly suite = "gcx:wf:builtin";
|
|
14
|
-
execute(inputs: GetItemAtIndexInputs): GetItemAtIndexOutputs;
|
|
15
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetItemAtIndex activity. */
|
|
3
|
+
export interface GetItemAtIndexInputs {
|
|
4
|
+
collection: any[];
|
|
5
|
+
index: number;
|
|
6
|
+
}
|
|
7
|
+
/** Defines outputs from the GetItemAtIndex activity. */
|
|
8
|
+
export interface GetItemAtIndexOutputs {
|
|
9
|
+
item: any;
|
|
10
|
+
}
|
|
11
|
+
export declare class GetItemAtIndex implements IActivityHandler {
|
|
12
|
+
static readonly action = "gcx:wf:core::GetItemAtIndex";
|
|
13
|
+
static readonly suite = "gcx:wf:builtin";
|
|
14
|
+
execute(inputs: GetItemAtIndexInputs): GetItemAtIndexOutputs;
|
|
15
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetLastItem activity. */
|
|
3
|
-
export interface GetLastItemInputs {
|
|
4
|
-
collection: any[];
|
|
5
|
-
}
|
|
6
|
-
/** Defines outputs from the GetLastItem activity. */
|
|
7
|
-
export interface GetLastItemOutputs {
|
|
8
|
-
item: any;
|
|
9
|
-
}
|
|
10
|
-
export declare class GetLastItem implements IActivityHandler {
|
|
11
|
-
static readonly action = "gcx:wf:core::GetLastItem";
|
|
12
|
-
static readonly suite = "gcx:wf:builtin";
|
|
13
|
-
execute(inputs: GetLastItemInputs): GetLastItemOutputs;
|
|
14
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetLastItem activity. */
|
|
3
|
+
export interface GetLastItemInputs {
|
|
4
|
+
collection: any[];
|
|
5
|
+
}
|
|
6
|
+
/** Defines outputs from the GetLastItem activity. */
|
|
7
|
+
export interface GetLastItemOutputs {
|
|
8
|
+
item: any;
|
|
9
|
+
}
|
|
10
|
+
export declare class GetLastItem implements IActivityHandler {
|
|
11
|
+
static readonly action = "gcx:wf:core::GetLastItem";
|
|
12
|
+
static readonly suite = "gcx:wf:builtin";
|
|
13
|
+
execute(inputs: GetLastItemInputs): GetLastItemOutputs;
|
|
14
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IActivityHandler, EmptyInputs, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
export interface GetLogLevelOutputs {
|
|
3
|
-
level: "error" | "warning" | "log" | "info" | "debug";
|
|
4
|
-
}
|
|
5
|
-
export declare class GetLogLevel implements IActivityHandler {
|
|
6
|
-
static readonly action = "gcx:wf:core::GetLogLevel";
|
|
7
|
-
static readonly suite = "gcx:wf:builtin";
|
|
8
|
-
execute(_inputs: EmptyInputs, context: IActivityContext): GetLogLevelOutputs;
|
|
9
|
-
}
|
|
1
|
+
import { IActivityHandler, EmptyInputs, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
export interface GetLogLevelOutputs {
|
|
3
|
+
level: "error" | "warning" | "log" | "info" | "debug";
|
|
4
|
+
}
|
|
5
|
+
export declare class GetLogLevel implements IActivityHandler {
|
|
6
|
+
static readonly action = "gcx:wf:core::GetLogLevel";
|
|
7
|
+
static readonly suite = "gcx:wf:builtin";
|
|
8
|
+
execute(_inputs: EmptyInputs, context: IActivityContext): GetLogLevelOutputs;
|
|
9
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines inputs for the GetTextFromFile activity. */
|
|
3
|
-
export interface GetTextFromFileInputs {
|
|
4
|
-
file: File;
|
|
5
|
-
encoding?: "ASCII" | "Unicode" | "utf-7" | "utf-8" | "utf-16" | "utf-16BE" | "utf-32" | string;
|
|
6
|
-
}
|
|
7
|
-
/** Defines outputs from the GetTextFromFile activity. */
|
|
8
|
-
export interface GetTextFromFileOutputs {
|
|
9
|
-
result: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class GetTextFromFile implements IActivityHandler {
|
|
12
|
-
static readonly action = "gcx:wf:core::GetTextFromFile";
|
|
13
|
-
static readonly suite = "gcx:wf:builtin";
|
|
14
|
-
execute(inputs: GetTextFromFileInputs): Promise<GetTextFromFileOutputs>;
|
|
15
|
-
private getText;
|
|
16
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines inputs for the GetTextFromFile activity. */
|
|
3
|
+
export interface GetTextFromFileInputs {
|
|
4
|
+
file: File;
|
|
5
|
+
encoding?: "ASCII" | "Unicode" | "utf-7" | "utf-8" | "utf-16" | "utf-16BE" | "utf-32" | string;
|
|
6
|
+
}
|
|
7
|
+
/** Defines outputs from the GetTextFromFile activity. */
|
|
8
|
+
export interface GetTextFromFileOutputs {
|
|
9
|
+
result: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class GetTextFromFile implements IActivityHandler {
|
|
12
|
+
static readonly action = "gcx:wf:core::GetTextFromFile";
|
|
13
|
+
static readonly suite = "gcx:wf:builtin";
|
|
14
|
+
execute(inputs: GetTextFromFileInputs): Promise<GetTextFromFileOutputs>;
|
|
15
|
+
private getText;
|
|
16
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/** Standard imports. */
|
|
2
|
-
import { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
3
|
-
/** Defines outputs to the GetWorkflowInputs activity. */
|
|
4
|
-
export interface GetWorkflowInputsOutputs {
|
|
5
|
-
inputs: Object;
|
|
6
|
-
}
|
|
7
|
-
/** Activity which gets the input parameters of the workflow. */
|
|
8
|
-
export declare class GetWorkflowInputs implements IActivityHandler {
|
|
9
|
-
static readonly action = "gcx:wf:core::GetWorkflowInputs";
|
|
10
|
-
static readonly suite = "gcx:wf:builtin";
|
|
11
|
-
execute(inputs: EmptyInputs, context: IActivityContext): GetWorkflowInputsOutputs;
|
|
12
|
-
}
|
|
1
|
+
/** Standard imports. */
|
|
2
|
+
import { IActivityHandler, IActivityContext, EmptyInputs } from "../../IActivityHandler";
|
|
3
|
+
/** Defines outputs to the GetWorkflowInputs activity. */
|
|
4
|
+
export interface GetWorkflowInputsOutputs {
|
|
5
|
+
inputs: Object;
|
|
6
|
+
}
|
|
7
|
+
/** Activity which gets the input parameters of the workflow. */
|
|
8
|
+
export declare class GetWorkflowInputs implements IActivityHandler {
|
|
9
|
+
static readonly action = "gcx:wf:core::GetWorkflowInputs";
|
|
10
|
+
static readonly suite = "gcx:wf:builtin";
|
|
11
|
+
execute(inputs: EmptyInputs, context: IActivityContext): GetWorkflowInputsOutputs;
|
|
12
|
+
}
|
package/activities/core/If.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/** Standard imports. */
|
|
2
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
|
-
/** Defines inputs to the If activity. */
|
|
4
|
-
export interface IfInputs {
|
|
5
|
-
/** Indicates the boolean value to act upon. */
|
|
6
|
-
condition: boolean;
|
|
7
|
-
}
|
|
8
|
-
/** Defines outputs to the If activity. */
|
|
9
|
-
export interface IfOutputs {
|
|
10
|
-
/** Indicates the branch that was taken. */
|
|
11
|
-
result: boolean;
|
|
12
|
-
}
|
|
13
|
-
/** Branches based on a condition. */
|
|
14
|
-
export declare class If implements IActivityHandler {
|
|
15
|
-
static readonly action = "gcx:wf:core::If";
|
|
16
|
-
static readonly suite = "gcx:wf:builtin";
|
|
17
|
-
execute(inputs: IfInputs, context: IActivityContext): IfOutputs;
|
|
18
|
-
}
|
|
1
|
+
/** Standard imports. */
|
|
2
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
|
+
/** Defines inputs to the If activity. */
|
|
4
|
+
export interface IfInputs {
|
|
5
|
+
/** Indicates the boolean value to act upon. */
|
|
6
|
+
condition: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** Defines outputs to the If activity. */
|
|
9
|
+
export interface IfOutputs {
|
|
10
|
+
/** Indicates the branch that was taken. */
|
|
11
|
+
result: boolean;
|
|
12
|
+
}
|
|
13
|
+
/** Branches based on a condition. */
|
|
14
|
+
export declare class If implements IActivityHandler {
|
|
15
|
+
static readonly action = "gcx:wf:core::If";
|
|
16
|
+
static readonly suite = "gcx:wf:builtin";
|
|
17
|
+
execute(inputs: IfInputs, context: IActivityContext): IfOutputs;
|
|
18
|
+
}
|
package/activities/core/Log.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IActivityHandler, EmptyOutputs, IActivityContext } from "../../IActivityHandler";
|
|
2
|
-
/** Inputs for the Log activity. */
|
|
3
|
-
export interface LogInputs {
|
|
4
|
-
/** The message to log. */
|
|
5
|
-
message: any;
|
|
6
|
-
level?: "error" | "warning" | "log" | "info" | "debug";
|
|
7
|
-
}
|
|
8
|
-
/** An activity to log a message natively (in the console?) */
|
|
9
|
-
export declare class Log implements IActivityHandler {
|
|
10
|
-
static readonly action = "gcx:wf:core::Log";
|
|
11
|
-
static readonly suite = "gcx:wf:builtin";
|
|
12
|
-
protected _getConsole(): Pick<Console, "debug" | "error" | "info" | "log" | "warn">;
|
|
13
|
-
execute(inputs: LogInputs, context
|
|
14
|
-
}
|
|
1
|
+
import { IActivityHandler, EmptyOutputs, IActivityContext } from "../../IActivityHandler";
|
|
2
|
+
/** Inputs for the Log activity. */
|
|
3
|
+
export interface LogInputs {
|
|
4
|
+
/** The message to log. */
|
|
5
|
+
message: any;
|
|
6
|
+
level?: "error" | "warning" | "log" | "info" | "debug";
|
|
7
|
+
}
|
|
8
|
+
/** An activity to log a message natively (in the console?) */
|
|
9
|
+
export declare class Log implements IActivityHandler {
|
|
10
|
+
static readonly action = "gcx:wf:core::Log";
|
|
11
|
+
static readonly suite = "gcx:wf:builtin";
|
|
12
|
+
protected _getConsole(): Pick<Console, "debug" | "error" | "info" | "log" | "warn">;
|
|
13
|
+
execute(inputs: LogInputs, context: IActivityContext): EmptyOutputs;
|
|
14
|
+
}
|
package/activities/core/Log.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
class Log{_getConsole(){return console}execute(e,o){var{level:e,message:g}=e;const n=this._getConsole();if(!n)return{};o=RankedLogLevel[o
|
|
1
|
+
class Log{_getConsole(){return console}execute(e,o){var{level:e,message:g}=e;const n=this._getConsole();if(!n)return{};o=RankedLogLevel[o.ambient.logLevel]||RankedLogLevel.log;if((RankedLogLevel[e]||RankedLogLevel.log)<=o)switch(e){case"debug":n.debug(g);break;case"info":n.info(g);break;case"warning":n.warn(g);break;case"error":n.error(g);break;default:n.log(g)}return{}}}var RankedLogLevel;Log.action="gcx:wf:core::Log",Log.suite="gcx:wf:builtin",function(e){e[e.error=1]="error",e[e.warning=2]="warning",e[e.log=3]="log",e[e.info=4]="info",e[e.debug=5]="debug"}(RankedLogLevel=RankedLogLevel||{});export{Log};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/** Standard imports. */
|
|
2
|
-
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
|
-
/** Defines inputs to the Loop activity. */
|
|
4
|
-
export interface LoopInputs {
|
|
5
|
-
/** Whether or not the loop should break. Unnecessary if collection has a value. */
|
|
6
|
-
exit?: boolean;
|
|
7
|
-
/** Whether or not the loop should progress. */
|
|
8
|
-
loop?: boolean;
|
|
9
|
-
/** A collection of items to iterate over to control the loop. */
|
|
10
|
-
collection?: any[];
|
|
11
|
-
/** The lower bound on how many passes the loop should take. The default is 0. */
|
|
12
|
-
count?: number;
|
|
13
|
-
/** The upper bound on how many passes the loop should take. The default is 1000. */
|
|
14
|
-
limit?: number;
|
|
15
|
-
}
|
|
16
|
-
/** Defines outputs to the Loop activity. */
|
|
17
|
-
export interface LoopOutputs {
|
|
18
|
-
/** The pass that the loop is on, if looping. */
|
|
19
|
-
pass?: number;
|
|
20
|
-
/** Deprecated: The item from the collection. This is only available if collection input was provided. */
|
|
21
|
-
item?: any;
|
|
22
|
-
}
|
|
23
|
-
export declare class Loop implements IActivityHandler {
|
|
24
|
-
static readonly action = "gcx:wf:core:loop:Loop";
|
|
25
|
-
static readonly suite = "gcx:wf:builtin";
|
|
26
|
-
execute(inputs: LoopInputs, context: IActivityContext): LoopOutputs;
|
|
27
|
-
}
|
|
1
|
+
/** Standard imports. */
|
|
2
|
+
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
|
+
/** Defines inputs to the Loop activity. */
|
|
4
|
+
export interface LoopInputs {
|
|
5
|
+
/** Whether or not the loop should break. Unnecessary if collection has a value. */
|
|
6
|
+
exit?: boolean;
|
|
7
|
+
/** Whether or not the loop should progress. */
|
|
8
|
+
loop?: boolean;
|
|
9
|
+
/** A collection of items to iterate over to control the loop. */
|
|
10
|
+
collection?: any[];
|
|
11
|
+
/** The lower bound on how many passes the loop should take. The default is 0. */
|
|
12
|
+
count?: number;
|
|
13
|
+
/** The upper bound on how many passes the loop should take. The default is 1000. */
|
|
14
|
+
limit?: number;
|
|
15
|
+
}
|
|
16
|
+
/** Defines outputs to the Loop activity. */
|
|
17
|
+
export interface LoopOutputs {
|
|
18
|
+
/** The pass that the loop is on, if looping. */
|
|
19
|
+
pass?: number;
|
|
20
|
+
/** Deprecated: The item from the collection. This is only available if collection input was provided. */
|
|
21
|
+
item?: any;
|
|
22
|
+
}
|
|
23
|
+
export declare class Loop implements IActivityHandler {
|
|
24
|
+
static readonly action = "gcx:wf:core:loop:Loop";
|
|
25
|
+
static readonly suite = "gcx:wf:builtin";
|
|
26
|
+
execute(inputs: LoopInputs, context: IActivityContext): LoopOutputs;
|
|
27
|
+
}
|
package/activities/core/Loop.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{validation}from"../../Validation.js";function loopExit(){return{looping:!1}}function loopNext(o,i){return o.call("loop"),{looping:!0,pass:o.passes,item:i}}class Loop{execute(o,i){var t=validation.number("count",o.count,0),l=validation.number("limit",o.limit,1e3),n=validation.array("collections",o.collection
|
|
1
|
+
import{validation}from"../../Validation.js";function loopExit(){return{looping:!1}}function loopNext(o,i){return o.call("loop"),{looping:!0,pass:o.passes,item:i}}class Loop{execute(o,i){var t=validation.number("count",o.count,0),l=validation.number("limit",o.limit,1e3),n=validation.array("collections",o.collection),e=i.passes,p=o.exit;if(void 0!==p&&p)return loopExit();o=o.loop;return void 0!==o&&!o||l<=e?loopExit():void 0!==n?e>=n.length?loopExit():loopNext(i,n[e]):e<t||void 0!==p&&!p||void 0!==o&&o?loopNext(i):loopExit()}}Loop.action="gcx:wf:core:loop:Loop",Loop.suite="gcx:wf:builtin";export{Loop};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
-
/** Defines outputs for the ParseJson activity. */
|
|
3
|
-
export interface ParseJsonInputs {
|
|
4
|
-
/** The JSON text to parse. */
|
|
5
|
-
json: string;
|
|
6
|
-
}
|
|
7
|
-
/** Defines outputs for the ParseJson activity. */
|
|
8
|
-
export interface ParseJsonOutputs {
|
|
9
|
-
/** The object corresponding to the given JSON text. */
|
|
10
|
-
result: any;
|
|
11
|
-
}
|
|
12
|
-
export declare class ParseJson implements IActivityHandler {
|
|
13
|
-
static readonly action = "gcx:wf:core::ParseJson";
|
|
14
|
-
static readonly suite = "gcx:wf:builtin";
|
|
15
|
-
execute(inputs: ParseJsonInputs): ParseJsonOutputs;
|
|
16
|
-
}
|
|
1
|
+
import { IActivityHandler } from "../../IActivityHandler";
|
|
2
|
+
/** Defines outputs for the ParseJson activity. */
|
|
3
|
+
export interface ParseJsonInputs {
|
|
4
|
+
/** The JSON text to parse. */
|
|
5
|
+
json: string;
|
|
6
|
+
}
|
|
7
|
+
/** Defines outputs for the ParseJson activity. */
|
|
8
|
+
export interface ParseJsonOutputs {
|
|
9
|
+
/** The object corresponding to the given JSON text. */
|
|
10
|
+
result: any;
|
|
11
|
+
}
|
|
12
|
+
export declare class ParseJson implements IActivityHandler {
|
|
13
|
+
static readonly action = "gcx:wf:core::ParseJson";
|
|
14
|
+
static readonly suite = "gcx:wf:builtin";
|
|
15
|
+
execute(inputs: ParseJsonInputs): ParseJsonOutputs;
|
|
16
|
+
}
|