@vertigis/workflow 5.35.1 → 5.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) hide show
  1. package/Activator.d.ts +25 -25
  2. package/Collections.d.ts +83 -91
  3. package/EnumUtils.d.ts +28 -28
  4. package/Errors.d.ts +155 -155
  5. package/Hooks.d.ts +32 -32
  6. package/IActivityHandler.d.ts +101 -106
  7. package/LanguageStringUtils.d.ts +16 -17
  8. package/LanguageStringUtils.js +1 -1
  9. package/ProgramInspectorFacility.d.ts +23 -24
  10. package/Task.d.ts +56 -56
  11. package/TemplateUtils.d.ts +28 -28
  12. package/Validation.d.ts +151 -26
  13. package/Validation.js +1 -1
  14. package/activities/app/GetApplicationData.d.ts +15 -12
  15. package/activities/app/GetApplicationData.js +1 -1
  16. package/activities/app/GetApplicationInfo.d.ts +15 -15
  17. package/activities/app/GetUserInfo.d.ts +15 -15
  18. package/activities/app/PublishEvent.d.ts +14 -14
  19. package/activities/app/RemoveApplicationData.d.ts +14 -11
  20. package/activities/app/RemoveApplicationData.js +1 -1
  21. package/activities/app/RunCommand.d.ts +17 -17
  22. package/activities/app/RunOperation.d.ts +25 -25
  23. package/activities/app/SetApplicationData.d.ts +13 -10
  24. package/activities/app/SetApplicationData.js +1 -1
  25. package/activities/app/applicationData.d.ts +12 -0
  26. package/activities/app/applicationData.js +1 -0
  27. package/activities/arcgis/AddAttachment.d.ts +22 -22
  28. package/activities/arcgis/AddAttachment.js +1 -1
  29. package/activities/arcgis/AddFeatureLayer.d.ts +23 -23
  30. package/activities/arcgis/AddFeatureLayer.js +1 -1
  31. package/activities/arcgis/AddFeatures.d.ts +27 -27
  32. package/activities/arcgis/AddFeatures.js +1 -1
  33. package/activities/arcgis/AddGraphics.d.ts +27 -27
  34. package/activities/arcgis/AddGraphics.js +1 -1
  35. package/activities/arcgis/ArcadeScript.d.ts +17 -18
  36. package/activities/arcgis/ArcadeScript.js +1 -1
  37. package/activities/arcgis/AreaEngineTask.d.ts +20 -20
  38. package/activities/arcgis/AreaEngineTask.js +1 -1
  39. package/activities/arcgis/BufferEngineTask.d.ts +27 -27
  40. package/activities/arcgis/BufferEngineTask.js +1 -1
  41. package/activities/arcgis/BufferServiceTask.d.ts +33 -33
  42. package/activities/arcgis/BufferServiceTask.js +1 -1
  43. package/activities/arcgis/CastGeometry.d.ts +23 -23
  44. package/activities/arcgis/ClearGraphics.d.ts +12 -12
  45. package/activities/arcgis/ClearGraphics.js +1 -1
  46. package/activities/arcgis/ClipEngineTask.d.ts +18 -18
  47. package/activities/arcgis/ClipEngineTask.js +1 -1
  48. package/activities/arcgis/ClosestFacilityTask.d.ts +90 -90
  49. package/activities/arcgis/ClosestFacilityTask.js +1 -1
  50. package/activities/arcgis/CompareGeometries.d.ts +19 -19
  51. package/activities/arcgis/CompareGeometries.js +1 -1
  52. package/activities/arcgis/ConvertValueToArcGisFieldType.d.ts +13 -0
  53. package/activities/arcgis/ConvertValueToArcGisFieldType.js +1 -0
  54. package/activities/arcgis/CreateFeatureSet.d.ts +16 -16
  55. package/activities/arcgis/CreateFeatureSet.js +1 -1
  56. package/activities/arcgis/CreateGraphic.d.ts +17 -17
  57. package/activities/arcgis/CreateGraphic.js +1 -1
  58. package/activities/arcgis/CreatePoint.d.ts +17 -17
  59. package/activities/arcgis/CutEngineTask.d.ts +18 -18
  60. package/activities/arcgis/CutEngineTask.js +1 -1
  61. package/activities/arcgis/DeleteAttachments.d.ts +22 -22
  62. package/activities/arcgis/DeleteAttachments.js +1 -1
  63. package/activities/arcgis/DeleteFeatures.d.ts +30 -30
  64. package/activities/arcgis/DeleteFeatures.js +1 -1
  65. package/activities/arcgis/DensifyEngineTask.d.ts +20 -20
  66. package/activities/arcgis/DensifyEngineTask.js +1 -1
  67. package/activities/arcgis/DifferenceEngineTask.d.ts +23 -23
  68. package/activities/arcgis/DifferenceEngineTask.js +1 -1
  69. package/activities/arcgis/DistanceEngineTask.d.ts +20 -20
  70. package/activities/arcgis/DistanceEngineTask.js +1 -1
  71. package/activities/arcgis/DistanceServiceTask.d.ts +24 -24
  72. package/activities/arcgis/DistanceServiceTask.js +1 -1
  73. package/activities/arcgis/ExtendedSpatialReferenceInfoEngineTask.d.ts +17 -17
  74. package/activities/arcgis/FeatureSetFromJson.d.ts +16 -16
  75. package/activities/arcgis/FeatureTableMap.d.ts +12 -12
  76. package/activities/arcgis/FlipEngineTask.d.ts +21 -21
  77. package/activities/arcgis/FlipEngineTask.js +1 -1
  78. package/activities/arcgis/FromGeoCoordinateStringServiceTask.d.ts +24 -24
  79. package/activities/arcgis/GeneralizeEngineTask.d.ts +22 -22
  80. package/activities/arcgis/GeneralizeEngineTask.js +1 -1
  81. package/activities/arcgis/GenerateArcGisToken.d.ts +23 -23
  82. package/activities/arcgis/GenerateWebmapForReport.d.ts +20 -20
  83. package/activities/arcgis/GenerateWebmapForReport.js +1 -1
  84. package/activities/arcgis/Geocode.d.ts +37 -38
  85. package/activities/arcgis/Geocode.js +1 -1
  86. package/activities/arcgis/GeometryFromJson.d.ts +16 -16
  87. package/activities/arcgis/Geoprocessing.d.ts +25 -26
  88. package/activities/arcgis/Geoprocessing.js +1 -1
  89. package/activities/arcgis/GeoprocessingAsync.d.ts +36 -37
  90. package/activities/arcgis/GeoprocessingAsync.js +1 -1
  91. package/activities/arcgis/GetAttributeValue.d.ts +22 -22
  92. package/activities/arcgis/GetAttributeValues.d.ts +20 -20
  93. package/activities/arcgis/GetCentroid.d.ts +16 -16
  94. package/activities/arcgis/GetCodedValueDomain.d.ts +29 -29
  95. package/activities/arcgis/GetCodedValueDomain.js +1 -1
  96. package/activities/arcgis/GetCurrentPosition.d.ts +46 -46
  97. package/activities/arcgis/GetFeatureGeometries.d.ts +20 -20
  98. package/activities/arcgis/GetFeatureGeometry.d.ts +18 -18
  99. package/activities/arcgis/GetFeatureLayerInfo.d.ts +22 -22
  100. package/activities/arcgis/GetFeatureLayerInfo.js +1 -1
  101. package/activities/arcgis/GetFeatureSetExtent.d.ts +18 -18
  102. package/activities/arcgis/GetFeatureSetObjectIds.d.ts +20 -20
  103. package/activities/arcgis/GetFormElementItemsFromFeatures.d.ts +49 -50
  104. package/activities/arcgis/GetFormElementItemsFromFeatures.js +1 -1
  105. package/activities/arcgis/GetGeometryExtent.d.ts +17 -17
  106. package/activities/arcgis/GetGraphics.d.ts +19 -19
  107. package/activities/arcgis/GetGraphics.js +1 -1
  108. package/activities/arcgis/GetLayer.d.ts +21 -21
  109. package/activities/arcgis/GetLayer.js +1 -1
  110. package/activities/arcgis/GetLayerDefinitionExpression.d.ts +18 -18
  111. package/activities/arcgis/GetLayerDefinitionExpression.js +1 -1
  112. package/activities/arcgis/GetLayerProperty.d.ts +18 -18
  113. package/activities/arcgis/GetLayerProperty.js +1 -1
  114. package/activities/arcgis/GetLayerVisibility.d.ts +18 -18
  115. package/activities/arcgis/GetLayerVisibility.js +1 -1
  116. package/activities/arcgis/GetMap.d.ts +11 -11
  117. package/activities/arcgis/GetMap.js +1 -1
  118. package/activities/arcgis/GetMapScreenshot.d.ts +18 -18
  119. package/activities/arcgis/GetPortalUser.d.ts +20 -20
  120. package/activities/arcgis/GetTable.d.ts +18 -18
  121. package/activities/arcgis/GetTable.js +1 -1
  122. package/activities/arcgis/GetViewExtent.d.ts +16 -16
  123. package/activities/arcgis/GetViewExtent.js +1 -1
  124. package/activities/arcgis/GetViewpoint.d.ts +12 -12
  125. package/activities/arcgis/GetViewpoint.js +1 -1
  126. package/activities/arcgis/IntersectEngineTask.d.ts +20 -20
  127. package/activities/arcgis/IntersectEngineTask.js +1 -1
  128. package/activities/arcgis/LabelPointsServiceTask.d.ts +18 -18
  129. package/activities/arcgis/LengthEngineTask.d.ts +20 -20
  130. package/activities/arcgis/LengthEngineTask.js +1 -1
  131. package/activities/arcgis/MapProvider.d.ts +133 -132
  132. package/activities/arcgis/MapProvider.js +1 -1
  133. package/activities/arcgis/NearestCoordinateEngineTask.d.ts +26 -26
  134. package/activities/arcgis/NearestVertexEngineTask.d.ts +26 -26
  135. package/activities/arcgis/NearestVertexEngineTask.js +1 -1
  136. package/activities/arcgis/NearestVerticesEngineTask.d.ts +34 -34
  137. package/activities/arcgis/NearestVerticesEngineTask.js +1 -1
  138. package/activities/arcgis/OffsetEngineTask.d.ts +25 -25
  139. package/activities/arcgis/OffsetEngineTask.js +1 -1
  140. package/activities/arcgis/ProjectServiceTask.d.ts +27 -27
  141. package/activities/arcgis/ProjectServiceTask.js +1 -1
  142. package/activities/arcgis/QueryAttachmentInfos.d.ts +21 -21
  143. package/activities/arcgis/QueryAttachmentInfos.js +1 -1
  144. package/activities/arcgis/QueryTask.d.ts +77 -77
  145. package/activities/arcgis/QueryTask.js +1 -1
  146. package/activities/arcgis/RefreshLayer.d.ts +12 -12
  147. package/activities/arcgis/RegisterCorsUrl.d.ts +21 -21
  148. package/activities/arcgis/RelateEngineTask.d.ts +22 -22
  149. package/activities/arcgis/RelateEngineTask.js +1 -1
  150. package/activities/arcgis/RelationServiceTask.d.ts +29 -29
  151. package/activities/arcgis/RelationServiceTask.js +1 -1
  152. package/activities/arcgis/RelationshipQueryTask.d.ts +37 -38
  153. package/activities/arcgis/RelationshipQueryTask.js +1 -1
  154. package/activities/arcgis/RemoveFeatureSetFields.d.ts +22 -22
  155. package/activities/arcgis/RemoveFeatureSetFields.js +1 -1
  156. package/activities/arcgis/RemoveGraphics.d.ts +14 -14
  157. package/activities/arcgis/RemoveGraphics.js +1 -1
  158. package/activities/arcgis/RemoveLayer.d.ts +16 -16
  159. package/activities/arcgis/RemoveLayer.js +1 -1
  160. package/activities/arcgis/RendererFromJson.d.ts +16 -16
  161. package/activities/arcgis/ReshapeServiceTask.d.ts +20 -20
  162. package/activities/arcgis/ReverseGeocode.d.ts +31 -31
  163. package/activities/arcgis/ReverseGeocode.js +1 -1
  164. package/activities/arcgis/RotateEngineTask.d.ts +20 -20
  165. package/activities/arcgis/RotateEngineTask.js +1 -1
  166. package/activities/arcgis/RouteTask.d.ts +91 -91
  167. package/activities/arcgis/RouteTask.js +1 -1
  168. package/activities/arcgis/RunPrint.d.ts +33 -34
  169. package/activities/arcgis/RunPrint.js +1 -1
  170. package/activities/arcgis/RunReport.d.ts +37 -38
  171. package/activities/arcgis/RunReport.js +1 -1
  172. package/activities/arcgis/RunWorkflow.d.ts +51 -52
  173. package/activities/arcgis/SendLayerToAttributeTable.d.ts +10 -10
  174. package/activities/arcgis/ServiceAreaTask.d.ts +87 -87
  175. package/activities/arcgis/ServiceAreaTask.js +1 -1
  176. package/activities/arcgis/SetFeatureAttribute.d.ts +15 -15
  177. package/activities/arcgis/SetFeatureGeometry.d.ts +13 -13
  178. package/activities/arcgis/SetFeaturePopup.d.ts +12 -12
  179. package/activities/arcgis/SetFeatureSymbol.d.ts +13 -13
  180. package/activities/arcgis/SetImageryLayerOptions.d.ts +27 -27
  181. package/activities/arcgis/SetImageryLayerOptions.js +1 -1
  182. package/activities/arcgis/SetLayerDefinitionExpression.d.ts +21 -21
  183. package/activities/arcgis/SetLayerDefinitionExpression.js +1 -1
  184. package/activities/arcgis/SetLayerPopup.d.ts +12 -12
  185. package/activities/arcgis/SetLayerPopup.js +1 -1
  186. package/activities/arcgis/SetLayerProperty.d.ts +23 -23
  187. package/activities/arcgis/SetLayerProperty.js +1 -1
  188. package/activities/arcgis/SetLayerVisibility.d.ts +23 -23
  189. package/activities/arcgis/SetLayerVisibility.js +1 -1
  190. package/activities/arcgis/SetMap.d.ts +14 -14
  191. package/activities/arcgis/SetViewExtent.d.ts +27 -27
  192. package/activities/arcgis/SetViewExtent.js +1 -1
  193. package/activities/arcgis/SetViewpoint.d.ts +23 -23
  194. package/activities/arcgis/SetViewpoint.js +1 -1
  195. package/activities/arcgis/ShowFeaturePopup.d.ts +11 -11
  196. package/activities/arcgis/ShowFeaturePopup.js +1 -1
  197. package/activities/arcgis/ShowResults.d.ts +51 -51
  198. package/activities/arcgis/SimplifyEngineTask.d.ts +15 -15
  199. package/activities/arcgis/SimplifyEngineTask.js +1 -1
  200. package/activities/arcgis/SortFeatureSet.d.ts +20 -20
  201. package/activities/arcgis/SymbolFromJson.d.ts +16 -16
  202. package/activities/arcgis/ToGeoCoordinateStringServiceTask.d.ts +30 -30
  203. package/activities/arcgis/TypeChecking.d.ts +46 -46
  204. package/activities/arcgis/UnionEngineTask.d.ts +19 -19
  205. package/activities/arcgis/UnionEngineTask.js +1 -1
  206. package/activities/arcgis/UnionServiceTask.d.ts +20 -20
  207. package/activities/arcgis/UpdateAttachment.d.ts +29 -29
  208. package/activities/arcgis/UpdateAttachment.js +1 -1
  209. package/activities/arcgis/UpdateFeatures.d.ts +27 -27
  210. package/activities/arcgis/UpdateFeatures.js +1 -1
  211. package/activities/arcgis/libs/arcGisRestApi.d.ts +18 -25
  212. package/activities/arcgis/runUtils.d.ts +93 -93
  213. package/activities/arcgis/shared.d.ts +61 -61
  214. package/activities/arcgis/tools.d.ts +42 -49
  215. package/activities/arcgis/tools.js +1 -1
  216. package/activities/browser/GetBrowserInfo.d.ts +13 -13
  217. package/activities/browser/InjectCss.d.ts +11 -11
  218. package/activities/constants.d.ts +19 -19
  219. package/activities/core/AddItem.d.ts +12 -12
  220. package/activities/core/AddItems.d.ts +12 -12
  221. package/activities/core/Annotation.d.ts +8 -8
  222. package/activities/core/Cast.d.ts +16 -16
  223. package/activities/core/ChannelProvider.d.ts +89 -90
  224. package/activities/core/ChannelProvider.js +1 -1
  225. package/activities/core/ClearItems.d.ts +10 -10
  226. package/activities/core/Container.d.ts +7 -7
  227. package/activities/core/ConvertBytesToText.d.ts +14 -14
  228. package/activities/core/ConvertDataTableToFeatureSet.d.ts +12 -12
  229. package/activities/core/ConvertTextToBytes.d.ts +14 -14
  230. package/activities/core/ConvertToJson.d.ts +16 -16
  231. package/activities/core/ConvertToJson.js +1 -1
  232. package/activities/core/CreateFile.d.ts +18 -18
  233. package/activities/core/CreateValue.d.ts +21 -21
  234. package/activities/core/DecodeUriComponent.d.ts +14 -14
  235. package/activities/core/Delay.d.ts +18 -18
  236. package/activities/core/EncodeUriComponent.d.ts +14 -14
  237. package/activities/core/Evaluate.d.ts +18 -18
  238. package/activities/core/EvaluateAsync.d.ts +18 -18
  239. package/activities/core/Exit.d.ts +7 -7
  240. package/activities/core/ForEach.d.ts +25 -26
  241. package/activities/core/FormatDate.d.ts +23 -23
  242. package/activities/core/GetBase64StringFromBytes.d.ts +15 -15
  243. package/activities/core/GetBase64StringFromFile.d.ts +15 -15
  244. package/activities/core/GetBytesFromBase64String.d.ts +15 -15
  245. package/activities/core/GetFirstItem.d.ts +14 -14
  246. package/activities/core/GetItemAtIndex.d.ts +15 -15
  247. package/activities/core/GetLastItem.d.ts +14 -14
  248. package/activities/core/GetLogLevel.d.ts +9 -9
  249. package/activities/core/GetTextFromFile.d.ts +16 -16
  250. package/activities/core/GetWorkflowInputs.d.ts +12 -12
  251. package/activities/core/If.d.ts +18 -18
  252. package/activities/core/Log.d.ts +14 -14
  253. package/activities/core/Log.js +1 -1
  254. package/activities/core/Loop.d.ts +27 -27
  255. package/activities/core/Loop.js +1 -1
  256. package/activities/core/ParseJson.d.ts +16 -16
  257. package/activities/core/ParseNumber.d.ts +12 -12
  258. package/activities/core/ParseUrl.d.ts +24 -25
  259. package/activities/core/ParseUrl.js +1 -1
  260. package/activities/core/Placeholder.d.ts +6 -6
  261. package/activities/core/RegexMatches.d.ts +17 -17
  262. package/activities/core/RegexReplace.d.ts +18 -18
  263. package/activities/core/RemoveItem.d.ts +14 -14
  264. package/activities/core/RunActivity.d.ts +12 -13
  265. package/activities/core/RunSubworkflow.d.ts +14 -15
  266. package/activities/core/SetLogLevel.d.ts +9 -9
  267. package/activities/core/SetProperty.d.ts +15 -15
  268. package/activities/core/SetWorkflowOutput.d.ts +12 -12
  269. package/activities/core/Subworkflow.d.ts +14 -15
  270. package/activities/core/Switch.d.ts +19 -19
  271. package/activities/core/TextReplace.d.ts +16 -16
  272. package/activities/core/Throw.d.ts +12 -12
  273. package/activities/core/TryCatch.d.ts +12 -12
  274. package/activities/core/WebRequest.d.ts +49 -50
  275. package/activities/core/WebRequest.js +1 -1
  276. package/activities/core/converters.d.ts +10 -10
  277. package/activities/csv/ConvertCsvToDataTable.d.ts +15 -15
  278. package/activities/csv/ConvertDataTableToCsv.d.ts +15 -15
  279. package/activities/essentials/GetEssentialsSite.d.ts +225 -225
  280. package/activities/essentials/RunEssentialsWorkflow.d.ts +25 -26
  281. package/activities/essentials/RunEssentialsWorkflow.js +1 -1
  282. package/activities/essentials/RunEssentialsWorkflowActivity.d.ts +17 -18
  283. package/activities/forms/ActivateFormElement.d.ts +13 -13
  284. package/activities/forms/ActivateFormElement.js +1 -1
  285. package/activities/forms/AddFormElement.d.ts +18 -18
  286. package/activities/forms/ClearFormElementError.d.ts +13 -13
  287. package/activities/forms/ClearFormElementError.js +1 -1
  288. package/activities/forms/CompleteForm.d.ts +11 -11
  289. package/activities/forms/DisplayForm.d.ts +48 -49
  290. package/activities/forms/DisplayForm.js +1 -1
  291. package/activities/forms/Errors.d.ts +18 -18
  292. package/activities/forms/FilterFormElementItems.d.ts +16 -16
  293. package/activities/forms/FormElementMap.d.ts +13 -13
  294. package/activities/forms/FormRenderer.d.ts +139 -134
  295. package/activities/forms/FormRenderer.js +1 -1
  296. package/activities/forms/GetFormElementItemsFromCollection.d.ts +49 -50
  297. package/activities/forms/GetFormElementItemsFromCollection.js +1 -1
  298. package/activities/forms/GetFormElementProperty.d.ts +19 -19
  299. package/activities/forms/GetFormElementValue.d.ts +17 -17
  300. package/activities/forms/GetFormEventData.d.ts +17 -17
  301. package/activities/forms/HideFormElement.d.ts +13 -13
  302. package/activities/forms/HideFormElement.js +1 -1
  303. package/activities/forms/PropagateFormEvent.d.ts +10 -10
  304. package/activities/forms/SetCurrentFormElementItem.d.ts +18 -18
  305. package/activities/forms/SetCurrentFormElementItem.js +1 -1
  306. package/activities/forms/SetFormElementError.d.ts +17 -17
  307. package/activities/forms/SetFormElementError.js +1 -1
  308. package/activities/forms/SetFormElementEvent.d.ts +18 -18
  309. package/activities/forms/SetFormElementItemProperty.d.ts +34 -21
  310. package/activities/forms/SetFormElementItemProperty.js +1 -1
  311. package/activities/forms/SetFormElementItems.d.ts +18 -19
  312. package/activities/forms/SetFormElementItems.js +1 -1
  313. package/activities/forms/SetFormElementProperty.d.ts +32 -19
  314. package/activities/forms/SetFormElementProperty.js +1 -1
  315. package/activities/forms/ShowFormElement.d.ts +15 -15
  316. package/activities/forms/ShowFormElement.js +1 -1
  317. package/activities/image/GetImageMetadata.d.ts +16 -16
  318. package/activities/image/RotateImage.d.ts +15 -15
  319. package/activities/index.d.ts +4 -2
  320. package/activities/index.js +1 -1
  321. package/activities/main.d.ts +1 -1
  322. package/activities/math/Abs.d.ts +14 -14
  323. package/activities/math/Cos.d.ts +14 -14
  324. package/activities/math/Max.d.ts +16 -16
  325. package/activities/math/Min.d.ts +16 -16
  326. package/activities/math/Pow.d.ts +15 -15
  327. package/activities/math/Random.d.ts +10 -10
  328. package/activities/math/Sin.d.ts +14 -14
  329. package/activities/math/Sqrt.d.ts +14 -14
  330. package/activities/math/Tan.d.ts +14 -14
  331. package/activities/pdf/AddGeoreferenceToPdf.d.ts +19 -19
  332. package/activities/pdf/AddImageToPdf.d.ts +63 -0
  333. package/activities/pdf/AddImageToPdf.js +1 -0
  334. package/activities/pdf/AddTextToPdf.d.ts +59 -0
  335. package/activities/pdf/AddTextToPdf.js +1 -0
  336. package/activities/pdf/CreatePdf.d.ts +49 -0
  337. package/activities/pdf/CreatePdf.js +1 -0
  338. package/activities/pdf/ExtractPdfPages.d.ts +17 -17
  339. package/activities/pdf/MergePdfs.d.ts +15 -15
  340. package/activities/server/CopyFile.d.ts +10 -10
  341. package/activities/server/CreateDirectory.d.ts +9 -9
  342. package/activities/server/CreateDownload.d.ts +18 -18
  343. package/activities/server/CreateEmailAttachment.d.ts +16 -16
  344. package/activities/server/CreateZipFromDirectory.d.ts +12 -12
  345. package/activities/server/DeleteDirectory.d.ts +9 -9
  346. package/activities/server/DeleteFile.d.ts +9 -9
  347. package/activities/server/DirectoryExists.d.ts +13 -13
  348. package/activities/server/ExtractZipToDirectory.d.ts +11 -11
  349. package/activities/server/FileExists.d.ts +13 -13
  350. package/activities/server/GetDirectoriesInDirectory.d.ts +14 -14
  351. package/activities/server/GetFilesInDirectory.d.ts +14 -14
  352. package/activities/server/MoveFile.d.ts +10 -10
  353. package/activities/server/ReadFile.d.ts +14 -14
  354. package/activities/server/ReadFileBytes.d.ts +13 -13
  355. package/activities/server/RunApplication.d.ts +22 -22
  356. package/activities/server/RunPython.d.ts +23 -23
  357. package/activities/server/SendEmail.d.ts +16 -16
  358. package/activities/server/SqlNonQuery.d.ts +18 -18
  359. package/activities/server/SqlQuery.d.ts +18 -18
  360. package/activities/server/SqlQueryUnsafe.d.ts +18 -18
  361. package/activities/server/WriteFile.d.ts +11 -11
  362. package/activities/server/WriteFileBytes.d.ts +10 -10
  363. package/activities/ui/Alert.d.ts +17 -17
  364. package/activities/ui/Confirm.d.ts +24 -24
  365. package/activities/ui/Prompt.d.ts +26 -26
  366. package/activities/wab/OpenWidget.d.ts +10 -10
  367. package/activities/wab/PublishWidgetData.d.ts +11 -11
  368. package/activities/xlsx/ConvertDataTableToXlsx.d.ts +15 -15
  369. package/activities/xlsx/ConvertXlsxToDataSet.d.ts +15 -15
  370. package/constants.d.ts +2 -2
  371. package/definition/Activity.d.ts +12 -13
  372. package/definition/ActivityInput.d.ts +31 -31
  373. package/definition/Component.d.ts +10 -10
  374. package/definition/DeploymentConfig.d.ts +4 -5
  375. package/definition/Form.d.ts +5 -5
  376. package/definition/Program.d.ts +29 -30
  377. package/definition/ProgramInspector.d.ts +290 -288
  378. package/definition/ProgramInspector.js +1 -1
  379. package/definition/Reference.d.ts +11 -11
  380. package/definition/Resource.d.ts +26 -26
  381. package/definition/Step.d.ts +9 -9
  382. package/definition/Transition.d.ts +17 -17
  383. package/diagnostics/ConsoleDebugLogger.d.ts +10 -10
  384. package/diagnostics/logging.d.ts +5 -5
  385. package/execution/ActivityLoader.d.ts +23 -24
  386. package/execution/ActivityLoader.js +1 -1
  387. package/execution/Engine.d.ts +84 -85
  388. package/execution/Engine.js +1 -1
  389. package/execution/IDebugSession.d.ts +43 -44
  390. package/execution/ModuleLoader.d.ts +42 -42
  391. package/execution/ModuleLoader.js +1 -1
  392. package/execution/ProgramRunner.d.ts +1 -1
  393. package/execution/ProgramRunner.js +1 -1
  394. package/forms/Calendar.d.ts +89 -89
  395. package/forms/ExclusiveTimer.d.ts +13 -13
  396. package/forms/FormComponent.d.ts +47 -30
  397. package/forms/FormComponent.js +1 -1
  398. package/forms/FormDefinition.d.ts +451 -457
  399. package/forms/FormElement.d.ts +24 -59
  400. package/forms/FormElement.js +1 -1
  401. package/forms/FormHost.d.ts +225 -233
  402. package/forms/FormHost.js +1 -1
  403. package/forms/FormPresenterHost.d.ts +62 -76
  404. package/forms/MutuallyExclusiveSectionGroup.d.ts +41 -41
  405. package/forms/NumberParser.d.ts +27 -25
  406. package/forms/NumberParser.js +1 -1
  407. package/forms/common.d.ts +67 -62
  408. package/forms/common.js +1 -1
  409. package/forms/components/AccordionGroup.d.ts +15 -15
  410. package/forms/components/AutoComplete.d.ts +8 -7
  411. package/forms/components/AutoComplete.js +1 -1
  412. package/forms/components/ButtonBar.d.ts +8 -13
  413. package/forms/components/ButtonBar.js +1 -1
  414. package/forms/components/CheckBox.d.ts +7 -7
  415. package/forms/components/CheckBox.js +1 -1
  416. package/forms/components/CheckGroup.d.ts +8 -7
  417. package/forms/components/CheckGroup.js +1 -1
  418. package/forms/components/Custom.d.ts +7 -7
  419. package/forms/components/Custom.js +1 -1
  420. package/forms/components/DatePicker.d.ts +8 -7
  421. package/forms/components/DatePicker.js +1 -1
  422. package/forms/components/DateRangePicker.d.ts +12 -11
  423. package/forms/components/DateRangePicker.js +1 -1
  424. package/forms/components/DateTimePicker.d.ts +8 -7
  425. package/forms/components/DateTimePicker.js +1 -1
  426. package/forms/components/DropDownList.d.ts +8 -7
  427. package/forms/components/DropDownList.js +1 -1
  428. package/forms/components/FilePicker.d.ts +10 -9
  429. package/forms/components/FilePicker.js +1 -1
  430. package/forms/components/Form.d.ts +23 -23
  431. package/forms/components/Form.js +1 -1
  432. package/forms/components/FormLabelNumberField.d.ts +17 -15
  433. package/forms/components/FormLabelNumberField.js +1 -1
  434. package/forms/components/GeometryPicker.d.ts +5 -4
  435. package/forms/components/GeometryPicker.js +1 -1
  436. package/forms/components/GeometryPickerListItem.d.ts +23 -23
  437. package/forms/components/HorizontalRule.d.ts +7 -7
  438. package/forms/components/Image.d.ts +7 -7
  439. package/forms/components/Image.js +1 -1
  440. package/forms/components/ItemPicker.d.ts +15 -17
  441. package/forms/components/ItemPicker.js +1 -1
  442. package/forms/components/ListBox.d.ts +8 -7
  443. package/forms/components/ListBox.js +1 -1
  444. package/forms/components/Markdown.d.ts +14 -15
  445. package/forms/components/Markdown.js +1 -1
  446. package/forms/components/Number.d.ts +8 -7
  447. package/forms/components/Number.js +1 -1
  448. package/forms/components/NumberRangeSlider.d.ts +12 -12
  449. package/forms/components/NumberRangeSlider.js +1 -1
  450. package/forms/components/NumberSlider.d.ts +11 -10
  451. package/forms/components/NumberSlider.js +1 -1
  452. package/forms/components/RadioGroup.d.ts +8 -7
  453. package/forms/components/RadioGroup.js +1 -1
  454. package/forms/components/Scanner.d.ts +11 -9
  455. package/forms/components/Scanner.js +1 -1
  456. package/forms/components/Section.d.ts +14 -14
  457. package/forms/components/Section.js +1 -1
  458. package/forms/components/Signature.d.ts +12 -11
  459. package/forms/components/Signature.js +1 -1
  460. package/forms/components/SignatureDialog.d.ts +22 -22
  461. package/forms/components/SignatureDialog.js +1 -1
  462. package/forms/components/Text.d.ts +8 -8
  463. package/forms/components/TextArea.d.ts +7 -7
  464. package/forms/components/TextArea.js +1 -1
  465. package/forms/components/TextBox.d.ts +7 -21
  466. package/forms/components/TextBox.js +1 -1
  467. package/forms/components/TimePicker.d.ts +8 -7
  468. package/forms/components/TimePicker.js +1 -1
  469. package/forms/constants.d.ts +81 -81
  470. package/forms/dateUtilities.d.ts +102 -117
  471. package/forms/dateUtilities.js +1 -1
  472. package/forms/elements/AutoComplete.d.ts +13 -13
  473. package/forms/elements/ButtonBar.d.ts +9 -9
  474. package/forms/elements/CheckBox.d.ts +7 -7
  475. package/forms/elements/CheckGroup.d.ts +11 -11
  476. package/forms/elements/Custom.d.ts +7 -7
  477. package/forms/elements/DatePicker.d.ts +6 -6
  478. package/forms/elements/DateRangePicker.d.ts +6 -6
  479. package/forms/elements/DateTimePicker.d.ts +6 -6
  480. package/forms/elements/DropDownList.d.ts +6 -6
  481. package/forms/elements/FilePicker.d.ts +8 -8
  482. package/forms/elements/GeometryPicker.d.ts +18 -18
  483. package/forms/elements/Header.d.ts +10 -10
  484. package/forms/elements/HorizontalRule.d.ts +2 -2
  485. package/forms/elements/Image.d.ts +2 -2
  486. package/forms/elements/ItemPicker.d.ts +13 -13
  487. package/forms/elements/ListBox.d.ts +11 -11
  488. package/forms/elements/Number.d.ts +11 -11
  489. package/forms/elements/NumberRangeSlider.d.ts +10 -10
  490. package/forms/elements/NumberSlider.d.ts +6 -6
  491. package/forms/elements/PasswordBox.d.ts +5 -5
  492. package/forms/elements/RadioGroup.d.ts +6 -6
  493. package/forms/elements/Scanner.d.ts +19 -19
  494. package/forms/elements/Section.d.ts +2 -2
  495. package/forms/elements/Signature.d.ts +16 -16
  496. package/forms/elements/Text.d.ts +2 -2
  497. package/forms/elements/TextArea.d.ts +7 -7
  498. package/forms/elements/TextBox.d.ts +5 -5
  499. package/forms/elements/TimePicker.d.ts +6 -6
  500. package/forms/elements/types.d.ts +83 -83
  501. package/forms/index.d.ts +124 -72
  502. package/forms/keyboard.d.ts +9 -9
  503. package/forms/listUtilities.d.ts +3 -0
  504. package/forms/listUtilities.js +1 -0
  505. package/forms/manifest.d.ts +3 -0
  506. package/forms/manifest.js +1 -0
  507. package/forms/numberFormatter.d.ts +90 -94
  508. package/forms/numberFormatter.js +1 -1
  509. package/forms/numberUtilities.d.ts +150 -113
  510. package/forms/numberUtilities.js +1 -1
  511. package/forms/presenter.d.ts +21 -21
  512. package/forms/presenter.js +1 -1
  513. package/forms/renderers.d.ts +5 -8
  514. package/forms/renderers.js +1 -1
  515. package/forms/textUtilities.d.ts +33 -23
  516. package/forms/textUtilities.js +1 -1
  517. package/forms/utils.d.ts +177 -132
  518. package/forms/utils.js +1 -1
  519. package/index.d.ts +2 -2
  520. package/libs/version.d.ts +1 -1
  521. package/libs/version.js +1 -1
  522. package/licensing/LicenseChecker.d.ts +1 -1
  523. package/licensing/Watermark.d.ts +7 -7
  524. package/package.json +9 -11
  525. package/activities/app/constants.d.ts +0 -1
  526. package/activities/app/constants.js +0 -1
@@ -1,61 +1,61 @@
1
- import { Task } from "../../Task";
2
- import { ChannelProvider } from "../core/ChannelProvider";
3
- /**
4
- * Gets the authentication token, if any, for the supplied portal.
5
- * This is a separate method because GVH does not use the
6
- * IdentityManager to store credentials. The GVH host module
7
- * overrides this method and uses its own technique.
8
- * @param portalUrl
9
- */
10
- export declare function getAuthenticationToken(portalUrl: string): string;
11
- export declare function parsePortalItemUrl(url: string): PortalItemUrlInfo;
12
- export declare function getPortalDataUrl(portalItemUrlInfo: PortalItemUrlInfo, token: string): string;
13
- /**
14
- * Gets the data from the specified portal item.
15
- *
16
- * This method always uses the `"arcgis"` channel to allow us to
17
- * respect any CORS configuration made using the Register Cors Url activity.
18
- * @param itemUrl The data url of the item to get.
19
- * @param channelProviderType The type of ChannelProvider registered with the application.
20
- * @param cancellationToken A cancellation token.
21
- */
22
- export declare function getPortalItem(itemUrl: string, channelProviderType: typeof ChannelProvider, cancellationToken: Task<void>): Promise<any>;
23
- export interface PortalItemUrlInfo {
24
- portalUrl: string;
25
- itemId: string;
26
- }
27
- /**
28
- * This method ensures that the value is enclosed in `{}` characters.
29
- * @param globalId A globally unique identifier for a feature.
30
- */
31
- export declare function formatGlobalId(globalId: string): string;
32
- /**
33
- * When `globalIds` are passed to the ArcGIS REST API, they must be in this format:
34
- * ["{1A9F8368-F9BB-428B-BB03-F45724362DB5}","{6CE34136-EC3A-40D7-80BF-E1D9BE33812A}"]
35
- *
36
- * This method ensures the values are surrounded in curly braces and also adds the quotes, commas and
37
- * square brackets.
38
- */
39
- export declare function combineGlobalIds(globalIds: string[]): string;
40
- /**
41
- * Performs a case-insensitive comparison between two strings to see if they are equal.
42
- * @param str1
43
- * @param str2
44
- * @returns
45
- */
46
- export declare function equalsIgnoreCase(str1: string, str2: string): boolean;
47
- /**
48
- * Looks up the field name of an attribute by performing a case-insensitive search
49
- * using the supplied value. Returns the actual field name or `undefined` if no match was found.
50
- * @param fieldName The name of a field to look up.
51
- * @param attributes A set of attributes.
52
- * @returns The name of a case-insensitive matching name, or `undefined` if no match was found.
53
- */
54
- export declare function getFieldName(fieldName: string, attributes: Object): string;
55
- /**
56
- * Returns true if the value is present based on a case-insensitive match, false otherwise.
57
- * @param values A set of values to inspect.
58
- * @param value A value to look up.
59
- * @returns True if the value is present based on a case-insensitive match, false otherwise.
60
- */
61
- export declare function containsIgnoreCase(values: string[], value: string): boolean;
1
+ import { Task } from "../../Task";
2
+ import { ChannelProvider } from "../core/ChannelProvider";
3
+ /**
4
+ * Gets the authentication token, if any, for the supplied portal.
5
+ * This is a separate method because GVH does not use the
6
+ * IdentityManager to store credentials. The GVH host module
7
+ * overrides this method and uses its own technique.
8
+ * @param portalUrl
9
+ */
10
+ export declare function getAuthenticationToken(portalUrl: string): string;
11
+ export declare function parsePortalItemUrl(url: string): PortalItemUrlInfo | undefined;
12
+ export declare function getPortalDataUrl(portalItemUrlInfo: PortalItemUrlInfo, token: string): string;
13
+ /**
14
+ * Gets the data from the specified portal item.
15
+ *
16
+ * This method always uses the `"arcgis"` channel to allow us to
17
+ * respect any CORS configuration made using the Register Cors Url activity.
18
+ * @param itemUrl The data url of the item to get.
19
+ * @param channelProviderType The type of ChannelProvider registered with the application.
20
+ * @param cancellationToken A cancellation token.
21
+ */
22
+ export declare function getPortalItem(itemUrl: string, channelProviderType: typeof ChannelProvider, cancellationToken: Task<void>): Promise<any>;
23
+ export interface PortalItemUrlInfo {
24
+ portalUrl: string;
25
+ itemId: string;
26
+ }
27
+ /**
28
+ * This method ensures that the value is enclosed in `{}` characters.
29
+ * @param globalId A globally unique identifier for a feature.
30
+ */
31
+ export declare function formatGlobalId(globalId: string): string;
32
+ /**
33
+ * When `globalIds` are passed to the ArcGIS REST API, they must be in this format:
34
+ * ["{1A9F8368-F9BB-428B-BB03-F45724362DB5}","{6CE34136-EC3A-40D7-80BF-E1D9BE33812A}"]
35
+ *
36
+ * This method ensures the values are surrounded in curly braces and also adds the quotes, commas and
37
+ * square brackets.
38
+ */
39
+ export declare function combineGlobalIds(globalIds: string[]): string;
40
+ /**
41
+ * Performs a case-insensitive comparison between two strings to see if they are equal.
42
+ * @param str1
43
+ * @param str2
44
+ * @returns
45
+ */
46
+ export declare function equalsIgnoreCase(str1: string | undefined | null, str2: string | undefined | null): boolean;
47
+ /**
48
+ * Looks up the field name of an attribute by performing a case-insensitive search
49
+ * using the supplied value. Returns the actual field name or `undefined` if no match was found.
50
+ * @param fieldName The name of a field to look up.
51
+ * @param attributes A set of attributes.
52
+ * @returns The name of a case-insensitive matching name, or `undefined` if no match was found.
53
+ */
54
+ export declare function getFieldName(fieldName: string | undefined, attributes: Object): string | undefined;
55
+ /**
56
+ * Returns true if the value is present based on a case-insensitive match, false otherwise.
57
+ * @param values A set of values to inspect.
58
+ * @param value A value to look up.
59
+ * @returns True if the value is present based on a case-insensitive match, false otherwise.
60
+ */
61
+ export declare function containsIgnoreCase(values: string[], value: string): boolean;
@@ -1,49 +1,42 @@
1
- import { IActivityContext, Abortable } from "../../IActivityHandler";
2
- import { Task } from "../../Task";
3
- /**
4
- * A promise that can be cancelled.
5
- */
6
- export interface Cancellable {
7
- cancel(): void;
8
- }
9
- export declare function isAbortable(task: Task<any> | (Task<any> & Abortable)): boolean;
10
- /**
11
- * Returns true if the supplied promise has a `cancel()` method, false otherwise.
12
- * @param promise A promise to check if it supports cancellation.
13
- */
14
- export declare function isCancellable(promise: PromiseLike<any>): promise is PromiseLike<any> & Cancellable;
15
- /**
16
- * Schedules the cancellation of the supplied promise for when the activity's cancellation token is resolved.
17
- * This does not do anything if the cancellation token contains an `AbortSignal` as we assume in such cases
18
- * we're passing that to the Esri API for cancellation.
19
- * Also, if the promise does not support cancellation, it is not cancelled.
20
- * @param context The context of an activity being executed.
21
- * @param promise A promise to be cancelled when the workflow is cancelled.
22
- */
23
- export declare function schedulePromiseCancellation(context: IActivityContext, promise: PromiseLike<any>): void;
24
- /**
25
- * Calls the given `fulfilledCallback` function if the promise has already been fulfilled.
26
- * Calls the given `rejectedCallback` function if the promise has already been rejected.
27
- * Otherwise, attaches the supplied callbacks to the promise.
28
- * @param value The promise to be inspected.
29
- * @param fulfilledCallback The function to call when the promise is fulfilled.
30
- * @param rejectedCallback The function to call when the promise is rejected.
31
- * */
32
- export declare function inline<T, TResult>(value: PromiseLike<T> | T, fulfilledCallback: (result: T) => PromiseLike<TResult> | TResult, rejectedCallback?: (error: any) => PromiseLike<TResult> | TResult): PromiseLike<TResult> | TResult;
33
- export declare function addToPath(url: string, pathSuffix: string): string;
34
- export interface ExtentLike extends __esri.Geometry {
35
- xmin?: number;
36
- xmax?: number;
37
- ymin?: number;
38
- ymax?: number;
39
- }
40
- /**
41
- * Turns an extent into a polygon with the same perimeter and spatial reference. If the input is not an extent, it is returned unchanged.
42
- * @param geom The geometry whose extent will be rendered into a polygon.
43
- */
44
- export declare function polygonFromExtent(geometry: __esri.Geometry, type: typeof __esri.Polygon): __esri.Geometry;
45
- export declare function get(url: string, query: {}, timeout: number, signal?: AbortSignal): PromiseLike<{}>;
46
- export declare function post(url: string, query: {}, timeout: number, signal?: AbortSignal): PromiseLike<{}>;
47
- export declare function isFeatureSet(fs: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[]): fs is __esri.FeatureSet;
48
- export declare function featuresToArray(fs: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[]): __esri.Graphic[];
49
- export declare function extentOf(array: __esri.Geometry[]): __esri.Extent;
1
+ import Extent from "@arcgis/core/geometry/Extent";
2
+ import { IActivityContext, Abortable } from "../../IActivityHandler";
3
+ import { Task } from "../../Task";
4
+ /**
5
+ * A promise that can be cancelled.
6
+ */
7
+ export interface Cancellable {
8
+ cancel(): void;
9
+ }
10
+ export declare function isAbortable(task: Task<any> | (Task<any> & Abortable)): boolean;
11
+ /**
12
+ * Returns true if the supplied promise has a `cancel()` method, false otherwise.
13
+ * @param promise A promise to check if it supports cancellation.
14
+ */
15
+ export declare function isCancellable(promise: PromiseLike<any>): promise is PromiseLike<any> & Cancellable;
16
+ /**
17
+ * Schedules the cancellation of the supplied promise for when the activity's cancellation token is resolved.
18
+ * This does not do anything if the cancellation token contains an `AbortSignal` as we assume in such cases
19
+ * we're passing that to the Esri API for cancellation.
20
+ * Also, if the promise does not support cancellation, it is not cancelled.
21
+ * @param context The context of an activity being executed.
22
+ * @param promise A promise to be cancelled when the workflow is cancelled.
23
+ */
24
+ export declare function schedulePromiseCancellation(context: IActivityContext, promise: PromiseLike<any>): void;
25
+ export declare function addToPath(url: string, pathSuffix: string): string;
26
+ export interface ExtentLike extends __esri.Geometry {
27
+ xmin?: number;
28
+ xmax?: number;
29
+ ymin?: number;
30
+ ymax?: number;
31
+ }
32
+ /**
33
+ * Turns an extent into a polygon with the same perimeter and spatial reference. If the input is not an extent, it is returned unchanged.
34
+ * @param geom The geometry whose extent will be rendered into a polygon.
35
+ */
36
+ export declare function polygonFromExtent(geometry: __esri.Geometry, type: typeof __esri.Polygon): __esri.Geometry;
37
+ export declare function polygonFromExtent(geometry: __esri.Geometry | undefined | null, type: typeof __esri.Polygon): __esri.Geometry | undefined;
38
+ export declare function get(url: string, query: Record<string, any>, timeout: number | undefined, signal?: AbortSignal): PromiseLike<{}>;
39
+ export declare function post(url: string, query: Record<string, any>, timeout: number | undefined, signal?: AbortSignal): PromiseLike<{}>;
40
+ export declare function isFeatureSet(fs: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[]): fs is __esri.FeatureSet;
41
+ export declare function featuresToArray(fs: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[] | undefined | null): __esri.Graphic[];
42
+ export declare function extentOf(array: __esri.Geometry[]): Extent | undefined;
@@ -1 +1 @@
1
- import Extent from"@arcgis/core/geometry/Extent";import esriRequest from"@arcgis/core/request";import Bluebird from"bluebird";import{jsonToQueryObject}from"../../activities/core/converters.js";function isAbortable(e){return"object"==typeof e.signal}function isCancellable(e){return null!=e&&"function"==typeof e.cancel}function schedulePromiseCancellation(e,n){!isAbortable(e.cancellationToken)&&isCancellable(n)&&e.cancellationToken.finally(()=>n.cancel())}function inline(e,n,t=void 0){const a=Bluebird.resolve(e);return a.isFulfilled()?n(a.value()):a.isRejected()&&t?t(a.reason()):a.then(n,t)}function addToPath(t,a){return t.replace(/([\#\?].*)?$/,function(e){const n=t.substring(0,t.length-e.length);return n.match(/\/+$/)?a+e:"/"+a+e})}function isExtent(e){return"number"==typeof e.xmin&&("number"==typeof e.xmax&&("number"==typeof e.ymin&&"number"==typeof e.ymax))}function polygonFromExtent(e,n){if(null!=e)return isExtent(e)?new n({rings:[[[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax],[e.xmin,e.ymax]]],spatialReference:e.spatialReference}):e}function get(e,n,t,a){n.f="json";const i={method:"get",query:jsonToQueryObject(n),responseType:"json",timeout:t,cacheBust:!1};return a&&(i.signal=a),esriRequest(e,i).then(e=>e.data)}function post(e,n,t,a){n.f="json";const i={method:"post",query:jsonToQueryObject(n),responseType:"json",timeout:t,cacheBust:!1};return a&&(i.signal=a),esriRequest(e,i).then(e=>e.data)}function isFeatureSet(e){return null!=e&&(!Array.isArray(e)&&!!Array.isArray(e.features))}function featuresToArray(e){return null==e?[]:e instanceof Array?e:isFeatureSet(e)?e.features:void 0!==e.attributes&&null!==e.attributes||void 0!==e.geometry&&null!==e.geometry?[e]:[]}function extentOf(e){let n=void 0;for(const a of e||[])if(a)if("point"===a.type){var t=a;void 0===n?n=pointToExtent(t):(n.xmin=Math.min(n.xmin,t.x),n.ymin=Math.min(n.ymin,t.y),n.xmax=Math.max(n.xmax,t.x),n.ymax=Math.max(n.ymax,t.y),n.spatialReference=a.spatialReference||n.spatialReference,"number"==typeof t.z&&(n.zmin=Math.min(n.zmin,t.z),n.zmax=Math.max(n.zmax,t.z)))}else{let e=a.extent;void 0!==e&&null!==e&&(void 0!==n?(n.xmin=Math.min(n.xmin,e.xmin),n.ymin=Math.min(n.ymin,e.ymin),n.xmax=Math.max(n.xmax,e.xmax),n.ymax=Math.max(n.ymax,e.ymax),n.spatialReference=a.spatialReference||n.spatialReference,"number"==typeof e.zmin&&(n.zmin=Math.min(n.zmin,e.zmin)),"number"==typeof e.zmax&&(n.zmax=Math.max(n.zmax,e.zmax))):(e=e.clone(),n=e))}return n}function pointToExtent(e){const n=new Extent;return n.xmin=e.x,n.ymin=e.y,n.xmax=e.x,n.ymax=e.y,n.spatialReference=e.spatialReference,"number"==typeof e.z&&(n.zmin=e.z,n.zmax=e.z),n}export{isAbortable,isCancellable,schedulePromiseCancellation,inline,addToPath,polygonFromExtent,get,post,isFeatureSet,featuresToArray,extentOf};
1
+ import Extent from"@arcgis/core/geometry/Extent";import esriRequest from"@arcgis/core/request";import{jsonToQueryObject}from"../../activities/core/converters.js";function isAbortable(e){return"object"==typeof e.signal}function isCancellable(e){return null!=e&&"function"==typeof e.cancel}function schedulePromiseCancellation(e,t){!isAbortable(e.cancellationToken)&&isCancellable(t)&&e.cancellationToken.finally(()=>t.cancel())}function addToPath(n,a){return n.replace(/([\#\?].*)?$/,function(e){const t=n.substring(0,n.length-e.length);return t.match(/\/+$/)?a+e:"/"+a+e})}function isExtent(e){return"number"==typeof e.xmin&&("number"==typeof e.xmax&&("number"==typeof e.ymin&&"number"==typeof e.ymax))}function polygonFromExtent(e,t){if(null!=e)return isExtent(e)?new t({rings:[[[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax],[e.xmin,e.ymax]]],spatialReference:e.spatialReference}):e}function get(e,t,n,a){t.f="json";const i={method:"get",query:jsonToQueryObject(t),responseType:"json",timeout:n,cacheBust:!1};return a&&(i.signal=a),esriRequest(e,i).then(e=>e.data)}function post(e,t,n,a){t.f="json";const i={method:"post",query:jsonToQueryObject(t),responseType:"json",timeout:n,cacheBust:!1};return a&&(i.signal=a),esriRequest(e,i).then(e=>e.data)}function isFeatureSet(e){return null!=e&&(!Array.isArray(e)&&!!Array.isArray(e.features))}function featuresToArray(e){return null==e?[]:e instanceof Array?e:isFeatureSet(e)?e.features:void 0!==e.attributes&&null!==e.attributes||void 0!==e.geometry&&null!==e.geometry?[e]:[]}function extentOf(e){let t;for(const a of e||[])if(a)if("point"===a.type){var n=a;void 0===t?t=pointToExtent(n):(t.xmin=Math.min(t.xmin,n.x),t.ymin=Math.min(t.ymin,n.y),t.xmax=Math.max(t.xmax,n.x),t.ymax=Math.max(t.ymax,n.y),t.spatialReference=a.spatialReference||t.spatialReference,"number"==typeof n.z&&(t.zmin=Math.min(t.zmin,n.z),t.zmax=Math.max(t.zmax,n.z)))}else{let e=a.extent;void 0!==e&&null!==e&&(void 0!==t?(t.xmin=Math.min(t.xmin,e.xmin),t.ymin=Math.min(t.ymin,e.ymin),t.xmax=Math.max(t.xmax,e.xmax),t.ymax=Math.max(t.ymax,e.ymax),t.spatialReference=a.spatialReference||t.spatialReference,"number"==typeof e.zmin&&(t.zmin=Math.min(t.zmin,e.zmin)),"number"==typeof e.zmax&&(t.zmax=Math.max(t.zmax,e.zmax))):(e=e.clone(),t=e))}return t}function pointToExtent(e){const t=new Extent({xmin:e.x,ymin:e.y,xmax:e.x,ymax:e.y,spatialReference:e.spatialReference});return"number"==typeof e.z&&(t.zmin=e.z,t.zmax=e.z),t}export{isAbortable,isCancellable,schedulePromiseCancellation,addToPath,polygonFromExtent,get,post,isFeatureSet,featuresToArray,extentOf};
@@ -1,13 +1,13 @@
1
- import { IActivityHandler, EmptyInputs } from "../../IActivityHandler";
2
- /** Describes the outputs of the Get Browser Info activity. */
3
- export interface GetBrowserInfoOutputs {
4
- /** The URL of the browser. */
5
- url: string;
6
- /** The user agent string of the browser. */
7
- userAgent: string;
8
- }
9
- export declare class GetBrowserInfo implements IActivityHandler {
10
- static readonly action = "gcx:wf:browser::GetBrowserInfo";
11
- static readonly suite = "gcx:wf:builtin";
12
- execute(inputs: EmptyInputs): GetBrowserInfoOutputs;
13
- }
1
+ import { IActivityHandler, EmptyInputs } from "../../IActivityHandler";
2
+ /** Describes the outputs of the Get Browser Info activity. */
3
+ export interface GetBrowserInfoOutputs {
4
+ /** The URL of the browser. */
5
+ url: string;
6
+ /** The user agent string of the browser. */
7
+ userAgent: string;
8
+ }
9
+ export declare class GetBrowserInfo implements IActivityHandler {
10
+ static readonly action = "gcx:wf:browser::GetBrowserInfo";
11
+ static readonly suite = "gcx:wf:builtin";
12
+ execute(inputs: EmptyInputs): GetBrowserInfoOutputs;
13
+ }
@@ -1,11 +1,11 @@
1
- import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
2
- /** Describes inputs for the Inject Css activity. */
3
- export interface InjectCssInputs {
4
- content?: string;
5
- url?: string;
6
- }
7
- export declare class InjectCss implements IActivityHandler {
8
- static readonly action = "gcx:wf:browser::InjectCss";
9
- static readonly suite = "gcx:wf:builtin";
10
- execute(inputs: InjectCssInputs): EmptyOutputs;
11
- }
1
+ import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
2
+ /** Describes inputs for the Inject Css activity. */
3
+ export interface InjectCssInputs {
4
+ content?: string;
5
+ url?: string;
6
+ }
7
+ export declare class InjectCss implements IActivityHandler {
8
+ static readonly action = "gcx:wf:browser::InjectCss";
9
+ static readonly suite = "gcx:wf:builtin";
10
+ execute(inputs: InjectCssInputs): EmptyOutputs;
11
+ }
@@ -1,19 +1,19 @@
1
- /**
2
- * Match a string like //foo.bar.com/geocortex/workflow/service
3
- * The match starts with a double-slash, accepts anything before the next slash and
4
- * matches "geocortex/workflow/service" case-insensitive as the full path, after the domain name.
5
- *
6
- * We use this to detect attempts to communicate with Workflow Server using the
7
- * old default path because there is a chance that the server is now located at
8
- * "/vertigisstudio/workflow/service" but the serverUrl of the AGOL item
9
- * has not yet been updated.
10
- *
11
- * In such cases, we try the new path if the old one fails. We must wait until after we try,
12
- * since the customer might still be using the old url.
13
- */
14
- export declare const oldDefaultServerVirtualPath: RegExp;
15
- /**
16
- * The value to use when replacing "/geocortex/" in the path. Everything else is retained,
17
- * but "/geocortex/" becomes "/vertigisstudio/".
18
- */
19
- export declare const defaultServerVirtualPath = "$1/vertigisstudio/workflow/service";
1
+ /**
2
+ * Match a string like //foo.bar.com/geocortex/workflow/service
3
+ * The match starts with a double-slash, accepts anything before the next slash and
4
+ * matches "geocortex/workflow/service" case-insensitive as the full path, after the domain name.
5
+ *
6
+ * We use this to detect attempts to communicate with Workflow Server using the
7
+ * old default path because there is a chance that the server is now located at
8
+ * "/vertigisstudio/workflow/service" but the serverUrl of the AGOL item
9
+ * has not yet been updated.
10
+ *
11
+ * In such cases, we try the new path if the old one fails. We must wait until after we try,
12
+ * since the customer might still be using the old url.
13
+ */
14
+ export declare const oldDefaultServerVirtualPath: RegExp;
15
+ /**
16
+ * The value to use when replacing "/geocortex/" in the path. Everything else is retained,
17
+ * but "/geocortex/" becomes "/vertigisstudio/".
18
+ */
19
+ export declare const defaultServerVirtualPath = "$1/vertigisstudio/workflow/service";
@@ -1,12 +1,12 @@
1
- import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
2
- /** Describes inputs for the Add Item activity. */
3
- export interface AddItemInputs {
4
- collection: any[];
5
- item: any;
6
- index?: number;
7
- }
8
- export declare class AddItem implements IActivityHandler {
9
- static readonly action = "gcx:wf:core::AddItem";
10
- static readonly suite = "gcx:wf:builtin";
11
- execute(inputs: AddItemInputs): EmptyOutputs;
12
- }
1
+ import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
2
+ /** Describes inputs for the Add Item activity. */
3
+ export interface AddItemInputs {
4
+ collection: any[];
5
+ item: any;
6
+ index?: number;
7
+ }
8
+ export declare class AddItem implements IActivityHandler {
9
+ static readonly action = "gcx:wf:core::AddItem";
10
+ static readonly suite = "gcx:wf:builtin";
11
+ execute(inputs: AddItemInputs): EmptyOutputs;
12
+ }
@@ -1,12 +1,12 @@
1
- import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
2
- /** Describes inputs for the Add Items activity. */
3
- export interface AddItemInputs {
4
- collection: any[];
5
- itemsToAdd: any[];
6
- index?: number;
7
- }
8
- export declare class AddItems implements IActivityHandler {
9
- static readonly action = "gcx:wf:core::AddItems";
10
- static readonly suite = "gcx:wf:builtin";
11
- execute(inputs: AddItemInputs): EmptyOutputs;
12
- }
1
+ import { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
2
+ /** Describes inputs for the Add Items activity. */
3
+ export interface AddItemInputs {
4
+ collection: any[];
5
+ itemsToAdd: any[];
6
+ index?: number;
7
+ }
8
+ export declare class AddItems implements IActivityHandler {
9
+ static readonly action = "gcx:wf:core::AddItems";
10
+ static readonly suite = "gcx:wf:builtin";
11
+ execute(inputs: AddItemInputs): EmptyOutputs;
12
+ }
@@ -1,8 +1,8 @@
1
- import { IActivityHandler, EmptyInputs, EmptyOutputs } from "../../IActivityHandler";
2
- /** An activity that provides the ability to add annotation/comments to a workflow. */
3
- export declare class Annotation implements IActivityHandler {
4
- static readonly action = "gcx:wf:core::Annotation";
5
- static readonly suite = "gcx:wf:builtin";
6
- /** Executes the activity. */
7
- execute(inputs: EmptyInputs): EmptyOutputs;
8
- }
1
+ import { IActivityHandler, EmptyInputs, EmptyOutputs } from "../../IActivityHandler";
2
+ /** An activity that provides the ability to add annotation/comments to a workflow. */
3
+ export declare class Annotation implements IActivityHandler {
4
+ static readonly action = "gcx:wf:core::Annotation";
5
+ static readonly suite = "gcx:wf:builtin";
6
+ /** Executes the activity. */
7
+ execute(inputs: EmptyInputs): EmptyOutputs;
8
+ }
@@ -1,16 +1,16 @@
1
- import { IActivityHandler } from "../../IActivityHandler";
2
- /** Defines inputs for the Cast activity. */
3
- export interface CastInputs {
4
- type: "any" | "ArrayBuffer" | "boolean" | "Date" | "Error" | "Function" | "number" | "number[]" | "Object" | "string" | "string[]" | "esri.Graphic" | "esri.Extent" | "esri.Geometry" | "esri.Multipoint" | "esri.Point" | "esri.Polygon" | "esri.Polyline" | "esri.PortalGroup" | "esri.PortalUser" | "esri.SpatialReference" | "esri.Layer" | "esri.Symbol" | "esri.AddressCandidate" | "esri.FeatureSet" | "{ id: number; name: string; location: esri.Point; }" | string;
5
- input: any;
6
- }
7
- /** Defines outputs for the Cast activity. */
8
- export interface CastOutputs {
9
- /** The input value cast to the specified type. */
10
- result: any;
11
- }
12
- export declare class Cast implements IActivityHandler {
13
- static readonly action = "gcx:wf:core::Cast";
14
- static readonly suite = "gcx:wf:builtin";
15
- execute(inputs: CastInputs): CastOutputs;
16
- }
1
+ import { IActivityHandler } from "../../IActivityHandler";
2
+ /** Defines inputs for the Cast activity. */
3
+ export interface CastInputs {
4
+ type: "any" | "ArrayBuffer" | "boolean" | "Date" | "Error" | "Function" | "number" | "number[]" | "Object" | "string" | "string[]" | "esri.Graphic" | "esri.Extent" | "esri.Geometry" | "esri.Multipoint" | "esri.Point" | "esri.Polygon" | "esri.Polyline" | "esri.PortalGroup" | "esri.PortalUser" | "esri.SpatialReference" | "esri.Layer" | "esri.Symbol" | "esri.AddressCandidate" | "esri.FeatureSet" | "{ id: number; name: string; location: esri.Point; }" | string;
5
+ input: any;
6
+ }
7
+ /** Defines outputs for the Cast activity. */
8
+ export interface CastOutputs {
9
+ /** The input value cast to the specified type. */
10
+ result: any;
11
+ }
12
+ export declare class Cast implements IActivityHandler {
13
+ static readonly action = "gcx:wf:core::Cast";
14
+ static readonly suite = "gcx:wf:builtin";
15
+ execute(inputs: CastInputs): CastOutputs;
16
+ }
@@ -1,90 +1,89 @@
1
- import Bluebird from "bluebird";
2
- import { Activator } from "../../Activator";
3
- import { Lookup } from "../../Collections";
4
- export interface Request {
5
- /** The URL of the request. */
6
- url?: string;
7
- /** The request method. For example, GET, POST, PUT, DELETE, etc. */
8
- method?: string;
9
- /** The headers of the request. */
10
- headers: Lookup<string | string[]>;
11
- /** The content of the request. */
12
- content?: ArrayBuffer | FormData | string;
13
- /** The content of the request as JSON. */
14
- json?: any;
15
- }
16
- export interface Response {
17
- /** The error for the current request/response. */
18
- error?: Error;
19
- /** The status for the current request/response. */
20
- status?: number;
21
- /** The message for the current request/response. */
22
- message?: string;
23
- /** The headers for the current request/response. */
24
- headers: Lookup<string | string[]>;
25
- /** The content for the current request/response. */
26
- content?: ArrayBuffer | string;
27
- /** The payload for the current request/response. */
28
- payload?: {};
29
- }
30
- export interface ChannelInfo {
31
- /** The request. */
32
- request: Request;
33
- /** The response for the current request/response. */
34
- response: Response;
35
- }
36
- /** @public */
37
- export declare class ChannelProvider implements ChannelInfo {
38
- static type: string;
39
- static register(activator: Activator): void;
40
- /**
41
- * Creates a new channel.
42
- * @param channel The previous channel.
43
- * @param name The channel by name.
44
- */
45
- static create(channel?: ChannelProvider, name?: string): ChannelProvider;
46
- constructor(type: typeof ChannelProvider, name?: string);
47
- /** Indicates the channel name. */
48
- protected name: string;
49
- /** Indicates the channel type. */
50
- protected type: typeof ChannelProvider;
51
- /** Indicates the current XHR. */
52
- protected xhr: XMLHttpRequest;
53
- protected resolve: (result: boolean) => void;
54
- /**
55
- * The base promise is one that we create in advance but don't use until `send()` is called.
56
- * We add `timeout()` and `catch()` clauses and assign the result to `promise`, which is
57
- * subsequently used externally.
58
- */
59
- protected basePromise: Bluebird<boolean>;
60
- /** Indicates the promise. */
61
- protected promise: Bluebird<boolean>;
62
- /**
63
- * Attempts to conclude the request.
64
- * @param error
65
- */
66
- protected tryConclude(error?: Error): void;
67
- /** Indicates the request. */
68
- request: Request;
69
- /** Indicates the response for the current request/response. */
70
- response: Response;
71
- /** Indicates if the request is binary. */
72
- binary: boolean;
73
- /** Indicates the timeout. */
74
- timeout: number;
75
- /** Indicate whether to send credentials with CORS */
76
- corsWithCredentials: boolean;
77
- /** Cancels the request. */
78
- cancel(): void;
79
- /** Sends the request. */
80
- send(): any;
81
- /**
82
- * This method appears redundant, but it's needed because esri 4
83
- * puts the interesting stuff in the payload within a "data" element,
84
- * which we need to use instead in the appropriate sub class.
85
- * @param payload The payload returned by an esri request.
86
- */
87
- getResponseData(payload: {}): {};
88
- /** Constructs a new request from this channel. */
89
- new(): ChannelProvider;
90
- }
1
+ import Bluebird from "bluebird";
2
+ import { Activator } from "../../Activator";
3
+ export interface Request {
4
+ /** The URL of the request. */
5
+ url?: string;
6
+ /** The request method. For example, GET, POST, PUT, DELETE, etc. */
7
+ method?: string;
8
+ /** The headers of the request. */
9
+ headers: Record<string, string | string[]>;
10
+ /** The content of the request. */
11
+ content?: ArrayBuffer | FormData | string;
12
+ /** The content of the request as JSON. */
13
+ json?: any;
14
+ }
15
+ export interface Response {
16
+ /** The error for the current request/response. */
17
+ error?: Error;
18
+ /** The status for the current request/response. */
19
+ status?: number;
20
+ /** The message for the current request/response. */
21
+ message?: string;
22
+ /** The headers for the current request/response. */
23
+ headers: Record<string, string | string[]>;
24
+ /** The content for the current request/response. */
25
+ content?: ArrayBuffer | string;
26
+ /** The payload for the current request/response. */
27
+ payload?: {};
28
+ }
29
+ export interface ChannelInfo {
30
+ /** The request. */
31
+ request: Request;
32
+ /** The response for the current request/response. */
33
+ response: Response;
34
+ }
35
+ /** @public */
36
+ export declare class ChannelProvider implements ChannelInfo {
37
+ static type: string;
38
+ static register(activator: Activator): void;
39
+ /**
40
+ * Creates a new channel.
41
+ * @param channel The previous channel.
42
+ * @param name The channel by name.
43
+ */
44
+ static create(channel?: ChannelProvider, name?: string): ChannelProvider;
45
+ constructor(type: typeof ChannelProvider, name?: string);
46
+ /** Indicates the channel name. */
47
+ protected name: string | undefined;
48
+ /** Indicates the channel type. */
49
+ protected type: typeof ChannelProvider;
50
+ /** Indicates the current XHR. */
51
+ protected xhr: XMLHttpRequest | undefined;
52
+ protected resolve: ((result: boolean) => void) | undefined;
53
+ /**
54
+ * The base promise is one that we create in advance but don't use until `send()` is called.
55
+ * We add `timeout()` and `catch()` clauses and assign the result to `promise`, which is
56
+ * subsequently used externally.
57
+ */
58
+ protected basePromise: Bluebird<boolean>;
59
+ /** Indicates the promise. */
60
+ protected promise: Bluebird<boolean> | undefined;
61
+ /**
62
+ * Attempts to conclude the request.
63
+ * @param error
64
+ */
65
+ protected tryConclude(error?: Error): void;
66
+ /** Indicates the request. */
67
+ request: Request;
68
+ /** Indicates the response for the current request/response. */
69
+ response: Response;
70
+ /** Indicates if the request is binary. */
71
+ binary: boolean;
72
+ /** Indicates the timeout. */
73
+ timeout: number;
74
+ /** Indicate whether to send credentials with CORS */
75
+ corsWithCredentials: boolean;
76
+ /** Cancels the request. */
77
+ cancel(): void;
78
+ /** Sends the request. */
79
+ send(): any;
80
+ /**
81
+ * This method appears redundant, but it's needed because esri 4
82
+ * puts the interesting stuff in the payload within a "data" element,
83
+ * which we need to use instead in the appropriate sub class.
84
+ * @param payload The payload returned by an esri request.
85
+ */
86
+ getResponseData(payload: {} | undefined): {} | undefined;
87
+ /** Constructs a new request from this channel. */
88
+ new(): ChannelProvider;
89
+ }