@magic-xpa/engine 4.800.0-dev480.94 → 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/esm2020/src/ConstInterface.mjs +729 -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/esm2020/src/commands/ClientToServer/SelectProgramCommand.mjs +15 -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/esm2020/src/event/ActionManager.mjs +94 -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} +3 -1
- 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} +613 -420
- 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 +3 -0
- package/package.json +27 -13
- package/src/AccessHelper.d.ts +1 -1
- package/src/CommandsProcessorBase.d.ts +3 -3
- package/src/ConstInterface.d.ts +6 -2
- 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/CommandFactory.d.ts +1 -0
- 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 +3 -3
- 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/SelectProgramCommand.d.ts +6 -0
- 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/commands/ServerToClient/EnhancedVerifyCommand.d.ts +0 -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 +3 -3
- package/src/env/MirrorString.d.ts +15 -0
- package/src/event/Event.d.ts +0 -3
- package/src/event/EventsManager.d.ts +18 -9
- package/src/event/IEventsManager.d.ts +6 -6
- package/src/exp/ExpressionEvaluator.d.ts +3 -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 +5 -5
- 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 -4
- package/src/rt/RemoteDataviewHeader.d.ts +1 -2
- package/src/rt/Transaction.d.ts +1 -1
- package/src/tasks/MGData.d.ts +2 -0
- package/src/tasks/MGDataCollection.d.ts +1 -0
- package/src/tasks/RemoteTaskService.d.ts +2 -3
- package/src/tasks/Task.d.ts +1 -2
- 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 +1 -6
- package/src/util/Process.d.ts +1 -1
- package/bundles/magic-xpa-engine.umd.js +0 -37878
- 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 -187
- 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/ConstInterface.js +0 -725
- 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 -269
- 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 -64
- 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 -54
- 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 -553
- package/esm2015/src/env/LanguageData.js +0 -230
- package/esm2015/src/event/ActionManager.js +0 -93
- package/esm2015/src/event/Event.js +0 -1449
- package/esm2015/src/event/EventHandler.js +0 -781
- package/esm2015/src/event/EventHandlerPosition.js +0 -201
- package/esm2015/src/event/EventsManager.js +0 -3007
- 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 -4430
- 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 -1300
- 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 -876
- 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 -792
- 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 -551
- package/esm2015/src/tasks/MGDataCollection.js +0 -260
- 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 -147
- 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
package/src/env/Environment.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { XmlParser } from '@magic-xpa/utils';
|
|
|
4
4
|
export declare class Environment implements IEnvironment {
|
|
5
5
|
private _environments;
|
|
6
6
|
private _contextInactivityTimeout;
|
|
7
|
+
private _clientContextInactivityTimeout;
|
|
7
8
|
private _contextInactivityWarningTime;
|
|
8
9
|
private _toolitipTimeout;
|
|
9
10
|
private _contextUnloadTimeout;
|
|
@@ -48,12 +49,9 @@ export declare class Environment implements IEnvironment {
|
|
|
48
49
|
private constructor();
|
|
49
50
|
get Language(): string;
|
|
50
51
|
SpecialOldZorder: boolean;
|
|
51
|
-
set SpecialNumpadPlusChar(value: boolean);
|
|
52
52
|
get SpecialNumpadPlusChar(): boolean;
|
|
53
53
|
IgnoreReplaceDecimalSeparator: boolean;
|
|
54
|
-
set SpecialRestoreMaximizedForm(value: boolean);
|
|
55
54
|
get SpecialRestoreMaximizedForm(): boolean;
|
|
56
|
-
set SpecialIgnoreBGinModify(value: boolean);
|
|
57
55
|
get SpecialIgnoreBGinModify(): boolean;
|
|
58
56
|
set ForwardSlashUsage(value: string);
|
|
59
57
|
get ForwardSlashUsage(): string;
|
|
@@ -84,6 +82,7 @@ export declare class Environment implements IEnvironment {
|
|
|
84
82
|
getSystem(): string;
|
|
85
83
|
GetDebugLevel(): number;
|
|
86
84
|
CanReplaceDecimalSeparator(): boolean;
|
|
85
|
+
getClientContextInactivityTimeout(): number;
|
|
87
86
|
getContextInactivityTimeout(): number;
|
|
88
87
|
getContextInactivityWarningTime(): number;
|
|
89
88
|
getContextUnloadTimeout(): number;
|
|
@@ -119,6 +118,7 @@ export declare class Environment implements IEnvironment {
|
|
|
119
118
|
setAllowUpdateInQueryMode(compIdx: number, val: boolean): void;
|
|
120
119
|
setAllowCreateInModifyMode(compIdx: number, val: boolean): void;
|
|
121
120
|
setContextInactivityTimeout(val: number): void;
|
|
121
|
+
setClientContextInactivityTimeout(val: number): void;
|
|
122
122
|
setContextInactivityWarningTime(val: number): void;
|
|
123
123
|
setContextUnloadTimeout(val: number): void;
|
|
124
124
|
setTerminal(val: number): void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IMirrorXML } from "../util/IMirrorXML";
|
|
2
|
+
import { ParamParseResult } from "../util/ParamParseResult";
|
|
3
|
+
import { XmlParser } from "@magic-xpa/utils";
|
|
4
|
+
export declare class MirrorString implements IMirrorXML {
|
|
5
|
+
private _reserved;
|
|
6
|
+
private _value;
|
|
7
|
+
constructor();
|
|
8
|
+
constructor(s: string);
|
|
9
|
+
private constructor_0;
|
|
10
|
+
private constructor_1;
|
|
11
|
+
mirrorToXML(): string;
|
|
12
|
+
init(name: String, xmlParser: XmlParser): ParamParseResult;
|
|
13
|
+
ToString(): string;
|
|
14
|
+
isReserved(): boolean;
|
|
15
|
+
}
|
package/src/event/Event.d.ts
CHANGED
|
@@ -31,11 +31,8 @@ export declare class Event {
|
|
|
31
31
|
UserEvt: Event;
|
|
32
32
|
UserEvtTaskTag: string;
|
|
33
33
|
constructor();
|
|
34
|
-
constructor(evt: Event);
|
|
35
|
-
constructor(aType: string);
|
|
36
34
|
private constructor_0;
|
|
37
35
|
protected constructor_1(evt: Event): void;
|
|
38
|
-
private constructor_4;
|
|
39
36
|
get ForceExit(): ForceExit;
|
|
40
37
|
fillData(xmlParser: XmlParser, taskRef: TaskBase): void;
|
|
41
38
|
private InitInnerObjects;
|
|
@@ -1,14 +1,14 @@
|
|
|
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';
|
|
11
|
+
import { ArgumentsList } from '../rt/ArgumentsList';
|
|
12
12
|
import { MGData } from '../tasks/MGData';
|
|
13
13
|
import { HandlersTable } from '../rt/HandlersTable';
|
|
14
14
|
import { Operation } from '../rt/Operation';
|
|
@@ -39,6 +39,9 @@ export declare class EventsManager implements IEventsManager {
|
|
|
39
39
|
private _isHandlingForceExit;
|
|
40
40
|
private _isNonReversibleExit;
|
|
41
41
|
private _isInRecordFlushEvent;
|
|
42
|
+
private static clientInactivityTimerON;
|
|
43
|
+
private static clientContextInactivityTimerAborted;
|
|
44
|
+
private lastSavedRouteEvent;
|
|
42
45
|
private _stopExecution;
|
|
43
46
|
private _processingTopMostEndTask;
|
|
44
47
|
private _stopExecutionCtrl;
|
|
@@ -74,24 +77,26 @@ export declare class EventsManager implements IEventsManager {
|
|
|
74
77
|
addInternalEventWithCtrlAndCode(ctrl: MgControlBase, code: number): void;
|
|
75
78
|
addInternalEventWithCtrlAndDisplayLineAndCode(ctrl: MgControlBase, DisplayLine: number, code: number): void;
|
|
76
79
|
addInternalEventWithCtrlAndCodeAndPriority(ctrl: MgControlBase, code: number, priority: Priority): void;
|
|
77
|
-
addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(itask: ITask, code: number
|
|
78
|
-
addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier(ctrl: MgControlBase, code: number, line: number
|
|
80
|
+
addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(itask: ITask, code: number): void;
|
|
81
|
+
addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier(ctrl: MgControlBase, code: number, line: number): void;
|
|
79
82
|
addGuiTriggeredEventWithTaskAndCodeAndLine(task: Task, code: number, line: number): void;
|
|
80
83
|
AddColumnClickEvent(columnCtrl: MgControlBase, direction: number, columnHeader: string): void;
|
|
81
84
|
AddRouteEvent(task: ITask, code: number, routerpath: string, routerOutletName: string, routeParams: List<any>): void;
|
|
82
85
|
AddRouterClosedEvent(task: Task): void;
|
|
86
|
+
AddLastSavedRouteEvent(srcTask: Task, args: ArgumentsList): void;
|
|
83
87
|
AddExternalValueEvent(ctrl: MgControl, value: any, refreshDisplay: boolean): void;
|
|
84
88
|
addGuiTriggeredEventWithCtrlAndCodeAndLine(ctrl: MgControlBase, code: number, line: number): void;
|
|
85
89
|
addGuiTriggeredEventWithCtrlAndLineAndCodeAndIsProductClick(ctrl: MgControlBase, code: number, line: number, isProduceClick: boolean): void;
|
|
86
90
|
addGuiTriggeredEventWithCtrlAndCodeAndList(ctrl: MgControlBase, code: number, list: List<MgControlBase>): void;
|
|
87
91
|
addGuiTriggeredEventWithTaskAndCode(task: ITask, code: number): void;
|
|
88
|
-
addGuiTriggeredEventTaskAndCodeAndRaisedBy(task: ITask, code: number
|
|
92
|
+
addGuiTriggeredEventTaskAndCodeAndRaisedBy(task: ITask, code: number): void;
|
|
89
93
|
private getEvent;
|
|
90
94
|
getForceExit(): ForceExit;
|
|
91
95
|
private setForceExit;
|
|
92
96
|
private getForceExitTask;
|
|
93
97
|
private setForceExitTask;
|
|
94
98
|
isForceExitPreRecordUpdate(task: TaskBase): boolean;
|
|
99
|
+
ExecuteClientContextInactivityTimer(): Promise<void>;
|
|
95
100
|
CheckAndShowSpinner(show: boolean): Promise<void>;
|
|
96
101
|
EventsLoop(mgData: MGData): Promise<void>;
|
|
97
102
|
NonInteractiveEventsLoop(mgData: MGData, taskBase: TaskBase): Promise<void>;
|
|
@@ -105,6 +110,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
105
110
|
private handleKeyDown;
|
|
106
111
|
private handleSelection;
|
|
107
112
|
private handleMouseUp;
|
|
113
|
+
checkAndSaveRouteEventIfCtxRemovedFromSrvr(aRtEvt: any): void;
|
|
108
114
|
private handleFocus;
|
|
109
115
|
private HandleSubformModality;
|
|
110
116
|
private handleFocusOnNonMagicControl;
|
|
@@ -122,13 +128,12 @@ export declare class EventsManager implements IEventsManager {
|
|
|
122
128
|
protected selectProg(ctrl: MgControl): Promise<boolean>;
|
|
123
129
|
private executeControlVerification;
|
|
124
130
|
private onActSelection;
|
|
125
|
-
private onActDefaultButton;
|
|
126
131
|
private onSubformClose;
|
|
127
132
|
performSubformClose(subformCtrl: MgControl): Promise<void>;
|
|
128
133
|
private moveToLine;
|
|
129
134
|
private createEventArguments;
|
|
130
135
|
DoTaskLevelRecordSuffix(task: TaskBase, refDoSuffix: RefParam<boolean>): Promise<boolean>;
|
|
131
|
-
DoTaskLevelRecordPrefix(task: TaskBase
|
|
136
|
+
DoTaskLevelRecordPrefix(task: TaskBase): Promise<void>;
|
|
132
137
|
private commonHandler;
|
|
133
138
|
private HandleActEnterRowEditing;
|
|
134
139
|
private HandleStopRowEditing;
|
|
@@ -160,6 +165,10 @@ export declare class EventsManager implements IEventsManager {
|
|
|
160
165
|
inNonReversibleExit(): boolean;
|
|
161
166
|
pushRtEvent(rtEvt: RunTimeEvent): void;
|
|
162
167
|
popRtEvent(): RunTimeEvent;
|
|
168
|
+
storeLastSavedRouteEventOnLocalStorage(): void;
|
|
169
|
+
restoreLastSavedRouteEventFromLocalStorage(): void;
|
|
170
|
+
getLastSavedRouteEvent(): RunTimeEvent;
|
|
171
|
+
setLastSavedRouteEvent(rtEvt: RunTimeEvent): void;
|
|
163
172
|
getLastRtEvent(): RunTimeEvent;
|
|
164
173
|
setIgnoreUnknownAbort(val: boolean): void;
|
|
165
174
|
ignoreUnknownAbort(): boolean;
|
|
@@ -168,7 +177,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
168
177
|
setEventScopeTrans(): void;
|
|
169
178
|
clearEventScope(): void;
|
|
170
179
|
GetEventTime(): number;
|
|
171
|
-
getMatchingAction(
|
|
180
|
+
getMatchingAction(kbItm: KeyboardItem): number;
|
|
172
181
|
getExecStack(): ExecutionStack;
|
|
173
182
|
pushExecStack(taskId: string, handlerId: string, operIdx: number): void;
|
|
174
183
|
popExecStack(): ExecutionStackEntry;
|
|
@@ -181,7 +190,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
181
190
|
setProcessingTopMostEndTask(inProcessingTopMostEndTask: boolean): void;
|
|
182
191
|
getProcessingTopMostEndTask(): boolean;
|
|
183
192
|
setAllowEvents(AllowEvents: EventsAllowedType): void;
|
|
184
|
-
setNonInteractiveAllowEvents(AllowEvents: boolean
|
|
193
|
+
setNonInteractiveAllowEvents(AllowEvents: boolean): void;
|
|
185
194
|
getAllowEvents(): EventsAllowedType;
|
|
186
195
|
NoEventsAllowed(): boolean;
|
|
187
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,9 +65,10 @@ 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;
|
|
71
|
+
checkAndSaveRouteEventIfCtxRemovedFromSrvr(rtEvent: any): void;
|
|
72
72
|
CheckAndShowSpinner(show: boolean): Promise<void>;
|
|
73
73
|
SpinnerStopped: Subject<number>;
|
|
74
74
|
}
|
|
@@ -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;
|
|
@@ -177,6 +177,7 @@ export declare class ExpressionEvaluator extends GuiExpressionEvaluator {
|
|
|
177
177
|
eval_op_set_cookie(cookieName: string, expVal: ExpVal[], resVal: ExpVal): any;
|
|
178
178
|
eval_op_get_cookie(cookieName: string, resVal: ExpVal): void;
|
|
179
179
|
eval_op_delete_cookie(cookieName: string, resVal: ExpVal): void;
|
|
180
|
+
eval_op_route_get(resVal: ExpVal): void;
|
|
180
181
|
private params2arguments;
|
|
181
182
|
}
|
|
182
183
|
export declare class NullValueException extends Exception {
|
|
@@ -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';
|
|
@@ -8,6 +8,7 @@ export declare class MgForm extends MgFormBase {
|
|
|
8
8
|
private static TIME_LIMIT;
|
|
9
9
|
IsMovingInView: boolean;
|
|
10
10
|
PrevDisplayLine: number;
|
|
11
|
+
RefreshAllRows: boolean;
|
|
11
12
|
IgnoreFirstRecordCycle: boolean;
|
|
12
13
|
MovedToFirstControl: boolean;
|
|
13
14
|
private _suffixDone;
|
|
@@ -25,7 +26,7 @@ export declare class MgForm extends MgFormBase {
|
|
|
25
26
|
moveInView(unit: string, direction: string, returnToCtrl?: boolean): Promise<void>;
|
|
26
27
|
private moveInView_0;
|
|
27
28
|
private moveInView_1;
|
|
28
|
-
addRec(doSuffix: boolean,
|
|
29
|
+
addRec(doSuffix: boolean, isCrelineAbove: boolean): Promise<void>;
|
|
29
30
|
delCurrRec(): Promise<void>;
|
|
30
31
|
cancelEdit(isActCancel: boolean, isQuitEvent: boolean): Promise<void>;
|
|
31
32
|
refreshOnExpressions(): Promise<void>;
|
|
@@ -40,13 +41,12 @@ export declare class MgForm extends MgFormBase {
|
|
|
40
41
|
isRowValidated(idx: number): boolean;
|
|
41
42
|
transferDataToGui(): Promise<void>;
|
|
42
43
|
private checkAndCreateRowsEvent;
|
|
43
|
-
setRowData(desiredTopIndex: number, sendAll: boolean
|
|
44
|
+
setRowData(desiredTopIndex: number, sendAll: boolean): Promise<void>;
|
|
44
45
|
private refreshRows;
|
|
45
46
|
getVisibleLine(): number;
|
|
46
47
|
bringRecordToPage(): Promise<void>;
|
|
47
48
|
invalidateTable(): void;
|
|
48
49
|
getPrevLine(line: number): number;
|
|
49
|
-
getDefaultButton(checkVisibleEnable: boolean): Promise<MgControl>;
|
|
50
50
|
clearTableColumnSortMark(clearSortMark: boolean): void;
|
|
51
51
|
stopRowEditing(idx: number): Promise<void>;
|
|
52
52
|
startRowEditing(idx: number): 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;
|
|
@@ -16,8 +17,6 @@ export declare class Operation {
|
|
|
16
17
|
private _buttons;
|
|
17
18
|
private _checkByServer;
|
|
18
19
|
private _cmdToServer;
|
|
19
|
-
private _defaultButton;
|
|
20
|
-
private _defaultButtonExp;
|
|
21
20
|
private _display;
|
|
22
21
|
private _errLogAppend;
|
|
23
22
|
private _evtHandler;
|
|
@@ -64,7 +63,7 @@ export declare class Operation {
|
|
|
64
63
|
static InitField(valueStr: string, task: Task): Field;
|
|
65
64
|
execute(returnedFromServer: boolean): Promise<boolean>;
|
|
66
65
|
private operCallParallel;
|
|
67
|
-
static callParallel(
|
|
66
|
+
static callParallel(): void;
|
|
68
67
|
private getCondVal;
|
|
69
68
|
getType(): number;
|
|
70
69
|
getRouteParams(): List<any>;
|
|
@@ -72,7 +71,6 @@ export declare class Operation {
|
|
|
72
71
|
private operVerify;
|
|
73
72
|
static getButtons(buttonsID: string): number;
|
|
74
73
|
static getImage(imageID: string): number;
|
|
75
|
-
static getDefaultButton(defaultButtonID: number): number;
|
|
76
74
|
static setoperVerifyReturnValue(returnValue: number, returnVal: Field): Promise<void>;
|
|
77
75
|
private operBlock;
|
|
78
76
|
private operElse;
|
|
@@ -99,4 +97,5 @@ export declare class Operation {
|
|
|
99
97
|
GetReturnValueField(): Field;
|
|
100
98
|
GetSubformControlName(): string;
|
|
101
99
|
toString(): string;
|
|
100
|
+
GetRuntimeEvent(): RunTimeEvent;
|
|
102
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;
|
package/src/tasks/MGData.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { Task } from "./Task";
|
|
|
4
4
|
import { OpeningTaskDetails } from "./TaskBase";
|
|
5
5
|
import { XmlParser } from "@magic-xpa/utils";
|
|
6
6
|
import { List, StringBuilder } from "@magic-xpa/mscorelib";
|
|
7
|
+
import { TaskDefinitionId } from "@magic-xpa/gui";
|
|
7
8
|
import { EventHandler } from "../event/EventHandler";
|
|
8
9
|
export declare class MGData {
|
|
9
10
|
private _expHandlers;
|
|
@@ -42,6 +43,7 @@ export declare class MGData {
|
|
|
42
43
|
getNextMainProg(ctlIdx: number): Task;
|
|
43
44
|
clientTransactionCacheExists(): boolean;
|
|
44
45
|
serverTransactionCacheExists(): boolean;
|
|
46
|
+
getTaskByTaskDefinitionID(taskDefinitionID: TaskDefinitionId): Task;
|
|
45
47
|
getTimerHandlers(): HandlersTable;
|
|
46
48
|
addTimerHandler(handler: EventHandler): void;
|
|
47
49
|
removeTimerHandler(task: Task): void;
|
|
@@ -13,6 +13,7 @@ export declare class MGDataCollection implements IMGDataCollection {
|
|
|
13
13
|
private _iteratorTaskIdx;
|
|
14
14
|
currMgdID: number;
|
|
15
15
|
StartupMgData: MGData;
|
|
16
|
+
private _lastRouteSentToServer;
|
|
16
17
|
constructor();
|
|
17
18
|
GetTaskByID(id: string): ITask;
|
|
18
19
|
static get Instance(): MGDataCollection;
|
|
@@ -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>;
|
|
@@ -141,7 +141,6 @@ export declare class Task extends TaskBase {
|
|
|
141
141
|
getUserEvent(idx: number): Event;
|
|
142
142
|
private SetMoveToFirstControl;
|
|
143
143
|
Start(moveToFirstControl: boolean, callByDestSubForm: boolean): Promise<ITask>;
|
|
144
|
-
CanResumeSubformLayout(): boolean;
|
|
145
144
|
private InitializeExecution;
|
|
146
145
|
private InitializeForm;
|
|
147
146
|
private StartSubTasks;
|
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