@magic-xpa/engine 4.1100.0-dev4110.99 → 4.1101.0-dev4111.271
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -7
- package/{esm2020 → esm2022}/index.mjs +188 -188
- package/{esm2020 → esm2022}/magic-xpa-engine.mjs +1 -1
- package/esm2022/src/AccessHelper.mjs +15 -0
- package/esm2022/src/ClientManager.mjs +421 -0
- package/esm2022/src/CommandsProcessorBase.mjs +56 -0
- package/{esm2020 → esm2022}/src/CommandsProcessorManager.mjs +25 -25
- package/esm2022/src/CommandsTable.mjs +162 -0
- package/esm2022/src/ConstInterface.mjs +517 -0
- package/{esm2020 → esm2022}/src/CurrentClientVersion.mjs +2 -2
- package/esm2022/src/FlowMonitorInterface.mjs +16 -0
- package/esm2022/src/GUIManager.mjs +62 -0
- package/esm2022/src/GlobalCommandsManager.mjs +34 -0
- package/esm2022/src/GuiEventsProcessor.mjs +156 -0
- package/{esm2020 → esm2022}/src/ICommandsTable.mjs +1 -1
- package/esm2022/src/ServerConfig.mjs +122 -0
- package/{esm2020 → esm2022}/src/bridge/IGuiEvent.mjs +19 -19
- package/esm2022/src/bridge/MagicBridge.mjs +41 -0
- package/esm2022/src/commands/ClientOriginatedCommandTaskTag.mjs +12 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserLocateDataViewCommand.mjs +8 -8
- package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserRangeDataviewCommand.mjs +9 -9
- package/{esm2020 → esm2022}/src/commands/ClientToServer/AddUserSortDataViewCommand.mjs +9 -9
- package/esm2022/src/commands/ClientToServer/BrowserEscEventCommand.mjs +26 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ClientOriginatedCommand.mjs +14 -14
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +59 -59
- package/esm2022/src/commands/ClientToServer/ColumnSortEventCommand.mjs +29 -0
- package/esm2022/src/commands/ClientToServer/CommandFactory.mjs +261 -0
- package/esm2022/src/commands/ClientToServer/CommandSerializationHelper.mjs +67 -0
- package/esm2022/src/commands/ClientToServer/ComputeEventCommand.mjs +26 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTerminationEventCommand.mjs +24 -21
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTimeoutResetCommand.mjs +23 -20
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ControlItemsRefreshCommand.mjs +8 -8
- package/esm2022/src/commands/ClientToServer/DataViewOutputCommand.mjs +13 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/DataviewCommand.mjs +44 -44
- package/esm2022/src/commands/ClientToServer/EvaluateCommand.mjs +40 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/EventCommand.mjs +43 -40
- package/esm2022/src/commands/ClientToServer/ExecOperCommand.mjs +70 -0
- package/esm2022/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +25 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/GlobalParamsQueryCommand.mjs +10 -10
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ICommandTaskTag.mjs +1 -1
- package/esm2022/src/commands/ClientToServer/IndexChangeEventCommand.mjs +24 -0
- package/esm2022/src/commands/ClientToServer/IniputForceWriteCommand.mjs +26 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/NonReversibleExitEventCommand.mjs +26 -23
- package/{esm2020 → esm2022}/src/commands/ClientToServer/QueryCommand.mjs +20 -20
- package/esm2022/src/commands/ClientToServer/RecomputeCommand.mjs +30 -0
- package/esm2022/src/commands/ClientToServer/RefreshEventCommand.mjs +30 -0
- package/esm2022/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +27 -0
- package/esm2022/src/commands/ClientToServer/RollbackEventCommand.mjs +43 -0
- package/esm2022/src/commands/ClientToServer/SelectProgramCommand.mjs +19 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/SetTransactionStateDataviewCommand.mjs +9 -9
- package/esm2022/src/commands/ClientToServer/SubformOpenEventCommand.mjs +24 -0
- package/esm2022/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +27 -0
- package/esm2022/src/commands/ClientToServer/TransactionCommand.mjs +34 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/UnloadCommand.mjs +18 -15
- package/esm2022/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +18 -0
- package/esm2022/src/commands/DataViewCommandBase.mjs +8 -0
- package/{esm2020 → esm2022}/src/commands/IClientCommand.mjs +1 -1
- package/esm2022/src/commands/IClientTargetedCommand.mjs +13 -0
- package/{esm2020 → esm2022}/src/commands/IClientToServerCommandInfo.mjs +2 -2
- package/esm2022/src/commands/ServerToClient/AbortCommand.mjs +65 -0
- package/{esm2020 → esm2022}/src/commands/ServerToClient/AddLocateCommand.mjs +21 -21
- package/{esm2020 → esm2022}/src/commands/ServerToClient/AddRangeCommand.mjs +62 -62
- package/{esm2020 → esm2022}/src/commands/ServerToClient/AddSortCommand.mjs +33 -33
- package/esm2022/src/commands/ServerToClient/ClientRefreshCommand.mjs +25 -0
- package/esm2022/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +24 -0
- package/esm2022/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +45 -0
- package/esm2022/src/commands/ServerToClient/OpenURLCommand.mjs +221 -0
- package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetLocateCommand.mjs +14 -14
- package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetRangeCommand.mjs +14 -14
- package/{esm2020 → esm2022}/src/commands/ServerToClient/ResetSortCommand.mjs +14 -14
- package/esm2022/src/commands/ServerToClient/ResultCommand.mjs +37 -0
- package/esm2022/src/commands/ServerToClient/VerifyCommand.mjs +83 -0
- package/{esm2020 → esm2022}/src/commands/ServerToClient/XMLBasedCommandBuilder.mjs +132 -132
- package/{esm2020 → esm2022}/src/communications/IConnectionStateManager.mjs +1 -1
- package/esm2022/src/communications/InteractiveCommunicationsFailureHandler.mjs +15 -0
- package/{esm2020 → esm2022}/src/data/DataSourceIdKey.mjs +2 -2
- package/esm2022/src/data/DataView.mjs +1613 -0
- package/{esm2020 → esm2022}/src/data/DataViewBase.mjs +3 -3
- package/esm2022/src/data/DataviewManager.mjs +28 -0
- package/esm2022/src/data/DataviewManagerBase.mjs +15 -0
- package/esm2022/src/data/DvCache.mjs +67 -0
- package/esm2022/src/data/Field.mjs +646 -0
- package/esm2022/src/data/FieldBase.mjs +15 -0
- package/esm2022/src/data/FieldsTable.mjs +103 -0
- package/{esm2020 → esm2022}/src/data/IRecordsTable.mjs +1 -1
- package/{esm2020 → esm2022}/src/data/Key.mjs +88 -88
- package/esm2022/src/data/Record.mjs +880 -0
- package/{esm2020 → esm2022}/src/data/RecordOutOfDataViewException.mjs +15 -15
- package/esm2022/src/data/RecordsTable.mjs +267 -0
- package/{esm2020 → esm2022}/src/data/TaskTransactionManager.mjs +107 -103
- package/{esm2020 → esm2022}/src/data/XMLBasedDcValuesBuilder.mjs +74 -74
- package/{esm2020 → esm2022}/src/enums.mjs +23 -23
- package/esm2022/src/env/EnvVariablesTable.mjs +340 -0
- package/esm2022/src/env/Environment.mjs +487 -0
- package/{esm2020 → esm2022}/src/env/ILanguageData.mjs +1 -1
- package/esm2022/src/env/LanguageData.mjs +227 -0
- package/{esm2020 → esm2022}/src/env/MirrorString.mjs +65 -65
- package/esm2022/src/event/ActionManager.mjs +91 -0
- package/esm2022/src/event/Event.mjs +1333 -0
- package/esm2022/src/event/EventHandler.mjs +766 -0
- package/esm2022/src/event/EventHandlerPosition.mjs +204 -0
- package/esm2022/src/event/EventsManager.mjs +2988 -0
- package/{esm2020 → esm2022}/src/event/IEventsManager.mjs +6 -6
- package/esm2022/src/event/RunTimeEvent.mjs +399 -0
- package/{esm2020 → esm2022}/src/event/RunTimeEventBase.mjs +3 -3
- package/esm2022/src/event/UserEventsTable.mjs +47 -0
- package/esm2022/src/exp/ExpTable.mjs +57 -0
- package/esm2022/src/exp/Expression.mjs +200 -0
- package/esm2022/src/exp/ExpressionDict.mjs +727 -0
- package/esm2022/src/exp/ExpressionEvaluator.mjs +4206 -0
- package/esm2022/src/exp/ExpressionLocalJpn.mjs +314 -0
- package/{esm2020 → esm2022}/src/exp/GlobalParamsTable.mjs +85 -85
- package/esm2022/src/exp/YesNoExp.mjs +36 -0
- package/esm2022/src/gui/CreatedFormVector.mjs +23 -0
- package/esm2022/src/gui/FormsTable.mjs +66 -0
- package/esm2022/src/gui/MgControl.mjs +363 -0
- package/esm2022/src/gui/MgForm.mjs +1224 -0
- package/esm2022/src/http/HttpManager.mjs +97 -0
- package/esm2022/src/http/client/HttpClientAsync.mjs +68 -0
- package/{esm2020 → esm2022}/src/http/client/HttpClientBase.mjs +132 -132
- package/esm2022/src/http/client/HttpClientEvents.mjs +39 -0
- package/esm2022/src/http/client/HttpClientSync.mjs +42 -0
- package/esm2022/src/http/client/HttpUtility.mjs +84 -0
- package/{esm2020 → esm2022}/src/http/client/ICommunicationsFailureHandler.mjs +1 -1
- package/{esm2020 → esm2022}/src/remote/AddUserLocateRemoteDataViewCommand.mjs +18 -18
- package/{esm2020 → esm2022}/src/remote/AddUserRangeRemoteDataViewCommand.mjs +18 -18
- package/{esm2020 → esm2022}/src/remote/AddUserSortRemoteDataViewCommand.mjs +18 -18
- package/esm2022/src/remote/RemoteCommandsProcessor.mjs +883 -0
- package/{esm2020 → esm2022}/src/remote/RemoteControlItemsRefreshCommand.mjs +25 -25
- package/{esm2020 → esm2022}/src/remote/RemoteDataViewCommandBase.mjs +24 -24
- package/{esm2020 → esm2022}/src/remote/RemoteDataViewCommandFactory.mjs +60 -60
- package/{esm2020 → esm2022}/src/remote/RemoteDataViewCommandUpdateNonModifiable.mjs +15 -15
- package/{esm2020 → esm2022}/src/remote/RemoteDataviewManager.mjs +17 -17
- package/{esm2020 → esm2022}/src/remote/RemoteInitDataViewCommand.mjs +10 -10
- package/{esm2020 → esm2022}/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +16 -16
- package/{esm2020 → esm2022}/src/remote/ResetUserRangeRemoteDataviewCommand.mjs +12 -12
- package/{esm2020 → esm2022}/src/remote/ResetUserSortRemoteDataviewCommand.mjs +15 -15
- package/esm2022/src/remote/ServerError.mjs +40 -0
- package/{esm2020 → esm2022}/src/remote/SetTransactionStateRemoteDataViewCommand.mjs +19 -19
- package/esm2022/src/rt/Argument.mjs +265 -0
- package/esm2022/src/rt/ArgumentsList.mjs +103 -0
- package/esm2022/src/rt/Boundary.mjs +152 -0
- package/esm2022/src/rt/CompMainPrgTable.mjs +63 -0
- package/esm2022/src/rt/DataviewHeaderBase.mjs +98 -0
- package/{esm2020 → esm2022}/src/rt/DataviewHeaderFactory.mjs +6 -6
- package/esm2022/src/rt/DataviewHeaders.mjs +53 -0
- package/{esm2020 → esm2022}/src/rt/DataviewHeadersSaxHandler.mjs +38 -38
- package/{esm2020 → esm2022}/src/rt/ExecutionStack.mjs +94 -94
- package/{esm2020 → esm2022}/src/rt/ExecutionStackEntry.mjs +17 -17
- package/{esm2020 → esm2022}/src/rt/HandlersTable.mjs +96 -96
- package/{esm2020 → esm2022}/src/rt/IDataSourceViewDefinition.mjs +1 -1
- package/{esm2020 → esm2022}/src/rt/IDataviewHeader.mjs +1 -1
- package/{esm2020 → esm2022}/src/rt/IResultValue.mjs +1 -1
- package/esm2022/src/rt/LastFocusedManager.mjs +65 -0
- package/esm2022/src/rt/Operation.mjs +735 -0
- package/esm2022/src/rt/OperationTable.mjs +67 -0
- package/esm2022/src/rt/Recompute.mjs +355 -0
- package/{esm2020 → esm2022}/src/rt/RecomputeTable.mjs +62 -62
- package/{esm2020 → esm2022}/src/rt/RemoteDataviewHeader.mjs +108 -108
- package/esm2022/src/rt/ResultValue.mjs +10 -0
- package/esm2022/src/rt/TableCache.mjs +177 -0
- package/esm2022/src/rt/TableCacheManager.mjs +67 -0
- package/esm2022/src/rt/Transaction.mjs +53 -0
- package/esm2022/src/security/UserDetails.mjs +71 -0
- package/{esm2020 → esm2022}/src/tasks/IMGDataCollection.mjs +1 -1
- package/esm2022/src/tasks/MGData.mjs +552 -0
- package/esm2022/src/tasks/MGDataCollection.mjs +252 -0
- package/esm2022/src/tasks/RCTimer.mjs +63 -0
- package/{esm2020 → esm2022}/src/tasks/RemoteTaskService.mjs +44 -44
- package/esm2022/src/tasks/Task.mjs +2499 -0
- package/esm2022/src/tasks/TaskBase.mjs +83 -0
- package/{esm2020 → esm2022}/src/tasks/TaskServiceBase.mjs +24 -24
- package/esm2022/src/tasks/TasksTable.mjs +80 -0
- package/esm2022/src/tasks/sort/Sort.mjs +5 -0
- package/{esm2020 → esm2022}/src/tasks/sort/SortCollection.mjs +67 -67
- package/{esm2020 → esm2022}/src/util/ConstUtils.mjs +13 -13
- package/esm2022/src/util/FlowMonitorQueue.mjs +451 -0
- package/{esm2020 → esm2022}/src/util/HeapSort.mjs +69 -69
- package/{esm2020 → esm2022}/src/util/IMirrorXML.mjs +1 -1
- package/{esm2020 → esm2022}/src/util/IServerConfig.mjs +1 -1
- package/{esm2020 → esm2022}/src/util/MgBlockingQueue.mjs +1 -1
- package/esm2022/src/util/MgPriorityBlockingQueue.mjs +74 -0
- package/esm2022/src/util/MgPriorityQueue.mjs +66 -0
- package/{esm2020 → esm2022}/src/util/ParamParseResult.mjs +7 -7
- package/esm2022/src/util/PrmMap.mjs +152 -0
- package/esm2022/src/util/ReturnResult.mjs +46 -0
- package/esm2022/src/util/ReturnResultBase.mjs +18 -0
- package/esm2022/src/util/Scrambler.mjs +89 -0
- package/esm2022/src/util/UniqueIDUtils.mjs +13 -0
- package/{esm2020 → esm2022}/src/util/cookie.service.mjs +92 -92
- package/{fesm2020 → fesm2022}/magic-xpa-engine.mjs +29888 -29690
- package/fesm2022/magic-xpa-engine.mjs.map +1 -0
- package/index.d.ts +187 -187
- package/package.json +8 -14
- package/src/AccessHelper.d.ts +20 -20
- package/src/ClientManager.d.ts +35 -32
- package/src/CommandsProcessorBase.d.ts +23 -23
- package/src/CommandsProcessorManager.d.ts +6 -6
- package/src/CommandsTable.d.ts +22 -22
- package/src/ConstInterface.d.ts +516 -515
- package/src/CurrentClientVersion.d.ts +1 -1
- package/src/FlowMonitorInterface.d.ts +15 -15
- package/src/GUIManager.d.ts +17 -17
- package/src/GlobalCommandsManager.d.ts +17 -17
- package/src/GuiEventsProcessor.d.ts +24 -24
- package/src/ICommandsTable.d.ts +9 -9
- package/src/ServerConfig.d.ts +35 -34
- package/src/bridge/IGuiEvent.d.ts +19 -19
- package/src/bridge/MagicBridge.d.ts +16 -16
- package/src/commands/ClientOriginatedCommandTaskTag.d.ts +8 -8
- package/src/commands/ClientToServer/AddUserLocateDataViewCommand.d.ts +4 -4
- package/src/commands/ClientToServer/AddUserRangeDataviewCommand.d.ts +6 -6
- package/src/commands/ClientToServer/AddUserSortDataViewCommand.d.ts +6 -6
- package/src/commands/ClientToServer/BrowserEscEventCommand.d.ts +9 -8
- package/src/commands/ClientToServer/ClientOriginatedCommand.d.ts +8 -8
- package/src/commands/ClientToServer/ClientOriginatedCommandSerializer.d.ts +6 -6
- package/src/commands/ClientToServer/ColumnSortEventCommand.d.ts +11 -10
- package/src/commands/ClientToServer/CommandFactory.d.ts +64 -64
- package/src/commands/ClientToServer/CommandSerializationHelper.d.ts +20 -20
- package/src/commands/ClientToServer/ComputeEventCommand.d.ts +9 -8
- package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +8 -7
- package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +8 -7
- package/src/commands/ClientToServer/ControlItemsRefreshCommand.d.ts +6 -6
- package/src/commands/ClientToServer/DataViewOutputCommand.d.ts +9 -9
- package/src/commands/ClientToServer/DataviewCommand.d.ts +32 -32
- package/src/commands/ClientToServer/EvaluateCommand.d.ts +16 -15
- package/src/commands/ClientToServer/EventCommand.d.ts +16 -15
- package/src/commands/ClientToServer/ExecOperCommand.d.ts +24 -23
- package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +9 -8
- package/src/commands/ClientToServer/GlobalParamsQueryCommand.d.ts +5 -5
- package/src/commands/ClientToServer/ICommandTaskTag.d.ts +3 -3
- package/src/commands/ClientToServer/IndexChangeEventCommand.d.ts +9 -8
- package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +11 -10
- package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +9 -8
- package/src/commands/ClientToServer/QueryCommand.d.ts +8 -8
- package/src/commands/ClientToServer/RecomputeCommand.d.ts +12 -11
- package/src/commands/ClientToServer/RefreshEventCommand.d.ts +13 -12
- package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +11 -10
- package/src/commands/ClientToServer/RollbackEventCommand.d.ts +15 -14
- package/src/commands/ClientToServer/SelectProgramCommand.d.ts +7 -6
- package/src/commands/ClientToServer/SetTransactionStateDataviewCommand.d.ts +5 -5
- package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +9 -8
- package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +10 -9
- package/src/commands/ClientToServer/TransactionCommand.d.ts +14 -12
- package/src/commands/ClientToServer/UnloadCommand.d.ts +8 -7
- package/src/commands/ClientToServer/WriteMessageToServerLogCommand.d.ts +6 -6
- package/src/commands/DataViewCommandBase.d.ts +6 -6
- package/src/commands/IClientCommand.d.ts +2 -2
- package/src/commands/IClientTargetedCommand.d.ts +12 -12
- package/src/commands/IClientToServerCommandInfo.d.ts +4 -3
- package/src/commands/ServerToClient/AbortCommand.d.ts +11 -11
- package/src/commands/ServerToClient/AddLocateCommand.d.ts +6 -6
- package/src/commands/ServerToClient/AddRangeCommand.d.ts +10 -10
- package/src/commands/ServerToClient/AddSortCommand.d.ts +9 -9
- package/src/commands/ServerToClient/ClientRefreshCommand.d.ts +7 -7
- package/src/commands/ServerToClient/ClientTargetedCommandBase.d.ts +12 -12
- package/src/commands/ServerToClient/EnhancedVerifyCommand.d.ts +13 -13
- package/src/commands/ServerToClient/OpenURLCommand.d.ts +21 -21
- package/src/commands/ServerToClient/ResetLocateCommand.d.ts +6 -6
- package/src/commands/ServerToClient/ResetRangeCommand.d.ts +6 -6
- package/src/commands/ServerToClient/ResetSortCommand.d.ts +6 -6
- package/src/commands/ServerToClient/ResultCommand.d.ts +10 -10
- package/src/commands/ServerToClient/VerifyCommand.d.ts +17 -17
- package/src/commands/ServerToClient/XMLBasedCommandBuilder.d.ts +11 -11
- package/src/communications/IConnectionStateManager.d.ts +4 -4
- package/src/communications/InteractiveCommunicationsFailureHandler.d.ts +6 -6
- package/src/data/DataSourceIdKey.d.ts +2 -2
- package/src/data/DataView.d.ts +162 -162
- package/src/data/DataViewBase.d.ts +12 -12
- package/src/data/DataviewManager.d.ts +14 -14
- package/src/data/DataviewManagerBase.d.ts +11 -11
- package/src/data/DvCache.d.ts +15 -15
- package/src/data/Field.d.ts +103 -103
- package/src/data/FieldBase.d.ts +23 -23
- package/src/data/FieldsTable.d.ts +27 -27
- package/src/data/IRecordsTable.d.ts +7 -7
- package/src/data/Key.d.ts +15 -15
- package/src/data/Record.d.ts +157 -156
- package/src/data/RecordOutOfDataViewException.d.ts +10 -10
- package/src/data/RecordsTable.d.ts +38 -38
- package/src/data/TaskTransactionManager.d.ts +17 -17
- package/src/data/XMLBasedDcValuesBuilder.d.ts +11 -11
- package/src/enums.d.ts +21 -21
- package/src/env/EnvVariablesTable.d.ts +17 -17
- package/src/env/Environment.d.ts +118 -118
- package/src/env/ILanguageData.d.ts +3 -3
- package/src/env/LanguageData.d.ts +20 -20
- package/src/env/MirrorString.d.ts +15 -15
- package/src/event/ActionManager.d.ts +14 -14
- package/src/event/Event.d.ts +79 -79
- package/src/event/EventHandler.d.ts +66 -66
- package/src/event/EventHandlerPosition.d.ts +25 -25
- package/src/event/EventsManager.d.ts +205 -204
- package/src/event/IEventsManager.d.ts +77 -77
- package/src/event/RunTimeEvent.d.ts +126 -123
- package/src/event/RunTimeEventBase.d.ts +5 -5
- package/src/event/UserEventsTable.d.ts +11 -11
- package/src/exp/ExpTable.d.ts +11 -11
- package/src/exp/Expression.d.ts +37 -37
- package/src/exp/ExpressionDict.d.ts +12 -12
- package/src/exp/ExpressionEvaluator.d.ts +198 -198
- package/src/exp/ExpressionLocalJpn.d.ts +18 -18
- package/src/exp/GlobalParamsTable.d.ts +19 -19
- package/src/exp/YesNoExp.d.ts +9 -9
- package/src/gui/CreatedFormVector.d.ts +10 -10
- package/src/gui/FormsTable.d.ts +15 -15
- package/src/gui/MgControl.d.ts +60 -60
- package/src/gui/MgForm.d.ts +96 -93
- package/src/http/HttpManager.d.ts +25 -25
- package/src/http/client/HttpClientAsync.d.ts +16 -16
- package/src/http/client/HttpClientBase.d.ts +30 -30
- package/src/http/client/HttpClientEvents.d.ts +18 -18
- package/src/http/client/HttpClientSync.d.ts +17 -17
- package/src/http/client/HttpUtility.d.ts +10 -10
- package/src/http/client/ICommunicationsFailureHandler.d.ts +5 -5
- package/src/remote/AddUserLocateRemoteDataViewCommand.d.ts +8 -8
- package/src/remote/AddUserRangeRemoteDataViewCommand.d.ts +8 -8
- package/src/remote/AddUserSortRemoteDataViewCommand.d.ts +8 -8
- package/src/remote/RemoteCommandsProcessor.d.ts +51 -51
- package/src/remote/RemoteControlItemsRefreshCommand.d.ts +8 -8
- package/src/remote/RemoteDataViewCommandBase.d.ts +10 -10
- package/src/remote/RemoteDataViewCommandFactory.d.ts +6 -6
- package/src/remote/RemoteDataViewCommandUpdateNonModifiable.d.ts +8 -8
- package/src/remote/RemoteDataviewManager.d.ts +9 -9
- package/src/remote/RemoteInitDataViewCommand.d.ts +7 -7
- package/src/remote/ResetUserLocateRemoteDataviewCommand.d.ts +7 -7
- package/src/remote/ResetUserRangeRemoteDataviewCommand.d.ts +7 -7
- package/src/remote/ResetUserSortRemoteDataviewCommand.d.ts +7 -7
- package/src/remote/ServerError.d.ts +16 -16
- package/src/remote/SetTransactionStateRemoteDataViewCommand.d.ts +8 -8
- package/src/rt/Argument.d.ts +36 -36
- package/src/rt/ArgumentsList.d.ts +24 -24
- package/src/rt/Boundary.d.ts +27 -27
- package/src/rt/CompMainPrgTable.d.ts +10 -10
- package/src/rt/DataviewHeaderBase.d.ts +34 -34
- package/src/rt/DataviewHeaderFactory.d.ts +5 -5
- package/src/rt/DataviewHeaders.d.ts +12 -12
- package/src/rt/DataviewHeadersSaxHandler.d.ts +10 -10
- package/src/rt/ExecutionStack.d.ts +22 -22
- package/src/rt/ExecutionStackEntry.d.ts +7 -7
- package/src/rt/HandlersTable.d.ts +19 -19
- package/src/rt/IDataSourceViewDefinition.d.ts +6 -6
- package/src/rt/IDataviewHeader.d.ts +10 -10
- package/src/rt/IResultValue.d.ts +4 -4
- package/src/rt/LastFocusedManager.d.ts +23 -23
- package/src/rt/Operation.d.ts +97 -97
- package/src/rt/OperationTable.d.ts +15 -15
- package/src/rt/Recompute.d.ts +41 -41
- package/src/rt/RecomputeTable.d.ts +9 -9
- package/src/rt/RemoteDataviewHeader.d.ts +14 -14
- package/src/rt/ResultValue.d.ts +7 -7
- package/src/rt/TableCache.d.ts +29 -29
- package/src/rt/TableCacheManager.d.ts +10 -10
- package/src/rt/Transaction.d.ts +23 -23
- package/src/security/UserDetails.d.ts +16 -16
- package/src/tasks/IMGDataCollection.d.ts +26 -26
- package/src/tasks/MGData.d.ts +63 -63
- package/src/tasks/MGDataCollection.d.ts +42 -42
- package/src/tasks/RCTimer.d.ts +13 -13
- package/src/tasks/RemoteTaskService.d.ts +16 -16
- package/src/tasks/Task.d.ts +312 -312
- package/src/tasks/TaskBase.d.ts +123 -123
- package/src/tasks/TaskServiceBase.d.ts +16 -16
- package/src/tasks/TasksTable.d.ts +21 -21
- package/src/tasks/sort/Sort.d.ts +4 -4
- package/src/tasks/sort/SortCollection.d.ts +11 -11
- package/src/util/ConstUtils.d.ts +3 -3
- package/src/util/FlowMonitorQueue.d.ts +70 -70
- package/src/util/HeapSort.d.ts +6 -6
- package/src/util/IMirrorXML.d.ts +6 -6
- package/src/util/IServerConfig.d.ts +11 -11
- package/src/util/MgBlockingQueue.d.ts +5 -5
- package/src/util/MgPriorityBlockingQueue.d.ts +17 -17
- package/src/util/MgPriorityQueue.d.ts +13 -13
- package/src/util/ParamParseResult.d.ts +6 -6
- package/src/util/PrmMap.d.ts +28 -28
- package/src/util/ReturnResult.d.ts +18 -18
- package/src/util/ReturnResultBase.d.ts +11 -11
- package/src/util/Scrambler.d.ts +10 -10
- package/src/util/UniqueIDUtils.d.ts +4 -4
- package/src/util/cookie.service.d.ts +8 -8
- package/esm2020/src/AccessHelper.mjs +0 -9
- package/esm2020/src/ClientManager.mjs +0 -399
- package/esm2020/src/CommandsProcessorBase.mjs +0 -58
- package/esm2020/src/CommandsTable.mjs +0 -162
- package/esm2020/src/ConstInterface.mjs +0 -516
- package/esm2020/src/FlowMonitorInterface.mjs +0 -16
- package/esm2020/src/GUIManager.mjs +0 -62
- package/esm2020/src/GlobalCommandsManager.mjs +0 -34
- package/esm2020/src/GuiEventsProcessor.mjs +0 -154
- package/esm2020/src/ServerConfig.mjs +0 -117
- package/esm2020/src/bridge/MagicBridge.mjs +0 -41
- package/esm2020/src/commands/ClientOriginatedCommandTaskTag.mjs +0 -11
- package/esm2020/src/commands/ClientToServer/BrowserEscEventCommand.mjs +0 -23
- package/esm2020/src/commands/ClientToServer/ColumnSortEventCommand.mjs +0 -26
- package/esm2020/src/commands/ClientToServer/CommandFactory.mjs +0 -260
- package/esm2020/src/commands/ClientToServer/CommandSerializationHelper.mjs +0 -69
- package/esm2020/src/commands/ClientToServer/ComputeEventCommand.mjs +0 -23
- package/esm2020/src/commands/ClientToServer/DataViewOutputCommand.mjs +0 -13
- package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +0 -36
- package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +0 -67
- package/esm2020/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +0 -22
- package/esm2020/src/commands/ClientToServer/IndexChangeEventCommand.mjs +0 -21
- package/esm2020/src/commands/ClientToServer/IniputForceWriteCommand.mjs +0 -23
- package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +0 -27
- package/esm2020/src/commands/ClientToServer/RefreshEventCommand.mjs +0 -27
- package/esm2020/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +0 -24
- package/esm2020/src/commands/ClientToServer/RollbackEventCommand.mjs +0 -39
- package/esm2020/src/commands/ClientToServer/SelectProgramCommand.mjs +0 -15
- package/esm2020/src/commands/ClientToServer/SubformOpenEventCommand.mjs +0 -21
- package/esm2020/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +0 -24
- package/esm2020/src/commands/ClientToServer/TransactionCommand.mjs +0 -28
- package/esm2020/src/commands/ClientToServer/WriteMessageToServerLogCommand.mjs +0 -18
- package/esm2020/src/commands/DataViewCommandBase.mjs +0 -10
- package/esm2020/src/commands/IClientTargetedCommand.mjs +0 -9
- package/esm2020/src/commands/ServerToClient/AbortCommand.mjs +0 -65
- package/esm2020/src/commands/ServerToClient/ClientRefreshCommand.mjs +0 -25
- package/esm2020/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +0 -27
- package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +0 -45
- package/esm2020/src/commands/ServerToClient/OpenURLCommand.mjs +0 -221
- package/esm2020/src/commands/ServerToClient/ResultCommand.mjs +0 -37
- package/esm2020/src/commands/ServerToClient/VerifyCommand.mjs +0 -83
- package/esm2020/src/communications/InteractiveCommunicationsFailureHandler.mjs +0 -17
- package/esm2020/src/data/DataView.mjs +0 -1610
- package/esm2020/src/data/DataviewManager.mjs +0 -28
- package/esm2020/src/data/DataviewManagerBase.mjs +0 -15
- package/esm2020/src/data/DvCache.mjs +0 -67
- package/esm2020/src/data/Field.mjs +0 -646
- package/esm2020/src/data/FieldBase.mjs +0 -18
- package/esm2020/src/data/FieldsTable.mjs +0 -103
- package/esm2020/src/data/Record.mjs +0 -846
- package/esm2020/src/data/RecordsTable.mjs +0 -267
- package/esm2020/src/env/EnvVariablesTable.mjs +0 -340
- package/esm2020/src/env/Environment.mjs +0 -489
- package/esm2020/src/env/LanguageData.mjs +0 -226
- package/esm2020/src/event/ActionManager.mjs +0 -91
- package/esm2020/src/event/Event.mjs +0 -1333
- package/esm2020/src/event/EventHandler.mjs +0 -766
- package/esm2020/src/event/EventHandlerPosition.mjs +0 -204
- package/esm2020/src/event/EventsManager.mjs +0 -2975
- package/esm2020/src/event/RunTimeEvent.mjs +0 -392
- package/esm2020/src/event/UserEventsTable.mjs +0 -47
- package/esm2020/src/exp/ExpTable.mjs +0 -59
- package/esm2020/src/exp/Expression.mjs +0 -200
- package/esm2020/src/exp/ExpressionDict.mjs +0 -727
- package/esm2020/src/exp/ExpressionEvaluator.mjs +0 -4208
- package/esm2020/src/exp/ExpressionLocalJpn.mjs +0 -314
- package/esm2020/src/exp/YesNoExp.mjs +0 -36
- package/esm2020/src/gui/CreatedFormVector.mjs +0 -23
- package/esm2020/src/gui/FormsTable.mjs +0 -66
- package/esm2020/src/gui/MgControl.mjs +0 -353
- package/esm2020/src/gui/MgForm.mjs +0 -1181
- package/esm2020/src/http/HttpManager.mjs +0 -97
- package/esm2020/src/http/client/HttpClientAsync.mjs +0 -67
- package/esm2020/src/http/client/HttpClientEvents.mjs +0 -39
- package/esm2020/src/http/client/HttpClientSync.mjs +0 -42
- package/esm2020/src/http/client/HttpUtility.mjs +0 -84
- package/esm2020/src/remote/RemoteCommandsProcessor.mjs +0 -880
- package/esm2020/src/remote/ServerError.mjs +0 -40
- package/esm2020/src/rt/Argument.mjs +0 -265
- package/esm2020/src/rt/ArgumentsList.mjs +0 -103
- package/esm2020/src/rt/Boundary.mjs +0 -152
- package/esm2020/src/rt/CompMainPrgTable.mjs +0 -65
- package/esm2020/src/rt/DataviewHeaderBase.mjs +0 -96
- package/esm2020/src/rt/DataviewHeaders.mjs +0 -53
- package/esm2020/src/rt/LastFocusedManager.mjs +0 -67
- package/esm2020/src/rt/Operation.mjs +0 -735
- package/esm2020/src/rt/OperationTable.mjs +0 -67
- package/esm2020/src/rt/Recompute.mjs +0 -355
- package/esm2020/src/rt/ResultValue.mjs +0 -12
- package/esm2020/src/rt/TableCache.mjs +0 -177
- package/esm2020/src/rt/TableCacheManager.mjs +0 -67
- package/esm2020/src/rt/Transaction.mjs +0 -53
- package/esm2020/src/security/UserDetails.mjs +0 -71
- package/esm2020/src/tasks/MGData.mjs +0 -552
- package/esm2020/src/tasks/MGDataCollection.mjs +0 -252
- package/esm2020/src/tasks/RCTimer.mjs +0 -63
- package/esm2020/src/tasks/Task.mjs +0 -2496
- package/esm2020/src/tasks/TaskBase.mjs +0 -87
- package/esm2020/src/tasks/TasksTable.mjs +0 -80
- package/esm2020/src/tasks/sort/Sort.mjs +0 -7
- package/esm2020/src/util/FlowMonitorQueue.mjs +0 -453
- package/esm2020/src/util/MgPriorityBlockingQueue.mjs +0 -74
- package/esm2020/src/util/MgPriorityQueue.mjs +0 -66
- package/esm2020/src/util/PrmMap.mjs +0 -151
- package/esm2020/src/util/ReturnResult.mjs +0 -46
- package/esm2020/src/util/ReturnResultBase.mjs +0 -18
- package/esm2020/src/util/Scrambler.mjs +0 -89
- package/esm2020/src/util/UniqueIDUtils.mjs +0 -12
- package/fesm2015/magic-xpa-engine.mjs +0 -30837
- package/fesm2015/magic-xpa-engine.mjs.map +0 -1
- package/fesm2020/magic-xpa-engine.mjs.map +0 -1
@@ -1,22 +0,0 @@
|
|
1
|
-
import { InternalInterface } from '@magic-xpa/utils';
|
2
|
-
import { NString } from '@magic-xpa/mscorelib';
|
3
|
-
import { EventCommand } from './EventCommand';
|
4
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
5
|
-
import { ConstInterface } from '../../ConstInterface';
|
6
|
-
export class FetchDataControlValuesEventCommand extends EventCommand {
|
7
|
-
constructor() {
|
8
|
-
super(InternalInterface.MG_ACT_FETCH_DATA_CONTROL_VALUES);
|
9
|
-
this.ControlName = null;
|
10
|
-
}
|
11
|
-
SerializeCommandData() {
|
12
|
-
let helper = new CommandSerializationHelper();
|
13
|
-
helper.SerializeTaskTag(this.TaskTag);
|
14
|
-
helper.SerializeMagicEvent(this.MagicEvent);
|
15
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_CONTROL_NAME, this.ControlName);
|
16
|
-
return helper.GetString();
|
17
|
-
}
|
18
|
-
getCommandInfo() {
|
19
|
-
return NString.Format('[{0} for control {1} in {2}]', this.EventDescription, this.ControlName, this.Task.getTaskInfo());
|
20
|
-
}
|
21
|
-
}
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRmV0Y2hEYXRhQ29udHJvbFZhbHVlc0V2ZW50Q29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VuZ2luZS9zcmMvY29tbWFuZHMvQ2xpZW50VG9TZXJ2ZXIvRmV0Y2hEYXRhQ29udHJvbFZhbHVlc0V2ZW50Q29tbWFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxrQkFBa0IsQ0FBQztBQUNuRCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzVDLE9BQU8sRUFBQywwQkFBMEIsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ3hFLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQU1wRCxNQUFNLE9BQU8sa0NBQW1DLFNBQVEsWUFBWTtJQUdsRTtRQUNFLEtBQUssQ0FBQyxpQkFBaUIsQ0FBQyxnQ0FBZ0MsQ0FBQyxDQUFDO1FBSDVELGdCQUFXLEdBQVcsSUFBSSxDQUFDO0lBSTNCLENBQUM7SUFFRCxvQkFBb0I7UUFDbEIsSUFBSSxNQUFNLEdBQStCLElBQUksMEJBQTBCLEVBQUUsQ0FBQztRQUUxRSxNQUFN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ICAgICwgdGhpcy5Db250cm9sTmFtZVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICwgdGhpcy5UYXNrLmdldFRhc2tJbmZvKCkpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { InternalInterface } from '@magic-xpa/utils';
|
2
|
-
import { NString } from '@magic-xpa/mscorelib';
|
3
|
-
import { EventCommand } from './EventCommand';
|
4
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
5
|
-
export class IndexChangeEventCommand extends EventCommand {
|
6
|
-
constructor() {
|
7
|
-
super(InternalInterface.MG_ACT_INDEX_CHANGE);
|
8
|
-
this.KeyIndex = 0;
|
9
|
-
}
|
10
|
-
SerializeCommandData() {
|
11
|
-
let helper = new CommandSerializationHelper();
|
12
|
-
helper.SerializeTaskTag(this.TaskTag);
|
13
|
-
helper.SerializeMagicEvent(this.MagicEvent);
|
14
|
-
helper.SerializeKeyIndex(this.KeyIndex);
|
15
|
-
return helper.GetString();
|
16
|
-
}
|
17
|
-
getCommandInfo() {
|
18
|
-
return NString.Format('[{0} with Key Index {1} in {2}]', this.EventDescription, this.KeyIndex, this.Task.getTaskInfo());
|
19
|
-
}
|
20
|
-
}
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW5kZXhDaGFuZ2VFdmVudENvbW1hbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL2NvbW1hbmRzL0NsaWVudFRvU2VydmVyL0luZGV4Q2hhbmdlRXZlbnRDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLGtCQUFrQixDQUFDO0FBQ25ELE9BQU8sRUFBQyxPQUFPLEVBQUMsT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Blci5TZXJpYWxpemVLZXlJbmRleCh0aGlzLktleUluZGV4KTtcclxuXHJcbiAgICByZXR1cm4gaGVscGVyLkdldFN0cmluZygpO1xyXG4gIH1cclxuXHJcbiAgZ2V0Q29tbWFuZEluZm8oKTogc3RyaW5nIHtcclxuICAgIHJldHVybiBOU3RyaW5nLkZvcm1hdCgnW3swfSB3aXRoIEtleSBJbmRleCB7MX0gaW4gezJ9XSdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLCB0aGlzLkV2ZW50RGVzY3JpcHRpb25cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLCB0aGlzLktleUluZGV4XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICwgdGhpcy5UYXNrLmdldFRhc2tJbmZvKCkpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { XmlParser } from "@magic-xpa/utils";
|
2
|
-
import { NString } from "@magic-xpa/mscorelib";
|
3
|
-
import { ConstInterface } from "../../ConstInterface";
|
4
|
-
import { ClientOriginatedCommand } from "./ClientOriginatedCommand";
|
5
|
-
export class IniputForceWriteCommand extends ClientOriginatedCommand {
|
6
|
-
get CommandTypeAttribute() {
|
7
|
-
return ConstInterface.MG_ATTR_VAL_INIPUT_FORCE_WRITE;
|
8
|
-
}
|
9
|
-
get ShouldSerializeRecords() {
|
10
|
-
return false;
|
11
|
-
}
|
12
|
-
SerializeCommandData() {
|
13
|
-
return " " + ConstInterface.MG_ATTR_VAL_INIPUT_PARAM + "=\"" + XmlParser.escape(this.Text) + "\"";
|
14
|
-
}
|
15
|
-
constructor() {
|
16
|
-
super();
|
17
|
-
this.Text = null;
|
18
|
-
}
|
19
|
-
getCommandInfo() {
|
20
|
-
return NString.Format('[{0} with {1}] ', this.CommandTypeAttribute, this.Text);
|
21
|
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0lOSVBVVF9QQVJBTSArIFwiPVxcXCJcIiArIFhtbFBhcnNlci5lc2NhcGUodGhpcy5UZXh0KSArIFwiXFxcIlwiO1xyXG4gIH1cclxuXHJcbiAgY29uc3RydWN0b3IoKSB7XHJcbiAgICBzdXBlcigpO1xyXG4gIH1cclxuXHJcbiAgZ2V0Q29tbWFuZEluZm8oKTogc3RyaW5nIHtcclxuICAgIHJldHVybiBOU3RyaW5nLkZvcm1hdCgnW3swfSB3aXRoIHsxfV0gJywgdGhpcy5Db21tYW5kVHlwZUF0dHJpYnV0ZSwgdGhpcy5UZXh0KTtcclxuICB9XHJcbn1cclxuIl19
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { NString } from '@magic-xpa/mscorelib';
|
2
|
-
import { ConstInterface } from '../../ConstInterface';
|
3
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
4
|
-
import { ClientOriginatedCommandTaskTag } from '../ClientOriginatedCommandTaskTag';
|
5
|
-
export class RecomputeCommand extends ClientOriginatedCommandTaskTag {
|
6
|
-
get CommandTypeAttribute() {
|
7
|
-
return ConstInterface.MG_ATTR_VAL_RECOMP;
|
8
|
-
}
|
9
|
-
SerializeCommandData() {
|
10
|
-
let helper = new CommandSerializationHelper();
|
11
|
-
helper.SerializeTaskTag(this.TaskTag);
|
12
|
-
helper.SerializeFldId(this.FldId);
|
13
|
-
if (this.IgnoreSubformRecompute)
|
14
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_IGNORE_SUBFORM_RECOMPUTE, '1');
|
15
|
-
return helper.GetString();
|
16
|
-
}
|
17
|
-
constructor() {
|
18
|
-
super();
|
19
|
-
this.TaskTag = null;
|
20
|
-
this.FldId = 0;
|
21
|
-
this.IgnoreSubformRecompute = false;
|
22
|
-
}
|
23
|
-
getCommandInfo() {
|
24
|
-
return NString.Format('[{0} in {1} for Field {2}]', this.CommandTypeAttribute.charAt(0).toUpperCase() + this.CommandTypeAttribute.substr(1, this.CommandTypeAttribute.length), this.Task.get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ENvbW1hbmRJbmZvKCk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gTlN0cmluZy5Gb3JtYXQoJ1t7MH0gaW4gezF9IGZvciBGaWVsZCB7Mn1dJywgdGhpcy5Db21tYW5kVHlwZUF0dHJpYnV0ZS5jaGFyQXQoMCkudG9VcHBlckNhc2UoKSArIHRoaXMuQ29tbWFuZFR5cGVBdHRyaWJ1dGUuc3Vic3RyKDEsIHRoaXMuQ29tbWFuZFR5cGVBdHRyaWJ1dGUubGVuZ3RoKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLCB0aGlzLlRhc2suZ2V0VGFza0luZm8oKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLCB0aGlzLlRhc2suZ2V0RmllbGREZWYodGhpcy5GbGRJZCkuZ2V0TmFtZSgpKTtcclxuICB9XHJcbn1cclxuIl19
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { NString } from '@magic-xpa/mscorelib';
|
2
|
-
import { EventCommand } from './EventCommand';
|
3
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
4
|
-
import { ConstInterface } from '../../ConstInterface';
|
5
|
-
export class RefreshEventCommand extends EventCommand {
|
6
|
-
constructor(magicEvent) {
|
7
|
-
super(magicEvent);
|
8
|
-
this.RefreshMode = 0;
|
9
|
-
this.KeepUserSort = false;
|
10
|
-
this.CurrentRecordRow = 0;
|
11
|
-
this.IsInternalRefresh = false;
|
12
|
-
}
|
13
|
-
SerializeCommandData() {
|
14
|
-
let helper = new CommandSerializationHelper();
|
15
|
-
helper.SerializeTaskTag(this.TaskTag);
|
16
|
-
helper.SerializeMagicEvent(this.MagicEvent);
|
17
|
-
if (!this.IsInternalRefresh)
|
18
|
-
helper.SerializeRefreshMode(this.RefreshMode);
|
19
|
-
if (this.KeepUserSort)
|
20
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_KEEP_USER_SORT, "1");
|
21
|
-
return helper.GetString();
|
22
|
-
}
|
23
|
-
getCommandInfo() {
|
24
|
-
return NString.Format('[{0} {1}]', this.EventDescription, this.IsInternalRefresh ? 'Raised by Magic' : 'Raised by User');
|
25
|
-
}
|
26
|
-
}
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVmcmVzaEV2ZW50Q29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VuZ2luZS9zcmMvY29tbWFuZHMvQ2xpZW50VG9TZXJ2ZXIvUmVmcmVzaEV2ZW50Q29tbWFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzVDLE9BQU8sRUFBQywwQkFBMEIsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ3hFLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUdwRCxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsWUFBWTtJQU1uRCxZQUFZLFVBQWtCO1FBQzVCLEtBQUssQ0FBQyxVQUFVLENBQUMsQ0FBQztRQU5wQixnQkFBVyxHQUFvQixDQUFDLENBQUM7UUFDakMsaUJBQVksR0FBWSxLQUFLLENBQUM7UUFDOUIscUJBQWdCLEdBQVcsQ0FBQyxDQUFDO1FBQzdCLHNCQUFpQixHQUFZLEtBQUssQ0FBQztJQUluQyxDQUFDO0lBRUQsb0JBQW9CO1FBQ2xCLElBQUksTUFBTSxHQUErQixJQUFJLDBCQUEwQixFQUFFLENBQUM7UUFFMUUsTUFBTSxDQUFDLGdCQUFnQixDQUFDL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5cclxuICAgIHJldHVybiBoZWxwZXIuR2V0U3RyaW5nKCk7XHJcbiAgfVxyXG5cclxuICBnZXRDb21tYW5kSW5mbygpOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIE5TdHJpbmcuRm9ybWF0KCdbezB9IHsxfV0nLCB0aGlzLkV2ZW50RGVzY3JpcHRpb25cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAsdGhpcy5Jc0ludGVybmFsUmVmcmVzaCA/ICdSYWlzZWQgYnkgTWFnaWMnIDogJ1JhaXNlZCBieSBVc2VyJyk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { InternalInterface } from '@magic-xpa/utils';
|
2
|
-
import { NString } from '@magic-xpa/mscorelib';
|
3
|
-
import { EventCommand } from './EventCommand';
|
4
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
5
|
-
import { ConstInterface } from '../../ConstInterface';
|
6
|
-
export class RefreshScreenEventCommand extends EventCommand {
|
7
|
-
constructor() {
|
8
|
-
super(InternalInterface.MG_ACT_RT_REFRESH_SCREEN);
|
9
|
-
this.TopRecIdx = 0;
|
10
|
-
this.RefreshMode = 0;
|
11
|
-
}
|
12
|
-
SerializeCommandData() {
|
13
|
-
let helper = new CommandSerializationHelper();
|
14
|
-
helper.SerializeTaskTag(this.TaskTag);
|
15
|
-
helper.SerializeMagicEvent(this.MagicEvent);
|
16
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_OBJECT, this.TopRecIdx);
|
17
|
-
helper.SerializeRefreshMode(this.RefreshMode);
|
18
|
-
return helper.GetString();
|
19
|
-
}
|
20
|
-
getCommandInfo() {
|
21
|
-
return NString.Format('[{0} in {1}]', this.EventDescription, this.Task.getTaskInfo());
|
22
|
-
}
|
23
|
-
}
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVmcmVzaFNjcmVlbkV2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bWFyeT5cclxuICAvLy8gQ1RPUlxyXG4gIC8vLyA8L3N1bW1hcnk+XHJcbiAgY29uc3RydWN0b3IoKSB7XHJcbiAgICBzdXBlcihJbnRlcm5hbEludGVyZmFjZS5NR19BQ1RfUlRfUkVGUkVTSF9TQ1JFRU4pO1xyXG4gIH1cclxuXHJcbiAgU2VyaWFsaXplQ29tbWFuZERhdGEoKTogc3RyaW5nIHtcclxuICAgIGxldCBoZWxwZXI6IENvbW1hbmRTZXJpYWxpemF0aW9uSGVscGVyID0gbmV3IENvbW1hbmRTZXJpYWxpemF0aW9uSGVscGVyKCk7XHJcblxyXG4gICAgaGVscGVyLlNlcmlhbGl6ZVRhc2tUYWcodGhpcy5UYXNrVGFnKTtcclxuICAgIGhlbHBlci5TZXJpYWxpemVNYWdpY0V2ZW50KHRoaXMuTWFnaWNFdmVudCk7XHJcbiAgICBoZWxwZXIuU2VyaWFsaXplQXR0cmlidXRlKENvbnN0SW50ZXJmYWNlLk1HX0FUVFJfT0JKRUNULCB0aGlzLlRvcFJlY0lkeCk7XHJcbiAgICBoZWxwZXIuU2VyaWFsaXplUmVmcmVzaE1vZGUodGhpcy5SZWZyZXNoTW9kZSk7XHJcblxyXG4gICAgcmV0dXJuIGhlbHBlci5HZXRTdHJpbmcoKTtcclxuICB9XHJcblxyXG4gIGdldENvbW1hbmRJbmZvKCk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gTlN0cmluZy5Gb3JtYXQoJ1t7MH0gaW4gezF9XScsIHRoaXMuRXZlbnREZXNjcmlwdGlvblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICwgdGhpcy5UYXNrLmdldFRhc2tJbmZvKCkpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import { NString } from '@magic-xpa/mscorelib';
|
2
|
-
import { InternalInterface } from '@magic-xpa/utils';
|
3
|
-
import { EventCommand } from './EventCommand';
|
4
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
5
|
-
import { ConstInterface } from '../../ConstInterface';
|
6
|
-
export var RollbackEventCommand_RollbackType;
|
7
|
-
(function (RollbackEventCommand_RollbackType) {
|
8
|
-
RollbackEventCommand_RollbackType["NONE"] = " ";
|
9
|
-
RollbackEventCommand_RollbackType["CANCEL"] = "C";
|
10
|
-
RollbackEventCommand_RollbackType["ROLLBACK"] = "R";
|
11
|
-
})(RollbackEventCommand_RollbackType || (RollbackEventCommand_RollbackType = {}));
|
12
|
-
export class RollbackEventCommand extends EventCommand {
|
13
|
-
constructor() {
|
14
|
-
super(InternalInterface.MG_ACT_ROLLBACK);
|
15
|
-
this.Rollback = RollbackEventCommand_RollbackType.NONE;
|
16
|
-
}
|
17
|
-
SerializeCommandData() {
|
18
|
-
let helper = new CommandSerializationHelper();
|
19
|
-
helper.SerializeTaskTag(this.TaskTag);
|
20
|
-
helper.SerializeMagicEvent(this.MagicEvent);
|
21
|
-
if (this.Rollback !== RollbackEventCommand_RollbackType.NONE)
|
22
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_ROLLBACK_TYPE, this.Rollback);
|
23
|
-
return helper.GetString();
|
24
|
-
}
|
25
|
-
getRollbackTypeString() {
|
26
|
-
switch (this.Rollback) {
|
27
|
-
case RollbackEventCommand_RollbackType.CANCEL:
|
28
|
-
return 'Cancel';
|
29
|
-
case RollbackEventCommand_RollbackType.ROLLBACK:
|
30
|
-
return 'Rollback';
|
31
|
-
}
|
32
|
-
}
|
33
|
-
getCommandInfo() {
|
34
|
-
return NString.Format('[{0}{1} in {2}]', this.EventDescription, NString.IsNullOrEmpty(this.getRollbackTypeString())
|
35
|
-
? NString.Empty
|
36
|
-
: NString.Format(' while handling {0}', this.getRollbackTypeString()), this.Task.getTaskInfo());
|
37
|
-
}
|
38
|
-
}
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUm9sbGJhY2tFdmVudENvbW1hbmQu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HJpbmcoKSlcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPyBOU3RyaW5nLkVtcHR5XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDogTlN0cmluZy5Gb3JtYXQoJyB3aGlsZSBoYW5kbGluZyB7MH0nLCB0aGlzLmdldFJvbGxiYWNrVHlwZVN0cmluZygpKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICwgdGhpcy5UYXNrLmdldFRhc2tJbmZvKCkpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { ExecOperCommand } from './ExecOperCommand';
|
2
|
-
import { AccessHelper } from '../../AccessHelper';
|
3
|
-
export class SelectProgramCommand extends ExecOperCommand {
|
4
|
-
getCommandInfo() {
|
5
|
-
let eventsManager = AccessHelper.eventsManager;
|
6
|
-
let rtEvt = eventsManager.getLastRtEvent();
|
7
|
-
return 'Select Program ' + 'on Control ' + rtEvt.Control.Name;
|
8
|
-
}
|
9
|
-
getTask() {
|
10
|
-
let eventsManager = AccessHelper.eventsManager;
|
11
|
-
let rtEvt = eventsManager.getLastRtEvent();
|
12
|
-
return rtEvt.getTask();
|
13
|
-
}
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VsZWN0UHJvZ3JhbUNvbW1hbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL2NvbW1hbmRzL0NsaWVudFRvU2VydmVyL1NlbGVjdFByb2dyYW1Db21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxl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BnZXQgdGhlIGluZm8gZnJvbSB0aGUgZXZlbnQgYXMgd2UgZG9uJ3QgaGF2ZSBvcGVyYXRpb24gaW4gY2FzZSBvZiBTZWxlY3QgUHJvZ3JhbSBDb21tYW5kXHJcbiAgZ2V0Q29tbWFuZEluZm8oKTogc3RyaW5nIHtcclxuICAgIGxldCBldmVudHNNYW5hZ2VyOiBFdmVudHNNYW5hZ2VyID0gPEV2ZW50c01hbmFnZXI+QWNjZXNzSGVscGVyLmV2ZW50c01hbmFnZXI7XHJcbiAgICBsZXQgcnRFdnQ6IFJ1blRpbWVFdmVudCA9IGV2ZW50c01hbmFnZXIuZ2V0TGFzdFJ0RXZlbnQoKTtcclxuICAgIHJldHVybiAnU2VsZWN0IFByb2dyYW0gJyArICdvbiBDb250cm9sICcgKyBydEV2dC5Db250cm9sLk5hbWU7XHJcbiAgfVxyXG5cclxuICBnZXRUYXNrKCkge1xyXG4gICAgbGV0IGV2ZW50c01hbmFnZXI6IEV2ZW50c01hbmFnZXIgPSA8RXZlbnRzTWFuYWdlcj5BY2Nlc3NIZWxwZXIuZXZlbnRzTWFuYWdlcjtcclxuICAgIGxldCBydEV2dDogUnVuVGltZUV2ZW50ID0gZXZlbnRzTWFuYWdlci5nZXRMYXN0UnRFdmVudCgpO1xyXG4gICAgcmV0dXJuIDxUYXNrPnJ0RXZ0LmdldFRhc2soKTsgLy8gZ2V0IHRhc2sgZnJvbSBldmVudFxyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { InternalInterface } from '@magic-xpa/utils';
|
2
|
-
import { EventCommand } from './EventCommand';
|
3
|
-
import { NString } from '@magic-xpa/mscorelib';
|
4
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
5
|
-
export class SubformOpenEventCommand extends EventCommand {
|
6
|
-
constructor() {
|
7
|
-
super(InternalInterface.MG_ACT_SUBFORM_OPEN);
|
8
|
-
this.DitIdx = 0;
|
9
|
-
}
|
10
|
-
SerializeCommandData() {
|
11
|
-
let helper = new CommandSerializationHelper();
|
12
|
-
helper.SerializeTaskTag(this.TaskTag);
|
13
|
-
helper.SerializeMagicEvent(this.MagicEvent);
|
14
|
-
helper.SerializeDitIdx(this.DitIdx);
|
15
|
-
return helper.GetString();
|
16
|
-
}
|
17
|
-
getCommandInfo() {
|
18
|
-
return NString.Format('[{0} {1} in {2}]', this.EventDescription, this.Task.getForm().getCtrl(this.DitIdx).getName(), this.Task.getTaskInfo());
|
19
|
-
}
|
20
|
-
}
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3ViZm9ybU9wZW5FdmVudENvbW1hbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL2NvbW1hbmRzL0NsaWVudFRvU2VydmVyL1N1YmZvcm1PcGVuRXZlbnRDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLGtCQUFrQixDQUFDO0FBQ25ELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUM1QyxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDN0MsT0FBTyxFQUFDLDBCQUEwQixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFHeEUsTUFBTSxPQUFPLHVCQUF3QixTQUFRLFlBQVk7SUFPdkQ7UUFDRSxLQUFLLENBQUMsaUJBQWlCLENBQUMsbUJBQW1CLENBQUMsQ0FBQztRQVAvQyxXQUFNLEdBQVcsQ0FBQyxDQUFDO0lBUW5CLENBQUM7SUFFRCxvQkFBb0I7UUFDbEIsSUFBSSxNQUFNLEdBQStCLElBQUksMEJBQTBCLEVBQUUsQ0FBQztRQUUxRSxNQUFNLENBQUMsZ0J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1,24 +0,0 @@
|
|
1
|
-
import { RefreshEventCommand } from './RefreshEventCommand';
|
2
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
3
|
-
import { NString } from '@magic-xpa/mscorelib';
|
4
|
-
import { InternalInterface } from '@magic-xpa/utils';
|
5
|
-
import { ConstInterface } from '../../ConstInterface';
|
6
|
-
export class SubformRefreshEventCommand extends RefreshEventCommand {
|
7
|
-
constructor() {
|
8
|
-
super(InternalInterface.MG_ACT_SUBFORM_REFRESH);
|
9
|
-
this.SubformTaskTag = null;
|
10
|
-
this.ExplicitSubformRefresh = false;
|
11
|
-
}
|
12
|
-
SerializeCommandData() {
|
13
|
-
let helper = new CommandSerializationHelper();
|
14
|
-
helper.SerializeTaskTag(this.TaskTag);
|
15
|
-
helper.SerializeMagicEvent(this.MagicEvent);
|
16
|
-
helper.SerializeRefreshMode(this.RefreshMode);
|
17
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_SUBFORM_TASK, this.SubformTaskTag);
|
18
|
-
return helper.GetString();
|
19
|
-
}
|
20
|
-
getCommandInfo() {
|
21
|
-
return NString.Format('[{0} for {1}]', this.EventDescription, this.Task.getTaskInfo());
|
22
|
-
}
|
23
|
-
}
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3ViZm9ybVJlZnJlc2hFdmVudENvbW1hbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL2NvbW1hbmRzL0NsaWVudFRvU2VydmVyL1N1YmZvcm1SZWZyZXNoRXZlbnRDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sRUFBQywwQkFBMEIsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0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XIoKTtcclxuXHJcbiAgICBoZWxwZXIuU2VyaWFsaXplVGFza1RhZyh0aGlzLlRhc2tUYWcpO1xyXG4gICAgaGVscGVyLlNlcmlhbGl6ZU1hZ2ljRXZlbnQodGhpcy5NYWdpY0V2ZW50KTtcclxuICAgIGhlbHBlci5TZXJpYWxpemVSZWZyZXNoTW9kZSh0aGlzLlJlZnJlc2hNb2RlKTtcclxuICAgIGhlbHBlci5TZXJpYWxpemVBdHRyaWJ1dGUoQ29uc3RJbnRlcmZhY2UuTUdfQVRUUl9TVUJGT1JNX1RBU0ssIHRoaXMuU3ViZm9ybVRhc2tUYWcpO1xyXG5cclxuICAgIHJldHVybiBoZWxwZXIuR2V0U3RyaW5nKCk7XHJcbiAgfVxyXG5cclxuICBnZXRDb21tYW5kSW5mbygpOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIE5TdHJpbmcuRm9ybWF0KCdbezB9IGZvciB7MX1dJyAsIHRoaXMuRXZlbnREZXNjcmlwdGlvblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLCB0aGlzLlRhc2suZ2V0VGFza0luZm8oKSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { NString } from '@magic-xpa/mscorelib';
|
2
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
3
|
-
import { ConstInterface } from '../../ConstInterface';
|
4
|
-
import { ClientOriginatedCommandTaskTag } from '../ClientOriginatedCommandTaskTag';
|
5
|
-
export class TransactionCommand extends ClientOriginatedCommandTaskTag {
|
6
|
-
get CommandTypeAttribute() {
|
7
|
-
return ConstInterface.MG_ATTR_VAL_TRANS;
|
8
|
-
}
|
9
|
-
SerializeCommandData() {
|
10
|
-
let helper = new CommandSerializationHelper();
|
11
|
-
helper.SerializeTaskTag(this.TaskTag);
|
12
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_OPER, this.Oper);
|
13
|
-
if (!this.ReversibleExit)
|
14
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_REVERSIBLE, "0");
|
15
|
-
if (this.Level !== '\0')
|
16
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_TRANS_LEVEL, this.Level);
|
17
|
-
return helper.GetString();
|
18
|
-
}
|
19
|
-
constructor() {
|
20
|
-
super();
|
21
|
-
this.TaskTag = null;
|
22
|
-
this.ReversibleExit = false;
|
23
|
-
}
|
24
|
-
getCommandInfo() {
|
25
|
-
return NString.Format('[{0} in {1}]', this.Oper === 'C' ? 'Commit Transaction' : 'Abort Transaction', this.Task.getTaskInfo());
|
26
|
-
}
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHJhbnNhY3Rpb25Db21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW5naW5lL3NyYy9jb21tYW5kcy9DbGllbnRUb1NlcnZlci9UcmFuc2FjdGlvbkNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQzdDLE9BQU8sRUFBQywwQkFBMEIsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ3hFLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUNwRCxPQUFPLEVBQUMsOEJBQThCLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUdqRixNQUFNLE9BQU8sa0JBQW1CLFNBQVEsOEJBQThCO0lBTXBFLElBQUksb0JBQW9CO1FBQ3RCLE9BQU8sY0FBYyxDQUFDLGlCQUFpQixDQUFDO0lBQzFDLENBQUM7SUFFRCxvQkFBb0I7UUFDbEIsSUFBSSxNQUFNLEdBQStCLElBQUksMEJBQTBCLEVBQUU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YgKCF0aGlzLlJldmVyc2libGVFeGl0KVxyXG4gICAgICBoZWxwZXIuU2VyaWFsaXplQXR0cmlidXRlKENvbnN0SW50ZXJmYWNlLk1HX0FUVFJfUkVWRVJTSUJMRSwgXCIwXCIpO1xyXG5cclxuICAgIGlmICh0aGlzLkxldmVsICE9PSAnXFwwJylcclxuICAgICAgaGVscGVyLlNlcmlhbGl6ZUF0dHJpYnV0ZShDb25zdEludGVyZmFjZS5NR19BVFRSX1RSQU5TX0xFVkVMLCB0aGlzLkxldmVsKTtcclxuXHJcbiAgICByZXR1cm4gaGVscGVyLkdldFN0cmluZygpO1xyXG4gIH1cclxuXHJcbiAgY29uc3RydWN0b3IoKSB7XHJcbiAgICBzdXBlcigpO1xyXG4gIH1cclxuXHJcbiAgZ2V0Q29tbWFuZEluZm8oKTogc3RyaW5nIHtcclxuICAgIHJldHVybiBOU3RyaW5nLkZvcm1hdCgnW3swfSBpbiB7MX1dJywgdGhpcy5PcGVyID09PSAnQycgPyAnQ29tbWl0IFRyYW5zYWN0aW9uJyA6ICdBYm9ydCBUcmFuc2FjdGlvbidcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAsIHRoaXMuVGFzay5nZXRUYXNrSW5mbygpKTtcclxuICB9XHJcbn1cclxuIl19
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { InternalInterface } from '@magic-xpa/utils';
|
2
|
-
import { EventCommand } from './EventCommand';
|
3
|
-
import { CommandSerializationHelper } from './CommandSerializationHelper';
|
4
|
-
import { ConstInterface } from '../../ConstInterface';
|
5
|
-
export class WriteMessageToServerLogCommand extends EventCommand {
|
6
|
-
constructor() {
|
7
|
-
super(InternalInterface.MG_ACT_WRITE_ERROR_TO_SERVER_LOG);
|
8
|
-
this.ErrorMessage = null;
|
9
|
-
}
|
10
|
-
SerializeCommandData() {
|
11
|
-
let helper = new CommandSerializationHelper();
|
12
|
-
helper.SerializeTaskTag(this.TaskTag);
|
13
|
-
helper.SerializeMagicEvent(this.MagicEvent);
|
14
|
-
helper.SerializeAttribute(ConstInterface.MG_ATTR_ERROR_MESSAGE, this.ErrorMessage);
|
15
|
-
return helper.GetString();
|
16
|
-
}
|
17
|
-
}
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiV3JpdGVNZXNzYWdlVG9TZXJ2ZXJMb2dDb21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW5naW5lL3NyYy9jb21tYW5kcy9DbGllbnRUb1NlcnZlci9Xcml0ZU1lc3NhZ2VUb1NlcnZlckxvZ0NvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFDbkQsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzVDLE9BQU8sRUFBQywwQkFBMEIsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ3hFLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUtwRCxNQUFNLE9BQU8sOEJBQStCLFNBQVEsWUFBWTtJQUc5RDtRQUNFLEtBQUssQ0FBQyxpQkFBaUIsQ0FBQyxnQ0FBZ0MsQ0FBQyxDQUFDO1FBSDVELGlCQUFZLEdBQVcsSUFBSSxDQUFDO0lBSTVCLENBQUM7SUFFRCxvQkFBb0I7UUFDbEIsSUFBSSxNQUFNLEdBQStCLElBQUksMEJBQTBCLEVBQUUsQ0FBQztRQUUxRSxNQUFNLENBQUMsZ0JBQWdCLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ3RDLE1BQU0sQ0FBQyxtQkFBbUIsQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDLENBQUM7UUFDNU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wZXIoKTtcclxuXHJcbiAgICBoZWxwZXIuU2VyaWFsaXplVGFza1RhZyh0aGlzLlRhc2tUYWcpO1xyXG4gICAgaGVscGVyLlNlcmlhbGl6ZU1hZ2ljRXZlbnQodGhpcy5NYWdpY0V2ZW50KTtcclxuICAgIGhlbHBlci5TZXJpYWxpemVBdHRyaWJ1dGUoQ29uc3RJbnRlcmZhY2UuTUdfQVRUUl9FUlJPUl9NRVNTQUdFLCB0aGlzLkVycm9yTWVzc2FnZSk7XHJcblxyXG4gICAgcmV0dXJuIGhlbHBlci5HZXRTdHJpbmcoKTtcclxuICB9XHJcbn1cclxuIl19
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { ReturnResult } from '../..';
|
2
|
-
export class DataViewCommandBase {
|
3
|
-
constructor() {
|
4
|
-
this.DataviewManager = null;
|
5
|
-
}
|
6
|
-
async Execute() {
|
7
|
-
return Promise.resolve(new ReturnResult());
|
8
|
-
}
|
9
|
-
}
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGF0YVZpZXdDb21tYW5kQmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VuZ2luZS9zcmMvY29tbWFuZHMvRGF0YVZpZXdDb21tYW5kQmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sT0FBTyxDQUFDO0FBTXJDLE1BQU0sT0FBZ0IsbUJBQW1CO0lBQXpDO1FBS0Usb0JBQWUsR0FBd0IsSUFBSSxDQUFDO0lBUzlDLENBQUM7SUFKQyxLQUFLLENBQUMsT0FBTztRQUNYLE9BQU8sT0FBTyxDQUFDLE9BQU8sQ0FBQyxJQUFJLFlBQVksRUFBRSxDQUFDLENBQUM7SUFDN0MsQ0FBQztDQUVGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtEYXRhdmlld01hbmFnZXJCYXNlfSBmcm9tIFwiLi4vZGF0YS9EYXRhdmlld01hbmFnZXJCYXNlXCI7XHJcbmltcG9ydCB7IFJldHVyblJlc3VsdEJhc2UgfSBmcm9tICcuLi91dGlsL1JldHVyblJlc3VsdEJhc2UnO1xyXG5pbXBvcnQgeyBSZXR1cm5SZXN1bHQgfSBmcm9tICcuLi8uLic7XHJcblxyXG5cclxuLy8vIDxzdW1tYXJ5PlxyXG4vLy8gZGF0YSB2aWV3IGNvbW1hbmQgYmFzZVxyXG4vLy8gPC9zdW1tYXJ5PlxyXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgRGF0YVZpZXdDb21tYW5kQmFzZSB7XHJcblxyXG4gIC8vLyA8c3VtbWFyeT5cclxuICAvLy8gZGF0YXZpZXcgbWFuYWdlclxyXG4gIC8vLyA8L3N1bW1hcnk+XHJcbiAgRGF0YXZpZXdNYW5hZ2VyOiBEYXRhdmlld01hbmFnZXJCYXNlID0gbnVsbDtcclxuXHJcbiAgLy8vIDxzdW1tYXJ5PlxyXG4gIC8vLyBleGVjdXRlIHRoZSBjb21tYW5kXHJcbiAgLy8vIDwvc3VtbWFyeT5cclxuICBhc3luYyBFeGVjdXRlKCk6IFByb21pc2U8UmV0dXJuUmVzdWx0QmFzZT57XHJcbiAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKG5ldyBSZXR1cm5SZXN1bHQoKSk7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export class IClientTargetedCommand {
|
2
|
-
get ShouldExecute() {
|
3
|
-
return this.shouldExecute;
|
4
|
-
}
|
5
|
-
async Execute(res) {
|
6
|
-
return Promise.resolve();
|
7
|
-
}
|
8
|
-
}
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSUNsaWVudFRhcmdldGVkQ29tbWFuZC5qcyIsInNvdXJjZV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lXCI+VGhlIG5hbWUgb2YgdGhlIGF0dHJpYnV0ZS48L3BhcmFtPlxyXG4gIC8vLyA8cGFyYW0gbmFtZT1cInZhbHVlXCI+VGhlIHZhbHVlIG9mIHRoZSBhdHRyaWJ1dGUgYXMgYSBzdHJpbmcgcmVhZCBmcm9tIHRoZSBYTUwuPC9wYXJhbT5cclxuICBhYnN0cmFjdCBIYW5kbGVBdHRyaWJ1dGUoYXR0cmlidXRlOiBzdHJpbmcsIHZhbHVlOiBzdHJpbmcpOiB2b2lkO1xyXG59XHJcbiJdfQ==
|
@@ -1,65 +0,0 @@
|
|
1
|
-
import { ClientTargetedCommandBase } from "./ClientTargetedCommandBase";
|
2
|
-
import { Debug } from "@magic-xpa/mscorelib";
|
3
|
-
import { GUIManager } from "../../GUIManager";
|
4
|
-
import { MgControl } from "../../gui/MgControl";
|
5
|
-
import { ConstInterface } from "../../ConstInterface";
|
6
|
-
import { XMLConstants } from "@magic-xpa/utils";
|
7
|
-
import { LastFocusedManager } from "../../rt/LastFocusedManager";
|
8
|
-
import { AccessHelper } from "../../AccessHelper";
|
9
|
-
export class AbortCommand extends ClientTargetedCommandBase {
|
10
|
-
constructor(taskTag) {
|
11
|
-
super();
|
12
|
-
this._transOwner = null;
|
13
|
-
if (arguments.length === 0) {
|
14
|
-
this.constructor_0();
|
15
|
-
return;
|
16
|
-
}
|
17
|
-
this.constructor_1(taskTag);
|
18
|
-
}
|
19
|
-
constructor_0() {
|
20
|
-
}
|
21
|
-
constructor_1(taskTag) {
|
22
|
-
this.TaskTag = taskTag;
|
23
|
-
}
|
24
|
-
async Execute(res) {
|
25
|
-
let currMgdID = AccessHelper.mgDataTable.currMgdID;
|
26
|
-
let task = AccessHelper.mgDataTable.GetTaskByID(this.TaskTag);
|
27
|
-
if (this._transOwner !== null) {
|
28
|
-
let newTransOwnerTask = AccessHelper.mgDataTable.GetTaskByID(this._transOwner);
|
29
|
-
if (newTransOwnerTask !== null)
|
30
|
-
newTransOwnerTask.setTransOwnerTask();
|
31
|
-
}
|
32
|
-
if ((task === null && AccessHelper.eventsManager.ignoreUnknownAbort()))
|
33
|
-
return;
|
34
|
-
Debug.Assert(task !== null);
|
35
|
-
let mGData = task.getMGData();
|
36
|
-
await task.stop();
|
37
|
-
mGData.abort();
|
38
|
-
AccessHelper.mgDataTable.currMgdID = mGData.GetId();
|
39
|
-
let form = task.getForm();
|
40
|
-
GUIManager.Instance.abort(form);
|
41
|
-
AccessHelper.mgDataTable.currMgdID = ((mGData.GetId() !== currMgdID || mGData.getParentMGdata() === null)
|
42
|
-
? currMgdID
|
43
|
-
: mGData.getParentMGdata().GetId());
|
44
|
-
if (!MgControl.validReturnToCtrl()) {
|
45
|
-
let lastFocusedControl = LastFocusedManager.getLastFocusedControl();
|
46
|
-
MgControl.ReturnToCtrl = lastFocusedControl;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
HandleAttribute(attribute, value) {
|
50
|
-
switch (attribute) {
|
51
|
-
case ConstInterface.MG_ATTR_TRANS_OWNER:
|
52
|
-
this._transOwner = value;
|
53
|
-
break;
|
54
|
-
default:
|
55
|
-
super.HandleAttribute(attribute, value);
|
56
|
-
break;
|
57
|
-
}
|
58
|
-
if (attribute === XMLConstants.MG_ATTR_TASKID) {
|
59
|
-
let abortingTask = AccessHelper.mgDataTable.GetTaskByID(this.TaskTag);
|
60
|
-
if (abortingTask != null)
|
61
|
-
abortingTask.resetKnownToServer();
|
62
|
-
}
|
63
|
-
}
|
64
|
-
}
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWJvcnRDb21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW5naW5lL3NyYy9jb21tYW5kcy9TZXJ2ZXJUb0NsaWVudC9BYm9ydENvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyx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hbmRsZUF0dHJpYnV0ZShhdHRyaWJ1dGU6IHN0cmluZywgdmFsdWU6IHN0cmluZyk6IHZvaWQge1xyXG4gICAgc3dpdGNoIChhdHRyaWJ1dGUpIHtcclxuICAgICAgY2FzZSBDb25zdEludGVyZmFjZS5NR19BVFRSX1RSQU5TX09XTkVSOlxyXG4gICAgICAgIHRoaXMuX3RyYW5zT3duZXIgPSB2YWx1ZTtcclxuICAgICAgICBicmVhaztcclxuXHJcbiAgICAgIGRlZmF1bHQ6XHJcbiAgICAgICAgc3VwZXIuSGFuZGxlQXR0cmlidXRlKGF0dHJpYnV0ZSwgdmFsdWUpO1xyXG4gICAgICAgIGJyZWFrO1xyXG4gICAgfVxyXG5cclxuICAgIC8vIFNpZ25hbCB0aGUgc2VydmVyIGhhcyBhYm9ydGVkIHRoZSB0YXNrLlxyXG4gICAgaWYgKGF0dHJpYnV0ZSA9PT0gWE1MQ29uc3RhbnRzLk1HX0FUVFJfVEFTS0lEKSB7XHJcbiAgICAgIGxldCBhYm9ydGluZ1Rhc2sgPSA8VGFzaz5BY2Nlc3NIZWxwZXIubWdEYXRhVGFibGUuR2V0VGFza0J5SUQodGhpcy5UYXNrVGFnKTtcclxuICAgICAgaWYgKGFib3J0aW5nVGFzayAhPSBudWxsKVxyXG4gICAgICAgIGFib3J0aW5nVGFzay5yZXNldEtub3duVG9TZXJ2ZXIoKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { ClientTargetedCommandBase } from "./ClientTargetedCommandBase";
|
2
|
-
import { Debug } from "@magic-xpa/mscorelib";
|
3
|
-
import { AccessHelper } from "../../AccessHelper";
|
4
|
-
export class ClientRefreshCommand extends ClientTargetedCommandBase {
|
5
|
-
constructor() {
|
6
|
-
super();
|
7
|
-
}
|
8
|
-
async Execute(res) {
|
9
|
-
let task = AccessHelper.mgDataTable.GetTaskByID(this.TaskTag);
|
10
|
-
Debug.Assert(task.IsSubForm);
|
11
|
-
if (ClientRefreshCommand.ClientIsInRollbackCommand)
|
12
|
-
return;
|
13
|
-
if (task.AfterFirstRecordPrefix && !task.InEndTask) {
|
14
|
-
if ((task.DataView.getCurrRec()).InRecompute)
|
15
|
-
task.ExecuteClientSubformRefresh = true;
|
16
|
-
else {
|
17
|
-
task.PerformParentRecordPrefix = false;
|
18
|
-
await task.getParent().SubformRefresh(task, true);
|
19
|
-
task.PerformParentRecordPrefix = true;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
ClientRefreshCommand.ClientIsInRollbackCommand = false;
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2xpZW50UmVmcmVzaENvbW1hbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL2NvbW1hbmRzL1NlcnZlclRvQ2xpZW50L0NsaWVudFJlZnJlc2hDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx5QkFBeUIsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBR3RFLE9BQU8sRUFBQyxLQUFLLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUUzQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFbEQsTUFBTSxPQUFPLG9CQUFxQixTQUFRLHlCQUF5QjtJQUdqRTtRQUNFLEtBQUssRUFBRSxDQUFDO0lBQ1YsQ0FBQztJQU1ELEtBQUssQ0FBQyxPQUFPLENBQUMsR0FBaUI7UUFFN0IsSUFBSSxJQUFJLEdBQWUsWUFBWSxDQUFDLFdBQVcsQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQzFFLEtBQUssQ0FBQyxNQUFNLENBQUMsSUFBSSx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G4gICAgaWYgKHRhc2suQWZ0ZXJGaXJzdFJlY29yZFByZWZpeCAmJiAhdGFzay5JbkVuZFRhc2spIHtcclxuICAgICAgLy8gUUNSICMyODQ3ODkuIFdoZW4gdGhlIHN1YmZvcm0gZXhlY3V0ZSBpdCdzIHJlY29tcHV0ZSwgd2UgZG8gbm90IG5lZWRlZCB0byBleGVjdXRlIGl0J3MgdmlldyByZWZyZXNoLFxyXG4gICAgICAvLyB3ZSBuZWVkIGV4ZWN1dGUgb25seSBpdCdzIHN1YmZvcm1zIHJlZnJlc2guIEl0IHdpbGwgYmUgZG9uZSBpbiByZWNvbXB1dGUuXHJcbiAgICAgIGlmICgoKDxEYXRhVmlldz50YXNrLkRhdGFWaWV3KS5nZXRDdXJyUmVjKCkpLkluUmVjb21wdXRlKVxyXG4gICAgICAgIHRhc2suRXhlY3V0ZUNsaWVudFN1YmZvcm1SZWZyZXNoID0gdHJ1ZTtcclxuICAgICAgZWxzZSB7XHJcbiAgICAgICAgLy8gRG8gbm90IGV4ZWN1dGUgUlAgJiBSUyBvZiB0aGUgcGFyZW50LCBiZWNhdXNlIGl0IHdhcyBkb25lIGFscmVhZHkuXHJcbiAgICAgICAgdGFzay5QZXJmb3JtUGFyZW50UmVjb3JkUHJlZml4ID0gZmFsc2U7XHJcbiAgICAgICAgYXdhaXQgdGFzay5nZXRQYXJlbnQoKS5TdWJmb3JtUmVmcmVzaCh0YXNrLCB0cnVlKTtcclxuICAgICAgICB0YXNrLlBlcmZvcm1QYXJlbnRSZWNvcmRQcmVmaXggPSB0cnVlO1xyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { IClientTargetedCommand } from "../IClientTargetedCommand";
|
2
|
-
import { XMLConstants } from "@magic-xpa/utils";
|
3
|
-
export class ClientTargetedCommandBase extends IClientTargetedCommand {
|
4
|
-
constructor() {
|
5
|
-
super(...arguments);
|
6
|
-
this.Frame = 0;
|
7
|
-
this.TaskTag = null;
|
8
|
-
this.Obj = null;
|
9
|
-
}
|
10
|
-
get IsBlocking() {
|
11
|
-
return false;
|
12
|
-
}
|
13
|
-
get ShouldExecute() {
|
14
|
-
return true;
|
15
|
-
}
|
16
|
-
async Execute(res) {
|
17
|
-
return Promise.resolve();
|
18
|
-
}
|
19
|
-
HandleAttribute(attribute, value) {
|
20
|
-
switch (attribute) {
|
21
|
-
case XMLConstants.MG_ATTR_TASKID:
|
22
|
-
this.TaskTag = value;
|
23
|
-
break;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2xpZW50VGFyZ2V0ZWRDb21tYW5kQmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VuZ2luZS9zcmMvY29tbWFuZHMvU2VydmVyVG9DbGllbnQvQ2xpZW50VGFyZ2V0ZWRDb21tYW5kQmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsc0JBQXNCLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUdqRSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFPOUMsTUFBTSxPQUFnQix5QkFBMEIsU0FBUSxzQkFBc0I7SUFBOUU7O1FBTUUsVUFBSyxHQUFXLENBQUMsQ0FBQztRQUVsQixZQUFPLEdBQVcsSUFBSSxDQUFDO1FBRXZCLFFBQUcsR0FBVyxJQUFJLENBQUM7SUFpQnJCLENBQUM7SUF6QkMsSUFBSSxVQUFVO1FBQ1osT0FBTyxLQUFLLENBQUM7SUFDZixDQUFDO0lBUUQsSUFBSSxhQUFhO1FBQ2YsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0lBRUQsS0FBSyxDQUFDLE9BQU8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ge1xyXG4gICAgcmV0dXJuIGZhbHNlO1xyXG4gIH1cclxuXHJcbiAgRnJhbWU6IG51bWJlciA9IDA7XHJcblxyXG4gIFRhc2tUYWc6IHN0cmluZyA9IG51bGw7XHJcblxyXG4gIE9iajogc3RyaW5nID0gbnVsbDtcclxuXHJcbiAgZ2V0IFNob3VsZEV4ZWN1dGUoKTogYm9vbGVhbiB7XHJcbiAgICByZXR1cm4gdHJ1ZTtcclxuICB9XHJcblxyXG4gIGFzeW5jIEV4ZWN1dGUocmVzOiBJUmVzdWx0VmFsdWUpOiBQcm9taXNlPHZvaWQ+IHtcclxuICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUoKTtcclxuICB9XHJcblxyXG4gIEhhbmRsZUF0dHJpYnV0ZShhdHRyaWJ1dGU6IHN0cmluZywgdmFsdWU6IHN0cmluZyk6IHZvaWQge1xyXG4gICAgc3dpdGNoIChhdHRyaWJ1dGUpIHtcclxuICAgICAgY2FzZSBYTUxDb25zdGFudHMuTUdfQVRUUl9UQVNLSUQ6XHJcbiAgICAgICAgdGhpcy5UYXNrVGFnID0gdmFsdWU7XHJcbiAgICAgICAgYnJlYWs7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import { VerifyCommand } from "./VerifyCommand";
|
2
|
-
import { Operation } from "../../rt/Operation";
|
3
|
-
import { Task } from "../../tasks/Task";
|
4
|
-
import { ConstInterface } from "../../ConstInterface";
|
5
|
-
import { LanguageData } from "../../env/LanguageData";
|
6
|
-
export class EnhancedVerifyCommand extends VerifyCommand {
|
7
|
-
async ProcessMessageBoxResponse(task, returnValue) {
|
8
|
-
if (task !== null)
|
9
|
-
await Operation.setoperVerifyReturnValue(returnValue, this._returnVal);
|
10
|
-
}
|
11
|
-
PrepareMessageBoxForDisplay(task, mlsTransTitle, style) {
|
12
|
-
mlsTransTitle.value = LanguageData.Instance.translate(this._title);
|
13
|
-
style.value = Operation.getButtons(this._buttonsID);
|
14
|
-
style.value |= Operation.getImage(this._image);
|
15
|
-
if (task !== null) {
|
16
|
-
if (Task.isMainProgramField(this._returnValStr)) {
|
17
|
-
this._returnVal = Operation.InitField(this._returnValStr, task);
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
HandleAttribute(attribute, value) {
|
22
|
-
switch (attribute) {
|
23
|
-
case ConstInterface.MG_ATTR_IMAGE:
|
24
|
-
this._image = value[0];
|
25
|
-
break;
|
26
|
-
case ConstInterface.MG_ATTR_BUTTONS:
|
27
|
-
this._buttonsID = value[0];
|
28
|
-
break;
|
29
|
-
case ConstInterface.MG_ATTR_RETURN_VAL:
|
30
|
-
this._returnValStr = value;
|
31
|
-
break;
|
32
|
-
default:
|
33
|
-
super.HandleAttribute(attribute, value);
|
34
|
-
break;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
constructor() {
|
38
|
-
super();
|
39
|
-
this._buttonsID = '\0';
|
40
|
-
this._image = '\0';
|
41
|
-
this._returnValStr = null;
|
42
|
-
this._returnVal = null;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRW5oYW5jZWRWZXJpZnlDb21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW5naW5lL3NyYy9jb21tYW5kcy9TZXJ2ZXJUb0NsaWVudC9FbmhhbmNlZFZlcmlmeUNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzlDLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQztBQUM3QyxPQUFPLEVBQUMsSUFBSSxFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFDdEMsT0FBTyxFQUFDLG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