@magic-xpa/engine 4.1100.0-dev4110.99 → 4.1101.0-dev4111.271

Sign up to get free protection for your applications and to get access to all the features.
Files changed (492) hide show
  1. package/README.md +7 -7
  2. package/{esm2020 → esm2022}/index.mjs +188 -188
  3. package/{esm2020 → esm2022}/magic-xpa-engine.mjs +1 -1
  4. package/esm2022/src/AccessHelper.mjs +15 -0
  5. package/esm2022/src/ClientManager.mjs +421 -0
  6. package/esm2022/src/CommandsProcessorBase.mjs +56 -0
  7. package/{esm2020 → esm2022}/src/CommandsProcessorManager.mjs +25 -25
  8. package/esm2022/src/CommandsTable.mjs +162 -0
  9. package/esm2022/src/ConstInterface.mjs +517 -0
  10. package/{esm2020 → esm2022}/src/CurrentClientVersion.mjs +2 -2
  11. package/esm2022/src/FlowMonitorInterface.mjs +16 -0
  12. package/esm2022/src/GUIManager.mjs +62 -0
  13. package/esm2022/src/GlobalCommandsManager.mjs +34 -0
  14. package/esm2022/src/GuiEventsProcessor.mjs +156 -0
  15. package/{esm2020 → esm2022}/src/ICommandsTable.mjs +1 -1
  16. package/esm2022/src/ServerConfig.mjs +122 -0
  17. package/{esm2020 → esm2022}/src/bridge/IGuiEvent.mjs +19 -19
  18. package/esm2022/src/bridge/MagicBridge.mjs +41 -0
  19. package/esm2022/src/commands/ClientOriginatedCommandTaskTag.mjs +12 -0
  20. package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserLocateDataViewCommand.mjs +8 -8
  21. package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserRangeDataviewCommand.mjs +9 -9
  22. package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserSortDataViewCommand.mjs +9 -9
  23. package/esm2022/src/commands/ClientToServer/BrowserEscEventCommand.mjs +26 -0
  24. package/{esm2020 → esm2022}/src/commands/ClientToServer/ClientOriginatedCommand.mjs +14 -14
  25. package/{esm2020 → esm2022}/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +59 -59
  26. package/esm2022/src/commands/ClientToServer/ColumnSortEventCommand.mjs +29 -0
  27. package/esm2022/src/commands/ClientToServer/CommandFactory.mjs +261 -0
  28. package/esm2022/src/commands/ClientToServer/CommandSerializationHelper.mjs +67 -0
  29. package/esm2022/src/commands/ClientToServer/ComputeEventCommand.mjs +26 -0
  30. package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTerminationEventCommand.mjs +24 -21
  31. package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTimeoutResetCommand.mjs +23 -20
  32. package/{esm2020 → esm2022}/src/commands/ClientToServer/ControlItemsRefreshCommand.mjs +8 -8
  33. package/esm2022/src/commands/ClientToServer/DataViewOutputCommand.mjs +13 -0
  34. package/{esm2020 → esm2022}/src/commands/ClientToServer/DataviewCommand.mjs +44 -44
  35. package/esm2022/src/commands/ClientToServer/EvaluateCommand.mjs +40 -0
  36. package/{esm2020 → esm2022}/src/commands/ClientToServer/EventCommand.mjs +43 -40
  37. package/esm2022/src/commands/ClientToServer/ExecOperCommand.mjs +70 -0
  38. package/esm2022/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +25 -0
  39. package/{esm2020 → esm2022}/src/commands/ClientToServer/GlobalParamsQueryCommand.mjs +10 -10
  40. package/{esm2020 → esm2022}/src/commands/ClientToServer/ICommandTaskTag.mjs +1 -1
  41. package/esm2022/src/commands/ClientToServer/IndexChangeEventCommand.mjs +24 -0
  42. package/esm2022/src/commands/ClientToServer/IniputForceWriteCommand.mjs +26 -0
  43. package/{esm2020 → esm2022}/src/commands/ClientToServer/NonReversibleExitEventCommand.mjs +26 -23
  44. package/{esm2020 → esm2022}/src/commands/ClientToServer/QueryCommand.mjs +20 -20
  45. package/esm2022/src/commands/ClientToServer/RecomputeCommand.mjs +30 -0
  46. package/esm2022/src/commands/ClientToServer/RefreshEventCommand.mjs +30 -0
  47. package/esm2022/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +27 -0
  48. package/esm2022/src/commands/ClientToServer/RollbackEventCommand.mjs +43 -0
  49. package/esm2022/src/commands/ClientToServer/SelectProgramCommand.mjs +19 -0
  50. package/{esm2020 → esm2022}/src/commands/ClientToServer/SetTransactionStateDataviewCommand.mjs +9 -9
  51. package/esm2022/src/commands/ClientToServer/SubformOpenEventCommand.mjs +24 -0
  52. package/esm2022/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +27 -0
  53. package/esm2022/src/commands/ClientToServer/TransactionCommand.mjs +34 -0
  54. package/{esm2020 → esm2022}/src/commands/ClientToServer/UnloadCommand.mjs +18 -15
  55. package/esm2022/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +18 -0
  56. package/esm2022/src/commands/DataViewCommandBase.mjs +8 -0
  57. package/{esm2020 → esm2022}/src/commands/IClientCommand.mjs +1 -1
  58. package/esm2022/src/commands/IClientTargetedCommand.mjs +13 -0
  59. package/{esm2020 → esm2022}/src/commands/IClientToServerCommandInfo.mjs +2 -2
  60. package/esm2022/src/commands/ServerToClient/AbortCommand.mjs +65 -0
  61. package/{esm2020 → esm2022}/src/commands/ServerToClient/AddLocateCommand.mjs +21 -21
  62. package/{esm2020 → esm2022}/src/commands/ServerToClient/AddRangeCommand.mjs +62 -62
  63. package/{esm2020 → esm2022}/src/commands/ServerToClient/AddSortCommand.mjs +33 -33
  64. package/esm2022/src/commands/ServerToClient/ClientRefreshCommand.mjs +25 -0
  65. package/esm2022/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +24 -0
  66. package/esm2022/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +45 -0
  67. package/esm2022/src/commands/ServerToClient/OpenURLCommand.mjs +221 -0
  68. package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetLocateCommand.mjs +14 -14
  69. package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetRangeCommand.mjs +14 -14
  70. package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetSortCommand.mjs +14 -14
  71. package/esm2022/src/commands/ServerToClient/ResultCommand.mjs +37 -0
  72. package/esm2022/src/commands/ServerToClient/VerifyCommand.mjs +83 -0
  73. package/{esm2020 → esm2022}/src/commands/ServerToClient/XMLBasedCommandBuilder.mjs +132 -132
  74. package/{esm2020 → esm2022}/src/communications/IConnectionStateManager.mjs +1 -1
  75. package/esm2022/src/communications/InteractiveCommunicationsFailureHandler.mjs +15 -0
  76. package/{esm2020 → esm2022}/src/data/DataSourceIdKey.mjs +2 -2
  77. package/esm2022/src/data/DataView.mjs +1613 -0
  78. package/{esm2020 → esm2022}/src/data/DataViewBase.mjs +3 -3
  79. package/esm2022/src/data/DataviewManager.mjs +28 -0
  80. package/esm2022/src/data/DataviewManagerBase.mjs +15 -0
  81. package/esm2022/src/data/DvCache.mjs +67 -0
  82. package/esm2022/src/data/Field.mjs +646 -0
  83. package/esm2022/src/data/FieldBase.mjs +15 -0
  84. package/esm2022/src/data/FieldsTable.mjs +103 -0
  85. package/{esm2020 → esm2022}/src/data/IRecordsTable.mjs +1 -1
  86. package/{esm2020 → esm2022}/src/data/Key.mjs +88 -88
  87. package/esm2022/src/data/Record.mjs +880 -0
  88. package/{esm2020 → esm2022}/src/data/RecordOutOfDataViewException.mjs +15 -15
  89. package/esm2022/src/data/RecordsTable.mjs +267 -0
  90. package/{esm2020 → esm2022}/src/data/TaskTransactionManager.mjs +107 -103
  91. package/{esm2020 → esm2022}/src/data/XMLBasedDcValuesBuilder.mjs +74 -74
  92. package/{esm2020 → esm2022}/src/enums.mjs +23 -23
  93. package/esm2022/src/env/EnvVariablesTable.mjs +340 -0
  94. package/esm2022/src/env/Environment.mjs +487 -0
  95. package/{esm2020 → esm2022}/src/env/ILanguageData.mjs +1 -1
  96. package/esm2022/src/env/LanguageData.mjs +227 -0
  97. package/{esm2020 → esm2022}/src/env/MirrorString.mjs +65 -65
  98. package/esm2022/src/event/ActionManager.mjs +91 -0
  99. package/esm2022/src/event/Event.mjs +1333 -0
  100. package/esm2022/src/event/EventHandler.mjs +766 -0
  101. package/esm2022/src/event/EventHandlerPosition.mjs +204 -0
  102. package/esm2022/src/event/EventsManager.mjs +2988 -0
  103. package/{esm2020 → esm2022}/src/event/IEventsManager.mjs +6 -6
  104. package/esm2022/src/event/RunTimeEvent.mjs +399 -0
  105. package/{esm2020 → esm2022}/src/event/RunTimeEventBase.mjs +3 -3
  106. package/esm2022/src/event/UserEventsTable.mjs +47 -0
  107. package/esm2022/src/exp/ExpTable.mjs +57 -0
  108. package/esm2022/src/exp/Expression.mjs +200 -0
  109. package/esm2022/src/exp/ExpressionDict.mjs +727 -0
  110. package/esm2022/src/exp/ExpressionEvaluator.mjs +4206 -0
  111. package/esm2022/src/exp/ExpressionLocalJpn.mjs +314 -0
  112. package/{esm2020 → esm2022}/src/exp/GlobalParamsTable.mjs +85 -85
  113. package/esm2022/src/exp/YesNoExp.mjs +36 -0
  114. package/esm2022/src/gui/CreatedFormVector.mjs +23 -0
  115. package/esm2022/src/gui/FormsTable.mjs +66 -0
  116. package/esm2022/src/gui/MgControl.mjs +363 -0
  117. package/esm2022/src/gui/MgForm.mjs +1224 -0
  118. package/esm2022/src/http/HttpManager.mjs +97 -0
  119. package/esm2022/src/http/client/HttpClientAsync.mjs +68 -0
  120. package/{esm2020 → esm2022}/src/http/client/HttpClientBase.mjs +132 -132
  121. package/esm2022/src/http/client/HttpClientEvents.mjs +39 -0
  122. package/esm2022/src/http/client/HttpClientSync.mjs +42 -0
  123. package/esm2022/src/http/client/HttpUtility.mjs +84 -0
  124. package/{esm2020 → esm2022}/src/http/client/ICommunicationsFailureHandler.mjs +1 -1
  125. package/{esm2020 → esm2022}/src/remote/AddUserLocateRemoteDataViewCommand.mjs +18 -18
  126. package/{esm2020 → esm2022}/src/remote/AddUserRangeRemoteDataViewCommand.mjs +18 -18
  127. package/{esm2020 → esm2022}/src/remote/AddUserSortRemoteDataViewCommand.mjs +18 -18
  128. package/esm2022/src/remote/RemoteCommandsProcessor.mjs +883 -0
  129. package/{esm2020 → esm2022}/src/remote/RemoteControlItemsRefreshCommand.mjs +25 -25
  130. package/{esm2020 → esm2022}/src/remote/RemoteDataViewCommandBase.mjs +24 -24
  131. package/{esm2020 → esm2022}/src/remote/RemoteDataViewCommandFactory.mjs +60 -60
  132. package/{esm2020 → esm2022}/src/remote/RemoteDataViewCommandUpdateNonModifiable.mjs +15 -15
  133. package/{esm2020 → esm2022}/src/remote/RemoteDataviewManager.mjs +17 -17
  134. package/{esm2020 → esm2022}/src/remote/RemoteInitDataViewCommand.mjs +10 -10
  135. package/{esm2020 → esm2022}/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +16 -16
  136. package/{esm2020 → esm2022}/src/remote/ResetUserRangeRemoteDataviewCommand.mjs +12 -12
  137. package/{esm2020 → esm2022}/src/remote/ResetUserSortRemoteDataviewCommand.mjs +15 -15
  138. package/esm2022/src/remote/ServerError.mjs +40 -0
  139. package/{esm2020 → esm2022}/src/remote/SetTransactionStateRemoteDataViewCommand.mjs +19 -19
  140. package/esm2022/src/rt/Argument.mjs +265 -0
  141. package/esm2022/src/rt/ArgumentsList.mjs +103 -0
  142. package/esm2022/src/rt/Boundary.mjs +152 -0
  143. package/esm2022/src/rt/CompMainPrgTable.mjs +63 -0
  144. package/esm2022/src/rt/DataviewHeaderBase.mjs +98 -0
  145. package/{esm2020 → esm2022}/src/rt/DataviewHeaderFactory.mjs +6 -6
  146. package/esm2022/src/rt/DataviewHeaders.mjs +53 -0
  147. package/{esm2020 → esm2022}/src/rt/DataviewHeadersSaxHandler.mjs +38 -38
  148. package/{esm2020 → esm2022}/src/rt/ExecutionStack.mjs +94 -94
  149. package/{esm2020 → esm2022}/src/rt/ExecutionStackEntry.mjs +17 -17
  150. package/{esm2020 → esm2022}/src/rt/HandlersTable.mjs +96 -96
  151. package/{esm2020 → esm2022}/src/rt/IDataSourceViewDefinition.mjs +1 -1
  152. package/{esm2020 → esm2022}/src/rt/IDataviewHeader.mjs +1 -1
  153. package/{esm2020 → esm2022}/src/rt/IResultValue.mjs +1 -1
  154. package/esm2022/src/rt/LastFocusedManager.mjs +65 -0
  155. package/esm2022/src/rt/Operation.mjs +735 -0
  156. package/esm2022/src/rt/OperationTable.mjs +67 -0
  157. package/esm2022/src/rt/Recompute.mjs +355 -0
  158. package/{esm2020 → esm2022}/src/rt/RecomputeTable.mjs +62 -62
  159. package/{esm2020 → esm2022}/src/rt/RemoteDataviewHeader.mjs +108 -108
  160. package/esm2022/src/rt/ResultValue.mjs +10 -0
  161. package/esm2022/src/rt/TableCache.mjs +177 -0
  162. package/esm2022/src/rt/TableCacheManager.mjs +67 -0
  163. package/esm2022/src/rt/Transaction.mjs +53 -0
  164. package/esm2022/src/security/UserDetails.mjs +71 -0
  165. package/{esm2020 → esm2022}/src/tasks/IMGDataCollection.mjs +1 -1
  166. package/esm2022/src/tasks/MGData.mjs +552 -0
  167. package/esm2022/src/tasks/MGDataCollection.mjs +252 -0
  168. package/esm2022/src/tasks/RCTimer.mjs +63 -0
  169. package/{esm2020 → esm2022}/src/tasks/RemoteTaskService.mjs +44 -44
  170. package/esm2022/src/tasks/Task.mjs +2499 -0
  171. package/esm2022/src/tasks/TaskBase.mjs +83 -0
  172. package/{esm2020 → esm2022}/src/tasks/TaskServiceBase.mjs +24 -24
  173. package/esm2022/src/tasks/TasksTable.mjs +80 -0
  174. package/esm2022/src/tasks/sort/Sort.mjs +5 -0
  175. package/{esm2020 → esm2022}/src/tasks/sort/SortCollection.mjs +67 -67
  176. package/{esm2020 → esm2022}/src/util/ConstUtils.mjs +13 -13
  177. package/esm2022/src/util/FlowMonitorQueue.mjs +451 -0
  178. package/{esm2020 → esm2022}/src/util/HeapSort.mjs +69 -69
  179. package/{esm2020 → esm2022}/src/util/IMirrorXML.mjs +1 -1
  180. package/{esm2020 → esm2022}/src/util/IServerConfig.mjs +1 -1
  181. package/{esm2020 → esm2022}/src/util/MgBlockingQueue.mjs +1 -1
  182. package/esm2022/src/util/MgPriorityBlockingQueue.mjs +74 -0
  183. package/esm2022/src/util/MgPriorityQueue.mjs +66 -0
  184. package/{esm2020 → esm2022}/src/util/ParamParseResult.mjs +7 -7
  185. package/esm2022/src/util/PrmMap.mjs +152 -0
  186. package/esm2022/src/util/ReturnResult.mjs +46 -0
  187. package/esm2022/src/util/ReturnResultBase.mjs +18 -0
  188. package/esm2022/src/util/Scrambler.mjs +89 -0
  189. package/esm2022/src/util/UniqueIDUtils.mjs +13 -0
  190. package/{esm2020 → esm2022}/src/util/cookie.service.mjs +92 -92
  191. package/{fesm2020 → fesm2022}/magic-xpa-engine.mjs +29888 -29690
  192. package/fesm2022/magic-xpa-engine.mjs.map +1 -0
  193. package/index.d.ts +187 -187
  194. package/package.json +8 -14
  195. package/src/AccessHelper.d.ts +20 -20
  196. package/src/ClientManager.d.ts +35 -32
  197. package/src/CommandsProcessorBase.d.ts +23 -23
  198. package/src/CommandsProcessorManager.d.ts +6 -6
  199. package/src/CommandsTable.d.ts +22 -22
  200. package/src/ConstInterface.d.ts +516 -515
  201. package/src/CurrentClientVersion.d.ts +1 -1
  202. package/src/FlowMonitorInterface.d.ts +15 -15
  203. package/src/GUIManager.d.ts +17 -17
  204. package/src/GlobalCommandsManager.d.ts +17 -17
  205. package/src/GuiEventsProcessor.d.ts +24 -24
  206. package/src/ICommandsTable.d.ts +9 -9
  207. package/src/ServerConfig.d.ts +35 -34
  208. package/src/bridge/IGuiEvent.d.ts +19 -19
  209. package/src/bridge/MagicBridge.d.ts +16 -16
  210. package/src/commands/ClientOriginatedCommandTaskTag.d.ts +8 -8
  211. package/src/commands/ClientToServer/AddUserLocateDataViewCommand.d.ts +4 -4
  212. package/src/commands/ClientToServer/AddUserRangeDataviewCommand.d.ts +6 -6
  213. package/src/commands/ClientToServer/AddUserSortDataViewCommand.d.ts +6 -6
  214. package/src/commands/ClientToServer/BrowserEscEventCommand.d.ts +9 -8
  215. package/src/commands/ClientToServer/ClientOriginatedCommand.d.ts +8 -8
  216. package/src/commands/ClientToServer/ClientOriginatedCommandSerializer.d.ts +6 -6
  217. package/src/commands/ClientToServer/ColumnSortEventCommand.d.ts +11 -10
  218. package/src/commands/ClientToServer/CommandFactory.d.ts +64 -64
  219. package/src/commands/ClientToServer/CommandSerializationHelper.d.ts +20 -20
  220. package/src/commands/ClientToServer/ComputeEventCommand.d.ts +9 -8
  221. package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +8 -7
  222. package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +8 -7
  223. package/src/commands/ClientToServer/ControlItemsRefreshCommand.d.ts +6 -6
  224. package/src/commands/ClientToServer/DataViewOutputCommand.d.ts +9 -9
  225. package/src/commands/ClientToServer/DataviewCommand.d.ts +32 -32
  226. package/src/commands/ClientToServer/EvaluateCommand.d.ts +16 -15
  227. package/src/commands/ClientToServer/EventCommand.d.ts +16 -15
  228. package/src/commands/ClientToServer/ExecOperCommand.d.ts +24 -23
  229. package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +9 -8
  230. package/src/commands/ClientToServer/GlobalParamsQueryCommand.d.ts +5 -5
  231. package/src/commands/ClientToServer/ICommandTaskTag.d.ts +3 -3
  232. package/src/commands/ClientToServer/IndexChangeEventCommand.d.ts +9 -8
  233. package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +11 -10
  234. package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +9 -8
  235. package/src/commands/ClientToServer/QueryCommand.d.ts +8 -8
  236. package/src/commands/ClientToServer/RecomputeCommand.d.ts +12 -11
  237. package/src/commands/ClientToServer/RefreshEventCommand.d.ts +13 -12
  238. package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +11 -10
  239. package/src/commands/ClientToServer/RollbackEventCommand.d.ts +15 -14
  240. package/src/commands/ClientToServer/SelectProgramCommand.d.ts +7 -6
  241. package/src/commands/ClientToServer/SetTransactionStateDataviewCommand.d.ts +5 -5
  242. package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +9 -8
  243. package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +10 -9
  244. package/src/commands/ClientToServer/TransactionCommand.d.ts +14 -12
  245. package/src/commands/ClientToServer/UnloadCommand.d.ts +8 -7
  246. package/src/commands/ClientToServer/WriteMessageToServerLogCommand.d.ts +6 -6
  247. package/src/commands/DataViewCommandBase.d.ts +6 -6
  248. package/src/commands/IClientCommand.d.ts +2 -2
  249. package/src/commands/IClientTargetedCommand.d.ts +12 -12
  250. package/src/commands/IClientToServerCommandInfo.d.ts +4 -3
  251. package/src/commands/ServerToClient/AbortCommand.d.ts +11 -11
  252. package/src/commands/ServerToClient/AddLocateCommand.d.ts +6 -6
  253. package/src/commands/ServerToClient/AddRangeCommand.d.ts +10 -10
  254. package/src/commands/ServerToClient/AddSortCommand.d.ts +9 -9
  255. package/src/commands/ServerToClient/ClientRefreshCommand.d.ts +7 -7
  256. package/src/commands/ServerToClient/ClientTargetedCommandBase.d.ts +12 -12
  257. package/src/commands/ServerToClient/EnhancedVerifyCommand.d.ts +13 -13
  258. package/src/commands/ServerToClient/OpenURLCommand.d.ts +21 -21
  259. package/src/commands/ServerToClient/ResetLocateCommand.d.ts +6 -6
  260. package/src/commands/ServerToClient/ResetRangeCommand.d.ts +6 -6
  261. package/src/commands/ServerToClient/ResetSortCommand.d.ts +6 -6
  262. package/src/commands/ServerToClient/ResultCommand.d.ts +10 -10
  263. package/src/commands/ServerToClient/VerifyCommand.d.ts +17 -17
  264. package/src/commands/ServerToClient/XMLBasedCommandBuilder.d.ts +11 -11
  265. package/src/communications/IConnectionStateManager.d.ts +4 -4
  266. package/src/communications/InteractiveCommunicationsFailureHandler.d.ts +6 -6
  267. package/src/data/DataSourceIdKey.d.ts +2 -2
  268. package/src/data/DataView.d.ts +162 -162
  269. package/src/data/DataViewBase.d.ts +12 -12
  270. package/src/data/DataviewManager.d.ts +14 -14
  271. package/src/data/DataviewManagerBase.d.ts +11 -11
  272. package/src/data/DvCache.d.ts +15 -15
  273. package/src/data/Field.d.ts +103 -103
  274. package/src/data/FieldBase.d.ts +23 -23
  275. package/src/data/FieldsTable.d.ts +27 -27
  276. package/src/data/IRecordsTable.d.ts +7 -7
  277. package/src/data/Key.d.ts +15 -15
  278. package/src/data/Record.d.ts +157 -156
  279. package/src/data/RecordOutOfDataViewException.d.ts +10 -10
  280. package/src/data/RecordsTable.d.ts +38 -38
  281. package/src/data/TaskTransactionManager.d.ts +17 -17
  282. package/src/data/XMLBasedDcValuesBuilder.d.ts +11 -11
  283. package/src/enums.d.ts +21 -21
  284. package/src/env/EnvVariablesTable.d.ts +17 -17
  285. package/src/env/Environment.d.ts +118 -118
  286. package/src/env/ILanguageData.d.ts +3 -3
  287. package/src/env/LanguageData.d.ts +20 -20
  288. package/src/env/MirrorString.d.ts +15 -15
  289. package/src/event/ActionManager.d.ts +14 -14
  290. package/src/event/Event.d.ts +79 -79
  291. package/src/event/EventHandler.d.ts +66 -66
  292. package/src/event/EventHandlerPosition.d.ts +25 -25
  293. package/src/event/EventsManager.d.ts +205 -204
  294. package/src/event/IEventsManager.d.ts +77 -77
  295. package/src/event/RunTimeEvent.d.ts +126 -123
  296. package/src/event/RunTimeEventBase.d.ts +5 -5
  297. package/src/event/UserEventsTable.d.ts +11 -11
  298. package/src/exp/ExpTable.d.ts +11 -11
  299. package/src/exp/Expression.d.ts +37 -37
  300. package/src/exp/ExpressionDict.d.ts +12 -12
  301. package/src/exp/ExpressionEvaluator.d.ts +198 -198
  302. package/src/exp/ExpressionLocalJpn.d.ts +18 -18
  303. package/src/exp/GlobalParamsTable.d.ts +19 -19
  304. package/src/exp/YesNoExp.d.ts +9 -9
  305. package/src/gui/CreatedFormVector.d.ts +10 -10
  306. package/src/gui/FormsTable.d.ts +15 -15
  307. package/src/gui/MgControl.d.ts +60 -60
  308. package/src/gui/MgForm.d.ts +96 -93
  309. package/src/http/HttpManager.d.ts +25 -25
  310. package/src/http/client/HttpClientAsync.d.ts +16 -16
  311. package/src/http/client/HttpClientBase.d.ts +30 -30
  312. package/src/http/client/HttpClientEvents.d.ts +18 -18
  313. package/src/http/client/HttpClientSync.d.ts +17 -17
  314. package/src/http/client/HttpUtility.d.ts +10 -10
  315. package/src/http/client/ICommunicationsFailureHandler.d.ts +5 -5
  316. package/src/remote/AddUserLocateRemoteDataViewCommand.d.ts +8 -8
  317. package/src/remote/AddUserRangeRemoteDataViewCommand.d.ts +8 -8
  318. package/src/remote/AddUserSortRemoteDataViewCommand.d.ts +8 -8
  319. package/src/remote/RemoteCommandsProcessor.d.ts +51 -51
  320. package/src/remote/RemoteControlItemsRefreshCommand.d.ts +8 -8
  321. package/src/remote/RemoteDataViewCommandBase.d.ts +10 -10
  322. package/src/remote/RemoteDataViewCommandFactory.d.ts +6 -6
  323. package/src/remote/RemoteDataViewCommandUpdateNonModifiable.d.ts +8 -8
  324. package/src/remote/RemoteDataviewManager.d.ts +9 -9
  325. package/src/remote/RemoteInitDataViewCommand.d.ts +7 -7
  326. package/src/remote/ResetUserLocateRemoteDataviewCommand.d.ts +7 -7
  327. package/src/remote/ResetUserRangeRemoteDataviewCommand.d.ts +7 -7
  328. package/src/remote/ResetUserSortRemoteDataviewCommand.d.ts +7 -7
  329. package/src/remote/ServerError.d.ts +16 -16
  330. package/src/remote/SetTransactionStateRemoteDataViewCommand.d.ts +8 -8
  331. package/src/rt/Argument.d.ts +36 -36
  332. package/src/rt/ArgumentsList.d.ts +24 -24
  333. package/src/rt/Boundary.d.ts +27 -27
  334. package/src/rt/CompMainPrgTable.d.ts +10 -10
  335. package/src/rt/DataviewHeaderBase.d.ts +34 -34
  336. package/src/rt/DataviewHeaderFactory.d.ts +5 -5
  337. package/src/rt/DataviewHeaders.d.ts +12 -12
  338. package/src/rt/DataviewHeadersSaxHandler.d.ts +10 -10
  339. package/src/rt/ExecutionStack.d.ts +22 -22
  340. package/src/rt/ExecutionStackEntry.d.ts +7 -7
  341. package/src/rt/HandlersTable.d.ts +19 -19
  342. package/src/rt/IDataSourceViewDefinition.d.ts +6 -6
  343. package/src/rt/IDataviewHeader.d.ts +10 -10
  344. package/src/rt/IResultValue.d.ts +4 -4
  345. package/src/rt/LastFocusedManager.d.ts +23 -23
  346. package/src/rt/Operation.d.ts +97 -97
  347. package/src/rt/OperationTable.d.ts +15 -15
  348. package/src/rt/Recompute.d.ts +41 -41
  349. package/src/rt/RecomputeTable.d.ts +9 -9
  350. package/src/rt/RemoteDataviewHeader.d.ts +14 -14
  351. package/src/rt/ResultValue.d.ts +7 -7
  352. package/src/rt/TableCache.d.ts +29 -29
  353. package/src/rt/TableCacheManager.d.ts +10 -10
  354. package/src/rt/Transaction.d.ts +23 -23
  355. package/src/security/UserDetails.d.ts +16 -16
  356. package/src/tasks/IMGDataCollection.d.ts +26 -26
  357. package/src/tasks/MGData.d.ts +63 -63
  358. package/src/tasks/MGDataCollection.d.ts +42 -42
  359. package/src/tasks/RCTimer.d.ts +13 -13
  360. package/src/tasks/RemoteTaskService.d.ts +16 -16
  361. package/src/tasks/Task.d.ts +312 -312
  362. package/src/tasks/TaskBase.d.ts +123 -123
  363. package/src/tasks/TaskServiceBase.d.ts +16 -16
  364. package/src/tasks/TasksTable.d.ts +21 -21
  365. package/src/tasks/sort/Sort.d.ts +4 -4
  366. package/src/tasks/sort/SortCollection.d.ts +11 -11
  367. package/src/util/ConstUtils.d.ts +3 -3
  368. package/src/util/FlowMonitorQueue.d.ts +70 -70
  369. package/src/util/HeapSort.d.ts +6 -6
  370. package/src/util/IMirrorXML.d.ts +6 -6
  371. package/src/util/IServerConfig.d.ts +11 -11
  372. package/src/util/MgBlockingQueue.d.ts +5 -5
  373. package/src/util/MgPriorityBlockingQueue.d.ts +17 -17
  374. package/src/util/MgPriorityQueue.d.ts +13 -13
  375. package/src/util/ParamParseResult.d.ts +6 -6
  376. package/src/util/PrmMap.d.ts +28 -28
  377. package/src/util/ReturnResult.d.ts +18 -18
  378. package/src/util/ReturnResultBase.d.ts +11 -11
  379. package/src/util/Scrambler.d.ts +10 -10
  380. package/src/util/UniqueIDUtils.d.ts +4 -4
  381. package/src/util/cookie.service.d.ts +8 -8
  382. package/esm2020/src/AccessHelper.mjs +0 -9
  383. package/esm2020/src/ClientManager.mjs +0 -399
  384. package/esm2020/src/CommandsProcessorBase.mjs +0 -58
  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/ColumnSortEventCommand.mjs +0 -26
  396. package/esm2020/src/commands/ClientToServer/CommandFactory.mjs +0 -260
  397. package/esm2020/src/commands/ClientToServer/CommandSerializationHelper.mjs +0 -69
  398. package/esm2020/src/commands/ClientToServer/ComputeEventCommand.mjs +0 -23
  399. package/esm2020/src/commands/ClientToServer/DataViewOutputCommand.mjs +0 -13
  400. package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +0 -36
  401. package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +0 -67
  402. package/esm2020/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +0 -22
  403. package/esm2020/src/commands/ClientToServer/IndexChangeEventCommand.mjs +0 -21
  404. package/esm2020/src/commands/ClientToServer/IniputForceWriteCommand.mjs +0 -23
  405. package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +0 -27
  406. package/esm2020/src/commands/ClientToServer/RefreshEventCommand.mjs +0 -27
  407. package/esm2020/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +0 -24
  408. package/esm2020/src/commands/ClientToServer/RollbackEventCommand.mjs +0 -39
  409. package/esm2020/src/commands/ClientToServer/SelectProgramCommand.mjs +0 -15
  410. package/esm2020/src/commands/ClientToServer/SubformOpenEventCommand.mjs +0 -21
  411. package/esm2020/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +0 -24
  412. package/esm2020/src/commands/ClientToServer/TransactionCommand.mjs +0 -28
  413. package/esm2020/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +0 -18
  414. package/esm2020/src/commands/DataViewCommandBase.mjs +0 -10
  415. package/esm2020/src/commands/IClientTargetedCommand.mjs +0 -9
  416. package/esm2020/src/commands/ServerToClient/AbortCommand.mjs +0 -65
  417. package/esm2020/src/commands/ServerToClient/ClientRefreshCommand.mjs +0 -25
  418. package/esm2020/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +0 -27
  419. package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +0 -45
  420. package/esm2020/src/commands/ServerToClient/OpenURLCommand.mjs +0 -221
  421. package/esm2020/src/commands/ServerToClient/ResultCommand.mjs +0 -37
  422. package/esm2020/src/commands/ServerToClient/VerifyCommand.mjs +0 -83
  423. package/esm2020/src/communications/InteractiveCommunicationsFailureHandler.mjs +0 -17
  424. package/esm2020/src/data/DataView.mjs +0 -1610
  425. package/esm2020/src/data/DataviewManager.mjs +0 -28
  426. package/esm2020/src/data/DataviewManagerBase.mjs +0 -15
  427. package/esm2020/src/data/DvCache.mjs +0 -67
  428. package/esm2020/src/data/Field.mjs +0 -646
  429. package/esm2020/src/data/FieldBase.mjs +0 -18
  430. package/esm2020/src/data/FieldsTable.mjs +0 -103
  431. package/esm2020/src/data/Record.mjs +0 -846
  432. package/esm2020/src/data/RecordsTable.mjs +0 -267
  433. package/esm2020/src/env/EnvVariablesTable.mjs +0 -340
  434. package/esm2020/src/env/Environment.mjs +0 -489
  435. package/esm2020/src/env/LanguageData.mjs +0 -226
  436. package/esm2020/src/event/ActionManager.mjs +0 -91
  437. package/esm2020/src/event/Event.mjs +0 -1333
  438. package/esm2020/src/event/EventHandler.mjs +0 -766
  439. package/esm2020/src/event/EventHandlerPosition.mjs +0 -204
  440. package/esm2020/src/event/EventsManager.mjs +0 -2975
  441. package/esm2020/src/event/RunTimeEvent.mjs +0 -392
  442. package/esm2020/src/event/UserEventsTable.mjs +0 -47
  443. package/esm2020/src/exp/ExpTable.mjs +0 -59
  444. package/esm2020/src/exp/Expression.mjs +0 -200
  445. package/esm2020/src/exp/ExpressionDict.mjs +0 -727
  446. package/esm2020/src/exp/ExpressionEvaluator.mjs +0 -4208
  447. package/esm2020/src/exp/ExpressionLocalJpn.mjs +0 -314
  448. package/esm2020/src/exp/YesNoExp.mjs +0 -36
  449. package/esm2020/src/gui/CreatedFormVector.mjs +0 -23
  450. package/esm2020/src/gui/FormsTable.mjs +0 -66
  451. package/esm2020/src/gui/MgControl.mjs +0 -353
  452. package/esm2020/src/gui/MgForm.mjs +0 -1181
  453. package/esm2020/src/http/HttpManager.mjs +0 -97
  454. package/esm2020/src/http/client/HttpClientAsync.mjs +0 -67
  455. package/esm2020/src/http/client/HttpClientEvents.mjs +0 -39
  456. package/esm2020/src/http/client/HttpClientSync.mjs +0 -42
  457. package/esm2020/src/http/client/HttpUtility.mjs +0 -84
  458. package/esm2020/src/remote/RemoteCommandsProcessor.mjs +0 -880
  459. package/esm2020/src/remote/ServerError.mjs +0 -40
  460. package/esm2020/src/rt/Argument.mjs +0 -265
  461. package/esm2020/src/rt/ArgumentsList.mjs +0 -103
  462. package/esm2020/src/rt/Boundary.mjs +0 -152
  463. package/esm2020/src/rt/CompMainPrgTable.mjs +0 -65
  464. package/esm2020/src/rt/DataviewHeaderBase.mjs +0 -96
  465. package/esm2020/src/rt/DataviewHeaders.mjs +0 -53
  466. package/esm2020/src/rt/LastFocusedManager.mjs +0 -67
  467. package/esm2020/src/rt/Operation.mjs +0 -735
  468. package/esm2020/src/rt/OperationTable.mjs +0 -67
  469. package/esm2020/src/rt/Recompute.mjs +0 -355
  470. package/esm2020/src/rt/ResultValue.mjs +0 -12
  471. package/esm2020/src/rt/TableCache.mjs +0 -177
  472. package/esm2020/src/rt/TableCacheManager.mjs +0 -67
  473. package/esm2020/src/rt/Transaction.mjs +0 -53
  474. package/esm2020/src/security/UserDetails.mjs +0 -71
  475. package/esm2020/src/tasks/MGData.mjs +0 -552
  476. package/esm2020/src/tasks/MGDataCollection.mjs +0 -252
  477. package/esm2020/src/tasks/RCTimer.mjs +0 -63
  478. package/esm2020/src/tasks/Task.mjs +0 -2496
  479. package/esm2020/src/tasks/TaskBase.mjs +0 -87
  480. package/esm2020/src/tasks/TasksTable.mjs +0 -80
  481. package/esm2020/src/tasks/sort/Sort.mjs +0 -7
  482. package/esm2020/src/util/FlowMonitorQueue.mjs +0 -453
  483. package/esm2020/src/util/MgPriorityBlockingQueue.mjs +0 -74
  484. package/esm2020/src/util/MgPriorityQueue.mjs +0 -66
  485. package/esm2020/src/util/PrmMap.mjs +0 -151
  486. package/esm2020/src/util/ReturnResult.mjs +0 -46
  487. package/esm2020/src/util/ReturnResultBase.mjs +0 -18
  488. package/esm2020/src/util/Scrambler.mjs +0 -89
  489. package/esm2020/src/util/UniqueIDUtils.mjs +0 -12
  490. package/fesm2015/magic-xpa-engine.mjs +0 -30837
  491. package/fesm2015/magic-xpa-engine.mjs.map +0 -1
  492. 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRW52aXJvbm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL2Vudi9FbnZpcm9ubWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsZ0JBQWdCLEVBQWUsTUFBTSxnQ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