@magic-xpa/engine 4.1100.0-dev4110.106 → 4.1100.0-dev4110.107

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 (382) hide show
  1. package/README.md +7 -7
  2. package/esm2020/index.mjs +188 -2
  3. package/esm2020/src/AccessHelper.mjs +9 -0
  4. package/esm2020/src/ClientManager.mjs +399 -0
  5. package/esm2020/src/CommandsProcessorBase.mjs +58 -0
  6. package/esm2020/src/CommandsProcessorManager.mjs +26 -0
  7. package/esm2020/src/CommandsTable.mjs +162 -0
  8. package/esm2020/src/ConstInterface.mjs +516 -0
  9. package/esm2020/src/CurrentClientVersion.mjs +2 -0
  10. package/esm2020/src/FlowMonitorInterface.mjs +16 -0
  11. package/esm2020/src/GUIManager.mjs +62 -0
  12. package/esm2020/src/GlobalCommandsManager.mjs +34 -0
  13. package/esm2020/src/GuiEventsProcessor.mjs +154 -0
  14. package/esm2020/src/ICommandsTable.mjs +2 -0
  15. package/esm2020/src/ServerConfig.mjs +117 -0
  16. package/esm2020/src/bridge/IGuiEvent.mjs +20 -0
  17. package/esm2020/src/bridge/MagicBridge.mjs +41 -0
  18. package/esm2020/src/commands/ClientOriginatedCommandTaskTag.mjs +11 -0
  19. package/esm2020/src/commands/ClientToServer/AddUserLocateDataViewCommand.mjs +9 -0
  20. package/esm2020/src/commands/ClientToServer/AddUserRangeDataviewCommand.mjs +9 -0
  21. package/esm2020/src/commands/ClientToServer/AddUserSortDataViewCommand.mjs +9 -0
  22. package/esm2020/src/commands/ClientToServer/BrowserEscEventCommand.mjs +23 -0
  23. package/esm2020/src/commands/ClientToServer/ClientOriginatedCommand.mjs +15 -0
  24. package/esm2020/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +60 -0
  25. package/esm2020/src/commands/ClientToServer/ColumnSortEventCommand.mjs +26 -0
  26. package/esm2020/src/commands/ClientToServer/CommandFactory.mjs +260 -0
  27. package/esm2020/src/commands/ClientToServer/CommandSerializationHelper.mjs +69 -0
  28. package/esm2020/src/commands/ClientToServer/ComputeEventCommand.mjs +23 -0
  29. package/esm2020/src/commands/ClientToServer/ContextTerminationEventCommand.mjs +21 -0
  30. package/esm2020/src/commands/ClientToServer/ContextTimeoutResetCommand.mjs +20 -0
  31. package/esm2020/src/commands/ClientToServer/ControlItemsRefreshCommand.mjs +8 -0
  32. package/esm2020/src/commands/ClientToServer/DataViewOutputCommand.mjs +13 -0
  33. package/esm2020/src/commands/ClientToServer/DataviewCommand.mjs +44 -0
  34. package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +36 -0
  35. package/esm2020/src/commands/ClientToServer/EventCommand.mjs +40 -0
  36. package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +67 -0
  37. package/esm2020/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +22 -0
  38. package/esm2020/src/commands/ClientToServer/GlobalParamsQueryCommand.mjs +11 -0
  39. package/esm2020/src/commands/ClientToServer/ICommandTaskTag.mjs +2 -0
  40. package/esm2020/src/commands/ClientToServer/IndexChangeEventCommand.mjs +21 -0
  41. package/esm2020/src/commands/ClientToServer/IniputForceWriteCommand.mjs +23 -0
  42. package/esm2020/src/commands/ClientToServer/NonReversibleExitEventCommand.mjs +23 -0
  43. package/esm2020/src/commands/ClientToServer/QueryCommand.mjs +21 -0
  44. package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +27 -0
  45. package/esm2020/src/commands/ClientToServer/RefreshEventCommand.mjs +27 -0
  46. package/esm2020/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +24 -0
  47. package/esm2020/src/commands/ClientToServer/RollbackEventCommand.mjs +39 -0
  48. package/esm2020/src/commands/ClientToServer/SelectProgramCommand.mjs +15 -0
  49. package/esm2020/src/commands/ClientToServer/SetTransactionStateDataviewCommand.mjs +9 -0
  50. package/esm2020/src/commands/ClientToServer/SubformOpenEventCommand.mjs +21 -0
  51. package/esm2020/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +24 -0
  52. package/esm2020/src/commands/ClientToServer/TransactionCommand.mjs +28 -0
  53. package/esm2020/src/commands/ClientToServer/UnloadCommand.mjs +15 -0
  54. package/esm2020/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +18 -0
  55. package/esm2020/src/commands/DataViewCommandBase.mjs +10 -0
  56. package/esm2020/src/commands/IClientCommand.mjs +2 -0
  57. package/esm2020/src/commands/IClientTargetedCommand.mjs +9 -0
  58. package/esm2020/src/commands/IClientToServerCommandInfo.mjs +2 -0
  59. package/esm2020/src/commands/ServerToClient/AbortCommand.mjs +65 -0
  60. package/esm2020/src/commands/ServerToClient/AddLocateCommand.mjs +22 -0
  61. package/esm2020/src/commands/ServerToClient/AddRangeCommand.mjs +62 -0
  62. package/esm2020/src/commands/ServerToClient/AddSortCommand.mjs +33 -0
  63. package/esm2020/src/commands/ServerToClient/ClientRefreshCommand.mjs +25 -0
  64. package/esm2020/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +27 -0
  65. package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +45 -0
  66. package/esm2020/src/commands/ServerToClient/OpenURLCommand.mjs +221 -0
  67. package/esm2020/src/commands/ServerToClient/ResetLocateCommand.mjs +15 -0
  68. package/esm2020/src/commands/ServerToClient/ResetRangeCommand.mjs +15 -0
  69. package/esm2020/src/commands/ServerToClient/ResetSortCommand.mjs +15 -0
  70. package/esm2020/src/commands/ServerToClient/ResultCommand.mjs +37 -0
  71. package/esm2020/src/commands/ServerToClient/VerifyCommand.mjs +83 -0
  72. package/esm2020/src/commands/ServerToClient/XMLBasedCommandBuilder.mjs +132 -0
  73. package/esm2020/src/communications/IConnectionStateManager.mjs +2 -0
  74. package/esm2020/src/communications/InteractiveCommunicationsFailureHandler.mjs +17 -0
  75. package/esm2020/src/data/DataSourceIdKey.mjs +3 -0
  76. package/esm2020/src/data/DataView.mjs +1610 -0
  77. package/esm2020/src/data/DataViewBase.mjs +4 -0
  78. package/esm2020/src/data/DataviewManager.mjs +28 -0
  79. package/esm2020/src/data/DataviewManagerBase.mjs +15 -0
  80. package/esm2020/src/data/DvCache.mjs +67 -0
  81. package/esm2020/src/data/Field.mjs +646 -0
  82. package/esm2020/src/data/FieldBase.mjs +18 -0
  83. package/esm2020/src/data/FieldsTable.mjs +103 -0
  84. package/esm2020/src/data/IRecordsTable.mjs +2 -0
  85. package/esm2020/src/data/Key.mjs +88 -0
  86. package/esm2020/src/data/Record.mjs +846 -0
  87. package/esm2020/src/data/RecordOutOfDataViewException.mjs +16 -0
  88. package/esm2020/src/data/RecordsTable.mjs +267 -0
  89. package/esm2020/src/data/TaskTransactionManager.mjs +103 -0
  90. package/esm2020/src/data/XMLBasedDcValuesBuilder.mjs +74 -0
  91. package/esm2020/src/enums.mjs +24 -0
  92. package/esm2020/src/env/EnvVariablesTable.mjs +340 -0
  93. package/esm2020/src/env/Environment.mjs +489 -0
  94. package/esm2020/src/env/ILanguageData.mjs +2 -0
  95. package/esm2020/src/env/LanguageData.mjs +226 -0
  96. package/esm2020/src/env/MirrorString.mjs +65 -0
  97. package/esm2020/src/event/ActionManager.mjs +91 -0
  98. package/esm2020/src/event/Event.mjs +1333 -0
  99. package/esm2020/src/event/EventHandler.mjs +766 -0
  100. package/esm2020/src/event/EventHandlerPosition.mjs +204 -0
  101. package/esm2020/src/event/EventsManager.mjs +2975 -0
  102. package/esm2020/src/event/IEventsManager.mjs +7 -0
  103. package/esm2020/src/event/RunTimeEvent.mjs +392 -0
  104. package/esm2020/src/event/RunTimeEventBase.mjs +4 -0
  105. package/esm2020/src/event/UserEventsTable.mjs +47 -0
  106. package/esm2020/src/exp/ExpTable.mjs +59 -0
  107. package/esm2020/src/exp/Expression.mjs +200 -0
  108. package/esm2020/src/exp/ExpressionDict.mjs +727 -0
  109. package/esm2020/src/exp/ExpressionEvaluator.mjs +4208 -0
  110. package/esm2020/src/exp/ExpressionLocalJpn.mjs +314 -0
  111. package/esm2020/src/exp/GlobalParamsTable.mjs +85 -0
  112. package/esm2020/src/exp/YesNoExp.mjs +36 -0
  113. package/esm2020/src/gui/CreatedFormVector.mjs +23 -0
  114. package/esm2020/src/gui/FormsTable.mjs +66 -0
  115. package/esm2020/src/gui/MgControl.mjs +353 -0
  116. package/esm2020/src/gui/MgForm.mjs +1181 -0
  117. package/esm2020/src/http/HttpManager.mjs +97 -0
  118. package/esm2020/src/http/client/HttpClientAsync.mjs +67 -0
  119. package/esm2020/src/http/client/HttpClientBase.mjs +132 -0
  120. package/esm2020/src/http/client/HttpClientEvents.mjs +39 -0
  121. package/esm2020/src/http/client/HttpClientSync.mjs +42 -0
  122. package/esm2020/src/http/client/HttpUtility.mjs +84 -0
  123. package/esm2020/src/http/client/ICommunicationsFailureHandler.mjs +2 -0
  124. package/esm2020/src/remote/AddUserLocateRemoteDataViewCommand.mjs +18 -0
  125. package/esm2020/src/remote/AddUserRangeRemoteDataViewCommand.mjs +18 -0
  126. package/esm2020/src/remote/AddUserSortRemoteDataViewCommand.mjs +18 -0
  127. package/esm2020/src/remote/RemoteCommandsProcessor.mjs +880 -0
  128. package/esm2020/src/remote/RemoteControlItemsRefreshCommand.mjs +25 -0
  129. package/esm2020/src/remote/RemoteDataViewCommandBase.mjs +24 -0
  130. package/esm2020/src/remote/RemoteDataViewCommandFactory.mjs +61 -0
  131. package/esm2020/src/remote/RemoteDataViewCommandUpdateNonModifiable.mjs +16 -0
  132. package/esm2020/src/remote/RemoteDataviewManager.mjs +17 -0
  133. package/esm2020/src/remote/RemoteInitDataViewCommand.mjs +11 -0
  134. package/esm2020/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +17 -0
  135. package/esm2020/src/remote/ResetUserRangeRemoteDataviewCommand.mjs +13 -0
  136. package/esm2020/src/remote/ResetUserSortRemoteDataviewCommand.mjs +16 -0
  137. package/esm2020/src/remote/ServerError.mjs +40 -0
  138. package/esm2020/src/remote/SetTransactionStateRemoteDataViewCommand.mjs +20 -0
  139. package/esm2020/src/rt/Argument.mjs +265 -0
  140. package/esm2020/src/rt/ArgumentsList.mjs +103 -0
  141. package/esm2020/src/rt/Boundary.mjs +152 -0
  142. package/esm2020/src/rt/CompMainPrgTable.mjs +65 -0
  143. package/esm2020/src/rt/DataviewHeaderBase.mjs +96 -0
  144. package/esm2020/src/rt/DataviewHeaderFactory.mjs +7 -0
  145. package/esm2020/src/rt/DataviewHeaders.mjs +53 -0
  146. package/esm2020/src/rt/DataviewHeadersSaxHandler.mjs +38 -0
  147. package/esm2020/src/rt/ExecutionStack.mjs +94 -0
  148. package/esm2020/src/rt/ExecutionStackEntry.mjs +17 -0
  149. package/esm2020/src/rt/HandlersTable.mjs +96 -0
  150. package/esm2020/src/rt/IDataSourceViewDefinition.mjs +2 -0
  151. package/esm2020/src/rt/IDataviewHeader.mjs +2 -0
  152. package/esm2020/src/rt/IResultValue.mjs +2 -0
  153. package/esm2020/src/rt/LastFocusedManager.mjs +67 -0
  154. package/esm2020/src/rt/Operation.mjs +735 -0
  155. package/esm2020/src/rt/OperationTable.mjs +67 -0
  156. package/esm2020/src/rt/Recompute.mjs +355 -0
  157. package/esm2020/src/rt/RecomputeTable.mjs +63 -0
  158. package/esm2020/src/rt/RemoteDataviewHeader.mjs +108 -0
  159. package/esm2020/src/rt/ResultValue.mjs +12 -0
  160. package/esm2020/src/rt/TableCache.mjs +177 -0
  161. package/esm2020/src/rt/TableCacheManager.mjs +67 -0
  162. package/esm2020/src/rt/Transaction.mjs +53 -0
  163. package/esm2020/src/security/UserDetails.mjs +71 -0
  164. package/esm2020/src/tasks/IMGDataCollection.mjs +2 -0
  165. package/esm2020/src/tasks/MGData.mjs +552 -0
  166. package/esm2020/src/tasks/MGDataCollection.mjs +252 -0
  167. package/esm2020/src/tasks/RCTimer.mjs +63 -0
  168. package/esm2020/src/tasks/RemoteTaskService.mjs +45 -0
  169. package/esm2020/src/tasks/Task.mjs +2496 -0
  170. package/esm2020/src/tasks/TaskBase.mjs +87 -0
  171. package/esm2020/src/tasks/TaskServiceBase.mjs +25 -0
  172. package/esm2020/src/tasks/TasksTable.mjs +80 -0
  173. package/esm2020/src/tasks/sort/Sort.mjs +7 -0
  174. package/esm2020/src/tasks/sort/SortCollection.mjs +67 -0
  175. package/esm2020/src/util/ConstUtils.mjs +14 -0
  176. package/esm2020/src/util/FlowMonitorQueue.mjs +453 -0
  177. package/esm2020/src/util/HeapSort.mjs +70 -0
  178. package/esm2020/src/util/IMirrorXML.mjs +2 -0
  179. package/esm2020/src/util/IServerConfig.mjs +2 -0
  180. package/esm2020/src/util/MgBlockingQueue.mjs +2 -0
  181. package/esm2020/src/util/MgPriorityBlockingQueue.mjs +74 -0
  182. package/esm2020/src/util/MgPriorityQueue.mjs +66 -0
  183. package/esm2020/src/util/ParamParseResult.mjs +8 -0
  184. package/esm2020/src/util/PrmMap.mjs +151 -0
  185. package/esm2020/src/util/ReturnResult.mjs +46 -0
  186. package/esm2020/src/util/ReturnResultBase.mjs +18 -0
  187. package/esm2020/src/util/Scrambler.mjs +89 -0
  188. package/esm2020/src/util/UniqueIDUtils.mjs +12 -0
  189. package/esm2020/src/util/cookie.service.mjs +92 -0
  190. package/fesm2015/magic-xpa-engine.mjs +30835 -0
  191. package/fesm2015/magic-xpa-engine.mjs.map +1 -1
  192. package/fesm2020/magic-xpa-engine.mjs +30004 -0
  193. package/fesm2020/magic-xpa-engine.mjs.map +1 -1
  194. package/index.d.ts +187 -1
  195. package/package.json +4 -4
  196. package/src/AccessHelper.d.ts +20 -0
  197. package/src/ClientManager.d.ts +32 -0
  198. package/src/CommandsProcessorBase.d.ts +23 -0
  199. package/src/CommandsProcessorManager.d.ts +6 -0
  200. package/src/CommandsTable.d.ts +22 -0
  201. package/src/ConstInterface.d.ts +515 -0
  202. package/src/CurrentClientVersion.d.ts +1 -0
  203. package/src/FlowMonitorInterface.d.ts +15 -0
  204. package/src/GUIManager.d.ts +17 -0
  205. package/src/GlobalCommandsManager.d.ts +17 -0
  206. package/src/GuiEventsProcessor.d.ts +24 -0
  207. package/src/ICommandsTable.d.ts +9 -0
  208. package/src/ServerConfig.d.ts +34 -0
  209. package/src/bridge/IGuiEvent.d.ts +19 -0
  210. package/src/bridge/MagicBridge.d.ts +16 -0
  211. package/src/commands/ClientOriginatedCommandTaskTag.d.ts +8 -0
  212. package/src/commands/ClientToServer/AddUserLocateDataViewCommand.d.ts +4 -0
  213. package/src/commands/ClientToServer/AddUserRangeDataviewCommand.d.ts +6 -0
  214. package/src/commands/ClientToServer/AddUserSortDataViewCommand.d.ts +6 -0
  215. package/src/commands/ClientToServer/BrowserEscEventCommand.d.ts +8 -0
  216. package/src/commands/ClientToServer/ClientOriginatedCommand.d.ts +8 -0
  217. package/src/commands/ClientToServer/ClientOriginatedCommandSerializer.d.ts +6 -0
  218. package/src/commands/ClientToServer/ColumnSortEventCommand.d.ts +10 -0
  219. package/src/commands/ClientToServer/CommandFactory.d.ts +64 -0
  220. package/src/commands/ClientToServer/CommandSerializationHelper.d.ts +20 -0
  221. package/src/commands/ClientToServer/ComputeEventCommand.d.ts +8 -0
  222. package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +7 -0
  223. package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +7 -0
  224. package/src/commands/ClientToServer/ControlItemsRefreshCommand.d.ts +6 -0
  225. package/src/commands/ClientToServer/DataViewOutputCommand.d.ts +9 -0
  226. package/src/commands/ClientToServer/DataviewCommand.d.ts +32 -0
  227. package/src/commands/ClientToServer/EvaluateCommand.d.ts +15 -0
  228. package/src/commands/ClientToServer/EventCommand.d.ts +15 -0
  229. package/src/commands/ClientToServer/ExecOperCommand.d.ts +23 -0
  230. package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +8 -0
  231. package/src/commands/ClientToServer/GlobalParamsQueryCommand.d.ts +5 -0
  232. package/src/commands/ClientToServer/ICommandTaskTag.d.ts +3 -0
  233. package/src/commands/ClientToServer/IndexChangeEventCommand.d.ts +8 -0
  234. package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +10 -0
  235. package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +8 -0
  236. package/src/commands/ClientToServer/QueryCommand.d.ts +8 -0
  237. package/src/commands/ClientToServer/RecomputeCommand.d.ts +11 -0
  238. package/src/commands/ClientToServer/RefreshEventCommand.d.ts +12 -0
  239. package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +10 -0
  240. package/src/commands/ClientToServer/RollbackEventCommand.d.ts +14 -0
  241. package/src/commands/ClientToServer/SelectProgramCommand.d.ts +6 -0
  242. package/src/commands/ClientToServer/SetTransactionStateDataviewCommand.d.ts +5 -0
  243. package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +8 -0
  244. package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +9 -0
  245. package/src/commands/ClientToServer/TransactionCommand.d.ts +12 -0
  246. package/src/commands/ClientToServer/UnloadCommand.d.ts +7 -0
  247. package/src/commands/ClientToServer/WriteMessageToServerLogCommand.d.ts +6 -0
  248. package/src/commands/DataViewCommandBase.d.ts +6 -0
  249. package/src/commands/IClientCommand.d.ts +2 -0
  250. package/src/commands/IClientTargetedCommand.d.ts +12 -0
  251. package/src/commands/IClientToServerCommandInfo.d.ts +3 -0
  252. package/src/commands/ServerToClient/AbortCommand.d.ts +11 -0
  253. package/src/commands/ServerToClient/AddLocateCommand.d.ts +6 -0
  254. package/src/commands/ServerToClient/AddRangeCommand.d.ts +10 -0
  255. package/src/commands/ServerToClient/AddSortCommand.d.ts +9 -0
  256. package/src/commands/ServerToClient/ClientRefreshCommand.d.ts +7 -0
  257. package/src/commands/ServerToClient/ClientTargetedCommandBase.d.ts +12 -0
  258. package/src/commands/ServerToClient/EnhancedVerifyCommand.d.ts +13 -0
  259. package/src/commands/ServerToClient/OpenURLCommand.d.ts +21 -0
  260. package/src/commands/ServerToClient/ResetLocateCommand.d.ts +6 -0
  261. package/src/commands/ServerToClient/ResetRangeCommand.d.ts +6 -0
  262. package/src/commands/ServerToClient/ResetSortCommand.d.ts +6 -0
  263. package/src/commands/ServerToClient/ResultCommand.d.ts +10 -0
  264. package/src/commands/ServerToClient/VerifyCommand.d.ts +17 -0
  265. package/src/commands/ServerToClient/XMLBasedCommandBuilder.d.ts +11 -0
  266. package/src/communications/IConnectionStateManager.d.ts +4 -0
  267. package/src/communications/InteractiveCommunicationsFailureHandler.d.ts +6 -0
  268. package/src/data/DataSourceIdKey.d.ts +2 -0
  269. package/src/data/DataView.d.ts +162 -0
  270. package/src/data/DataViewBase.d.ts +12 -0
  271. package/src/data/DataviewManager.d.ts +14 -0
  272. package/src/data/DataviewManagerBase.d.ts +11 -0
  273. package/src/data/DvCache.d.ts +15 -0
  274. package/src/data/Field.d.ts +103 -0
  275. package/src/data/FieldBase.d.ts +23 -0
  276. package/src/data/FieldsTable.d.ts +27 -0
  277. package/src/data/IRecordsTable.d.ts +7 -0
  278. package/src/data/Key.d.ts +15 -0
  279. package/src/data/Record.d.ts +156 -0
  280. package/src/data/RecordOutOfDataViewException.d.ts +10 -0
  281. package/src/data/RecordsTable.d.ts +38 -0
  282. package/src/data/TaskTransactionManager.d.ts +17 -0
  283. package/src/data/XMLBasedDcValuesBuilder.d.ts +11 -0
  284. package/src/enums.d.ts +21 -0
  285. package/src/env/EnvVariablesTable.d.ts +17 -0
  286. package/src/env/Environment.d.ts +118 -0
  287. package/src/env/ILanguageData.d.ts +3 -0
  288. package/src/env/LanguageData.d.ts +20 -0
  289. package/src/env/MirrorString.d.ts +15 -0
  290. package/src/event/ActionManager.d.ts +14 -0
  291. package/src/event/Event.d.ts +79 -0
  292. package/src/event/EventHandler.d.ts +66 -0
  293. package/src/event/EventHandlerPosition.d.ts +25 -0
  294. package/src/event/EventsManager.d.ts +204 -0
  295. package/src/event/IEventsManager.d.ts +77 -0
  296. package/src/event/RunTimeEvent.d.ts +123 -0
  297. package/src/event/RunTimeEventBase.d.ts +5 -0
  298. package/src/event/UserEventsTable.d.ts +11 -0
  299. package/src/exp/ExpTable.d.ts +11 -0
  300. package/src/exp/Expression.d.ts +37 -0
  301. package/src/exp/ExpressionDict.d.ts +12 -0
  302. package/src/exp/ExpressionEvaluator.d.ts +198 -0
  303. package/src/exp/ExpressionLocalJpn.d.ts +18 -0
  304. package/src/exp/GlobalParamsTable.d.ts +19 -0
  305. package/src/exp/YesNoExp.d.ts +9 -0
  306. package/src/gui/CreatedFormVector.d.ts +10 -0
  307. package/src/gui/FormsTable.d.ts +15 -0
  308. package/src/gui/MgControl.d.ts +60 -0
  309. package/src/gui/MgForm.d.ts +93 -0
  310. package/src/http/HttpManager.d.ts +25 -0
  311. package/src/http/client/HttpClientAsync.d.ts +16 -0
  312. package/src/http/client/HttpClientBase.d.ts +30 -0
  313. package/src/http/client/HttpClientEvents.d.ts +18 -0
  314. package/src/http/client/HttpClientSync.d.ts +17 -0
  315. package/src/http/client/HttpUtility.d.ts +10 -0
  316. package/src/http/client/ICommunicationsFailureHandler.d.ts +5 -0
  317. package/src/remote/AddUserLocateRemoteDataViewCommand.d.ts +8 -0
  318. package/src/remote/AddUserRangeRemoteDataViewCommand.d.ts +8 -0
  319. package/src/remote/AddUserSortRemoteDataViewCommand.d.ts +8 -0
  320. package/src/remote/RemoteCommandsProcessor.d.ts +51 -0
  321. package/src/remote/RemoteControlItemsRefreshCommand.d.ts +8 -0
  322. package/src/remote/RemoteDataViewCommandBase.d.ts +10 -0
  323. package/src/remote/RemoteDataViewCommandFactory.d.ts +6 -0
  324. package/src/remote/RemoteDataViewCommandUpdateNonModifiable.d.ts +8 -0
  325. package/src/remote/RemoteDataviewManager.d.ts +9 -0
  326. package/src/remote/RemoteInitDataViewCommand.d.ts +7 -0
  327. package/src/remote/ResetUserLocateRemoteDataviewCommand.d.ts +7 -0
  328. package/src/remote/ResetUserRangeRemoteDataviewCommand.d.ts +7 -0
  329. package/src/remote/ResetUserSortRemoteDataviewCommand.d.ts +7 -0
  330. package/src/remote/ServerError.d.ts +16 -0
  331. package/src/remote/SetTransactionStateRemoteDataViewCommand.d.ts +8 -0
  332. package/src/rt/Argument.d.ts +36 -0
  333. package/src/rt/ArgumentsList.d.ts +24 -0
  334. package/src/rt/Boundary.d.ts +27 -0
  335. package/src/rt/CompMainPrgTable.d.ts +10 -0
  336. package/src/rt/DataviewHeaderBase.d.ts +34 -0
  337. package/src/rt/DataviewHeaderFactory.d.ts +5 -0
  338. package/src/rt/DataviewHeaders.d.ts +12 -0
  339. package/src/rt/DataviewHeadersSaxHandler.d.ts +10 -0
  340. package/src/rt/ExecutionStack.d.ts +22 -0
  341. package/src/rt/ExecutionStackEntry.d.ts +7 -0
  342. package/src/rt/HandlersTable.d.ts +19 -0
  343. package/src/rt/IDataSourceViewDefinition.d.ts +6 -0
  344. package/src/rt/IDataviewHeader.d.ts +10 -0
  345. package/src/rt/IResultValue.d.ts +4 -0
  346. package/src/rt/LastFocusedManager.d.ts +23 -0
  347. package/src/rt/Operation.d.ts +97 -0
  348. package/src/rt/OperationTable.d.ts +15 -0
  349. package/src/rt/Recompute.d.ts +41 -0
  350. package/src/rt/RecomputeTable.d.ts +9 -0
  351. package/src/rt/RemoteDataviewHeader.d.ts +14 -0
  352. package/src/rt/ResultValue.d.ts +7 -0
  353. package/src/rt/TableCache.d.ts +29 -0
  354. package/src/rt/TableCacheManager.d.ts +10 -0
  355. package/src/rt/Transaction.d.ts +23 -0
  356. package/src/security/UserDetails.d.ts +16 -0
  357. package/src/tasks/IMGDataCollection.d.ts +26 -0
  358. package/src/tasks/MGData.d.ts +63 -0
  359. package/src/tasks/MGDataCollection.d.ts +42 -0
  360. package/src/tasks/RCTimer.d.ts +13 -0
  361. package/src/tasks/RemoteTaskService.d.ts +16 -0
  362. package/src/tasks/Task.d.ts +312 -0
  363. package/src/tasks/TaskBase.d.ts +123 -0
  364. package/src/tasks/TaskServiceBase.d.ts +16 -0
  365. package/src/tasks/TasksTable.d.ts +21 -0
  366. package/src/tasks/sort/Sort.d.ts +4 -0
  367. package/src/tasks/sort/SortCollection.d.ts +11 -0
  368. package/src/util/ConstUtils.d.ts +3 -0
  369. package/src/util/FlowMonitorQueue.d.ts +70 -0
  370. package/src/util/HeapSort.d.ts +6 -0
  371. package/src/util/IMirrorXML.d.ts +6 -0
  372. package/src/util/IServerConfig.d.ts +11 -0
  373. package/src/util/MgBlockingQueue.d.ts +5 -0
  374. package/src/util/MgPriorityBlockingQueue.d.ts +17 -0
  375. package/src/util/MgPriorityQueue.d.ts +13 -0
  376. package/src/util/ParamParseResult.d.ts +6 -0
  377. package/src/util/PrmMap.d.ts +28 -0
  378. package/src/util/ReturnResult.d.ts +18 -0
  379. package/src/util/ReturnResultBase.d.ts +11 -0
  380. package/src/util/Scrambler.d.ts +10 -0
  381. package/src/util/UniqueIDUtils.d.ts +4 -0
  382. package/src/util/cookie.service.d.ts +8 -0
@@ -0,0 +1,93 @@
1
+ import { MgControlBase, MgFormBase } from '@magic-xpa/gui';
2
+ import { MgControlType } from '@magic-xpa/utils';
3
+ import { MgControl } from './MgControl';
4
+ import { Record } from '../data/Record';
5
+ import { TaskBase } from '../tasks/TaskBase';
6
+ import { CreatedFormVector } from './CreatedFormVector';
7
+ export declare class MgForm extends MgFormBase {
8
+ private static TIME_LIMIT;
9
+ IsMovingInView: boolean;
10
+ PrevDisplayLine: number;
11
+ RefreshAllRows: boolean;
12
+ IgnoreFirstRecordCycle: boolean;
13
+ MovedToFirstControl: boolean;
14
+ private _suffixDone;
15
+ private hiddenControlsIsnsList;
16
+ static _createdForms: CreatedFormVector;
17
+ private _transferringDataToGUI;
18
+ private isFetchingRecordsAhead;
19
+ constructor();
20
+ static get CreatedForms(): CreatedFormVector;
21
+ get InRestore(): boolean;
22
+ get TransferringDataToGUI(): boolean;
23
+ get shouldFetchRecordsAheadFromServer(): boolean;
24
+ FetchRecordsAheadFromServer(): Promise<void>;
25
+ private GetDataview;
26
+ moveInView(unit: string, direction: string): Promise<void>;
27
+ addRec(doSuffix: boolean, isCrelineAbove: boolean): Promise<void>;
28
+ delCurrRec(): Promise<void>;
29
+ cancelEdit(isActCancel: boolean, isQuitEvent: boolean): Promise<void>;
30
+ refreshOnExpressions(): Promise<void>;
31
+ removeRefsToCtrls(): void;
32
+ getCtrlByCtrlName(ctrlName: string): MgControl;
33
+ getSubFormCtrlByName(ctrlName: string): MgControl;
34
+ setSuffixDone(): void;
35
+ getDestinationRow(): number;
36
+ setSubFormCtrl(subFormCtrl: MgControl): void;
37
+ getSubFormCtrlForTask(taskId: string): MgControl;
38
+ removeRecordsAfterIdx(idx: number): void;
39
+ isRowValidated(idx: number): boolean;
40
+ transferDataToGui(): Promise<void>;
41
+ private checkAndCreateRowsEvent;
42
+ setRowData(desiredTopIndex: number, sendAll: boolean): Promise<void>;
43
+ private refreshRows;
44
+ getVisibleLine(): number;
45
+ bringRecordToPage(): Promise<void>;
46
+ invalidateTable(): void;
47
+ getPrevLine(line: number): number;
48
+ clearTableColumnSortMark(clearSortMark: boolean): void;
49
+ stopRowEditing(idx: number): Promise<void>;
50
+ startRowEditing(idx: number): Promise<void>;
51
+ getIsRowEditingFromGui(displayIndex: number): boolean;
52
+ RefreshDisplay(refreshType: string): Promise<boolean>;
53
+ RefreshUI(): void;
54
+ private refreshTable;
55
+ updateDisplayLineByDV(): void;
56
+ setCurrRowByDisplayLine(displayLine: number, doSuffix: boolean, ignoreCurrRec: boolean): Promise<void>;
57
+ private setCurrRowByRecIdx;
58
+ getLastValidRow(): number;
59
+ recordIdx2DisplayLine(recIdx: number): number;
60
+ displayLine2RecordIdx(displayLine: number): number;
61
+ restoreOldDisplayLine(displayLine: number): Promise<void>;
62
+ getTopIndexFromGUI(): number;
63
+ getCurrRecPosInForm(): number;
64
+ restoreBackup(oldDisplayLine: number, bkpRecord: Record): Promise<void>;
65
+ ConstructMgControl(): MgControlBase;
66
+ ConstructMgControl(type: MgControlType, task: TaskBase, parentControl: number): MgControlBase;
67
+ ConstructMgControl(type: MgControlType, parentMgForm: MgFormBase, parentControlIdx: number): MgControlBase;
68
+ private ConstructMgControl_0;
69
+ private ConstructMgControl_1;
70
+ private ConstructMgControl_2;
71
+ alreadyMovedToFirstControl(): boolean;
72
+ firstTableRefresh(): Promise<void>;
73
+ InsertTableItems(idx: number, count: number): void;
74
+ setTableItemsCount(removeAll: boolean): void;
75
+ InitTableControl(): void;
76
+ InitTableControl(dvSize: number, tableItemsCount: number, removeAll: boolean): void;
77
+ private InitTableControl_00;
78
+ private InitTableControl_01;
79
+ SetTableTopIndex(): void;
80
+ createForm(): Promise<void>;
81
+ UpdateStatusBar(): void;
82
+ initInnerObjects(foundTagName: string): boolean;
83
+ toString(): string;
84
+ GetHiddenControlListXML(): string;
85
+ ShouldBehaveAsModal(): boolean;
86
+ isTableWithPagination(): boolean;
87
+ isTableWithAbsoluteScrollbar(): boolean;
88
+ private SetRecordsBeforeCurrentView;
89
+ buildFormName(): string;
90
+ private fetchPrevChunkForCurrentPage;
91
+ getGuiRowidx(dvRowIdx: number): number;
92
+ getDvRowIdx(guiRowIdx: number): number;
93
+ }
@@ -0,0 +1,25 @@
1
+ import { RefParam } from "@magic-xpa/mscorelib";
2
+ import { HttpClient } from "@angular/common/http";
3
+ import { ICommunicationsFailureHandler } from "./client/ICommunicationsFailureHandler";
4
+ export declare class HttpManager {
5
+ private static _instance;
6
+ static readonly DEFAULT_HTTP_COMMUNICATION_TIMEOUT: number;
7
+ static readonly DEFAULT_OFFLINE_HTTP_COMMUNICATION_TIMEOUT: number;
8
+ private _httpCommunicationTimeoutMS;
9
+ private _httpClientAsync;
10
+ private getHttpClient;
11
+ set HttpCommunicationTimeoutMS(value: number);
12
+ private static _nativeHttpClient;
13
+ static setNativeHttpClient(httpClient: HttpClient): void;
14
+ static GetInstance(): HttpManager;
15
+ private _isAbortingMagicEngine;
16
+ get IsAbortingMagicEngine(): boolean;
17
+ set IsAbortingMagicEngine(isAbortingMagicEngine: boolean);
18
+ private constructor();
19
+ private RegisterBasicDelegates;
20
+ GetHttpCommunicationTimeoutMS(): number;
21
+ SetCommunicationsFailureHandler(handler: ICommunicationsFailureHandler): void;
22
+ GetContent(requestedURL: string, requestContent: string, useCache: boolean, isError: RefParam<boolean>): Promise<string>;
23
+ private static CheckAndGetErrorResponse;
24
+ private static LogAccessToServer;
25
+ }
@@ -0,0 +1,16 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse } from "@angular/common/http";
2
+ import { RefParam } from "@magic-xpa/mscorelib";
3
+ import { HttpClientBase, RequestMethod } from "./HttpClientBase";
4
+ import { ICommunicationsFailureHandler } from "./ICommunicationsFailureHandler";
5
+ export declare class HttpClientAsync extends HttpClientBase {
6
+ private httpClient;
7
+ constructor(httpClient: HttpClient);
8
+ prepareRequest(): void;
9
+ addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
10
+ sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
11
+ logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): void;
12
+ handleHttpErrorException(ex: any, urlString: string): void;
13
+ shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): Promise<boolean>;
14
+ logAndThrowException(ex: any): void;
15
+ logExecutionAttempts(executionAttempts: number): void;
16
+ }
@@ -0,0 +1,30 @@
1
+ import { RefParam } from "@magic-xpa/mscorelib";
2
+ import { ICommunicationsFailureHandler } from "./ICommunicationsFailureHandler";
3
+ import { HttpHeaders, HttpResponse } from "@angular/common/http";
4
+ export declare enum RequestMethod {
5
+ Get = 0,
6
+ Post = 1,
7
+ Put = 2,
8
+ Delete = 3,
9
+ Options = 4,
10
+ Head = 5,
11
+ Patch = 6
12
+ }
13
+ export declare abstract class HttpClientBase {
14
+ private _HTTPMaxURLLength;
15
+ CommunicationsFailureHandler: ICommunicationsFailureHandler;
16
+ constructor();
17
+ private DecideOnRequestMethod;
18
+ GetContent(requestURL: string, requestContent: any, useCache: boolean): Promise<string>;
19
+ private ExecuteHttpRequest;
20
+ private LogRequestInfo;
21
+ private static HeadersToString;
22
+ abstract prepareRequest(): any;
23
+ abstract addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
24
+ sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
25
+ abstract logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): any;
26
+ abstract handleHttpErrorException(ex: any, urlString: string): any;
27
+ shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): Promise<boolean>;
28
+ abstract logAndThrowException(ex: any): any;
29
+ abstract logExecutionAttempts(executionAttempts: number): any;
30
+ }
@@ -0,0 +1,18 @@
1
+ export declare class HttpClientEvents {
2
+ static GetHttpCommunicationTimeout_Event: () => number;
3
+ static GetExecutionProperty_Event: (propertyName: string) => string;
4
+ static GetGlobalUniqueSessionID_Event: () => string;
5
+ static ShouldDisplayGenericError_Event: () => boolean;
6
+ static GetRuntimeCtxID_Event: () => string;
7
+ static GetSessionCounter_Event: () => number;
8
+ static CheckAndSetSessionCounter_Event: (value: number) => void;
9
+ static ComputeAndLogRequestInfo_Event: (contentLength: number, roundTrip: number, isLoggingResponse: boolean) => void;
10
+ static GetHttpCommunicationTimeout(): number;
11
+ static GetExecutionProperty(propertyName: string): string;
12
+ static GetGlobalUniqueSessionID(): string;
13
+ static ShouldDisplayGenericError(): boolean;
14
+ static GetRuntimeCtxID(): string;
15
+ static GetSessionCounter(): number;
16
+ static CheckAndSetSessionCounter(value: number): void;
17
+ static ComputeAndLogRequestInfo(contentLength: number, roundTrip: number, isLoggingResponse: boolean): void;
18
+ }
@@ -0,0 +1,17 @@
1
+ import { HttpHeaders, HttpResponse } from "@angular/common/http";
2
+ import { RefParam } from "@magic-xpa/mscorelib";
3
+ import { HttpClientBase, RequestMethod } from "./HttpClientBase";
4
+ import { ICommunicationsFailureHandler } from "./ICommunicationsFailureHandler";
5
+ export declare class HttpClientSync extends HttpClientBase {
6
+ private httpRequest;
7
+ private headers;
8
+ constructor();
9
+ prepareRequest(): void;
10
+ addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
11
+ sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
12
+ logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): void;
13
+ handleHttpErrorException(ex: any, urlString: string): void;
14
+ shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): Promise<boolean>;
15
+ logAndThrowException(ex: any): void;
16
+ logExecutionAttempts(executionAttempts: number): void;
17
+ }
@@ -0,0 +1,10 @@
1
+ import { Encoding } from "@magic-xpa/mscorelib";
2
+ export declare class HttpUtility {
3
+ static EncodingEnabled: boolean;
4
+ private static ASCIIGetString;
5
+ private static IntToHexCharCode;
6
+ private static IsSafe;
7
+ static UrlEncode(str: string, e: Encoding): string;
8
+ private static UrlEncodeToBytes;
9
+ private static UrlEncodeBytesToBytesInternal;
10
+ }
@@ -0,0 +1,5 @@
1
+ export interface ICommunicationsFailureHandler {
2
+ ShouldRetryLastRequest: boolean;
3
+ ShowCommunicationErrors: boolean;
4
+ CommunicationFailed(url: string, failureException: Error): void;
5
+ }
@@ -0,0 +1,8 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { AddUserLocateDataViewCommand } from "../commands/ClientToServer/AddUserLocateDataViewCommand";
3
+ import { ReturnResultBase } from "../util/ReturnResultBase";
4
+ export declare class AddUserLocateRemoteDataViewCommand extends RemoteDataViewCommandBase {
5
+ private userRange;
6
+ constructor(command: AddUserLocateDataViewCommand);
7
+ Execute(): Promise<ReturnResultBase>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { AddUserRangeDataviewCommand } from "../commands/ClientToServer/AddUserRangeDataviewCommand";
3
+ import { ReturnResultBase } from "../util/ReturnResultBase";
4
+ export declare class AddUserRangeRemoteDataViewCommand extends RemoteDataViewCommandBase {
5
+ private userRange;
6
+ constructor(command: AddUserRangeDataviewCommand);
7
+ Execute(): Promise<ReturnResultBase>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { AddUserSortDataViewCommand } from "../commands/ClientToServer/AddUserSortDataViewCommand";
3
+ import { ReturnResultBase } from "../util/ReturnResultBase";
4
+ export declare class AddUserSortRemoteDataViewCommand extends RemoteDataViewCommandBase {
5
+ private sort;
6
+ constructor(command: AddUserSortDataViewCommand);
7
+ Execute(): Promise<ReturnResultBase>;
8
+ }
@@ -0,0 +1,51 @@
1
+ import { Logger_LogLevels } from "@magic-xpa/utils";
2
+ import { CommandsProcessorBase, CommandsProcessorBase_SendingInstruction, CommandsProcessorBase_SessionStage } from "../CommandsProcessorBase";
3
+ import { IResultValue } from "../rt/IResultValue";
4
+ import { OpeningTaskDetails } from "../tasks/TaskBase";
5
+ export declare class RemoteCommandsProcessor extends CommandsProcessorBase {
6
+ static readonly RC_NO_CONTEXT_ID: string;
7
+ private static _instance;
8
+ static IsSessionReInitializing: boolean;
9
+ private static lastExceptionMessage;
10
+ private static InitialUrl;
11
+ private static readonly WEB_COMMUNICATION_PROTOCOL_VERSION;
12
+ private _lastRequestTime;
13
+ ServerUrl: string;
14
+ private static _shouldScrambleAndUnscrambleMessages;
15
+ SessionId: string;
16
+ DelayCommandExecution: boolean;
17
+ private _requestInfo;
18
+ static GetInstance(): RemoteCommandsProcessor;
19
+ private constructor();
20
+ CheckAndSetSessionCounter(newSessionCounter: number): void;
21
+ ClearSessionCounter(): void;
22
+ private SetSessionCounter;
23
+ get GetLastRequestTime(): number;
24
+ ReStartSession(): Promise<void>;
25
+ StoreSessionReInitializingDataOnLocalStorage(): Promise<void>;
26
+ RestoreSessionReInitializingDataFromLocalStorage(key: string): string;
27
+ StartSession(): Promise<boolean>;
28
+ private PrepareAuthenticationUrl;
29
+ private ExecuteInitialRequest;
30
+ private GetTaskTree;
31
+ private UpdateRequestInfo;
32
+ private BuildXMLForMainProgramDataView;
33
+ Execute_1(sendingInstruction: CommandsProcessorBase_SendingInstruction, sessionStage: CommandsProcessorBase_SessionStage, res: IResultValue): Promise<void>;
34
+ private DispatchRequest;
35
+ clearLocalStorage(): void;
36
+ private HandleErrorResponse;
37
+ private ExecuteRequest;
38
+ GetContent(requestedURL: string, useCache: boolean, requestContent?: string): Promise<string>;
39
+ ClientActivated(): void;
40
+ private BuildUrlSuffix;
41
+ SendMonitorOnly(): Promise<void>;
42
+ private BuildMonitorMessage;
43
+ RegisterDelegates(): void;
44
+ ComputeAndLogRequestInfo(contentLength: number, roundTrip: number, isLoggingResponse: boolean): void;
45
+ static set ShouldScrambleAndUnscrambleMessages(value: boolean);
46
+ static get ShouldScrambleAndUnscrambleMessages(): boolean;
47
+ parseLogLevel(strLogLevel: string): Logger_LogLevels;
48
+ PrepareRequest(serializeTasks: boolean): Promise<string>;
49
+ ProcessResponse(response: string, currMgdID: number, openingTaskDetails: OpeningTaskDetails, res: IResultValue): Promise<void>;
50
+ ProcessRecovery(): Promise<void>;
51
+ }
@@ -0,0 +1,8 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { ControlItemsRefreshCommand } from "../commands/ClientToServer/ControlItemsRefreshCommand";
3
+ import { ReturnResultBase } from "../util/ReturnResultBase";
4
+ export declare class RemoteControlItemsRefreshCommand extends RemoteDataViewCommandBase {
5
+ private control;
6
+ constructor(command: ControlItemsRefreshCommand);
7
+ Execute(): Promise<ReturnResultBase>;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { DataViewCommandBase } from '../commands/DataViewCommandBase';
2
+ import { ClientOriginatedCommand } from '../commands/ClientToServer/ClientOriginatedCommand';
3
+ import { ReturnResultBase } from '../util/ReturnResultBase';
4
+ import { Task } from '../tasks/Task';
5
+ export declare class RemoteDataViewCommandBase extends DataViewCommandBase {
6
+ Command: ClientOriginatedCommand;
7
+ protected Task: Task;
8
+ constructor(command: ClientOriginatedCommand);
9
+ Execute(): Promise<ReturnResultBase>;
10
+ }
@@ -0,0 +1,6 @@
1
+ import { ClientOriginatedCommand } from "../commands/ClientToServer/ClientOriginatedCommand";
2
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
3
+ export declare class RemoteDataViewCommandFactory {
4
+ CreateDataViewCommand(command: ClientOriginatedCommand): RemoteDataViewCommandBase;
5
+ constructor();
6
+ }
@@ -0,0 +1,8 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { ExecOperCommand } from "../commands/ClientToServer/ExecOperCommand";
3
+ import { ReturnResultBase } from "../util/ReturnResultBase";
4
+ export declare class RemoteDataViewCommandUpdateNonModifiable extends RemoteDataViewCommandBase {
5
+ private get execOperCommand();
6
+ constructor(command: ExecOperCommand);
7
+ Execute(): Promise<ReturnResultBase>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { DataviewManagerBase } from "../data/DataviewManagerBase";
2
+ import { Task } from "../tasks/Task";
3
+ import { IClientCommand } from "../commands/IClientCommand";
4
+ import { ReturnResult } from "../util/ReturnResult";
5
+ export declare class RemoteDataviewManager extends DataviewManagerBase {
6
+ private _remoteDataViewCommandFactory;
7
+ constructor(task: Task);
8
+ Execute(command: IClientCommand): Promise<ReturnResult>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { ClientOriginatedCommand } from "../commands/ClientToServer/ClientOriginatedCommand";
3
+ import { ReturnResultBase } from "../util/ReturnResultBase";
4
+ export declare class DummyDataViewCommand extends RemoteDataViewCommandBase {
5
+ constructor(command: ClientOriginatedCommand);
6
+ Execute(): Promise<ReturnResultBase>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { ClientOriginatedCommand } from "../commands/ClientToServer/ClientOriginatedCommand";
3
+ import { ReturnResultBase } from "../util/ReturnResultBase";
4
+ export declare class ResetUserLocateRemoteDataviewCommand extends RemoteDataViewCommandBase {
5
+ constructor(command: ClientOriginatedCommand);
6
+ Execute(): Promise<ReturnResultBase>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { ClientOriginatedCommand } from "../commands/ClientToServer/ClientOriginatedCommand";
3
+ import { ReturnResultBase } from "../util/ReturnResultBase";
4
+ export declare class ResetUserRangeRemoteDataviewCommand extends RemoteDataViewCommandBase {
5
+ constructor(command: ClientOriginatedCommand);
6
+ Execute(): Promise<ReturnResultBase>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { ReturnResultBase } from "../util/ReturnResultBase";
3
+ import { ClientOriginatedCommand } from "../commands/ClientToServer/ClientOriginatedCommand";
4
+ export declare class ResetUserSortRemoteDataviewCommand extends RemoteDataViewCommandBase {
5
+ constructor(command: ClientOriginatedCommand);
6
+ Execute(): Promise<ReturnResultBase>;
7
+ }
@@ -0,0 +1,16 @@
1
+ import { ApplicationException, Exception } from "@magic-xpa/mscorelib";
2
+ export declare class ServerError extends ApplicationException {
3
+ static INF_NO_RESULT: number;
4
+ static ERR_CTX_NOT_FOUND: number;
5
+ static ERR_AUTHENTICATION: number;
6
+ static ERR_ACCESS_DENIED: number;
7
+ static ERR_WEBCLIENT_PROGRAM_RELOADED: number;
8
+ static ERR_EXECUTED_PROGRAM_CHANGED: number;
9
+ static ERR_THREAD_ABORTED: number;
10
+ private _code;
11
+ constructor(msg: string);
12
+ constructor(msg: string, code: number);
13
+ constructor(msg: string, innerException: Exception);
14
+ GetCode(): number;
15
+ GetMessage(): string;
16
+ }
@@ -0,0 +1,8 @@
1
+ import { RemoteDataViewCommandBase } from "./RemoteDataViewCommandBase";
2
+ import { ReturnResultBase } from "../util/ReturnResultBase";
3
+ import { SetTransactionStateDataviewCommand } from "../commands/ClientToServer/SetTransactionStateDataviewCommand";
4
+ export declare class SetTransactionStateRemoteDataViewCommand extends RemoteDataViewCommandBase {
5
+ private get dataviewCommand();
6
+ constructor(command: SetTransactionStateDataviewCommand);
7
+ Execute(): Promise<ReturnResultBase>;
8
+ }
@@ -0,0 +1,36 @@
1
+ import { StringBuilder } from '@magic-xpa/mscorelib';
2
+ import { StorageAttribute } from '@magic-xpa/utils';
3
+ import { ExpVal } from '@magic-xpa/gui';
4
+ import { Expression } from '../exp/Expression';
5
+ import { Task } from '../tasks/Task';
6
+ import { FieldBase } from '../data/FieldBase';
7
+ export declare class Argument {
8
+ private _exp;
9
+ private _fld;
10
+ private _skip;
11
+ private _type;
12
+ private _val;
13
+ private _valueAttr;
14
+ private _valueIsNull;
15
+ constructor();
16
+ constructor(field: FieldBase);
17
+ constructor(expVal: ExpVal);
18
+ constructor(srcArg: Argument);
19
+ private constructor_0;
20
+ private constructor_1;
21
+ private constructor_2;
22
+ constructor_3(srcArg: Argument): void;
23
+ Initialize(srcArg: Argument): Promise<void>;
24
+ fillData(arg: String, srcTask: Task): void;
25
+ buildXML(message: StringBuilder): void;
26
+ getType(): string;
27
+ getField(): FieldBase;
28
+ protected getExp(): Expression;
29
+ setValueToField(destFld: FieldBase): Promise<void>;
30
+ static convertArgs(value: string, srcAttr: StorageAttribute, expectedType: StorageAttribute): string;
31
+ getValue(expType: StorageAttribute, expSize: number): Promise<string>;
32
+ skipArg(): boolean;
33
+ fillDataByParams(paramValueAttr: StorageAttribute, paramValue: string, paramNull: boolean): void;
34
+ private static getEmptyValue;
35
+ FillFromString(argStr: string): void;
36
+ }
@@ -0,0 +1,24 @@
1
+ import { ExpVal } from '@magic-xpa/gui';
2
+ import { StringBuilder } from '@magic-xpa/mscorelib';
3
+ import { Argument } from './Argument';
4
+ import { TaskBase } from '../tasks/TaskBase';
5
+ import { StorageAttribute } from '@magic-xpa/utils';
6
+ export declare class ArgumentsList {
7
+ private _list;
8
+ RefreshOnString: string;
9
+ constructor();
10
+ constructor(Exp_params: ExpVal[]);
11
+ constructor(argument: Argument);
12
+ private constructor_0;
13
+ Initialize(srcArgs: ArgumentsList): Promise<void>;
14
+ private constructor_2;
15
+ private constructor_3;
16
+ fillList(valueStr: string, srcTask: TaskBase): void;
17
+ buildListFromParams(size: number, attrs: string, vals: string[], nulls: string): void;
18
+ buildXML(message: StringBuilder): void;
19
+ getSize(): number;
20
+ getArg(idx: number): Argument;
21
+ getArgValue(idx: number, expType: StorageAttribute, expSize: number): Promise<string>;
22
+ FillListFromString(argsString: string): void;
23
+ Add(argument: Argument): void;
24
+ }
@@ -0,0 +1,27 @@
1
+ import { StorageAttribute } from "@magic-xpa/utils";
2
+ import { Task } from "../tasks/Task";
3
+ export declare class Boundary {
4
+ private _cacheTableFldId;
5
+ private _max;
6
+ private _min;
7
+ private _retType;
8
+ private _size;
9
+ private _maxExpVal;
10
+ private _minExpVal;
11
+ DiscardMin: boolean;
12
+ DiscardMax: boolean;
13
+ MaxEqualsMin: boolean;
14
+ constructor(task: Task, minIdx: number, maxIdx: number, returnType: StorageAttribute, size: number);
15
+ constructor(task: Task, minIdx: number, maxIdx: number, returnType: StorageAttribute, size: number, cacheTableId: number);
16
+ private constructor_0;
17
+ private constructor_1;
18
+ hasMinExp(): boolean;
19
+ hasMaxExp(): boolean;
20
+ getExpType(): StorageAttribute;
21
+ getCacheTableFldId(): number;
22
+ compute(padValueWithMinMaxCharacters: boolean): Promise<void>;
23
+ checkRange(val: string, IsNull: boolean): boolean;
24
+ IsMaxEqualsMin(): boolean;
25
+ private WildCharExist;
26
+ toString(): string;
27
+ }
@@ -0,0 +1,10 @@
1
+ import { XmlParser } from "@magic-xpa/utils";
2
+ export declare class CompMainPrgTable {
3
+ private _ctlIdxTab;
4
+ fillData(parser: XmlParser): void;
5
+ private initElements;
6
+ private initCtlIdxTab;
7
+ getCtlIdx(idx: number): number;
8
+ getIndexOf(ctlIdx: number): number;
9
+ getSize(): number;
10
+ }
@@ -0,0 +1,34 @@
1
+ import { YesNoExp } from '../exp/YesNoExp';
2
+ import { Task } from '../tasks/Task';
3
+ import { Dictionary, List } from '@magic-xpa/mscorelib';
4
+ import { Boundary } from './Boundary';
5
+ import { Field } from '../data/Field';
6
+ import { LnkEval_Cond, LnkMode } from '@magic-xpa/utils';
7
+ import { IRecord } from '@magic-xpa/gui';
8
+ import { Record } from '../data/Record';
9
+ export declare abstract class DataviewHeaderBase {
10
+ _cond: YesNoExp;
11
+ _task: Task;
12
+ Loc: List<Boundary>;
13
+ _dir: string;
14
+ _id: number;
15
+ _keyIdx: number;
16
+ private _retVal;
17
+ private returnfield;
18
+ _linkEvalCondition: LnkEval_Cond;
19
+ get ReturnField(): Field;
20
+ Mode: LnkMode;
21
+ LinkStartAfterField: number;
22
+ KeyExpression: number;
23
+ get IsMainSource(): boolean;
24
+ get Task(): Task;
25
+ get Fields(): List<Field>;
26
+ get Id(): number;
27
+ get LinkEvaluateCondition(): LnkEval_Cond;
28
+ constructor(task: Task);
29
+ SetAttributes(attributes: Dictionary<string>): void;
30
+ protected setAttribute(attribute: string, valueStr: string): void;
31
+ abstract SetReturnValue(ret: boolean, recompute: boolean): void;
32
+ getLinkedRecord(curRec: Record): Promise<boolean>;
33
+ InitLinkFields(currRec: IRecord): Promise<void>;
34
+ }
@@ -0,0 +1,5 @@
1
+ import { DataviewHeaderBase } from "./DataviewHeaderBase";
2
+ import { Task } from "../tasks/Task";
3
+ export declare class DataviewHeaderFactory {
4
+ CreateDataviewHeaders(task: Task): DataviewHeaderBase;
5
+ }
@@ -0,0 +1,12 @@
1
+ import { XmlParser } from "@magic-xpa/utils";
2
+ import { DataviewHeaderBase } from "./DataviewHeaderBase";
3
+ import { Task } from "../tasks/Task";
4
+ export declare class DataviewHeaders {
5
+ private _dataviewHeaders;
6
+ private _task;
7
+ constructor(task: Task);
8
+ fillData(parser: XmlParser): void;
9
+ private initInnerObjects;
10
+ getDataviewHeaderById(linkId: number): DataviewHeaderBase;
11
+ buildDbPosString(): string;
12
+ }
@@ -0,0 +1,10 @@
1
+ import { Hashtable } from "@magic-xpa/mscorelib";
2
+ import { DataviewHeaderBase } from "./DataviewHeaderBase";
3
+ import { Task } from "../tasks/Task";
4
+ export declare class DataviewHeadersSaxHandler {
5
+ private _dataviewHeaders;
6
+ private _task;
7
+ private _dataviewHeadersFactory;
8
+ constructor(task: Task, dataviewHeaders: Hashtable<number, DataviewHeaderBase>, xmlData: string);
9
+ private FillFromJSON;
10
+ }
@@ -0,0 +1,22 @@
1
+ import { Stack, StringBuilder } from "@magic-xpa/mscorelib";
2
+ import { ExecutionStackEntry } from "./ExecutionStackEntry";
3
+ export declare class ExecutionStack {
4
+ private _execStack;
5
+ constructor();
6
+ constructor(inExecStack: ExecutionStack);
7
+ private constructor_0;
8
+ private constructor_1;
9
+ getStack(): Stack<ExecutionStackEntry>;
10
+ push(execEntry: ExecutionStackEntry): void;
11
+ push(taskId: string, handlerId: string, operIdx: number): void;
12
+ private push_0;
13
+ private push_1;
14
+ pop(): ExecutionStackEntry;
15
+ empty(): boolean;
16
+ clear(): void;
17
+ size(): number;
18
+ Equals(execStackCmp: any): boolean;
19
+ pushUpSideDown(inExecStack: ExecutionStack): void;
20
+ reverse(): void;
21
+ buildXML(message: StringBuilder): void;
22
+ }
@@ -0,0 +1,7 @@
1
+ export declare class ExecutionStackEntry {
2
+ TaskId: string;
3
+ HandlerId: string;
4
+ OperIdx: number;
5
+ constructor(intaskId: string, inhandlerId: string, inoperIdx: number);
6
+ Equals(obj: any): boolean;
7
+ }
@@ -0,0 +1,19 @@
1
+ import { List } from "@magic-xpa/mscorelib";
2
+ import { XmlParser } from "@magic-xpa/utils";
3
+ import { EventHandler } from "../event/EventHandler";
4
+ import { Task } from "../tasks/Task";
5
+ import { MGData } from "../tasks/MGData";
6
+ export declare class HandlersTable {
7
+ private _handlers;
8
+ constructor();
9
+ fillData(taskRef: Task, parser: XmlParser): void;
10
+ private initInnerObjects;
11
+ add(handler: EventHandler): void;
12
+ remove(idx: number): void;
13
+ insertAfter(handler: EventHandler, idx: number): void;
14
+ getSize(): number;
15
+ getHandler(idx: number): EventHandler;
16
+ hasExpressionHandler(): boolean;
17
+ startTimers(mgd: MGData): void;
18
+ getTimersVector(): List<number>;
19
+ }