@magic-xpa/engine 4.1100.0-dev4110.2 → 4.1100.0-dev4110.202
Sign up to get free protection for your applications and to get access to all the features.
- 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 +409 -0
- package/esm2022/src/CommandsProcessorBase.mjs +56 -0
- package/esm2022/src/CommandsProcessorManager.mjs +26 -0
- 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 +157 -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/{esm2020 → esm2022}/src/bridge/MagicBridge.mjs +40 -40
- 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/{esm2020 → esm2022}/src/commands/ClientToServer/BrowserEscEventCommand.mjs +23 -23
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ClientOriginatedCommand.mjs +14 -14
- package/esm2022/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +60 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ColumnSortEventCommand.mjs +26 -26
- package/esm2022/src/commands/ClientToServer/CommandFactory.mjs +260 -0
- package/esm2022/src/commands/ClientToServer/CommandSerializationHelper.mjs +67 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ComputeEventCommand.mjs +23 -23
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTerminationEventCommand.mjs +20 -20
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ContextTimeoutResetCommand.mjs +19 -19
- 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 +37 -0
- package/esm2022/src/commands/ClientToServer/EventCommand.mjs +40 -0
- package/esm2022/src/commands/ClientToServer/ExecOperCommand.mjs +67 -0
- package/esm2022/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +22 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/GlobalParamsQueryCommand.mjs +10 -10
- package/{esm2020 → esm2022}/src/commands/ClientToServer/ICommandTaskTag.mjs +1 -1
- package/{esm2020 → esm2022}/src/commands/ClientToServer/IndexChangeEventCommand.mjs +21 -21
- package/esm2022/src/commands/ClientToServer/IniputForceWriteCommand.mjs +23 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/NonReversibleExitEventCommand.mjs +23 -23
- package/{esm2020 → esm2022}/src/commands/ClientToServer/QueryCommand.mjs +20 -20
- package/esm2022/src/commands/ClientToServer/RecomputeCommand.mjs +27 -0
- package/esm2022/src/commands/ClientToServer/RefreshEventCommand.mjs +27 -0
- package/esm2022/src/commands/ClientToServer/RefreshScreenEventCommand.mjs +24 -0
- package/esm2022/src/commands/ClientToServer/RollbackEventCommand.mjs +40 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/SelectProgramCommand.mjs +14 -14
- package/{esm2020 → esm2022}/src/commands/ClientToServer/SetTransactionStateDataviewCommand.mjs +9 -9
- package/{esm2020 → esm2022}/src/commands/ClientToServer/SubformOpenEventCommand.mjs +21 -21
- package/esm2022/src/commands/ClientToServer/SubformRefreshEventCommand.mjs +24 -0
- package/esm2022/src/commands/ClientToServer/TransactionCommand.mjs +30 -0
- package/{esm2020 → esm2022}/src/commands/ClientToServer/UnloadCommand.mjs +14 -14
- 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 +1 -1
- package/esm2022/src/commands/ServerToClient/AbortCommand.mjs +65 -0
- package/{esm2020 → esm2022}/src/commands/ServerToClient/AddLocateCommand.mjs +21 -21
- package/esm2022/src/commands/ServerToClient/AddRangeCommand.mjs +62 -0
- package/esm2022/src/commands/ServerToClient/AddSortCommand.mjs +33 -0
- 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/esm2022/src/commands/ServerToClient/XMLBasedCommandBuilder.mjs +132 -0
- 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/esm2022/src/data/Key.mjs +88 -0
- package/esm2022/src/data/Record.mjs +866 -0
- package/{esm2020 → esm2022}/src/data/RecordOutOfDataViewException.mjs +15 -15
- package/esm2022/src/data/RecordsTable.mjs +267 -0
- package/esm2022/src/data/TaskTransactionManager.mjs +103 -0
- package/esm2022/src/data/XMLBasedDcValuesBuilder.mjs +74 -0
- 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/esm2022/src/env/MirrorString.mjs +65 -0
- 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/esm2022/src/exp/GlobalParamsTable.mjs +85 -0
- 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 +1181 -0
- package/esm2022/src/http/HttpManager.mjs +97 -0
- package/esm2022/src/http/client/HttpClientAsync.mjs +68 -0
- package/esm2022/src/http/client/HttpClientBase.mjs +132 -0
- 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/esm2022/src/remote/AddUserLocateRemoteDataViewCommand.mjs +18 -0
- package/esm2022/src/remote/AddUserRangeRemoteDataViewCommand.mjs +18 -0
- package/esm2022/src/remote/AddUserSortRemoteDataViewCommand.mjs +18 -0
- package/esm2022/src/remote/RemoteCommandsProcessor.mjs +882 -0
- package/esm2022/src/remote/RemoteControlItemsRefreshCommand.mjs +25 -0
- package/esm2022/src/remote/RemoteDataViewCommandBase.mjs +24 -0
- package/esm2022/src/remote/RemoteDataViewCommandFactory.mjs +61 -0
- 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/esm2022/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +17 -0
- package/{esm2020 → esm2022}/src/remote/ResetUserRangeRemoteDataviewCommand.mjs +12 -12
- package/esm2022/src/remote/ResetUserSortRemoteDataviewCommand.mjs +16 -0
- package/esm2022/src/remote/ServerError.mjs +40 -0
- package/esm2022/src/remote/SetTransactionStateRemoteDataViewCommand.mjs +20 -0
- 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/{esm2020 → esm2022}/src/rt/DataviewHeaderBase.mjs +98 -96
- package/{esm2020 → esm2022}/src/rt/DataviewHeaderFactory.mjs +6 -6
- package/esm2022/src/rt/DataviewHeaders.mjs +53 -0
- package/esm2022/src/rt/DataviewHeadersSaxHandler.mjs +38 -0
- package/esm2022/src/rt/ExecutionStack.mjs +94 -0
- package/{esm2020 → esm2022}/src/rt/ExecutionStackEntry.mjs +17 -17
- package/esm2022/src/rt/HandlersTable.mjs +96 -0
- 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/esm2022/src/rt/RecomputeTable.mjs +63 -0
- package/esm2022/src/rt/RemoteDataviewHeader.mjs +108 -0
- 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/esm2022/src/tasks/RemoteTaskService.mjs +45 -0
- package/esm2022/src/tasks/Task.mjs +2498 -0
- package/esm2022/src/tasks/TaskBase.mjs +83 -0
- package/esm2022/src/tasks/TaskServiceBase.mjs +25 -0
- package/esm2022/src/tasks/TasksTable.mjs +80 -0
- package/esm2022/src/tasks/sort/Sort.mjs +5 -0
- package/esm2022/src/tasks/sort/SortCollection.mjs +67 -0
- package/esm2022/src/util/ConstUtils.mjs +14 -0
- package/esm2022/src/util/FlowMonitorQueue.mjs +451 -0
- package/esm2022/src/util/HeapSort.mjs +70 -0
- 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/esm2022/src/util/cookie.service.mjs +92 -0
- package/{fesm2020 → fesm2022}/magic-xpa-engine.mjs +29750 -29694
- 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 +34 -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 +8 -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 +10 -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 +8 -8
- package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +7 -7
- package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +7 -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 +15 -15
- package/src/commands/ClientToServer/EventCommand.d.ts +15 -15
- package/src/commands/ClientToServer/ExecOperCommand.d.ts +23 -23
- package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +8 -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 +8 -8
- package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +10 -10
- package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +8 -8
- package/src/commands/ClientToServer/QueryCommand.d.ts +8 -8
- package/src/commands/ClientToServer/RecomputeCommand.d.ts +11 -11
- package/src/commands/ClientToServer/RefreshEventCommand.d.ts +12 -12
- package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +10 -10
- package/src/commands/ClientToServer/RollbackEventCommand.d.ts +14 -14
- package/src/commands/ClientToServer/SelectProgramCommand.d.ts +6 -6
- package/src/commands/ClientToServer/SetTransactionStateDataviewCommand.d.ts +5 -5
- package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +8 -8
- package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +9 -9
- package/src/commands/ClientToServer/TransactionCommand.d.ts +12 -12
- package/src/commands/ClientToServer/UnloadCommand.d.ts +7 -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 +3 -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 +156 -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 +93 -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/CommandsProcessorManager.mjs +0 -26
- 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/commands/ClientOriginatedCommandTaskTag.mjs +0 -11
- package/esm2020/src/commands/ClientToServer/ClientOriginatedCommandSerializer.mjs +0 -60
- package/esm2020/src/commands/ClientToServer/CommandFactory.mjs +0 -260
- package/esm2020/src/commands/ClientToServer/CommandSerializationHelper.mjs +0 -69
- package/esm2020/src/commands/ClientToServer/DataViewOutputCommand.mjs +0 -13
- package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +0 -36
- package/esm2020/src/commands/ClientToServer/EventCommand.mjs +0 -40
- package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +0 -67
- package/esm2020/src/commands/ClientToServer/FetchDataControlValuesEventCommand.mjs +0 -22
- 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/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/AddRangeCommand.mjs +0 -62
- package/esm2020/src/commands/ServerToClient/AddSortCommand.mjs +0 -33
- 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/commands/ServerToClient/XMLBasedCommandBuilder.mjs +0 -132
- 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/Key.mjs +0 -88
- package/esm2020/src/data/Record.mjs +0 -846
- package/esm2020/src/data/RecordsTable.mjs +0 -267
- package/esm2020/src/data/TaskTransactionManager.mjs +0 -103
- package/esm2020/src/data/XMLBasedDcValuesBuilder.mjs +0 -74
- 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/env/MirrorString.mjs +0 -65
- 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 -4212
- package/esm2020/src/exp/ExpressionLocalJpn.mjs +0 -314
- package/esm2020/src/exp/GlobalParamsTable.mjs +0 -85
- 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/HttpClientBase.mjs +0 -132
- 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/AddUserLocateRemoteDataViewCommand.mjs +0 -18
- package/esm2020/src/remote/AddUserRangeRemoteDataViewCommand.mjs +0 -18
- package/esm2020/src/remote/AddUserSortRemoteDataViewCommand.mjs +0 -18
- package/esm2020/src/remote/RemoteCommandsProcessor.mjs +0 -880
- package/esm2020/src/remote/RemoteControlItemsRefreshCommand.mjs +0 -25
- package/esm2020/src/remote/RemoteDataViewCommandBase.mjs +0 -24
- package/esm2020/src/remote/RemoteDataViewCommandFactory.mjs +0 -61
- package/esm2020/src/remote/ResetUserLocateRemoteDataviewCommand.mjs +0 -17
- package/esm2020/src/remote/ResetUserSortRemoteDataviewCommand.mjs +0 -16
- package/esm2020/src/remote/ServerError.mjs +0 -40
- package/esm2020/src/remote/SetTransactionStateRemoteDataViewCommand.mjs +0 -20
- 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/DataviewHeaders.mjs +0 -53
- package/esm2020/src/rt/DataviewHeadersSaxHandler.mjs +0 -38
- package/esm2020/src/rt/ExecutionStack.mjs +0 -94
- package/esm2020/src/rt/HandlersTable.mjs +0 -96
- 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/RecomputeTable.mjs +0 -63
- package/esm2020/src/rt/RemoteDataviewHeader.mjs +0 -108
- 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/RemoteTaskService.mjs +0 -45
- package/esm2020/src/tasks/Task.mjs +0 -2496
- package/esm2020/src/tasks/TaskBase.mjs +0 -87
- package/esm2020/src/tasks/TaskServiceBase.mjs +0 -25
- package/esm2020/src/tasks/TasksTable.mjs +0 -80
- package/esm2020/src/tasks/sort/Sort.mjs +0 -7
- package/esm2020/src/tasks/sort/SortCollection.mjs +0 -67
- package/esm2020/src/util/ConstUtils.mjs +0 -14
- package/esm2020/src/util/FlowMonitorQueue.mjs +0 -453
- package/esm2020/src/util/HeapSort.mjs +0 -70
- 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/esm2020/src/util/cookie.service.mjs +0 -92
- package/fesm2015/magic-xpa-engine.mjs +0 -30836
- package/fesm2015/magic-xpa-engine.mjs.map +0 -1
- package/fesm2020/magic-xpa-engine.mjs.map +0 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
export let CurrentClientVersion = '4.1100.0-dev4110.
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export let CurrentClientVersion = '4.1100.0-dev4110.202';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3VycmVudENsaWVudFZlcnNpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL0N1cnJlbnRDbGllbnRWZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxJQUFJLG9CQUFvQixHQUFHLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGxldCBDdXJyZW50Q2xpZW50VmVyc2lvbiA9ICc0LjExMDAuMC1kZXY0MTEwLjIwMic7Il19
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export class FlowMonitorInterface {
|
2
|
+
static FLWMTR_START = 0;
|
3
|
+
static FLWMTR_END = 1;
|
4
|
+
static FLWMTR_PROPAGATE = 2;
|
5
|
+
static FLWMTR_EVENT = 7;
|
6
|
+
static FLWMTR_CHNG_MODE = 8;
|
7
|
+
static FLWMTR_PREFIX = 15;
|
8
|
+
static FLWMTR_SUFFIX = 16;
|
9
|
+
static FLWMTR_CTRL_PREFIX = 18;
|
10
|
+
static FLWMTR_CTRL_SUFFIX = 19;
|
11
|
+
static FLWMTR_TSK_HANDLER = 20;
|
12
|
+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cyBGbG93TW9uaXRvckludGVyZmFjZSB7XHJcbiAgc3RhdGljIEZMV01UUl9TVEFSVDogbnVtYmVyID0gMDtcclxuICBzdGF0aWMgRkxXTVRSX0VORDogbnVtYmVyID0gMTtcclxuICBzdGF0aWMgRkxXTVRSX1BST1BBR0FURTogbnVtYmVyID0gMjtcclxuXHJcblxyXG4gIHN0YXRpYyBGTFdNVFJfRVZFTlQ6IG51bWJlciA9IDc7XHJcbiAgc3RhdGljIEZMV01UUl9DSE5HX01PREU6IG51bWJlciA9IDg7XHJcblxyXG4gIHN0YXRpYyBGTFdNVFJfUFJFRklYOiBudW1iZXIgPSAxNTtcclxuICBzdGF0aWMgRkxXTVRSX1NVRkZJWDogbnVtYmVyID0gMTY7XHJcblxyXG4gIHN0YXRpYyBGTFdNVFJfQ1RSTF9QUkVGSVg6IG51bWJlciA9IDE4O1xyXG4gIHN0YXRpYyBGTFdNVFJfQ1RSTF9TVUZGSVg6IG51bWJlciA9IDE5O1xyXG4gIHN0YXRpYyBGTFdNVFJfVFNLX0hBTkRMRVI6IG51bWJlciA9IDIwO1xyXG5cclxuXHJcblxyXG5cclxuICAvKiBSZWNvbXB1dGUgbWVzc2FnZXMgKi9cclxuICBzdGF0aWMgRkxXTVRSX1JFQ09NUDogbnVtYmVyID0gMzE7XHJcbiAgLyogT3BlcmF0aW9ucyBtZXNzYWdlcyAqL1xyXG4gIHN0YXRpYyBGTFdNVFJfREFUQV9PUEVSOiBudW1iZXIgPSA0MTtcclxuICAvKiBMT0cgbWVzc2FnZXMgKi9cclxuXHJcblxyXG4gIHN0YXRpYyBGTFdNVFJfVkFSQ0hHX1ZBTFVFOiBudW1iZXIgPSAxMTk7XHJcblxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { MsgInterface } from '@magic-xpa/utils';
|
2
|
+
import { Commands, Manager, Styles } from '@magic-xpa/gui';
|
3
|
+
import { RCTimer } from './tasks/RCTimer';
|
4
|
+
import { LanguageData } from './env/LanguageData';
|
5
|
+
import { AccessHelper } from './AccessHelper';
|
6
|
+
export class GUIManager {
|
7
|
+
static _instance = null;
|
8
|
+
static get Instance() {
|
9
|
+
if (GUIManager._instance === null)
|
10
|
+
GUIManager._instance = new GUIManager();
|
11
|
+
return GUIManager._instance;
|
12
|
+
}
|
13
|
+
execGuiCommandQueue() {
|
14
|
+
Commands.beginInvoke();
|
15
|
+
}
|
16
|
+
startTimer(mgData, seconds, isIdleTimer) {
|
17
|
+
if (seconds > 0) {
|
18
|
+
let objRCTimer = new RCTimer(mgData, seconds * 1000, isIdleTimer);
|
19
|
+
(objRCTimer).Start();
|
20
|
+
Commands.beginInvoke();
|
21
|
+
}
|
22
|
+
}
|
23
|
+
stopTimer(mgData, seconds, isIdleTimer) {
|
24
|
+
if (seconds > 0)
|
25
|
+
RCTimer.StopTimer(mgData, seconds * 1000, isIdleTimer);
|
26
|
+
}
|
27
|
+
abort(form) {
|
28
|
+
if (arguments.length === 1)
|
29
|
+
this.abort_0(form);
|
30
|
+
else
|
31
|
+
this.abort_1();
|
32
|
+
}
|
33
|
+
abort_0(form) {
|
34
|
+
if (form !== null) {
|
35
|
+
Manager.Abort(form);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
abort_1() {
|
39
|
+
for (let i = AccessHelper.mgDataTable.getSize(); i > 0; i--) {
|
40
|
+
const task = AccessHelper.mgDataTable.getMGData(i - 1).getFirstTask();
|
41
|
+
if (task !== null)
|
42
|
+
this.abort(task.Form);
|
43
|
+
}
|
44
|
+
}
|
45
|
+
async MessageBox(title, msg, style) {
|
46
|
+
await AccessHelper.eventsManager.CheckAndShowSpinner(false);
|
47
|
+
return await Commands.messageBox(title, msg, style);
|
48
|
+
}
|
49
|
+
async writeToMessageBox(titleId, msgId, style) {
|
50
|
+
let title = LanguageData.Instance.getConstMessage(titleId);
|
51
|
+
let msg = LanguageData.Instance.getConstMessage(msgId);
|
52
|
+
return await this.MessageBox(title, msg, style);
|
53
|
+
}
|
54
|
+
async confirm(msgId, style) {
|
55
|
+
return await this.writeToMessageBox(MsgInterface.CONFIRM_STR_WINDOW_TITLE, msgId, style);
|
56
|
+
}
|
57
|
+
async confirm_bool(msgId) {
|
58
|
+
let retResult = await this.confirm(msgId, Styles.MSGBOX_BUTTON_OK_CANCEL);
|
59
|
+
return retResult == Styles.MSGBOX_RESULT_OK;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR1VJTWFuYWdlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VuZ2luZS9zcmMvR1VJTWFuYWdlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFDOUMsT0FBTyxFQUFDLFFBQVEsRUFBRSxPQUFPLEVBQUUsTUFBTSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFFekQsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBR3hDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQztBQUNoRCxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFLNUMsTUFBTSxPQUFPLFVBQVU7SUFDYixNQUFNLENBQUMsU0FBUyxHQUFlLElBQUksQ0FBQztJQUk1QyxNQUFNLEtBQUssUUFBUTtRQUNqQixJQUFJLFVBQVUsQ0FBQyxTQUFTLEtBQUssSUFBSTtZQUMvQixVQUFVLENBQUMsU0FBUyxHQUFHLElBQUksVUFBVSxFQUFFLENBQUM7UUFDMUMsT0FBTyxVQUFVLENBQUMsU0FBUyxDQUFDO0lBQzlCLENBQUM7SUFNRCxtQkFBbUI7UUFDakIsUUFBUSxDQUFDLFdBQVcsRUFBRSx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ybiB0cnVlIGlmIHRoZSBidXR0b24gWUVTIHdhcyBwcmVzc2VkXHJcbiAgLy8vIDwvcGFyYW0+XHJcbiAgcHVibGljIGFzeW5jIGNvbmZpcm1fYm9vbChtc2dJZDogc3RyaW5nKTogUHJvbWlzZTxib29sZWFuPiB7XHJcbiAgICBsZXQgcmV0UmVzdWx0OiBudW1iZXIgPSBhd2FpdCB0aGlzLmNvbmZpcm0obXNnSWQsIFN0eWxlcy5NU0dCT1hfQlVUVE9OX09LX0NBTkNFTCk7XHJcbiAgICByZXR1cm4gcmV0UmVzdWx0ID09IDxudW1iZXI+U3R5bGVzLk1TR0JPWF9SRVNVTFRfT0s7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { List } from "@magic-xpa/mscorelib";
|
2
|
+
export class GlobalCommandsManager {
|
3
|
+
static Instance = new GlobalCommandsManager();
|
4
|
+
constructor() {
|
5
|
+
this._CommandsExecutedAfterTaskStarted = new List();
|
6
|
+
this._cmdFrame = 0;
|
7
|
+
this._unframedCmds = new List();
|
8
|
+
}
|
9
|
+
_CommandsExecutedAfterTaskStarted = null;
|
10
|
+
_cmdFrame = 0;
|
11
|
+
_unframedCmds = null;
|
12
|
+
getCommandsExecutedAfterTaskStarted() {
|
13
|
+
return this._CommandsExecutedAfterTaskStarted;
|
14
|
+
}
|
15
|
+
addCommandsExecutedAfterTaskStarted(cmd) {
|
16
|
+
this._CommandsExecutedAfterTaskStarted.push(cmd);
|
17
|
+
}
|
18
|
+
removeCommandsExecutedAfterTaskStarted(cmd) {
|
19
|
+
this._CommandsExecutedAfterTaskStarted.Remove(cmd);
|
20
|
+
}
|
21
|
+
add1toCmdFrame() {
|
22
|
+
this._cmdFrame++;
|
23
|
+
}
|
24
|
+
getCmdFrame() {
|
25
|
+
return this._cmdFrame;
|
26
|
+
}
|
27
|
+
addUnframedCmd(cmd) {
|
28
|
+
this._unframedCmds.push(cmd);
|
29
|
+
}
|
30
|
+
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WRzO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -0,0 +1,157 @@
|
|
1
|
+
import { CtrlButtonTypeGui, InternalInterface, Logger, MgControlType, Misc } from '@magic-xpa/utils';
|
2
|
+
import { Events, EventsProcessor, RuntimeContextBase } from '@magic-xpa/gui';
|
3
|
+
import { RunTimeEvent } from './event/RunTimeEvent';
|
4
|
+
import { RCTimer } from './tasks/RCTimer';
|
5
|
+
import { MGDataCollection } from './tasks/MGDataCollection';
|
6
|
+
import { EventsManager } from './event/EventsManager';
|
7
|
+
import { LanguageData } from './env/LanguageData';
|
8
|
+
import { EnvParamsTable } from './env/EnvVariablesTable';
|
9
|
+
import { LastFocusedManager } from './rt/LastFocusedManager';
|
10
|
+
import { ServerConfig } from './ServerConfig';
|
11
|
+
import { ClientManager } from "./ClientManager";
|
12
|
+
export class GuiEventsProcessor extends EventsProcessor {
|
13
|
+
RegisterSubclassHandlers() {
|
14
|
+
Events.FocusEvent = GuiEventsProcessor.processFocus;
|
15
|
+
Events.FocusOnNonMagicControlEvent = GuiEventsProcessor.processFocusOnNonMagicControl;
|
16
|
+
Events.MouseUpEvent = GuiEventsProcessor.processMouseUp;
|
17
|
+
Events.SelectionEvent = GuiEventsProcessor.processSelection;
|
18
|
+
Events.DisposeEvent = GuiEventsProcessor.processDispose;
|
19
|
+
Events.TimerEvent = GuiEventsProcessor.ProcessTimer;
|
20
|
+
Events.TableResizeEvent = GuiEventsProcessor.processTableResize;
|
21
|
+
Events.GetRowsDataEvent = GuiEventsProcessor.processGetRowsData;
|
22
|
+
Events.NonParkableLastParkedCtrlEvent = GuiEventsProcessor.OnNonParkableLastParkedCtrl;
|
23
|
+
Events.ShowSessionStatisticsEvent = GuiEventsProcessor.ShowSessionStatistics;
|
24
|
+
Events.WriteExceptionToLogEvent = Logger.Instance.WriteExceptionToLogWithMsg.bind(Logger.Instance);
|
25
|
+
Events.WriteErrorToLogEvent = Logger.Instance.WriteErrorToLog.bind(Logger.Instance);
|
26
|
+
Events.WriteWarningToLogEvent = Logger.Instance.WriteWarningToLogWithMsg.bind(Logger.Instance);
|
27
|
+
Events.ShouldLogEvent = Logger.Instance.ShouldLog.bind(Logger.Instance);
|
28
|
+
Events.WriteGuiToLogEvent = Logger.Instance.WriteGuiToLog.bind(Logger.Instance);
|
29
|
+
Events.WriteDevToLogEvent = Logger.Instance.WriteDevToLog.bind(Logger.Instance);
|
30
|
+
Events.TranslateEvent = LanguageData.Instance.translate.bind(LanguageData.Instance);
|
31
|
+
Events.PeekEndOfWorkEvent = GuiEventsProcessor.peekEndOfWork;
|
32
|
+
Events.TranslateLogicalNameEvent = EnvParamsTable.Instance.translate.bind(EnvParamsTable.Instance);
|
33
|
+
Events.GetAssetsURL = ClientManager.GetAssetsURL;
|
34
|
+
Events.GetMainProgramEvent = GuiEventsProcessor.getMainProgram;
|
35
|
+
Events.GetMessageStringEvent = LanguageData.Instance.getConstMessage.bind(LanguageData.Instance);
|
36
|
+
Events.CtrlFocusEvent = GuiEventsProcessor.processCtrlFocus;
|
37
|
+
Events.GetRuntimeContextEvent = GuiEventsProcessor.GetRuntimeContext;
|
38
|
+
Events.SaveLastClickedCtrlEvent = GuiEventsProcessor.SaveLastClickedControlName;
|
39
|
+
Events.SaveLastClickInfoEvent = GuiEventsProcessor.SaveLastClickInfo;
|
40
|
+
Events.OnIsLogonRTLEvent = GuiEventsProcessor.IsLogonRTL;
|
41
|
+
Events.ShouldAddEnterAsKeyEvent = GuiEventsProcessor.ShouldAddEnterAsKeyEvent;
|
42
|
+
}
|
43
|
+
constructor() {
|
44
|
+
super();
|
45
|
+
}
|
46
|
+
static processCtrlFocus(iTask, mgControl) {
|
47
|
+
LastFocusedManager.setLastFocusedControl(iTask, mgControl);
|
48
|
+
}
|
49
|
+
static processFocus(guiMgCtrl, line, isProduceClick, onMultiMark) {
|
50
|
+
let mgControl = guiMgCtrl;
|
51
|
+
EventsManager.Instance.addGuiTriggeredEventWithCtrlAndLineAndCodeAndIsProductClick(mgControl, InternalInterface.MG_ACT_CTRL_FOCUS, line, isProduceClick);
|
52
|
+
}
|
53
|
+
static processFocusOnNonMagicControl(guiMgCtrl) {
|
54
|
+
let mgControl = guiMgCtrl;
|
55
|
+
EventsManager.Instance.addGuiTriggeredEventWithCtrlAndCodeAndLine(mgControl, InternalInterface.MG_ACT_CTRL_FOCUS_ON_NON_MAGIC_CONTROL, mgControl.getDisplayLine(true));
|
56
|
+
}
|
57
|
+
static processMouseUp(guiMgCtrl, line) {
|
58
|
+
let mgControl = guiMgCtrl;
|
59
|
+
let rtEvt = new RunTimeEvent(mgControl, line, true);
|
60
|
+
let produceClick = true;
|
61
|
+
if (mgControl.Type === MgControlType.CTRL_TYPE_BUTTON && guiMgCtrl.ButtonStyle === CtrlButtonTypeGui.Hypertext)
|
62
|
+
produceClick = false;
|
63
|
+
rtEvt.setProduceClick(produceClick);
|
64
|
+
rtEvt.setInternal(InternalInterface.MG_ACT_CTRL_MOUSEUP);
|
65
|
+
EventsManager.Instance.addToTail(rtEvt);
|
66
|
+
}
|
67
|
+
static processDispose(guiMgForm) {
|
68
|
+
let form = guiMgForm;
|
69
|
+
let task = form.getTask();
|
70
|
+
let mgd = task.getMGData();
|
71
|
+
RCTimer.StopAll(mgd);
|
72
|
+
if (mgd.IsAborting)
|
73
|
+
MGDataCollection.Instance.deleteMGDataTree(mgd.GetId());
|
74
|
+
}
|
75
|
+
static ProcessTimer(mgTimer) {
|
76
|
+
let mgd = mgTimer.GetMgdata();
|
77
|
+
let task = mgd.getFirstTask();
|
78
|
+
let seconds = Math.floor((mgTimer.TimerIntervalMiliSeconds) / 1000);
|
79
|
+
let isIdle = mgTimer.IsIdleTimer;
|
80
|
+
if (mgd.IsAborting)
|
81
|
+
return;
|
82
|
+
let rtEvt = new RunTimeEvent(task, true);
|
83
|
+
rtEvt.setTimer(seconds, mgd.GetId(), isIdle);
|
84
|
+
rtEvt.setMainPrgCreator(rtEvt.getTask());
|
85
|
+
if (!isIdle)
|
86
|
+
rtEvt.setCtrl(task.getLastParkedCtrl());
|
87
|
+
rtEvt.setInternal(InternalInterface.MG_ACT_TIMER);
|
88
|
+
EventsManager.Instance.addToTail(rtEvt);
|
89
|
+
}
|
90
|
+
static processTableResize(guiMgCtrl, newRowsInPage) {
|
91
|
+
let mgControl = guiMgCtrl;
|
92
|
+
if (mgControl != null) {
|
93
|
+
let rtEvt = new RunTimeEvent(mgControl, newRowsInPage, true);
|
94
|
+
rtEvt.setInternal(InternalInterface.MG_ACT_RESIZE);
|
95
|
+
EventsManager.Instance.addToTail(rtEvt);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
static processGetRowsData(guiMgCtrl, desiredTopIndex, sendAll, lastFocusedVal) {
|
99
|
+
let mgControl = guiMgCtrl;
|
100
|
+
if (mgControl != null && mgControl.Type === MgControlType.CTRL_TYPE_TABLE) {
|
101
|
+
let rtEvt = new RunTimeEvent(mgControl, desiredTopIndex, true);
|
102
|
+
rtEvt.setInternal(InternalInterface.MG_ACT_ROW_DATA_CURR_PAGE);
|
103
|
+
rtEvt.setSendAll(sendAll);
|
104
|
+
rtEvt.LastFocusedVal = lastFocusedVal;
|
105
|
+
EventsManager.Instance.addToTail(rtEvt);
|
106
|
+
}
|
107
|
+
}
|
108
|
+
static OnNonParkableLastParkedCtrl(ctrl) {
|
109
|
+
}
|
110
|
+
static processSelection(val, guiMgCtrl, line, produceClick) {
|
111
|
+
let mgControl = guiMgCtrl;
|
112
|
+
if (guiMgCtrl.ConnectedControl) {
|
113
|
+
let rtEvt = new RunTimeEvent(mgControl, +line, true);
|
114
|
+
rtEvt.setInternal(InternalInterface.MG_ACT_CTRL_FOCUS);
|
115
|
+
rtEvt.ShouldHandleZoom = true;
|
116
|
+
rtEvt.setProduceClick(produceClick);
|
117
|
+
EventsManager.Instance.addToTail(rtEvt);
|
118
|
+
}
|
119
|
+
else {
|
120
|
+
if (mgControl.Type === MgControlType.CTRL_TYPE_BUTTON && mgControl.getForm().getTask().getLastParkedCtrl() !== mgControl)
|
121
|
+
produceClick = true;
|
122
|
+
let rtEvt = new RunTimeEvent(mgControl, +line, true);
|
123
|
+
rtEvt.setInternal(InternalInterface.MG_ACT_SELECTION);
|
124
|
+
rtEvt.setValue(val);
|
125
|
+
rtEvt.setProduceClick(produceClick);
|
126
|
+
EventsManager.Instance.addToTail(rtEvt);
|
127
|
+
}
|
128
|
+
}
|
129
|
+
processKeyDown(guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, handled) {
|
130
|
+
LastFocusedManager.Instance.LastActionTime = Misc.getSystemMilliseconds();
|
131
|
+
return super.processKeyDown(guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, handled);
|
132
|
+
}
|
133
|
+
static peekEndOfWork() {
|
134
|
+
return EventsManager.Instance.getEndOfWork();
|
135
|
+
}
|
136
|
+
static getMainProgram(contextID, ctlIdx) {
|
137
|
+
return MGDataCollection.Instance.GetMainProgByCtlIdx(contextID, ctlIdx);
|
138
|
+
}
|
139
|
+
static GetRuntimeContext(contextID) {
|
140
|
+
return RuntimeContextBase.Instance;
|
141
|
+
}
|
142
|
+
static SaveLastClickedControlName(ctrlName) {
|
143
|
+
RuntimeContextBase.Instance.LastClickedCtrlName = ctrlName;
|
144
|
+
}
|
145
|
+
static SaveLastClickInfo(controlName, X, Y, offsetX, offsetY, LastClickCoordinatesAreInPixels) {
|
146
|
+
RuntimeContextBase.Instance.SaveLastClickInfo(controlName, X, Y, offsetX, offsetY, LastClickCoordinatesAreInPixels);
|
147
|
+
}
|
148
|
+
static IsLogonRTL() {
|
149
|
+
return ServerConfig.Instance.IsLogonRTL();
|
150
|
+
}
|
151
|
+
static ShowSessionStatistics() {
|
152
|
+
}
|
153
|
+
static ShouldAddEnterAsKeyEvent() {
|
154
|
+
return false;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3VpRXZlbnRzUHJvY2Vzc29yL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0dXJuIGZhbHNlO1xyXG4gIH1cclxuXHJcblxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export {};
|
1
|
+
export {};
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSUNvbW1hbmRzVGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lbmdpbmUvc3JjL0lDb21tYW5kc1RhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTdHJpbmdCdWlsZGVyIH0gZnJvbSBcIkBtYWdpYy14cGEvbXNjb3JlbGliXCI7XHJcbmltcG9ydCB7IFhtbFBhcnNlciB9IGZyb20gXCJAbWFnaWMteHBhL3V0aWxzXCI7XHJcbmltcG9ydCB7IElDbGllbnRDb21tYW5kIH0gZnJvbSBcIi4vY29tbWFuZHMvSUNsaWVudENvbW1hbmRcIjtcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSUNvbW1hbmRzVGFibGUge1xyXG4gIGZpbGxEYXRhKHBhcnNlcjogWG1sUGFyc2VyKTogdm9pZDtcclxuXHJcbiAgYnVpbGRYTUwobWVzc2FnZTogU3RyaW5nQnVpbGRlcik6IHZvaWQ7XHJcblxyXG4gIEFkZChjbWQ6IElDbGllbnRDb21tYW5kKTogdm9pZDtcclxuXHJcbiAgQ2xlYXIoKTogdm9pZDtcclxufVxyXG4iXX0=
|
@@ -0,0 +1,122 @@
|
|
1
|
+
import { NString } from '@magic-xpa/mscorelib';
|
2
|
+
import { GuiConstants } from '@magic-xpa/gui';
|
3
|
+
import { ConstInterface } from './ConstInterface';
|
4
|
+
import { HttpManager } from './http/HttpManager';
|
5
|
+
export class ServerConfig {
|
6
|
+
static Instance = new ServerConfig();
|
7
|
+
constructor() {
|
8
|
+
}
|
9
|
+
_executionProps;
|
10
|
+
_protocol = null;
|
11
|
+
_server = null;
|
12
|
+
_httpReq = null;
|
13
|
+
_appName = null;
|
14
|
+
_serverUrl = null;
|
15
|
+
Init(obj) {
|
16
|
+
this._executionProps = obj;
|
17
|
+
}
|
18
|
+
ShouldDisplayGenericError() {
|
19
|
+
return this._executionProps.DisplayGenericError;
|
20
|
+
}
|
21
|
+
setUsername(username) {
|
22
|
+
this._executionProps[ConstInterface.MG_TAG_USERNAME] = username;
|
23
|
+
}
|
24
|
+
setPassword(password) {
|
25
|
+
this._executionProps[ConstInterface.MG_TAG_PASSWORD] = password;
|
26
|
+
}
|
27
|
+
setSkipAuthenticationDialog(value) {
|
28
|
+
this._executionProps[ConstInterface.REQ_SKIP_AUTHENTICATION] = value.toString();
|
29
|
+
}
|
30
|
+
setGlobalParams(val) {
|
31
|
+
if (val !== null)
|
32
|
+
this._executionProps[ConstInterface.MG_TAG_GLOBALPARAMS] = val;
|
33
|
+
else
|
34
|
+
delete this._executionProps[ConstInterface.MG_TAG_GLOBALPARAMS];
|
35
|
+
}
|
36
|
+
getGlobalParams() {
|
37
|
+
let ret = this._executionProps[ConstInterface.MG_TAG_GLOBALPARAMS];
|
38
|
+
return typeof ret === "undefined" ? null : ret;
|
39
|
+
}
|
40
|
+
getProtocol() {
|
41
|
+
if (this._protocol === null)
|
42
|
+
this._protocol = this._executionProps.protocol;
|
43
|
+
return this._protocol;
|
44
|
+
}
|
45
|
+
getServer() {
|
46
|
+
if (this._server === null)
|
47
|
+
this._server = this._executionProps.server;
|
48
|
+
return this._server;
|
49
|
+
}
|
50
|
+
getHttpReq() {
|
51
|
+
if (this._httpReq === null) {
|
52
|
+
this._httpReq = this._executionProps.requester;
|
53
|
+
if (this._httpReq !== null) {
|
54
|
+
while (this._httpReq.startsWith("/"))
|
55
|
+
this._httpReq = this._httpReq.substr(1);
|
56
|
+
while (this._httpReq.endsWith("/"))
|
57
|
+
this._httpReq = this._httpReq.substr(0, this._httpReq.length - 1);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
return this._httpReq;
|
61
|
+
}
|
62
|
+
getAppName() {
|
63
|
+
if (this._appName === null)
|
64
|
+
this._appName = this._executionProps.appname;
|
65
|
+
return this._appName;
|
66
|
+
}
|
67
|
+
getInternalLogLevel() {
|
68
|
+
return this._executionProps.InternalLogLevel;
|
69
|
+
}
|
70
|
+
setInternalLogLevel(value) {
|
71
|
+
this._executionProps.InternalLogLevel = value;
|
72
|
+
}
|
73
|
+
getInternalLogSync() {
|
74
|
+
return this._executionProps.InternalLogSync;
|
75
|
+
}
|
76
|
+
getUsername() {
|
77
|
+
let ret = this._executionProps[ConstInterface.MG_TAG_USERNAME];
|
78
|
+
return typeof ret === "undefined" ? null : ret;
|
79
|
+
}
|
80
|
+
getPassword() {
|
81
|
+
let ret = this._executionProps[ConstInterface.MG_TAG_PASSWORD];
|
82
|
+
return typeof ret === "undefined" ? null : ret;
|
83
|
+
}
|
84
|
+
getAssetsURL() {
|
85
|
+
let ret = this._executionProps[ConstInterface.MG_TAG_ASSETS_URL];
|
86
|
+
return (typeof ret === "undefined" || ret === "") ? null : ret;
|
87
|
+
}
|
88
|
+
getCtxGroup() {
|
89
|
+
let ret = this._executionProps[ConstInterface.CTX_GROUP];
|
90
|
+
return typeof ret === "undefined" ? null : ret;
|
91
|
+
}
|
92
|
+
setCtxGroup(CtxGroup) {
|
93
|
+
this._executionProps[ConstInterface.CTX_GROUP] = CtxGroup;
|
94
|
+
}
|
95
|
+
getSkipAuthenticationDialog() {
|
96
|
+
let property = this._executionProps[ConstInterface.REQ_SKIP_AUTHENTICATION];
|
97
|
+
return !NString.IsNullOrEmpty(property) && property === true.toString();
|
98
|
+
}
|
99
|
+
GetFirstHttpRequestTimeout() {
|
100
|
+
let firstHttpTimeout = this._executionProps.FirstHTTPRequestTimeout;
|
101
|
+
return ((firstHttpTimeout > 0) ? (firstHttpTimeout * 1000) : HttpManager.DEFAULT_OFFLINE_HTTP_COMMUNICATION_TIMEOUT);
|
102
|
+
}
|
103
|
+
GetExecutionProperty(propName) {
|
104
|
+
let ret = this._executionProps[propName];
|
105
|
+
return typeof ret === "undefined" ? null : ret;
|
106
|
+
}
|
107
|
+
getServerURL() {
|
108
|
+
if (this._serverUrl === null) {
|
109
|
+
let httpReq = ServerConfig.Instance.getHttpReq();
|
110
|
+
if (httpReq !== null && httpReq.toLowerCase().startsWith("http"))
|
111
|
+
this._serverUrl = httpReq;
|
112
|
+
else
|
113
|
+
this._serverUrl = ServerConfig.Instance.getProtocol() + "://" + ServerConfig.Instance.getServer() + "/" + ServerConfig.Instance.getHttpReq();
|
114
|
+
}
|
115
|
+
return this._serverUrl;
|
116
|
+
}
|
117
|
+
IsLogonRTL() {
|
118
|
+
let text = ServerConfig.Instance.GetExecutionProperty[GuiConstants.STR_LOGON_RTL];
|
119
|
+
return text !== null && typeof text !== "undefined" && text === "Y";
|
120
|
+
}
|
121
|
+
}
|
122
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VydmVyQ29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW5naW5lL3NyYy9TZXJ2ZXJDb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUU5QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDbEQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRWpELE1BQU0sT0FBTyxZQUFZO0lBQ3ZCLE1BQU0sQ0FBQyxRQUFRLEdBQWlCLElBQUksWUFBWSxFQUFFLENBQUM7SUFFbkQ7SUFDQSxDQUFDO0lBRU8sZ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B0ZXh0ICE9PSBcInVuZGVmaW5lZFwiICYmIHRleHQgPT09IFwiWVwiO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -1,20 +1,20 @@
|
|
1
|
-
import { Modifiers } from "@magic-xpa/gui";
|
2
|
-
export function getGuiEventObj(eventType, controlName, line, fromButton = false) {
|
3
|
-
return {
|
4
|
-
EventType: eventType,
|
5
|
-
TaskID: null,
|
6
|
-
ControlName: controlName,
|
7
|
-
Line: line,
|
8
|
-
PageSize: 0,
|
9
|
-
Value: null,
|
10
|
-
RouterPath: null,
|
11
|
-
RouterOutletName: null,
|
12
|
-
RouterParams: null,
|
13
|
-
modifiers: Modifiers.MODIFIER_NONE,
|
14
|
-
keyCode: 0,
|
15
|
-
externalValue: null,
|
16
|
-
param: null,
|
17
|
-
fromButton: fromButton
|
18
|
-
};
|
19
|
-
}
|
1
|
+
import { Modifiers } from "@magic-xpa/gui";
|
2
|
+
export function getGuiEventObj(eventType, controlName, line, fromButton = false) {
|
3
|
+
return {
|
4
|
+
EventType: eventType,
|
5
|
+
TaskID: null,
|
6
|
+
ControlName: controlName,
|
7
|
+
Line: line,
|
8
|
+
PageSize: 0,
|
9
|
+
Value: null,
|
10
|
+
RouterPath: null,
|
11
|
+
RouterOutletName: null,
|
12
|
+
RouterParams: null,
|
13
|
+
modifiers: Modifiers.MODIFIER_NONE,
|
14
|
+
keyCode: 0,
|
15
|
+
externalValue: null,
|
16
|
+
param: null,
|
17
|
+
fromButton: fromButton
|
18
|
+
};
|
19
|
+
}
|
20
20
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSUd1aUV2ZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZW5naW5lL3NyYy9icmlkZ2UvSUd1aUV2ZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxTQU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