@magic-xpa/engine 4.1100.0-dev4110.25 → 4.1100.0-dev4110.250

Sign up to get free protection for your applications and to get access to all the features.
Files changed (521) hide show
  1. package/{esm2020 → esm2022}/index.mjs +188 -188
  2. package/{esm2020 → esm2022}/magic-xpa-engine.mjs +1 -1
  3. package/esm2022/src/AccessHelper.mjs +15 -0
  4. package/esm2022/src/ClientManager.mjs +416 -0
  5. package/esm2022/src/CommandsProcessorBase.mjs +56 -0
  6. package/esm2022/src/CommandsProcessorManager.mjs +26 -0
  7. package/esm2022/src/CommandsTable.mjs +162 -0
  8. package/esm2022/src/ConstInterface.mjs +517 -0
  9. package/{esm2020 → esm2022}/src/CurrentClientVersion.mjs +2 -2
  10. package/esm2022/src/FlowMonitorInterface.mjs +16 -0
  11. package/esm2022/src/GUIManager.mjs +62 -0
  12. package/esm2022/src/GlobalCommandsManager.mjs +34 -0
  13. package/esm2022/src/GuiEventsProcessor.mjs +156 -0
  14. package/{esm2020 → esm2022}/src/ICommandsTable.mjs +1 -1
  15. package/esm2022/src/ServerConfig.mjs +122 -0
  16. package/{esm2020 → esm2022}/src/bridge/IGuiEvent.mjs +19 -19
  17. package/esm2022/src/bridge/MagicBridge.mjs +41 -0
  18. package/esm2022/src/commands/ClientOriginatedCommandTaskTag.mjs +12 -0
  19. package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserLocateDataViewCommand.mjs +8 -8
  20. package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserRangeDataviewCommand.mjs +9 -9
  21. package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserSortDataViewCommand.mjs +9 -9
  22. package/esm2022/src/commands/ClientToServer/BrowserEscEventCommand.mjs +26 -0
  23. package/{esm2020 → esm2022}/src/commands/ClientToServer/ClientOriginatedCommand.mjs +14 -14
  24. package/esm2022/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +60 -0
  25. package/esm2022/src/commands/ClientToServer/ColumnSortEventCommand.mjs +29 -0
  26. package/esm2022/src/commands/ClientToServer/CommandFactory.mjs +261 -0
  27. package/esm2022/src/commands/ClientToServer/CommandSerializationHelper.mjs +67 -0
  28. package/esm2022/src/commands/ClientToServer/ComputeEventCommand.mjs +26 -0
  29. package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTerminationEventCommand.mjs +24 -21
  30. package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTimeoutResetCommand.mjs +23 -20
  31. package/{esm2020 → esm2022}/src/commands/ClientToServer/ControlItemsRefreshCommand.mjs +8 -8
  32. package/esm2022/src/commands/ClientToServer/DataViewOutputCommand.mjs +13 -0
  33. package/{esm2020 → esm2022}/src/commands/ClientToServer/DataviewCommand.mjs +44 -44
  34. package/esm2022/src/commands/ClientToServer/EvaluateCommand.mjs +40 -0
  35. package/{esm2020 → esm2022}/src/commands/ClientToServer/EventCommand.mjs +43 -40
  36. package/esm2022/src/commands/ClientToServer/ExecOperCommand.mjs +70 -0
  37. package/esm2022/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +25 -0
  38. package/{esm2020 → esm2022}/src/commands/ClientToServer/GlobalParamsQueryCommand.mjs +10 -10
  39. package/{esm2020 → esm2022}/src/commands/ClientToServer/ICommandTaskTag.mjs +1 -1
  40. package/esm2022/src/commands/ClientToServer/IndexChangeEventCommand.mjs +24 -0
  41. package/esm2022/src/commands/ClientToServer/IniputForceWriteCommand.mjs +26 -0
  42. package/{esm2020 → esm2022}/src/commands/ClientToServer/NonReversibleExitEventCommand.mjs +26 -23
  43. package/{esm2020 → esm2022}/src/commands/ClientToServer/QueryCommand.mjs +20 -20
  44. package/esm2022/src/commands/ClientToServer/RecomputeCommand.mjs +30 -0
  45. package/esm2022/src/commands/ClientToServer/RefreshEventCommand.mjs +30 -0
  46. package/esm2022/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +27 -0
  47. package/esm2022/src/commands/ClientToServer/RollbackEventCommand.mjs +43 -0
  48. package/esm2022/src/commands/ClientToServer/SelectProgramCommand.mjs +19 -0
  49. package/{esm2020 → esm2022}/src/commands/ClientToServer/SetTransactionStateDataviewCommand.mjs +9 -9
  50. package/esm2022/src/commands/ClientToServer/SubformOpenEventCommand.mjs +24 -0
  51. package/esm2022/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +27 -0
  52. package/esm2022/src/commands/ClientToServer/TransactionCommand.mjs +34 -0
  53. package/{esm2020 → esm2022}/src/commands/ClientToServer/UnloadCommand.mjs +18 -15
  54. package/esm2022/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +18 -0
  55. package/esm2022/src/commands/DataViewCommandBase.mjs +8 -0
  56. package/{esm2020 → esm2022}/src/commands/IClientCommand.mjs +1 -1
  57. package/esm2022/src/commands/IClientTargetedCommand.mjs +13 -0
  58. package/{esm2020 → esm2022}/src/commands/IClientToServerCommandInfo.mjs +2 -2
  59. package/esm2022/src/commands/ServerToClient/AbortCommand.mjs +65 -0
  60. package/{esm2020 → esm2022}/src/commands/ServerToClient/AddLocateCommand.mjs +21 -21
  61. package/esm2022/src/commands/ServerToClient/AddRangeCommand.mjs +62 -0
  62. package/esm2022/src/commands/ServerToClient/AddSortCommand.mjs +33 -0
  63. package/esm2022/src/commands/ServerToClient/ClientRefreshCommand.mjs +25 -0
  64. package/esm2022/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +24 -0
  65. package/esm2022/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +45 -0
  66. package/esm2022/src/commands/ServerToClient/OpenURLCommand.mjs +221 -0
  67. package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetLocateCommand.mjs +14 -14
  68. package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetRangeCommand.mjs +14 -14
  69. package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetSortCommand.mjs +14 -14
  70. package/esm2022/src/commands/ServerToClient/ResultCommand.mjs +37 -0
  71. package/esm2022/src/commands/ServerToClient/VerifyCommand.mjs +83 -0
  72. package/esm2022/src/commands/ServerToClient/XMLBasedCommandBuilder.mjs +132 -0
  73. package/{esm2020 → esm2022}/src/communications/IConnectionStateManager.mjs +1 -1
  74. package/esm2022/src/communications/InteractiveCommunicationsFailureHandler.mjs +15 -0
  75. package/{esm2020 → esm2022}/src/data/DataSourceIdKey.mjs +2 -2
  76. package/esm2022/src/data/DataView.mjs +1613 -0
  77. package/{esm2020 → esm2022}/src/data/DataViewBase.mjs +3 -3
  78. package/esm2022/src/data/DataviewManager.mjs +28 -0
  79. package/esm2022/src/data/DataviewManagerBase.mjs +15 -0
  80. package/esm2022/src/data/DvCache.mjs +67 -0
  81. package/esm2022/src/data/Field.mjs +646 -0
  82. package/esm2022/src/data/FieldBase.mjs +15 -0
  83. package/esm2022/src/data/FieldsTable.mjs +103 -0
  84. package/{esm2020 → esm2022}/src/data/IRecordsTable.mjs +1 -1
  85. package/esm2022/src/data/Key.mjs +88 -0
  86. package/esm2022/src/data/Record.mjs +880 -0
  87. package/{esm2020 → esm2022}/src/data/RecordOutOfDataViewException.mjs +15 -15
  88. package/esm2022/src/data/RecordsTable.mjs +267 -0
  89. package/esm2022/src/data/TaskTransactionManager.mjs +107 -0
  90. package/esm2022/src/data/XMLBasedDcValuesBuilder.mjs +74 -0
  91. package/{esm2020 → esm2022}/src/enums.mjs +23 -23
  92. package/esm2022/src/env/EnvVariablesTable.mjs +340 -0
  93. package/esm2022/src/env/Environment.mjs +487 -0
  94. package/{esm2020 → esm2022}/src/env/ILanguageData.mjs +1 -1
  95. package/esm2022/src/env/LanguageData.mjs +227 -0
  96. package/esm2022/src/env/MirrorString.mjs +65 -0
  97. package/esm2022/src/event/ActionManager.mjs +91 -0
  98. package/esm2022/src/event/Event.mjs +1333 -0
  99. package/esm2022/src/event/EventHandler.mjs +766 -0
  100. package/esm2022/src/event/EventHandlerPosition.mjs +204 -0
  101. package/esm2022/src/event/EventsManager.mjs +2988 -0
  102. package/{esm2020 → esm2022}/src/event/IEventsManager.mjs +6 -6
  103. package/esm2022/src/event/RunTimeEvent.mjs +399 -0
  104. package/{esm2020 → esm2022}/src/event/RunTimeEventBase.mjs +3 -3
  105. package/esm2022/src/event/UserEventsTable.mjs +47 -0
  106. package/esm2022/src/exp/ExpTable.mjs +57 -0
  107. package/esm2022/src/exp/Expression.mjs +200 -0
  108. package/esm2022/src/exp/ExpressionDict.mjs +727 -0
  109. package/esm2022/src/exp/ExpressionEvaluator.mjs +4206 -0
  110. package/esm2022/src/exp/ExpressionLocalJpn.mjs +314 -0
  111. package/esm2022/src/exp/GlobalParamsTable.mjs +85 -0
  112. package/esm2022/src/exp/YesNoExp.mjs +36 -0
  113. package/esm2022/src/gui/CreatedFormVector.mjs +23 -0
  114. package/esm2022/src/gui/FormsTable.mjs +66 -0
  115. package/esm2022/src/gui/MgControl.mjs +363 -0
  116. package/esm2022/src/gui/MgForm.mjs +1224 -0
  117. package/esm2022/src/http/HttpManager.mjs +97 -0
  118. package/esm2022/src/http/client/HttpClientAsync.mjs +68 -0
  119. package/esm2022/src/http/client/HttpClientBase.mjs +132 -0
  120. package/esm2022/src/http/client/HttpClientEvents.mjs +39 -0
  121. package/esm2022/src/http/client/HttpClientSync.mjs +42 -0
  122. package/esm2022/src/http/client/HttpUtility.mjs +84 -0
  123. package/{esm2020 → esm2022}/src/http/client/ICommunicationsFailureHandler.mjs +1 -1
  124. package/esm2022/src/remote/AddUserLocateRemoteDataViewCommand.mjs +18 -0
  125. package/esm2022/src/remote/AddUserRangeRemoteDataViewCommand.mjs +18 -0
  126. package/esm2022/src/remote/AddUserSortRemoteDataViewCommand.mjs +18 -0
  127. package/esm2022/src/remote/RemoteCommandsProcessor.mjs +883 -0
  128. package/esm2022/src/remote/RemoteControlItemsRefreshCommand.mjs +25 -0
  129. package/esm2022/src/remote/RemoteDataViewCommandBase.mjs +24 -0
  130. package/esm2022/src/remote/RemoteDataViewCommandFactory.mjs +61 -0
  131. package/{esm2020 → esm2022}/src/remote/RemoteDataViewCommandUpdateNonModifiable.mjs +15 -15
  132. package/{esm2020 → esm2022}/src/remote/RemoteDataviewManager.mjs +17 -17
  133. package/{esm2020 → esm2022}/src/remote/RemoteInitDataViewCommand.mjs +10 -10
  134. package/esm2022/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +17 -0
  135. package/{esm2020 → esm2022}/src/remote/ResetUserRangeRemoteDataviewCommand.mjs +12 -12
  136. package/esm2022/src/remote/ResetUserSortRemoteDataviewCommand.mjs +16 -0
  137. package/esm2022/src/remote/ServerError.mjs +40 -0
  138. package/esm2022/src/remote/SetTransactionStateRemoteDataViewCommand.mjs +20 -0
  139. package/esm2022/src/rt/Argument.mjs +265 -0
  140. package/esm2022/src/rt/ArgumentsList.mjs +103 -0
  141. package/esm2022/src/rt/Boundary.mjs +152 -0
  142. package/esm2022/src/rt/CompMainPrgTable.mjs +63 -0
  143. package/{esm2020 → esm2022}/src/rt/DataviewHeaderBase.mjs +98 -96
  144. package/{esm2020 → esm2022}/src/rt/DataviewHeaderFactory.mjs +6 -6
  145. package/esm2022/src/rt/DataviewHeaders.mjs +53 -0
  146. package/esm2022/src/rt/DataviewHeadersSaxHandler.mjs +38 -0
  147. package/esm2022/src/rt/ExecutionStack.mjs +94 -0
  148. package/{esm2020 → esm2022}/src/rt/ExecutionStackEntry.mjs +17 -17
  149. package/esm2022/src/rt/HandlersTable.mjs +96 -0
  150. package/{esm2020 → esm2022}/src/rt/IDataSourceViewDefinition.mjs +1 -1
  151. package/{esm2020 → esm2022}/src/rt/IDataviewHeader.mjs +1 -1
  152. package/{esm2020 → esm2022}/src/rt/IResultValue.mjs +1 -1
  153. package/esm2022/src/rt/LastFocusedManager.mjs +65 -0
  154. package/esm2022/src/rt/Operation.mjs +735 -0
  155. package/esm2022/src/rt/OperationTable.mjs +67 -0
  156. package/esm2022/src/rt/Recompute.mjs +355 -0
  157. package/esm2022/src/rt/RecomputeTable.mjs +63 -0
  158. package/esm2022/src/rt/RemoteDataviewHeader.mjs +108 -0
  159. package/esm2022/src/rt/ResultValue.mjs +10 -0
  160. package/esm2022/src/rt/TableCache.mjs +177 -0
  161. package/esm2022/src/rt/TableCacheManager.mjs +67 -0
  162. package/esm2022/src/rt/Transaction.mjs +53 -0
  163. package/esm2022/src/security/UserDetails.mjs +71 -0
  164. package/{esm2020 → esm2022}/src/tasks/IMGDataCollection.mjs +1 -1
  165. package/esm2022/src/tasks/MGData.mjs +552 -0
  166. package/esm2022/src/tasks/MGDataCollection.mjs +252 -0
  167. package/esm2022/src/tasks/RCTimer.mjs +63 -0
  168. package/esm2022/src/tasks/RemoteTaskService.mjs +45 -0
  169. package/esm2022/src/tasks/Task.mjs +2499 -0
  170. package/esm2022/src/tasks/TaskBase.mjs +83 -0
  171. package/esm2022/src/tasks/TaskServiceBase.mjs +25 -0
  172. package/esm2022/src/tasks/TasksTable.mjs +80 -0
  173. package/esm2022/src/tasks/sort/Sort.mjs +5 -0
  174. package/esm2022/src/tasks/sort/SortCollection.mjs +67 -0
  175. package/esm2022/src/util/ConstUtils.mjs +14 -0
  176. package/esm2022/src/util/FlowMonitorQueue.mjs +451 -0
  177. package/esm2022/src/util/HeapSort.mjs +70 -0
  178. package/{esm2020 → esm2022}/src/util/IMirrorXML.mjs +1 -1
  179. package/{esm2020 → esm2022}/src/util/IServerConfig.mjs +1 -1
  180. package/{esm2020 → esm2022}/src/util/MgBlockingQueue.mjs +1 -1
  181. package/esm2022/src/util/MgPriorityBlockingQueue.mjs +74 -0
  182. package/esm2022/src/util/MgPriorityQueue.mjs +66 -0
  183. package/{esm2020 → esm2022}/src/util/ParamParseResult.mjs +7 -7
  184. package/esm2022/src/util/PrmMap.mjs +152 -0
  185. package/esm2022/src/util/ReturnResult.mjs +46 -0
  186. package/esm2022/src/util/ReturnResultBase.mjs +18 -0
  187. package/esm2022/src/util/Scrambler.mjs +89 -0
  188. package/esm2022/src/util/UniqueIDUtils.mjs +13 -0
  189. package/esm2022/src/util/cookie.service.mjs +92 -0
  190. package/{fesm2020 → fesm2022}/magic-xpa-engine.mjs +29883 -29693
  191. package/fesm2022/magic-xpa-engine.mjs.map +1 -0
  192. package/index.d.ts +187 -187
  193. package/package.json +8 -14
  194. package/src/AccessHelper.d.ts +20 -20
  195. package/src/ClientManager.d.ts +35 -32
  196. package/src/CommandsProcessorBase.d.ts +23 -23
  197. package/src/CommandsProcessorManager.d.ts +6 -6
  198. package/src/CommandsTable.d.ts +22 -22
  199. package/src/ConstInterface.d.ts +516 -515
  200. package/src/CurrentClientVersion.d.ts +1 -1
  201. package/src/FlowMonitorInterface.d.ts +15 -15
  202. package/src/GUIManager.d.ts +17 -17
  203. package/src/GlobalCommandsManager.d.ts +17 -17
  204. package/src/GuiEventsProcessor.d.ts +24 -24
  205. package/src/ICommandsTable.d.ts +9 -9
  206. package/src/ServerConfig.d.ts +35 -34
  207. package/src/bridge/IGuiEvent.d.ts +19 -19
  208. package/src/bridge/MagicBridge.d.ts +16 -16
  209. package/src/commands/ClientOriginatedCommandTaskTag.d.ts +8 -8
  210. package/src/commands/ClientToServer/AddUserLocateDataViewCommand.d.ts +4 -4
  211. package/src/commands/ClientToServer/AddUserRangeDataviewCommand.d.ts +6 -6
  212. package/src/commands/ClientToServer/AddUserSortDataViewCommand.d.ts +6 -6
  213. package/src/commands/ClientToServer/BrowserEscEventCommand.d.ts +9 -8
  214. package/src/commands/ClientToServer/ClientOriginatedCommand.d.ts +8 -8
  215. package/src/commands/ClientToServer/ClientOriginatedCommandSerializer.d.ts +6 -6
  216. package/src/commands/ClientToServer/ColumnSortEventCommand.d.ts +11 -10
  217. package/src/commands/ClientToServer/CommandFactory.d.ts +64 -64
  218. package/src/commands/ClientToServer/CommandSerializationHelper.d.ts +20 -20
  219. package/src/commands/ClientToServer/ComputeEventCommand.d.ts +9 -8
  220. package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +8 -7
  221. package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +8 -7
  222. package/src/commands/ClientToServer/ControlItemsRefreshCommand.d.ts +6 -6
  223. package/src/commands/ClientToServer/DataViewOutputCommand.d.ts +9 -9
  224. package/src/commands/ClientToServer/DataviewCommand.d.ts +32 -32
  225. package/src/commands/ClientToServer/EvaluateCommand.d.ts +16 -15
  226. package/src/commands/ClientToServer/EventCommand.d.ts +16 -15
  227. package/src/commands/ClientToServer/ExecOperCommand.d.ts +24 -23
  228. package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +9 -8
  229. package/src/commands/ClientToServer/GlobalParamsQueryCommand.d.ts +5 -5
  230. package/src/commands/ClientToServer/ICommandTaskTag.d.ts +3 -3
  231. package/src/commands/ClientToServer/IndexChangeEventCommand.d.ts +9 -8
  232. package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +11 -10
  233. package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +9 -8
  234. package/src/commands/ClientToServer/QueryCommand.d.ts +8 -8
  235. package/src/commands/ClientToServer/RecomputeCommand.d.ts +12 -11
  236. package/src/commands/ClientToServer/RefreshEventCommand.d.ts +13 -12
  237. package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +11 -10
  238. package/src/commands/ClientToServer/RollbackEventCommand.d.ts +15 -14
  239. package/src/commands/ClientToServer/SelectProgramCommand.d.ts +7 -6
  240. package/src/commands/ClientToServer/SetTransactionStateDataviewCommand.d.ts +5 -5
  241. package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +9 -8
  242. package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +10 -9
  243. package/src/commands/ClientToServer/TransactionCommand.d.ts +14 -12
  244. package/src/commands/ClientToServer/UnloadCommand.d.ts +8 -7
  245. package/src/commands/ClientToServer/WriteMessageToServerLogCommand.d.ts +6 -6
  246. package/src/commands/DataViewCommandBase.d.ts +6 -6
  247. package/src/commands/IClientCommand.d.ts +2 -2
  248. package/src/commands/IClientTargetedCommand.d.ts +12 -12
  249. package/src/commands/IClientToServerCommandInfo.d.ts +4 -3
  250. package/src/commands/ServerToClient/AbortCommand.d.ts +11 -11
  251. package/src/commands/ServerToClient/AddLocateCommand.d.ts +6 -6
  252. package/src/commands/ServerToClient/AddRangeCommand.d.ts +10 -10
  253. package/src/commands/ServerToClient/AddSortCommand.d.ts +9 -9
  254. package/src/commands/ServerToClient/ClientRefreshCommand.d.ts +7 -7
  255. package/src/commands/ServerToClient/ClientTargetedCommandBase.d.ts +12 -12
  256. package/src/commands/ServerToClient/EnhancedVerifyCommand.d.ts +13 -13
  257. package/src/commands/ServerToClient/OpenURLCommand.d.ts +21 -21
  258. package/src/commands/ServerToClient/ResetLocateCommand.d.ts +6 -6
  259. package/src/commands/ServerToClient/ResetRangeCommand.d.ts +6 -6
  260. package/src/commands/ServerToClient/ResetSortCommand.d.ts +6 -6
  261. package/src/commands/ServerToClient/ResultCommand.d.ts +10 -10
  262. package/src/commands/ServerToClient/VerifyCommand.d.ts +17 -17
  263. package/src/commands/ServerToClient/XMLBasedCommandBuilder.d.ts +11 -11
  264. package/src/communications/IConnectionStateManager.d.ts +4 -4
  265. package/src/communications/InteractiveCommunicationsFailureHandler.d.ts +6 -6
  266. package/src/data/DataSourceIdKey.d.ts +2 -2
  267. package/src/data/DataView.d.ts +162 -162
  268. package/src/data/DataViewBase.d.ts +12 -12
  269. package/src/data/DataviewManager.d.ts +14 -14
  270. package/src/data/DataviewManagerBase.d.ts +11 -11
  271. package/src/data/DvCache.d.ts +15 -15
  272. package/src/data/Field.d.ts +103 -103
  273. package/src/data/FieldBase.d.ts +23 -23
  274. package/src/data/FieldsTable.d.ts +27 -27
  275. package/src/data/IRecordsTable.d.ts +7 -7
  276. package/src/data/Key.d.ts +15 -15
  277. package/src/data/Record.d.ts +157 -156
  278. package/src/data/RecordOutOfDataViewException.d.ts +10 -10
  279. package/src/data/RecordsTable.d.ts +38 -38
  280. package/src/data/TaskTransactionManager.d.ts +17 -17
  281. package/src/data/XMLBasedDcValuesBuilder.d.ts +11 -11
  282. package/src/enums.d.ts +21 -21
  283. package/src/env/EnvVariablesTable.d.ts +17 -17
  284. package/src/env/Environment.d.ts +118 -118
  285. package/src/env/ILanguageData.d.ts +3 -3
  286. package/src/env/LanguageData.d.ts +20 -20
  287. package/src/env/MirrorString.d.ts +15 -15
  288. package/src/event/ActionManager.d.ts +14 -14
  289. package/src/event/Event.d.ts +79 -79
  290. package/src/event/EventHandler.d.ts +66 -66
  291. package/src/event/EventHandlerPosition.d.ts +25 -25
  292. package/src/event/EventsManager.d.ts +205 -204
  293. package/src/event/IEventsManager.d.ts +77 -77
  294. package/src/event/RunTimeEvent.d.ts +126 -123
  295. package/src/event/RunTimeEventBase.d.ts +5 -5
  296. package/src/event/UserEventsTable.d.ts +11 -11
  297. package/src/exp/ExpTable.d.ts +11 -11
  298. package/src/exp/Expression.d.ts +37 -37
  299. package/src/exp/ExpressionDict.d.ts +12 -12
  300. package/src/exp/ExpressionEvaluator.d.ts +198 -198
  301. package/src/exp/ExpressionLocalJpn.d.ts +18 -18
  302. package/src/exp/GlobalParamsTable.d.ts +19 -19
  303. package/src/exp/YesNoExp.d.ts +9 -9
  304. package/src/gui/CreatedFormVector.d.ts +10 -10
  305. package/src/gui/FormsTable.d.ts +15 -15
  306. package/src/gui/MgControl.d.ts +60 -60
  307. package/src/gui/MgForm.d.ts +96 -93
  308. package/src/http/HttpManager.d.ts +25 -25
  309. package/src/http/client/HttpClientAsync.d.ts +16 -16
  310. package/src/http/client/HttpClientBase.d.ts +30 -30
  311. package/src/http/client/HttpClientEvents.d.ts +18 -18
  312. package/src/http/client/HttpClientSync.d.ts +17 -17
  313. package/src/http/client/HttpUtility.d.ts +10 -10
  314. package/src/http/client/ICommunicationsFailureHandler.d.ts +5 -5
  315. package/src/remote/AddUserLocateRemoteDataViewCommand.d.ts +8 -8
  316. package/src/remote/AddUserRangeRemoteDataViewCommand.d.ts +8 -8
  317. package/src/remote/AddUserSortRemoteDataViewCommand.d.ts +8 -8
  318. package/src/remote/RemoteCommandsProcessor.d.ts +51 -51
  319. package/src/remote/RemoteControlItemsRefreshCommand.d.ts +8 -8
  320. package/src/remote/RemoteDataViewCommandBase.d.ts +10 -10
  321. package/src/remote/RemoteDataViewCommandFactory.d.ts +6 -6
  322. package/src/remote/RemoteDataViewCommandUpdateNonModifiable.d.ts +8 -8
  323. package/src/remote/RemoteDataviewManager.d.ts +9 -9
  324. package/src/remote/RemoteInitDataViewCommand.d.ts +7 -7
  325. package/src/remote/ResetUserLocateRemoteDataviewCommand.d.ts +7 -7
  326. package/src/remote/ResetUserRangeRemoteDataviewCommand.d.ts +7 -7
  327. package/src/remote/ResetUserSortRemoteDataviewCommand.d.ts +7 -7
  328. package/src/remote/ServerError.d.ts +16 -16
  329. package/src/remote/SetTransactionStateRemoteDataViewCommand.d.ts +8 -8
  330. package/src/rt/Argument.d.ts +36 -36
  331. package/src/rt/ArgumentsList.d.ts +24 -24
  332. package/src/rt/Boundary.d.ts +27 -27
  333. package/src/rt/CompMainPrgTable.d.ts +10 -10
  334. package/src/rt/DataviewHeaderBase.d.ts +34 -34
  335. package/src/rt/DataviewHeaderFactory.d.ts +5 -5
  336. package/src/rt/DataviewHeaders.d.ts +12 -12
  337. package/src/rt/DataviewHeadersSaxHandler.d.ts +10 -10
  338. package/src/rt/ExecutionStack.d.ts +22 -22
  339. package/src/rt/ExecutionStackEntry.d.ts +7 -7
  340. package/src/rt/HandlersTable.d.ts +19 -19
  341. package/src/rt/IDataSourceViewDefinition.d.ts +6 -6
  342. package/src/rt/IDataviewHeader.d.ts +10 -10
  343. package/src/rt/IResultValue.d.ts +4 -4
  344. package/src/rt/LastFocusedManager.d.ts +23 -23
  345. package/src/rt/Operation.d.ts +97 -97
  346. package/src/rt/OperationTable.d.ts +15 -15
  347. package/src/rt/Recompute.d.ts +41 -41
  348. package/src/rt/RecomputeTable.d.ts +9 -9
  349. package/src/rt/RemoteDataviewHeader.d.ts +14 -14
  350. package/src/rt/ResultValue.d.ts +7 -7
  351. package/src/rt/TableCache.d.ts +29 -29
  352. package/src/rt/TableCacheManager.d.ts +10 -10
  353. package/src/rt/Transaction.d.ts +23 -23
  354. package/src/security/UserDetails.d.ts +16 -16
  355. package/src/tasks/IMGDataCollection.d.ts +26 -26
  356. package/src/tasks/MGData.d.ts +63 -63
  357. package/src/tasks/MGDataCollection.d.ts +42 -42
  358. package/src/tasks/RCTimer.d.ts +13 -13
  359. package/src/tasks/RemoteTaskService.d.ts +16 -16
  360. package/src/tasks/Task.d.ts +312 -312
  361. package/src/tasks/TaskBase.d.ts +123 -123
  362. package/src/tasks/TaskServiceBase.d.ts +16 -16
  363. package/src/tasks/TasksTable.d.ts +21 -21
  364. package/src/tasks/sort/Sort.d.ts +4 -4
  365. package/src/tasks/sort/SortCollection.d.ts +11 -11
  366. package/src/util/ConstUtils.d.ts +3 -3
  367. package/src/util/FlowMonitorQueue.d.ts +70 -70
  368. package/src/util/HeapSort.d.ts +6 -6
  369. package/src/util/IMirrorXML.d.ts +6 -6
  370. package/src/util/IServerConfig.d.ts +11 -11
  371. package/src/util/MgBlockingQueue.d.ts +5 -5
  372. package/src/util/MgPriorityBlockingQueue.d.ts +17 -17
  373. package/src/util/MgPriorityQueue.d.ts +13 -13
  374. package/src/util/ParamParseResult.d.ts +6 -6
  375. package/src/util/PrmMap.d.ts +28 -28
  376. package/src/util/ReturnResult.d.ts +18 -18
  377. package/src/util/ReturnResultBase.d.ts +11 -11
  378. package/src/util/Scrambler.d.ts +10 -10
  379. package/src/util/UniqueIDUtils.d.ts +4 -4
  380. package/src/util/cookie.service.d.ts +8 -8
  381. package/esm2020/src/AccessHelper.mjs +0 -9
  382. package/esm2020/src/ClientManager.mjs +0 -399
  383. package/esm2020/src/CommandsProcessorBase.mjs +0 -58
  384. package/esm2020/src/CommandsProcessorManager.mjs +0 -26
  385. package/esm2020/src/CommandsTable.mjs +0 -162
  386. package/esm2020/src/ConstInterface.mjs +0 -516
  387. package/esm2020/src/FlowMonitorInterface.mjs +0 -16
  388. package/esm2020/src/GUIManager.mjs +0 -62
  389. package/esm2020/src/GlobalCommandsManager.mjs +0 -34
  390. package/esm2020/src/GuiEventsProcessor.mjs +0 -154
  391. package/esm2020/src/ServerConfig.mjs +0 -117
  392. package/esm2020/src/bridge/MagicBridge.mjs +0 -41
  393. package/esm2020/src/commands/ClientOriginatedCommandTaskTag.mjs +0 -11
  394. package/esm2020/src/commands/ClientToServer/BrowserEscEventCommand.mjs +0 -23
  395. package/esm2020/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +0 -60
  396. package/esm2020/src/commands/ClientToServer/ColumnSortEventCommand.mjs +0 -26
  397. package/esm2020/src/commands/ClientToServer/CommandFactory.mjs +0 -260
  398. package/esm2020/src/commands/ClientToServer/CommandSerializationHelper.mjs +0 -69
  399. package/esm2020/src/commands/ClientToServer/ComputeEventCommand.mjs +0 -23
  400. package/esm2020/src/commands/ClientToServer/DataViewOutputCommand.mjs +0 -13
  401. package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +0 -36
  402. package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +0 -67
  403. package/esm2020/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +0 -22
  404. package/esm2020/src/commands/ClientToServer/IndexChangeEventCommand.mjs +0 -21
  405. package/esm2020/src/commands/ClientToServer/IniputForceWriteCommand.mjs +0 -23
  406. package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +0 -27
  407. package/esm2020/src/commands/ClientToServer/RefreshEventCommand.mjs +0 -27
  408. package/esm2020/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +0 -24
  409. package/esm2020/src/commands/ClientToServer/RollbackEventCommand.mjs +0 -39
  410. package/esm2020/src/commands/ClientToServer/SelectProgramCommand.mjs +0 -15
  411. package/esm2020/src/commands/ClientToServer/SubformOpenEventCommand.mjs +0 -21
  412. package/esm2020/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +0 -24
  413. package/esm2020/src/commands/ClientToServer/TransactionCommand.mjs +0 -28
  414. package/esm2020/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +0 -18
  415. package/esm2020/src/commands/DataViewCommandBase.mjs +0 -10
  416. package/esm2020/src/commands/IClientTargetedCommand.mjs +0 -9
  417. package/esm2020/src/commands/ServerToClient/AbortCommand.mjs +0 -65
  418. package/esm2020/src/commands/ServerToClient/AddRangeCommand.mjs +0 -62
  419. package/esm2020/src/commands/ServerToClient/AddSortCommand.mjs +0 -33
  420. package/esm2020/src/commands/ServerToClient/ClientRefreshCommand.mjs +0 -25
  421. package/esm2020/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +0 -27
  422. package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +0 -45
  423. package/esm2020/src/commands/ServerToClient/OpenURLCommand.mjs +0 -221
  424. package/esm2020/src/commands/ServerToClient/ResultCommand.mjs +0 -37
  425. package/esm2020/src/commands/ServerToClient/VerifyCommand.mjs +0 -83
  426. package/esm2020/src/commands/ServerToClient/XMLBasedCommandBuilder.mjs +0 -132
  427. package/esm2020/src/communications/InteractiveCommunicationsFailureHandler.mjs +0 -17
  428. package/esm2020/src/data/DataView.mjs +0 -1610
  429. package/esm2020/src/data/DataviewManager.mjs +0 -28
  430. package/esm2020/src/data/DataviewManagerBase.mjs +0 -15
  431. package/esm2020/src/data/DvCache.mjs +0 -67
  432. package/esm2020/src/data/Field.mjs +0 -646
  433. package/esm2020/src/data/FieldBase.mjs +0 -18
  434. package/esm2020/src/data/FieldsTable.mjs +0 -103
  435. package/esm2020/src/data/Key.mjs +0 -88
  436. package/esm2020/src/data/Record.mjs +0 -846
  437. package/esm2020/src/data/RecordsTable.mjs +0 -267
  438. package/esm2020/src/data/TaskTransactionManager.mjs +0 -103
  439. package/esm2020/src/data/XMLBasedDcValuesBuilder.mjs +0 -74
  440. package/esm2020/src/env/EnvVariablesTable.mjs +0 -340
  441. package/esm2020/src/env/Environment.mjs +0 -489
  442. package/esm2020/src/env/LanguageData.mjs +0 -226
  443. package/esm2020/src/env/MirrorString.mjs +0 -65
  444. package/esm2020/src/event/ActionManager.mjs +0 -91
  445. package/esm2020/src/event/Event.mjs +0 -1333
  446. package/esm2020/src/event/EventHandler.mjs +0 -766
  447. package/esm2020/src/event/EventHandlerPosition.mjs +0 -204
  448. package/esm2020/src/event/EventsManager.mjs +0 -2975
  449. package/esm2020/src/event/RunTimeEvent.mjs +0 -392
  450. package/esm2020/src/event/UserEventsTable.mjs +0 -47
  451. package/esm2020/src/exp/ExpTable.mjs +0 -59
  452. package/esm2020/src/exp/Expression.mjs +0 -200
  453. package/esm2020/src/exp/ExpressionDict.mjs +0 -727
  454. package/esm2020/src/exp/ExpressionEvaluator.mjs +0 -4212
  455. package/esm2020/src/exp/ExpressionLocalJpn.mjs +0 -314
  456. package/esm2020/src/exp/GlobalParamsTable.mjs +0 -85
  457. package/esm2020/src/exp/YesNoExp.mjs +0 -36
  458. package/esm2020/src/gui/CreatedFormVector.mjs +0 -23
  459. package/esm2020/src/gui/FormsTable.mjs +0 -66
  460. package/esm2020/src/gui/MgControl.mjs +0 -353
  461. package/esm2020/src/gui/MgForm.mjs +0 -1181
  462. package/esm2020/src/http/HttpManager.mjs +0 -97
  463. package/esm2020/src/http/client/HttpClientAsync.mjs +0 -67
  464. package/esm2020/src/http/client/HttpClientBase.mjs +0 -132
  465. package/esm2020/src/http/client/HttpClientEvents.mjs +0 -39
  466. package/esm2020/src/http/client/HttpClientSync.mjs +0 -42
  467. package/esm2020/src/http/client/HttpUtility.mjs +0 -84
  468. package/esm2020/src/remote/AddUserLocateRemoteDataViewCommand.mjs +0 -18
  469. package/esm2020/src/remote/AddUserRangeRemoteDataViewCommand.mjs +0 -18
  470. package/esm2020/src/remote/AddUserSortRemoteDataViewCommand.mjs +0 -18
  471. package/esm2020/src/remote/RemoteCommandsProcessor.mjs +0 -880
  472. package/esm2020/src/remote/RemoteControlItemsRefreshCommand.mjs +0 -25
  473. package/esm2020/src/remote/RemoteDataViewCommandBase.mjs +0 -24
  474. package/esm2020/src/remote/RemoteDataViewCommandFactory.mjs +0 -61
  475. package/esm2020/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +0 -17
  476. package/esm2020/src/remote/ResetUserSortRemoteDataviewCommand.mjs +0 -16
  477. package/esm2020/src/remote/ServerError.mjs +0 -40
  478. package/esm2020/src/remote/SetTransactionStateRemoteDataViewCommand.mjs +0 -20
  479. package/esm2020/src/rt/Argument.mjs +0 -265
  480. package/esm2020/src/rt/ArgumentsList.mjs +0 -103
  481. package/esm2020/src/rt/Boundary.mjs +0 -152
  482. package/esm2020/src/rt/CompMainPrgTable.mjs +0 -65
  483. package/esm2020/src/rt/DataviewHeaders.mjs +0 -53
  484. package/esm2020/src/rt/DataviewHeadersSaxHandler.mjs +0 -38
  485. package/esm2020/src/rt/ExecutionStack.mjs +0 -94
  486. package/esm2020/src/rt/HandlersTable.mjs +0 -96
  487. package/esm2020/src/rt/LastFocusedManager.mjs +0 -67
  488. package/esm2020/src/rt/Operation.mjs +0 -735
  489. package/esm2020/src/rt/OperationTable.mjs +0 -67
  490. package/esm2020/src/rt/Recompute.mjs +0 -355
  491. package/esm2020/src/rt/RecomputeTable.mjs +0 -63
  492. package/esm2020/src/rt/RemoteDataviewHeader.mjs +0 -108
  493. package/esm2020/src/rt/ResultValue.mjs +0 -12
  494. package/esm2020/src/rt/TableCache.mjs +0 -177
  495. package/esm2020/src/rt/TableCacheManager.mjs +0 -67
  496. package/esm2020/src/rt/Transaction.mjs +0 -53
  497. package/esm2020/src/security/UserDetails.mjs +0 -71
  498. package/esm2020/src/tasks/MGData.mjs +0 -552
  499. package/esm2020/src/tasks/MGDataCollection.mjs +0 -252
  500. package/esm2020/src/tasks/RCTimer.mjs +0 -63
  501. package/esm2020/src/tasks/RemoteTaskService.mjs +0 -45
  502. package/esm2020/src/tasks/Task.mjs +0 -2495
  503. package/esm2020/src/tasks/TaskBase.mjs +0 -87
  504. package/esm2020/src/tasks/TaskServiceBase.mjs +0 -25
  505. package/esm2020/src/tasks/TasksTable.mjs +0 -80
  506. package/esm2020/src/tasks/sort/Sort.mjs +0 -7
  507. package/esm2020/src/tasks/sort/SortCollection.mjs +0 -67
  508. package/esm2020/src/util/ConstUtils.mjs +0 -14
  509. package/esm2020/src/util/FlowMonitorQueue.mjs +0 -453
  510. package/esm2020/src/util/HeapSort.mjs +0 -70
  511. package/esm2020/src/util/MgPriorityBlockingQueue.mjs +0 -74
  512. package/esm2020/src/util/MgPriorityQueue.mjs +0 -66
  513. package/esm2020/src/util/PrmMap.mjs +0 -151
  514. package/esm2020/src/util/ReturnResult.mjs +0 -46
  515. package/esm2020/src/util/ReturnResultBase.mjs +0 -18
  516. package/esm2020/src/util/Scrambler.mjs +0 -89
  517. package/esm2020/src/util/UniqueIDUtils.mjs +0 -12
  518. package/esm2020/src/util/cookie.service.mjs +0 -92
  519. package/fesm2015/magic-xpa-engine.mjs +0 -30835
  520. package/fesm2015/magic-xpa-engine.mjs.map +0 -1
  521. package/fesm2020/magic-xpa-engine.mjs.map +0 -1
@@ -0,0 +1,1333 @@
1
+ import { ApplicationException, Char, HashUtils, Int32, NNumber, NString, NumberStyles, RefParam, StringBuilder } from '@magic-xpa/mscorelib';
2
+ import { Base64, ForceExit, InternalInterface, Logger, Misc, StorageAttribute, StrUtil, XMLConstants, XmlParser } from '@magic-xpa/utils';
3
+ import { DisplayConvertor, KeyboardItem, Modifiers, RecordUtils, TaskDefinitionIdTableSaxHandler } from '@magic-xpa/gui';
4
+ import { ConstInterface } from '../ConstInterface';
5
+ import { LastFocusedManager } from '../rt/LastFocusedManager';
6
+ import { AccessHelper } from '../AccessHelper';
7
+ export class Event {
8
+ static _lastTimestamp = 0;
9
+ Exp = null;
10
+ _forceExit = ForceExit.None;
11
+ kbdItm = null;
12
+ _paramAttrs = null;
13
+ _paramNulls = null;
14
+ _paramVals = null;
15
+ _parameters = 0;
16
+ _returnExp = 0;
17
+ _seconds = Int32.MinValue;
18
+ _timestamp = 0;
19
+ _type = Char.MinValue;
20
+ _userDefinedFuncName = null;
21
+ _userDefinedFuncNameHashCode = 0;
22
+ _userEvtDesc = '';
23
+ _userEvtIdx = Int32.MinValue;
24
+ InternalEvent = 0;
25
+ PublicName = null;
26
+ UserEvt = null;
27
+ UserEvtTaskTag = null;
28
+ constructor() {
29
+ this.constructor_0();
30
+ }
31
+ constructor_0() {
32
+ this.InternalEvent = Int32.MinValue;
33
+ this.setTimestamp();
34
+ }
35
+ constructor_1(evt) {
36
+ this._type = evt._type;
37
+ this.kbdItm = evt.kbdItm;
38
+ this.InternalEvent = evt.InternalEvent;
39
+ this._seconds = evt._seconds;
40
+ this.Exp = evt.Exp;
41
+ this._forceExit = evt._forceExit;
42
+ this.UserEvt = evt.UserEvt;
43
+ this.UserEvtTaskTag = evt.UserEvtTaskTag;
44
+ this._userEvtIdx = evt._userEvtIdx;
45
+ this._timestamp = 0;
46
+ }
47
+ get ForceExit() {
48
+ return this._forceExit;
49
+ }
50
+ fillData(xmlParser, taskRef) {
51
+ let userValue;
52
+ let endContext = xmlParser.getXMLdata().indexOf(XMLConstants.TAG_CLOSE, xmlParser.getCurrIndex());
53
+ if (endContext !== -1 && endContext < xmlParser.getXMLdata().length) {
54
+ let tag = xmlParser.getXMLsubstring(endContext);
55
+ xmlParser.add2CurrIndex(tag.indexOf(ConstInterface.MG_TAG_EVENT) + ConstInterface.MG_TAG_EVENT.length);
56
+ let tokensVector = XmlParser.getTokens(xmlParser.getXMLsubstring(endContext), XMLConstants.XML_ATTR_DELIM);
57
+ let refUserValue = new RefParam(userValue);
58
+ this.initElements(tokensVector, taskRef, refUserValue);
59
+ userValue = refUserValue.value;
60
+ xmlParser.setCurrIndex(endContext + XMLConstants.TAG_CLOSE.length);
61
+ this.InitInnerObjects(xmlParser);
62
+ if (userValue !== null)
63
+ this.InitUserData(taskRef, userValue);
64
+ }
65
+ else
66
+ Logger.Instance.WriteExceptionToLogWithMsg('in Event.FillData() out of string bounds');
67
+ }
68
+ InitInnerObjects(xmlParser) {
69
+ let nextTag = xmlParser.getNextTag();
70
+ switch (nextTag) {
71
+ case XMLConstants.MG_TAG_TASKDEFINITIONID_ENTRY:
72
+ let xmlBuffer = xmlParser.ReadToEndOfCurrentElement();
73
+ this.InitTaskDefinitionId(xmlBuffer);
74
+ let endContext = xmlParser.getXMLdata().indexOf(ConstInterface.MG_TAG_EVENT + XMLConstants.TAG_CLOSE, xmlParser.getCurrIndex());
75
+ xmlParser.setCurrIndex(endContext + (ConstInterface.MG_TAG_EVENT + XMLConstants.TAG_CLOSE).length);
76
+ break;
77
+ default:
78
+ break;
79
+ }
80
+ }
81
+ initElements(tokensVector, taskRef, refUserValue) {
82
+ let modifier = Modifiers.MODIFIER_NONE;
83
+ let keyCode = -1;
84
+ refUserValue.value = null;
85
+ for (let j = 0; j < tokensVector.length; j += 2) {
86
+ let attribute = (tokensVector.get_Item(j));
87
+ let valueStr = (tokensVector.get_Item(j + 1));
88
+ switch (attribute) {
89
+ case ConstInterface.MG_ATTR_EVENTTYPE:
90
+ this._type = valueStr[0];
91
+ break;
92
+ case ConstInterface.MG_ATTR_MODIFIER:
93
+ modifier = valueStr[0];
94
+ break;
95
+ case ConstInterface.MG_ATTR_INTERNALEVENT:
96
+ this.InternalEvent = XmlParser.getInt(valueStr);
97
+ break;
98
+ case ConstInterface.MG_ATTR_KEYCODE:
99
+ keyCode = XmlParser.getInt(valueStr);
100
+ break;
101
+ case ConstInterface.MG_ATTR_SECONDS:
102
+ this._seconds = XmlParser.getInt(valueStr);
103
+ break;
104
+ case XMLConstants.MG_ATTR_EXP:
105
+ this.Exp = taskRef.getExpById(XmlParser.getInt(valueStr));
106
+ break;
107
+ case ConstInterface.MG_ATTR_FORCE_EXIT:
108
+ this._forceExit = valueStr[0];
109
+ break;
110
+ case ConstInterface.MG_ATTR_DESC:
111
+ this._userEvtDesc = XmlParser.unescape(valueStr);
112
+ break;
113
+ case ConstInterface.MG_ATTR_PUBLIC:
114
+ this.PublicName = XmlParser.unescape(valueStr);
115
+ break;
116
+ case ConstInterface.MG_ATTR_PARAMS:
117
+ this._parameters = XmlParser.getInt(valueStr);
118
+ break;
119
+ case ConstInterface.MG_ATTR_PAR_ATTRS:
120
+ this._paramAttrs = valueStr;
121
+ break;
122
+ case XMLConstants.MG_ATTR_VALUE:
123
+ let paramStr = XmlParser.unescape(valueStr);
124
+ this._paramVals = new Array(this._parameters);
125
+ this.parseParamVal(paramStr);
126
+ break;
127
+ case ConstInterface.MG_ATTR_NULLS:
128
+ this._paramNulls = valueStr;
129
+ break;
130
+ case ConstInterface.MG_ATTR_USER:
131
+ refUserValue.value = valueStr;
132
+ break;
133
+ case XMLConstants.MG_ATTR_NAME:
134
+ this.setUserDefinedFuncName(valueStr);
135
+ break;
136
+ case ConstInterface.MG_TAG_USR_DEF_FUC_RET_EXP_ID:
137
+ this._returnExp = XmlParser.getInt(valueStr);
138
+ break;
139
+ case ConstInterface.MG_TAG_USR_DEF_FUC_RET_EXP_ATTR:
140
+ break;
141
+ default:
142
+ Logger.Instance.WriteExceptionToLogWithMsg(NString.Format('There is no such tag in Event class. Insert case to Event.initElements for {0}', attribute));
143
+ break;
144
+ }
145
+ }
146
+ if (this._type === ConstInterface.EVENT_TYPE_SYSTEM)
147
+ this.kbdItm = new KeyboardItem(keyCode, modifier);
148
+ }
149
+ InitUserData(taskRef, userValue) {
150
+ let comma = userValue.indexOf(',');
151
+ if (comma > -1) {
152
+ let ueTaskId = userValue.substr(0, comma);
153
+ if (taskRef !== null)
154
+ ueTaskId = taskRef.TaskService.GetEventTaskId(ueTaskId);
155
+ let ueTask = AccessHelper.mgDataTable.GetTaskByID(ueTaskId);
156
+ let ueIdx = XmlParser.getInt(userValue.substr(comma + 1));
157
+ if (ueTask !== null) {
158
+ this.UserEvt = ueTask.getUserEvent(ueIdx);
159
+ if (this.UserEvt === null) {
160
+ throw new ApplicationException('in Event.fillData(): user event not found. task id = ' + ueTaskId +
161
+ ', user event index = ' + ueIdx);
162
+ }
163
+ this.UserEvtTaskTag = ueTaskId;
164
+ this._userEvtIdx = ueIdx;
165
+ }
166
+ else {
167
+ this.UserEvtTaskTag = ueTaskId;
168
+ this._userEvtIdx = ueIdx;
169
+ this.UserEvt = null;
170
+ }
171
+ }
172
+ }
173
+ InitTaskDefinitionId(xmlBuffer) {
174
+ let handler = new TaskDefinitionIdTableSaxHandler(this.SetTaskDefinitionId);
175
+ handler.parse(xmlBuffer);
176
+ }
177
+ SetTaskDefinitionId(taskDefinitionId) {
178
+ }
179
+ findUserEvent() {
180
+ if (this._type === ConstInterface.EVENT_TYPE_USER && this.UserEvt === null) {
181
+ let ueTask = AccessHelper.mgDataTable.GetTaskByID(this.UserEvtTaskTag);
182
+ if (ueTask !== null)
183
+ this.UserEvt = ueTask.getUserEvent(this._userEvtIdx);
184
+ if (this.UserEvt === null)
185
+ throw new ApplicationException(NString.Format('in Event.findUserEvent(): user event not found. task id = {0} doesn\'t exist', this.UserEvtTaskTag));
186
+ }
187
+ }
188
+ equals(evt) {
189
+ let bEqual = false;
190
+ if (this === evt)
191
+ bEqual = true;
192
+ else if (this._type === evt._type) {
193
+ switch (this._type) {
194
+ case ConstInterface.EVENT_TYPE_SYSTEM:
195
+ bEqual = this.kbdItm.equals(evt.kbdItm);
196
+ break;
197
+ case ConstInterface.EVENT_TYPE_INTERNAL:
198
+ bEqual = (this.InternalEvent === evt.InternalEvent);
199
+ break;
200
+ case ConstInterface.EVENT_TYPE_TIMER:
201
+ bEqual = (this._seconds === evt._seconds);
202
+ break;
203
+ case ConstInterface.EVENT_TYPE_EXPRESSION:
204
+ case ConstInterface.EVENT_TYPE_PUBLIC:
205
+ bEqual = (this.Exp === evt.Exp);
206
+ break;
207
+ case ConstInterface.EVENT_TYPE_USER:
208
+ bEqual = (this.UserEvt === evt.UserEvt);
209
+ break;
210
+ case ConstInterface.EVENT_TYPE_USER_FUNC:
211
+ if (this._userDefinedFuncNameHashCode === evt.getUserDefinedFuncNameHashCode()) {
212
+ if (NString.Equals(evt.getUserDefinedFuncName(), this._userDefinedFuncName, true))
213
+ bEqual = true;
214
+ }
215
+ break;
216
+ default:
217
+ bEqual = false;
218
+ break;
219
+ }
220
+ }
221
+ if (this._type === ConstInterface.EVENT_TYPE_PUBLIC || evt._type === ConstInterface.EVENT_TYPE_PUBLIC) {
222
+ let name1 = null;
223
+ let name2 = null;
224
+ if (this._type !== ConstInterface.EVENT_TYPE_USER && evt._type !== ConstInterface.EVENT_TYPE_USER)
225
+ bEqual = false;
226
+ else if (this._type === ConstInterface.EVENT_TYPE_PUBLIC) {
227
+ name1 = this.PublicName;
228
+ name2 = evt.getUserEvent().PublicName;
229
+ }
230
+ else {
231
+ name1 = evt.PublicName;
232
+ name2 = this.getUserEvent().PublicName;
233
+ }
234
+ if (name1 === null || name2 === null)
235
+ bEqual = false;
236
+ else
237
+ bEqual = (name1 === name2);
238
+ }
239
+ else if (this._type === ConstInterface.EVENT_TYPE_INTERNAL && evt._type === ConstInterface.EVENT_TYPE_SYSTEM) {
240
+ if (LastFocusedManager.Instance.getCurrTask() !== null && (AccessHelper.eventsManager.getMatchingAction(evt.getKbdItm())) === this.getInternalCode())
241
+ bEqual = true;
242
+ }
243
+ else if (this._type === ConstInterface.EVENT_TYPE_USER && evt._type !== ConstInterface.EVENT_TYPE_USER) {
244
+ this.findUserEvent();
245
+ bEqual = this.UserEvt.equals(evt);
246
+ }
247
+ return bEqual;
248
+ }
249
+ async setPublicName() {
250
+ if (this._type === ConstInterface.EVENT_TYPE_PUBLIC && this.Exp !== null) {
251
+ this.PublicName = (await this.Exp.evaluateWithResLength(255)).mgVal;
252
+ if (this.PublicName !== null)
253
+ this.PublicName = StrUtil.rtrim(this.PublicName);
254
+ }
255
+ }
256
+ setInternal(code) {
257
+ this._type = ConstInterface.EVENT_TYPE_INTERNAL;
258
+ this.InternalEvent = code;
259
+ if (code === InternalInterface.MG_ACT_HIT || code === InternalInterface.MG_ACT_CTRL_HIT)
260
+ LastFocusedManager.Instance.LastActionTime = Misc.getSystemMilliseconds();
261
+ }
262
+ setExpression(expRef) {
263
+ this._type = ConstInterface.EVENT_TYPE_EXPRESSION;
264
+ this.Exp = expRef;
265
+ }
266
+ getExpression() {
267
+ return this.Exp;
268
+ }
269
+ getUsrEvntDesc() {
270
+ return (this.UserEvt !== null) ? this.UserEvt._userEvtDesc : this._userEvtDesc;
271
+ }
272
+ setSystem(keyboardItem) {
273
+ this._type = ConstInterface.EVENT_TYPE_SYSTEM;
274
+ this.kbdItm = keyboardItem;
275
+ }
276
+ setKeyboardItem(keyboardItem) {
277
+ this.kbdItm = keyboardItem;
278
+ }
279
+ getType() {
280
+ return this._type;
281
+ }
282
+ setType(aType) {
283
+ this._type = aType;
284
+ }
285
+ getInternalCode() {
286
+ if (this._type === ConstInterface.EVENT_TYPE_INTERNAL)
287
+ return this.InternalEvent;
288
+ return Int32.MinValue;
289
+ }
290
+ getKbdItm() {
291
+ if (this._type === ConstInterface.EVENT_TYPE_SYSTEM)
292
+ return this.kbdItm;
293
+ return null;
294
+ }
295
+ getKbdItmAlways() {
296
+ return this.kbdItm;
297
+ }
298
+ async dataEventIsTrue() {
299
+ if (this._type !== ConstInterface.EVENT_TYPE_EXPRESSION &&
300
+ !(this._type === ConstInterface.EVENT_TYPE_USER && this.getUserEventType() === ConstInterface.EVENT_TYPE_EXPRESSION))
301
+ return true;
302
+ if (this._type !== ConstInterface.EVENT_TYPE_USER)
303
+ return DisplayConvertor.toBoolean(await this.Exp.evaluateWithResultTypeAndLength(StorageAttribute.BOOLEAN, 0));
304
+ return DisplayConvertor.toBoolean(await this.UserEvt.getExpression().evaluateWithResultTypeAndLength(StorageAttribute.BOOLEAN, 0));
305
+ }
306
+ getSeconds() {
307
+ return this._seconds;
308
+ }
309
+ getBrkLevel(flowMonitor) {
310
+ if (arguments.length === 0) {
311
+ return this.getBrkLevel_0();
312
+ }
313
+ return this.getBrkLevel_1(flowMonitor);
314
+ }
315
+ getBrkLevel_0() {
316
+ return this.getBrkLevel(false);
317
+ }
318
+ getBrkLevel_1(flowMonitor) {
319
+ let level = '';
320
+ switch (this._type) {
321
+ case ConstInterface.EVENT_TYPE_INTERNAL:
322
+ switch (this.InternalEvent) {
323
+ case InternalInterface.MG_ACT_TASK_PREFIX:
324
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_TASK_PREFIX_FM : ConstInterface.BRK_LEVEL_TASK_PREFIX;
325
+ break;
326
+ case InternalInterface.MG_ACT_TASK_SUFFIX:
327
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_TASK_SUFFIX_FM : ConstInterface.BRK_LEVEL_TASK_SUFFIX;
328
+ break;
329
+ case InternalInterface.MG_ACT_REC_PREFIX:
330
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_REC_PREFIX_FM : ConstInterface.BRK_LEVEL_REC_PREFIX;
331
+ break;
332
+ case InternalInterface.MG_ACT_REC_SUFFIX:
333
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_REC_SUFFIX_FM : ConstInterface.BRK_LEVEL_REC_SUFFIX;
334
+ break;
335
+ case InternalInterface.MG_ACT_CTRL_PREFIX:
336
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_CTRL_PREFIX_FM : ConstInterface.BRK_LEVEL_CTRL_PREFIX + '_';
337
+ break;
338
+ case InternalInterface.MG_ACT_CTRL_SUFFIX:
339
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_CTRL_SUFFIX_FM : ConstInterface.BRK_LEVEL_CTRL_SUFFIX + '_';
340
+ break;
341
+ case InternalInterface.MG_ACT_CTRL_VERIFICATION:
342
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_CTRL_VERIFICATION_FM : ConstInterface.BRK_LEVEL_CTRL_VERIFICATION + '_';
343
+ break;
344
+ case InternalInterface.MG_ACT_VARIABLE:
345
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_VARIABLE_FM : ConstInterface.BRK_LEVEL_VARIABLE + '_';
346
+ break;
347
+ default:
348
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_HANDLER_INTERNAL_FM : ConstInterface.BRK_LEVEL_HANDLER_INTERNAL + '_';
349
+ break;
350
+ }
351
+ level += Event.getInternalEvtDescription(this.InternalEvent);
352
+ break;
353
+ case ConstInterface.EVENT_TYPE_SYSTEM:
354
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_HANDLER_SYSTEM_FM : ConstInterface.BRK_LEVEL_HANDLER_SYSTEM + '_';
355
+ level += this.getKeyboardItemString();
356
+ break;
357
+ case ConstInterface.EVENT_TYPE_TIMER:
358
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_HANDLER_TIMER_FM + ' ' + this.seconds2String() : ConstInterface.BRK_LEVEL_HANDLER_TIMER + '_' + this.seconds2String();
359
+ break;
360
+ case ConstInterface.EVENT_TYPE_EXPRESSION:
361
+ level = flowMonitor ? ConstInterface.BRK_LEVEL_HANDLER_EXPRESSION_FM : ConstInterface.BRK_LEVEL_HANDLER_EXPRESSION + '_' + this.Exp.getId();
362
+ break;
363
+ case ConstInterface.EVENT_TYPE_USER:
364
+ level = (flowMonitor ? (ConstInterface.BRK_LEVEL_HANDLER_USER_FM + ': ') : (ConstInterface.BRK_LEVEL_HANDLER_USER + '_')) + (this.UserEvt != null ? this.UserEvt._userEvtDesc : this._userEvtDesc);
365
+ break;
366
+ case ConstInterface.EVENT_TYPE_USER_FUNC:
367
+ level = (flowMonitor ? (ConstInterface.BRK_LEVEL_USER_FUNCTION_FM + ':') : (ConstInterface.BRK_LEVEL_USER_FUNCTION + '_')) + this._userDefinedFuncName;
368
+ break;
369
+ }
370
+ return level;
371
+ }
372
+ static getInternalEvtDescription(internalEventCode) {
373
+ let description;
374
+ switch (internalEventCode) {
375
+ case InternalInterface.MG_ACT_ABOUT:
376
+ description = 'About Magic';
377
+ break;
378
+ case InternalInterface.MG_ACT_ACTION_LIST:
379
+ description = 'Action List';
380
+ break;
381
+ case InternalInterface.MG_ACT_ADD_HYPERLINK:
382
+ description = '';
383
+ break;
384
+ case InternalInterface.MG_ACT_ALIGN_LEFT:
385
+ description = 'Left';
386
+ break;
387
+ case InternalInterface.MG_ACT_ALIGN_RIGHT:
388
+ description = 'Right';
389
+ break;
390
+ case InternalInterface.MG_ACT_APPL_PROPERTIES:
391
+ description = '';
392
+ break;
393
+ case InternalInterface.MG_ACT_APPLICATIONS:
394
+ description = 'Applications';
395
+ break;
396
+ case InternalInterface.MG_ACT_APPLICATIONS_LIST:
397
+ description = 'Applications List';
398
+ break;
399
+ case InternalInterface.MG_ACT_ATTACH_TO_TABLE:
400
+ description = 'Attach to Table';
401
+ break;
402
+ case InternalInterface.MG_ACT_AUTHORIZE:
403
+ description = 'Authorize';
404
+ break;
405
+ case InternalInterface.MG_ACT_EDT_BEGFLD:
406
+ description = 'Begin Field';
407
+ break;
408
+ case InternalInterface.MG_ACT_EDT_BEGFORM:
409
+ description = 'Begin Form';
410
+ break;
411
+ case InternalInterface.MG_ACT_EDT_BEGLINE:
412
+ description = 'Begin Line';
413
+ break;
414
+ case InternalInterface.MG_ACT_EDT_BEGNXTLINE:
415
+ description = 'Begin Next Line';
416
+ break;
417
+ case InternalInterface.MG_ACT_EDT_BEGPAGE:
418
+ description = 'Begin Page';
419
+ break;
420
+ case InternalInterface.MG_ACT_TBL_BEGLINE:
421
+ description = 'Begin Row';
422
+ break;
423
+ case InternalInterface.MG_ACT_TBL_BEGPAGE:
424
+ description = 'Begin Screen';
425
+ break;
426
+ case InternalInterface.MG_ACT_TBL_BEGTBL:
427
+ description = 'Begin table';
428
+ break;
429
+ case InternalInterface.MG_ACT_BOTTOM:
430
+ description = 'Bottom';
431
+ break;
432
+ case InternalInterface.MG_ACT_BULLET:
433
+ description = 'Bullet';
434
+ break;
435
+ case InternalInterface.MG_ACT_BUTTON:
436
+ description = 'Button Press';
437
+ break;
438
+ case InternalInterface.MG_ACT_CANCEL:
439
+ description = 'Cancel';
440
+ break;
441
+ case InternalInterface.MG_ACT_RT_QUIT:
442
+ description = 'Quit';
443
+ break;
444
+ case InternalInterface.MG_ACT_CENTER:
445
+ description = 'Center';
446
+ break;
447
+ case InternalInterface.MG_ACT_CHECK_SYNTAX:
448
+ description = 'Check Syntax';
449
+ break;
450
+ case InternalInterface.MG_ACT_CHECK_TO_END:
451
+ description = 'Check to End';
452
+ break;
453
+ case InternalInterface.MG_ACT_CLEAR_TEMPLATE:
454
+ description = 'Clear Template';
455
+ break;
456
+ case InternalInterface.MG_ACT_CLEAR_VALUE:
457
+ description = 'Clear Value';
458
+ break;
459
+ case InternalInterface.MG_ACT_CLOSE:
460
+ description = 'Close';
461
+ break;
462
+ case InternalInterface.MG_ACT_ACT_CLOSE_APPL:
463
+ description = 'Close Application';
464
+ break;
465
+ case InternalInterface.MG_ACT_COMMUNICATIONS:
466
+ description = 'Communications';
467
+ break;
468
+ case InternalInterface.MG_ACT_COMPONENTS:
469
+ description = 'Components';
470
+ break;
471
+ case InternalInterface.MG_ACT_CTRL_HIT:
472
+ description = 'Control Hit';
473
+ break;
474
+ case InternalInterface.MG_ACT_CONTROL_NAME_LIST:
475
+ description = 'Control Name List';
476
+ break;
477
+ case InternalInterface.MG_ACT_CLIP_COPY:
478
+ description = 'Copy';
479
+ break;
480
+ case InternalInterface.MG_ACT_COPY_LAYOUT:
481
+ description = 'Copy Layout';
482
+ break;
483
+ case InternalInterface.MG_ACT_COPY_SUBTREE:
484
+ description = 'Copy Subtree';
485
+ break;
486
+ case InternalInterface.MG_ACT_CRELINE:
487
+ description = 'Create Line';
488
+ break;
489
+ case InternalInterface.MG_ACT_CRELINE_ABOVE:
490
+ description = 'Create Line Above';
491
+ break;
492
+ case InternalInterface.MG_ACT_CREATE_PARENT:
493
+ description = 'Create Parent';
494
+ break;
495
+ case InternalInterface.MG_ACT_RTO_CREATE:
496
+ description = 'Create Records';
497
+ break;
498
+ case InternalInterface.MG_ACT_CREATE_SUBTASK:
499
+ description = 'Create Subtask';
500
+ break;
501
+ case InternalInterface.MG_ACT_CROSS_REFERENCE:
502
+ description = 'Cross Reference';
503
+ break;
504
+ case InternalInterface.MG_ACT_CUT:
505
+ description = 'Cut';
506
+ break;
507
+ case InternalInterface.MG_ACT_DB_TABLES:
508
+ description = '';
509
+ break;
510
+ case InternalInterface.MG_ACT_DBMS:
511
+ description = 'DBMS';
512
+ break;
513
+ case InternalInterface.MG_ACT_DDF_MAKE:
514
+ description = 'DDF Make';
515
+ break;
516
+ case InternalInterface.MG_ACT_DATABASES:
517
+ description = 'Databases';
518
+ break;
519
+ case InternalInterface.MG_ACT_DEFAULT_LAYOUT:
520
+ description = 'Default Layout';
521
+ break;
522
+ case InternalInterface.MG_ACT_DEFINE_EXPRESSION:
523
+ description = 'Define Expression';
524
+ break;
525
+ case InternalInterface.MG_ACT_EDT_DELCURCH:
526
+ description = 'Current Char';
527
+ break;
528
+ case InternalInterface.MG_ACT_EDT_DELPRVCH:
529
+ description = 'Previous Char';
530
+ break;
531
+ case InternalInterface.MG_ACT_DELETE_HYPERLINK:
532
+ description = 'Delete Hyperlink';
533
+ break;
534
+ case InternalInterface.MG_ACT_DELLINE:
535
+ description = 'Delete Line';
536
+ break;
537
+ case InternalInterface.MG_ACT_DELETE_SUBTREE:
538
+ description = 'Delete Subtree';
539
+ break;
540
+ case InternalInterface.MG_ACT_RT_COPYFLD:
541
+ description = 'Ditto';
542
+ break;
543
+ case InternalInterface.MG_ACT_DISPLAY_REFRESH:
544
+ description = 'Display Refresh';
545
+ break;
546
+ case InternalInterface.MG_ACT_EDIT_MAIN_FORM:
547
+ description = 'Edit Main Form';
548
+ break;
549
+ case InternalInterface.MG_ACT_EDT_ENDFLD:
550
+ description = 'End Field';
551
+ break;
552
+ case InternalInterface.MG_ACT_EDT_ENDFORM:
553
+ description = 'End Form';
554
+ break;
555
+ case InternalInterface.MG_ACT_EDT_ENDLINE:
556
+ description = 'End Line';
557
+ break;
558
+ case InternalInterface.MG_ACT_EDT_ENDPAGE:
559
+ description = 'End Page';
560
+ break;
561
+ case InternalInterface.MG_ACT_TBL_ENDLINE:
562
+ description = 'End Row';
563
+ break;
564
+ case InternalInterface.MG_ACT_TBL_ENDPAGE:
565
+ description = 'End Screen';
566
+ break;
567
+ case InternalInterface.MG_ACT_TBL_ENDTBL:
568
+ description = 'End Table';
569
+ break;
570
+ case InternalInterface.MG_ACT_ENVIRONMENT:
571
+ description = 'Environment';
572
+ break;
573
+ case InternalInterface.MG_ACT_EXECUTE_PROGRAM:
574
+ description = 'Execute Program';
575
+ break;
576
+ case InternalInterface.MG_ACT_EXECUTE_REPORT:
577
+ description = 'Execute Report';
578
+ break;
579
+ case InternalInterface.MG_ACT_EXIT:
580
+ description = 'Exit';
581
+ break;
582
+ case InternalInterface.MG_ACT_EXIT_SYSTEM:
583
+ description = 'Exit System';
584
+ break;
585
+ case InternalInterface.MG_ACT_EXPORT_IMPORT:
586
+ description = 'Export/Import';
587
+ break;
588
+ case InternalInterface.MG_ACT_EXPRESSION_RULES:
589
+ description = 'Expression rules';
590
+ break;
591
+ case InternalInterface.MG_ACT_EXTERNAL_EDITOR:
592
+ description = 'External Editor';
593
+ break;
594
+ case InternalInterface.MG_ACT_EXT_EVENT:
595
+ description = 'External Event';
596
+ break;
597
+ case InternalInterface.MG_ACT_FORMS:
598
+ description = 'Forms';
599
+ break;
600
+ case InternalInterface.MG_ACT_FROM_VALUE:
601
+ description = 'From Value';
602
+ break;
603
+ case InternalInterface.MG_ACT_FUNCTION_LIST:
604
+ description = 'Function List';
605
+ break;
606
+ case InternalInterface.MG_ACT_GENERATE_FORM:
607
+ description = 'Generate Form';
608
+ break;
609
+ case InternalInterface.MG_ACT_GENERATE_PROGRAM:
610
+ description = 'Generate Program';
611
+ break;
612
+ case InternalInterface.MG_ACT_GO_TO_TOP:
613
+ description = 'Go to Top';
614
+ break;
615
+ case InternalInterface.MG_ACT_H_CENTER_OF_FORM:
616
+ description = '';
617
+ break;
618
+ case InternalInterface.MG_ACT_HTML_STYLES:
619
+ description = 'HTML Styles';
620
+ break;
621
+ case InternalInterface.MG_ACT_HELP:
622
+ description = 'Help';
623
+ break;
624
+ case InternalInterface.MG_ACT_HELP_SCREENS:
625
+ description = 'Help Screens';
626
+ break;
627
+ case InternalInterface.MG_ACT_HORIZ_CENTER:
628
+ description = 'Horiz. Center';
629
+ break;
630
+ case InternalInterface.MG_ACT_I_O_FILES:
631
+ description = 'Tables';
632
+ break;
633
+ case InternalInterface.MG_ACT_INDENT:
634
+ description = 'Indent';
635
+ break;
636
+ case InternalInterface.MG_ACT_INSERT_OBJECT:
637
+ description = 'Insert Object';
638
+ break;
639
+ case InternalInterface.MG_ACT_JUMP_TO_ROW:
640
+ description = 'Jump to Row';
641
+ break;
642
+ case InternalInterface.MG_ACT_KEYBOARD_LIST:
643
+ description = 'Keyboard List';
644
+ break;
645
+ case InternalInterface.MG_ACT_KEYBOARD_MAPPING:
646
+ description = 'Keyboard Mapping';
647
+ break;
648
+ case InternalInterface.MG_ACT_LANGUAGES:
649
+ description = 'languages';
650
+ break;
651
+ case InternalInterface.MG_ACT_RTO_SEARCH:
652
+ description = 'Locate Next';
653
+ break;
654
+ case InternalInterface.MG_ACT_RTO_LOCATE:
655
+ description = 'Locate a Record';
656
+ break;
657
+ case InternalInterface.MG_ACT_LOGICALPNAMES:
658
+ description = '';
659
+ break;
660
+ case InternalInterface.MG_ACT_LOGON:
661
+ description = 'Logon';
662
+ break;
663
+ case InternalInterface.MG_ACT_USING_HELP:
664
+ description = 'Help Topics';
665
+ break;
666
+ case InternalInterface.MG_ACT_EDT_MARKNXTCH:
667
+ description = 'Mark Next Char';
668
+ break;
669
+ case InternalInterface.MG_ACT_MARK_NEXT_LINE:
670
+ description = 'Mark Next Line MLE';
671
+ break;
672
+ case InternalInterface.MG_ACT_EDT_MARKPRVCH:
673
+ description = 'Mark Previous Char';
674
+ break;
675
+ case InternalInterface.MG_ACT_EDT_MARKPRVLINE:
676
+ description = 'Mark Previous Line MLE';
677
+ break;
678
+ case InternalInterface.MG_ACT_MARK_SUBTREE:
679
+ description = '';
680
+ break;
681
+ case InternalInterface.MG_ACT_EDT_MARKTOBEG:
682
+ description = 'Mark To Beginning';
683
+ break;
684
+ case InternalInterface.MG_ACT_EDT_MARKTOEND:
685
+ description = 'Mark To End';
686
+ break;
687
+ case InternalInterface.MG_ACT_MAXIMUM_HEIGHT:
688
+ description = 'Maximum Height';
689
+ break;
690
+ case InternalInterface.MG_ACT_MAXIMUM_WIDTH:
691
+ description = 'Maximum Width';
692
+ break;
693
+ case InternalInterface.MG_ACT_MENU_BAR:
694
+ description = 'Menu Bar';
695
+ break;
696
+ case InternalInterface.MG_ACT_MENUS:
697
+ description = '';
698
+ break;
699
+ case InternalInterface.MG_ACT_MINIMUM_HEIGHT:
700
+ description = 'Minimum Height';
701
+ break;
702
+ case InternalInterface.MG_ACT_MINIMUM_WIDTH:
703
+ description = 'Minimum Width';
704
+ break;
705
+ case InternalInterface.MG_ACT_RTO_MODIFY:
706
+ description = 'Modify Records';
707
+ break;
708
+ case InternalInterface.MG_ACT_MONITOR_DEBUGGER:
709
+ description = 'Monitor/Debugger';
710
+ break;
711
+ case InternalInterface.MG_ACT_MOVE_ENTRY:
712
+ description = 'Move Entry';
713
+ break;
714
+ case InternalInterface.MG_ACT_MOVE_SUBTREE:
715
+ description = 'Move Subtree';
716
+ break;
717
+ case InternalInterface.MG_ACT_NULL_SETTINGS:
718
+ description = 'NULL Settings';
719
+ break;
720
+ case InternalInterface.MG_ACT_EDT_NXTCHAR:
721
+ description = 'Next Char';
722
+ break;
723
+ case InternalInterface.MG_ACT_EDT_NXTLINE:
724
+ description = 'Next Line';
725
+ break;
726
+ case InternalInterface.MG_ACT_EDT_NXTPAGE:
727
+ description = 'Next Page';
728
+ break;
729
+ case InternalInterface.MG_ACT_TBL_NXTLINE:
730
+ description = 'Next Row';
731
+ break;
732
+ case InternalInterface.MG_ACT_TBL_NXTPAGE:
733
+ description = 'Next Screen';
734
+ break;
735
+ case InternalInterface.MG_ACT_EDT_NXTTAB:
736
+ description = 'Next Tab';
737
+ break;
738
+ case InternalInterface.MG_ACT_EDT_NXTWORD:
739
+ description = 'Next Word';
740
+ break;
741
+ case InternalInterface.MG_ACT_NORMAL:
742
+ description = 'Normal';
743
+ break;
744
+ case InternalInterface.MG_ACT_OK:
745
+ description = 'OK';
746
+ break;
747
+ case InternalInterface.MG_ACT_OLE2:
748
+ description = 'OLE2';
749
+ break;
750
+ case InternalInterface.MG_ACT_OPEN_APPLICATION:
751
+ description = 'Open Application';
752
+ break;
753
+ case InternalInterface.MG_ACT_OVERWRITE_ENTRY:
754
+ description = 'Overwrite Entry';
755
+ break;
756
+ case InternalInterface.MG_ACT_OVERWRITE_SUBTREE:
757
+ description = 'Overwrite Subtree';
758
+ break;
759
+ case InternalInterface.MG_ACT_PPD:
760
+ description = 'PPD';
761
+ break;
762
+ case InternalInterface.MG_ACT_PAGE_FOOTER:
763
+ description = 'Page Footer';
764
+ break;
765
+ case InternalInterface.MG_ACT_PAGE_HEADER:
766
+ description = 'Page Header';
767
+ break;
768
+ case InternalInterface.MG_ACT_CLIP_PASTE:
769
+ description = 'Paste';
770
+ break;
771
+ case InternalInterface.MG_ACT_PASTE_LINK:
772
+ description = 'Paste Link';
773
+ break;
774
+ case InternalInterface.MG_ACT_PASTE_SUBTREE:
775
+ description = 'Paste Subtree';
776
+ break;
777
+ case InternalInterface.MG_ACT_EDT_PRVCHAR:
778
+ description = 'Previous Char';
779
+ break;
780
+ case InternalInterface.MG_ACT_EDT_PRVLINE:
781
+ description = 'Previous Line';
782
+ break;
783
+ case InternalInterface.MG_ACT_EDT_PRVPAGE:
784
+ description = 'Previous Page';
785
+ break;
786
+ case InternalInterface.MG_ACT_TBL_PRVLINE:
787
+ description = 'Previous Row';
788
+ break;
789
+ case InternalInterface.MG_ACT_TBL_PRVPAGE:
790
+ description = 'Previous Screen';
791
+ break;
792
+ case InternalInterface.MG_ACT_EDT_PRVTAB:
793
+ description = 'Previous Tab';
794
+ break;
795
+ case InternalInterface.MG_ACT_EDT_PRVWORD:
796
+ description = 'Previous Word';
797
+ break;
798
+ case InternalInterface.MG_ACT_PRINT_ATTRIBUTES:
799
+ description = 'Print Attributes';
800
+ break;
801
+ case InternalInterface.MG_ACT_PRINTER_SETUP:
802
+ description = 'Printer Setup';
803
+ break;
804
+ case InternalInterface.MG_ACT_PRINTERS:
805
+ description = 'Printers';
806
+ break;
807
+ case InternalInterface.MG_ACT_PROGRAMS:
808
+ description = 'Programs';
809
+ break;
810
+ case InternalInterface.MG_ACT_PROPERTIES:
811
+ description = 'Properties';
812
+ break;
813
+ case InternalInterface.MG_ACT_RTO_QUERY:
814
+ description = 'Query Records';
815
+ break;
816
+ case InternalInterface.MG_ACT_RTO_RANGE:
817
+ description = 'Range of Records';
818
+ break;
819
+ case InternalInterface.MG_ACT_RT_REFRESH_RECORD:
820
+ description = 'Record Flush';
821
+ break;
822
+ case InternalInterface.MG_ACT_REDIRECT_FILES:
823
+ description = 'Redirect Files';
824
+ break;
825
+ case InternalInterface.MG_ACT_REDRAW_LAYOUT:
826
+ description = '';
827
+ break;
828
+ case InternalInterface.MG_ACT_REPEAT_ENTRY:
829
+ description = 'Repeat Entry';
830
+ break;
831
+ case InternalInterface.MG_ACT_REPEAT_SUBTREE:
832
+ description = 'Repeat Subtree';
833
+ break;
834
+ case InternalInterface.MG_ACT_REPORT_GENERATOR:
835
+ description = '';
836
+ break;
837
+ case InternalInterface.MG_ACT_RESTORE_DEFAULTS:
838
+ description = 'Restore Defaults';
839
+ break;
840
+ case InternalInterface.MG_ACT_RETURN_TO_TREE:
841
+ description = '';
842
+ break;
843
+ case InternalInterface.MG_ACT_RIGHT:
844
+ description = 'Right';
845
+ break;
846
+ case InternalInterface.MG_ACT_RIGHTS:
847
+ description = '';
848
+ break;
849
+ case InternalInterface.MG_ACT_RIGHTS_LIST:
850
+ description = 'Rights List';
851
+ break;
852
+ case InternalInterface.MG_ACT_SQL_ASSIST:
853
+ description = 'SQL Assist';
854
+ break;
855
+ case InternalInterface.MG_ACT_SQL_COLUMNS:
856
+ description = 'SQL Columns';
857
+ break;
858
+ case InternalInterface.MG_ACT_SQL_COMMAND:
859
+ description = 'SQL Command';
860
+ break;
861
+ case InternalInterface.MG_ACT_SQL_FLIP_DESC:
862
+ description = 'SQL Flip Desc.';
863
+ break;
864
+ case InternalInterface.MG_ACT_SQL_KEYWORDS:
865
+ description = 'SQL Keywords';
866
+ break;
867
+ case InternalInterface.MG_ACT_SQL_OPERATORS:
868
+ description = 'SQL Operators';
869
+ break;
870
+ case InternalInterface.MG_ACT_SQL_TABLES:
871
+ description = 'SQL Tables';
872
+ break;
873
+ case InternalInterface.MG_ACT_SQL_WHERE_CLAUSE:
874
+ description = '';
875
+ break;
876
+ case InternalInterface.MG_ACT_RT_REFRESH_SCREEN:
877
+ description = 'Screen Refresh';
878
+ break;
879
+ case InternalInterface.MG_ACT_SECRET_NAMES:
880
+ description = 'Secret Names';
881
+ break;
882
+ case InternalInterface.MG_ACT_SELECT:
883
+ description = 'Select';
884
+ break;
885
+ case InternalInterface.MG_ACT_EDT_MARKALL:
886
+ description = 'Select All';
887
+ break;
888
+ case InternalInterface.MG_ACT_SERVERS:
889
+ description = '';
890
+ break;
891
+ case InternalInterface.MG_ACT_SERVICES:
892
+ description = '';
893
+ break;
894
+ case InternalInterface.MG_ACT_RT_EDT_NULL:
895
+ description = 'Set to NULL';
896
+ break;
897
+ case InternalInterface.MG_ACT_SHELL_TO_OS:
898
+ description = 'Shell to OS';
899
+ break;
900
+ case InternalInterface.MG_ACT_SHOW_EXPRESSION:
901
+ description = 'Show Expression';
902
+ break;
903
+ case InternalInterface.MG_ACT_SHOW_FULL_LAYOUT:
904
+ description = '';
905
+ break;
906
+ case InternalInterface.MG_ACT_SHRINK_TREE:
907
+ description = '';
908
+ break;
909
+ case InternalInterface.MG_ACT_SORT:
910
+ description = 'Sort';
911
+ break;
912
+ case InternalInterface.MG_ACT_SORT_RECORDS:
913
+ description = 'Sort Records';
914
+ break;
915
+ case InternalInterface.MG_ACT_TABLE_LOCATE:
916
+ description = 'Table Locate';
917
+ break;
918
+ case InternalInterface.MG_ACT_TABLE_LOCATE_NEXT:
919
+ description = 'Table Locate Next';
920
+ break;
921
+ case InternalInterface.MG_ACT_TABLES:
922
+ description = '';
923
+ break;
924
+ case InternalInterface.MG_ACT_TASK_CONTROL:
925
+ description = '';
926
+ break;
927
+ case InternalInterface.MG_ACT_TASK_EVENTS:
928
+ description = '';
929
+ break;
930
+ case InternalInterface.MG_ACT_TO_VALUE:
931
+ description = 'To Value';
932
+ break;
933
+ case InternalInterface.MG_ACT_TOOLKIT_RUNTIME:
934
+ description = 'Toolkit/Runtime';
935
+ break;
936
+ case InternalInterface.MG_ACT_TOP:
937
+ description = 'Top';
938
+ break;
939
+ case InternalInterface.MG_ACT_TYPES:
940
+ description = '';
941
+ break;
942
+ case InternalInterface.MG_ACT_EDT_UNDO:
943
+ description = 'Undo Editing';
944
+ break;
945
+ case InternalInterface.MG_ACT_UNINDENT:
946
+ description = 'Unindent';
947
+ break;
948
+ case InternalInterface.MG_ACT_UPDATE_LINK:
949
+ description = '';
950
+ break;
951
+ case InternalInterface.MG_ACT_USER_ACTION_1:
952
+ case InternalInterface.MG_ACT_USER_ACTION_2:
953
+ case InternalInterface.MG_ACT_USER_ACTION_3:
954
+ case InternalInterface.MG_ACT_USER_ACTION_4:
955
+ case InternalInterface.MG_ACT_USER_ACTION_5:
956
+ case InternalInterface.MG_ACT_USER_ACTION_6:
957
+ case InternalInterface.MG_ACT_USER_ACTION_7:
958
+ case InternalInterface.MG_ACT_USER_ACTION_8:
959
+ case InternalInterface.MG_ACT_USER_ACTION_9:
960
+ case InternalInterface.MG_ACT_USER_ACTION_10:
961
+ case InternalInterface.MG_ACT_USER_ACTION_11:
962
+ case InternalInterface.MG_ACT_USER_ACTION_12:
963
+ case InternalInterface.MG_ACT_USER_ACTION_13:
964
+ case InternalInterface.MG_ACT_USER_ACTION_14:
965
+ case InternalInterface.MG_ACT_USER_ACTION_15:
966
+ case InternalInterface.MG_ACT_USER_ACTION_16:
967
+ case InternalInterface.MG_ACT_USER_ACTION_17:
968
+ case InternalInterface.MG_ACT_USER_ACTION_18:
969
+ case InternalInterface.MG_ACT_USER_ACTION_19:
970
+ case InternalInterface.MG_ACT_USER_ACTION_20:
971
+ description = 'User Action ' + (internalEventCode - InternalInterface.MG_ACT_USER_ACTION_1 + 1);
972
+ break;
973
+ case InternalInterface.MG_ACT_USER_GROUPS:
974
+ description = '';
975
+ break;
976
+ case InternalInterface.MG_ACT_USER_IDS:
977
+ description = 'User IDs';
978
+ break;
979
+ case InternalInterface.MG_ACT_V_CENTER_OF_FORM:
980
+ description = 'Center of Form';
981
+ break;
982
+ case InternalInterface.MG_ACT_VERTICAL_CENTER:
983
+ description = 'Vertical Center';
984
+ break;
985
+ case InternalInterface.MG_ACT_VIEW_BY_KEY:
986
+ description = 'View by Key';
987
+ break;
988
+ case InternalInterface.MG_ACT_RT_REFRESH_VIEW:
989
+ description = 'View Refresh';
990
+ break;
991
+ case InternalInterface.MG_ACT_VIRTUAL_VARIABLES:
992
+ description = 'Variables';
993
+ break;
994
+ case InternalInterface.MG_ACT_VISUAL_CONNECTION:
995
+ description = 'Visual Connection';
996
+ break;
997
+ case InternalInterface.MG_ACT_HIT:
998
+ description = 'Window Hit';
999
+ break;
1000
+ case InternalInterface.MG_ACT_WINMOVE:
1001
+ description = 'Window Reposition';
1002
+ break;
1003
+ case InternalInterface.MG_ACT_WINSIZE:
1004
+ description = 'Window Resize';
1005
+ break;
1006
+ case InternalInterface.MG_ACT_ZOOM:
1007
+ description = 'Zoom';
1008
+ break;
1009
+ case InternalInterface.MG_ACT_LOCKING_DETAILS:
1010
+ description = 'Locking Details';
1011
+ break;
1012
+ case InternalInterface.MG_ACT_LOCKING_ABORT:
1013
+ description = 'Locking Abort';
1014
+ break;
1015
+ case InternalInterface.MG_ACT_LOCKING_RETRY:
1016
+ description = 'Locking Retry';
1017
+ break;
1018
+ case InternalInterface.MG_ACT_CHECK_OBJECT_LIST:
1019
+ description = 'Check Object List';
1020
+ break;
1021
+ case InternalInterface.MG_ACT_USERS_LIST:
1022
+ description = 'Users List';
1023
+ break;
1024
+ case InternalInterface.MG_ACT_MODELS:
1025
+ description = 'Models';
1026
+ break;
1027
+ case InternalInterface.MG_ACT_WEB_CLICK:
1028
+ description = 'Click';
1029
+ break;
1030
+ case InternalInterface.MG_ACT_WEB_ON_DBLICK:
1031
+ description = 'DblClick';
1032
+ break;
1033
+ case InternalInterface.MG_ACT_BROWSER_ESC:
1034
+ description = 'Esc';
1035
+ break;
1036
+ case InternalInterface.MG_ACT_ROLLBACK:
1037
+ description = 'Rollback';
1038
+ break;
1039
+ case InternalInterface.MG_ACT_EMPTY_DATAVIEW:
1040
+ description = 'Empty Dataview';
1041
+ break;
1042
+ case InternalInterface.MG_ACT_CTRL_MODIFY:
1043
+ description = 'Control Modify';
1044
+ break;
1045
+ case InternalInterface.MG_ACT_PRINT_DATA:
1046
+ description = 'Print Data';
1047
+ break;
1048
+ case InternalInterface.MG_ACT_POST_REFRESH_BY_PARENT:
1049
+ description = 'Post Refresh by Parent';
1050
+ break;
1051
+ case InternalInterface.MG_ACT_SWITCH_TO_OFFLINE:
1052
+ description = 'Switch To Offline';
1053
+ break;
1054
+ case InternalInterface.MG_ACT_UNAVAILABLE_SERVER:
1055
+ description = 'Unavailable Server';
1056
+ break;
1057
+ case InternalInterface.MG_ACT_CONTEXT_MENU:
1058
+ description = 'Context Menu';
1059
+ break;
1060
+ case InternalInterface.MG_ACT_ENTER_ROW_EDITING:
1061
+ description = 'Enter Row Editing';
1062
+ break;
1063
+ case InternalInterface.MG_ACT_NO_PROG_EXE_RIGHTS:
1064
+ description = 'No Program Execution Rights';
1065
+ break;
1066
+ case InternalInterface.MG_ACT_WEBCLIENT_ROUTE:
1067
+ description = 'Route';
1068
+ break;
1069
+ case InternalInterface.MG_ACT_COL_SORT:
1070
+ description = 'Column Sort';
1071
+ break;
1072
+ case InternalInterface.MG_ACT_ROW_DATA_CURR_PAGE:
1073
+ description = 'Get Rows';
1074
+ break;
1075
+ case InternalInterface.MG_ACT_SUBFORM_CLOSE:
1076
+ description = 'Subform Close';
1077
+ break;
1078
+ case InternalInterface.MG_ACT_SUBFORM_REFRESH:
1079
+ description = 'Subform Refresh';
1080
+ break;
1081
+ case InternalInterface.MG_ACT_SUBFORM_OPEN:
1082
+ description = 'Subform Open';
1083
+ break;
1084
+ case InternalInterface.MG_ACT_COMPUTE:
1085
+ description = 'Compute';
1086
+ break;
1087
+ case InternalInterface.MG_ACT_CACHE_NEXT:
1088
+ description = 'Get Next Data';
1089
+ break;
1090
+ case InternalInterface.MG_ACT_CACHE_PREV:
1091
+ description = 'Get Previous Data';
1092
+ break;
1093
+ case InternalInterface.MG_ACT_FETCH_DATA_CONTROL_VALUES:
1094
+ description = 'Fetch data control values';
1095
+ break;
1096
+ case InternalInterface.MG_ACT_INDEX_CHANGE:
1097
+ description = 'Index Change';
1098
+ break;
1099
+ case InternalInterface.MG_ACT_DUMP_ENVIRONMENT:
1100
+ description = 'Dump Environment';
1101
+ break;
1102
+ default:
1103
+ description = '';
1104
+ break;
1105
+ }
1106
+ return description;
1107
+ }
1108
+ getUserEventType() {
1109
+ if (this.UserEvt === null)
1110
+ return ConstInterface.EVENT_TYPE_NOTINITED;
1111
+ return this.UserEvt.getType();
1112
+ }
1113
+ getSecondsOfUserEvent() {
1114
+ return this.UserEvt.getSeconds();
1115
+ }
1116
+ getUserEvent() {
1117
+ return this.UserEvt;
1118
+ }
1119
+ getKeyboardItemString() {
1120
+ let kbi = this.getKbdItm();
1121
+ if (kbi === null)
1122
+ return '';
1123
+ return kbi.ToString();
1124
+ }
1125
+ seconds2String() {
1126
+ let time = new Array(3);
1127
+ let buffer = '';
1128
+ time[0] = Math.floor(this._seconds / 3600);
1129
+ time[1] = Math.floor((this._seconds - time[0] * 3600) / 60);
1130
+ time[2] = this._seconds % 60;
1131
+ for (let i = 0; i < time.length; i++) {
1132
+ if (time[i] === 0)
1133
+ buffer += '00';
1134
+ else if (time[i] < 10)
1135
+ buffer += ('0' + time[i]);
1136
+ else
1137
+ buffer += time[i];
1138
+ if (i < time.length - 1)
1139
+ buffer += ':';
1140
+ }
1141
+ return buffer;
1142
+ }
1143
+ parseParamVal(valueStr) {
1144
+ let startOfs = 0, endOfs = 0, nLen, j;
1145
+ let sLen, sValue = null;
1146
+ for (j = 0; j < this._parameters; j++) {
1147
+ switch (this._paramAttrs[j]) {
1148
+ case StorageAttribute.SKIP:
1149
+ sValue = '';
1150
+ break;
1151
+ case StorageAttribute.ALPHA:
1152
+ case StorageAttribute.BLOB_VECTOR:
1153
+ case StorageAttribute.BLOB:
1154
+ case StorageAttribute.MEMO:
1155
+ case StorageAttribute.UNICODE:
1156
+ endOfs = startOfs + 4;
1157
+ sLen = valueStr.substr(startOfs, (endOfs) - (startOfs));
1158
+ nLen = NNumber.Parse(sLen, NumberStyles.HexNumber);
1159
+ startOfs = endOfs;
1160
+ if (AccessHelper.environment.GetDebugLevel() > 1 || this._paramAttrs[j] === StorageAttribute.ALPHA || this._paramAttrs[j] === StorageAttribute.UNICODE || this._paramAttrs[j] === StorageAttribute.MEMO) {
1161
+ if ((nLen & 0x8000) > 0) {
1162
+ nLen = (nLen & 0x7FFF);
1163
+ nLen *= 2;
1164
+ let res = new StringBuilder();
1165
+ endOfs += RecordUtils.getSpannedField(valueStr, nLen, startOfs, this._paramAttrs[j], res, true);
1166
+ valueStr = res.ToString();
1167
+ }
1168
+ else {
1169
+ endOfs = startOfs + nLen;
1170
+ sValue = valueStr.substr(startOfs, (endOfs) - (startOfs));
1171
+ }
1172
+ }
1173
+ else {
1174
+ if ((nLen & 0x8000) > 0) {
1175
+ nLen = (nLen & 0x7FFF);
1176
+ nLen = Math.floor((nLen + 2) / 3) * 4;
1177
+ let res = new StringBuilder();
1178
+ endOfs += RecordUtils.getSpannedField(valueStr, nLen, startOfs, this._paramAttrs[j], res, false);
1179
+ sValue = res.ToString();
1180
+ }
1181
+ else {
1182
+ endOfs = startOfs + Math.floor((nLen + 2) / 3) * 4;
1183
+ sValue = Base64.decode(valueStr.substr(startOfs, (endOfs) - (startOfs)));
1184
+ }
1185
+ }
1186
+ break;
1187
+ case StorageAttribute.NUMERIC:
1188
+ case StorageAttribute.DATE:
1189
+ case StorageAttribute.TIME:
1190
+ if (AccessHelper.environment.GetDebugLevel() > 1) {
1191
+ endOfs = startOfs + AccessHelper.environment.GetSignificantNumSize() * 2;
1192
+ sValue = valueStr.substr(startOfs, (endOfs) - (startOfs));
1193
+ }
1194
+ else {
1195
+ endOfs = startOfs + (Math.floor((AccessHelper.environment.GetSignificantNumSize() + 2) / 3) * 4);
1196
+ sValue = Base64.decodeToHex(valueStr.substr(startOfs, (endOfs) - (startOfs)));
1197
+ }
1198
+ break;
1199
+ case StorageAttribute.BOOLEAN:
1200
+ endOfs = startOfs + 1;
1201
+ sValue = valueStr.substr(startOfs, (endOfs) - (startOfs));
1202
+ break;
1203
+ }
1204
+ this._paramVals[j] = sValue;
1205
+ startOfs = endOfs;
1206
+ }
1207
+ return endOfs;
1208
+ }
1209
+ getParamNum() {
1210
+ return this._parameters;
1211
+ }
1212
+ isControlHeader() {
1213
+ return this.getType() == ConstInterface.EVENT_TYPE_INTERNAL &&
1214
+ (this.getInternalCode() == InternalInterface.MG_ACT_CTRL_PREFIX ||
1215
+ this.getInternalCode() == InternalInterface.MG_ACT_CTRL_SUFFIX ||
1216
+ this.getInternalCode() == InternalInterface.MG_ACT_CTRL_VERIFICATION);
1217
+ }
1218
+ isVariableHeader() {
1219
+ return this.getType() == ConstInterface.EVENT_TYPE_INTERNAL &&
1220
+ this.getInternalCode() == InternalInterface.MG_ACT_VARIABLE;
1221
+ }
1222
+ AppendDescription(buffer) {
1223
+ switch (this._type) {
1224
+ case ConstInterface.EVENT_TYPE_INTERNAL:
1225
+ buffer.Append(Event.getInternalEvtDescription(this.InternalEvent));
1226
+ break;
1227
+ case ConstInterface.EVENT_TYPE_SYSTEM:
1228
+ buffer.Append(this.getKeyboardItemString());
1229
+ break;
1230
+ case ConstInterface.EVENT_TYPE_USER:
1231
+ buffer.Append(this.getUsrEvntDesc());
1232
+ break;
1233
+ case ConstInterface.EVENT_TYPE_USER_FUNC:
1234
+ buffer.Append(this._userDefinedFuncName);
1235
+ break;
1236
+ case ConstInterface.EVENT_TYPE_TIMER:
1237
+ buffer.Append(this.seconds2String());
1238
+ break;
1239
+ case ConstInterface.EVENT_TYPE_EXPRESSION:
1240
+ buffer.Append('ID ' + this.Exp.getId().toString());
1241
+ break;
1242
+ default:
1243
+ buffer.Append('unknown event type ');
1244
+ break;
1245
+ }
1246
+ }
1247
+ isNewInternalEvent() {
1248
+ return this.InternalEvent >= 1001 && this.InternalEvent <= 1008;
1249
+ }
1250
+ getNewInternalEventDescription() {
1251
+ let eventDesc = NString.Empty;
1252
+ switch (this.InternalEvent) {
1253
+ case InternalInterface.MG_ACT_TASK_PREFIX:
1254
+ eventDesc = ConstInterface.BRK_LEVEL_TASK_PREFIX_FM;
1255
+ break;
1256
+ case InternalInterface.MG_ACT_TASK_SUFFIX:
1257
+ eventDesc = ConstInterface.BRK_LEVEL_TASK_SUFFIX_FM;
1258
+ break;
1259
+ case InternalInterface.MG_ACT_REC_PREFIX:
1260
+ eventDesc = ConstInterface.BRK_LEVEL_REC_PREFIX_FM;
1261
+ break;
1262
+ case InternalInterface.MG_ACT_REC_SUFFIX:
1263
+ eventDesc = ConstInterface.BRK_LEVEL_REC_SUFFIX_FM;
1264
+ break;
1265
+ case InternalInterface.MG_ACT_CTRL_PREFIX:
1266
+ eventDesc = ConstInterface.BRK_LEVEL_CTRL_PREFIX_FM;
1267
+ break;
1268
+ case InternalInterface.MG_ACT_CTRL_SUFFIX:
1269
+ eventDesc = ConstInterface.BRK_LEVEL_CTRL_SUFFIX_FM;
1270
+ break;
1271
+ case InternalInterface.MG_ACT_CTRL_VERIFICATION:
1272
+ eventDesc = ConstInterface.BRK_LEVEL_CTRL_VERIFICATION_FM;
1273
+ break;
1274
+ case InternalInterface.MG_ACT_VARIABLE:
1275
+ eventDesc = ConstInterface.BRK_LEVEL_VARIABLE_FM;
1276
+ break;
1277
+ }
1278
+ return eventDesc;
1279
+ }
1280
+ getEventType() {
1281
+ return this.isNewInternalEvent()
1282
+ ? NString.TrimEnd(this.getNewInternalEventDescription())
1283
+ : this.getEventTypeString();
1284
+ }
1285
+ getEventTypeString() {
1286
+ let eventType;
1287
+ switch (this.getType()) {
1288
+ case ConstInterface.EVENT_TYPE_INTERNAL:
1289
+ eventType = 'Internal Event:';
1290
+ break;
1291
+ case ConstInterface.EVENT_TYPE_SYSTEM:
1292
+ eventType = 'System Event:';
1293
+ break;
1294
+ case ConstInterface.EVENT_TYPE_EXPRESSION:
1295
+ eventType = 'Expression Event:';
1296
+ break;
1297
+ case ConstInterface.EVENT_TYPE_TIMER:
1298
+ eventType = 'Timer Event:';
1299
+ break;
1300
+ case ConstInterface.EVENT_TYPE_USER:
1301
+ eventType = 'User Event:';
1302
+ break;
1303
+ default:
1304
+ eventType = '';
1305
+ break;
1306
+ }
1307
+ return eventType;
1308
+ }
1309
+ setUserDefinedFuncName(name) {
1310
+ this._userDefinedFuncName = name;
1311
+ let functionNameUpper = this._userDefinedFuncName.toUpperCase();
1312
+ this._userDefinedFuncNameHashCode = HashUtils.GetHashCode(functionNameUpper);
1313
+ }
1314
+ getUserDefinedFuncName() {
1315
+ return this._userDefinedFuncName;
1316
+ }
1317
+ getUserDefinedFuncNameHashCode() {
1318
+ return this._userDefinedFuncNameHashCode;
1319
+ }
1320
+ getUserDefinedFuncRetExp() {
1321
+ return this._returnExp;
1322
+ }
1323
+ setTimestamp() {
1324
+ this._timestamp = Event._lastTimestamp++;
1325
+ }
1326
+ getTimestamp() {
1327
+ return this._timestamp;
1328
+ }
1329
+ toString() {
1330
+ return NString.Format('{{Event: {0}}}', this.getBrkLevel());
1331
+ }
1332
+ }
1333
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXZlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL2V2ZW50L0V2ZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJB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gICAgZGVzY3JpcHRpb24gPSAnTG9jYXRlIGEgUmVjb3JkJztcclxuICAgICAgICBicmVhaztcclxuXHJcbiAgICAgIGNhc2UgSW50ZXJuYWxJbnRlcmZhY2UuTUdfQUNUX0xPR0lDQUxQTkFNRVM6XHJcbiAgICAgICAgZGVzY3JpcHRpb24gPSAnJztcclxuICAgICAgICBicmVhaztcclxuXHJcbiAgICAgIGNhc2UgSW50ZXJuYWxJbnRlcmZhY2UuTUdfQUNUX0xPR09OOlxyXG4gICAgICAgIGRlc2NyaXB0aW9uID0gJ0xvZ29uJztcclxuICAgICAgICBicmVhaztcclxuXHJcbiAgICAgIGNhc2UgSW50ZXJuYWxJbnRlcmZhY2UuTUdfQUNUX1VTSU5HX0hFTFA6XHJcbiAgICAgICAgZGVzY3JpcHRpb24gPSAnSGVscCBUb3BpY3MnO1xyXG4gICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgY2FzZSBJbnRlcm5hbEludGVyZmFjZS5NR19BQ1RfRURUX01BUktOWFRDSDpcclxuICAgICAgICBkZXNjcmlwdGlvbiA9ICdNYXJrIE5leHQgQ2hhcic7XHJcbiAgICAgICAgYnJlYWs7XHJcblxyXG4gICAgICBjYXNlIEludGVybmFsSW50ZXJmYWNlLk1HX0FDVF9NQVJLX05FWFRfTElORTpcclxuICAgICAgICBkZXNjcmlwdGlvbiA9ICdNYXJrIE5leHQgTGluZSBNTEUnO1xyXG4gICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgY2FzZSBJbnRlcm5hbEludGVyZmFjZS5NR19BQ1RfRURUX01BUktQUlZDSDpcclxuICAgICAgICBkZXNjcmlwdGlvbiA9ICdNYXJrIFByZXZpb3VzIENoYXInO1xyXG4gICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgY2FzZSBJbnRlcm5hbEludGVyZmFjZS5NR19BQ1RfRURUX01BUktQUlZMSU5FOlxyXG4gICAgICAgIGRlc2NyaXB0aW9uID0gJ01hcmsgUHJldmlvdXMgTGluZS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