@magic-xpa/engine 4.800.0 → 4.801.0-dev000.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/index.mjs +190 -0
- package/{esm2015/magic-xpa-engine.js → esm2020/magic-xpa-engine.mjs} +0 -0
- package/esm2020/src/AccessHelper.mjs +3 -0
- package/esm2020/src/ClientManager.mjs +403 -0
- package/esm2020/src/CommandsProcessorBase.mjs +58 -0
- package/esm2020/src/CommandsProcessorManager.mjs +26 -0
- package/esm2020/src/CommandsTable.mjs +163 -0
- package/{esm2015/src/ConstInterface.js → esm2020/src/ConstInterface.mjs} +0 -0
- package/{esm2015/src/CurrentClientVersion.js → esm2020/src/CurrentClientVersion.mjs} +2 -2
- package/{esm2015/src/FlowMonitorInterface.js → esm2020/src/FlowMonitorInterface.mjs} +0 -0
- package/esm2020/src/GUIManager.mjs +63 -0
- package/{esm2015/src/GlobalCommandsManager.js → esm2020/src/GlobalCommandsManager.mjs} +0 -0
- package/esm2020/src/GuiEventsProcessor.mjs +171 -0
- package/{esm2015/src/ICommandsTable.js → esm2020/src/ICommandsTable.mjs} +1 -0
- package/{esm2015/src/ServerConfig.js → esm2020/src/ServerConfig.mjs} +0 -0
- package/{esm2015/src/bridge/IGuiEvent.js → esm2020/src/bridge/IGuiEvent.mjs} +0 -0
- package/esm2020/src/bridge/MagicBridge.mjs +41 -0
- package/{esm2015/src/commands/ClientOriginatedCommandTaskTag.js → esm2020/src/commands/ClientOriginatedCommandTaskTag.mjs} +0 -0
- package/{esm2015/src/commands/ClientToServer/AddUserLocateDataViewCommand.js → esm2020/src/commands/ClientToServer/AddUserLocateDataViewCommand.mjs} +0 -0
- package/{esm2015/src/commands/ClientToServer/AddUserRangeDataviewCommand.js → esm2020/src/commands/ClientToServer/AddUserRangeDataviewCommand.mjs} +0 -0
- package/{esm2015/src/commands/ClientToServer/AddUserSortDataViewCommand.js → esm2020/src/commands/ClientToServer/AddUserSortDataViewCommand.mjs} +0 -0
- package/esm2020/src/commands/ClientToServer/BrowserEscEventCommand.mjs +23 -0
- package/esm2020/src/commands/ClientToServer/ClientOriginatedCommand.mjs +15 -0
- package/esm2020/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +60 -0
- package/esm2020/src/commands/ClientToServer/ColumnSortEventCommand.mjs +26 -0
- package/esm2020/src/commands/ClientToServer/CommandFactory.mjs +278 -0
- package/{esm2015/src/commands/ClientToServer/CommandSerializationHelper.js → esm2020/src/commands/ClientToServer/CommandSerializationHelper.mjs} +0 -0
- package/esm2020/src/commands/ClientToServer/ComputeEventCommand.mjs +23 -0
- package/esm2020/src/commands/ClientToServer/ContextTerminationEventCommand.mjs +21 -0
- package/esm2020/src/commands/ClientToServer/ContextTimeoutResetCommand.mjs +20 -0
- package/{esm2015/src/commands/ClientToServer/ControlItemsRefreshCommand.js → esm2020/src/commands/ClientToServer/ControlItemsRefreshCommand.mjs} +0 -0
- package/{esm2015/src/commands/ClientToServer/DataViewOutputCommand.js → esm2020/src/commands/ClientToServer/DataViewOutputCommand.mjs} +0 -0
- package/{esm2015/src/commands/ClientToServer/DataviewCommand.js → esm2020/src/commands/ClientToServer/DataviewCommand.mjs} +2 -2
- package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +36 -0
- package/esm2020/src/commands/ClientToServer/EventCommand.mjs +40 -0
- package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +67 -0
- package/esm2020/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +22 -0
- package/{esm2015/src/commands/ClientToServer/GlobalParamsQueryCommand.js → esm2020/src/commands/ClientToServer/GlobalParamsQueryCommand.mjs} +0 -0
- package/{esm2015/src/commands/ClientToServer/ICommandTaskTag.js → esm2020/src/commands/ClientToServer/ICommandTaskTag.mjs} +1 -0
- package/esm2020/src/commands/ClientToServer/IndexChangeEventCommand.mjs +21 -0
- package/esm2020/src/commands/ClientToServer/IniputForceWriteCommand.mjs +23 -0
- package/esm2020/src/commands/ClientToServer/NonReversibleExitEventCommand.mjs +23 -0
- package/esm2020/src/commands/ClientToServer/QueryCommand.mjs +21 -0
- package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +27 -0
- package/esm2020/src/commands/ClientToServer/RefreshEventCommand.mjs +27 -0
- package/esm2020/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +24 -0
- package/esm2020/src/commands/ClientToServer/RollbackEventCommand.mjs +39 -0
- package/{esm2015/src/commands/ClientToServer/SelectProgramCommand.js → esm2020/src/commands/ClientToServer/SelectProgramCommand.mjs} +0 -0
- package/{esm2015/src/commands/ClientToServer/SetTransactionStateDataviewCommand.js → esm2020/src/commands/ClientToServer/SetTransactionStateDataviewCommand.mjs} +0 -0
- package/esm2020/src/commands/ClientToServer/SubformOpenEventCommand.mjs +21 -0
- package/esm2020/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +24 -0
- package/esm2020/src/commands/ClientToServer/TransactionCommand.mjs +28 -0
- package/{esm2015/src/commands/ClientToServer/UnloadCommand.js → esm2020/src/commands/ClientToServer/UnloadCommand.mjs} +0 -0
- package/esm2020/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +18 -0
- package/esm2020/src/commands/DataViewCommandBase.mjs +10 -0
- package/{esm2015/src/commands/IClientCommand.js → esm2020/src/commands/IClientCommand.mjs} +1 -0
- package/esm2020/src/commands/IClientTargetedCommand.mjs +9 -0
- package/{esm2015/src/commands/IClientToServerCommandInfo.js → esm2020/src/commands/IClientToServerCommandInfo.mjs} +1 -0
- package/esm2020/src/commands/ServerToClient/AbortCommand.mjs +65 -0
- package/esm2020/src/commands/ServerToClient/AddLocateCommand.mjs +22 -0
- package/esm2020/src/commands/ServerToClient/AddRangeCommand.mjs +62 -0
- package/esm2020/src/commands/ServerToClient/AddSortCommand.mjs +33 -0
- package/{esm2015/src/commands/ServerToClient/ClientRefreshCommand.js → esm2020/src/commands/ServerToClient/ClientRefreshCommand.mjs} +14 -17
- package/esm2020/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +27 -0
- package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +45 -0
- package/esm2020/src/commands/ServerToClient/OpenURLCommand.mjs +222 -0
- package/esm2020/src/commands/ServerToClient/ResetLocateCommand.mjs +15 -0
- package/esm2020/src/commands/ServerToClient/ResetRangeCommand.mjs +15 -0
- package/esm2020/src/commands/ServerToClient/ResetSortCommand.mjs +15 -0
- package/esm2020/src/commands/ServerToClient/ResultCommand.mjs +37 -0
- package/esm2020/src/commands/ServerToClient/VerifyCommand.mjs +85 -0
- package/{esm2015/src/commands/ServerToClient/XMLBasedCommandBuilder.js → esm2020/src/commands/ServerToClient/XMLBasedCommandBuilder.mjs} +0 -0
- package/{esm2015/src/communications/IConnectionStateManager.js → esm2020/src/communications/IConnectionStateManager.mjs} +1 -0
- package/esm2020/src/communications/InteractiveCommunicationsFailureHandler.mjs +17 -0
- package/{esm2015/src/data/DataSourceIdKey.js → esm2020/src/data/DataSourceIdKey.mjs} +0 -0
- package/esm2020/src/data/DataView.mjs +1634 -0
- package/{esm2015/src/data/DataViewBase.js → esm2020/src/data/DataViewBase.mjs} +0 -0
- package/esm2020/src/data/DataviewManager.mjs +28 -0
- package/esm2020/src/data/DataviewManagerBase.mjs +15 -0
- package/{esm2015/src/data/DvCache.js → esm2020/src/data/DvCache.mjs} +0 -0
- package/esm2020/src/data/Field.mjs +645 -0
- package/esm2020/src/data/FieldBase.mjs +18 -0
- package/{esm2015/src/data/FieldsTable.js → esm2020/src/data/FieldsTable.mjs} +0 -0
- package/{esm2015/src/data/IRecordsTable.js → esm2020/src/data/IRecordsTable.mjs} +1 -0
- package/{esm2015/src/data/Key.js → esm2020/src/data/Key.mjs} +0 -0
- package/esm2020/src/data/Record.mjs +846 -0
- package/{esm2015/src/data/RecordOutOfDataViewException.js → esm2020/src/data/RecordOutOfDataViewException.mjs} +0 -0
- package/esm2020/src/data/RecordsTable.mjs +267 -0
- package/esm2020/src/data/TaskTransactionManager.mjs +103 -0
- package/esm2020/src/data/XMLBasedDcValuesBuilder.mjs +74 -0
- package/{esm2015/src/enums.js → esm2020/src/enums.mjs} +0 -0
- package/esm2020/src/env/EnvVariablesTable.mjs +340 -0
- package/esm2020/src/env/Environment.mjs +554 -0
- package/{esm2015/src/env/ILanguageData.js → esm2020/src/env/ILanguageData.mjs} +1 -0
- package/esm2020/src/env/LanguageData.mjs +222 -0
- package/esm2020/src/env/MirrorString.mjs +66 -0
- package/{esm2015/src/event/ActionManager.js → esm2020/src/event/ActionManager.mjs} +0 -0
- package/esm2020/src/event/Event.mjs +1436 -0
- package/esm2020/src/event/EventHandler.mjs +773 -0
- package/esm2020/src/event/EventHandlerPosition.mjs +201 -0
- package/esm2020/src/event/EventsManager.mjs +2983 -0
- package/esm2020/src/event/IEventsManager.mjs +7 -0
- package/esm2020/src/event/RunTimeEvent.mjs +406 -0
- package/{esm2015/src/event/RunTimeEventBase.js → esm2020/src/event/RunTimeEventBase.mjs} +0 -0
- package/{esm2015/src/event/UserEventsTable.js → esm2020/src/event/UserEventsTable.mjs} +0 -0
- package/{esm2015/src/exp/ExpTable.js → esm2020/src/exp/ExpTable.mjs} +0 -0
- package/esm2020/src/exp/Expression.mjs +200 -0
- package/{esm2015/src/exp/ExpressionDict.js → esm2020/src/exp/ExpressionDict.mjs} +0 -0
- package/esm2020/src/exp/ExpressionEvaluator.mjs +4373 -0
- package/esm2020/src/exp/ExpressionLocalJpn.mjs +314 -0
- package/esm2020/src/exp/GlobalParamsTable.mjs +85 -0
- package/esm2020/src/exp/YesNoExp.mjs +41 -0
- package/{esm2015/src/gui/CreatedFormVector.js → esm2020/src/gui/CreatedFormVector.mjs} +0 -0
- package/esm2020/src/gui/FormsTable.mjs +66 -0
- package/esm2020/src/gui/MgControl.mjs +357 -0
- package/esm2020/src/gui/MgForm.mjs +1195 -0
- package/esm2020/src/http/HttpManager.mjs +97 -0
- package/esm2020/src/http/client/HttpClientAsync.mjs +67 -0
- package/esm2020/src/http/client/HttpClientBase.mjs +148 -0
- package/{esm2015/src/http/client/HttpClientEvents.js → esm2020/src/http/client/HttpClientEvents.mjs} +0 -0
- package/esm2020/src/http/client/HttpClientSync.mjs +42 -0
- package/{esm2015/src/http/client/HttpUtility.js → esm2020/src/http/client/HttpUtility.mjs} +0 -0
- package/{esm2015/src/http/client/ICommunicationsFailureHandler.js → esm2020/src/http/client/ICommunicationsFailureHandler.mjs} +1 -0
- package/esm2020/src/remote/AddUserLocateRemoteDataViewCommand.mjs +18 -0
- package/esm2020/src/remote/AddUserRangeRemoteDataViewCommand.mjs +18 -0
- package/esm2020/src/remote/AddUserSortRemoteDataViewCommand.mjs +18 -0
- package/esm2020/src/remote/RemoteCommandsProcessor.mjs +872 -0
- package/esm2020/src/remote/RemoteControlItemsRefreshCommand.mjs +25 -0
- package/esm2020/src/remote/RemoteDataViewCommandBase.mjs +24 -0
- package/{esm2015/src/remote/RemoteDataViewCommandFactory.js → esm2020/src/remote/RemoteDataViewCommandFactory.mjs} +0 -0
- package/esm2020/src/remote/RemoteDataViewCommandUpdateNonModifiable.mjs +16 -0
- package/esm2020/src/remote/RemoteDataviewManager.mjs +17 -0
- package/esm2020/src/remote/RemoteInitDataViewCommand.mjs +11 -0
- package/esm2020/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +17 -0
- package/esm2020/src/remote/ResetUserRangeRemoteDataviewCommand.mjs +13 -0
- package/esm2020/src/remote/ResetUserSortRemoteDataviewCommand.mjs +16 -0
- package/esm2020/src/remote/ServerError.mjs +44 -0
- package/{esm2015/src/remote/SetTransactionStateRemoteDataViewCommand.js → esm2020/src/remote/SetTransactionStateRemoteDataViewCommand.mjs} +8 -11
- package/esm2020/src/rt/Argument.mjs +274 -0
- package/esm2020/src/rt/ArgumentsList.mjs +103 -0
- package/esm2020/src/rt/Boundary.mjs +158 -0
- package/{esm2015/src/rt/CompMainPrgTable.js → esm2020/src/rt/CompMainPrgTable.mjs} +0 -0
- package/esm2020/src/rt/DataviewHeaderBase.mjs +96 -0
- package/esm2020/src/rt/DataviewHeaderFactory.mjs +7 -0
- package/{esm2015/src/rt/DataviewHeaders.js → esm2020/src/rt/DataviewHeaders.mjs} +0 -0
- package/esm2020/src/rt/DataviewHeadersSaxHandler.mjs +39 -0
- package/{esm2015/src/rt/ExecutionStack.js → esm2020/src/rt/ExecutionStack.mjs} +0 -0
- package/{esm2015/src/rt/ExecutionStackEntry.js → esm2020/src/rt/ExecutionStackEntry.mjs} +0 -0
- package/{esm2015/src/rt/HandlersTable.js → esm2020/src/rt/HandlersTable.mjs} +0 -0
- package/{esm2015/src/rt/IDataSourceViewDefinition.js → esm2020/src/rt/IDataSourceViewDefinition.mjs} +1 -0
- package/{esm2015/src/rt/IDataviewHeader.js → esm2020/src/rt/IDataviewHeader.mjs} +1 -0
- package/{esm2015/src/rt/IResultValue.js → esm2020/src/rt/IResultValue.mjs} +1 -0
- package/{esm2015/src/rt/LastFocusedManager.js → esm2020/src/rt/LastFocusedManager.mjs} +0 -0
- package/esm2020/src/rt/Operation.mjs +745 -0
- package/{esm2015/src/rt/OperationTable.js → esm2020/src/rt/OperationTable.mjs} +0 -0
- package/esm2020/src/rt/Recompute.mjs +355 -0
- package/{esm2015/src/rt/RecomputeTable.js → esm2020/src/rt/RecomputeTable.mjs} +0 -0
- package/esm2020/src/rt/RemoteDataviewHeader.mjs +105 -0
- package/{esm2015/src/rt/ResultValue.js → esm2020/src/rt/ResultValue.mjs} +0 -0
- package/esm2020/src/rt/TableCache.mjs +177 -0
- package/esm2020/src/rt/TableCacheManager.mjs +67 -0
- package/esm2020/src/rt/Transaction.mjs +54 -0
- package/{esm2015/src/security/UserDetails.js → esm2020/src/security/UserDetails.mjs} +0 -0
- package/{esm2015/src/tasks/IMGDataCollection.js → esm2020/src/tasks/IMGDataCollection.mjs} +1 -0
- package/esm2020/src/tasks/MGData.mjs +552 -0
- package/esm2020/src/tasks/MGDataCollection.mjs +259 -0
- package/{esm2015/src/tasks/MenusDeserializer.js → esm2020/src/tasks/MenusDeserializer.mjs} +0 -0
- package/{esm2015/src/tasks/RCTimer.js → esm2020/src/tasks/RCTimer.mjs} +0 -0
- package/esm2020/src/tasks/RemoteTaskService.mjs +45 -0
- package/esm2020/src/tasks/Task.mjs +2501 -0
- package/{esm2015/src/tasks/TaskBase.js → esm2020/src/tasks/TaskBase.mjs} +22 -1
- package/esm2020/src/tasks/TaskServiceBase.mjs +25 -0
- package/esm2020/src/tasks/TasksTable.mjs +80 -0
- package/{esm2015/src/tasks/sort/Sort.js → esm2020/src/tasks/sort/Sort.mjs} +0 -0
- package/esm2020/src/tasks/sort/SortCollection.mjs +72 -0
- package/{esm2015/src/util/ConstUtils.js → esm2020/src/util/ConstUtils.mjs} +0 -0
- package/{esm2015/src/util/FlowMonitorQueue.js → esm2020/src/util/FlowMonitorQueue.mjs} +15 -18
- package/{esm2015/src/util/HeapSort.js → esm2020/src/util/HeapSort.mjs} +0 -0
- package/{esm2015/src/util/IMirrorXML.js → esm2020/src/util/IMirrorXML.mjs} +2 -1
- package/{esm2015/src/util/IServerConfig.js → esm2020/src/util/IServerConfig.mjs} +1 -0
- package/{esm2015/src/util/MgBlockingQueue.js → esm2020/src/util/MgBlockingQueue.mjs} +1 -0
- package/esm2020/src/util/MgPriorityBlockingQueue.mjs +76 -0
- package/{esm2015/src/util/MgPriorityQueue.js → esm2020/src/util/MgPriorityQueue.mjs} +0 -0
- package/esm2020/src/util/ParamParseResult.mjs +8 -0
- package/esm2020/src/util/PrmMap.mjs +151 -0
- package/esm2020/src/util/Process.mjs +7 -0
- package/esm2020/src/util/ReturnResult.mjs +46 -0
- package/{esm2015/src/util/ReturnResultBase.js → esm2020/src/util/ReturnResultBase.mjs} +0 -0
- package/{esm2015/src/util/Scrambler.js → esm2020/src/util/Scrambler.mjs} +0 -0
- package/{esm2015/src/util/UniqueIDUtils.js → esm2020/src/util/UniqueIDUtils.mjs} +0 -0
- package/{esm2015/src/util/cookie.service.js → esm2020/src/util/cookie.service.mjs} +0 -0
- package/fesm2015/{magic-xpa-engine.js → magic-xpa-engine.mjs} +267 -254
- package/fesm2015/magic-xpa-engine.mjs.map +1 -0
- package/fesm2020/magic-xpa-engine.mjs +30705 -0
- package/fesm2020/magic-xpa-engine.mjs.map +1 -0
- package/index.d.ts +2 -0
- package/package.json +27 -13
- package/src/AccessHelper.d.ts +1 -1
- package/src/CommandsProcessorBase.d.ts +3 -3
- package/src/GuiEventsProcessor.d.ts +1 -1
- package/src/commands/ClientToServer/BrowserEscEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ClientOriginatedCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ColumnSortEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ComputeEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +1 -2
- package/src/commands/ClientToServer/DataviewCommand.d.ts +1 -2
- package/src/commands/ClientToServer/EvaluateCommand.d.ts +1 -2
- package/src/commands/ClientToServer/EventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ExecOperCommand.d.ts +1 -2
- package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/IndexChangeEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +1 -2
- package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/QueryCommand.d.ts +1 -2
- package/src/commands/ClientToServer/RecomputeCommand.d.ts +1 -2
- package/src/commands/ClientToServer/RefreshEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/RollbackEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/TransactionCommand.d.ts +1 -2
- package/src/commands/ClientToServer/WriteMessageToServerLogCommand.d.ts +1 -2
- package/src/commands/DataViewCommandBase.d.ts +2 -2
- package/src/commands/IClientTargetedCommand.d.ts +1 -1
- package/src/commands/ServerToClient/ClientTargetedCommandBase.d.ts +1 -1
- package/src/data/FieldBase.d.ts +3 -3
- package/src/data/Record.d.ts +2 -9
- package/src/data/RecordsTable.d.ts +1 -2
- package/src/data/XMLBasedDcValuesBuilder.d.ts +1 -1
- package/src/env/EnvVariablesTable.d.ts +2 -15
- package/src/env/Environment.d.ts +0 -3
- package/src/env/MirrorString.d.ts +15 -0
- package/src/event/Event.d.ts +0 -3
- package/src/event/EventsManager.d.ts +7 -8
- package/src/event/IEventsManager.d.ts +5 -6
- package/src/exp/ExpressionEvaluator.d.ts +2 -2
- package/src/exp/ExpressionLocalJpn.d.ts +2 -2
- package/src/exp/GlobalParamsTable.d.ts +2 -1
- package/src/gui/MgControl.d.ts +0 -2
- package/src/gui/MgForm.d.ts +4 -4
- package/src/http/client/HttpClientAsync.d.ts +2 -2
- package/src/http/client/HttpClientBase.d.ts +3 -3
- package/src/http/client/HttpClientSync.d.ts +2 -2
- package/src/remote/RemoteCommandsProcessor.d.ts +1 -1
- package/src/rt/DataviewHeaderBase.d.ts +2 -2
- package/src/rt/DataviewHeaderFactory.d.ts +1 -1
- package/src/rt/Operation.d.ts +3 -1
- package/src/rt/RemoteDataviewHeader.d.ts +1 -2
- package/src/rt/Transaction.d.ts +1 -1
- package/src/tasks/RemoteTaskService.d.ts +2 -3
- package/src/tasks/Task.d.ts +1 -1
- package/src/tasks/TaskBase.d.ts +7 -7
- package/src/tasks/TaskServiceBase.d.ts +2 -4
- package/src/tasks/sort/SortCollection.d.ts +2 -3
- package/src/util/FlowMonitorQueue.d.ts +1 -1
- package/src/util/IMirrorXML.d.ts +1 -1
- package/src/util/ParamParseResult.d.ts +6 -0
- package/src/util/PrmMap.d.ts +0 -6
- package/src/util/Process.d.ts +1 -1
- package/bundles/magic-xpa-engine.umd.js +0 -38066
- package/bundles/magic-xpa-engine.umd.js.map +0 -1
- package/bundles/magic-xpa-engine.umd.min.js +0 -16
- package/bundles/magic-xpa-engine.umd.min.js.map +0 -1
- package/esm2015/index.js +0 -188
- package/esm2015/src/AccessHelper.js +0 -3
- package/esm2015/src/ClientManager.js +0 -412
- package/esm2015/src/CommandsProcessorBase.js +0 -54
- package/esm2015/src/CommandsProcessorManager.js +0 -31
- package/esm2015/src/CommandsTable.js +0 -166
- package/esm2015/src/GUIManager.js +0 -72
- package/esm2015/src/GuiEventsProcessor.js +0 -171
- package/esm2015/src/bridge/MagicBridge.js +0 -44
- package/esm2015/src/commands/ClientToServer/BrowserEscEventCommand.js +0 -24
- package/esm2015/src/commands/ClientToServer/ClientOriginatedCommand.js +0 -15
- package/esm2015/src/commands/ClientToServer/ClientOriginatedCommandSerializer.js +0 -60
- package/esm2015/src/commands/ClientToServer/ColumnSortEventCommand.js +0 -26
- package/esm2015/src/commands/ClientToServer/CommandFactory.js +0 -283
- package/esm2015/src/commands/ClientToServer/ComputeEventCommand.js +0 -23
- package/esm2015/src/commands/ClientToServer/ContextTerminationEventCommand.js +0 -21
- package/esm2015/src/commands/ClientToServer/ContextTimeoutResetCommand.js +0 -20
- package/esm2015/src/commands/ClientToServer/EvaluateCommand.js +0 -36
- package/esm2015/src/commands/ClientToServer/EventCommand.js +0 -40
- package/esm2015/src/commands/ClientToServer/ExecOperCommand.js +0 -67
- package/esm2015/src/commands/ClientToServer/FetchDataControlValuesEventCommand.js +0 -22
- package/esm2015/src/commands/ClientToServer/IndexChangeEventCommand.js +0 -21
- package/esm2015/src/commands/ClientToServer/IniputForceWriteCommand.js +0 -23
- package/esm2015/src/commands/ClientToServer/NonReversibleExitEventCommand.js +0 -23
- package/esm2015/src/commands/ClientToServer/QueryCommand.js +0 -21
- package/esm2015/src/commands/ClientToServer/RecomputeCommand.js +0 -27
- package/esm2015/src/commands/ClientToServer/RefreshEventCommand.js +0 -27
- package/esm2015/src/commands/ClientToServer/RefreshScreenEventCommand.js +0 -24
- package/esm2015/src/commands/ClientToServer/RollbackEventCommand.js +0 -39
- package/esm2015/src/commands/ClientToServer/SubformOpenEventCommand.js +0 -21
- package/esm2015/src/commands/ClientToServer/SubformRefreshEventCommand.js +0 -24
- package/esm2015/src/commands/ClientToServer/TransactionCommand.js +0 -28
- package/esm2015/src/commands/ClientToServer/WriteMessageToServerLogCommand.js +0 -18
- package/esm2015/src/commands/DataViewCommandBase.js +0 -6
- package/esm2015/src/commands/IClientTargetedCommand.js +0 -6
- package/esm2015/src/commands/ServerToClient/AbortCommand.js +0 -68
- package/esm2015/src/commands/ServerToClient/AddLocateCommand.js +0 -25
- package/esm2015/src/commands/ServerToClient/AddRangeCommand.js +0 -65
- package/esm2015/src/commands/ServerToClient/AddSortCommand.js +0 -36
- package/esm2015/src/commands/ServerToClient/ClientTargetedCommandBase.js +0 -24
- package/esm2015/src/commands/ServerToClient/EnhancedVerifyCommand.js +0 -48
- package/esm2015/src/commands/ServerToClient/OpenURLCommand.js +0 -225
- package/esm2015/src/commands/ServerToClient/ResetLocateCommand.js +0 -18
- package/esm2015/src/commands/ServerToClient/ResetRangeCommand.js +0 -18
- package/esm2015/src/commands/ServerToClient/ResetSortCommand.js +0 -18
- package/esm2015/src/commands/ServerToClient/ResultCommand.js +0 -40
- package/esm2015/src/commands/ServerToClient/VerifyCommand.js +0 -88
- package/esm2015/src/communications/InteractiveCommunicationsFailureHandler.js +0 -20
- package/esm2015/src/data/DataView.js +0 -1693
- package/esm2015/src/data/DataviewManager.js +0 -31
- package/esm2015/src/data/DataviewManagerBase.js +0 -18
- package/esm2015/src/data/Field.js +0 -672
- package/esm2015/src/data/FieldBase.js +0 -9
- package/esm2015/src/data/Record.js +0 -914
- package/esm2015/src/data/RecordsTable.js +0 -267
- package/esm2015/src/data/TaskTransactionManager.js +0 -110
- package/esm2015/src/data/XMLBasedDcValuesBuilder.js +0 -74
- package/esm2015/src/env/EnvVariablesTable.js +0 -408
- package/esm2015/src/env/Environment.js +0 -563
- package/esm2015/src/env/LanguageData.js +0 -230
- package/esm2015/src/event/Event.js +0 -1449
- package/esm2015/src/event/EventHandler.js +0 -787
- package/esm2015/src/event/EventHandlerPosition.js +0 -201
- package/esm2015/src/event/EventsManager.js +0 -3107
- package/esm2015/src/event/IEventsManager.js +0 -7
- package/esm2015/src/event/RunTimeEvent.js +0 -406
- package/esm2015/src/exp/Expression.js +0 -209
- package/esm2015/src/exp/ExpressionEvaluator.js +0 -4441
- package/esm2015/src/exp/ExpressionLocalJpn.js +0 -314
- package/esm2015/src/exp/GlobalParamsTable.js +0 -84
- package/esm2015/src/exp/YesNoExp.js +0 -44
- package/esm2015/src/gui/FormsTable.js +0 -73
- package/esm2015/src/gui/MgControl.js +0 -438
- package/esm2015/src/gui/MgForm.js +0 -1292
- package/esm2015/src/http/HttpManager.js +0 -100
- package/esm2015/src/http/client/HttpClientAsync.js +0 -72
- package/esm2015/src/http/client/HttpClientBase.js +0 -148
- package/esm2015/src/http/client/HttpClientSync.js +0 -47
- package/esm2015/src/remote/AddUserLocateRemoteDataViewCommand.js +0 -21
- package/esm2015/src/remote/AddUserRangeRemoteDataViewCommand.js +0 -21
- package/esm2015/src/remote/AddUserSortRemoteDataViewCommand.js +0 -21
- package/esm2015/src/remote/RemoteCommandsProcessor.js +0 -903
- package/esm2015/src/remote/RemoteControlItemsRefreshCommand.js +0 -28
- package/esm2015/src/remote/RemoteDataViewCommandBase.js +0 -27
- package/esm2015/src/remote/RemoteDataViewCommandUpdateNonModifiable.js +0 -19
- package/esm2015/src/remote/RemoteDataviewManager.js +0 -23
- package/esm2015/src/remote/RemoteInitDataViewCommand.js +0 -14
- package/esm2015/src/remote/ResetUserLocateRemoteDataviewCommand.js +0 -20
- package/esm2015/src/remote/ResetUserRangeRemoteDataviewCommand.js +0 -16
- package/esm2015/src/remote/ResetUserSortRemoteDataviewCommand.js +0 -19
- package/esm2015/src/remote/ServerError.js +0 -45
- package/esm2015/src/rt/Argument.js +0 -281
- package/esm2015/src/rt/ArgumentsList.js +0 -108
- package/esm2015/src/rt/Boundary.js +0 -161
- package/esm2015/src/rt/DataviewHeaderBase.js +0 -96
- package/esm2015/src/rt/DataviewHeaderFactory.js +0 -7
- package/esm2015/src/rt/DataviewHeadersSaxHandler.js +0 -40
- package/esm2015/src/rt/Operation.js +0 -769
- package/esm2015/src/rt/Recompute.js +0 -372
- package/esm2015/src/rt/RemoteDataviewHeader.js +0 -114
- package/esm2015/src/rt/TableCache.js +0 -182
- package/esm2015/src/rt/TableCacheManager.js +0 -70
- package/esm2015/src/rt/Transaction.js +0 -54
- package/esm2015/src/tasks/MGData.js +0 -561
- package/esm2015/src/tasks/MGDataCollection.js +0 -270
- package/esm2015/src/tasks/RemoteTaskService.js +0 -45
- package/esm2015/src/tasks/Task.js +0 -2593
- package/esm2015/src/tasks/TaskServiceBase.js +0 -30
- package/esm2015/src/tasks/TasksTable.js +0 -87
- package/esm2015/src/tasks/sort/SortCollection.js +0 -72
- package/esm2015/src/util/MgPriorityBlockingQueue.js +0 -79
- package/esm2015/src/util/PrmMap.js +0 -157
- package/esm2015/src/util/Process.js +0 -7
- package/esm2015/src/util/ReturnResult.js +0 -46
- package/fesm2015/magic-xpa-engine.js.map +0 -1
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ForceExit, Priority } from '@magic-xpa/utils';
|
|
2
2
|
import { ApplicationException, List, RefParam } from '@magic-xpa/mscorelib';
|
|
3
|
-
import { ITask, KeyboardItem, MgControlBase, MgFormBase, Modifiers
|
|
3
|
+
import { ITask, KeyboardItem, MgControlBase, MgFormBase, Modifiers } from '@magic-xpa/gui';
|
|
4
4
|
import { EventSubType } from '../enums';
|
|
5
5
|
import { MgControl } from '../gui/MgControl';
|
|
6
6
|
import { CompMainPrgTable } from '../rt/CompMainPrgTable';
|
|
7
7
|
import { Field } from '../data/Field';
|
|
8
8
|
import { RunTimeEvent } from './RunTimeEvent';
|
|
9
|
-
import { MgForm } from '../gui/MgForm';
|
|
10
9
|
import { Task } from '../tasks/Task';
|
|
11
10
|
import { TaskBase } from '../tasks/TaskBase';
|
|
12
11
|
import { ArgumentsList } from '../rt/ArgumentsList';
|
|
@@ -78,8 +77,8 @@ export declare class EventsManager implements IEventsManager {
|
|
|
78
77
|
addInternalEventWithCtrlAndCode(ctrl: MgControlBase, code: number): void;
|
|
79
78
|
addInternalEventWithCtrlAndDisplayLineAndCode(ctrl: MgControlBase, DisplayLine: number, code: number): void;
|
|
80
79
|
addInternalEventWithCtrlAndCodeAndPriority(ctrl: MgControlBase, code: number, priority: Priority): void;
|
|
81
|
-
addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(itask: ITask, code: number
|
|
82
|
-
addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier(ctrl: MgControlBase, code: number, line: number
|
|
80
|
+
addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(itask: ITask, code: number): void;
|
|
81
|
+
addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier(ctrl: MgControlBase, code: number, line: number): void;
|
|
83
82
|
addGuiTriggeredEventWithTaskAndCodeAndLine(task: Task, code: number, line: number): void;
|
|
84
83
|
AddColumnClickEvent(columnCtrl: MgControlBase, direction: number, columnHeader: string): void;
|
|
85
84
|
AddRouteEvent(task: ITask, code: number, routerpath: string, routerOutletName: string, routeParams: List<any>): void;
|
|
@@ -90,7 +89,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
90
89
|
addGuiTriggeredEventWithCtrlAndLineAndCodeAndIsProductClick(ctrl: MgControlBase, code: number, line: number, isProduceClick: boolean): void;
|
|
91
90
|
addGuiTriggeredEventWithCtrlAndCodeAndList(ctrl: MgControlBase, code: number, list: List<MgControlBase>): void;
|
|
92
91
|
addGuiTriggeredEventWithTaskAndCode(task: ITask, code: number): void;
|
|
93
|
-
addGuiTriggeredEventTaskAndCodeAndRaisedBy(task: ITask, code: number
|
|
92
|
+
addGuiTriggeredEventTaskAndCodeAndRaisedBy(task: ITask, code: number): void;
|
|
94
93
|
private getEvent;
|
|
95
94
|
getForceExit(): ForceExit;
|
|
96
95
|
private setForceExit;
|
|
@@ -134,7 +133,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
134
133
|
private moveToLine;
|
|
135
134
|
private createEventArguments;
|
|
136
135
|
DoTaskLevelRecordSuffix(task: TaskBase, refDoSuffix: RefParam<boolean>): Promise<boolean>;
|
|
137
|
-
DoTaskLevelRecordPrefix(task: TaskBase
|
|
136
|
+
DoTaskLevelRecordPrefix(task: TaskBase): Promise<void>;
|
|
138
137
|
private commonHandler;
|
|
139
138
|
private HandleActEnterRowEditing;
|
|
140
139
|
private HandleStopRowEditing;
|
|
@@ -178,7 +177,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
178
177
|
setEventScopeTrans(): void;
|
|
179
178
|
clearEventScope(): void;
|
|
180
179
|
GetEventTime(): number;
|
|
181
|
-
getMatchingAction(
|
|
180
|
+
getMatchingAction(kbItm: KeyboardItem): number;
|
|
182
181
|
getExecStack(): ExecutionStack;
|
|
183
182
|
pushExecStack(taskId: string, handlerId: string, operIdx: number): void;
|
|
184
183
|
popExecStack(): ExecutionStackEntry;
|
|
@@ -191,7 +190,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
191
190
|
setProcessingTopMostEndTask(inProcessingTopMostEndTask: boolean): void;
|
|
192
191
|
getProcessingTopMostEndTask(): boolean;
|
|
193
192
|
setAllowEvents(AllowEvents: EventsAllowedType): void;
|
|
194
|
-
setNonInteractiveAllowEvents(AllowEvents: boolean
|
|
193
|
+
setNonInteractiveAllowEvents(AllowEvents: boolean): void;
|
|
195
194
|
getAllowEvents(): EventsAllowedType;
|
|
196
195
|
NoEventsAllowed(): boolean;
|
|
197
196
|
private handleCtrlModify;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IGuiEventsManager, ITask, KeyboardItem,
|
|
1
|
+
import { ApplicationException, RefParam } from "@magic-xpa/mscorelib";
|
|
2
|
+
import { GuiTaskBase, IGuiEventsManager, ITask, KeyboardItem, MgControlBase } from "@magic-xpa/gui";
|
|
3
3
|
import { RunTimeEvent } from "./RunTimeEvent";
|
|
4
4
|
import { ExecutionStackEntry } from "../rt/ExecutionStackEntry";
|
|
5
5
|
import { ExecutionStack } from "../rt/ExecutionStack";
|
|
@@ -8,7 +8,6 @@ import { Field } from "../data/Field";
|
|
|
8
8
|
import { Task } from "../tasks/Task";
|
|
9
9
|
import { MgControl } from "../gui/MgControl";
|
|
10
10
|
import { EventSubType } from "../enums";
|
|
11
|
-
import { MgForm } from "../gui/MgForm";
|
|
12
11
|
import { HandlersTable } from "../rt/HandlersTable";
|
|
13
12
|
import { MGData } from "../tasks/MGData";
|
|
14
13
|
import { TaskBase } from "../tasks/TaskBase";
|
|
@@ -19,7 +18,7 @@ export declare enum EventsAllowedType {
|
|
|
19
18
|
ALL = 2
|
|
20
19
|
}
|
|
21
20
|
export interface IEventsManager extends IGuiEventsManager {
|
|
22
|
-
getMatchingAction(
|
|
21
|
+
getMatchingAction(kbItm: KeyboardItem): number;
|
|
23
22
|
ignoreUnknownAbort(): boolean;
|
|
24
23
|
getLastRtEvent(): RunTimeEvent;
|
|
25
24
|
getNextOperIdx(oper: any, clearWhenFound: boolean): number;
|
|
@@ -48,7 +47,7 @@ export interface IEventsManager extends IGuiEventsManager {
|
|
|
48
47
|
DoTaskLevelRecordSuffix(task: TaskBase, refDoSuffix: RefParam<boolean>): Promise<boolean>;
|
|
49
48
|
HandleNonParkableControls(itask: ITask): Promise<void>;
|
|
50
49
|
HandleParkabilityOnRowChange(itask: ITask): Promise<void>;
|
|
51
|
-
DoTaskLevelRecordPrefix(task: GuiTaskBase
|
|
50
|
+
DoTaskLevelRecordPrefix(task: GuiTaskBase): Promise<void>;
|
|
52
51
|
getProcessingTopMostEndTask(): boolean;
|
|
53
52
|
handleNonReversibleEvent(task: GuiTaskBase, eventCode: number): Promise<void>;
|
|
54
53
|
handleEvents(baseMgData: MGData, eventsToHandleCnt: number): Promise<void>;
|
|
@@ -66,7 +65,7 @@ export interface IEventsManager extends IGuiEventsManager {
|
|
|
66
65
|
ProcessAbortingError(ex: ApplicationException): Promise<void>;
|
|
67
66
|
getAllowEvents(): EventsAllowedType;
|
|
68
67
|
setAllowEvents(AllowEvents: EventsAllowedType): void;
|
|
69
|
-
setNonInteractiveAllowEvents(AllowEvents: boolean
|
|
68
|
+
setNonInteractiveAllowEvents(AllowEvents: boolean): void;
|
|
70
69
|
getPendingGuiEvent(): any;
|
|
71
70
|
setPendingGuiEvent(guiEvent: any): void;
|
|
72
71
|
checkAndSaveRouteEventIfCtxRemovedFromSrvr(rtEvent: any): void;
|
|
@@ -21,7 +21,7 @@ export declare class ExpressionEvaluator extends GuiExpressionEvaluator {
|
|
|
21
21
|
private eval_op_ClientSessionSet;
|
|
22
22
|
private execExpression;
|
|
23
23
|
private DiscardCndRangeExpression;
|
|
24
|
-
static val_cmp_any(val1: ExpVal, val2: ExpVal
|
|
24
|
+
static val_cmp_any(val1: ExpVal, val2: ExpVal): number;
|
|
25
25
|
static eval(exp: Int8Array, expectedType: StorageAttribute, task: TaskBase): Promise<ExpVal>;
|
|
26
26
|
static DiscardCndRangeResult(exp: Int8Array, task: TaskBase): Promise<boolean>;
|
|
27
27
|
private static set_a_pic;
|
|
@@ -168,7 +168,7 @@ export declare class ExpressionEvaluator extends GuiExpressionEvaluator {
|
|
|
168
168
|
private eval_op_projectdir;
|
|
169
169
|
private static IsValidVector;
|
|
170
170
|
private static GetAttributeChar;
|
|
171
|
-
GetTopMostForms(
|
|
171
|
+
GetTopMostForms(): List<MgFormBase>;
|
|
172
172
|
HandleControlGoto(ctrlTask: ITask, ctrl: MgControlBase, rowNo: number): boolean;
|
|
173
173
|
eval_op_set_title(resVal: ExpVal, title: ExpVal): void;
|
|
174
174
|
eval_op_is_row_editing(resVal: ExpVal, val1: ExpVal): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExpVal, NUM_TYPE
|
|
1
|
+
import { DisplayConvertor, ExpVal, NUM_TYPE } from "@magic-xpa/gui";
|
|
2
2
|
import { ExpressionEvaluator } from "./ExpressionEvaluator";
|
|
3
3
|
export declare class ExpressionLocalJpn {
|
|
4
4
|
static tableZen2Han: string[][];
|
|
@@ -8,7 +8,7 @@ export declare class ExpressionLocalJpn {
|
|
|
8
8
|
constructor(expressionEvaluator: ExpressionEvaluator);
|
|
9
9
|
eval_op_han(strVal: string): string;
|
|
10
10
|
eval_op_zens(strVal: string, mode: number): string;
|
|
11
|
-
eval_op_zimeread(
|
|
11
|
+
eval_op_zimeread(): string;
|
|
12
12
|
eval_op_zkana(strVal: string, mode: number): string;
|
|
13
13
|
eval_op_jcdow(resVal: ExpVal, val1: NUM_TYPE, displayConvertor: DisplayConvertor): void;
|
|
14
14
|
eval_op_jmonth(resVal: ExpVal, val1: ExpVal): void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { XmlParser } from "@magic-xpa/utils";
|
|
2
2
|
import { ExpVal } from "@magic-xpa/gui";
|
|
3
3
|
import { IMirrorXML } from "../util/IMirrorXML";
|
|
4
|
-
import { MirrorPrmMap
|
|
4
|
+
import { MirrorPrmMap } from "../util/PrmMap";
|
|
5
|
+
import { ParamParseResult } from '../util/ParamParseResult';
|
|
5
6
|
export declare class MirrorExpVal extends ExpVal implements IMirrorXML {
|
|
6
7
|
constructor();
|
|
7
8
|
constructor(val: ExpVal);
|
package/src/gui/MgControl.d.ts
CHANGED
|
@@ -48,8 +48,6 @@ export declare class MgControl extends MgControlBase implements PropParentInterf
|
|
|
48
48
|
updateSubformChildrenPropValue(propId: number, commandType: CommandType, val: boolean): Promise<void>;
|
|
49
49
|
Init(): void;
|
|
50
50
|
GetTableBehaviour(): TableBehaviour;
|
|
51
|
-
getFieldXML(recIdx: number): string;
|
|
52
|
-
getParentFieldXML(recIdx: number): string;
|
|
53
51
|
validateAndSetValue(NewValue: any, updateCtrl: boolean): Promise<boolean>;
|
|
54
52
|
private setValue;
|
|
55
53
|
refreshAndSetItemsListForRadioButton(line: number, execComputeChoice: boolean): Promise<void>;
|
package/src/gui/MgForm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MgControlBase, MgFormBase } from '@magic-xpa/gui';
|
|
2
2
|
import { MgControlType } from '@magic-xpa/utils';
|
|
3
3
|
import { MgControl } from './MgControl';
|
|
4
4
|
import { Record } from '../data/Record';
|
|
@@ -26,7 +26,7 @@ export declare class MgForm extends MgFormBase {
|
|
|
26
26
|
moveInView(unit: string, direction: string, returnToCtrl?: boolean): Promise<void>;
|
|
27
27
|
private moveInView_0;
|
|
28
28
|
private moveInView_1;
|
|
29
|
-
addRec(doSuffix: boolean,
|
|
29
|
+
addRec(doSuffix: boolean, isCrelineAbove: boolean): Promise<void>;
|
|
30
30
|
delCurrRec(): Promise<void>;
|
|
31
31
|
cancelEdit(isActCancel: boolean, isQuitEvent: boolean): Promise<void>;
|
|
32
32
|
refreshOnExpressions(): Promise<void>;
|
|
@@ -41,7 +41,7 @@ export declare class MgForm extends MgFormBase {
|
|
|
41
41
|
isRowValidated(idx: number): boolean;
|
|
42
42
|
transferDataToGui(): Promise<void>;
|
|
43
43
|
private checkAndCreateRowsEvent;
|
|
44
|
-
setRowData(desiredTopIndex: number, sendAll: boolean
|
|
44
|
+
setRowData(desiredTopIndex: number, sendAll: boolean): Promise<void>;
|
|
45
45
|
private refreshRows;
|
|
46
46
|
getVisibleLine(): number;
|
|
47
47
|
bringRecordToPage(): Promise<void>;
|
|
@@ -80,7 +80,7 @@ export declare class MgForm extends MgFormBase {
|
|
|
80
80
|
private InitTableControl_01;
|
|
81
81
|
SetTableTopIndex(): void;
|
|
82
82
|
createForm(): void;
|
|
83
|
-
UpdateStatusBar(
|
|
83
|
+
UpdateStatusBar(): void;
|
|
84
84
|
initInnerObjects(foundTagName: string): boolean;
|
|
85
85
|
toString(): string;
|
|
86
86
|
GetHiddenControlListXML(): string;
|
|
@@ -5,9 +5,9 @@ import { ICommunicationsFailureHandler } from "./ICommunicationsFailureHandler";
|
|
|
5
5
|
export declare class HttpClientAsync extends HttpClientBase {
|
|
6
6
|
private httpClient;
|
|
7
7
|
constructor(httpClient: HttpClient);
|
|
8
|
-
prepareRequest(
|
|
8
|
+
prepareRequest(): void;
|
|
9
9
|
addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
|
|
10
|
-
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string
|
|
10
|
+
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
|
|
11
11
|
logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): void;
|
|
12
12
|
handleHttpErrorException(ex: any, urlString: string): void;
|
|
13
13
|
shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): Promise<boolean>;
|
|
@@ -21,12 +21,12 @@ export declare abstract class HttpClientBase {
|
|
|
21
21
|
private static HeadersToString;
|
|
22
22
|
private static GetHTTPExpect100Continue;
|
|
23
23
|
private static GetUseHighestSecurityProtocol;
|
|
24
|
-
abstract prepareRequest(
|
|
24
|
+
abstract prepareRequest(): any;
|
|
25
25
|
abstract addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
|
|
26
|
-
|
|
26
|
+
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
|
|
27
27
|
abstract logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): any;
|
|
28
28
|
abstract handleHttpErrorException(ex: any, urlString: string): any;
|
|
29
|
-
|
|
29
|
+
shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): Promise<boolean>;
|
|
30
30
|
abstract logAndThrowException(ex: any): any;
|
|
31
31
|
abstract logExecutionAttempts(executionAttempts: number): any;
|
|
32
32
|
}
|
|
@@ -6,9 +6,9 @@ export declare class HttpClientSync extends HttpClientBase {
|
|
|
6
6
|
private httpRequest;
|
|
7
7
|
private headers;
|
|
8
8
|
constructor();
|
|
9
|
-
prepareRequest(
|
|
9
|
+
prepareRequest(): void;
|
|
10
10
|
addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
|
|
11
|
-
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string
|
|
11
|
+
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
|
|
12
12
|
logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): void;
|
|
13
13
|
handleHttpErrorException(ex: any, urlString: string): void;
|
|
14
14
|
shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): Promise<boolean>;
|
|
@@ -39,7 +39,7 @@ export declare class RemoteCommandsProcessor extends CommandsProcessorBase {
|
|
|
39
39
|
private HandleErrorResponse;
|
|
40
40
|
private ExecuteRequest;
|
|
41
41
|
GetContent(requestedURL: string, useCache: boolean, requestContent?: string): Promise<string>;
|
|
42
|
-
ClientActivated(
|
|
42
|
+
ClientActivated(): void;
|
|
43
43
|
private BuildUrlSuffix;
|
|
44
44
|
SendMonitorOnly(): Promise<void>;
|
|
45
45
|
private BuildMonitorMessage;
|
|
@@ -28,7 +28,7 @@ export declare abstract class DataviewHeaderBase {
|
|
|
28
28
|
constructor(task: Task);
|
|
29
29
|
SetAttributes(attributes: Dictionary<string>): void;
|
|
30
30
|
protected setAttribute(attribute: string, valueStr: string): void;
|
|
31
|
-
abstract SetReturnValue(
|
|
32
|
-
|
|
31
|
+
abstract SetReturnValue(ret: boolean, recompute: boolean): void;
|
|
32
|
+
getLinkedRecord(curRec: Record): Promise<boolean>;
|
|
33
33
|
InitLinkFields(currRec: IRecord): Promise<void>;
|
|
34
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataviewHeaderBase } from "./DataviewHeaderBase";
|
|
2
2
|
import { Task } from "../tasks/Task";
|
|
3
3
|
export declare class DataviewHeaderFactory {
|
|
4
|
-
CreateDataviewHeaders(task: Task
|
|
4
|
+
CreateDataviewHeaders(task: Task): DataviewHeaderBase;
|
|
5
5
|
}
|
package/src/rt/Operation.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { TaskDefinitionId } from '@magic-xpa/gui';
|
|
|
4
4
|
import { ArgumentsList } from './ArgumentsList';
|
|
5
5
|
import { EventHandler } from '../event/EventHandler';
|
|
6
6
|
import { Field } from '../data/Field';
|
|
7
|
+
import { RunTimeEvent } from '../event/RunTimeEvent';
|
|
7
8
|
import { Task } from '../tasks/Task';
|
|
8
9
|
export declare class Operation {
|
|
9
10
|
private _condExp;
|
|
@@ -62,7 +63,7 @@ export declare class Operation {
|
|
|
62
63
|
static InitField(valueStr: string, task: Task): Field;
|
|
63
64
|
execute(returnedFromServer: boolean): Promise<boolean>;
|
|
64
65
|
private operCallParallel;
|
|
65
|
-
static callParallel(
|
|
66
|
+
static callParallel(): void;
|
|
66
67
|
private getCondVal;
|
|
67
68
|
getType(): number;
|
|
68
69
|
getRouteParams(): List<any>;
|
|
@@ -96,4 +97,5 @@ export declare class Operation {
|
|
|
96
97
|
GetReturnValueField(): Field;
|
|
97
98
|
GetSubformControlName(): string;
|
|
98
99
|
toString(): string;
|
|
100
|
+
GetRuntimeEvent(): RunTimeEvent;
|
|
99
101
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IRecord } from "@magic-xpa/gui";
|
|
2
1
|
import { DataviewHeaderBase } from "./DataviewHeaderBase";
|
|
3
2
|
import { Task } from "../tasks/Task";
|
|
4
3
|
import { Record } from "../data/Record";
|
|
@@ -11,5 +10,5 @@ export declare class RemoteDataviewHeader extends DataviewHeaderBase {
|
|
|
11
10
|
private copyLinkFldToRec;
|
|
12
11
|
private initRec;
|
|
13
12
|
getLastFetchedDbPos(): string;
|
|
14
|
-
SetReturnValue(
|
|
13
|
+
SetReturnValue(ret: boolean, recompute: boolean): Promise<void>;
|
|
15
14
|
}
|
package/src/rt/Transaction.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class Transaction {
|
|
|
7
7
|
Opened: boolean;
|
|
8
8
|
OwnerTask: Task;
|
|
9
9
|
LocalTransactionId: number;
|
|
10
|
-
constructor(task: TaskBase, setTransId: string
|
|
10
|
+
constructor(task: TaskBase, setTransId: string);
|
|
11
11
|
isOwner(task: Task): boolean;
|
|
12
12
|
close(): void;
|
|
13
13
|
open(): void;
|
|
@@ -2,16 +2,15 @@ import { TaskServiceBase } from './TaskServiceBase';
|
|
|
2
2
|
import { DataviewManagerBase } from '../data/DataviewManagerBase';
|
|
3
3
|
import { ReturnResult } from '../util/ReturnResult';
|
|
4
4
|
import { Task } from './Task';
|
|
5
|
-
import { Event } from '../event/Event';
|
|
6
5
|
export declare class RemoteTaskService extends TaskServiceBase {
|
|
7
6
|
constructor();
|
|
8
7
|
GetTaskTag(defaultValue: string): string;
|
|
9
8
|
GetDataviewManagerForVirtuals(task: Task): DataviewManagerBase;
|
|
10
9
|
PrepareTask(task: Task): ReturnResult;
|
|
11
|
-
GetEventTaskId(
|
|
10
|
+
GetEventTaskId(originalTaskId: string): string;
|
|
12
11
|
ShouldEvaluatePropertyLocally(propId: number): boolean;
|
|
13
12
|
InitTaskPrefixExecutedFlag(task: Task): void;
|
|
14
|
-
RemoveRecomputes(parentTask: Task
|
|
13
|
+
RemoveRecomputes(parentTask: Task): void;
|
|
15
14
|
GetOwnerTransactionTask(task: Task): Task;
|
|
16
15
|
static PreparePropMainDisplay(task: Task): ReturnResult;
|
|
17
16
|
}
|
package/src/tasks/Task.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export declare class Task extends TaskBase {
|
|
|
132
132
|
getExpById(id: number): Expression;
|
|
133
133
|
getExpObjectById(id: number): any;
|
|
134
134
|
GetExpressionStorage(expId: number): any;
|
|
135
|
-
CalculateExpression(expId: number, resType: StorageAttribute, length: number
|
|
135
|
+
CalculateExpression(expId: number, resType: StorageAttribute, length: number): Promise<string>;
|
|
136
136
|
insertRecordTable(invalidate: boolean, parser: XmlParser): Promise<void>;
|
|
137
137
|
getHandlersTab(): HandlersTable;
|
|
138
138
|
buildXML(message: StringBuilder): Promise<void>;
|
package/src/tasks/TaskBase.d.ts
CHANGED
|
@@ -56,24 +56,24 @@ export declare abstract class TaskBase extends GuiTaskBase {
|
|
|
56
56
|
abstract setTryingToStop(val: boolean): void;
|
|
57
57
|
abstract resetExecEndTask(): void;
|
|
58
58
|
abstract getTriggeringTask(): TaskBase;
|
|
59
|
-
|
|
59
|
+
isCached(): Promise<boolean>;
|
|
60
60
|
abstract getLoopCounter(): number;
|
|
61
61
|
abstract getCounter(): number;
|
|
62
62
|
abstract buildXMLForRngs(message: StringBuilder, UserRanges: List<UserRange>, locate: boolean): void;
|
|
63
63
|
abstract buildXMLForSorts(message: StringBuilder): void;
|
|
64
64
|
abstract getTaskCache(): DvCache;
|
|
65
65
|
abstract isTableWithAbsolutesScrollbar(): boolean;
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
prepareCache(ignoreCurr: boolean): Promise<boolean>;
|
|
67
|
+
testAndSet(ignoreCurr: boolean): Promise<boolean>;
|
|
68
68
|
abstract setPreventRecordSuffix(val: boolean): void;
|
|
69
69
|
abstract transactionFailed(level: string): boolean;
|
|
70
70
|
abstract HasLoacte(): boolean;
|
|
71
71
|
abstract isTransactionOwner(): boolean;
|
|
72
72
|
abstract getParent(): TaskBase;
|
|
73
73
|
abstract getMgdID(): number;
|
|
74
|
-
|
|
74
|
+
SubformRefresh(subformTask: TaskBase, explicitSubformRefresh: boolean): Promise<void>;
|
|
75
75
|
abstract setExecEndTask(): void;
|
|
76
|
-
|
|
76
|
+
stop(): Promise<void>;
|
|
77
77
|
abstract abort(): void;
|
|
78
78
|
abstract enableCreateActs(val: boolean): void;
|
|
79
79
|
abstract cancelWasRaised(): boolean;
|
|
@@ -101,8 +101,8 @@ export declare abstract class TaskBase extends GuiTaskBase {
|
|
|
101
101
|
abstract getExternalTaskId(): string;
|
|
102
102
|
abstract set Transaction(value: Transaction);
|
|
103
103
|
abstract get Transaction(): Transaction;
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
fillData(mgd: MGData, openingTaskDetails: OpeningTaskDetails): Promise<void>;
|
|
105
|
+
buildXML(message: StringBuilder): Promise<void>;
|
|
106
106
|
}
|
|
107
107
|
export declare class UserRange {
|
|
108
108
|
veeIdx: number;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { DataviewManagerBase } from "../data/DataviewManagerBase";
|
|
2
2
|
import { ReturnResult } from "../util/ReturnResult";
|
|
3
3
|
import { Task } from "./Task";
|
|
4
|
-
import { Event } from "../event/Event";
|
|
5
|
-
import { TaskBase } from "./TaskBase";
|
|
6
4
|
export declare abstract class TaskServiceBase {
|
|
7
5
|
abstract GetTaskTag(defaultValue: string): string;
|
|
8
6
|
static CreateFirstRecord(task: Task): void;
|
|
9
7
|
abstract GetDataviewManagerForVirtuals(task: Task): DataviewManagerBase;
|
|
10
8
|
PrepareTask(task: Task): ReturnResult;
|
|
11
9
|
static PreparePropOpenTaskWindow(task: Task): Promise<void>;
|
|
12
|
-
abstract GetEventTaskId(
|
|
10
|
+
abstract GetEventTaskId(originalTaskId: string): string;
|
|
13
11
|
abstract ShouldEvaluatePropertyLocally(propId: number): boolean;
|
|
14
12
|
abstract InitTaskPrefixExecutedFlag(task: Task): void;
|
|
15
13
|
static Exit(task: Task, reversibleExit: boolean, subformDestination: boolean): Promise<void>;
|
|
16
|
-
abstract RemoveRecomputes(parentTask: Task
|
|
14
|
+
abstract RemoveRecomputes(parentTask: Task): void;
|
|
17
15
|
GetOwnerTransactionTask(task: Task): Task;
|
|
18
16
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Sort } from './Sort';
|
|
2
2
|
import { XmlParser } from '@magic-xpa/utils';
|
|
3
|
-
import { Task } from '../Task';
|
|
4
3
|
export declare class SortCollection {
|
|
5
4
|
private _sortTab;
|
|
6
5
|
constructor();
|
|
7
|
-
fillData(
|
|
8
|
-
initInnerObjects(parser: XmlParser, foundTagName: string
|
|
6
|
+
fillData(parser: XmlParser): void;
|
|
7
|
+
initInnerObjects(parser: XmlParser, foundTagName: string): boolean;
|
|
9
8
|
private InitElements;
|
|
10
9
|
getSort(idx: number): Sort;
|
|
11
10
|
getSize(): number;
|
|
@@ -53,7 +53,7 @@ export declare class FlowMonitorQueue implements IFlowMonitorQueue {
|
|
|
53
53
|
private _isTaskFlow;
|
|
54
54
|
ShouldSerialize: boolean;
|
|
55
55
|
static get Instance(): FlowMonitorQueue;
|
|
56
|
-
addTaskCngMode(
|
|
56
|
+
addTaskCngMode(newTaskMode: string, taskInfo: string): void;
|
|
57
57
|
fillData(parser: XmlParser): void;
|
|
58
58
|
private initElements;
|
|
59
59
|
buildXML(message: StringBuilder): void;
|
package/src/util/IMirrorXML.d.ts
CHANGED
package/src/util/PrmMap.d.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { Dictionary, List } from '@magic-xpa/mscorelib';
|
|
2
2
|
import { XmlParser } from '@magic-xpa/utils';
|
|
3
3
|
import { IMirrorXML } from './IMirrorXML';
|
|
4
|
-
export declare enum ParamParseResult {
|
|
5
|
-
OK = 0,
|
|
6
|
-
TOUPPER = 1,
|
|
7
|
-
DELETE = 2,
|
|
8
|
-
FAILED = 3
|
|
9
|
-
}
|
|
10
4
|
export declare class PrmMap<TValue extends IMirrorXML> {
|
|
11
5
|
values: Dictionary<TValue>;
|
|
12
6
|
protected getvalue(s: string): TValue;
|
package/src/util/Process.d.ts
CHANGED