@kvaser/canking-api 7.2.0 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ElectronAPIFake.js +1 -1
- package/dist/ElectronAPIFake.mjs +11 -10
- package/dist/controls/CanChannelSelectControl.d.ts +4 -4
- package/dist/controls/CanIdentifierControl.d.ts +78 -54
- package/dist/controls/CanKingDataProvider.d.ts +31 -2
- package/dist/controls/CheckboxControl.d.ts +2 -2
- package/dist/controls/ColumnItemControl.d.ts +1 -1
- package/dist/controls/ContextMenu.d.ts +2 -2
- package/dist/controls/DropdownButton.d.ts +3 -3
- package/dist/controls/DropdownPanel.d.ts +1 -1
- package/dist/controls/FormControlRow.d.ts +1 -1
- package/dist/controls/InlineEditor.d.ts +2 -2
- package/dist/controls/LinChannelSelectControl.d.ts +3 -3
- package/dist/controls/LinIdentifierControl.d.ts +76 -53
- package/dist/controls/LocalizedStrings.d.ts +1 -0
- package/dist/controls/NumberRangeControl.d.ts +11 -11
- package/dist/controls/RadioControl.d.ts +1 -1
- package/dist/controls/RadioGroupControl.d.ts +2 -2
- package/dist/controls/SectionControl.d.ts +2 -2
- package/dist/controls/SelectControl.d.ts +2 -2
- package/dist/controls/SelectSignalDialog.d.ts +2 -1
- package/dist/controls/SelectSignalsControl.d.ts +11 -0
- package/dist/controls/TableControl.d.ts +1 -1
- package/dist/controls/TextControl.d.ts +16 -6
- package/dist/controls/ToolbarControl.d.ts +2 -2
- package/dist/controls/ValidateableTextControl.d.ts +6 -6
- package/dist/controls/index.d.ts +2 -2
- package/dist/controls.js +1 -1
- package/dist/controls.mjs +2012 -1855
- package/dist/grpc.js +1 -1
- package/dist/grpc.mjs +125 -111
- package/dist/hooks/index.d.ts +37 -1
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +26 -20
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +29 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +498 -313
- package/dist/measurement_settings.js +1 -1
- package/dist/measurement_settings.mjs +799 -699
- package/dist/models/DataBuffer.d.ts +18 -15
- package/dist/models/ElectronAPIFake.d.ts +2 -1
- package/dist/models.js +1 -1
- package/dist/models.mjs +206 -200
- package/dist/protos/app_params.d.ts +13 -0
- package/dist/protos/frame_params.d.ts +17 -1
- package/dist/protos/measurement_params.d.ts +17 -1
- package/dist/protos/measurement_service.d.ts +36 -8
- package/dist/protos/measurement_settings.d.ts +1 -0
- package/dist/protos/signal_params.d.ts +3 -3
- package/dist/status_params.js +1 -1
- package/dist/status_params.mjs +567 -410
- package/doc/assets/hierarchy.js +1 -1
- package/doc/assets/main.js +5 -5
- package/doc/assets/navigation.js +1 -1
- package/doc/assets/search.js +1 -1
- package/doc/assets/style.css +254 -231
- package/doc/enums/models.AccessMode.html +9 -9
- package/doc/enums/models.AppEvent.html +6 -6
- package/doc/enums/models.CanChannelCap.html +44 -44
- package/doc/enums/models.CanFrameFlag.html +27 -27
- package/doc/enums/models.CanMessageFilterType.html +6 -6
- package/doc/enums/models.CanMode.html +7 -7
- package/doc/enums/models.DeviceEvent.html +6 -6
- package/doc/enums/models.FileConflictAction.html +7 -7
- package/doc/enums/models.FileType.html +7 -7
- package/doc/enums/models.LinFrameFlag.html +12 -12
- package/doc/enums/models.LogFileFormat.html +46 -46
- package/doc/enums/models.LogLevel.html +17 -17
- package/doc/enums/models.LogReplayState.html +6 -6
- package/doc/enums/models.LoggerState.html +7 -7
- package/doc/enums/models.MeasurementEvent.html +12 -12
- package/doc/enums/models.Protocols.html +9 -9
- package/doc/enums/models.ServiceExtensionType.html +8 -0
- package/doc/enums/models.SignalEncoding.html +5 -5
- package/doc/enums/models.SignalType.html +12 -12
- package/doc/enums/models.SignalValueTriggerOperator.html +13 -13
- package/doc/enums/models.StatusLevel.html +7 -7
- package/doc/enums/models.TriggerOperator.html +6 -6
- package/doc/functions/controls.CanChannelSelectControl.html +2 -2
- package/doc/functions/controls.CanIdentifierControl.html +2 -2
- package/doc/functions/controls.CanIdentifierFrameControl.html +2 -2
- package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -2
- package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -2
- package/doc/functions/controls.CanKingDataProvider.html +5 -5
- package/doc/functions/controls.CheckboxControl.html +2 -2
- package/doc/functions/controls.ColumnItemControl.html +2 -2
- package/doc/functions/controls.ContextMenu.html +2 -2
- package/doc/functions/controls.DropdownButton.html +2 -2
- package/doc/functions/controls.DropdownButtonTextItems.html +2 -2
- package/doc/functions/controls.DropdownPanel.html +2 -2
- package/doc/functions/controls.FormControlRow.html +2 -2
- package/doc/functions/controls.InlineEditor.html +2 -2
- package/doc/functions/controls.LinChannelSelectControl.html +2 -2
- package/doc/functions/controls.LinIdentifierControl.html +2 -2
- package/doc/functions/controls.LinIdentifierFrameControl.html +2 -2
- package/doc/functions/controls.LinIdentifierGeneratorControl.html +2 -2
- package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +2 -2
- package/doc/functions/controls.NumberRangeControl.html +2 -2
- package/doc/functions/controls.RadioControl.html +2 -2
- package/doc/functions/controls.RadioGroupControl.html +2 -2
- package/doc/functions/controls.SectionControl.html +2 -2
- package/doc/functions/controls.SelectControl.html +2 -2
- package/doc/functions/controls.SelectMessageDialog.html +2 -2
- package/doc/functions/controls.SelectSignalDialog.html +2 -2
- package/doc/functions/controls.TableControl.html +3 -3
- package/doc/functions/controls.TextControl.html +2 -2
- package/doc/functions/controls.ToolbarControl.html +2 -2
- package/doc/functions/controls.ValidateableTextControl.html +2 -2
- package/doc/functions/controls.useColumnItem.html +3 -3
- package/doc/functions/controls.useColumnItems.html +3 -3
- package/doc/functions/controls.useMessageDatabases.html +2 -2
- package/doc/functions/hooks.useDevices.html +3 -3
- package/doc/functions/hooks.useFixedPositionModeMeasurementData.html +4 -0
- package/doc/functions/hooks.useIsOnline.html +3 -3
- package/doc/functions/hooks.useLanguage.html +3 -3
- package/doc/functions/hooks.useLocalizedStrings.html +3 -3
- package/doc/functions/hooks.useLogMessages.html +3 -3
- package/doc/functions/hooks.useMaxDataBytes.html +2 -2
- package/doc/functions/hooks.useMeasurementSetup.html +3 -3
- package/doc/functions/hooks.useMeasurementStatus.html +3 -3
- package/doc/functions/hooks.useMessageData.html +4 -0
- package/doc/functions/hooks.useMessageLogFileFormats.html +3 -3
- package/doc/functions/hooks.useNewMeasurementData.html +4 -3
- package/doc/functions/hooks.useNodeStatus.html +3 -3
- package/doc/functions/hooks.useNumericRadix.html +3 -3
- package/doc/functions/hooks.useOnlineStatus.html +3 -3
- package/doc/functions/hooks.useOverallStatusLevel.html +3 -3
- package/doc/functions/hooks.useProjectData.html +5 -5
- package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
- package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -3
- package/doc/functions/hooks.useScrollModeMeasurementData.html +4 -0
- package/doc/functions/hooks.useSessionData.html +5 -5
- package/doc/functions/hooks.useSignalData.html +4 -0
- package/doc/functions/hooks.useSignalLogFileFormats.html +2 -2
- package/doc/functions/hooks.useUserSettings.html +3 -3
- package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
- package/doc/functions/ipc.addDataProcessor.html +3 -3
- package/doc/functions/ipc.addSource.html +3 -3
- package/doc/functions/ipc.addTarget.html +3 -3
- package/doc/functions/ipc.clearLinMessage.html +3 -3
- package/doc/functions/ipc.connectNodes.html +3 -3
- package/doc/functions/ipc.deleteDataProcessor.html +3 -3
- package/doc/functions/ipc.deleteSource.html +3 -3
- package/doc/functions/ipc.deleteTarget.html +3 -3
- package/doc/functions/ipc.disableNode.html +3 -3
- package/doc/functions/ipc.disconnectNodes.html +3 -3
- package/doc/functions/ipc.enableNode.html +3 -3
- package/doc/functions/ipc.getFrameDefinitions.html +3 -3
- package/doc/functions/ipc.getLogger.html +3 -3
- package/doc/functions/ipc.getMessageLogFileFormats.html +3 -3
- package/doc/functions/ipc.getSignalLogFileFormats.html +3 -3
- package/doc/functions/ipc.requestLinMessage.html +3 -3
- package/doc/functions/ipc.sendCanMessage.html +3 -3
- package/doc/functions/ipc.sendMessage.html +3 -3
- package/doc/functions/ipc.showMessageBox.html +3 -3
- package/doc/functions/ipc.showQuestionBox.html +3 -3
- package/doc/functions/ipc.startLogReplay.html +3 -3
- package/doc/functions/ipc.startMeasurement.html +2 -2
- package/doc/functions/ipc.startPeriodicTransmission.html +3 -3
- package/doc/functions/ipc.stopLogReplay.html +3 -3
- package/doc/functions/ipc.stopMeasurement.html +2 -2
- package/doc/functions/ipc.stopPeriodicTransmission.html +3 -3
- package/doc/functions/ipc.updateDataProcessor.html +3 -3
- package/doc/functions/ipc.updateLinMessage.html +3 -3
- package/doc/functions/ipc.updatePeriodicTransmission.html +3 -3
- package/doc/functions/ipc.updateSource.html +3 -3
- package/doc/functions/ipc.updateTarget.html +3 -3
- package/doc/hierarchy.html +1 -1
- package/doc/index.html +6 -6
- package/doc/interfaces/controls.ButtonGroupProps.html +10 -10
- package/doc/interfaces/controls.ButtonProps.html +22 -22
- package/doc/interfaces/controls.CanChannelSelectControlProps.html +20 -20
- package/doc/interfaces/controls.CanIdentifierControlProps.html +45 -37
- package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +31 -33
- package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +39 -33
- package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +31 -25
- package/doc/interfaces/controls.CheckboxControlProps.html +17 -17
- package/doc/interfaces/controls.ContextMenuProps.html +9 -9
- package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -4
- package/doc/interfaces/controls.DropdownButtonProps.html +20 -20
- package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -9
- package/doc/interfaces/controls.DropdownPanelProps.html +20 -20
- package/doc/interfaces/controls.FormControlRowProps.html +8 -8
- package/doc/interfaces/controls.ILocalizedStrings.html +2 -3
- package/doc/interfaces/controls.IMessageDatabase.html +2 -4
- package/doc/interfaces/controls.InlineEditorProps.html +13 -13
- package/doc/interfaces/controls.LabelProps.html +6 -6
- package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -20
- package/doc/interfaces/controls.LinIdentifierControlProps.html +42 -35
- package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +31 -33
- package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -31
- package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +31 -25
- package/doc/interfaces/controls.NumberRangeControlProps.html +38 -38
- package/doc/interfaces/controls.RadioControlProps.html +14 -14
- package/doc/interfaces/controls.RadioGroupControlProps.html +9 -9
- package/doc/interfaces/controls.SectionControlProps.html +17 -17
- package/doc/interfaces/controls.SelectControlProps.html +31 -31
- package/doc/interfaces/controls.SelectMessageDialogProps.html +2 -8
- package/doc/interfaces/controls.SelectSignalDialogProps.html +2 -12
- package/doc/interfaces/controls.TableColumn.html +12 -12
- package/doc/interfaces/controls.TableControlProps.html +30 -30
- package/doc/interfaces/controls.TextControlProps.html +41 -41
- package/doc/interfaces/controls.ToggleButtonGroupProps.html +17 -17
- package/doc/interfaces/controls.ToggleButtonProps.html +14 -14
- package/doc/interfaces/controls.ToolbarControlProps.html +18 -18
- package/doc/interfaces/controls.ValidateableTextControlProps.html +54 -54
- package/doc/interfaces/controls.toolbarItem.html +12 -12
- package/doc/interfaces/hooks.ISignalData.html +2 -0
- package/doc/interfaces/ipc.ILogger.html +2 -8
- package/doc/interfaces/models.AboutInformation.html +8 -8
- package/doc/interfaces/models.ActivateLicenseRequest.html +8 -8
- package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +2 -4
- package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +2 -4
- package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +8 -10
- package/doc/interfaces/models.AddOrUpdateSourceRequest.html +4 -6
- package/doc/interfaces/models.AddOrUpdateTargetRequest.html +4 -6
- package/doc/interfaces/models.ApiPreferences.html +10 -10
- package/doc/interfaces/models.AppEventArgs.html +6 -6
- package/doc/interfaces/models.BaseNodeProperties.html +2 -8
- package/doc/interfaces/models.BusStatus.html +2 -17
- package/doc/interfaces/models.CanBusParamLimits.html +2 -7
- package/doc/interfaces/models.CanBusParams.html +2 -8
- package/doc/interfaces/models.CanBusSpeedInfo.html +14 -14
- package/doc/interfaces/models.CanChannelCapacity.html +4 -7
- package/doc/interfaces/models.CanChannelConfiguration.html +16 -16
- package/doc/interfaces/models.CanFDBusSpeedCombination.html +2 -4
- package/doc/interfaces/models.CanFDBusSpeedInfo.html +10 -10
- package/doc/interfaces/models.CanFrameFlags.html +2 -3
- package/doc/interfaces/models.CanMessageFilterSettings.html +2 -5
- package/doc/interfaces/models.Channel.html +2 -7
- package/doc/interfaces/models.ChannelSettings.html +20 -20
- package/doc/interfaces/models.ClearLinMessageRequest.html +6 -7
- package/doc/interfaces/models.ConnectNodesRequest.html +2 -5
- package/doc/interfaces/models.DataProcessingStatus.html +2 -6
- package/doc/interfaces/models.DataProcessorNodeProperties.html +2 -8
- package/doc/interfaces/models.DatabaseFiles.html +6 -6
- package/doc/interfaces/models.DatabasesSettings.html +2 -3
- package/doc/interfaces/models.Device.html +2 -9
- package/doc/interfaces/models.DeviceEventArgs.html +2 -4
- package/doc/interfaces/models.DisconnectNodesRequest.html +2 -5
- package/doc/interfaces/models.Empty.html +2 -2
- package/doc/interfaces/models.ErrorStatus.html +4 -4
- package/doc/interfaces/models.FixedPosFrameIdentifier.html +14 -0
- package/doc/interfaces/models.Frame.html +30 -30
- package/doc/interfaces/models.FrameDefinition.html +14 -14
- package/doc/interfaces/models.FramePropertyValue.html +2 -4
- package/doc/interfaces/models.FrameReceivedTrigger.html +6 -6
- package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +2 -7
- package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +6 -6
- package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +2 -6
- package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +4 -4
- package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +4 -5
- package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +4 -4
- package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +2 -5
- package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +4 -4
- package/doc/interfaces/models.GetDataFramesBeforeTimestampRequest.html +6 -0
- package/doc/interfaces/models.GetDataProcessorResponse.html +2 -3
- package/doc/interfaces/models.GetDevicesRequest.html +2 -4
- package/doc/interfaces/models.GetDevicesResponse.html +2 -3
- package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +4 -5
- package/doc/interfaces/models.GetLicensesResponse.html +4 -4
- package/doc/interfaces/models.GetLogFileFormatsRequest.html +8 -9
- package/doc/interfaces/models.GetLogFileFormatsResponse.html +10 -10
- package/doc/interfaces/models.GetLogLevelResponse.html +4 -4
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +4 -5
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +4 -4
- package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +6 -6
- package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +16 -14
- package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +6 -7
- package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +4 -4
- package/doc/interfaces/models.GetSourceResponse.html +2 -3
- package/doc/interfaces/models.GetTargetResponse.html +2 -3
- package/doc/interfaces/models.ILogFileFormat.html +2 -6
- package/doc/interfaces/models.IProject.html +2 -6
- package/doc/interfaces/models.IUserSettings.html +2 -17
- package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -4
- package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -5
- package/doc/interfaces/models.IWorkspaceData.html +2 -5
- package/doc/interfaces/models.IWorkspacePaneData.html +2 -5
- package/doc/interfaces/models.IdentifierRequest.html +2 -4
- package/doc/interfaces/models.IdentifiersRequest.html +2 -4
- package/doc/interfaces/models.InstallServiceExtensionRequest.html +8 -8
- package/doc/interfaces/models.InterpreterSettings.html +4 -4
- package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
- package/doc/interfaces/models.LicenseInformation.html +18 -18
- package/doc/interfaces/models.Licenses.html +4 -4
- package/doc/interfaces/models.LinChannelConfiguration.html +14 -14
- package/doc/interfaces/models.LinFrameFlags.html +2 -3
- package/doc/interfaces/models.LogMessage.html +12 -12
- package/doc/interfaces/models.LogMessages.html +4 -4
- package/doc/interfaces/models.LogReplaySettings.html +26 -26
- package/doc/interfaces/models.LogReplayStatus.html +2 -3
- package/doc/interfaces/models.LoggerStatus.html +2 -3
- package/doc/interfaces/models.MeasurementEventArgs.html +2 -6
- package/doc/interfaces/models.MeasurementSetup.html +2 -6
- package/doc/interfaces/models.MessageLoggerSettings.html +44 -44
- package/doc/interfaces/models.NodeStatus.html +18 -18
- package/doc/interfaces/models.NodeStatuses.html +2 -3
- package/doc/interfaces/models.OnlineStatus.html +2 -3
- package/doc/interfaces/models.PeriodicTransmissionSettings.html +36 -36
- package/doc/interfaces/models.RequestLinMessageRequest.html +6 -7
- package/doc/interfaces/models.ScheduleTable.html +8 -8
- package/doc/interfaces/models.ScheduleTableEntry.html +6 -6
- package/doc/interfaces/models.SendLinWakeupFrameRequest.html +8 -9
- package/doc/interfaces/models.SendMessageRequest.html +2 -5
- package/doc/interfaces/models.ServiceExtensionSettings.html +2 -4
- package/doc/interfaces/models.SetLogLevelRequest.html +6 -6
- package/doc/interfaces/models.SetMeasurementSetupRequest.html +2 -4
- package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +8 -9
- package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +6 -6
- package/doc/interfaces/models.SignalDefinition.html +2 -18
- package/doc/interfaces/models.SignalFilterSettings.html +4 -4
- package/doc/interfaces/models.SignalLoggerSettings.html +56 -56
- package/doc/interfaces/models.SignalValue.html +2 -7
- package/doc/interfaces/models.SignalValueTrigger.html +16 -16
- package/doc/interfaces/models.SourceNodeProperties.html +2 -7
- package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +4 -5
- package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +2 -3
- package/doc/interfaces/models.SubscribeForDataRequest.html +4 -0
- package/doc/interfaces/models.TargetNodeProperties.html +2 -6
- package/doc/interfaces/models.TriggerSettings.html +8 -8
- package/doc/interfaces/models.UninstallServiceExtensionRequest.html +6 -6
- package/doc/interfaces/models.UpdateLinMessageRequest.html +6 -7
- package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +6 -7
- package/doc/interfaces/models.WriteFrame.html +10 -10
- package/doc/modules/controls.html +3 -3
- package/doc/modules/hooks.html +3 -3
- package/doc/modules/icons.html +2 -2
- package/doc/modules/ipc.html +2 -2
- package/doc/modules/models.html +2 -2
- package/doc/modules.html +1 -1
- package/doc/types/controls.ContextMenuOption.html +10 -6
- package/doc/types/controls.SelectOption.html +6 -4
- package/doc/types/controls.StringsMap.html +2 -2
- package/doc/types/controls.canIdentifierGeneratorType.html +2 -2
- package/doc/types/controls.canIdentifierType.html +2 -2
- package/doc/types/controls.linIdentifierGeneratorType.html +2 -2
- package/doc/variables/controls.FillBox.html +3 -0
- package/doc/variables/controls.OneLineButton.html +2 -0
- package/doc/variables/controls.SizedBox.html +3 -0
- package/doc/variables/controls.TabsPanel.html +2 -0
- package/doc/variables/models.defaultUserSettings.html +2 -2
- package/doc_md/README.md +189 -0
- package/doc_md/assets/favicon.png +0 -0
- package/doc_md/controls/README.md +156 -0
- package/doc_md/controls/functions/CanChannelSelectControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierFrameControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierGeneratorControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierGeneratorSettingsControl.md +26 -0
- package/doc_md/controls/functions/CanKingDataProvider.md +47 -0
- package/doc_md/controls/functions/CheckboxControl.md +25 -0
- package/doc_md/controls/functions/ColumnItemControl.md +21 -0
- package/doc_md/controls/functions/ContextMenu.md +25 -0
- package/doc_md/controls/functions/DropdownButton.md +25 -0
- package/doc_md/controls/functions/DropdownButtonTextItems.md +25 -0
- package/doc_md/controls/functions/DropdownPanel.md +25 -0
- package/doc_md/controls/functions/FormControlRow.md +25 -0
- package/doc_md/controls/functions/InlineEditor.md +25 -0
- package/doc_md/controls/functions/LinChannelSelectControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierFrameControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierGeneratorControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierGeneratorSettingsControl.md +26 -0
- package/doc_md/controls/functions/NumberRangeControl.md +25 -0
- package/doc_md/controls/functions/RadioControl.md +25 -0
- package/doc_md/controls/functions/RadioGroupControl.md +25 -0
- package/doc_md/controls/functions/SectionControl.md +25 -0
- package/doc_md/controls/functions/SelectControl.md +25 -0
- package/doc_md/controls/functions/SelectMessageDialog.md +21 -0
- package/doc_md/controls/functions/SelectSignalDialog.md +21 -0
- package/doc_md/controls/functions/TableControl.md +31 -0
- package/doc_md/controls/functions/TextControl.md +25 -0
- package/doc_md/controls/functions/ToolbarControl.md +25 -0
- package/doc_md/controls/functions/ValidateableTextControl.md +25 -0
- package/doc_md/controls/functions/useColumnItem.md +17 -0
- package/doc_md/controls/functions/useColumnItems.md +25 -0
- package/doc_md/controls/functions/useMessageDatabases.md +21 -0
- package/doc_md/controls/interfaces/ButtonGroupProps.md +41 -0
- package/doc_md/controls/interfaces/ButtonProps.md +93 -0
- package/doc_md/controls/interfaces/CanChannelSelectControlProps.md +103 -0
- package/doc_md/controls/interfaces/CanIdentifierControlProps.md +214 -0
- package/doc_md/controls/interfaces/CanIdentifierFrameControlProps.md +143 -0
- package/doc_md/controls/interfaces/CanIdentifierGeneratorControlProps.md +210 -0
- package/doc_md/controls/interfaces/CanIdentifierGeneratorSettingsControlProps.md +153 -0
- package/doc_md/controls/interfaces/CheckboxControlProps.md +77 -0
- package/doc_md/controls/interfaces/ContextMenuProps.md +45 -0
- package/doc_md/controls/interfaces/DropdownButtonChildrenProps.md +25 -0
- package/doc_md/controls/interfaces/DropdownButtonProps.md +81 -0
- package/doc_md/controls/interfaces/DropdownButtonTextItemsProps.md +70 -0
- package/doc_md/controls/interfaces/DropdownPanelProps.md +81 -0
- package/doc_md/controls/interfaces/FormControlRowProps.md +33 -0
- package/doc_md/controls/interfaces/ILocalizedStrings.md +9 -0
- package/doc_md/controls/interfaces/IMessageDatabase.md +9 -0
- package/doc_md/controls/interfaces/InlineEditorProps.md +61 -0
- package/doc_md/controls/interfaces/LabelProps.md +25 -0
- package/doc_md/controls/interfaces/LinChannelSelectControlProps.md +97 -0
- package/doc_md/controls/interfaces/LinIdentifierControlProps.md +194 -0
- package/doc_md/controls/interfaces/LinIdentifierFrameControlProps.md +143 -0
- package/doc_md/controls/interfaces/LinIdentifierGeneratorControlProps.md +198 -0
- package/doc_md/controls/interfaces/LinIdentifierGeneratorSettingsControlProps.md +153 -0
- package/doc_md/controls/interfaces/NumberRangeControlProps.md +253 -0
- package/doc_md/controls/interfaces/RadioControlProps.md +57 -0
- package/doc_md/controls/interfaces/RadioGroupControlProps.md +45 -0
- package/doc_md/controls/interfaces/SectionControlProps.md +77 -0
- package/doc_md/controls/interfaces/SelectControlProps.md +134 -0
- package/doc_md/controls/interfaces/SelectMessageDialogProps.md +9 -0
- package/doc_md/controls/interfaces/SelectSignalDialogProps.md +9 -0
- package/doc_md/controls/interfaces/TableColumn.md +65 -0
- package/doc_md/controls/interfaces/TableControlProps.md +157 -0
- package/doc_md/controls/interfaces/TextControlProps.md +177 -0
- package/doc_md/controls/interfaces/ToggleButtonGroupProps.md +77 -0
- package/doc_md/controls/interfaces/ToggleButtonProps.md +57 -0
- package/doc_md/controls/interfaces/ToolbarControlProps.md +73 -0
- package/doc_md/controls/interfaces/ValidateableTextControlProps.md +269 -0
- package/doc_md/controls/interfaces/toolbarItem.md +49 -0
- package/doc_md/controls/type-aliases/ContextMenuOption.md +43 -0
- package/doc_md/controls/type-aliases/SelectOption.md +27 -0
- package/doc_md/controls/type-aliases/StringsMap.md +15 -0
- package/doc_md/controls/type-aliases/canIdentifierGeneratorType.md +11 -0
- package/doc_md/controls/type-aliases/canIdentifierType.md +11 -0
- package/doc_md/controls/type-aliases/linIdentifierGeneratorType.md +11 -0
- package/doc_md/controls/variables/FillBox.md +12 -0
- package/doc_md/controls/variables/OneLineButton.md +11 -0
- package/doc_md/controls/variables/SizedBox.md +12 -0
- package/doc_md/controls/variables/TabsPanel.md +11 -0
- package/doc_md/hooks/README.md +53 -0
- package/doc_md/hooks/functions/useDevices.md +17 -0
- package/doc_md/hooks/functions/useFixedPositionModeMeasurementData.md +25 -0
- package/doc_md/hooks/functions/useIsOnline.md +17 -0
- package/doc_md/hooks/functions/useLanguage.md +17 -0
- package/doc_md/hooks/functions/useLocalizedStrings.md +17 -0
- package/doc_md/hooks/functions/useLogMessages.md +17 -0
- package/doc_md/hooks/functions/useMaxDataBytes.md +15 -0
- package/doc_md/hooks/functions/useMeasurementSetup.md +17 -0
- package/doc_md/hooks/functions/useMeasurementStatus.md +17 -0
- package/doc_md/hooks/functions/useMessageData.md +25 -0
- package/doc_md/hooks/functions/useMessageLogFileFormats.md +23 -0
- package/doc_md/hooks/functions/useNewMeasurementData.md +35 -0
- package/doc_md/hooks/functions/useNodeStatus.md +23 -0
- package/doc_md/hooks/functions/useNumericRadix.md +17 -0
- package/doc_md/hooks/functions/useOnlineStatus.md +17 -0
- package/doc_md/hooks/functions/useOverallStatusLevel.md +17 -0
- package/doc_md/hooks/functions/useProjectData.md +49 -0
- package/doc_md/hooks/functions/useRecentProjectFiles.md +15 -0
- package/doc_md/hooks/functions/useRunningPeriodicTransmissions.md +17 -0
- package/doc_md/hooks/functions/useScrollModeMeasurementData.md +25 -0
- package/doc_md/hooks/functions/useSessionData.md +49 -0
- package/doc_md/hooks/functions/useSignalData.md +25 -0
- package/doc_md/hooks/functions/useSignalLogFileFormats.md +15 -0
- package/doc_md/hooks/functions/useUserSettings.md +17 -0
- package/doc_md/hooks/functions/useWorkspacePaneWithId.md +21 -0
- package/doc_md/hooks/interfaces/ISignalData.md +9 -0
- package/doc_md/icons/README.md +9 -0
- package/doc_md/ipc/README.md +47 -0
- package/doc_md/ipc/functions/addDataProcessor.md +35 -0
- package/doc_md/ipc/functions/addSource.md +23 -0
- package/doc_md/ipc/functions/addTarget.md +23 -0
- package/doc_md/ipc/functions/clearLinMessage.md +29 -0
- package/doc_md/ipc/functions/connectNodes.md +29 -0
- package/doc_md/ipc/functions/deleteDataProcessor.md +23 -0
- package/doc_md/ipc/functions/deleteSource.md +23 -0
- package/doc_md/ipc/functions/deleteTarget.md +23 -0
- package/doc_md/ipc/functions/disableNode.md +23 -0
- package/doc_md/ipc/functions/disconnectNodes.md +29 -0
- package/doc_md/ipc/functions/enableNode.md +23 -0
- package/doc_md/ipc/functions/getFrameDefinitions.md +26 -0
- package/doc_md/ipc/functions/getLogger.md +25 -0
- package/doc_md/ipc/functions/getMessageLogFileFormats.md +17 -0
- package/doc_md/ipc/functions/getSignalLogFileFormats.md +17 -0
- package/doc_md/ipc/functions/requestLinMessage.md +30 -0
- package/doc_md/ipc/functions/sendCanMessage.md +41 -0
- package/doc_md/ipc/functions/sendMessage.md +29 -0
- package/doc_md/ipc/functions/showMessageBox.md +29 -0
- package/doc_md/ipc/functions/showQuestionBox.md +51 -0
- package/doc_md/ipc/functions/startLogReplay.md +23 -0
- package/doc_md/ipc/functions/startMeasurement.md +15 -0
- package/doc_md/ipc/functions/startPeriodicTransmission.md +25 -0
- package/doc_md/ipc/functions/stopLogReplay.md +23 -0
- package/doc_md/ipc/functions/stopMeasurement.md +15 -0
- package/doc_md/ipc/functions/stopPeriodicTransmission.md +23 -0
- package/doc_md/ipc/functions/updateDataProcessor.md +23 -0
- package/doc_md/ipc/functions/updateLinMessage.md +29 -0
- package/doc_md/ipc/functions/updatePeriodicTransmission.md +29 -0
- package/doc_md/ipc/functions/updateSource.md +23 -0
- package/doc_md/ipc/functions/updateTarget.md +23 -0
- package/doc_md/ipc/interfaces/ILogger.md +9 -0
- package/doc_md/models/README.md +157 -0
- package/doc_md/models/enumerations/AccessMode.md +49 -0
- package/doc_md/models/enumerations/AppEvent.md +29 -0
- package/doc_md/models/enumerations/CanChannelCap.md +181 -0
- package/doc_md/models/enumerations/CanFrameFlag.md +159 -0
- package/doc_md/models/enumerations/CanMessageFilterType.md +33 -0
- package/doc_md/models/enumerations/CanMode.md +39 -0
- package/doc_md/models/enumerations/DeviceEvent.md +29 -0
- package/doc_md/models/enumerations/FileConflictAction.md +39 -0
- package/doc_md/models/enumerations/FileType.md +39 -0
- package/doc_md/models/enumerations/LinFrameFlag.md +69 -0
- package/doc_md/models/enumerations/LogFileFormat.md +191 -0
- package/doc_md/models/enumerations/LogLevel.md +76 -0
- package/doc_md/models/enumerations/LogReplayState.md +33 -0
- package/doc_md/models/enumerations/LoggerState.md +39 -0
- package/doc_md/models/enumerations/MeasurementEvent.md +53 -0
- package/doc_md/models/enumerations/Protocols.md +39 -0
- package/doc_md/models/enumerations/ServiceExtensionType.md +37 -0
- package/doc_md/models/enumerations/SignalEncoding.md +27 -0
- package/doc_md/models/enumerations/SignalType.md +53 -0
- package/doc_md/models/enumerations/SignalValueTriggerOperator.md +75 -0
- package/doc_md/models/enumerations/StatusLevel.md +39 -0
- package/doc_md/models/enumerations/TriggerOperator.md +33 -0
- package/doc_md/models/interfaces/AboutInformation.md +33 -0
- package/doc_md/models/interfaces/ActivateLicenseRequest.md +33 -0
- package/doc_md/models/interfaces/AddAllConnectedCanChannelsRequest.md +9 -0
- package/doc_md/models/interfaces/AddAllConnectedLinChannelsRequest.md +9 -0
- package/doc_md/models/interfaces/AddOrUpdateDataProcessorRequest.md +35 -0
- package/doc_md/models/interfaces/AddOrUpdateSourceRequest.md +19 -0
- package/doc_md/models/interfaces/AddOrUpdateTargetRequest.md +19 -0
- package/doc_md/models/interfaces/ApiPreferences.md +41 -0
- package/doc_md/models/interfaces/AppEventArgs.md +25 -0
- package/doc_md/models/interfaces/BaseNodeProperties.md +9 -0
- package/doc_md/models/interfaces/BusStatus.md +9 -0
- package/doc_md/models/interfaces/CanBusParamLimits.md +9 -0
- package/doc_md/models/interfaces/CanBusParams.md +30 -0
- package/doc_md/models/interfaces/CanBusSpeedInfo.md +57 -0
- package/doc_md/models/interfaces/CanChannelCapacity.md +17 -0
- package/doc_md/models/interfaces/CanChannelConfiguration.md +65 -0
- package/doc_md/models/interfaces/CanFDBusSpeedCombination.md +9 -0
- package/doc_md/models/interfaces/CanFDBusSpeedInfo.md +41 -0
- package/doc_md/models/interfaces/CanFrameFlags.md +10 -0
- package/doc_md/models/interfaces/CanMessageFilterSettings.md +9 -0
- package/doc_md/models/interfaces/Channel.md +9 -0
- package/doc_md/models/interfaces/ChannelSettings.md +81 -0
- package/doc_md/models/interfaces/ClearLinMessageRequest.md +25 -0
- package/doc_md/models/interfaces/ConnectNodesRequest.md +9 -0
- package/doc_md/models/interfaces/DataProcessingStatus.md +9 -0
- package/doc_md/models/interfaces/DataProcessorNodeProperties.md +9 -0
- package/doc_md/models/interfaces/DatabaseFiles.md +25 -0
- package/doc_md/models/interfaces/DatabasesSettings.md +9 -0
- package/doc_md/models/interfaces/Device.md +9 -0
- package/doc_md/models/interfaces/DeviceEventArgs.md +9 -0
- package/doc_md/models/interfaces/DisconnectNodesRequest.md +9 -0
- package/doc_md/models/interfaces/Empty.md +17 -0
- package/doc_md/models/interfaces/ErrorStatus.md +17 -0
- package/doc_md/models/interfaces/FixedPosFrameIdentifier.md +57 -0
- package/doc_md/models/interfaces/Frame.md +125 -0
- package/doc_md/models/interfaces/FrameDefinition.md +57 -0
- package/doc_md/models/interfaces/FramePropertyValue.md +9 -0
- package/doc_md/models/interfaces/FrameReceivedTrigger.md +25 -0
- package/doc_md/models/interfaces/GetCanChannelBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetCanChannelBusSpeedsResponse.md +25 -0
- package/doc_md/models/interfaces/GetCanFdBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetCanFdBusSpeedsResponse.md +17 -0
- package/doc_md/models/interfaces/GetChannelsFromLogFileRequest.md +17 -0
- package/doc_md/models/interfaces/GetChannelsFromLogFileResponse.md +17 -0
- package/doc_md/models/interfaces/GetClassicCanBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetClassicCanBusSpeedsResponse.md +17 -0
- package/doc_md/models/interfaces/GetDataFramesBeforeTimestampRequest.md +25 -0
- package/doc_md/models/interfaces/GetDataProcessorResponse.md +9 -0
- package/doc_md/models/interfaces/GetDevicesRequest.md +9 -0
- package/doc_md/models/interfaces/GetDevicesResponse.md +9 -0
- package/doc_md/models/interfaces/GetFrameDefinitionsFromDatabaseFilesRequest.md +17 -0
- package/doc_md/models/interfaces/GetLicensesResponse.md +17 -0
- package/doc_md/models/interfaces/GetLogFileFormatsRequest.md +33 -0
- package/doc_md/models/interfaces/GetLogFileFormatsResponse.md +41 -0
- package/doc_md/models/interfaces/GetLogLevelResponse.md +17 -0
- package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesRequest.md +17 -0
- package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesResponse.md +17 -0
- package/doc_md/models/interfaces/GetServiceExtensionInfoRequest.md +27 -0
- package/doc_md/models/interfaces/GetServiceExtensionInfoResponse.md +65 -0
- package/doc_md/models/interfaces/GetSignalDataFromMessageDataRequest.md +25 -0
- package/doc_md/models/interfaces/GetSignalDataFromMessageDataResponse.md +17 -0
- package/doc_md/models/interfaces/GetSourceResponse.md +9 -0
- package/doc_md/models/interfaces/GetTargetResponse.md +9 -0
- package/doc_md/models/interfaces/ILogFileFormat.md +9 -0
- package/doc_md/models/interfaces/IProject.md +9 -0
- package/doc_md/models/interfaces/IUserSettings.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceComponentPaneData.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceContainerPaneData.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceData.md +9 -0
- package/doc_md/models/interfaces/IWorkspacePaneData.md +9 -0
- package/doc_md/models/interfaces/IdentifierRequest.md +10 -0
- package/doc_md/models/interfaces/IdentifiersRequest.md +10 -0
- package/doc_md/models/interfaces/InstallServiceExtensionRequest.md +33 -0
- package/doc_md/models/interfaces/InterpreterSettings.md +17 -0
- package/doc_md/models/interfaces/J1939InterpreterSettings.md +9 -0
- package/doc_md/models/interfaces/LicenseInformation.md +73 -0
- package/doc_md/models/interfaces/Licenses.md +17 -0
- package/doc_md/models/interfaces/LinChannelConfiguration.md +57 -0
- package/doc_md/models/interfaces/LinFrameFlags.md +10 -0
- package/doc_md/models/interfaces/LogMessage.md +49 -0
- package/doc_md/models/interfaces/LogMessages.md +17 -0
- package/doc_md/models/interfaces/LogReplaySettings.md +109 -0
- package/doc_md/models/interfaces/LogReplayStatus.md +9 -0
- package/doc_md/models/interfaces/LoggerStatus.md +9 -0
- package/doc_md/models/interfaces/MeasurementEventArgs.md +9 -0
- package/doc_md/models/interfaces/MeasurementSetup.md +9 -0
- package/doc_md/models/interfaces/MessageLoggerSettings.md +177 -0
- package/doc_md/models/interfaces/NodeStatus.md +73 -0
- package/doc_md/models/interfaces/NodeStatuses.md +9 -0
- package/doc_md/models/interfaces/OnlineStatus.md +9 -0
- package/doc_md/models/interfaces/PeriodicTransmissionSettings.md +145 -0
- package/doc_md/models/interfaces/RequestLinMessageRequest.md +25 -0
- package/doc_md/models/interfaces/ScheduleTable.md +33 -0
- package/doc_md/models/interfaces/ScheduleTableEntry.md +25 -0
- package/doc_md/models/interfaces/SendLinWakeupFrameRequest.md +33 -0
- package/doc_md/models/interfaces/SendMessageRequest.md +9 -0
- package/doc_md/models/interfaces/ServiceExtensionSettings.md +9 -0
- package/doc_md/models/interfaces/SetLogLevelRequest.md +25 -0
- package/doc_md/models/interfaces/SetMeasurementSetupRequest.md +9 -0
- package/doc_md/models/interfaces/SetSignalDataToMessageDataRequest.md +33 -0
- package/doc_md/models/interfaces/SetSignalDataToMessageDataResponse.md +26 -0
- package/doc_md/models/interfaces/SignalDefinition.md +9 -0
- package/doc_md/models/interfaces/SignalFilterSettings.md +17 -0
- package/doc_md/models/interfaces/SignalLoggerSettings.md +225 -0
- package/doc_md/models/interfaces/SignalValue.md +9 -0
- package/doc_md/models/interfaces/SignalValueTrigger.md +65 -0
- package/doc_md/models/interfaces/SourceNodeProperties.md +9 -0
- package/doc_md/models/interfaces/StartPeriodicTransmissionRequest.md +17 -0
- package/doc_md/models/interfaces/StartPeriodicTransmissionResponse.md +9 -0
- package/doc_md/models/interfaces/SubscribeForDataRequest.md +17 -0
- package/doc_md/models/interfaces/TargetNodeProperties.md +9 -0
- package/doc_md/models/interfaces/TriggerSettings.md +33 -0
- package/doc_md/models/interfaces/UninstallServiceExtensionRequest.md +25 -0
- package/doc_md/models/interfaces/UpdateLinMessageRequest.md +26 -0
- package/doc_md/models/interfaces/UpdatePeriodicTransmissionRequest.md +25 -0
- package/doc_md/models/interfaces/WriteFrame.md +41 -0
- package/doc_md/models/variables/defaultUserSettings.md +11 -0
- package/doc_md/modules.md +13 -0
- package/package.json +5 -4
- package/dist/controls/SelectSignalControl.d.ts +0 -11
- package/doc/classes/controls.LocalizedStrings.html +0 -4
- package/doc/classes/models.DataBuffer.html +0 -32
- package/doc/classes/models.DataBufferView.html +0 -20
- package/doc/classes/models.Point.html +0 -14
- package/doc/enums/models.DecimalChar.html +0 -5
- package/doc/enums/models.Separator.html +0 -5
- package/doc/enums/models.TimeReference.html +0 -5
- package/doc/functions/controls.FillBox.html +0 -33
- package/doc/functions/controls.OneLineButton.html +0 -32
- package/doc/functions/controls.SelectSignalControl.html +0 -1
- package/doc/functions/controls.SizedBox.html +0 -33
- package/doc/functions/controls.TabsPanel.html +0 -32
- package/doc/functions/icons.AddIcon.html +0 -4
- package/doc/functions/icons.ArrowDownIcon.html +0 -4
- package/doc/functions/icons.ArrowLeftIcon.html +0 -4
- package/doc/functions/icons.ArrowRightIcon.html +0 -4
- package/doc/functions/icons.ArrowUpIcon.html +0 -4
- package/doc/functions/icons.BusIsOffIcon.html +0 -4
- package/doc/functions/icons.BusIsOnIcon.html +0 -4
- package/doc/functions/icons.CloseIcon.html +0 -4
- package/doc/functions/icons.ColumnSettingsIcon.html +0 -4
- package/doc/functions/icons.CopyIcon.html +0 -4
- package/doc/functions/icons.DarkModeIcon.html +0 -4
- package/doc/functions/icons.DeleteIcon.html +0 -4
- package/doc/functions/icons.DisableIcon.html +0 -4
- package/doc/functions/icons.EditIcon.html +0 -4
- package/doc/functions/icons.EnableIcon.html +0 -4
- package/doc/functions/icons.FilterIcon.html +0 -4
- package/doc/functions/icons.FixedPositionIcon.html +0 -4
- package/doc/functions/icons.LeaveFullScreenIcon.html +0 -4
- package/doc/functions/icons.LightModeIcon.html +0 -4
- package/doc/functions/icons.LineArrowDownIcon.html +0 -4
- package/doc/functions/icons.LineArrowUpIcon.html +0 -4
- package/doc/functions/icons.MaximizeWindowIcon.html +0 -4
- package/doc/functions/icons.MeasurementSetupIcon.html +0 -4
- package/doc/functions/icons.MoreHorizIcon.html +0 -4
- package/doc/functions/icons.MoreVertIcon.html +0 -4
- package/doc/functions/icons.NewIcon.html +0 -4
- package/doc/functions/icons.OpenExternallyIcon.html +0 -4
- package/doc/functions/icons.OpenIcon.html +0 -4
- package/doc/functions/icons.PauseIcon.html +0 -4
- package/doc/functions/icons.PlayIcon.html +0 -4
- package/doc/functions/icons.PlaySolidIcon.html +0 -4
- package/doc/functions/icons.SaveIcon.html +0 -4
- package/doc/functions/icons.SelectAllIcon.html +0 -4
- package/doc/functions/icons.ServiceIconActive.html +0 -4
- package/doc/functions/icons.ServiceIconInactive.html +0 -4
- package/doc/functions/icons.SettingsIcon.html +0 -4
- package/doc/functions/icons.StopIcon.html +0 -4
- package/doc/functions/icons.StopSolidIcon.html +0 -4
- package/doc/functions/icons.ToolsPanelHiddenIcon.html +0 -4
- package/doc/functions/icons.ToolsPanelVisibleIcon.html +0 -4
- package/doc/functions/icons.UnmaximizeWindowIcon.html +0 -4
- package/doc/functions/icons.WorkspacesIcon.html +0 -4
- package/doc/functions/models.accessModeFromJSON.html +0 -1
- package/doc/functions/models.accessModeToJSON.html +0 -1
- package/doc/functions/models.appEventFromJSON.html +0 -1
- package/doc/functions/models.appEventToJSON.html +0 -1
- package/doc/functions/models.canChannelCapFromJSON.html +0 -1
- package/doc/functions/models.canChannelCapToJSON.html +0 -1
- package/doc/functions/models.canFrameFlagFromJSON.html +0 -1
- package/doc/functions/models.canFrameFlagToJSON.html +0 -1
- package/doc/functions/models.canMessageFilterTypeFromJSON.html +0 -1
- package/doc/functions/models.canMessageFilterTypeToJSON.html +0 -1
- package/doc/functions/models.canModeFromJSON.html +0 -1
- package/doc/functions/models.canModeToJSON.html +0 -1
- package/doc/functions/models.createElectronApiFake.html +0 -4
- package/doc/functions/models.decimalCharFromJSON.html +0 -1
- package/doc/functions/models.decimalCharToJSON.html +0 -1
- package/doc/functions/models.decimalToFixed.html +0 -1
- package/doc/functions/models.decimalToHex.html +0 -1
- package/doc/functions/models.deviceEventFromJSON.html +0 -1
- package/doc/functions/models.deviceEventToJSON.html +0 -1
- package/doc/functions/models.fileConflictActionFromJSON.html +0 -1
- package/doc/functions/models.fileConflictActionToJSON.html +0 -1
- package/doc/functions/models.fileTypeFromJSON.html +0 -1
- package/doc/functions/models.fileTypeToJSON.html +0 -1
- package/doc/functions/models.linFrameFlagFromJSON.html +0 -1
- package/doc/functions/models.linFrameFlagToJSON.html +0 -1
- package/doc/functions/models.logFileFormatFromJSON.html +0 -1
- package/doc/functions/models.logFileFormatToJSON.html +0 -1
- package/doc/functions/models.logLevelFromJSON.html +0 -1
- package/doc/functions/models.logLevelToJSON.html +0 -1
- package/doc/functions/models.logReplayStateFromJSON.html +0 -1
- package/doc/functions/models.logReplayStateToJSON.html +0 -1
- package/doc/functions/models.loggerStateFromJSON.html +0 -1
- package/doc/functions/models.loggerStateToJSON.html +0 -1
- package/doc/functions/models.longToNumber.html +0 -1
- package/doc/functions/models.measurementEventFromJSON.html +0 -1
- package/doc/functions/models.measurementEventToJSON.html +0 -1
- package/doc/functions/models.protocolsFromJSON.html +0 -1
- package/doc/functions/models.protocolsToJSON.html +0 -1
- package/doc/functions/models.separatorFromJSON.html +0 -1
- package/doc/functions/models.separatorToJSON.html +0 -1
- package/doc/functions/models.signalEncodingFromJSON.html +0 -1
- package/doc/functions/models.signalEncodingToJSON.html +0 -1
- package/doc/functions/models.signalTypeFromJSON.html +0 -1
- package/doc/functions/models.signalTypeToJSON.html +0 -1
- package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +0 -1
- package/doc/functions/models.signalValueTriggerOperatorToJSON.html +0 -1
- package/doc/functions/models.statusLevelFromJSON.html +0 -1
- package/doc/functions/models.statusLevelToJSON.html +0 -1
- package/doc/functions/models.timeReferenceFromJSON.html +0 -1
- package/doc/functions/models.timeReferenceToJSON.html +0 -1
- package/doc/functions/models.triggerOperatorFromJSON.html +0 -1
- package/doc/functions/models.triggerOperatorToJSON.html +0 -1
- package/doc/interfaces/controls.ColumnItem.html +0 -3
- package/doc/interfaces/controls.ColumnItemControlProps.html +0 -4
- package/doc/interfaces/models.Devices.html +0 -2
- package/doc/interfaces/models.FrameDefinitions.html +0 -2
- package/doc/interfaces/models.Frame_PropertiesEntry.html +0 -3
- package/doc/interfaces/models.Frames.html +0 -2
- package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +0 -3
- package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +0 -3
- package/doc/interfaces/models.SignalDefinitions.html +0 -2
- package/doc/types/models.IReadOnlyDataBuffer.html +0 -1
- package/doc/types/models.themes.html +0 -1
- package/doc/variables/models.AboutInformation-1.html +0 -1
- package/doc/variables/models.ActivateLicenseRequest-1.html +0 -1
- package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +0 -1
- package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateSourceRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateTargetRequest-1.html +0 -1
- package/doc/variables/models.ApiPreferences-1.html +0 -1
- package/doc/variables/models.AppEventArgs-1.html +0 -1
- package/doc/variables/models.BaseNodeProperties-1.html +0 -1
- package/doc/variables/models.BusStatus-1.html +0 -1
- package/doc/variables/models.CanBusParamLimits-1.html +0 -1
- package/doc/variables/models.CanBusParams-1.html +0 -1
- package/doc/variables/models.CanBusSpeedInfo-1.html +0 -1
- package/doc/variables/models.CanChannelCapacity-1.html +0 -1
- package/doc/variables/models.CanChannelConfiguration-1.html +0 -1
- package/doc/variables/models.CanFDBusSpeedCombination-1.html +0 -1
- package/doc/variables/models.CanFDBusSpeedInfo-1.html +0 -1
- package/doc/variables/models.CanFrameFlags-1.html +0 -1
- package/doc/variables/models.CanMessageFilterSettings-1.html +0 -1
- package/doc/variables/models.Channel-1.html +0 -1
- package/doc/variables/models.ChannelSettings-1.html +0 -1
- package/doc/variables/models.ClearLinMessageRequest-1.html +0 -1
- package/doc/variables/models.ConnectNodesRequest-1.html +0 -1
- package/doc/variables/models.DataProcessingStatus-1.html +0 -1
- package/doc/variables/models.DataProcessorNodeProperties-1.html +0 -1
- package/doc/variables/models.DatabaseFiles-1.html +0 -1
- package/doc/variables/models.DatabasesSettings-1.html +0 -1
- package/doc/variables/models.Device-1.html +0 -1
- package/doc/variables/models.DeviceEventArgs-1.html +0 -1
- package/doc/variables/models.Devices-1.html +0 -1
- package/doc/variables/models.DisconnectNodesRequest-1.html +0 -1
- package/doc/variables/models.Empty-1.html +0 -1
- package/doc/variables/models.ErrorStatus-1.html +0 -1
- package/doc/variables/models.Frame-1.html +0 -1
- package/doc/variables/models.FrameDefinition-1.html +0 -1
- package/doc/variables/models.FrameDefinitions-1.html +0 -1
- package/doc/variables/models.FramePropertyValue-1.html +0 -1
- package/doc/variables/models.FrameReceivedTrigger-1.html +0 -1
- package/doc/variables/models.Frame_PropertiesEntry-1.html +0 -1
- package/doc/variables/models.Frames-1.html +0 -1
- package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +0 -1
- package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +0 -1
- package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetDataProcessorResponse-1.html +0 -1
- package/doc/variables/models.GetDevicesRequest-1.html +0 -1
- package/doc/variables/models.GetDevicesResponse-1.html +0 -1
- package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +0 -1
- package/doc/variables/models.GetLicensesResponse-1.html +0 -1
- package/doc/variables/models.GetLogFileFormatsRequest-1.html +0 -1
- package/doc/variables/models.GetLogFileFormatsResponse-1.html +0 -1
- package/doc/variables/models.GetLogLevelResponse-1.html +0 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +0 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +0 -1
- package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +0 -1
- package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +0 -1
- package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +0 -1
- package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +0 -1
- package/doc/variables/models.GetSourceResponse-1.html +0 -1
- package/doc/variables/models.GetTargetResponse-1.html +0 -1
- package/doc/variables/models.IdentifierRequest-1.html +0 -1
- package/doc/variables/models.IdentifiersRequest-1.html +0 -1
- package/doc/variables/models.InstallServiceExtensionRequest-1.html +0 -1
- package/doc/variables/models.InterpreterSettings-1.html +0 -1
- package/doc/variables/models.J1939InterpreterSettings-1.html +0 -1
- package/doc/variables/models.LicenseInformation-1.html +0 -1
- package/doc/variables/models.Licenses-1.html +0 -1
- package/doc/variables/models.LinChannelConfiguration-1.html +0 -1
- package/doc/variables/models.LinFrameFlags-1.html +0 -1
- package/doc/variables/models.LogMessage-1.html +0 -1
- package/doc/variables/models.LogMessages-1.html +0 -1
- package/doc/variables/models.LogReplaySettings-1.html +0 -1
- package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +0 -1
- package/doc/variables/models.LogReplayStatus-1.html +0 -1
- package/doc/variables/models.LoggerStatus-1.html +0 -1
- package/doc/variables/models.MeasurementEventArgs-1.html +0 -1
- package/doc/variables/models.MeasurementSetup-1.html +0 -1
- package/doc/variables/models.MessageLoggerSettings-1.html +0 -1
- package/doc/variables/models.NodeStatus-1.html +0 -1
- package/doc/variables/models.NodeStatuses-1.html +0 -1
- package/doc/variables/models.OnlineStatus-1.html +0 -1
- package/doc/variables/models.PeriodicTransmissionSettings-1.html +0 -1
- package/doc/variables/models.RequestLinMessageRequest-1.html +0 -1
- package/doc/variables/models.ScheduleTable-1.html +0 -1
- package/doc/variables/models.ScheduleTableEntry-1.html +0 -1
- package/doc/variables/models.SendLinWakeupFrameRequest-1.html +0 -1
- package/doc/variables/models.SendMessageRequest-1.html +0 -1
- package/doc/variables/models.ServiceExtensionSettings-1.html +0 -1
- package/doc/variables/models.SetLogLevelRequest-1.html +0 -1
- package/doc/variables/models.SetMeasurementSetupRequest-1.html +0 -1
- package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +0 -1
- package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +0 -1
- package/doc/variables/models.SignalDefinition-1.html +0 -1
- package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +0 -1
- package/doc/variables/models.SignalDefinitions-1.html +0 -1
- package/doc/variables/models.SignalFilterSettings-1.html +0 -1
- package/doc/variables/models.SignalLoggerSettings-1.html +0 -1
- package/doc/variables/models.SignalValue-1.html +0 -1
- package/doc/variables/models.SignalValueTrigger-1.html +0 -1
- package/doc/variables/models.SourceNodeProperties-1.html +0 -1
- package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +0 -1
- package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +0 -1
- package/doc/variables/models.TargetNodeProperties-1.html +0 -1
- package/doc/variables/models.TriggerSettings-1.html +0 -1
- package/doc/variables/models.UninstallServiceExtensionRequest-1.html +0 -1
- package/doc/variables/models.UpdateLinMessageRequest-1.html +0 -1
- package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +0 -1
- package/doc/variables/models.WriteFrame-1.html +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { createContext as
|
|
5
|
-
import { v4 as
|
|
1
|
+
var he = Object.defineProperty;
|
|
2
|
+
var fe = (e, s, t) => s in e ? he(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
|
|
3
|
+
var $ = (e, s, t) => fe(e, typeof s != "symbol" ? s + "" : s, t);
|
|
4
|
+
import { createContext as k, useState as f, useEffect as m, useRef as y, useContext as S, useCallback as ee, useMemo as P } from "react";
|
|
5
|
+
import { v4 as F } from "uuid";
|
|
6
6
|
import "long";
|
|
7
|
-
import { e as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
7
|
+
import { e as te } from "./ElectronAPIFake.mjs";
|
|
8
|
+
import { C as H, L as J, F as se, a as ve } from "./measurement_settings.mjs";
|
|
9
|
+
import { S as X } from "./status_params.mjs";
|
|
10
|
+
import { jsx as p, jsxs as be } from "react/jsx-runtime";
|
|
11
|
+
import { createTheme as Q, ThemeProvider as Se, CssBaseline as Pe } from "@mui/material";
|
|
12
|
+
import { getLogger as Fe, getFrameDefinitions as De } from "./ipc.mjs";
|
|
13
|
+
import { defaultUserSettings as Me, DataBuffer as ne } from "./models.mjs";
|
|
14
|
+
const we = (e, s, ...t) => {
|
|
15
|
+
let n = s;
|
|
16
|
+
for (let r = 0; r < t.length; r += 1) {
|
|
17
|
+
const a = `{${r}}`;
|
|
18
|
+
if (n.indexOf(a) !== -1) {
|
|
19
|
+
const i = t[r];
|
|
20
|
+
n = typeof i == "string" ? n.replace(a, i) : n.replace(a, i.toLocaleString(e));
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
|
-
return
|
|
23
|
+
return n;
|
|
23
24
|
};
|
|
24
|
-
class
|
|
25
|
-
constructor(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
this.language =
|
|
25
|
+
class ke {
|
|
26
|
+
constructor(s, t) {
|
|
27
|
+
$(this, "language");
|
|
28
|
+
$(this, "strings");
|
|
29
|
+
this.language = s, this.strings = t;
|
|
29
30
|
}
|
|
30
|
-
getString(
|
|
31
|
-
if (this.strings &&
|
|
32
|
-
const
|
|
33
|
-
return
|
|
31
|
+
getString(s, ...t) {
|
|
32
|
+
if (this.strings && s in this.strings) {
|
|
33
|
+
const n = this.strings[s];
|
|
34
|
+
return t.length > 0 ? we(this.language, n, ...t) : n;
|
|
34
35
|
}
|
|
35
|
-
return
|
|
36
|
+
return s;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
|
-
const d =
|
|
39
|
+
const d = Fe("DataProviders"), g = window.electron ?? te, Y = (e) => ({
|
|
39
40
|
palette: {
|
|
40
41
|
mode: e,
|
|
41
42
|
// primary: {
|
|
@@ -135,468 +136,652 @@ const d = ne("DataProviders"), l = window.electron ?? U, A = (e) => ({
|
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
138
|
});
|
|
138
|
-
function
|
|
139
|
-
const
|
|
140
|
-
return
|
|
141
|
-
|
|
142
|
-
}, [
|
|
143
|
-
/* @__PURE__ */
|
|
139
|
+
function Le({ children: e }) {
|
|
140
|
+
const s = x(), [t, n] = f(Q(Y(s.theme)));
|
|
141
|
+
return m(() => {
|
|
142
|
+
n(Q(Y(s.theme)));
|
|
143
|
+
}, [s.theme]), /* @__PURE__ */ be(Se, { theme: t, children: [
|
|
144
|
+
/* @__PURE__ */ p(Pe, {}),
|
|
144
145
|
e
|
|
145
146
|
] });
|
|
146
147
|
}
|
|
147
|
-
const
|
|
148
|
-
async function
|
|
149
|
-
switch (
|
|
148
|
+
const A = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
|
|
149
|
+
async function D(e, s, t, n) {
|
|
150
|
+
switch (s) {
|
|
150
151
|
case "devices-changed": {
|
|
151
|
-
if (
|
|
152
|
+
if (A.has(e))
|
|
152
153
|
d.warn("The callback has already been added as listener to this event!");
|
|
153
154
|
else {
|
|
154
|
-
const r =
|
|
155
|
-
|
|
155
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("dm-devices-changed", a);
|
|
156
|
+
A.set(e, { remover: o, listener: a });
|
|
156
157
|
}
|
|
157
|
-
return
|
|
158
|
+
return g.ipcRenderer.invoke("rpc-get-devices", !1);
|
|
158
159
|
}
|
|
159
160
|
case "user-settings-changed": {
|
|
160
|
-
if (
|
|
161
|
+
if (_.has(e))
|
|
161
162
|
d.warn("The callback has already been added as listener to this event!");
|
|
162
163
|
else {
|
|
163
|
-
const r =
|
|
164
|
-
|
|
164
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("user-settings-changed", a);
|
|
165
|
+
_.set(e, { remover: o, listener: a });
|
|
165
166
|
}
|
|
166
|
-
return
|
|
167
|
+
return g.ipcRenderer.invoke("app-get-user-settings");
|
|
167
168
|
}
|
|
168
169
|
case "new-log-messages": {
|
|
169
|
-
if (
|
|
170
|
+
if (E.has(e))
|
|
170
171
|
d.warn("The callback has already been added as listener to this event!");
|
|
171
172
|
else {
|
|
172
|
-
const r =
|
|
173
|
-
|
|
173
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("new-log-messages", a);
|
|
174
|
+
E.set(e, { remover: o, listener: a });
|
|
174
175
|
}
|
|
175
176
|
return Promise.resolve();
|
|
176
177
|
}
|
|
177
178
|
case "online-status-changed": {
|
|
178
|
-
if (
|
|
179
|
+
if (N.has(e))
|
|
179
180
|
d.warn("The callback has already been added as listener to this event!");
|
|
180
181
|
else {
|
|
181
|
-
const r =
|
|
182
|
-
|
|
182
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("mm-is-online-changed", a);
|
|
183
|
+
N.set(e, { remover: o, listener: a });
|
|
183
184
|
}
|
|
184
|
-
return
|
|
185
|
+
return g.ipcRenderer.invoke("rpc-get-online-status");
|
|
185
186
|
}
|
|
186
187
|
case "periodic-trans-started": {
|
|
187
|
-
if (
|
|
188
|
+
if (O.has(e))
|
|
188
189
|
d.warn("The callback has already been added as listener to this event!");
|
|
189
190
|
else {
|
|
190
|
-
const r =
|
|
191
|
-
|
|
191
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("mm-periodic-trans-started", a);
|
|
192
|
+
O.set(e, { remover: o, listener: a });
|
|
192
193
|
}
|
|
193
194
|
return Promise.resolve("");
|
|
194
195
|
}
|
|
195
196
|
case "periodic-trans-stopped": {
|
|
196
|
-
if (
|
|
197
|
+
if (I.has(e))
|
|
197
198
|
d.warn("The callback has already been added as listener to this event!");
|
|
198
199
|
else {
|
|
199
|
-
const r =
|
|
200
|
-
|
|
200
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("mm-periodic-trans-stopped", a);
|
|
201
|
+
I.set(e, { remover: o, listener: a });
|
|
201
202
|
}
|
|
202
203
|
return Promise.resolve("");
|
|
203
204
|
}
|
|
204
205
|
case "new-measurement-data": {
|
|
205
|
-
if (
|
|
206
|
+
if (j.has(e))
|
|
206
207
|
d.warn("The callback has already been added as listener to this event!");
|
|
207
208
|
else {
|
|
208
|
-
const r =
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
return (
|
|
209
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("mm-new-measurement-data", a);
|
|
210
|
+
j.set(e, { remover: o, listener: a });
|
|
211
|
+
}
|
|
212
|
+
return (n == null ? void 0 : n.numberOfHistoryFrames) > 0 ? g.ipcRenderer.invoke(
|
|
213
|
+
"mm-get-measurement-data-before-timestamp",
|
|
214
|
+
Number.MAX_SAFE_INTEGER,
|
|
215
|
+
n.numberOfHistoryFrames
|
|
216
|
+
) : Promise.resolve([]);
|
|
212
217
|
}
|
|
213
218
|
case "new-measurement-status": {
|
|
214
|
-
if (
|
|
219
|
+
if (z.has(e))
|
|
215
220
|
d.warn("The callback has already been added as listener to this event!");
|
|
216
221
|
else {
|
|
217
|
-
const r =
|
|
218
|
-
|
|
222
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("mm-new-measurement-status", a);
|
|
223
|
+
z.set(e, { remover: o, listener: a });
|
|
219
224
|
}
|
|
220
|
-
return
|
|
225
|
+
return g.ipcRenderer.invoke("rpc-get-node-statuses");
|
|
221
226
|
}
|
|
222
227
|
case "meas-setup-changed": {
|
|
223
|
-
if (
|
|
228
|
+
if (B.has(e))
|
|
224
229
|
d.warn("The callback has already been added as listener to this event!");
|
|
225
230
|
else {
|
|
226
|
-
const r =
|
|
227
|
-
|
|
231
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("project-meas-setup-changed", a);
|
|
232
|
+
B.set(e, { remover: o, listener: a });
|
|
228
233
|
}
|
|
229
|
-
return
|
|
234
|
+
return g.ipcRenderer.invoke("prj-get-meas-setup");
|
|
230
235
|
}
|
|
231
236
|
case "workspace-panes-changed": {
|
|
232
|
-
if (
|
|
237
|
+
if (U.has(e))
|
|
233
238
|
d.warn("The callback has already been added as listener to this event!");
|
|
234
239
|
else {
|
|
235
|
-
const r =
|
|
236
|
-
|
|
240
|
+
const r = t, a = (i, c) => r(c), o = g.ipcRenderer.on("project-workspace-panes-changed", a);
|
|
241
|
+
U.set(e, { remover: o, listener: a });
|
|
237
242
|
}
|
|
238
|
-
return
|
|
243
|
+
return g.ipcRenderer.invoke("prj-get-workspace-panes");
|
|
239
244
|
}
|
|
240
245
|
}
|
|
241
246
|
return Promise.reject(new Error("Invalid event type"));
|
|
242
247
|
}
|
|
243
|
-
const
|
|
244
|
-
switch (
|
|
248
|
+
const M = async (e, s) => {
|
|
249
|
+
switch (s) {
|
|
245
250
|
case "devices-changed":
|
|
246
251
|
{
|
|
247
|
-
const
|
|
248
|
-
|
|
252
|
+
const t = A.get(e);
|
|
253
|
+
t ? (t.remover(), A.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
249
254
|
}
|
|
250
255
|
break;
|
|
251
256
|
case "user-settings-changed":
|
|
252
257
|
{
|
|
253
|
-
const
|
|
254
|
-
|
|
258
|
+
const t = _.get(e);
|
|
259
|
+
t ? (t.remover(), _.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
255
260
|
}
|
|
256
261
|
break;
|
|
257
262
|
case "new-log-messages":
|
|
258
263
|
{
|
|
259
|
-
const
|
|
260
|
-
|
|
264
|
+
const t = E.get(e);
|
|
265
|
+
t ? (t.remover(), E.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
261
266
|
}
|
|
262
267
|
break;
|
|
263
268
|
case "online-status-changed":
|
|
264
269
|
{
|
|
265
|
-
const
|
|
266
|
-
|
|
270
|
+
const t = N.get(e);
|
|
271
|
+
t ? (t.remover(), N.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
267
272
|
}
|
|
268
273
|
break;
|
|
269
274
|
case "periodic-trans-started":
|
|
270
275
|
{
|
|
271
|
-
const
|
|
272
|
-
|
|
276
|
+
const t = O.get(e);
|
|
277
|
+
t ? (t.remover(), O.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
273
278
|
}
|
|
274
279
|
break;
|
|
275
280
|
case "periodic-trans-stopped":
|
|
276
281
|
{
|
|
277
|
-
const
|
|
278
|
-
|
|
282
|
+
const t = I.get(e);
|
|
283
|
+
t ? (t.remover(), I.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
279
284
|
}
|
|
280
285
|
break;
|
|
281
286
|
case "new-measurement-data":
|
|
282
287
|
{
|
|
283
|
-
const
|
|
284
|
-
|
|
288
|
+
const t = j.get(e);
|
|
289
|
+
t ? (t.remover(), j.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
285
290
|
}
|
|
286
291
|
break;
|
|
287
292
|
case "new-measurement-status":
|
|
288
293
|
{
|
|
289
|
-
const
|
|
290
|
-
|
|
294
|
+
const t = z.get(e);
|
|
295
|
+
t ? (t.remover(), z.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
291
296
|
}
|
|
292
297
|
break;
|
|
293
298
|
case "meas-setup-changed":
|
|
294
299
|
{
|
|
295
|
-
const
|
|
296
|
-
|
|
300
|
+
const t = B.get(e);
|
|
301
|
+
t ? (t.remover(), B.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
297
302
|
}
|
|
298
303
|
break;
|
|
299
304
|
case "workspace-panes-changed":
|
|
300
305
|
{
|
|
301
|
-
const
|
|
302
|
-
|
|
306
|
+
const t = U.get(e);
|
|
307
|
+
t ? (t.remover(), U.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
303
308
|
}
|
|
304
309
|
break;
|
|
305
310
|
}
|
|
306
|
-
},
|
|
307
|
-
theme:
|
|
308
|
-
}),
|
|
311
|
+
}, Te = window != null && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)").matches : !1, ae = Object.assign({}, Me, {
|
|
312
|
+
theme: Te ? "dark" : "light"
|
|
313
|
+
}), re = k(ae), xe = ({
|
|
309
314
|
initialUserSettings: e = void 0,
|
|
310
|
-
children:
|
|
315
|
+
children: s = void 0
|
|
311
316
|
}) => {
|
|
312
|
-
const [
|
|
313
|
-
return
|
|
314
|
-
const r =
|
|
315
|
-
return
|
|
316
|
-
|
|
317
|
+
const [t, n] = f(e ?? ae);
|
|
318
|
+
return m(() => {
|
|
319
|
+
const r = F();
|
|
320
|
+
return D(r, "user-settings-changed", n).then((a) => n(a)).catch(), () => {
|
|
321
|
+
M(r, "user-settings-changed");
|
|
317
322
|
};
|
|
318
|
-
}, []), /* @__PURE__ */
|
|
319
|
-
},
|
|
320
|
-
const [
|
|
321
|
-
return
|
|
322
|
-
const
|
|
323
|
+
}, []), /* @__PURE__ */ p(re.Provider, { value: t, children: s });
|
|
324
|
+
}, oe = k(null), ye = ({ children: e = void 0 }) => {
|
|
325
|
+
const [s, t] = f(null);
|
|
326
|
+
return m(() => {
|
|
327
|
+
const n = (a) => {
|
|
323
328
|
try {
|
|
324
|
-
|
|
329
|
+
t(a);
|
|
325
330
|
} catch (o) {
|
|
326
331
|
d.error("DevicesProvider", o);
|
|
327
332
|
}
|
|
328
|
-
}, r =
|
|
329
|
-
return
|
|
330
|
-
|
|
333
|
+
}, r = F();
|
|
334
|
+
return D(r, "devices-changed", n).then((a) => n(a)).catch(), () => {
|
|
335
|
+
M(r, "devices-changed");
|
|
331
336
|
};
|
|
332
|
-
}, []), /* @__PURE__ */
|
|
333
|
-
},
|
|
334
|
-
const [
|
|
335
|
-
return
|
|
336
|
-
const
|
|
337
|
+
}, []), /* @__PURE__ */ p(oe.Provider, { value: s, children: e });
|
|
338
|
+
}, ce = k([]), Re = ({ children: e = void 0 }) => {
|
|
339
|
+
const [s, t] = f([]);
|
|
340
|
+
return m(() => {
|
|
341
|
+
const n = (a) => {
|
|
337
342
|
try {
|
|
338
|
-
|
|
343
|
+
t(a);
|
|
339
344
|
} catch (o) {
|
|
340
345
|
d.error("MeasurementStatusProvider", o);
|
|
341
346
|
}
|
|
342
|
-
}, r =
|
|
343
|
-
return
|
|
344
|
-
|
|
347
|
+
}, r = F();
|
|
348
|
+
return D(r, "new-measurement-status", n).then((a) => n(a)).catch(), () => {
|
|
349
|
+
M(r, "new-measurement-status");
|
|
350
|
+
};
|
|
351
|
+
}, []), /* @__PURE__ */ p(ce.Provider, { value: s, children: e });
|
|
352
|
+
}, R = (e) => {
|
|
353
|
+
let s = H.CAN_FRAME_FLAG_UNSPECIFIED;
|
|
354
|
+
if (e.canFrameFlags !== void 0)
|
|
355
|
+
for (let n = 0; n < e.canFrameFlags.flags.length; n++) {
|
|
356
|
+
const r = e.canFrameFlags.flags[n];
|
|
357
|
+
r !== H.CAN_FRAME_FLAG_TXACK && r !== H.CAN_FRAME_FLAG_LOCAL_TXACK && (s |= r);
|
|
358
|
+
}
|
|
359
|
+
let t = J.LIN_FRAME_FLAG_UNSPECIFIED;
|
|
360
|
+
if (e.linFrameFlags !== void 0)
|
|
361
|
+
for (let n = 0; n < e.linFrameFlags.flags.length; n++) {
|
|
362
|
+
const r = e.linFrameFlags.flags[n];
|
|
363
|
+
r !== J.LIN_FRAME_FLAG_TX && (t |= r);
|
|
364
|
+
}
|
|
365
|
+
return `${e.id.toString(16).padStart(8, "0")}_${s.toString(16).padStart(8, "0")}_${t.toString(16).padStart(8, "0")}_${(e.mux ?? 0).toString(16).padStart(8, "0")}_${e.tx ? 1 : 0}_${e.sourceName ?? ""}`;
|
|
366
|
+
}, Z = (e, s) => {
|
|
367
|
+
var n;
|
|
368
|
+
const t = se.create({
|
|
369
|
+
id: e.id,
|
|
370
|
+
canFrameFlags: e.canFrameFlags,
|
|
371
|
+
linFrameFlags: e.linFrameFlags,
|
|
372
|
+
mux: ((n = e.properties.MUX_VALUE) == null ? void 0 : n.doubleValue) ?? 0,
|
|
373
|
+
tx: e.tx,
|
|
374
|
+
sourceName: s ? "" : e.sourceName
|
|
375
|
+
});
|
|
376
|
+
return R(t);
|
|
377
|
+
}, L = /* @__PURE__ */ new Map(), K = /* @__PURE__ */ new Map(), ie = (e) => {
|
|
378
|
+
e.forEach((s) => {
|
|
379
|
+
const t = R(s);
|
|
380
|
+
L.set(t, (L.get(t) || 0) + 1), K.set(t, s);
|
|
381
|
+
}), g.ipcRenderer.invoke("mm-subscribe-to-measurement-data", Array.from(K.values()));
|
|
382
|
+
}, le = (e) => {
|
|
383
|
+
e.forEach((s) => {
|
|
384
|
+
const t = R(s);
|
|
385
|
+
L.set(t, (L.get(t) || 0) - 1), L.get(t) === 0 && (L.delete(t), K.delete(t));
|
|
386
|
+
}), g.ipcRenderer.invoke("mm-subscribe-to-measurement-data", Array.from(K.values()));
|
|
387
|
+
}, C = k({
|
|
388
|
+
scrollData: [],
|
|
389
|
+
fixedPositionData: [],
|
|
390
|
+
subscribedData: /* @__PURE__ */ new Map()
|
|
391
|
+
}), Ce = ({ children: e = void 0 }) => {
|
|
392
|
+
const s = y(new ne(500)), t = y(/* @__PURE__ */ new Map()), [n, r] = f({
|
|
393
|
+
scrollData: [],
|
|
394
|
+
fixedPositionData: [],
|
|
395
|
+
subscribedData: /* @__PURE__ */ new Map()
|
|
396
|
+
});
|
|
397
|
+
m(() => {
|
|
398
|
+
const o = (c) => {
|
|
399
|
+
try {
|
|
400
|
+
c.length === 0 ? s.current.clear() : s.current.push(...c.slice(Math.max(0, c.length - 500)));
|
|
401
|
+
const l = /* @__PURE__ */ new Map();
|
|
402
|
+
L.forEach((h, u) => {
|
|
403
|
+
h > 0 && l.set(u, []);
|
|
404
|
+
}), c.length === 0 ? t.current.clear() : (c.forEach((u) => {
|
|
405
|
+
if (t.current.set(u.properties.FIXED_MODE_SORTABLE_KEY.stringValue ?? "", u), l.size === 0)
|
|
406
|
+
return;
|
|
407
|
+
const v = Z(u, !1);
|
|
408
|
+
if (v && l.has(v)) {
|
|
409
|
+
const b = l.get(v);
|
|
410
|
+
b && b.push(u);
|
|
411
|
+
} else {
|
|
412
|
+
const b = Z(u, !0);
|
|
413
|
+
if (b && l.has(b)) {
|
|
414
|
+
const w = l.get(b);
|
|
415
|
+
w && w.push(u);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}), Array.from(l.keys()).filter(
|
|
419
|
+
(u) => {
|
|
420
|
+
var v;
|
|
421
|
+
return ((v = l.get(u)) == null ? void 0 : v.length) === 0;
|
|
422
|
+
}
|
|
423
|
+
).forEach((u) => l.delete(u))), r(() => ({
|
|
424
|
+
scrollData: Array.from(s.current),
|
|
425
|
+
fixedPositionData: Array.from(t.current.values()),
|
|
426
|
+
subscribedData: l
|
|
427
|
+
}));
|
|
428
|
+
} catch (l) {
|
|
429
|
+
d.error("MeasurementDataProvider", l);
|
|
430
|
+
}
|
|
431
|
+
}, i = F();
|
|
432
|
+
return D(i, "new-measurement-data", o, { numberOfHistoryFrames: 500 }).then((c) => o(c)).catch(), () => {
|
|
433
|
+
M(i, "new-measurement-data");
|
|
345
434
|
};
|
|
346
|
-
}, [])
|
|
347
|
-
|
|
435
|
+
}, []);
|
|
436
|
+
const a = S(q);
|
|
437
|
+
return m(() => {
|
|
438
|
+
a.isOnline && (s.current.clear(), t.current.clear(), r((o) => {
|
|
439
|
+
const i = /* @__PURE__ */ new Map();
|
|
440
|
+
return o.subscribedData.forEach((c, l) => {
|
|
441
|
+
i.set(l, []);
|
|
442
|
+
}), {
|
|
443
|
+
scrollData: [],
|
|
444
|
+
fixedPositionData: [],
|
|
445
|
+
subscribedData: i
|
|
446
|
+
};
|
|
447
|
+
}));
|
|
448
|
+
}, [a]), /* @__PURE__ */ p(C.Provider, { value: n, children: e });
|
|
449
|
+
}, ue = k({
|
|
348
450
|
language: "en",
|
|
349
451
|
sources: [],
|
|
350
452
|
dataProcessors: [],
|
|
351
453
|
targets: []
|
|
352
|
-
}),
|
|
353
|
-
const [
|
|
454
|
+
}), Ae = ({ children: e = void 0 }) => {
|
|
455
|
+
const [s, t] = f({
|
|
354
456
|
language: "en",
|
|
355
457
|
sources: [],
|
|
356
458
|
dataProcessors: [],
|
|
357
459
|
targets: []
|
|
358
460
|
});
|
|
359
|
-
return
|
|
360
|
-
const
|
|
461
|
+
return m(() => {
|
|
462
|
+
const n = (a) => {
|
|
361
463
|
try {
|
|
362
|
-
|
|
464
|
+
t(a);
|
|
363
465
|
} catch (o) {
|
|
364
466
|
d.error("MeasurementSetupProvider", o);
|
|
365
467
|
}
|
|
366
|
-
}, r =
|
|
367
|
-
return
|
|
368
|
-
|
|
468
|
+
}, r = F();
|
|
469
|
+
return D(r, "meas-setup-changed", n).then((a) => n(a)).catch(), () => {
|
|
470
|
+
M(r, "meas-setup-changed");
|
|
369
471
|
};
|
|
370
|
-
}, []), /* @__PURE__ */
|
|
371
|
-
}, q =
|
|
372
|
-
const [
|
|
373
|
-
return
|
|
374
|
-
const
|
|
472
|
+
}, []), /* @__PURE__ */ p(ue.Provider, { value: s, children: e });
|
|
473
|
+
}, q = k({ isOnline: !1 }), _e = ({ children: e = void 0 }) => {
|
|
474
|
+
const [s, t] = f({ isOnline: !1 });
|
|
475
|
+
return m(() => {
|
|
476
|
+
const n = (a) => {
|
|
375
477
|
try {
|
|
376
|
-
|
|
478
|
+
t(a);
|
|
377
479
|
} catch (o) {
|
|
378
480
|
d.error("OnlineStatusProvider", o);
|
|
379
481
|
}
|
|
380
|
-
}, r =
|
|
381
|
-
return
|
|
382
|
-
|
|
482
|
+
}, r = F();
|
|
483
|
+
return D(r, "online-status-changed", n).then((a) => n(a)).catch(), () => {
|
|
484
|
+
M(r, "online-status-changed");
|
|
383
485
|
};
|
|
384
|
-
}, []), /* @__PURE__ */
|
|
385
|
-
},
|
|
386
|
-
const [
|
|
387
|
-
return
|
|
388
|
-
const
|
|
486
|
+
}, []), /* @__PURE__ */ p(q.Provider, { value: s, children: e });
|
|
487
|
+
}, de = k([]), Ee = ({ children: e = void 0 }) => {
|
|
488
|
+
const [s, t] = f([]);
|
|
489
|
+
return m(() => {
|
|
490
|
+
const n = (i) => {
|
|
389
491
|
try {
|
|
390
|
-
|
|
391
|
-
} catch (
|
|
392
|
-
d.error("RunningPeriodicTransmissionsProvider - started",
|
|
492
|
+
t((c) => [...c, i]);
|
|
493
|
+
} catch (c) {
|
|
494
|
+
d.error("RunningPeriodicTransmissionsProvider - started", c);
|
|
393
495
|
}
|
|
394
|
-
}, r = (
|
|
496
|
+
}, r = (i) => {
|
|
395
497
|
try {
|
|
396
|
-
|
|
397
|
-
const
|
|
398
|
-
if (
|
|
399
|
-
return
|
|
400
|
-
const
|
|
401
|
-
return
|
|
498
|
+
t((c) => {
|
|
499
|
+
const l = c.findIndex((u) => u === i);
|
|
500
|
+
if (l === -1)
|
|
501
|
+
return c;
|
|
502
|
+
const h = [...c];
|
|
503
|
+
return h.splice(l, 1), h;
|
|
402
504
|
});
|
|
403
|
-
} catch (
|
|
404
|
-
d.error("RunningPeriodicTransmissionsProvider - stopped",
|
|
505
|
+
} catch (c) {
|
|
506
|
+
d.error("RunningPeriodicTransmissionsProvider - stopped", c);
|
|
405
507
|
}
|
|
406
|
-
},
|
|
407
|
-
|
|
408
|
-
const o =
|
|
409
|
-
return
|
|
410
|
-
|
|
508
|
+
}, a = F();
|
|
509
|
+
D(a, "periodic-trans-started", n);
|
|
510
|
+
const o = F();
|
|
511
|
+
return D(o, "periodic-trans-stopped", r), () => {
|
|
512
|
+
M(a, "periodic-trans-started"), M(o, "periodic-trans-stopped");
|
|
411
513
|
};
|
|
412
|
-
}, []), /* @__PURE__ */
|
|
413
|
-
},
|
|
414
|
-
const
|
|
415
|
-
return
|
|
514
|
+
}, []), /* @__PURE__ */ p(de.Provider, { value: s, children: e });
|
|
515
|
+
}, me = k([]), Ne = ({ children: e = void 0 }) => {
|
|
516
|
+
const s = y(new ne(1e3)), [t, n] = f([]);
|
|
517
|
+
return m(() => {
|
|
416
518
|
const r = (o) => {
|
|
417
519
|
try {
|
|
418
|
-
o === null ?
|
|
419
|
-
} catch (
|
|
420
|
-
d.error("LogMessagesProvider",
|
|
520
|
+
o === null ? s.current.clear() : s.current.push(...o), n(Array.from(s.current));
|
|
521
|
+
} catch (i) {
|
|
522
|
+
d.error("LogMessagesProvider", i);
|
|
421
523
|
}
|
|
422
|
-
},
|
|
423
|
-
return
|
|
424
|
-
|
|
524
|
+
}, a = F();
|
|
525
|
+
return D(a, "new-log-messages", r), () => {
|
|
526
|
+
M(a, "new-log-messages");
|
|
425
527
|
};
|
|
426
|
-
}, []), /* @__PURE__ */
|
|
427
|
-
},
|
|
428
|
-
}]),
|
|
429
|
-
const [
|
|
528
|
+
}, []), /* @__PURE__ */ p(me.Provider, { value: t, children: e });
|
|
529
|
+
}, V = k([[], () => {
|
|
530
|
+
}]), Oe = ({ children: e = void 0 }) => {
|
|
531
|
+
const [s, t] = f(null), n = ee(
|
|
430
532
|
(r) => {
|
|
431
|
-
if (
|
|
533
|
+
if (s !== null)
|
|
432
534
|
if (typeof r == "function") {
|
|
433
|
-
const
|
|
434
|
-
|
|
535
|
+
const a = r(s);
|
|
536
|
+
g.ipcRenderer.invoke("prj-update-project", { workspacePanes: a });
|
|
435
537
|
} else
|
|
436
|
-
|
|
538
|
+
g.ipcRenderer.invoke("prj-update-project", { workspacePanes: r });
|
|
437
539
|
},
|
|
438
|
-
[
|
|
540
|
+
[s]
|
|
439
541
|
);
|
|
440
|
-
return
|
|
542
|
+
return m(() => {
|
|
441
543
|
const r = (o) => {
|
|
442
544
|
try {
|
|
443
|
-
|
|
444
|
-
} catch (
|
|
445
|
-
d.error("WorkspacePanesProvider",
|
|
545
|
+
t(o);
|
|
546
|
+
} catch (i) {
|
|
547
|
+
d.error("WorkspacePanesProvider", i);
|
|
446
548
|
}
|
|
447
|
-
},
|
|
448
|
-
return
|
|
449
|
-
|
|
549
|
+
}, a = F();
|
|
550
|
+
return D(a, "workspace-panes-changed", r).then((o) => r(o)).catch(), () => {
|
|
551
|
+
M(a, "workspace-panes-changed");
|
|
450
552
|
};
|
|
451
|
-
}, []), /* @__PURE__ */
|
|
452
|
-
},
|
|
553
|
+
}, []), /* @__PURE__ */ p(V.Provider, { value: [s, n], children: e });
|
|
554
|
+
}, Ve = ({
|
|
453
555
|
initialUserSettings: e = void 0,
|
|
454
|
-
children:
|
|
455
|
-
}) => /* @__PURE__ */
|
|
456
|
-
const e =
|
|
457
|
-
return
|
|
458
|
-
},
|
|
459
|
-
const e =
|
|
460
|
-
return
|
|
461
|
-
},
|
|
462
|
-
const e =
|
|
463
|
-
return
|
|
464
|
-
},
|
|
465
|
-
const e =
|
|
466
|
-
return
|
|
467
|
-
() => new
|
|
556
|
+
children: s = void 0
|
|
557
|
+
}) => /* @__PURE__ */ p(xe, { initialUserSettings: e, children: /* @__PURE__ */ p(ye, { children: /* @__PURE__ */ p(Ae, { children: /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p(_e, { children: /* @__PURE__ */ p(Ce, { children: /* @__PURE__ */ p(Ee, { children: /* @__PURE__ */ p(Ne, { children: /* @__PURE__ */ p(Oe, { children: /* @__PURE__ */ p(Le, { children: s }) }) }) }) }) }) }) }) }) }), W = window.electron ?? te, x = () => S(re), Qe = () => {
|
|
558
|
+
const e = x();
|
|
559
|
+
return P(() => e.useHexNumericBase ? 16 : 10, [e.useHexNumericBase]);
|
|
560
|
+
}, Ye = () => {
|
|
561
|
+
const e = x();
|
|
562
|
+
return P(() => e.maxDataBytes, [e.maxDataBytes]);
|
|
563
|
+
}, Ze = () => {
|
|
564
|
+
const e = x();
|
|
565
|
+
return P(() => e.language, [e.language]);
|
|
566
|
+
}, et = () => {
|
|
567
|
+
const e = x();
|
|
568
|
+
return P(
|
|
569
|
+
() => new ke(e.language, e.strings),
|
|
468
570
|
[e.language, e.strings]
|
|
469
571
|
);
|
|
470
|
-
},
|
|
471
|
-
const e =
|
|
472
|
-
return
|
|
473
|
-
},
|
|
474
|
-
const
|
|
475
|
-
return
|
|
476
|
-
},
|
|
477
|
-
const e =
|
|
478
|
-
return
|
|
479
|
-
const
|
|
480
|
-
Number(
|
|
481
|
-
Number(
|
|
482
|
-
Number(
|
|
572
|
+
}, tt = () => {
|
|
573
|
+
const e = x();
|
|
574
|
+
return P(() => e.recentProjectFiles, [e.recentProjectFiles]);
|
|
575
|
+
}, st = () => S(oe), nt = () => S(ue), ge = () => S(ce), at = (e) => {
|
|
576
|
+
const s = ge();
|
|
577
|
+
return P(() => s.find((n) => n.nodeId === e) ?? null, [e, s]);
|
|
578
|
+
}, rt = () => {
|
|
579
|
+
const e = ge();
|
|
580
|
+
return P(() => {
|
|
581
|
+
const t = e.filter((n) => n.busStatus).map((n) => Math.max(
|
|
582
|
+
Number(n.busStatus.busOnStatus) ?? X.STATUS_LEVEL_NONE,
|
|
583
|
+
Number(n.busStatus.errorStatus) ?? X.STATUS_LEVEL_NONE,
|
|
584
|
+
Number(n.busStatus.overrunStatus) ?? X.STATUS_LEVEL_NONE
|
|
483
585
|
));
|
|
484
|
-
return Math.max(...
|
|
586
|
+
return Math.max(...t);
|
|
485
587
|
}, [e]);
|
|
486
|
-
},
|
|
487
|
-
const e =
|
|
488
|
-
return
|
|
489
|
-
},
|
|
490
|
-
const [
|
|
491
|
-
return
|
|
492
|
-
const o =
|
|
493
|
-
return
|
|
494
|
-
|
|
588
|
+
}, Ie = () => S(q), ot = () => {
|
|
589
|
+
const e = Ie();
|
|
590
|
+
return P(() => (e == null ? void 0 : e.isOnline) === !0, [e == null ? void 0 : e.isOnline]);
|
|
591
|
+
}, ct = () => S(de), it = () => S(me), lt = (e, s) => {
|
|
592
|
+
const [t, n] = f([]), [r, a] = f([]);
|
|
593
|
+
return m(() => {
|
|
594
|
+
const o = F();
|
|
595
|
+
return D(o, "new-measurement-data", a, { numberOfHistoryFrames: e }).then((i) => a(i)).catch(), () => {
|
|
596
|
+
M(o, "new-measurement-data");
|
|
495
597
|
};
|
|
496
|
-
}, []),
|
|
497
|
-
r !== null &&
|
|
498
|
-
const
|
|
499
|
-
if (
|
|
500
|
-
const
|
|
501
|
-
return o.length === 0 &&
|
|
598
|
+
}, [e]), m(() => {
|
|
599
|
+
r !== null && n((o) => {
|
|
600
|
+
const i = o.map((l) => l.hashCode), c = r.filter((l) => !i.includes(l.hashCode));
|
|
601
|
+
if (s) {
|
|
602
|
+
const l = c.filter(s);
|
|
603
|
+
return o.length === 0 && l.length === 0 ? o : l;
|
|
502
604
|
}
|
|
503
|
-
return o.length === 0 &&
|
|
605
|
+
return o.length === 0 && c.length === 0 ? o : c;
|
|
504
606
|
});
|
|
505
|
-
}, [r,
|
|
506
|
-
},
|
|
507
|
-
const
|
|
508
|
-
|
|
607
|
+
}, [r, s]), t;
|
|
608
|
+
}, ut = (e) => {
|
|
609
|
+
const s = S(C);
|
|
610
|
+
return P(() => {
|
|
611
|
+
const n = s.scrollData ?? [];
|
|
612
|
+
return e !== void 0 ? n.filter((r) => r.time >= e) : n;
|
|
613
|
+
}, [s, e]);
|
|
614
|
+
}, dt = (e) => {
|
|
615
|
+
const s = S(C);
|
|
616
|
+
return P(() => {
|
|
617
|
+
const n = s.fixedPositionData ?? [];
|
|
618
|
+
return e !== void 0 ? n.filter((r) => r.time >= e) : n;
|
|
619
|
+
}, [s, e]);
|
|
620
|
+
}, mt = (e) => {
|
|
621
|
+
const [s, t] = f([]);
|
|
622
|
+
m(() => (ie(e), () => {
|
|
623
|
+
le(e);
|
|
624
|
+
}), [e]);
|
|
625
|
+
const n = S(C);
|
|
626
|
+
return m(() => {
|
|
627
|
+
const r = e.map(R);
|
|
628
|
+
if (!r.some((i) => n.subscribedData.has(i)))
|
|
629
|
+
return;
|
|
630
|
+
const o = r.flatMap((i) => n.subscribedData.get(i) ?? []).sort((i, c) => i.time - c.time);
|
|
631
|
+
t(o);
|
|
632
|
+
}, [e, n]), s;
|
|
633
|
+
}, gt = (e) => {
|
|
634
|
+
const [s, t] = f([]), [n, r] = f([]), a = y(/* @__PURE__ */ new Map()), o = y(/* @__PURE__ */ new Map());
|
|
635
|
+
m(() => {
|
|
636
|
+
De().then((c) => {
|
|
637
|
+
for (let l = 0; l < e.length; l++) {
|
|
638
|
+
const h = e[l], u = c.find(
|
|
639
|
+
(v) => v.signals.some((b) => b.qualifiedName === h)
|
|
640
|
+
);
|
|
641
|
+
if (u) {
|
|
642
|
+
const v = se.create({
|
|
643
|
+
id: u.id,
|
|
644
|
+
tx: !1
|
|
645
|
+
});
|
|
646
|
+
u.canFrameFlags ? v.canFrameFlags = u.canFrameFlags : v.linFrameFlags = ve.create({
|
|
647
|
+
flags: [J.LIN_FRAME_FLAG_RX]
|
|
648
|
+
});
|
|
649
|
+
const b = R(v);
|
|
650
|
+
if (o.current.has(b)) {
|
|
651
|
+
const w = o.current.get(b);
|
|
652
|
+
w && !w.includes(h) && (w.push(h), o.current.set(b, w));
|
|
653
|
+
} else
|
|
654
|
+
o.current.set(b, [h]), a.current.set(b, v);
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
r(Array.from(a.current.values()));
|
|
658
|
+
});
|
|
659
|
+
}, [e]), m(() => (ie(n), () => {
|
|
660
|
+
le(n);
|
|
661
|
+
}), [n]);
|
|
662
|
+
const i = S(C);
|
|
663
|
+
return m(() => {
|
|
664
|
+
const c = o.current.size > 0 ? Array.from(o.current.keys()) : [];
|
|
665
|
+
if (!c.some((u) => i.subscribedData.has(u)))
|
|
666
|
+
return;
|
|
667
|
+
const h = c.flatMap((u) => {
|
|
668
|
+
const v = i.subscribedData.get(u) ?? [], b = o.current.get(u) ?? [];
|
|
669
|
+
return v.flatMap((w) => b.map((G) => {
|
|
670
|
+
const T = w.signalValues.find((pe) => pe.qualifiedName === G);
|
|
671
|
+
return T ? {
|
|
672
|
+
qualifiedName: T.qualifiedName,
|
|
673
|
+
name: T.name,
|
|
674
|
+
unit: T.unit,
|
|
675
|
+
time: w.time,
|
|
676
|
+
doubleValue: T.doubleValue,
|
|
677
|
+
stringValue: T.stringValue
|
|
678
|
+
} : null;
|
|
679
|
+
}).filter((G) => G !== null));
|
|
680
|
+
}).sort((u, v) => u.time - v.time);
|
|
681
|
+
t(h);
|
|
682
|
+
}, [e, i]), s;
|
|
683
|
+
}, pt = (e, s) => {
|
|
684
|
+
const [t, n] = S(V), [r, a] = P(() => {
|
|
685
|
+
var i;
|
|
509
686
|
try {
|
|
510
|
-
if (
|
|
511
|
-
return [!1,
|
|
512
|
-
const
|
|
513
|
-
return
|
|
687
|
+
if (t === null)
|
|
688
|
+
return [!1, s ?? {}];
|
|
689
|
+
const c = t == null ? void 0 : t.find((h) => h.id === e), l = (i = c == null ? void 0 : c.componentData) != null && i.componentProps ? JSON.parse(c.componentData.componentProps) : {};
|
|
690
|
+
return s !== void 0 ? [!0, Object.assign({}, s, l)] : [!0, l];
|
|
514
691
|
} catch {
|
|
515
|
-
return [!1,
|
|
692
|
+
return [!1, s ?? {}];
|
|
516
693
|
}
|
|
517
|
-
}, [
|
|
518
|
-
(
|
|
694
|
+
}, [s, e, t]), o = ee(
|
|
695
|
+
(i) => {
|
|
519
696
|
try {
|
|
520
|
-
|
|
521
|
-
const
|
|
522
|
-
if (
|
|
523
|
-
const
|
|
524
|
-
return
|
|
697
|
+
n((c) => {
|
|
698
|
+
const l = [...c], h = l.find((u) => u.id === e);
|
|
699
|
+
if (h != null && h.componentData) {
|
|
700
|
+
const u = i instanceof Function ? JSON.stringify(i(a)) : JSON.stringify(i);
|
|
701
|
+
return h.componentData.componentProps = u, l;
|
|
525
702
|
}
|
|
526
|
-
return
|
|
703
|
+
return c;
|
|
527
704
|
});
|
|
528
705
|
} catch {
|
|
529
706
|
}
|
|
530
707
|
},
|
|
531
|
-
[e,
|
|
708
|
+
[e, a, n]
|
|
532
709
|
);
|
|
533
|
-
return { projectDataIsInitialized: r, projectData:
|
|
534
|
-
},
|
|
535
|
-
const [
|
|
536
|
-
return
|
|
537
|
-
|
|
710
|
+
return { projectDataIsInitialized: r, projectData: a, setProjectData: o };
|
|
711
|
+
}, ht = (e, s) => {
|
|
712
|
+
const [t, n] = f(!1), [r, a] = f(s ?? {});
|
|
713
|
+
return m(() => {
|
|
714
|
+
W.ipcRenderer.invoke("app-get-workspace-view-session-data", e).then((o) => {
|
|
538
715
|
try {
|
|
539
|
-
const
|
|
540
|
-
|
|
716
|
+
const i = o ? JSON.parse(o) : {};
|
|
717
|
+
s !== void 0 ? (a(Object.assign({}, s, i)), n(!0)) : (a(i), n(!0));
|
|
541
718
|
} catch {
|
|
542
|
-
|
|
719
|
+
n(!1), a(s ?? {});
|
|
543
720
|
}
|
|
544
721
|
}).catch();
|
|
545
|
-
}, [
|
|
722
|
+
}, [s, e]), m(() => {
|
|
546
723
|
try {
|
|
547
|
-
if (
|
|
724
|
+
if (t) {
|
|
548
725
|
const o = JSON.stringify(r);
|
|
549
|
-
|
|
726
|
+
W.ipcRenderer.invoke("app-set-workspace-view-session-data", e, o).catch();
|
|
550
727
|
}
|
|
551
728
|
} catch {
|
|
552
729
|
}
|
|
553
|
-
}, [e, r,
|
|
554
|
-
},
|
|
555
|
-
const [
|
|
556
|
-
return
|
|
557
|
-
},
|
|
558
|
-
const [
|
|
559
|
-
return
|
|
560
|
-
|
|
561
|
-
}, [e]),
|
|
562
|
-
},
|
|
563
|
-
const [e,
|
|
564
|
-
return
|
|
565
|
-
|
|
730
|
+
}, [e, r, t]), { sessionDataIsInitialized: t, sessionData: r, setSessionData: a };
|
|
731
|
+
}, ft = (e) => {
|
|
732
|
+
const [s] = S(V);
|
|
733
|
+
return P(() => s.find((n) => n.id === e) ?? null, [e, s]);
|
|
734
|
+
}, vt = (e = !1) => {
|
|
735
|
+
const [s, t] = f([]);
|
|
736
|
+
return m(() => {
|
|
737
|
+
W.ipcRenderer.invoke("rpc-get-message-log-file-formats", e).then((n) => t(n)).catch();
|
|
738
|
+
}, [e]), s;
|
|
739
|
+
}, bt = () => {
|
|
740
|
+
const [e, s] = f([]);
|
|
741
|
+
return m(() => {
|
|
742
|
+
W.ipcRenderer.invoke("rpc-get-signal-log-file-formats").then((t) => s(t)).catch();
|
|
566
743
|
}, []), e;
|
|
567
744
|
};
|
|
568
745
|
export {
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
746
|
+
mt as A,
|
|
747
|
+
gt as B,
|
|
748
|
+
Ve as C,
|
|
749
|
+
oe as D,
|
|
750
|
+
pt as E,
|
|
751
|
+
ht as F,
|
|
752
|
+
ft as G,
|
|
753
|
+
vt as H,
|
|
754
|
+
bt as I,
|
|
755
|
+
ke as L,
|
|
756
|
+
ce as M,
|
|
573
757
|
q as O,
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
758
|
+
de as R,
|
|
759
|
+
re as U,
|
|
760
|
+
V as W,
|
|
761
|
+
Ze as a,
|
|
762
|
+
D as b,
|
|
763
|
+
Qe as c,
|
|
764
|
+
nt as d,
|
|
765
|
+
ge as e,
|
|
766
|
+
R as f,
|
|
767
|
+
le as g,
|
|
768
|
+
C as h,
|
|
769
|
+
ue as i,
|
|
770
|
+
me as j,
|
|
771
|
+
x as k,
|
|
772
|
+
Ye as l,
|
|
773
|
+
tt as m,
|
|
774
|
+
st as n,
|
|
775
|
+
at as o,
|
|
776
|
+
rt as p,
|
|
777
|
+
Ie as q,
|
|
778
|
+
M as r,
|
|
779
|
+
ie as s,
|
|
780
|
+
ot as t,
|
|
781
|
+
et as u,
|
|
782
|
+
ct as v,
|
|
783
|
+
it as w,
|
|
784
|
+
lt as x,
|
|
785
|
+
ut as y,
|
|
786
|
+
dt as z
|
|
602
787
|
};
|