@magic-xpa/engine 4.1100.0-dev4110.20 → 4.1100.0-dev4110.202

Sign up to get free protection for your applications and to get access to all the features.
Files changed (515) 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 +409 -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 +157 -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/{esm2020 → esm2022}/src/bridge/MagicBridge.mjs +40 -40
  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/{esm2020 → esm2022}/src/commands/ClientToServer/BrowserEscEventCommand.mjs +23 -23
  23. package/{esm2020 → esm2022}/src/commands/ClientToServer/ClientOriginatedCommand.mjs +14 -14
  24. package/esm2022/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +60 -0
  25. package/{esm2020 → esm2022}/src/commands/ClientToServer/ColumnSortEventCommand.mjs +26 -26
  26. package/esm2022/src/commands/ClientToServer/CommandFactory.mjs +260 -0
  27. package/esm2022/src/commands/ClientToServer/CommandSerializationHelper.mjs +67 -0
  28. package/{esm2020 → esm2022}/src/commands/ClientToServer/ComputeEventCommand.mjs +23 -23
  29. package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTerminationEventCommand.mjs +20 -20
  30. package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTimeoutResetCommand.mjs +19 -19
  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 +37 -0
  35. package/esm2022/src/commands/ClientToServer/EventCommand.mjs +40 -0
  36. package/esm2022/src/commands/ClientToServer/ExecOperCommand.mjs +67 -0
  37. package/esm2022/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +22 -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/{esm2020 → esm2022}/src/commands/ClientToServer/IndexChangeEventCommand.mjs +21 -21
  41. package/esm2022/src/commands/ClientToServer/IniputForceWriteCommand.mjs +23 -0
  42. package/{esm2020 → esm2022}/src/commands/ClientToServer/NonReversibleExitEventCommand.mjs +23 -23
  43. package/{esm2020 → esm2022}/src/commands/ClientToServer/QueryCommand.mjs +20 -20
  44. package/esm2022/src/commands/ClientToServer/RecomputeCommand.mjs +27 -0
  45. package/esm2022/src/commands/ClientToServer/RefreshEventCommand.mjs +27 -0
  46. package/esm2022/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +24 -0
  47. package/esm2022/src/commands/ClientToServer/RollbackEventCommand.mjs +40 -0
  48. package/{esm2020 → esm2022}/src/commands/ClientToServer/SelectProgramCommand.mjs +14 -14
  49. package/{esm2020 → esm2022}/src/commands/ClientToServer/SetTransactionStateDataviewCommand.mjs +9 -9
  50. package/{esm2020 → esm2022}/src/commands/ClientToServer/SubformOpenEventCommand.mjs +21 -21
  51. package/esm2022/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +24 -0
  52. package/esm2022/src/commands/ClientToServer/TransactionCommand.mjs +30 -0
  53. package/{esm2020 → esm2022}/src/commands/ClientToServer/UnloadCommand.mjs +14 -14
  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 +1 -1
  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 +866 -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 +103 -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 +1181 -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 +882 -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 +2498 -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 +29750 -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 +34 -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 +8 -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 +10 -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 +8 -8
  220. package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +7 -7
  221. package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +7 -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 +15 -15
  226. package/src/commands/ClientToServer/EventCommand.d.ts +15 -15
  227. package/src/commands/ClientToServer/ExecOperCommand.d.ts +23 -23
  228. package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +8 -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 +8 -8
  232. package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +10 -10
  233. package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +8 -8
  234. package/src/commands/ClientToServer/QueryCommand.d.ts +8 -8
  235. package/src/commands/ClientToServer/RecomputeCommand.d.ts +11 -11
  236. package/src/commands/ClientToServer/RefreshEventCommand.d.ts +12 -12
  237. package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +10 -10
  238. package/src/commands/ClientToServer/RollbackEventCommand.d.ts +14 -14
  239. package/src/commands/ClientToServer/SelectProgramCommand.d.ts +6 -6
  240. package/src/commands/ClientToServer/SetTransactionStateDataviewCommand.d.ts +5 -5
  241. package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +8 -8
  242. package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +9 -9
  243. package/src/commands/ClientToServer/TransactionCommand.d.ts +12 -12
  244. package/src/commands/ClientToServer/UnloadCommand.d.ts +7 -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 +3 -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 +156 -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 +93 -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/commands/ClientOriginatedCommandTaskTag.mjs +0 -11
  393. package/esm2020/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +0 -60
  394. package/esm2020/src/commands/ClientToServer/CommandFactory.mjs +0 -260
  395. package/esm2020/src/commands/ClientToServer/CommandSerializationHelper.mjs +0 -69
  396. package/esm2020/src/commands/ClientToServer/DataViewOutputCommand.mjs +0 -13
  397. package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +0 -36
  398. package/esm2020/src/commands/ClientToServer/EventCommand.mjs +0 -40
  399. package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +0 -67
  400. package/esm2020/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +0 -22
  401. package/esm2020/src/commands/ClientToServer/IniputForceWriteCommand.mjs +0 -23
  402. package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +0 -27
  403. package/esm2020/src/commands/ClientToServer/RefreshEventCommand.mjs +0 -27
  404. package/esm2020/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +0 -24
  405. package/esm2020/src/commands/ClientToServer/RollbackEventCommand.mjs +0 -39
  406. package/esm2020/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +0 -24
  407. package/esm2020/src/commands/ClientToServer/TransactionCommand.mjs +0 -28
  408. package/esm2020/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +0 -18
  409. package/esm2020/src/commands/DataViewCommandBase.mjs +0 -10
  410. package/esm2020/src/commands/IClientTargetedCommand.mjs +0 -9
  411. package/esm2020/src/commands/ServerToClient/AbortCommand.mjs +0 -65
  412. package/esm2020/src/commands/ServerToClient/AddRangeCommand.mjs +0 -62
  413. package/esm2020/src/commands/ServerToClient/AddSortCommand.mjs +0 -33
  414. package/esm2020/src/commands/ServerToClient/ClientRefreshCommand.mjs +0 -25
  415. package/esm2020/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +0 -27
  416. package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +0 -45
  417. package/esm2020/src/commands/ServerToClient/OpenURLCommand.mjs +0 -221
  418. package/esm2020/src/commands/ServerToClient/ResultCommand.mjs +0 -37
  419. package/esm2020/src/commands/ServerToClient/VerifyCommand.mjs +0 -83
  420. package/esm2020/src/commands/ServerToClient/XMLBasedCommandBuilder.mjs +0 -132
  421. package/esm2020/src/communications/InteractiveCommunicationsFailureHandler.mjs +0 -17
  422. package/esm2020/src/data/DataView.mjs +0 -1610
  423. package/esm2020/src/data/DataviewManager.mjs +0 -28
  424. package/esm2020/src/data/DataviewManagerBase.mjs +0 -15
  425. package/esm2020/src/data/DvCache.mjs +0 -67
  426. package/esm2020/src/data/Field.mjs +0 -646
  427. package/esm2020/src/data/FieldBase.mjs +0 -18
  428. package/esm2020/src/data/FieldsTable.mjs +0 -103
  429. package/esm2020/src/data/Key.mjs +0 -88
  430. package/esm2020/src/data/Record.mjs +0 -846
  431. package/esm2020/src/data/RecordsTable.mjs +0 -267
  432. package/esm2020/src/data/TaskTransactionManager.mjs +0 -103
  433. package/esm2020/src/data/XMLBasedDcValuesBuilder.mjs +0 -74
  434. package/esm2020/src/env/EnvVariablesTable.mjs +0 -340
  435. package/esm2020/src/env/Environment.mjs +0 -489
  436. package/esm2020/src/env/LanguageData.mjs +0 -226
  437. package/esm2020/src/env/MirrorString.mjs +0 -65
  438. package/esm2020/src/event/ActionManager.mjs +0 -91
  439. package/esm2020/src/event/Event.mjs +0 -1333
  440. package/esm2020/src/event/EventHandler.mjs +0 -766
  441. package/esm2020/src/event/EventHandlerPosition.mjs +0 -204
  442. package/esm2020/src/event/EventsManager.mjs +0 -2975
  443. package/esm2020/src/event/RunTimeEvent.mjs +0 -392
  444. package/esm2020/src/event/UserEventsTable.mjs +0 -47
  445. package/esm2020/src/exp/ExpTable.mjs +0 -59
  446. package/esm2020/src/exp/Expression.mjs +0 -200
  447. package/esm2020/src/exp/ExpressionDict.mjs +0 -727
  448. package/esm2020/src/exp/ExpressionEvaluator.mjs +0 -4212
  449. package/esm2020/src/exp/ExpressionLocalJpn.mjs +0 -314
  450. package/esm2020/src/exp/GlobalParamsTable.mjs +0 -85
  451. package/esm2020/src/exp/YesNoExp.mjs +0 -36
  452. package/esm2020/src/gui/CreatedFormVector.mjs +0 -23
  453. package/esm2020/src/gui/FormsTable.mjs +0 -66
  454. package/esm2020/src/gui/MgControl.mjs +0 -353
  455. package/esm2020/src/gui/MgForm.mjs +0 -1181
  456. package/esm2020/src/http/HttpManager.mjs +0 -97
  457. package/esm2020/src/http/client/HttpClientAsync.mjs +0 -67
  458. package/esm2020/src/http/client/HttpClientBase.mjs +0 -132
  459. package/esm2020/src/http/client/HttpClientEvents.mjs +0 -39
  460. package/esm2020/src/http/client/HttpClientSync.mjs +0 -42
  461. package/esm2020/src/http/client/HttpUtility.mjs +0 -84
  462. package/esm2020/src/remote/AddUserLocateRemoteDataViewCommand.mjs +0 -18
  463. package/esm2020/src/remote/AddUserRangeRemoteDataViewCommand.mjs +0 -18
  464. package/esm2020/src/remote/AddUserSortRemoteDataViewCommand.mjs +0 -18
  465. package/esm2020/src/remote/RemoteCommandsProcessor.mjs +0 -880
  466. package/esm2020/src/remote/RemoteControlItemsRefreshCommand.mjs +0 -25
  467. package/esm2020/src/remote/RemoteDataViewCommandBase.mjs +0 -24
  468. package/esm2020/src/remote/RemoteDataViewCommandFactory.mjs +0 -61
  469. package/esm2020/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +0 -17
  470. package/esm2020/src/remote/ResetUserSortRemoteDataviewCommand.mjs +0 -16
  471. package/esm2020/src/remote/ServerError.mjs +0 -40
  472. package/esm2020/src/remote/SetTransactionStateRemoteDataViewCommand.mjs +0 -20
  473. package/esm2020/src/rt/Argument.mjs +0 -265
  474. package/esm2020/src/rt/ArgumentsList.mjs +0 -103
  475. package/esm2020/src/rt/Boundary.mjs +0 -152
  476. package/esm2020/src/rt/CompMainPrgTable.mjs +0 -65
  477. package/esm2020/src/rt/DataviewHeaders.mjs +0 -53
  478. package/esm2020/src/rt/DataviewHeadersSaxHandler.mjs +0 -38
  479. package/esm2020/src/rt/ExecutionStack.mjs +0 -94
  480. package/esm2020/src/rt/HandlersTable.mjs +0 -96
  481. package/esm2020/src/rt/LastFocusedManager.mjs +0 -67
  482. package/esm2020/src/rt/Operation.mjs +0 -735
  483. package/esm2020/src/rt/OperationTable.mjs +0 -67
  484. package/esm2020/src/rt/Recompute.mjs +0 -355
  485. package/esm2020/src/rt/RecomputeTable.mjs +0 -63
  486. package/esm2020/src/rt/RemoteDataviewHeader.mjs +0 -108
  487. package/esm2020/src/rt/ResultValue.mjs +0 -12
  488. package/esm2020/src/rt/TableCache.mjs +0 -177
  489. package/esm2020/src/rt/TableCacheManager.mjs +0 -67
  490. package/esm2020/src/rt/Transaction.mjs +0 -53
  491. package/esm2020/src/security/UserDetails.mjs +0 -71
  492. package/esm2020/src/tasks/MGData.mjs +0 -552
  493. package/esm2020/src/tasks/MGDataCollection.mjs +0 -252
  494. package/esm2020/src/tasks/RCTimer.mjs +0 -63
  495. package/esm2020/src/tasks/RemoteTaskService.mjs +0 -45
  496. package/esm2020/src/tasks/Task.mjs +0 -2495
  497. package/esm2020/src/tasks/TaskBase.mjs +0 -87
  498. package/esm2020/src/tasks/TaskServiceBase.mjs +0 -25
  499. package/esm2020/src/tasks/TasksTable.mjs +0 -80
  500. package/esm2020/src/tasks/sort/Sort.mjs +0 -7
  501. package/esm2020/src/tasks/sort/SortCollection.mjs +0 -67
  502. package/esm2020/src/util/ConstUtils.mjs +0 -14
  503. package/esm2020/src/util/FlowMonitorQueue.mjs +0 -453
  504. package/esm2020/src/util/HeapSort.mjs +0 -70
  505. package/esm2020/src/util/MgPriorityBlockingQueue.mjs +0 -74
  506. package/esm2020/src/util/MgPriorityQueue.mjs +0 -66
  507. package/esm2020/src/util/PrmMap.mjs +0 -151
  508. package/esm2020/src/util/ReturnResult.mjs +0 -46
  509. package/esm2020/src/util/ReturnResultBase.mjs +0 -18
  510. package/esm2020/src/util/Scrambler.mjs +0 -89
  511. package/esm2020/src/util/UniqueIDUtils.mjs +0 -12
  512. package/esm2020/src/util/cookie.service.mjs +0 -92
  513. package/fesm2015/magic-xpa-engine.mjs +0 -30835
  514. package/fesm2015/magic-xpa-engine.mjs.map +0 -1
  515. package/fesm2020/magic-xpa-engine.mjs.map +0 -1
@@ -0,0 +1,487 @@
1
+ import { DisplayConvertor } from '@magic-xpa/gui';
2
+ import { Debug, Encoding, Hashtable, NString } from '@magic-xpa/mscorelib';
3
+ import { Constants, Logger, OSEnvironment, UtilDateJpn, UtilStrByteMode, XMLConstants, XmlParser } from '@magic-xpa/utils';
4
+ import { CommandsProcessorManager } from '../CommandsProcessorManager';
5
+ import { ConstInterface } from '../ConstInterface';
6
+ import { ServerConfig } from '../ServerConfig';
7
+ import { AccessHelper } from '../AccessHelper';
8
+ export class Environment {
9
+ _environments = new Hashtable();
10
+ _contextInactivityTimeout = 0;
11
+ _clientContextInactivityTimeout = 0;
12
+ _contextInactivityWarningTime = 0;
13
+ _toolitipTimeout = 0;
14
+ _contextUnloadTimeout = 0;
15
+ _canReplaceDecimalSeparator = false;
16
+ _codePage = 0;
17
+ _dateSeparator = '\0';
18
+ _decimalSeparator = '\0';
19
+ _thousandsSeparator = '\0';
20
+ _timeSeparator = '\0';
21
+ _guid = null;
22
+ _imeAutoOff = false;
23
+ _language = '\0';
24
+ _localAs400Set = false;
25
+ _localExtraGengo = null;
26
+ _localFlags = null;
27
+ _lowHigh = true;
28
+ _owner = null;
29
+ _debugMode = 0;
30
+ _significantNumSize = 0;
31
+ _specialAnsiExpression = false;
32
+ _specialImmediatehandlerEnd = false;
33
+ _specialShowStatusBarPanes = false;
34
+ _specialRouteToRootProgOnContextRecreation = false;
35
+ _specialCancelOnCreate = false;
36
+ _system = null;
37
+ _terminal = 0;
38
+ _forwardSlash = Constants.ForwardSlashWebUsage;
39
+ _dropUserFormats = null;
40
+ _webclientReinitSession = "N";
41
+ _specialValNewPolicy = false;
42
+ static Instance = new Environment();
43
+ get Language() {
44
+ return this._language;
45
+ }
46
+ IgnoreReplaceDecimalSeparator = false;
47
+ get SpecialRestoreMaximizedForm() {
48
+ return false;
49
+ }
50
+ set ForwardSlashUsage(value) {
51
+ this._forwardSlash = value;
52
+ }
53
+ get ForwardSlashUsage() {
54
+ return this._forwardSlash;
55
+ }
56
+ fillData(tokensVectorOrParser) {
57
+ if (arguments[0] instanceof XmlParser) {
58
+ this.fillData_0(tokensVectorOrParser);
59
+ return;
60
+ }
61
+ this.fillData_1(tokensVectorOrParser);
62
+ }
63
+ fillData_0(parser) {
64
+ let endContext = parser.getXMLdata().indexOf(XMLConstants.TAG_TERM, parser.getCurrIndex());
65
+ if (endContext !== -1 && endContext < parser.getXMLdata().length) {
66
+ let tag = parser.getXMLsubstring(endContext);
67
+ parser.add2CurrIndex(tag.indexOf(ConstInterface.MG_TAG_ENV) + ConstInterface.MG_TAG_ENV.length);
68
+ let tokensVector = XmlParser.getTokens(parser.getXMLsubstring(endContext), XMLConstants.XML_ATTR_DELIM);
69
+ this.fillData(tokensVector);
70
+ parser.setCurrIndex(endContext + XMLConstants.TAG_TERM.length);
71
+ }
72
+ else
73
+ Logger.Instance.WriteExceptionToLogWithMsg("in Environment.FillData() out of string bounds");
74
+ }
75
+ fillData_1(tokensVector) {
76
+ let attribute;
77
+ let valueStr;
78
+ let hashKey;
79
+ let env;
80
+ env = new EnvironmentDetails();
81
+ for (let j = 0; j < tokensVector.length; j += 2) {
82
+ attribute = (tokensVector.get_Item(j));
83
+ valueStr = (tokensVector.get_Item(j + 1));
84
+ valueStr = XmlParser.unescape(valueStr);
85
+ switch (attribute) {
86
+ case ConstInterface.MG_ATTR_THOUSANDS:
87
+ this._thousandsSeparator = valueStr[0];
88
+ break;
89
+ case ConstInterface.MG_ATTR_DECIMAL_SEPARATOR:
90
+ this._decimalSeparator = valueStr[0];
91
+ break;
92
+ case ConstInterface.MG_ATTR_WEBCLIENT_REINIT_SESSION:
93
+ this._webclientReinitSession = valueStr[0];
94
+ break;
95
+ case ConstInterface.MG_ATTR_DATE:
96
+ this._dateSeparator = valueStr[0];
97
+ DisplayConvertor.Instance.setDateChar(this._dateSeparator.charCodeAt(0));
98
+ break;
99
+ case ConstInterface.MG_ATTR_TIME:
100
+ this._timeSeparator = valueStr[0];
101
+ break;
102
+ case ConstInterface.MG_ATTR_OWNER:
103
+ this._owner = valueStr;
104
+ break;
105
+ case ConstInterface.MG_ATTR_SIGNIFICANT_NUM_SIZE:
106
+ this._significantNumSize = XmlParser.getInt(valueStr);
107
+ break;
108
+ case ConstInterface.MG_ATTR_DEBUG_MODE:
109
+ this._debugMode = XmlParser.getInt(valueStr);
110
+ break;
111
+ case ConstInterface.MG_ATTR_POINT_TRANSLATION:
112
+ this._canReplaceDecimalSeparator = XmlParser.getBoolean(valueStr);
113
+ break;
114
+ case ConstInterface.MG_ATTR_SPECIAL_EXITCTRL:
115
+ break;
116
+ case ConstInterface.MG_ATTR_LOWHIGH:
117
+ this._lowHigh = XmlParser.getBoolean(valueStr);
118
+ break;
119
+ case ConstInterface.MG_ATTR_ACCESS_TEST:
120
+ break;
121
+ case ConstInterface.MG_ATTR_SPECIAL_TEXT_SIZE_FACTORING:
122
+ break;
123
+ case ConstInterface.MG_ATTR_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME:
124
+ break;
125
+ case ConstInterface.MG_ATTR_ENCODING:
126
+ if (valueStr !== " ") {
127
+ this._codePage = XmlParser.getInt(valueStr);
128
+ UtilStrByteMode.Encoding = this.GetEncoding();
129
+ }
130
+ break;
131
+ case ConstInterface.MG_ATTR_SYSTEM:
132
+ this._system = XmlParser.unescape(valueStr);
133
+ break;
134
+ case ConstInterface.MG_ATTR_COMPONENT:
135
+ env.CompIdx = XmlParser.getInt(valueStr);
136
+ break;
137
+ case ConstInterface.MG_ATTR_DATEMODE:
138
+ env.DateMode = valueStr[0];
139
+ break;
140
+ case ConstInterface.MG_ATTR_CENTURY:
141
+ env.Century = XmlParser.getInt(valueStr);
142
+ break;
143
+ case ConstInterface.MG_ATTR_IDLETIME:
144
+ env.IdleTime = XmlParser.getInt(valueStr);
145
+ if (env.IdleTime === 0)
146
+ env.IdleTime = 1;
147
+ break;
148
+ case ConstInterface.MG_ATTR_UPD_IN_QUERY:
149
+ env.UpdateInQueryMode = XmlParser.getBoolean(valueStr);
150
+ break;
151
+ case ConstInterface.MG_ATTR_CRE_IN_MODIFY:
152
+ env.CreateInModifyMode = XmlParser.getBoolean(valueStr);
153
+ break;
154
+ case ConstInterface.MG_ATTR_DEFAULT_COLOR:
155
+ break;
156
+ case ConstInterface.MG_ATTR_DEFAULT_FOCUS_COLOR:
157
+ break;
158
+ case ConstInterface.MG_ATTR_CONTEXT_INACTIVITY_TIMEOUT:
159
+ this._contextInactivityTimeout = XmlParser.getInt(valueStr);
160
+ break;
161
+ case ConstInterface.MG_ATTR_CLIENT_CONTEXT_INACTIVITY_TIMEOUT:
162
+ this._clientContextInactivityTimeout = XmlParser.getInt(valueStr);
163
+ break;
164
+ case ConstInterface.MG_ATTR_CONTEXT_INACTIVITY_WARNING_TIME:
165
+ this._contextInactivityWarningTime = XmlParser.getInt(valueStr);
166
+ break;
167
+ case ConstInterface.MG_ATTR_TOOLTIP_TIMEOUT:
168
+ this._toolitipTimeout = XmlParser.getInt(valueStr);
169
+ break;
170
+ case ConstInterface.MG_ATTR_CONTEXT_UNLOAD_TIMEOUT:
171
+ this._contextUnloadTimeout = XmlParser.getInt(valueStr);
172
+ break;
173
+ case ConstInterface.MG_ATTR_IME_AUTO_OFF:
174
+ this._imeAutoOff = XmlParser.getBoolean(valueStr);
175
+ break;
176
+ case ConstInterface.MG_ATTR_LOCAL_AS400SET:
177
+ this._localAs400Set = XmlParser.getBoolean(valueStr);
178
+ break;
179
+ case ConstInterface.MG_ATTR_LOCAL_EXTRA_GENGO:
180
+ this._localExtraGengo = valueStr;
181
+ UtilDateJpn.getInstance().addExtraGengo(this._localExtraGengo);
182
+ break;
183
+ case ConstInterface.MG_ATTR_LOCAL_FLAGS:
184
+ this._localFlags = valueStr;
185
+ break;
186
+ case ConstInterface.MG_ATTR_SPECIAL_IMMEDIATE_HANDLER_END:
187
+ this._specialImmediatehandlerEnd = XmlParser.getBoolean(valueStr);
188
+ break;
189
+ case ConstInterface.MG_ATTR_SPEACIAL_ANSI_EXP:
190
+ this._specialAnsiExpression = XmlParser.getBoolean(valueStr);
191
+ break;
192
+ case ConstInterface.MG_ATTR_SPECIAL_SHOW_STATUSBAR_PANES:
193
+ this._specialShowStatusBarPanes = XmlParser.getBoolean(valueStr);
194
+ break;
195
+ case ConstInterface.MG_ATTR_SPECIAL_ROUTE_TO_ROOT_PROG_ON_CONTEXT_RECREATION:
196
+ this._specialRouteToRootProgOnContextRecreation = XmlParser.getBoolean(valueStr);
197
+ break;
198
+ case ConstInterface.MG_ATTR_SPECIAL_SPECIAL_EDIT_LEFT_ALIGN:
199
+ break;
200
+ case ConstInterface.MG_ATTR_SPEACIAL_SWF_CONTROL_NAME:
201
+ break;
202
+ case ConstInterface.MG_ATTR_LANGUAGE:
203
+ this._language = valueStr[0];
204
+ break;
205
+ case ConstInterface.MG_ATTR_USERID:
206
+ break;
207
+ case ConstInterface.MG_TAG_USERNAME:
208
+ ServerConfig.Instance.setUsername(valueStr);
209
+ break;
210
+ case ConstInterface.MG_ATTR_TERMINAL:
211
+ this._terminal = XmlParser.getInt(valueStr);
212
+ break;
213
+ case ConstInterface.MG_ATTR_USERINFO:
214
+ break;
215
+ case ConstInterface.MG_ATTR_GUID:
216
+ this._guid = valueStr;
217
+ break;
218
+ case ConstInterface.MG_ATTR_CONTROLS_PERSISTENCY_PATH:
219
+ break;
220
+ case ConstInterface.MG_ATTR_PROJDIR:
221
+ env.ProjDir = valueStr;
222
+ break;
223
+ case ConstInterface.MG_ATTR_DROP_USERFORMATS:
224
+ this._dropUserFormats = valueStr;
225
+ break;
226
+ case ConstInterface.MG_ATTR_SPECIAL_VAL_NEW_POLICY:
227
+ this._specialValNewPolicy = XmlParser.getBoolean(valueStr);
228
+ break;
229
+ case ConstInterface.MG_ATTR_SPECIAL_CANCEL_ON_CREATE:
230
+ this._specialCancelOnCreate = XmlParser.getBoolean(valueStr);
231
+ break;
232
+ case ConstInterface.MG_ATTR_SPECIAL_LEGACY_TRIM_RANGE:
233
+ case ConstInterface.MG_ATTR_SPECIAL_LEGACY_EMPTY_RANGE:
234
+ case ConstInterface.MG_ATTR_DEFAULT_DISABLED_COLOR:
235
+ case ConstInterface.MG_ATTR_SPECIAL_ANSI_BLOB_CHECK_NULL:
236
+ case ConstInterface.MG_ATTR_SPECIAL_TABLE_REDUCE_TITLE_HEIGHT:
237
+ case ConstInterface.MG_ATTR_SPECIAL_DOTNET_ALLOW_ZERO_DATE:
238
+ case ConstInterface.MG_ATTR_SPECIAL_REUSE_TABLE_EDITOR:
239
+ break;
240
+ default:
241
+ Logger.Instance.WriteExceptionToLogWithMsg("in Environment.fillData(): unknown attribute: " + attribute);
242
+ break;
243
+ }
244
+ }
245
+ hashKey = env.CompIdx;
246
+ this._environments.set_Item(hashKey, env);
247
+ }
248
+ async fillFromUrl(tagName, parser) {
249
+ let XMLdata = parser.getXMLdata();
250
+ let endContext = parser.getXMLdata().indexOf(XMLConstants.TAG_TERM, parser.getCurrIndex());
251
+ if (endContext !== -1 && endContext < XMLdata.length) {
252
+ let tagAndAttributes = parser.getXMLsubstring(endContext);
253
+ parser.add2CurrIndex(tagAndAttributes.indexOf(tagName) + tagName.length);
254
+ let tokensVector = XmlParser.getTokens(parser.getXMLsubstring(endContext), XMLConstants.XML_ATTR_DELIM);
255
+ Debug.Assert(tokensVector.get_Item(0) === XMLConstants.MG_ATTR_VALUE);
256
+ let cachedFileUrl = (tokensVector.get_Item(1));
257
+ if (cachedFileUrl.trim() === "")
258
+ Logger.Instance.WriteErrorToLog(NString.Format("Empty cached file URL: '{0}'", tagAndAttributes.trim()));
259
+ else {
260
+ let Content = await CommandsProcessorManager.GetContent(cachedFileUrl, true);
261
+ try {
262
+ switch (tagName) {
263
+ case ConstInterface.MG_TAG_KBDMAP_URL:
264
+ break;
265
+ case ConstInterface.MG_TAG_ENV_PARAM_URL:
266
+ let innerXmlParser = new XmlParser(Content);
267
+ while (AccessHelper.envParamsTable.mirrorFromXML(innerXmlParser.getNextTag(), innerXmlParser)) {
268
+ }
269
+ break;
270
+ }
271
+ }
272
+ catch (ex) {
273
+ switch (tagName) {
274
+ case ConstInterface.MG_TAG_KBDMAP_URL:
275
+ Logger.Instance.WriteExceptionToLogWithMsg(NString.Format("Keyboard Mapping: '{0}'{1}{2}", cachedFileUrl, OSEnvironment.EolSeq, ex.Message));
276
+ break;
277
+ case ConstInterface.MG_TAG_ENV_PARAM_URL:
278
+ Logger.Instance.WriteExceptionToLogWithMsg(NString.Format("Env Params Table: '{0}'{1}{2}", cachedFileUrl, OSEnvironment.EolSeq, ex.Message));
279
+ }
280
+ }
281
+ }
282
+ endContext = XMLdata.indexOf(XMLConstants.TAG_OPEN, endContext);
283
+ if (endContext !== -1)
284
+ parser.setCurrIndex(endContext);
285
+ }
286
+ }
287
+ getEnvDet(compIdx) {
288
+ let environmentDetails = this._environments.get_Item(compIdx);
289
+ if (environmentDetails === null)
290
+ Logger.Instance.WriteExceptionToLogWithMsg("in Environment.getEnvDet() there is no env");
291
+ return environmentDetails;
292
+ }
293
+ GetDateMode(compIdx) {
294
+ return this.getEnvDet(compIdx).DateMode;
295
+ }
296
+ GetThousands() {
297
+ return this._thousandsSeparator;
298
+ }
299
+ GetDecimal() {
300
+ return this._decimalSeparator;
301
+ }
302
+ setDecimalSeparator(value) {
303
+ this._decimalSeparator = value;
304
+ }
305
+ setThousandsSeparator(value) {
306
+ this._thousandsSeparator = value;
307
+ }
308
+ setDateSeparator(value) {
309
+ this._dateSeparator = value;
310
+ }
311
+ setTimeSeparator(value) {
312
+ this._timeSeparator = value;
313
+ }
314
+ GetDate() {
315
+ return this._dateSeparator;
316
+ }
317
+ getIdleTime(compIdx) {
318
+ return this.getEnvDet(compIdx).IdleTime;
319
+ }
320
+ getOwner() {
321
+ return this._owner;
322
+ }
323
+ GetTime() {
324
+ return this._timeSeparator;
325
+ }
326
+ GetCentury(compIdx) {
327
+ return this.getEnvDet(compIdx).Century;
328
+ }
329
+ allowUpdateInQueryMode(compIdx) {
330
+ return this.getEnvDet(compIdx).allowUpdateInQueryMode();
331
+ }
332
+ allowCreateInModifyMode(compIdx) {
333
+ return this.getEnvDet(compIdx).allowCreateInModifyMode();
334
+ }
335
+ GetSignificantNumSize() {
336
+ return this._significantNumSize;
337
+ }
338
+ setSignificantNumSize(newSize) {
339
+ this._significantNumSize = newSize;
340
+ }
341
+ getCodePage() {
342
+ return this._codePage;
343
+ }
344
+ GetEncoding() {
345
+ let encoding;
346
+ try {
347
+ encoding = Encoding.GetEncoding(this._codePage);
348
+ }
349
+ catch (exception) {
350
+ encoding = null;
351
+ }
352
+ return encoding;
353
+ }
354
+ getSystem() {
355
+ return this._system;
356
+ }
357
+ GetDebugLevel() {
358
+ return this._debugMode;
359
+ }
360
+ CanReplaceDecimalSeparator() {
361
+ return !this.IgnoreReplaceDecimalSeparator && this._canReplaceDecimalSeparator;
362
+ }
363
+ getClientContextInactivityTimeout() {
364
+ return this._clientContextInactivityTimeout;
365
+ }
366
+ getContextInactivityTimeout() {
367
+ return this._contextInactivityTimeout;
368
+ }
369
+ getContextInactivityWarningTime() {
370
+ return this._contextInactivityWarningTime;
371
+ }
372
+ getContextUnloadTimeout() {
373
+ return this._contextUnloadTimeout;
374
+ }
375
+ GetTooltipTimeout() {
376
+ return this._toolitipTimeout;
377
+ }
378
+ getLowHigh() {
379
+ return this._lowHigh;
380
+ }
381
+ GetImeAutoOff() {
382
+ return this._imeAutoOff;
383
+ }
384
+ GetLocalAs400Set() {
385
+ return this._localAs400Set;
386
+ }
387
+ getLocalExtraGengo() {
388
+ return this._localExtraGengo;
389
+ }
390
+ GetLocalFlag(f) {
391
+ return this._localFlags !== null && this._localFlags.indexOf(f) >= 0;
392
+ }
393
+ getSpecialImmediateHandlerEnd() {
394
+ return this._specialImmediatehandlerEnd;
395
+ }
396
+ getSpecialAnsiExpression() {
397
+ return this._specialAnsiExpression;
398
+ }
399
+ getSpecialShowStatusBarPanes() {
400
+ return this._specialShowStatusBarPanes;
401
+ }
402
+ getTerminal() {
403
+ return this._terminal;
404
+ }
405
+ getWebClientReinitSession() {
406
+ return this._webclientReinitSession;
407
+ }
408
+ setWebClientReinitSession(session) {
409
+ this._webclientReinitSession = session;
410
+ }
411
+ getSpecialRouteToRootProgOnContextRecreation() {
412
+ return this._specialRouteToRootProgOnContextRecreation;
413
+ }
414
+ GetGUID() {
415
+ return this._guid;
416
+ }
417
+ getProjDir(compIdx) {
418
+ return this.getEnvDet(compIdx).ProjDir;
419
+ }
420
+ GetSpecialLogInternalExceptions() {
421
+ return true;
422
+ }
423
+ setOwner(val) {
424
+ this._owner = val;
425
+ }
426
+ setDateMode(compIdx, val) {
427
+ this.getEnvDet(compIdx).DateMode = val;
428
+ }
429
+ setCentury(compIdx, val) {
430
+ this.getEnvDet(compIdx).Century = val;
431
+ }
432
+ setIdleTime(compIdx, val) {
433
+ this.getEnvDet(compIdx).IdleTime = val;
434
+ }
435
+ setAllowUpdateInQueryMode(compIdx, val) {
436
+ this.getEnvDet(compIdx).UpdateInQueryMode = val;
437
+ }
438
+ setAllowCreateInModifyMode(compIdx, val) {
439
+ this.getEnvDet(compIdx).CreateInModifyMode = val;
440
+ }
441
+ setContextInactivityTimeout(val) {
442
+ this._contextInactivityTimeout = val;
443
+ }
444
+ setContextInactivityWarningTime(val) {
445
+ this._contextInactivityWarningTime = val;
446
+ }
447
+ setContextUnloadTimeout(val) {
448
+ this._contextUnloadTimeout = val;
449
+ }
450
+ setTerminal(val) {
451
+ this._terminal = val;
452
+ }
453
+ GetDropUserFormats() {
454
+ return this._dropUserFormats;
455
+ }
456
+ GetSpecialValNewPolicy() {
457
+ return this._specialValNewPolicy;
458
+ }
459
+ GetSpecialCancelOnCreate() {
460
+ return this._specialCancelOnCreate;
461
+ }
462
+ }
463
+ export class EnvironmentDetails {
464
+ _createInModifyMode = false;
465
+ _updateInQueryMode = false;
466
+ CompIdx = 0;
467
+ DateMode = '\0';
468
+ Century = 0;
469
+ IdleTime = 0;
470
+ set UpdateInQueryMode(value) {
471
+ this._updateInQueryMode = value;
472
+ }
473
+ set CreateInModifyMode(value) {
474
+ this._createInModifyMode = value;
475
+ }
476
+ ProjDir = null;
477
+ constructor() {
478
+ this.CompIdx = 0;
479
+ }
480
+ allowUpdateInQueryMode() {
481
+ return this._updateInQueryMode;
482
+ }
483
+ allowCreateInModifyMode() {
484
+ return this._createInModifyMode;
485
+ }
486
+ }
487
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL2Vudi9FbnZpcm9ubWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsZ0JBQWdCLEVBQWUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM5RCxPQUFPLEVBQUMsS0FBSyxFQUFFLFFBQVEsRUFBRSxTQUFTLEVBQVEsT0FBTyxFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDL0UsT0FBTyxFQUNMLFNBQVMsRUFDVCxNQUFNLEVBQ04sYUFBYSxFQUNiLFdBQVcsRUFDWCxlQUFlLEVBQ2YsWUFBWSxFQUNaLFNBQVMsRUFDVixNQUFNLGtCQUFrQixDQUFDO0FBQzFCLE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBQ3JFLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLE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ElNRU9VVDpcclxuICAgICAgICAgIHRoaXMuX2NvbnRleHRJbmFjdGl2aXR5VGltZW91dCA9IFhtbFBhcnNlci5nZXRJbnQodmFsdWVTdHIpO1xyXG4gICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgY2FzZSBDb25zdEludGVyZmFjZS5NR19BVFRSX0NMSUVOVF9DT05URVhUX0lOQUNUSVZJVFlfVElNRU9VVDpcclxuICAgICAgICAgIHRoaXMuX2NsaWVudENvbnRleHRJbmFjdGl2aXR5VGltZW91dCA9IFhtbFBhcnNlci5nZXRJbnQodmFsdWVTdHIpO1xyXG4gICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgY2FzZSBDb25zdEludGVyZmFjZS5NR19BVFRSX0NPTlRFWFRfSU5BQ1RJVklUWV9XQVJOSU5HX1RJTUU6XHJcbiAgICAgICAgICB0aGlzLl9jb250ZXh0SW5hY3Rpdml0eVdhcm5pbmdUaW1lID0gWG1sUGFyc2VyLmdldEludCh2YWx1ZVN0cik7XHJcbiAgICAgICAgICBicmVhaztcclxuICAgICAgICBjYXNlIENvbnN0SW50ZXJmYWNlLk1HX0FUVFJfVE9PTFRJUF9USU1FT1VUOlxyXG4gICAgICAgICAgdGhpcy5fdG9vbGl0aXBUaW1lb3V0ID0gWG1sUGFyc2VyLmdldEludCh2YWx1ZVN0cik7XHJcbiAgICAgICAgICBicmVhaztcclxuICAgICAgICBjYXNlIENvbnN0SW50ZXJmYWNlLk1HX0FUVFJfQ09OVEVYVF9VTkxPQURfVElNRU9VVDpcclxuICAgICAgICAgIHRoaXMuX2NvbnRleHRVbmxvYWRUaW1lb3V0ID0gWG1sUGFyc2VyLmdldEludCh2YWx1ZVN0cik7XHJcbiAgICAgICAgICBicmVhaztcclxuICAgICAgICBjYXNlIENvbnN0SW50ZXJmYWNlLk1HX0FUVFJfSU1FX0FVVE9fT0ZGOlxyXG4gICAgICAgICAgdGhpcy5faW1lQXV0b09mZiA9IFhtbFBhcnNlci5nZXRCb29sZWFu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