@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.
Files changed (453) 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 -101
  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/AddFeatureLayer.d.ts +23 -23
  29. package/activities/arcgis/AddFeatureLayer.js +1 -1
  30. package/activities/arcgis/AddFeatures.d.ts +27 -27
  31. package/activities/arcgis/AddGraphics.d.ts +27 -27
  32. package/activities/arcgis/ArcadeScript.d.ts +17 -18
  33. package/activities/arcgis/AreaEngineTask.d.ts +20 -20
  34. package/activities/arcgis/BufferEngineTask.d.ts +27 -27
  35. package/activities/arcgis/BufferServiceTask.d.ts +33 -33
  36. package/activities/arcgis/BufferServiceTask.js +1 -1
  37. package/activities/arcgis/CastGeometry.d.ts +23 -23
  38. package/activities/arcgis/ClearGraphics.d.ts +12 -12
  39. package/activities/arcgis/ClearGraphics.js +1 -1
  40. package/activities/arcgis/ClipEngineTask.d.ts +18 -18
  41. package/activities/arcgis/ClosestFacilityTask.d.ts +90 -90
  42. package/activities/arcgis/ClosestFacilityTask.js +1 -1
  43. package/activities/arcgis/CompareGeometries.d.ts +19 -19
  44. package/activities/arcgis/ConvertValueToArcGisFieldType.d.ts +13 -0
  45. package/activities/arcgis/ConvertValueToArcGisFieldType.js +1 -0
  46. package/activities/arcgis/CreateFeatureSet.d.ts +16 -16
  47. package/activities/arcgis/CreateFeatureSet.js +1 -1
  48. package/activities/arcgis/CreateGraphic.d.ts +17 -17
  49. package/activities/arcgis/CreateGraphic.js +1 -1
  50. package/activities/arcgis/CreatePoint.d.ts +17 -17
  51. package/activities/arcgis/CutEngineTask.d.ts +18 -18
  52. package/activities/arcgis/DeleteAttachments.d.ts +22 -22
  53. package/activities/arcgis/DeleteFeatures.d.ts +30 -30
  54. package/activities/arcgis/DensifyEngineTask.d.ts +20 -20
  55. package/activities/arcgis/DifferenceEngineTask.d.ts +23 -23
  56. package/activities/arcgis/DistanceEngineTask.d.ts +20 -20
  57. package/activities/arcgis/DistanceServiceTask.d.ts +24 -24
  58. package/activities/arcgis/DistanceServiceTask.js +1 -1
  59. package/activities/arcgis/ExtendedSpatialReferenceInfoEngineTask.d.ts +17 -17
  60. package/activities/arcgis/FeatureSetFromJson.d.ts +16 -16
  61. package/activities/arcgis/FeatureTableMap.d.ts +12 -12
  62. package/activities/arcgis/FlipEngineTask.d.ts +21 -21
  63. package/activities/arcgis/FromGeoCoordinateStringServiceTask.d.ts +24 -24
  64. package/activities/arcgis/GeneralizeEngineTask.d.ts +22 -22
  65. package/activities/arcgis/GenerateArcGisToken.d.ts +23 -23
  66. package/activities/arcgis/GenerateWebmapForReport.d.ts +20 -20
  67. package/activities/arcgis/GenerateWebmapForReport.js +1 -1
  68. package/activities/arcgis/Geocode.d.ts +37 -38
  69. package/activities/arcgis/Geocode.js +1 -1
  70. package/activities/arcgis/GeometryFromJson.d.ts +16 -16
  71. package/activities/arcgis/Geoprocessing.d.ts +25 -26
  72. package/activities/arcgis/Geoprocessing.js +1 -1
  73. package/activities/arcgis/GeoprocessingAsync.d.ts +36 -37
  74. package/activities/arcgis/GeoprocessingAsync.js +1 -1
  75. package/activities/arcgis/GetAttributeValue.d.ts +22 -22
  76. package/activities/arcgis/GetAttributeValues.d.ts +20 -20
  77. package/activities/arcgis/GetCentroid.d.ts +16 -16
  78. package/activities/arcgis/GetCodedValueDomain.d.ts +29 -29
  79. package/activities/arcgis/GetCodedValueDomain.js +1 -1
  80. package/activities/arcgis/GetCurrentPosition.d.ts +46 -46
  81. package/activities/arcgis/GetFeatureGeometries.d.ts +20 -20
  82. package/activities/arcgis/GetFeatureGeometry.d.ts +18 -18
  83. package/activities/arcgis/GetFeatureLayerInfo.d.ts +22 -22
  84. package/activities/arcgis/GetFeatureSetExtent.d.ts +18 -18
  85. package/activities/arcgis/GetFeatureSetObjectIds.d.ts +20 -20
  86. package/activities/arcgis/GetFormElementItemsFromFeatures.d.ts +49 -50
  87. package/activities/arcgis/GetFormElementItemsFromFeatures.js +1 -1
  88. package/activities/arcgis/GetGeometryExtent.d.ts +17 -17
  89. package/activities/arcgis/GetGraphics.d.ts +19 -19
  90. package/activities/arcgis/GetLayer.d.ts +21 -21
  91. package/activities/arcgis/GetLayerDefinitionExpression.d.ts +18 -18
  92. package/activities/arcgis/GetLayerProperty.d.ts +18 -18
  93. package/activities/arcgis/GetLayerVisibility.d.ts +18 -18
  94. package/activities/arcgis/GetMap.d.ts +11 -11
  95. package/activities/arcgis/GetMapScreenshot.d.ts +18 -18
  96. package/activities/arcgis/GetPortalUser.d.ts +20 -20
  97. package/activities/arcgis/GetTable.d.ts +18 -18
  98. package/activities/arcgis/GetViewExtent.d.ts +16 -16
  99. package/activities/arcgis/GetViewpoint.d.ts +12 -12
  100. package/activities/arcgis/IntersectEngineTask.d.ts +20 -20
  101. package/activities/arcgis/LabelPointsServiceTask.d.ts +18 -18
  102. package/activities/arcgis/LengthEngineTask.d.ts +20 -20
  103. package/activities/arcgis/MapProvider.d.ts +133 -132
  104. package/activities/arcgis/MapProvider.js +1 -1
  105. package/activities/arcgis/NearestCoordinateEngineTask.d.ts +26 -26
  106. package/activities/arcgis/NearestVertexEngineTask.d.ts +26 -26
  107. package/activities/arcgis/NearestVerticesEngineTask.d.ts +34 -34
  108. package/activities/arcgis/OffsetEngineTask.d.ts +25 -25
  109. package/activities/arcgis/ProjectServiceTask.d.ts +27 -27
  110. package/activities/arcgis/ProjectServiceTask.js +1 -1
  111. package/activities/arcgis/QueryAttachmentInfos.d.ts +21 -21
  112. package/activities/arcgis/QueryTask.d.ts +77 -77
  113. package/activities/arcgis/QueryTask.js +1 -1
  114. package/activities/arcgis/RefreshLayer.d.ts +12 -12
  115. package/activities/arcgis/RegisterCorsUrl.d.ts +21 -21
  116. package/activities/arcgis/RelateEngineTask.d.ts +22 -22
  117. package/activities/arcgis/RelationServiceTask.d.ts +29 -29
  118. package/activities/arcgis/RelationServiceTask.js +1 -1
  119. package/activities/arcgis/RelationshipQueryTask.d.ts +37 -38
  120. package/activities/arcgis/RelationshipQueryTask.js +1 -1
  121. package/activities/arcgis/RemoveFeatureSetFields.d.ts +22 -22
  122. package/activities/arcgis/RemoveFeatureSetFields.js +1 -1
  123. package/activities/arcgis/RemoveGraphics.d.ts +14 -14
  124. package/activities/arcgis/RemoveGraphics.js +1 -1
  125. package/activities/arcgis/RemoveLayer.d.ts +16 -16
  126. package/activities/arcgis/RendererFromJson.d.ts +16 -16
  127. package/activities/arcgis/ReshapeServiceTask.d.ts +20 -20
  128. package/activities/arcgis/ReverseGeocode.d.ts +31 -31
  129. package/activities/arcgis/ReverseGeocode.js +1 -1
  130. package/activities/arcgis/RotateEngineTask.d.ts +20 -20
  131. package/activities/arcgis/RouteTask.d.ts +91 -91
  132. package/activities/arcgis/RouteTask.js +1 -1
  133. package/activities/arcgis/RunPrint.d.ts +33 -34
  134. package/activities/arcgis/RunPrint.js +1 -1
  135. package/activities/arcgis/RunReport.d.ts +37 -38
  136. package/activities/arcgis/RunReport.js +1 -1
  137. package/activities/arcgis/RunWorkflow.d.ts +51 -52
  138. package/activities/arcgis/SendLayerToAttributeTable.d.ts +10 -10
  139. package/activities/arcgis/ServiceAreaTask.d.ts +87 -87
  140. package/activities/arcgis/ServiceAreaTask.js +1 -1
  141. package/activities/arcgis/SetFeatureAttribute.d.ts +15 -15
  142. package/activities/arcgis/SetFeatureGeometry.d.ts +13 -13
  143. package/activities/arcgis/SetFeaturePopup.d.ts +12 -12
  144. package/activities/arcgis/SetFeatureSymbol.d.ts +13 -13
  145. package/activities/arcgis/SetImageryLayerOptions.d.ts +27 -27
  146. package/activities/arcgis/SetLayerDefinitionExpression.d.ts +21 -21
  147. package/activities/arcgis/SetLayerDefinitionExpression.js +1 -1
  148. package/activities/arcgis/SetLayerPopup.d.ts +12 -12
  149. package/activities/arcgis/SetLayerProperty.d.ts +23 -23
  150. package/activities/arcgis/SetLayerVisibility.d.ts +23 -23
  151. package/activities/arcgis/SetMap.d.ts +14 -14
  152. package/activities/arcgis/SetViewExtent.d.ts +27 -27
  153. package/activities/arcgis/SetViewpoint.d.ts +23 -23
  154. package/activities/arcgis/ShowFeaturePopup.d.ts +11 -11
  155. package/activities/arcgis/ShowResults.d.ts +51 -51
  156. package/activities/arcgis/SimplifyEngineTask.d.ts +15 -15
  157. package/activities/arcgis/SortFeatureSet.d.ts +20 -20
  158. package/activities/arcgis/SymbolFromJson.d.ts +16 -16
  159. package/activities/arcgis/ToGeoCoordinateStringServiceTask.d.ts +30 -30
  160. package/activities/arcgis/TypeChecking.d.ts +46 -46
  161. package/activities/arcgis/UnionEngineTask.d.ts +19 -19
  162. package/activities/arcgis/UnionServiceTask.d.ts +20 -20
  163. package/activities/arcgis/UpdateAttachment.d.ts +29 -29
  164. package/activities/arcgis/UpdateFeatures.d.ts +27 -27
  165. package/activities/arcgis/libs/arcGisRestApi.d.ts +18 -18
  166. package/activities/arcgis/runUtils.d.ts +93 -93
  167. package/activities/arcgis/shared.d.ts +61 -61
  168. package/activities/arcgis/tools.d.ts +42 -40
  169. package/activities/arcgis/tools.js +1 -1
  170. package/activities/browser/GetBrowserInfo.d.ts +13 -13
  171. package/activities/browser/InjectCss.d.ts +11 -11
  172. package/activities/constants.d.ts +19 -19
  173. package/activities/core/AddItem.d.ts +12 -12
  174. package/activities/core/AddItems.d.ts +12 -12
  175. package/activities/core/Annotation.d.ts +8 -8
  176. package/activities/core/Cast.d.ts +16 -16
  177. package/activities/core/ChannelProvider.d.ts +89 -90
  178. package/activities/core/ChannelProvider.js +1 -1
  179. package/activities/core/ClearItems.d.ts +10 -10
  180. package/activities/core/Container.d.ts +7 -7
  181. package/activities/core/ConvertBytesToText.d.ts +14 -14
  182. package/activities/core/ConvertDataTableToFeatureSet.d.ts +12 -12
  183. package/activities/core/ConvertTextToBytes.d.ts +14 -14
  184. package/activities/core/ConvertToJson.d.ts +16 -16
  185. package/activities/core/ConvertToJson.js +1 -1
  186. package/activities/core/CreateFile.d.ts +18 -18
  187. package/activities/core/CreateValue.d.ts +21 -21
  188. package/activities/core/DecodeUriComponent.d.ts +14 -14
  189. package/activities/core/Delay.d.ts +18 -18
  190. package/activities/core/EncodeUriComponent.d.ts +14 -14
  191. package/activities/core/Evaluate.d.ts +18 -18
  192. package/activities/core/EvaluateAsync.d.ts +18 -18
  193. package/activities/core/Exit.d.ts +7 -7
  194. package/activities/core/ForEach.d.ts +25 -26
  195. package/activities/core/FormatDate.d.ts +23 -23
  196. package/activities/core/GetBase64StringFromBytes.d.ts +15 -15
  197. package/activities/core/GetBase64StringFromFile.d.ts +15 -15
  198. package/activities/core/GetBytesFromBase64String.d.ts +15 -15
  199. package/activities/core/GetFirstItem.d.ts +14 -14
  200. package/activities/core/GetItemAtIndex.d.ts +15 -15
  201. package/activities/core/GetLastItem.d.ts +14 -14
  202. package/activities/core/GetLogLevel.d.ts +9 -9
  203. package/activities/core/GetTextFromFile.d.ts +16 -16
  204. package/activities/core/GetWorkflowInputs.d.ts +12 -12
  205. package/activities/core/If.d.ts +18 -18
  206. package/activities/core/Log.d.ts +14 -14
  207. package/activities/core/Log.js +1 -1
  208. package/activities/core/Loop.d.ts +27 -27
  209. package/activities/core/Loop.js +1 -1
  210. package/activities/core/ParseJson.d.ts +16 -16
  211. package/activities/core/ParseNumber.d.ts +12 -12
  212. package/activities/core/ParseUrl.d.ts +24 -25
  213. package/activities/core/ParseUrl.js +1 -1
  214. package/activities/core/Placeholder.d.ts +6 -6
  215. package/activities/core/RegexMatches.d.ts +17 -17
  216. package/activities/core/RegexReplace.d.ts +18 -18
  217. package/activities/core/RemoveItem.d.ts +14 -14
  218. package/activities/core/RunActivity.d.ts +12 -13
  219. package/activities/core/RunSubworkflow.d.ts +14 -15
  220. package/activities/core/SetLogLevel.d.ts +9 -9
  221. package/activities/core/SetProperty.d.ts +15 -15
  222. package/activities/core/SetWorkflowOutput.d.ts +12 -12
  223. package/activities/core/Subworkflow.d.ts +14 -15
  224. package/activities/core/Switch.d.ts +19 -19
  225. package/activities/core/TextReplace.d.ts +16 -16
  226. package/activities/core/Throw.d.ts +12 -12
  227. package/activities/core/TryCatch.d.ts +12 -12
  228. package/activities/core/WebRequest.d.ts +49 -50
  229. package/activities/core/converters.d.ts +10 -10
  230. package/activities/csv/ConvertCsvToDataTable.d.ts +15 -15
  231. package/activities/csv/ConvertDataTableToCsv.d.ts +15 -15
  232. package/activities/essentials/GetEssentialsSite.d.ts +225 -225
  233. package/activities/essentials/RunEssentialsWorkflow.d.ts +25 -26
  234. package/activities/essentials/RunEssentialsWorkflowActivity.d.ts +17 -18
  235. package/activities/forms/ActivateFormElement.d.ts +13 -13
  236. package/activities/forms/ActivateFormElement.js +1 -1
  237. package/activities/forms/AddFormElement.d.ts +18 -18
  238. package/activities/forms/ClearFormElementError.d.ts +13 -13
  239. package/activities/forms/CompleteForm.d.ts +11 -11
  240. package/activities/forms/DisplayForm.d.ts +48 -49
  241. package/activities/forms/Errors.d.ts +18 -18
  242. package/activities/forms/FilterFormElementItems.d.ts +16 -16
  243. package/activities/forms/FormElementMap.d.ts +13 -13
  244. package/activities/forms/FormRenderer.d.ts +139 -140
  245. package/activities/forms/FormRenderer.js +1 -1
  246. package/activities/forms/GetFormElementItemsFromCollection.d.ts +49 -50
  247. package/activities/forms/GetFormElementItemsFromCollection.js +1 -1
  248. package/activities/forms/GetFormElementProperty.d.ts +19 -19
  249. package/activities/forms/GetFormElementValue.d.ts +17 -17
  250. package/activities/forms/GetFormEventData.d.ts +17 -17
  251. package/activities/forms/HideFormElement.d.ts +13 -13
  252. package/activities/forms/PropagateFormEvent.d.ts +10 -10
  253. package/activities/forms/SetCurrentFormElementItem.d.ts +18 -18
  254. package/activities/forms/SetCurrentFormElementItem.js +1 -1
  255. package/activities/forms/SetFormElementError.d.ts +17 -17
  256. package/activities/forms/SetFormElementEvent.d.ts +18 -18
  257. package/activities/forms/SetFormElementItemProperty.d.ts +34 -21
  258. package/activities/forms/SetFormElementItemProperty.js +1 -1
  259. package/activities/forms/SetFormElementItems.d.ts +18 -19
  260. package/activities/forms/SetFormElementProperty.d.ts +32 -19
  261. package/activities/forms/SetFormElementProperty.js +1 -1
  262. package/activities/forms/ShowFormElement.d.ts +15 -15
  263. package/activities/image/GetImageMetadata.d.ts +16 -16
  264. package/activities/image/RotateImage.d.ts +15 -15
  265. package/activities/index.d.ts +4 -2
  266. package/activities/index.js +1 -1
  267. package/activities/main.d.ts +1 -1
  268. package/activities/math/Abs.d.ts +14 -14
  269. package/activities/math/Cos.d.ts +14 -14
  270. package/activities/math/Max.d.ts +16 -16
  271. package/activities/math/Min.d.ts +16 -16
  272. package/activities/math/Pow.d.ts +15 -15
  273. package/activities/math/Random.d.ts +10 -10
  274. package/activities/math/Sin.d.ts +14 -14
  275. package/activities/math/Sqrt.d.ts +14 -14
  276. package/activities/math/Tan.d.ts +14 -14
  277. package/activities/pdf/AddGeoreferenceToPdf.d.ts +19 -19
  278. package/activities/pdf/AddImageToPdf.d.ts +63 -0
  279. package/activities/pdf/AddImageToPdf.js +1 -0
  280. package/activities/pdf/AddTextToPdf.d.ts +59 -0
  281. package/activities/pdf/AddTextToPdf.js +1 -0
  282. package/activities/pdf/CreatePdf.d.ts +49 -0
  283. package/activities/pdf/CreatePdf.js +1 -0
  284. package/activities/pdf/ExtractPdfPages.d.ts +17 -17
  285. package/activities/pdf/MergePdfs.d.ts +15 -15
  286. package/activities/server/CopyFile.d.ts +10 -10
  287. package/activities/server/CreateDirectory.d.ts +9 -9
  288. package/activities/server/CreateDownload.d.ts +18 -18
  289. package/activities/server/CreateEmailAttachment.d.ts +16 -16
  290. package/activities/server/CreateZipFromDirectory.d.ts +12 -12
  291. package/activities/server/DeleteDirectory.d.ts +9 -9
  292. package/activities/server/DeleteFile.d.ts +9 -9
  293. package/activities/server/DirectoryExists.d.ts +13 -13
  294. package/activities/server/ExtractZipToDirectory.d.ts +11 -11
  295. package/activities/server/FileExists.d.ts +13 -13
  296. package/activities/server/GetDirectoriesInDirectory.d.ts +14 -14
  297. package/activities/server/GetFilesInDirectory.d.ts +14 -14
  298. package/activities/server/MoveFile.d.ts +10 -10
  299. package/activities/server/ReadFile.d.ts +14 -14
  300. package/activities/server/ReadFileBytes.d.ts +13 -13
  301. package/activities/server/RunApplication.d.ts +22 -22
  302. package/activities/server/RunPython.d.ts +23 -23
  303. package/activities/server/SendEmail.d.ts +16 -16
  304. package/activities/server/SqlNonQuery.d.ts +18 -18
  305. package/activities/server/SqlQuery.d.ts +18 -18
  306. package/activities/server/SqlQueryUnsafe.d.ts +18 -18
  307. package/activities/server/WriteFile.d.ts +11 -11
  308. package/activities/server/WriteFileBytes.d.ts +10 -10
  309. package/activities/ui/Alert.d.ts +17 -17
  310. package/activities/ui/Confirm.d.ts +24 -24
  311. package/activities/ui/Prompt.d.ts +26 -26
  312. package/activities/wab/OpenWidget.d.ts +10 -10
  313. package/activities/wab/PublishWidgetData.d.ts +11 -11
  314. package/activities/xlsx/ConvertDataTableToXlsx.d.ts +15 -15
  315. package/activities/xlsx/ConvertXlsxToDataSet.d.ts +15 -15
  316. package/constants.d.ts +2 -2
  317. package/definition/Activity.d.ts +12 -13
  318. package/definition/ActivityInput.d.ts +31 -31
  319. package/definition/Component.d.ts +10 -10
  320. package/definition/DeploymentConfig.d.ts +4 -5
  321. package/definition/Form.d.ts +5 -5
  322. package/definition/Program.d.ts +29 -30
  323. package/definition/ProgramInspector.d.ts +290 -288
  324. package/definition/ProgramInspector.js +1 -1
  325. package/definition/Reference.d.ts +11 -11
  326. package/definition/Resource.d.ts +26 -26
  327. package/definition/Step.d.ts +9 -9
  328. package/definition/Transition.d.ts +17 -17
  329. package/diagnostics/ConsoleDebugLogger.d.ts +10 -10
  330. package/diagnostics/logging.d.ts +5 -5
  331. package/execution/ActivityLoader.d.ts +23 -24
  332. package/execution/Engine.d.ts +84 -85
  333. package/execution/IDebugSession.d.ts +43 -44
  334. package/execution/ModuleLoader.d.ts +42 -42
  335. package/execution/ProgramRunner.d.ts +1 -1
  336. package/execution/ProgramRunner.js +1 -1
  337. package/forms/Calendar.d.ts +89 -89
  338. package/forms/ExclusiveTimer.d.ts +13 -13
  339. package/forms/FormComponent.d.ts +47 -47
  340. package/forms/FormComponent.js +1 -1
  341. package/forms/FormDefinition.d.ts +451 -452
  342. package/forms/FormElement.d.ts +24 -59
  343. package/forms/FormElement.js +1 -1
  344. package/forms/FormHost.d.ts +225 -231
  345. package/forms/FormHost.js +1 -1
  346. package/forms/FormPresenterHost.d.ts +62 -74
  347. package/forms/MutuallyExclusiveSectionGroup.d.ts +41 -41
  348. package/forms/NumberParser.d.ts +27 -26
  349. package/forms/NumberParser.js +1 -1
  350. package/forms/common.d.ts +67 -62
  351. package/forms/common.js +1 -1
  352. package/forms/components/AccordionGroup.d.ts +15 -15
  353. package/forms/components/AutoComplete.d.ts +8 -8
  354. package/forms/components/ButtonBar.d.ts +8 -8
  355. package/forms/components/CheckBox.d.ts +7 -7
  356. package/forms/components/CheckGroup.d.ts +8 -8
  357. package/forms/components/Custom.d.ts +7 -7
  358. package/forms/components/DatePicker.d.ts +8 -8
  359. package/forms/components/DatePicker.js +1 -1
  360. package/forms/components/DateRangePicker.d.ts +12 -12
  361. package/forms/components/DateRangePicker.js +1 -1
  362. package/forms/components/DateTimePicker.d.ts +8 -8
  363. package/forms/components/DateTimePicker.js +1 -1
  364. package/forms/components/DropDownList.d.ts +8 -7
  365. package/forms/components/DropDownList.js +1 -1
  366. package/forms/components/FilePicker.d.ts +10 -9
  367. package/forms/components/FilePicker.js +1 -1
  368. package/forms/components/Form.d.ts +23 -23
  369. package/forms/components/Form.js +1 -1
  370. package/forms/components/FormLabelNumberField.d.ts +17 -17
  371. package/forms/components/GeometryPicker.d.ts +5 -4
  372. package/forms/components/GeometryPicker.js +1 -1
  373. package/forms/components/GeometryPickerListItem.d.ts +23 -23
  374. package/forms/components/HorizontalRule.d.ts +7 -7
  375. package/forms/components/Image.d.ts +7 -7
  376. package/forms/components/ItemPicker.d.ts +15 -17
  377. package/forms/components/ItemPicker.js +1 -1
  378. package/forms/components/ListBox.d.ts +8 -8
  379. package/forms/components/Markdown.d.ts +14 -14
  380. package/forms/components/Number.d.ts +8 -8
  381. package/forms/components/Number.js +1 -1
  382. package/forms/components/NumberRangeSlider.d.ts +12 -12
  383. package/forms/components/NumberSlider.d.ts +11 -11
  384. package/forms/components/RadioGroup.d.ts +8 -8
  385. package/forms/components/Scanner.d.ts +11 -9
  386. package/forms/components/Scanner.js +1 -1
  387. package/forms/components/Section.d.ts +14 -14
  388. package/forms/components/Section.js +1 -1
  389. package/forms/components/Signature.d.ts +12 -11
  390. package/forms/components/Signature.js +1 -1
  391. package/forms/components/SignatureDialog.d.ts +22 -22
  392. package/forms/components/Text.d.ts +8 -8
  393. package/forms/components/TextArea.d.ts +7 -7
  394. package/forms/components/TextBox.d.ts +7 -7
  395. package/forms/components/TimePicker.d.ts +8 -8
  396. package/forms/components/TimePicker.js +1 -1
  397. package/forms/constants.d.ts +81 -81
  398. package/forms/dateUtilities.d.ts +102 -103
  399. package/forms/dateUtilities.js +1 -1
  400. package/forms/elements/AutoComplete.d.ts +13 -13
  401. package/forms/elements/ButtonBar.d.ts +9 -9
  402. package/forms/elements/CheckBox.d.ts +7 -7
  403. package/forms/elements/CheckGroup.d.ts +11 -11
  404. package/forms/elements/Custom.d.ts +7 -7
  405. package/forms/elements/DatePicker.d.ts +6 -6
  406. package/forms/elements/DateRangePicker.d.ts +6 -6
  407. package/forms/elements/DateTimePicker.d.ts +6 -6
  408. package/forms/elements/DropDownList.d.ts +6 -6
  409. package/forms/elements/FilePicker.d.ts +8 -8
  410. package/forms/elements/GeometryPicker.d.ts +18 -18
  411. package/forms/elements/Header.d.ts +10 -10
  412. package/forms/elements/HorizontalRule.d.ts +2 -2
  413. package/forms/elements/Image.d.ts +2 -2
  414. package/forms/elements/ItemPicker.d.ts +13 -13
  415. package/forms/elements/ListBox.d.ts +11 -11
  416. package/forms/elements/Number.d.ts +11 -11
  417. package/forms/elements/NumberRangeSlider.d.ts +10 -10
  418. package/forms/elements/NumberSlider.d.ts +6 -6
  419. package/forms/elements/PasswordBox.d.ts +5 -5
  420. package/forms/elements/RadioGroup.d.ts +6 -6
  421. package/forms/elements/Scanner.d.ts +19 -19
  422. package/forms/elements/Section.d.ts +2 -2
  423. package/forms/elements/Signature.d.ts +16 -16
  424. package/forms/elements/Text.d.ts +2 -2
  425. package/forms/elements/TextArea.d.ts +7 -7
  426. package/forms/elements/TextBox.d.ts +5 -5
  427. package/forms/elements/TimePicker.d.ts +6 -6
  428. package/forms/elements/types.d.ts +83 -83
  429. package/forms/index.d.ts +124 -108
  430. package/forms/keyboard.d.ts +9 -9
  431. package/forms/listUtilities.d.ts +3 -3
  432. package/forms/manifest.d.ts +3 -3
  433. package/forms/manifest.js +1 -1
  434. package/forms/numberFormatter.d.ts +90 -94
  435. package/forms/numberFormatter.js +1 -1
  436. package/forms/numberUtilities.d.ts +150 -150
  437. package/forms/numberUtilities.js +1 -1
  438. package/forms/presenter.d.ts +21 -21
  439. package/forms/presenter.js +1 -1
  440. package/forms/renderers.d.ts +5 -8
  441. package/forms/renderers.js +1 -1
  442. package/forms/textUtilities.d.ts +33 -23
  443. package/forms/textUtilities.js +1 -1
  444. package/forms/utils.d.ts +177 -146
  445. package/forms/utils.js +1 -1
  446. package/index.d.ts +2 -2
  447. package/libs/version.d.ts +1 -1
  448. package/libs/version.js +1 -1
  449. package/licensing/LicenseChecker.d.ts +1 -1
  450. package/licensing/Watermark.d.ts +7 -7
  451. package/package.json +9 -11
  452. package/activities/app/constants.d.ts +0 -1
  453. package/activities/app/constants.js +0 -1
@@ -1,452 +1,451 @@
1
- import { Lookup } from "../Collections";
2
- import { NumberDisplayFormat } from "./numberFormatter";
3
- /**
4
- * References a container.
5
- * @product This is intended for internal use only within VertiGIS Studio products.
6
- */
7
- export declare type ContainerRef = "default" | "modal" | {
8
- /** Indicates the name of the container. */
9
- name: string;
10
- /** Indicates the region to display the form within. */
11
- region?: string;
12
- };
13
- /** References a section. */
14
- export declare type SectionRef = "header" | "footer" | {
15
- /** Indicates the section to bind to. */
16
- name: string;
17
- };
18
- /** References data for a data-based value. */
19
- export interface DataRef {
20
- /** Indicates the type of data. */
21
- type: string;
22
- /** Discriminates this object from others. */
23
- format?: void;
24
- /** Indicates the data. */
25
- data?: any;
26
- }
27
- export interface DateRangeRef {
28
- /**
29
- * The lower end of the date range. The time is set to midnight local time,
30
- * based on the user's time-zone.
31
- * */
32
- startDate: Date;
33
- /**
34
- * The upper end of the date range. The time is set to midnight local time,
35
- * based on the user's time-zone.
36
- * */
37
- endDate: Date;
38
- }
39
- /** References data for a date-based value. */
40
- export interface DateTimeRef {
41
- /** Indicates the format for the date/time value. */
42
- format: DateTimeFormat;
43
- /** Indicates the display form for the date/time value. */
44
- display: string;
45
- /** Indicates the value for the date/time value. */
46
- value: number;
47
- }
48
- export interface FilesRef {
49
- /** Discriminates this object from others. */
50
- format?: void;
51
- /** Indicates the files. */
52
- files: File[];
53
- }
54
- /** References a geometry. */
55
- export interface GeometryRef {
56
- /** Indicates the format of the value. */
57
- format: GeometryFormat;
58
- /** Indicates the geometry. */
59
- geometry: {}[];
60
- }
61
- /**
62
- * References one or more items within the element.
63
- * @product This is intended for internal use only within VertiGIS Studio products.
64
- */
65
- export interface ItemsRef {
66
- /** The items that were selected. */
67
- items: Item[];
68
- }
69
- /**
70
- * Indicates the number.
71
- * @product This is intended for internal use only within VertiGIS Studio products.
72
- */
73
- export interface NumberRef {
74
- /** Indicates the format for the number. */
75
- format: NumberFormat;
76
- /** Indicates the display value. */
77
- display: string;
78
- /** Indicates the numeric value. */
79
- numeric: number;
80
- }
81
- /**
82
- * References markdown for a markdown-based value.
83
- * @public
84
- */
85
- export interface MarkdownRef {
86
- markdown: string;
87
- }
88
- /**
89
- * Indicates how a form element's items should be laid out.
90
- */
91
- export declare type Orientation = "horizontal" | "vertical";
92
- export interface ScanRef {
93
- /** Type of barcode scanned. */
94
- scanType?: "barcode" | "qrcode";
95
- /** Type of entry method. */
96
- entryMethod: "camera" | "manual";
97
- /** Indicates the returned scanner data. */
98
- value: string;
99
- }
100
- export interface SignatureRef {
101
- /** A Data URL describing the image as a PNG. */
102
- dataUrl: string;
103
- /** A File object for a PNG image of the signature. */
104
- file: File;
105
- }
106
- /**
107
- * References an error, warnings, and statuses.
108
- * @product This is intended for internal use only within VertiGIS Studio products.
109
- */
110
- export interface StatusRef {
111
- /** missing - Input is missing. */
112
- /** invalid - Input is invalid. */
113
- /** failure - Input experienced a failure during validation or population. */
114
- /** pending - Input items are being populated. */
115
- /** trivial - Input items are empty, not relevant, not significant etc. */
116
- status: "missing" | "invalid" | "failure" | "pending" | "trivial";
117
- }
118
- /**
119
- * References any kind of text.
120
- * @product This is intended for internal use only within VertiGIS Studio products.
121
- */
122
- export declare type Text = string | MarkdownRef | StatusRef;
123
- /**
124
- * Indicates how a form element's title should be positioned relative to its content.
125
- */
126
- export declare type TitleLocation = "above" | "beside";
127
- /**
128
- * References any kind of value appropriate for a form element.
129
- * @product This is intended for internal use only within VertiGIS Studio products.
130
- */
131
- export declare type Value = boolean | number | number[] | string | DataRef | DateRangeRef | DateTimeRef | FilesRef | GeometryRef | ItemsRef | NumberRef | ScanRef | SignatureRef;
132
- /** Types of matching that can be performed when finding an Item within a Form Element. */
133
- export declare type ItemMatchType = "index" | "item" | "key" | "label" | "value";
134
- /** References the format types. */
135
- export declare type FormatRef = DateTimeFormat | NumberFormat | GeometryFormat | SectionFormat;
136
- /** References the date/time type. */
137
- export declare type DateTimeType = "date" | "time" | "datetime";
138
- /** References the date/time format criteria. */
139
- export declare type DateTimeFormat = "app" | "device" | {
140
- /** Indicates the locale for the date/time value. */
141
- locale: string;
142
- /** Indicates the time zone for the date/time value. */
143
- timezone: string;
144
- };
145
- /**
146
- * Constraints to be applied to numeric values within form elements that deal with selecting numbers.
147
- */
148
- export interface NumberConstraints {
149
- /**
150
- * The highest accepted value. Values higher than this value should be replaced by it.
151
- * If this is `undefined`, there is no upper limit.
152
- */
153
- maximum: number | undefined;
154
- /**
155
- * The lowest accepted value. Values lower than this value should be replaced by it.
156
- * If this is `undefined`, there is no lower limit.
157
- */
158
- minimum: number | undefined;
159
- /**
160
- * The amount that the number changes when the user increments/decrements the value.
161
- * This must be a value > 0.
162
- *
163
- * If `minimum` is also defined, values must fall on `minimum + step * n` where `n` is an integer.
164
- * Values that do not should be rounded to the nearest valud step. If `minimum` is not defined,
165
- * the formula becomes `step * n`.
166
- */
167
- step: number;
168
- }
169
- /**
170
- * References the number format criteria.
171
- * @product This is intended for internal use only within VertiGIS Studio products.
172
- */
173
- export interface NumberFormat {
174
- /**
175
- * The 3-letter ISO 4217 currency code (e.g "USD", "CAD"). Required when
176
- * formatting a number using NumberFormat.CURRENCY or NumberFormat.ACCOUNTING.
177
- */
178
- currency?: string;
179
- /**
180
- * A custom display pattern. Required when formatting a number using NumberDisplayFormat.CUSTOM
181
- */
182
- customDisplayFormat?: string;
183
- /**
184
- * Indicates the display format - one of Number, Fixed Point, Currency,
185
- * Accounting, Percent or a custom format string like '##.##'.
186
- */
187
- displayFormat?: NumberDisplayFormat;
188
- /** Indicates the lower bound. */
189
- lowerBound?: number;
190
- /**
191
- * Indicates the minimum increment/decrement and precision of values.
192
- *
193
- * Positive precision values indicates the number of decimal places to round to.
194
- * For example, `1` would round to `0.1`, `2` would round to `0.01` etc.
195
- *
196
- * Negative precision values indicates the number of whole digits to round to.
197
- * For example, `-1` would round to `10`, `-2` would round to `100` etc.
198
- */
199
- precision?: number;
200
- /** Indicates the step size which is the amount to increment/decrement. */
201
- step?: number;
202
- /** Indicates the upper bound. */
203
- upperBound?: number;
204
- }
205
- /**
206
- * References geometry format.
207
- * @product This is intended for internal use only within VertiGIS Studio products.
208
- */
209
- export declare type GeometryFormat = "polygon" | "polyline" | "point" | "polygon-freehand" | "polyline-freehand" | "extent" | "line";
210
- export declare type SectionFormat = "accordion-section" | "unstyled-section" | "fieldset-section" | "basic-section" | "collapsible-section";
211
- /**
212
- * The `SectionFormat` to use when no value is specified.
213
- * @product This is intended for internal use only within VertiGIS Studio products.
214
- */
215
- export declare const DEFAULT_SECTION_FORMAT = "unstyled-section";
216
- /** References a two-dimensional size. */
217
- export interface Size {
218
- /** The height. */
219
- height?: number;
220
- /** The width. */
221
- width?: number;
222
- }
223
- /**
224
- * Defines a form.
225
- * @product This is intended for internal use only within VertiGIS Studio products.
226
- */
227
- export interface Form {
228
- /** Indicates the defaults for the form. */
229
- defaults?: {
230
- container?: ContainerRef;
231
- };
232
- /** Indicates the elements for the form. */
233
- elements?: {
234
- [name: string]: Element;
235
- };
236
- }
237
- /**
238
- * Defines any element used in a form.
239
- * @product This is intended for internal use only within VertiGIS Studio products.
240
- */
241
- export interface Element {
242
- /**
243
- * An accessible description to be used by assistive technologies such as screen readers.
244
- */
245
- accessibleDescription?: string;
246
- /**
247
- * True if this element should activate on the next render, false otherwise.
248
- * The meaning of "activate" can vary from element to element. In the case of
249
- * GeometryPicker, it means to click the "Add" button.
250
- */
251
- autoActivate?: boolean;
252
- /** Indicates that the element is checked or not. */
253
- checked?: boolean;
254
- /** Indicates that the element is collapsed or not. */
255
- collapsed?: boolean;
256
- /** Indicates the current item. */
257
- current?: string;
258
- /** Indicates the type name of the custom implementation (used by Custom form elements). */
259
- customType?: string;
260
- /** Indicates if the element is a default. */
261
- default?: boolean;
262
- /** Indicates the delay in milliseconds before acting on an edit (used by AutoComplete). */
263
- delay?: number;
264
- /** Indicates what element to react to when populating. */
265
- dependsOn?: string | boolean;
266
- /** Indicates the description for the element. */
267
- description?: Text;
268
- /** Indicates that the element is enabled or not. */
269
- enabled?: boolean;
270
- /** Indicates the error for the item. */
271
- error?: Text;
272
- /** Indicates a comma-separated list of file extensions and MIME types that you want to accept. */
273
- fileTypes?: string;
274
- /** Indicates the format of the value. */
275
- format?: FormatRef;
276
- /** Indicates whether the element is hoisted or not. */
277
- hoisted?: boolean;
278
- /**
279
- * The order of this element in a single-dimensional column.
280
- * @deprecated Use rowNumber and rowIndex instead.
281
- */
282
- index?: number;
283
- /** Indicates the item label for items which are opaquely constructed such as geometries in the Geometry Picker. */
284
- itemLabel?: Text | Text[];
285
- /** Indicates the items. */
286
- items?: Lookup<Item>;
287
- /** Indicates the label for the element. */
288
- label?: Text;
289
- /** Indicates the locally unique identifier for application specific use. */
290
- luid?: string;
291
- /**
292
- * True if this element should support manual user entry, false otherwise (used by Scanner).
293
- */
294
- manualEntry?: boolean;
295
- /** Indicates the maximum number of characters allows in the input field */
296
- maxLength?: number;
297
- /** Indicates the minimum number of characters required for searches (used by AutoComplete). */
298
- minLength?: number;
299
- /** Indicates how the form element's items should be laid out. */
300
- orientation?: Orientation;
301
- /** Indicates that the element is in overlay mode. */
302
- overlay?: boolean;
303
- /** Indicates the prompt for the element. */
304
- prompt?: Text;
305
- /** Indicates if the element is read only. */
306
- readOnly?: boolean;
307
- /** Instructs any validation that the element is required. */
308
- require?: boolean;
309
- /**
310
- * The position of this element within its row. The lowest rowIndex appears first in the row, the highest last.
311
- */
312
- rowIndex?: number;
313
- /**
314
- * The row that this element belongs to. Row numbers increase downwards.
315
- */
316
- rowNumber?: number;
317
- /** Indicates the enclosing section. */
318
- section?: SectionRef;
319
- /** Indicates if the user can select one item, several items or no items. */
320
- selectionMode?: "single" | "multiple" | "none";
321
- /** Indicates whether to support barcode scanning, qrcode scanning or both (used by Scanner). If undefined (default) allow both. */
322
- scanType?: "barcode" | "qrcode" | "both";
323
- /** Indicates if the items can be filtered by the user. */
324
- showFilter?: boolean;
325
- /** Indicates if the minimum/maximum labels should be displayed by the user (used by NumberRangeSlider) */
326
- showMinMaxLabels?: boolean;
327
- /** Indicates if ticks should be displayed along the axis (used by NumberRangeSlider). */
328
- showTickMarks?: boolean;
329
- /** Indicates the element's size, which could be a one-dimensional number or a two-dimensional object. */
330
- size?: number | Size;
331
- /**
332
- * Indicates the current state.
333
- */
334
- state?: {};
335
- /** Indicates the style name to be used. */
336
- styleName?: string;
337
- /** Indicates the title for the element. */
338
- title?: Text;
339
- /** Indicates if the element's title should appear above or beside its content. */
340
- titleLocation?: TitleLocation;
341
- /** Indicates the tooltip for the element. */
342
- tooltip?: Text;
343
- /** Indicates the type of the element. */
344
- type?: string;
345
- /** Indicates if the element triggers validation when submitting. */
346
- validates?: boolean;
347
- /** Indicates the current value. */
348
- value?: Value;
349
- /** Indicates whether the element is visible or not. */
350
- visible?: boolean;
351
- /** Indicates how the control wraps text. */
352
- wrap?: "hard" | "soft" | "off";
353
- }
354
- /**
355
- * Defines an ad hoc item.
356
- * @product This is intended for internal use only within VertiGIS Studio products.
357
- */
358
- export interface Item {
359
- /** Indicates the placement of the item. */
360
- index?: number;
361
- /** Indicates the label for the item. */
362
- label?: Text;
363
- /** Indicates the value for the item. */
364
- value?: Value;
365
- /** Indicates the enabled state for the item. */
366
- enabled?: boolean;
367
- /** Indicates the checked state for the item. */
368
- checked?: boolean;
369
- /** Indicates the visible state for the item. */
370
- visible?: boolean;
371
- /** Indicates if the item is a default. */
372
- default?: boolean;
373
- /** Indicates if the element triggers validation when submitting. */
374
- validates?: boolean;
375
- /** Indicates the tooltip for the element. */
376
- tooltip?: Text;
377
- /** Indicates the style name to be used. */
378
- styleName?: string;
379
- }
380
- export declare type EventType = "load" | "cancel" | "checked" | "changed" | "clicked" | "custom" | "dragged" | "suggest" | "submit" | "end" | "verify" | "validate" | "populate" | "prepare";
381
- /** @product This is intended for internal use only within VertiGIS Studio products. */
382
- export interface Event {
383
- /** Indicates the name of the element raising the event. */
384
- name?: string;
385
- /** Indicates the item of the element raising the event. */
386
- item?: string;
387
- /** Indicates the type of the event. */
388
- type?: EventType;
389
- /** Indicates the routing key of the event. */
390
- routingKey?: string;
391
- /** Indicates the argument for the event. */
392
- argument?: Value;
393
- /** Indicates the value associated with the element or item. */
394
- value?: Value;
395
- /** Indicates the cancellation token fro the event. */
396
- cancellationToken?: PromiseLike<void>;
397
- }
398
- /** @product This is intended for internal use only within VertiGIS Studio products. */
399
- export interface GeometryState {
400
- /** Indicates the application specific context. */
401
- context?: {};
402
- /** Indicates the content. */
403
- content?: {};
404
- /** Indicates the checked state. */
405
- checked?: boolean;
406
- /** Indicates the focused state. */
407
- focused?: boolean;
408
- /** Indicates the pending state. */
409
- pending?: boolean;
410
- }
411
- /** Allows tracking the current state of the AutoComplete element between renders. */
412
- export interface AutoCompleteState {
413
- /** The next action to be performed while pre-selecting a value. */
414
- nextAction: PreSelectionAction;
415
- /** True if the `select` element (the list of suggestions) is disabled, false otherwise. */
416
- selectDisabled: boolean;
417
- /** The key of the currently selected item in the list of suggestions. */
418
- selectValue: string;
419
- }
420
- /**
421
- * The category of content to be generated. This is relevant when content is
422
- * to be rendered in a place where not all categories of content are permitted.
423
- */
424
- export declare enum HTMLContentCategory {
425
- /**
426
- * Elements belonging to the flow content category typically contain text or embedded content.
427
- * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Flow_content
428
- */
429
- Flow = 0,
430
- /**
431
- * Phrasing content defines the text and the mark-up it contains. Runs of phrasing content make up paragraphs.
432
- * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content
433
- */
434
- Phrasing = 1
435
- }
436
- /**
437
- * A set of actions that can be performed as part of pre-selecting an item.
438
- */
439
- export declare enum PreSelectionAction {
440
- /**
441
- * No action is to be performed relating to pre-selection.
442
- */
443
- None = 0,
444
- /**
445
- * Suggestions need to be retrieved.
446
- */
447
- RetrieveSuggestions = 1,
448
- /**
449
- * The first item needs to be selected. This assumes the suggestions have already been retrieved.
450
- */
451
- SelectFirstItem = 2
452
- }
1
+ import { NumberDisplayFormat } from "./numberFormatter";
2
+ /**
3
+ * References a container.
4
+ * @product This is intended for internal use only within VertiGIS Studio products.
5
+ */
6
+ export type ContainerRef = "default" | "modal" | {
7
+ /** Indicates the name of the container. */
8
+ name: string;
9
+ /** Indicates the region to display the form within. */
10
+ region?: string;
11
+ };
12
+ /** References a section. */
13
+ export type SectionRef = "header" | "footer" | {
14
+ /** Indicates the section to bind to. */
15
+ name: string;
16
+ };
17
+ /** References data for a data-based value. */
18
+ export interface DataRef {
19
+ /** Indicates the type of data. */
20
+ type: string;
21
+ /** Discriminates this object from others. */
22
+ format?: void;
23
+ /** Indicates the data. */
24
+ data?: any;
25
+ }
26
+ export interface DateRangeRef {
27
+ /**
28
+ * The lower end of the date range. The time is set to midnight local time,
29
+ * based on the user's time-zone.
30
+ * */
31
+ startDate: Date;
32
+ /**
33
+ * The upper end of the date range. The time is set to midnight local time,
34
+ * based on the user's time-zone.
35
+ * */
36
+ endDate: Date;
37
+ }
38
+ /** References data for a date-based value. */
39
+ export interface DateTimeRef {
40
+ /** Indicates the format for the date/time value. */
41
+ format: DateTimeFormat;
42
+ /** Indicates the display form for the date/time value. */
43
+ display: string;
44
+ /** Indicates the value for the date/time value. */
45
+ value: number;
46
+ }
47
+ export interface FilesRef {
48
+ /** Discriminates this object from others. */
49
+ format?: void;
50
+ /** Indicates the files. */
51
+ files: File[];
52
+ }
53
+ /** References a geometry. */
54
+ export interface GeometryRef {
55
+ /** Indicates the format of the value. */
56
+ format: GeometryFormat;
57
+ /** Indicates the geometry. */
58
+ geometry: {}[];
59
+ }
60
+ /**
61
+ * References one or more items within the element.
62
+ * @product This is intended for internal use only within VertiGIS Studio products.
63
+ */
64
+ export interface ItemsRef {
65
+ /** The items that were selected. */
66
+ items: Item[];
67
+ }
68
+ /**
69
+ * Indicates the number.
70
+ * @product This is intended for internal use only within VertiGIS Studio products.
71
+ */
72
+ export interface NumberRef {
73
+ /** Indicates the format for the number. */
74
+ format: NumberFormat;
75
+ /** Indicates the display value. */
76
+ display: string;
77
+ /** Indicates the numeric value. */
78
+ numeric: number;
79
+ }
80
+ /**
81
+ * References markdown for a markdown-based value.
82
+ * @public
83
+ */
84
+ export interface MarkdownRef {
85
+ markdown: string;
86
+ }
87
+ /**
88
+ * Indicates how a form element's items should be laid out.
89
+ */
90
+ export type Orientation = "horizontal" | "vertical";
91
+ export interface ScanRef {
92
+ /** Type of barcode scanned. */
93
+ scanType?: "barcode" | "qrcode";
94
+ /** Type of entry method. */
95
+ entryMethod: "camera" | "manual";
96
+ /** Indicates the returned scanner data. */
97
+ value: string;
98
+ }
99
+ export interface SignatureRef {
100
+ /** A Data URL describing the image as a PNG. */
101
+ dataUrl: string;
102
+ /** A File object for a PNG image of the signature. */
103
+ file: File;
104
+ }
105
+ /**
106
+ * References an error, warnings, and statuses.
107
+ * @product This is intended for internal use only within VertiGIS Studio products.
108
+ */
109
+ export interface StatusRef {
110
+ /** missing - Input is missing. */
111
+ /** invalid - Input is invalid. */
112
+ /** failure - Input experienced a failure during validation or population. */
113
+ /** pending - Input items are being populated. */
114
+ /** trivial - Input items are empty, not relevant, not significant etc. */
115
+ status: "missing" | "invalid" | "failure" | "pending" | "trivial";
116
+ }
117
+ /**
118
+ * References any kind of text.
119
+ * @product This is intended for internal use only within VertiGIS Studio products.
120
+ */
121
+ export type Text = string | MarkdownRef | StatusRef;
122
+ /**
123
+ * Indicates how a form element's title should be positioned relative to its content.
124
+ */
125
+ export type TitleLocation = "above" | "beside";
126
+ /**
127
+ * References any kind of value appropriate for a form element.
128
+ * @product This is intended for internal use only within VertiGIS Studio products.
129
+ */
130
+ export type Value = boolean | number | number[] | string | DataRef | DateRangeRef | DateTimeRef | FilesRef | GeometryRef | ItemsRef | NumberRef | ScanRef | SignatureRef;
131
+ /** Types of matching that can be performed when finding an Item within a Form Element. */
132
+ export type ItemMatchType = "index" | "item" | "key" | "label" | "value";
133
+ /** References the format types. */
134
+ export type FormatRef = DateTimeFormat | NumberFormat | GeometryFormat | SectionFormat;
135
+ /** References the date/time type. */
136
+ export type DateTimeType = "date" | "time" | "datetime";
137
+ /** References the date/time format criteria. */
138
+ export type DateTimeFormat = "app" | "device" | {
139
+ /** Indicates the locale for the date/time value. */
140
+ locale: string;
141
+ /** Indicates the time zone for the date/time value. */
142
+ timezone: string;
143
+ };
144
+ /**
145
+ * Constraints to be applied to numeric values within form elements that deal with selecting numbers.
146
+ */
147
+ export interface NumberConstraints {
148
+ /**
149
+ * The highest accepted value. Values higher than this value should be replaced by it.
150
+ * If this is `undefined`, there is no upper limit.
151
+ */
152
+ maximum: number | undefined;
153
+ /**
154
+ * The lowest accepted value. Values lower than this value should be replaced by it.
155
+ * If this is `undefined`, there is no lower limit.
156
+ */
157
+ minimum: number | undefined;
158
+ /**
159
+ * The amount that the number changes when the user increments/decrements the value.
160
+ * This must be a value > 0.
161
+ *
162
+ * If `minimum` is also defined, values must fall on `minimum + step * n` where `n` is an integer.
163
+ * Values that do not should be rounded to the nearest valud step. If `minimum` is not defined,
164
+ * the formula becomes `step * n`.
165
+ */
166
+ step: number;
167
+ }
168
+ /**
169
+ * References the number format criteria.
170
+ * @product This is intended for internal use only within VertiGIS Studio products.
171
+ */
172
+ export interface NumberFormat {
173
+ /**
174
+ * The 3-letter ISO 4217 currency code (e.g "USD", "CAD"). Required when
175
+ * formatting a number using NumberFormat.CURRENCY or NumberFormat.ACCOUNTING.
176
+ */
177
+ currency?: string;
178
+ /**
179
+ * A custom display pattern. Required when formatting a number using NumberDisplayFormat.CUSTOM
180
+ */
181
+ customDisplayFormat?: string;
182
+ /**
183
+ * Indicates the display format - one of Number, Fixed Point, Currency,
184
+ * Accounting, Percent or a custom format string like '##.##'.
185
+ */
186
+ displayFormat?: NumberDisplayFormat;
187
+ /** Indicates the lower bound. */
188
+ lowerBound?: number;
189
+ /**
190
+ * Indicates the minimum increment/decrement and precision of values.
191
+ *
192
+ * Positive precision values indicates the number of decimal places to round to.
193
+ * For example, `1` would round to `0.1`, `2` would round to `0.01` etc.
194
+ *
195
+ * Negative precision values indicates the number of whole digits to round to.
196
+ * For example, `-1` would round to `10`, `-2` would round to `100` etc.
197
+ */
198
+ precision?: number;
199
+ /** Indicates the step size which is the amount to increment/decrement. */
200
+ step?: number;
201
+ /** Indicates the upper bound. */
202
+ upperBound?: number;
203
+ }
204
+ /**
205
+ * References geometry format.
206
+ * @product This is intended for internal use only within VertiGIS Studio products.
207
+ */
208
+ export type GeometryFormat = "polygon" | "polyline" | "point" | "polygon-freehand" | "polyline-freehand" | "extent" | "line";
209
+ export type SectionFormat = "accordion-section" | "unstyled-section" | "fieldset-section" | "basic-section" | "collapsible-section";
210
+ /**
211
+ * The `SectionFormat` to use when no value is specified.
212
+ * @product This is intended for internal use only within VertiGIS Studio products.
213
+ */
214
+ export declare const DEFAULT_SECTION_FORMAT = "unstyled-section";
215
+ /** References a two-dimensional size. */
216
+ export interface Size {
217
+ /** The height. */
218
+ height?: number;
219
+ /** The width. */
220
+ width?: number;
221
+ }
222
+ /**
223
+ * Defines a form.
224
+ * @product This is intended for internal use only within VertiGIS Studio products.
225
+ */
226
+ export interface Form {
227
+ /** Indicates the defaults for the form. */
228
+ defaults?: {
229
+ container?: ContainerRef;
230
+ };
231
+ /** Indicates the elements for the form. */
232
+ elements: {
233
+ [name: string]: Element;
234
+ };
235
+ }
236
+ /**
237
+ * Defines any element used in a form.
238
+ * @product This is intended for internal use only within VertiGIS Studio products.
239
+ */
240
+ export interface Element {
241
+ /**
242
+ * An accessible description to be used by assistive technologies such as screen readers.
243
+ */
244
+ accessibleDescription?: string;
245
+ /**
246
+ * True if this element should activate on the next render, false otherwise.
247
+ * The meaning of "activate" can vary from element to element. In the case of
248
+ * GeometryPicker, it means to click the "Add" button.
249
+ */
250
+ autoActivate?: boolean;
251
+ /** Indicates that the element is checked or not. */
252
+ checked?: boolean;
253
+ /** Indicates that the element is collapsed or not. */
254
+ collapsed?: boolean;
255
+ /** Indicates the current item. */
256
+ current?: string;
257
+ /** Indicates the type name of the custom implementation (used by Custom form elements). */
258
+ customType?: string;
259
+ /** Indicates if the element is a default. */
260
+ default?: boolean;
261
+ /** Indicates the delay in milliseconds before acting on an edit (used by AutoComplete). */
262
+ delay?: number;
263
+ /** Indicates what element to react to when populating. */
264
+ dependsOn?: string | boolean;
265
+ /** Indicates the description for the element. */
266
+ description?: Text;
267
+ /** Indicates that the element is enabled or not. */
268
+ enabled?: boolean;
269
+ /** Indicates the error for the item. */
270
+ error?: Text;
271
+ /** Indicates a comma-separated list of file extensions and MIME types that you want to accept. */
272
+ fileTypes?: string;
273
+ /** Indicates the format of the value. */
274
+ format?: FormatRef;
275
+ /** Indicates whether the element is hoisted or not. */
276
+ hoisted?: boolean;
277
+ /**
278
+ * The order of this element in a single-dimensional column.
279
+ * @deprecated Use rowNumber and rowIndex instead.
280
+ */
281
+ index?: number;
282
+ /** Indicates the item label for items which are opaquely constructed such as geometries in the Geometry Picker. */
283
+ itemLabel?: Text | Text[];
284
+ /** Indicates the items. */
285
+ items?: Record<string, Item>;
286
+ /** Indicates the label for the element. */
287
+ label?: Text;
288
+ /** Indicates the locally unique identifier for application specific use. */
289
+ luid?: string;
290
+ /**
291
+ * True if this element should support manual user entry, false otherwise (used by Scanner).
292
+ */
293
+ manualEntry?: boolean;
294
+ /** Indicates the maximum number of characters allows in the input field */
295
+ maxLength?: number;
296
+ /** Indicates the minimum number of characters required for searches (used by AutoComplete). */
297
+ minLength?: number;
298
+ /** Indicates how the form element's items should be laid out. */
299
+ orientation?: Orientation;
300
+ /** Indicates that the element is in overlay mode. */
301
+ overlay?: boolean;
302
+ /** Indicates the prompt for the element. */
303
+ prompt?: Text;
304
+ /** Indicates if the element is read only. */
305
+ readOnly?: boolean;
306
+ /** Instructs any validation that the element is required. */
307
+ require?: boolean;
308
+ /**
309
+ * The position of this element within its row. The lowest rowIndex appears first in the row, the highest last.
310
+ */
311
+ rowIndex?: number;
312
+ /**
313
+ * The row that this element belongs to. Row numbers increase downwards.
314
+ */
315
+ rowNumber?: number;
316
+ /** Indicates the enclosing section. */
317
+ section?: SectionRef;
318
+ /** Indicates if the user can select one item, several items or no items. */
319
+ selectionMode?: "single" | "multiple" | "none";
320
+ /** Indicates whether to support barcode scanning, qrcode scanning or both (used by Scanner). If undefined (default) allow both. */
321
+ scanType?: "barcode" | "qrcode" | "both";
322
+ /** Indicates if the items can be filtered by the user. */
323
+ showFilter?: boolean;
324
+ /** Indicates if the minimum/maximum labels should be displayed by the user (used by NumberRangeSlider) */
325
+ showMinMaxLabels?: boolean;
326
+ /** Indicates if ticks should be displayed along the axis (used by NumberRangeSlider). */
327
+ showTickMarks?: boolean;
328
+ /** Indicates the element's size, which could be a one-dimensional number or a two-dimensional object. */
329
+ size?: number | Size;
330
+ /**
331
+ * Indicates the current state.
332
+ */
333
+ state?: {};
334
+ /** Indicates the style name to be used. */
335
+ styleName?: string;
336
+ /** Indicates the title for the element. */
337
+ title?: Text;
338
+ /** Indicates if the element's title should appear above or beside its content. */
339
+ titleLocation?: TitleLocation;
340
+ /** Indicates the tooltip for the element. */
341
+ tooltip?: Text;
342
+ /** Indicates the type of the element. */
343
+ type?: string;
344
+ /** Indicates if the element triggers validation when submitting. */
345
+ validates?: boolean;
346
+ /** Indicates the current value. */
347
+ value?: Value;
348
+ /** Indicates whether the element is visible or not. */
349
+ visible?: boolean;
350
+ /** Indicates how the control wraps text. */
351
+ wrap?: "hard" | "soft" | "off";
352
+ }
353
+ /**
354
+ * Defines an ad hoc item.
355
+ * @product This is intended for internal use only within VertiGIS Studio products.
356
+ */
357
+ export interface Item {
358
+ /** Indicates the placement of the item. */
359
+ index?: number;
360
+ /** Indicates the label for the item. */
361
+ label?: Text;
362
+ /** Indicates the value for the item. */
363
+ value?: Value;
364
+ /** Indicates the enabled state for the item. */
365
+ enabled?: boolean;
366
+ /** Indicates the checked state for the item. */
367
+ checked?: boolean;
368
+ /** Indicates the visible state for the item. */
369
+ visible?: boolean;
370
+ /** Indicates if the item is a default. */
371
+ default?: boolean;
372
+ /** Indicates if the element triggers validation when submitting. */
373
+ validates?: boolean;
374
+ /** Indicates the tooltip for the element. */
375
+ tooltip?: Text;
376
+ /** Indicates the style name to be used. */
377
+ styleName?: string;
378
+ }
379
+ export type EventType = "load" | "cancel" | "checked" | "changed" | "clicked" | "custom" | "dragged" | "suggest" | "submit" | "end" | "verify" | "validate" | "populate" | "prepare";
380
+ /** @product This is intended for internal use only within VertiGIS Studio products. */
381
+ export interface Event {
382
+ /** Indicates the name of the element raising the event. */
383
+ name?: string;
384
+ /** Indicates the item of the element raising the event. */
385
+ item?: string;
386
+ /** Indicates the type of the event. */
387
+ type?: EventType;
388
+ /** Indicates the routing key of the event. */
389
+ routingKey?: string;
390
+ /** Indicates the argument for the event. */
391
+ argument?: Value;
392
+ /** Indicates the value associated with the element or item. */
393
+ value?: Value;
394
+ /** Indicates the cancellation token fro the event. */
395
+ cancellationToken?: PromiseLike<void>;
396
+ }
397
+ /** @product This is intended for internal use only within VertiGIS Studio products. */
398
+ export interface GeometryState {
399
+ /** Indicates the application specific context. */
400
+ context?: {};
401
+ /** Indicates the content. */
402
+ content?: {};
403
+ /** Indicates the checked state. */
404
+ checked?: boolean;
405
+ /** Indicates the focused state. */
406
+ focused?: boolean;
407
+ /** Indicates the pending state. */
408
+ pending?: boolean;
409
+ }
410
+ /** Allows tracking the current state of the AutoComplete element between renders. */
411
+ export interface AutoCompleteState {
412
+ /** The next action to be performed while pre-selecting a value. */
413
+ nextAction: PreSelectionAction;
414
+ /** True if the `select` element (the list of suggestions) is disabled, false otherwise. */
415
+ selectDisabled: boolean;
416
+ /** The key of the currently selected item in the list of suggestions. */
417
+ selectValue: string;
418
+ }
419
+ /**
420
+ * The category of content to be generated. This is relevant when content is
421
+ * to be rendered in a place where not all categories of content are permitted.
422
+ */
423
+ export declare enum HTMLContentCategory {
424
+ /**
425
+ * Elements belonging to the flow content category typically contain text or embedded content.
426
+ * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Flow_content
427
+ */
428
+ Flow = 0,
429
+ /**
430
+ * Phrasing content defines the text and the mark-up it contains. Runs of phrasing content make up paragraphs.
431
+ * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content
432
+ */
433
+ Phrasing = 1
434
+ }
435
+ /**
436
+ * A set of actions that can be performed as part of pre-selecting an item.
437
+ */
438
+ export declare enum PreSelectionAction {
439
+ /**
440
+ * No action is to be performed relating to pre-selection.
441
+ */
442
+ None = 0,
443
+ /**
444
+ * Suggestions need to be retrieved.
445
+ */
446
+ RetrieveSuggestions = 1,
447
+ /**
448
+ * The first item needs to be selected. This assumes the suggestions have already been retrieved.
449
+ */
450
+ SelectFirstItem = 2
451
+ }