@kvaser/canking-api 7.1.0 → 7.2.1
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/REDISTRIBUTABLES.txt +2 -0
- package/dist/ElectronAPIFake.js +1 -1
- package/dist/ElectronAPIFake.mjs +18 -15
- package/dist/controls/CanIdentifierControl.d.ts +45 -8
- package/dist/controls/ColumnItemControl.d.ts +1 -1
- package/dist/controls/DropdownButton.d.ts +1 -1
- package/dist/controls/LinChannelSelectControl.d.ts +34 -0
- package/dist/controls/LinIdentifierControl.d.ts +224 -0
- package/dist/controls/SelectMessageDialog.d.ts +28 -0
- package/dist/controls/SelectSignalControl.d.ts +11 -0
- package/dist/controls/SelectSignalDialog.d.ts +21 -0
- package/dist/controls/TableControl.d.ts +7 -1
- package/dist/controls/index.d.ts +10 -0
- package/dist/controls.js +1 -1
- package/dist/controls.mjs +1761 -949
- package/dist/grpc.js +1 -1
- package/dist/grpc.mjs +111 -97
- package/dist/hooks/index.d.ts +6 -1
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +17 -16
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +87 -75
- package/dist/index.js +1 -1
- package/dist/index.mjs +48 -42
- package/dist/ipc/index.d.ts +24 -0
- package/dist/ipc.js +1 -1
- package/dist/ipc.mjs +68 -58
- package/dist/measurement_settings.js +1 -1
- package/dist/measurement_settings.mjs +3186 -1328
- package/dist/models.js +1 -1
- package/dist/models.mjs +202 -197
- package/dist/protos/device_params.d.ts +14 -25
- package/dist/protos/frame_params.d.ts +9 -1
- package/dist/protos/measurement_params.d.ts +2 -0
- package/dist/protos/measurement_service.d.ts +29 -1
- package/dist/protos/measurement_settings.d.ts +103 -32
- package/dist/protos/signal_params.d.ts +3 -3
- package/dist/protos/status_params.d.ts +9 -9
- package/dist/status_params.js +1 -1
- package/dist/status_params.mjs +655 -2169
- package/doc/assets/hierarchy.js +1 -1
- package/doc/assets/navigation.js +1 -1
- package/doc/assets/search.js +1 -1
- package/doc/classes/controls.LocalizedStrings.html +2 -2
- package/doc/classes/models.DataBuffer.html +2 -2
- package/doc/classes/models.DataBufferView.html +2 -2
- package/doc/classes/models.Point.html +2 -2
- package/doc/enums/models.AccessMode.html +2 -2
- package/doc/enums/models.AppEvent.html +2 -2
- package/doc/enums/models.CanChannelCap.html +2 -2
- package/doc/enums/models.CanFrameFlag.html +2 -2
- package/doc/enums/models.CanMessageFilterType.html +6 -0
- package/doc/enums/models.CanMode.html +2 -2
- package/doc/enums/models.DecimalChar.html +2 -2
- package/doc/enums/models.DeviceEvent.html +2 -2
- package/doc/enums/models.FileConflictAction.html +2 -2
- package/doc/enums/models.FileType.html +2 -2
- package/doc/enums/models.LinFrameFlag.html +2 -2
- package/doc/enums/models.LogFileFormat.html +5 -5
- package/doc/enums/models.LogLevel.html +2 -2
- package/doc/enums/models.LogReplayState.html +2 -2
- package/doc/enums/{models.MessageLoggerState.html → models.LoggerState.html} +7 -7
- package/doc/enums/models.MeasurementEvent.html +2 -2
- package/doc/enums/models.Protocols.html +2 -2
- package/doc/enums/models.Separator.html +2 -2
- package/doc/enums/models.SignalEncoding.html +2 -2
- package/doc/enums/models.SignalType.html +2 -2
- package/doc/enums/models.SignalValueTriggerOperator.html +2 -2
- package/doc/enums/models.StatusLevel.html +2 -2
- package/doc/enums/models.TimeReference.html +2 -2
- package/doc/enums/models.TriggerOperator.html +2 -2
- 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 +2 -2
- 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.FillBox.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 +4 -0
- package/doc/functions/controls.LinIdentifierControl.html +4 -0
- package/doc/functions/controls.LinIdentifierFrameControl.html +4 -0
- package/doc/functions/controls.LinIdentifierGeneratorControl.html +4 -0
- package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +5 -0
- package/doc/functions/controls.NumberRangeControl.html +2 -2
- package/doc/functions/controls.OneLineButton.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 -0
- package/doc/functions/controls.SelectSignalControl.html +1 -0
- package/doc/functions/controls.SelectSignalDialog.html +2 -0
- package/doc/functions/controls.SizedBox.html +2 -2
- package/doc/functions/controls.TableControl.html +2 -2
- package/doc/functions/controls.TabsPanel.html +2 -2
- 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 -0
- package/doc/functions/hooks.useDevices.html +2 -2
- package/doc/functions/hooks.useIsOnline.html +2 -2
- package/doc/functions/hooks.useLanguage.html +2 -2
- package/doc/functions/hooks.useLocalizedStrings.html +2 -2
- package/doc/functions/hooks.useLogMessages.html +2 -2
- package/doc/functions/hooks.useMaxDataBytes.html +2 -2
- package/doc/functions/hooks.useMeasurementSetup.html +2 -2
- package/doc/functions/hooks.useMeasurementStatus.html +2 -2
- package/doc/functions/hooks.useMessageLogFileFormats.html +3 -2
- package/doc/functions/hooks.useNewMeasurementData.html +2 -2
- package/doc/functions/hooks.useNodeStatus.html +2 -2
- package/doc/functions/hooks.useNumericRadix.html +2 -2
- package/doc/functions/hooks.useOnlineStatus.html +2 -2
- package/doc/functions/hooks.useOverallStatusLevel.html +2 -2
- package/doc/functions/hooks.useProjectData.html +2 -2
- package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
- package/doc/functions/hooks.useRunningPeriodicTransmissions.html +2 -2
- package/doc/functions/hooks.useSessionData.html +2 -2
- package/doc/functions/hooks.useSignalLogFileFormats.html +2 -0
- package/doc/functions/hooks.useUserSettings.html +2 -2
- package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
- package/doc/functions/icons.AddIcon.html +2 -2
- package/doc/functions/icons.ArrowDownIcon.html +2 -2
- package/doc/functions/icons.ArrowLeftIcon.html +2 -2
- package/doc/functions/icons.ArrowRightIcon.html +2 -2
- package/doc/functions/icons.ArrowUpIcon.html +2 -2
- package/doc/functions/icons.BusIsOffIcon.html +2 -2
- package/doc/functions/icons.BusIsOnIcon.html +2 -2
- package/doc/functions/icons.CloseIcon.html +2 -2
- package/doc/functions/icons.ColumnSettingsIcon.html +4 -0
- package/doc/functions/icons.CopyIcon.html +2 -2
- package/doc/functions/icons.DarkModeIcon.html +2 -2
- package/doc/functions/icons.DeleteIcon.html +2 -2
- package/doc/functions/icons.DisableIcon.html +2 -2
- package/doc/functions/icons.EditIcon.html +2 -2
- package/doc/functions/icons.EnableIcon.html +4 -0
- package/doc/functions/icons.FilterIcon.html +2 -2
- package/doc/functions/icons.FixedPositionIcon.html +2 -2
- package/doc/functions/icons.LeaveFullScreenIcon.html +2 -2
- package/doc/functions/icons.LightModeIcon.html +2 -2
- package/doc/functions/icons.LineArrowDownIcon.html +2 -2
- package/doc/functions/icons.LineArrowUpIcon.html +2 -2
- package/doc/functions/icons.MaximizeWindowIcon.html +2 -2
- package/doc/functions/icons.MeasurementSetupIcon.html +2 -2
- package/doc/functions/icons.MoreHorizIcon.html +2 -2
- package/doc/functions/icons.MoreVertIcon.html +2 -2
- package/doc/functions/icons.NewIcon.html +2 -2
- package/doc/functions/icons.OpenExternallyIcon.html +2 -2
- package/doc/functions/icons.OpenIcon.html +2 -2
- package/doc/functions/icons.PauseIcon.html +2 -2
- package/doc/functions/icons.PlayIcon.html +2 -2
- package/doc/functions/icons.PlaySolidIcon.html +2 -2
- package/doc/functions/icons.SaveIcon.html +2 -2
- package/doc/functions/icons.SelectAllIcon.html +2 -2
- package/doc/functions/icons.ServiceIconActive.html +2 -2
- package/doc/functions/icons.ServiceIconInactive.html +2 -2
- package/doc/functions/icons.SettingsIcon.html +2 -2
- package/doc/functions/icons.StopIcon.html +2 -2
- package/doc/functions/icons.StopSolidIcon.html +2 -2
- package/doc/functions/icons.ToolsPanelHiddenIcon.html +2 -2
- package/doc/functions/icons.ToolsPanelVisibleIcon.html +2 -2
- package/doc/functions/icons.UnmaximizeWindowIcon.html +2 -2
- package/doc/functions/icons.WorkspacesIcon.html +2 -2
- package/doc/functions/ipc.addDataProcessor.html +2 -2
- package/doc/functions/ipc.addSource.html +2 -2
- package/doc/functions/ipc.addTarget.html +2 -2
- package/doc/functions/ipc.clearLinMessage.html +4 -0
- package/doc/functions/ipc.connectNodes.html +2 -2
- package/doc/functions/ipc.deleteDataProcessor.html +2 -2
- package/doc/functions/ipc.deleteSource.html +2 -2
- package/doc/functions/ipc.deleteTarget.html +2 -2
- package/doc/functions/ipc.disableNode.html +2 -2
- package/doc/functions/ipc.disconnectNodes.html +2 -2
- package/doc/functions/ipc.enableNode.html +2 -2
- package/doc/functions/ipc.getFrameDefinitions.html +2 -2
- package/doc/functions/ipc.getLogger.html +2 -2
- package/doc/functions/ipc.getMessageLogFileFormats.html +2 -2
- package/doc/functions/ipc.getSignalLogFileFormats.html +3 -0
- package/doc/functions/ipc.requestLinMessage.html +5 -0
- package/doc/functions/ipc.sendCanMessage.html +2 -2
- package/doc/functions/ipc.sendMessage.html +2 -2
- package/doc/functions/ipc.showMessageBox.html +2 -2
- package/doc/functions/ipc.showQuestionBox.html +2 -2
- package/doc/functions/ipc.startLogReplay.html +2 -2
- package/doc/functions/ipc.startMeasurement.html +2 -2
- package/doc/functions/ipc.startPeriodicTransmission.html +2 -2
- package/doc/functions/ipc.stopLogReplay.html +2 -2
- package/doc/functions/ipc.stopMeasurement.html +2 -2
- package/doc/functions/ipc.stopPeriodicTransmission.html +2 -2
- package/doc/functions/ipc.updateDataProcessor.html +2 -2
- package/doc/functions/ipc.updateLinMessage.html +4 -0
- package/doc/functions/ipc.updatePeriodicTransmission.html +2 -2
- package/doc/functions/ipc.updateSource.html +2 -2
- package/doc/functions/ipc.updateTarget.html +2 -2
- package/doc/functions/models.accessModeFromJSON.html +1 -1
- package/doc/functions/models.accessModeToJSON.html +1 -1
- package/doc/functions/models.appEventFromJSON.html +1 -1
- package/doc/functions/models.appEventToJSON.html +1 -1
- package/doc/functions/models.canChannelCapFromJSON.html +1 -1
- package/doc/functions/models.canChannelCapToJSON.html +1 -1
- package/doc/functions/models.canFrameFlagFromJSON.html +1 -1
- package/doc/functions/models.canFrameFlagToJSON.html +1 -1
- package/doc/functions/models.canMessageFilterTypeFromJSON.html +1 -0
- package/doc/functions/models.canMessageFilterTypeToJSON.html +1 -0
- package/doc/functions/models.canModeFromJSON.html +1 -1
- package/doc/functions/models.canModeToJSON.html +1 -1
- package/doc/functions/models.createElectronApiFake.html +2 -2
- package/doc/functions/models.decimalCharFromJSON.html +1 -1
- package/doc/functions/models.decimalCharToJSON.html +1 -1
- package/doc/functions/models.decimalToFixed.html +1 -1
- package/doc/functions/models.decimalToHex.html +1 -1
- package/doc/functions/models.deviceEventFromJSON.html +1 -1
- package/doc/functions/models.deviceEventToJSON.html +1 -1
- package/doc/functions/models.fileConflictActionFromJSON.html +1 -1
- package/doc/functions/models.fileConflictActionToJSON.html +1 -1
- package/doc/functions/models.fileTypeFromJSON.html +1 -1
- package/doc/functions/models.fileTypeToJSON.html +1 -1
- package/doc/functions/models.linFrameFlagFromJSON.html +1 -1
- package/doc/functions/models.linFrameFlagToJSON.html +1 -1
- package/doc/functions/models.logFileFormatFromJSON.html +1 -1
- package/doc/functions/models.logFileFormatToJSON.html +1 -1
- package/doc/functions/models.logLevelFromJSON.html +1 -1
- package/doc/functions/models.logLevelToJSON.html +1 -1
- package/doc/functions/models.logReplayStateFromJSON.html +1 -1
- package/doc/functions/models.logReplayStateToJSON.html +1 -1
- package/doc/functions/models.loggerStateFromJSON.html +1 -0
- package/doc/functions/models.loggerStateToJSON.html +1 -0
- package/doc/functions/models.longToNumber.html +1 -1
- package/doc/functions/models.measurementEventFromJSON.html +1 -1
- package/doc/functions/models.measurementEventToJSON.html +1 -1
- package/doc/functions/models.protocolsFromJSON.html +1 -1
- package/doc/functions/models.protocolsToJSON.html +1 -1
- package/doc/functions/models.separatorFromJSON.html +1 -1
- package/doc/functions/models.separatorToJSON.html +1 -1
- package/doc/functions/models.signalEncodingFromJSON.html +1 -1
- package/doc/functions/models.signalEncodingToJSON.html +1 -1
- package/doc/functions/models.signalTypeFromJSON.html +1 -1
- package/doc/functions/models.signalTypeToJSON.html +1 -1
- package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +1 -1
- package/doc/functions/models.signalValueTriggerOperatorToJSON.html +1 -1
- package/doc/functions/models.statusLevelFromJSON.html +1 -1
- package/doc/functions/models.statusLevelToJSON.html +1 -1
- package/doc/functions/models.timeReferenceFromJSON.html +1 -1
- package/doc/functions/models.timeReferenceToJSON.html +1 -1
- package/doc/functions/models.triggerOperatorFromJSON.html +1 -1
- package/doc/functions/models.triggerOperatorToJSON.html +1 -1
- package/doc/hierarchy.html +1 -1
- package/doc/index.html +2 -2
- package/doc/interfaces/controls.ButtonGroupProps.html +2 -2
- package/doc/interfaces/controls.ButtonProps.html +2 -2
- package/doc/interfaces/controls.CanChannelSelectControlProps.html +2 -2
- package/doc/interfaces/controls.CanIdentifierControlProps.html +20 -4
- package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +17 -3
- package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +7 -7
- package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +2 -2
- package/doc/interfaces/controls.CheckboxControlProps.html +2 -2
- package/doc/interfaces/controls.ColumnItem.html +3 -0
- package/doc/interfaces/controls.ColumnItemControlProps.html +2 -2
- package/doc/interfaces/controls.ContextMenuProps.html +2 -2
- package/doc/interfaces/controls.DropdownButtonChildrenProps.html +3 -3
- package/doc/interfaces/controls.DropdownButtonProps.html +2 -2
- package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +5 -5
- package/doc/interfaces/controls.DropdownPanelProps.html +2 -2
- package/doc/interfaces/controls.FormControlRowProps.html +2 -2
- package/doc/interfaces/controls.ILocalizedStrings.html +2 -2
- package/doc/interfaces/controls.IMessageDatabase.html +4 -0
- package/doc/interfaces/controls.InlineEditorProps.html +2 -2
- package/doc/interfaces/controls.LabelProps.html +2 -2
- package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -0
- package/doc/interfaces/controls.LinIdentifierControlProps.html +35 -0
- package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +33 -0
- package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -0
- package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +25 -0
- package/doc/interfaces/controls.NumberRangeControlProps.html +2 -2
- package/doc/interfaces/controls.RadioControlProps.html +2 -2
- package/doc/interfaces/controls.RadioGroupControlProps.html +2 -2
- package/doc/interfaces/controls.SectionControlProps.html +2 -2
- package/doc/interfaces/controls.SelectControlProps.html +2 -2
- package/doc/interfaces/controls.SelectMessageDialogProps.html +8 -0
- package/doc/interfaces/controls.SelectSignalDialogProps.html +12 -0
- package/doc/interfaces/controls.TableColumn.html +2 -2
- package/doc/interfaces/controls.TableControlProps.html +9 -3
- package/doc/interfaces/controls.TextControlProps.html +2 -2
- package/doc/interfaces/controls.ToggleButtonGroupProps.html +2 -2
- package/doc/interfaces/controls.ToggleButtonProps.html +2 -2
- package/doc/interfaces/controls.ToolbarControlProps.html +2 -2
- package/doc/interfaces/controls.ValidateableTextControlProps.html +2 -2
- package/doc/interfaces/controls.toolbarItem.html +2 -2
- package/doc/interfaces/ipc.ILogger.html +2 -2
- package/doc/interfaces/models.AboutInformation.html +2 -2
- package/doc/interfaces/models.ActivateLicenseRequest.html +2 -2
- package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +2 -2
- package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +2 -2
- package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +2 -2
- package/doc/interfaces/models.AddOrUpdateSourceRequest.html +2 -2
- package/doc/interfaces/models.AddOrUpdateTargetRequest.html +2 -2
- package/doc/interfaces/models.ApiPreferences.html +2 -2
- package/doc/interfaces/models.AppEventArgs.html +2 -2
- package/doc/interfaces/models.BaseNodeProperties.html +2 -2
- package/doc/interfaces/models.BusStatus.html +2 -2
- package/doc/interfaces/models.CanBusParamLimits.html +2 -2
- package/doc/interfaces/models.CanBusParams.html +2 -2
- package/doc/interfaces/models.CanBusSpeedInfo.html +7 -13
- package/doc/interfaces/models.CanChannelCapacity.html +2 -2
- package/doc/interfaces/models.CanChannelConfiguration.html +11 -7
- package/doc/interfaces/models.CanFDBusSpeedCombination.html +4 -4
- package/doc/interfaces/models.CanFDBusSpeedInfo.html +8 -16
- package/doc/interfaces/models.CanFrameFlags.html +2 -2
- package/doc/interfaces/models.CanMessageFilterSettings.html +3 -3
- package/doc/interfaces/models.Channel.html +2 -2
- package/doc/interfaces/models.ChannelSettings.html +2 -2
- package/doc/interfaces/models.ClearLinMessageRequest.html +2 -2
- package/doc/interfaces/models.ConnectNodesRequest.html +2 -2
- package/doc/interfaces/models.DataProcessingStatus.html +2 -2
- package/doc/interfaces/models.DataProcessorNodeProperties.html +2 -2
- package/doc/interfaces/models.DatabaseFiles.html +6 -0
- package/doc/interfaces/models.DatabasesSettings.html +2 -2
- package/doc/interfaces/models.Device.html +2 -2
- package/doc/interfaces/models.DeviceEventArgs.html +2 -2
- package/doc/interfaces/models.Devices.html +2 -2
- package/doc/interfaces/models.DisconnectNodesRequest.html +2 -2
- package/doc/interfaces/models.Empty.html +2 -2
- package/doc/interfaces/models.ErrorStatus.html +2 -2
- package/doc/interfaces/models.Frame.html +2 -2
- package/doc/interfaces/models.FrameDefinition.html +2 -2
- package/doc/interfaces/models.FrameDefinitions.html +2 -2
- package/doc/interfaces/models.FramePropertyValue.html +2 -2
- package/doc/interfaces/models.FrameReceivedTrigger.html +2 -2
- package/doc/interfaces/models.Frame_PropertiesEntry.html +2 -2
- package/doc/interfaces/models.Frames.html +2 -2
- package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +6 -3
- package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +2 -2
- package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +2 -2
- package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +2 -2
- package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +2 -2
- package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +2 -2
- package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +2 -2
- package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +2 -2
- package/doc/interfaces/models.GetDataProcessorResponse.html +2 -2
- package/doc/interfaces/models.GetDevicesRequest.html +2 -2
- package/doc/interfaces/models.GetDevicesResponse.html +2 -2
- package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +2 -2
- package/doc/interfaces/models.GetLicensesResponse.html +2 -2
- package/doc/interfaces/models.GetLogFileFormatsRequest.html +6 -4
- package/doc/interfaces/models.GetLogFileFormatsResponse.html +2 -2
- package/doc/interfaces/models.GetLogLevelResponse.html +2 -2
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +2 -2
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +2 -2
- package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +2 -2
- package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +2 -2
- package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +2 -2
- package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +2 -2
- package/doc/interfaces/models.GetSourceResponse.html +2 -2
- package/doc/interfaces/models.GetTargetResponse.html +2 -2
- package/doc/interfaces/models.ILogFileFormat.html +2 -2
- package/doc/interfaces/models.IProject.html +2 -2
- package/doc/interfaces/models.IUserSettings.html +2 -2
- package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -2
- package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -2
- package/doc/interfaces/models.IWorkspaceData.html +2 -2
- package/doc/interfaces/models.IWorkspacePaneData.html +2 -2
- package/doc/interfaces/models.IdentifierRequest.html +2 -2
- package/doc/interfaces/models.IdentifiersRequest.html +2 -2
- package/doc/interfaces/models.InstallServiceExtensionRequest.html +2 -2
- package/doc/interfaces/models.InterpreterSettings.html +2 -2
- package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
- package/doc/interfaces/models.LicenseInformation.html +2 -2
- package/doc/interfaces/models.Licenses.html +2 -2
- package/doc/interfaces/models.LinChannelConfiguration.html +5 -3
- package/doc/interfaces/models.LinFrameFlags.html +2 -2
- package/doc/interfaces/models.LogMessage.html +2 -2
- package/doc/interfaces/models.LogMessages.html +2 -2
- package/doc/interfaces/models.LogReplaySettings.html +2 -2
- package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +2 -2
- package/doc/interfaces/models.LogReplayStatus.html +2 -2
- package/doc/interfaces/models.LoggerStatus.html +3 -0
- package/doc/interfaces/models.MeasurementEventArgs.html +2 -2
- package/doc/interfaces/models.MeasurementSetup.html +2 -2
- package/doc/interfaces/models.MessageLoggerSettings.html +18 -14
- package/doc/interfaces/models.NodeStatus.html +5 -5
- package/doc/interfaces/models.NodeStatuses.html +2 -2
- package/doc/interfaces/models.OnlineStatus.html +2 -2
- package/doc/interfaces/models.PeriodicTransmissionSettings.html +2 -2
- package/doc/interfaces/models.RequestLinMessageRequest.html +2 -2
- package/doc/interfaces/models.ScheduleTable.html +2 -2
- package/doc/interfaces/models.ScheduleTableEntry.html +2 -2
- package/doc/interfaces/models.SendLinWakeupFrameRequest.html +2 -2
- package/doc/interfaces/models.SendMessageRequest.html +2 -2
- package/doc/interfaces/models.ServiceExtensionSettings.html +2 -2
- package/doc/interfaces/models.SetLogLevelRequest.html +2 -2
- package/doc/interfaces/models.SetMeasurementSetupRequest.html +2 -2
- package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +2 -2
- package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +2 -2
- package/doc/interfaces/models.SignalDefinition.html +3 -3
- package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +2 -2
- package/doc/interfaces/models.SignalDefinitions.html +2 -2
- package/doc/interfaces/models.SignalFilterSettings.html +4 -0
- package/doc/interfaces/models.SignalLoggerSettings.html +56 -0
- package/doc/interfaces/models.SignalValue.html +3 -3
- package/doc/interfaces/models.SignalValueTrigger.html +2 -2
- package/doc/interfaces/models.SourceNodeProperties.html +2 -2
- package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +2 -2
- package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +2 -2
- package/doc/interfaces/models.TargetNodeProperties.html +4 -3
- package/doc/interfaces/models.TriggerSettings.html +2 -2
- package/doc/interfaces/models.UninstallServiceExtensionRequest.html +2 -2
- package/doc/interfaces/models.UpdateLinMessageRequest.html +2 -2
- package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +2 -2
- package/doc/interfaces/models.WriteFrame.html +2 -2
- package/doc/modules/controls.html +2 -2
- package/doc/modules/hooks.html +2 -2
- 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 +2 -2
- package/doc/types/controls.SelectOption.html +2 -2
- package/doc/types/controls.StringsMap.html +2 -2
- package/doc/types/controls.canIdentifierGeneratorType.html +2 -0
- package/doc/types/controls.canIdentifierType.html +2 -2
- package/doc/types/controls.linIdentifierGeneratorType.html +2 -0
- package/doc/types/models.IReadOnlyDataBuffer.html +1 -1
- package/doc/types/models.themes.html +1 -1
- package/doc/variables/models.AboutInformation-1.html +1 -1
- package/doc/variables/models.ActivateLicenseRequest-1.html +1 -1
- package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +1 -1
- package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +1 -1
- package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +1 -1
- package/doc/variables/models.AddOrUpdateSourceRequest-1.html +1 -1
- package/doc/variables/models.AddOrUpdateTargetRequest-1.html +1 -1
- package/doc/variables/models.ApiPreferences-1.html +1 -1
- package/doc/variables/models.AppEventArgs-1.html +1 -1
- package/doc/variables/models.BaseNodeProperties-1.html +1 -1
- package/doc/variables/models.BusStatus-1.html +1 -1
- package/doc/variables/models.CanBusParamLimits-1.html +1 -1
- package/doc/variables/models.CanBusParams-1.html +1 -1
- package/doc/variables/models.CanBusSpeedInfo-1.html +1 -1
- package/doc/variables/models.CanChannelCapacity-1.html +1 -1
- package/doc/variables/models.CanChannelConfiguration-1.html +1 -1
- package/doc/variables/models.CanFDBusSpeedCombination-1.html +1 -1
- package/doc/variables/models.CanFDBusSpeedInfo-1.html +1 -1
- package/doc/variables/models.CanFrameFlags-1.html +1 -1
- package/doc/variables/models.CanMessageFilterSettings-1.html +1 -1
- package/doc/variables/models.Channel-1.html +1 -1
- package/doc/variables/models.ChannelSettings-1.html +1 -1
- package/doc/variables/models.ClearLinMessageRequest-1.html +1 -1
- package/doc/variables/models.ConnectNodesRequest-1.html +1 -1
- package/doc/variables/models.DataProcessingStatus-1.html +1 -1
- package/doc/variables/models.DataProcessorNodeProperties-1.html +1 -1
- package/doc/variables/models.DatabaseFiles-1.html +1 -0
- package/doc/variables/models.DatabasesSettings-1.html +1 -1
- package/doc/variables/models.Device-1.html +1 -1
- package/doc/variables/models.DeviceEventArgs-1.html +1 -1
- package/doc/variables/models.Devices-1.html +1 -1
- package/doc/variables/models.DisconnectNodesRequest-1.html +1 -1
- package/doc/variables/models.Empty-1.html +1 -1
- package/doc/variables/models.ErrorStatus-1.html +1 -1
- package/doc/variables/models.Frame-1.html +1 -1
- package/doc/variables/models.FrameDefinition-1.html +1 -1
- package/doc/variables/models.FrameDefinitions-1.html +1 -1
- package/doc/variables/models.FramePropertyValue-1.html +1 -1
- package/doc/variables/models.FrameReceivedTrigger-1.html +1 -1
- package/doc/variables/models.Frame_PropertiesEntry-1.html +1 -1
- package/doc/variables/models.Frames-1.html +1 -1
- package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +1 -1
- package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +1 -1
- package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +1 -1
- package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +1 -1
- package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +1 -1
- package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +1 -1
- package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +1 -1
- package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +1 -1
- package/doc/variables/models.GetDataProcessorResponse-1.html +1 -1
- package/doc/variables/models.GetDevicesRequest-1.html +1 -1
- package/doc/variables/models.GetDevicesResponse-1.html +1 -1
- package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +1 -1
- package/doc/variables/models.GetLicensesResponse-1.html +1 -1
- package/doc/variables/models.GetLogFileFormatsRequest-1.html +1 -1
- package/doc/variables/models.GetLogFileFormatsResponse-1.html +1 -1
- package/doc/variables/models.GetLogLevelResponse-1.html +1 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +1 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +1 -1
- package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +1 -1
- package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +1 -1
- package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +1 -1
- package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +1 -1
- package/doc/variables/models.GetSourceResponse-1.html +1 -1
- package/doc/variables/models.GetTargetResponse-1.html +1 -1
- package/doc/variables/models.IdentifierRequest-1.html +1 -1
- package/doc/variables/models.IdentifiersRequest-1.html +1 -1
- package/doc/variables/models.InstallServiceExtensionRequest-1.html +1 -1
- package/doc/variables/models.InterpreterSettings-1.html +1 -1
- package/doc/variables/models.J1939InterpreterSettings-1.html +1 -1
- package/doc/variables/models.LicenseInformation-1.html +1 -1
- package/doc/variables/models.Licenses-1.html +1 -1
- package/doc/variables/models.LinChannelConfiguration-1.html +1 -1
- package/doc/variables/models.LinFrameFlags-1.html +1 -1
- package/doc/variables/models.LogMessage-1.html +1 -1
- package/doc/variables/models.LogMessages-1.html +1 -1
- package/doc/variables/models.LogReplaySettings-1.html +1 -1
- package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +1 -1
- package/doc/variables/models.LogReplayStatus-1.html +1 -1
- package/doc/variables/models.LoggerStatus-1.html +1 -0
- package/doc/variables/models.MeasurementEventArgs-1.html +1 -1
- package/doc/variables/models.MeasurementSetup-1.html +1 -1
- package/doc/variables/models.MessageLoggerSettings-1.html +1 -1
- package/doc/variables/models.NodeStatus-1.html +1 -1
- package/doc/variables/models.NodeStatuses-1.html +1 -1
- package/doc/variables/models.OnlineStatus-1.html +1 -1
- package/doc/variables/models.PeriodicTransmissionSettings-1.html +1 -1
- package/doc/variables/models.RequestLinMessageRequest-1.html +1 -1
- package/doc/variables/models.ScheduleTable-1.html +1 -1
- package/doc/variables/models.ScheduleTableEntry-1.html +1 -1
- package/doc/variables/models.SendLinWakeupFrameRequest-1.html +1 -1
- package/doc/variables/models.SendMessageRequest-1.html +1 -1
- package/doc/variables/models.ServiceExtensionSettings-1.html +1 -1
- package/doc/variables/models.SetLogLevelRequest-1.html +1 -1
- package/doc/variables/models.SetMeasurementSetupRequest-1.html +1 -1
- package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +1 -1
- package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +1 -1
- package/doc/variables/models.SignalDefinition-1.html +1 -1
- package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +1 -1
- package/doc/variables/models.SignalDefinitions-1.html +1 -1
- package/doc/variables/models.SignalFilterSettings-1.html +1 -0
- package/doc/variables/models.SignalLoggerSettings-1.html +1 -0
- package/doc/variables/models.SignalValue-1.html +1 -1
- package/doc/variables/models.SignalValueTrigger-1.html +1 -1
- package/doc/variables/models.SourceNodeProperties-1.html +1 -1
- package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +1 -1
- package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +1 -1
- package/doc/variables/models.TargetNodeProperties-1.html +1 -1
- package/doc/variables/models.TriggerSettings-1.html +1 -1
- package/doc/variables/models.UninstallServiceExtensionRequest-1.html +1 -1
- package/doc/variables/models.UpdateLinMessageRequest-1.html +1 -1
- package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +1 -1
- package/doc/variables/models.WriteFrame-1.html +1 -1
- package/doc/variables/models.defaultUserSettings.html +2 -2
- package/package.json +14 -1
- package/doc/functions/models.messageLoggerStateFromJSON.html +0 -1
- package/doc/functions/models.messageLoggerStateToJSON.html +0 -1
- package/doc/interfaces/models.CanBusSpeed.html +0 -14
- package/doc/interfaces/models.MessageLoggerStatus.html +0 -3
- package/doc/variables/models.CanBusSpeed-1.html +0 -1
- package/doc/variables/models.MessageLoggerStatus-1.html +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var Y = Object.defineProperty;
|
|
2
2
|
var Z = (e, t, s) => t in e ? Y(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
|
-
var
|
|
3
|
+
var I = (e, t, s) => Z(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
4
|
import { createContext as w, useState as m, useEffect as p, useRef as V, useCallback as E, useContext as P, useMemo as S } from "react";
|
|
5
5
|
import { v4 as h } from "uuid";
|
|
6
6
|
import "long";
|
|
7
7
|
import { e as U } from "./ElectronAPIFake.mjs";
|
|
8
|
-
import { S as
|
|
8
|
+
import { S as z } from "./status_params.mjs";
|
|
9
9
|
import { jsx as u, jsxs as ee } from "react/jsx-runtime";
|
|
10
10
|
import { createTheme as B, ThemeProvider as se, CssBaseline as te } from "@mui/material";
|
|
11
11
|
import { getLogger as ne } from "./ipc.mjs";
|
|
@@ -23,8 +23,8 @@ const oe = (e, t, ...s) => {
|
|
|
23
23
|
};
|
|
24
24
|
class ie {
|
|
25
25
|
constructor(t, s) {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
I(this, "language");
|
|
27
|
+
I(this, "strings");
|
|
28
28
|
this.language = t, this.strings = s;
|
|
29
29
|
}
|
|
30
30
|
getString(t, ...s) {
|
|
@@ -144,7 +144,7 @@ function ce({ children: e }) {
|
|
|
144
144
|
e
|
|
145
145
|
] });
|
|
146
146
|
}
|
|
147
|
-
const T = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(),
|
|
147
|
+
const T = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), R = /* @__PURE__ */ new Map(), D = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), x = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map();
|
|
148
148
|
async function v(e, t, s, a) {
|
|
149
149
|
switch (t) {
|
|
150
150
|
case "devices-changed": {
|
|
@@ -166,20 +166,20 @@ async function v(e, t, s, a) {
|
|
|
166
166
|
return l.ipcRenderer.invoke("app-get-user-settings");
|
|
167
167
|
}
|
|
168
168
|
case "new-log-messages": {
|
|
169
|
-
if (
|
|
169
|
+
if (R.has(e))
|
|
170
170
|
d.warn("The callback has already been added as listener to this event!");
|
|
171
171
|
else {
|
|
172
172
|
const r = s, n = (c, i) => r(i), o = l.ipcRenderer.on("new-log-messages", n);
|
|
173
|
-
|
|
173
|
+
R.set(e, { remover: o, listener: n });
|
|
174
174
|
}
|
|
175
175
|
return Promise.resolve();
|
|
176
176
|
}
|
|
177
177
|
case "online-status-changed": {
|
|
178
|
-
if (
|
|
178
|
+
if (D.has(e))
|
|
179
179
|
d.warn("The callback has already been added as listener to this event!");
|
|
180
180
|
else {
|
|
181
181
|
const r = s, n = (c, i) => r(i), o = l.ipcRenderer.on("mm-is-online-changed", n);
|
|
182
|
-
|
|
182
|
+
D.set(e, { remover: o, listener: n });
|
|
183
183
|
}
|
|
184
184
|
return l.ipcRenderer.invoke("rpc-get-online-status");
|
|
185
185
|
}
|
|
@@ -202,20 +202,20 @@ async function v(e, t, s, a) {
|
|
|
202
202
|
return Promise.resolve("");
|
|
203
203
|
}
|
|
204
204
|
case "new-measurement-data": {
|
|
205
|
-
if (
|
|
205
|
+
if (F.has(e))
|
|
206
206
|
d.warn("The callback has already been added as listener to this event!");
|
|
207
207
|
else {
|
|
208
208
|
const r = s, n = (c, i) => r(i), o = l.ipcRenderer.on("mm-new-measurement-data", n);
|
|
209
|
-
|
|
209
|
+
F.set(e, { remover: o, listener: n });
|
|
210
210
|
}
|
|
211
211
|
return (a == null ? void 0 : a.numberOfHistoryFrames) > 0 ? l.ipcRenderer.invoke("mm-get-latest-measurement-data", a.numberOfHistoryFrames) : Promise.resolve([]);
|
|
212
212
|
}
|
|
213
213
|
case "new-measurement-status": {
|
|
214
|
-
if (
|
|
214
|
+
if (O.has(e))
|
|
215
215
|
d.warn("The callback has already been added as listener to this event!");
|
|
216
216
|
else {
|
|
217
217
|
const r = s, n = (c, i) => r(i), o = l.ipcRenderer.on("mm-new-measurement-status", n);
|
|
218
|
-
|
|
218
|
+
O.set(e, { remover: o, listener: n });
|
|
219
219
|
}
|
|
220
220
|
return l.ipcRenderer.invoke("rpc-get-node-statuses");
|
|
221
221
|
}
|
|
@@ -229,11 +229,11 @@ async function v(e, t, s, a) {
|
|
|
229
229
|
return l.ipcRenderer.invoke("prj-get-meas-setup");
|
|
230
230
|
}
|
|
231
231
|
case "workspace-panes-changed": {
|
|
232
|
-
if (
|
|
232
|
+
if (j.has(e))
|
|
233
233
|
d.warn("The callback has already been added as listener to this event!");
|
|
234
234
|
else {
|
|
235
235
|
const r = s, n = (c, i) => r(i), o = l.ipcRenderer.on("project-workspace-panes-changed", n);
|
|
236
|
-
|
|
236
|
+
j.set(e, { remover: o, listener: n });
|
|
237
237
|
}
|
|
238
238
|
return l.ipcRenderer.invoke("prj-get-workspace-panes");
|
|
239
239
|
}
|
|
@@ -256,14 +256,14 @@ const f = async (e, t) => {
|
|
|
256
256
|
break;
|
|
257
257
|
case "new-log-messages":
|
|
258
258
|
{
|
|
259
|
-
const s =
|
|
260
|
-
s ? (s.remover(),
|
|
259
|
+
const s = R.get(e);
|
|
260
|
+
s ? (s.remover(), R.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
261
261
|
}
|
|
262
262
|
break;
|
|
263
263
|
case "online-status-changed":
|
|
264
264
|
{
|
|
265
|
-
const s =
|
|
266
|
-
s ? (s.remover(),
|
|
265
|
+
const s = D.get(e);
|
|
266
|
+
s ? (s.remover(), D.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
267
267
|
}
|
|
268
268
|
break;
|
|
269
269
|
case "periodic-trans-started":
|
|
@@ -280,14 +280,14 @@ const f = async (e, t) => {
|
|
|
280
280
|
break;
|
|
281
281
|
case "new-measurement-data":
|
|
282
282
|
{
|
|
283
|
-
const s =
|
|
284
|
-
s ? (s.remover(),
|
|
283
|
+
const s = F.get(e);
|
|
284
|
+
s ? (s.remover(), F.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
285
285
|
}
|
|
286
286
|
break;
|
|
287
287
|
case "new-measurement-status":
|
|
288
288
|
{
|
|
289
|
-
const s =
|
|
290
|
-
s ? (s.remover(),
|
|
289
|
+
const s = O.get(e);
|
|
290
|
+
s ? (s.remover(), O.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
291
291
|
}
|
|
292
292
|
break;
|
|
293
293
|
case "meas-setup-changed":
|
|
@@ -298,8 +298,8 @@ const f = async (e, t) => {
|
|
|
298
298
|
break;
|
|
299
299
|
case "workspace-panes-changed":
|
|
300
300
|
{
|
|
301
|
-
const s =
|
|
302
|
-
s ? (s.remover(),
|
|
301
|
+
const s = j.get(e);
|
|
302
|
+
s ? (s.remover(), j.delete(e)) : d.warn("The callback has not been added as listener to this event!");
|
|
303
303
|
}
|
|
304
304
|
break;
|
|
305
305
|
}
|
|
@@ -452,16 +452,16 @@ const f = async (e, t) => {
|
|
|
452
452
|
}, xe = ({
|
|
453
453
|
initialUserSettings: e = void 0,
|
|
454
454
|
children: t = void 0
|
|
455
|
-
}) => /* @__PURE__ */ u(le, { initialUserSettings: e, children: /* @__PURE__ */ u(ue, { children: /* @__PURE__ */ u(me, { children: /* @__PURE__ */ u(ge, { children: /* @__PURE__ */ u(pe, { children: /* @__PURE__ */ u(he, { children: /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ u(fe, { children: /* @__PURE__ */ u(ce, { children: t }) }) }) }) }) }) }) }) }),
|
|
455
|
+
}) => /* @__PURE__ */ u(le, { initialUserSettings: e, children: /* @__PURE__ */ u(ue, { children: /* @__PURE__ */ u(me, { children: /* @__PURE__ */ u(ge, { children: /* @__PURE__ */ u(pe, { children: /* @__PURE__ */ u(he, { children: /* @__PURE__ */ u(ve, { children: /* @__PURE__ */ u(fe, { children: /* @__PURE__ */ u(ce, { children: t }) }) }) }) }) }) }) }) }), N = window.electron ?? U, M = () => P(H), Fe = () => {
|
|
456
456
|
const e = M();
|
|
457
457
|
return S(() => e.useHexNumericBase ? 16 : 10, [e.useHexNumericBase]);
|
|
458
|
-
},
|
|
458
|
+
}, Oe = () => {
|
|
459
459
|
const e = M();
|
|
460
460
|
return S(() => e.maxDataBytes, [e.maxDataBytes]);
|
|
461
461
|
}, ye = () => {
|
|
462
462
|
const e = M();
|
|
463
463
|
return S(() => e.language, [e.language]);
|
|
464
|
-
},
|
|
464
|
+
}, je = () => {
|
|
465
465
|
const e = M();
|
|
466
466
|
return S(
|
|
467
467
|
() => new ie(e.language, e.strings),
|
|
@@ -477,9 +477,9 @@ const f = async (e, t) => {
|
|
|
477
477
|
const e = X();
|
|
478
478
|
return S(() => {
|
|
479
479
|
const s = e.filter((a) => a.busStatus).map((a) => Math.max(
|
|
480
|
-
Number(a.busStatus.busOnStatus) ??
|
|
481
|
-
Number(a.busStatus.errorStatus) ??
|
|
482
|
-
Number(a.busStatus.overrunStatus) ??
|
|
480
|
+
Number(a.busStatus.busOnStatus) ?? z.STATUS_LEVEL_NONE,
|
|
481
|
+
Number(a.busStatus.errorStatus) ?? z.STATUS_LEVEL_NONE,
|
|
482
|
+
Number(a.busStatus.overrunStatus) ?? z.STATUS_LEVEL_NONE
|
|
483
483
|
));
|
|
484
484
|
return Math.max(...s);
|
|
485
485
|
}, [e]);
|
|
@@ -534,7 +534,7 @@ const f = async (e, t) => {
|
|
|
534
534
|
}, Je = (e, t) => {
|
|
535
535
|
const [s, a] = m(!1), [r, n] = m(t ?? {});
|
|
536
536
|
return p(() => {
|
|
537
|
-
|
|
537
|
+
N.ipcRenderer.invoke("app-get-workspace-view-session-data", e).then((o) => {
|
|
538
538
|
try {
|
|
539
539
|
const c = o ? JSON.parse(o) : {};
|
|
540
540
|
t !== void 0 ? (n(Object.assign({}, t, c)), a(!0)) : (n(c), a(!0));
|
|
@@ -546,7 +546,7 @@ const f = async (e, t) => {
|
|
|
546
546
|
try {
|
|
547
547
|
if (s) {
|
|
548
548
|
const o = JSON.stringify(r);
|
|
549
|
-
|
|
549
|
+
N.ipcRenderer.invoke("app-set-workspace-view-session-data", e, o).catch();
|
|
550
550
|
}
|
|
551
551
|
} catch {
|
|
552
552
|
}
|
|
@@ -554,10 +554,15 @@ const f = async (e, t) => {
|
|
|
554
554
|
}, Ke = (e) => {
|
|
555
555
|
const [t] = P(_);
|
|
556
556
|
return S(() => t.find((a) => a.id === e) ?? null, [e, t]);
|
|
557
|
-
}, $e = () => {
|
|
557
|
+
}, $e = (e = !1) => {
|
|
558
|
+
const [t, s] = m([]);
|
|
559
|
+
return p(() => {
|
|
560
|
+
N.ipcRenderer.invoke("rpc-get-message-log-file-formats", e).then((a) => s(a)).catch();
|
|
561
|
+
}, [e]), t;
|
|
562
|
+
}, qe = () => {
|
|
558
563
|
const [e, t] = m([]);
|
|
559
564
|
return p(() => {
|
|
560
|
-
|
|
565
|
+
N.ipcRenderer.invoke("rpc-get-signal-log-file-formats").then((s) => t(s)).catch();
|
|
561
566
|
}, []), e;
|
|
562
567
|
};
|
|
563
568
|
export {
|
|
@@ -570,14 +575,14 @@ export {
|
|
|
570
575
|
H as U,
|
|
571
576
|
_ as W,
|
|
572
577
|
ye as a,
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
578
|
+
v as b,
|
|
579
|
+
Fe as c,
|
|
580
|
+
ze as d,
|
|
581
|
+
X as e,
|
|
577
582
|
$ as f,
|
|
578
583
|
G as g,
|
|
579
584
|
M as h,
|
|
580
|
-
|
|
585
|
+
Oe as i,
|
|
581
586
|
Ne as j,
|
|
582
587
|
Ie as k,
|
|
583
588
|
_e as l,
|
|
@@ -589,8 +594,9 @@ export {
|
|
|
589
594
|
f as r,
|
|
590
595
|
We as s,
|
|
591
596
|
He as t,
|
|
592
|
-
|
|
597
|
+
je as u,
|
|
593
598
|
Je as v,
|
|
594
599
|
Ke as w,
|
|
595
|
-
$e as x
|
|
600
|
+
$e as x,
|
|
601
|
+
qe as y
|
|
596
602
|
};
|
package/dist/ipc/index.d.ts
CHANGED
|
@@ -125,6 +125,25 @@ export declare const sendMessage: (channelId: string, frame: WriteFrame) => Prom
|
|
|
125
125
|
* @param flags - Any extra {@link CanFrameFlag} values to control how the message is sent out.
|
|
126
126
|
*/
|
|
127
127
|
export declare const sendCanMessage: (channelId: string, canId: number, data: number[], ...flags: CanFrameFlag[]) => Promise<void>;
|
|
128
|
+
/**
|
|
129
|
+
* Updates a LIN slave channel's message buffer.
|
|
130
|
+
* @param channelId - Identifier of the out channel to be used when updating the message.
|
|
131
|
+
* @param frame - Definition of the frame to be sent out.
|
|
132
|
+
*/
|
|
133
|
+
export declare const updateLinMessage: (channelId: string, frame: WriteFrame) => Promise<void>;
|
|
134
|
+
/**
|
|
135
|
+
* Clears a LIN slave channel's message buffer.
|
|
136
|
+
* @param channelId - Identifier of the out channel to be used when clearing the message.
|
|
137
|
+
* @param frameId - Identifier of the message to be cleared.
|
|
138
|
+
*/
|
|
139
|
+
export declare const clearLinMessage: (channelId: string, frameId: number) => Promise<void>;
|
|
140
|
+
/**
|
|
141
|
+
* Writes a LIN request message (a LIN message header) to the LIN bus. A slave in the system is then expected to fill in the header
|
|
142
|
+
* with data. Note: This call is only available in master mode.
|
|
143
|
+
* @param channelId - Identifier of the out channel to be used when sending the message.
|
|
144
|
+
* @param frameId - Identifier of the message to be requested.
|
|
145
|
+
*/
|
|
146
|
+
export declare const requestLinMessage: (channelId: string, frameId: number) => Promise<void>;
|
|
128
147
|
/**
|
|
129
148
|
* Starts a new periodic transmission.
|
|
130
149
|
* @param settings - The periodic transmission settings.
|
|
@@ -157,6 +176,11 @@ export declare const stopLogReplay: (logReplayId: string) => Promise<void>;
|
|
|
157
176
|
* @returns A promise that resolves with a collection of all available message log file formats.
|
|
158
177
|
*/
|
|
159
178
|
export declare const getMessageLogFileFormats: () => Promise<ILogFileFormat[]>;
|
|
179
|
+
/**
|
|
180
|
+
* Gets all available signal log file formats.
|
|
181
|
+
* @returns A promise that resolves with a collection of all available signal log file formats.
|
|
182
|
+
*/
|
|
183
|
+
export declare const getSignalLogFileFormats: () => Promise<ILogFileFormat[]>;
|
|
160
184
|
/**
|
|
161
185
|
* Gets all available frame definitions.
|
|
162
186
|
* @param nodeIdentifier - An optional node identifier. If specified then all frame definitions available for the
|
package/dist/ipc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var p=Object.defineProperty;var g=(e,
|
|
1
|
+
"use strict";var p=Object.defineProperty;var g=(e,s,n)=>s in e?p(e,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[s]=n;var i=(e,s,n)=>g(e,typeof s!="symbol"?s+"":s,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("long");const m=require("./ElectronAPIFake.js"),l=require("./measurement_settings.js"),a=window.electron??m.electronApiFake,c=e=>e&&e.message!==void 0,r=(e,s,n)=>{a.ipcRenderer.invoke("app-add-log-message",{time:Date.now(),logLevel:e,categoryName:s,message:n})};class u{constructor(s){i(this,"categoryName");this.categoryName=s}trace(s){r(0,this.categoryName,s)}debug(s){r(1,this.categoryName,s)}info(s){r(2,this.categoryName,s)}warn(s){r(3,this.categoryName,s)}error(s,n){typeof s=="string"?r(4,this.categoryName,s):c(s)&&r(4,this.categoryName,s.message),c(n)&&r(4,this.categoryName,n.message)}critical(s){r(5,this.categoryName,s)}}const y=e=>new u(e),w=async(e,s)=>{await a.ipcRenderer.invoke("app-show-message-box",e,s)},R=async(e,s,n,t,o)=>await a.ipcRenderer.invoke("app-show-question-box",e,s,n,t,o),k=async()=>{await a.ipcRenderer.invoke("rpc-start-measurement")},v=async()=>{await a.ipcRenderer.invoke("rpc-stop-measurement")},f=async e=>{await a.ipcRenderer.invoke("rpc-add-source",e)},M=async e=>{await a.ipcRenderer.invoke("rpc-update-source",e)},N=async e=>{await a.ipcRenderer.invoke("rpc-delete-source",e)},L=async(e,s,n)=>{await a.ipcRenderer.invoke("rpc-add-data-processor",e,s,n)},h=async e=>{await a.ipcRenderer.invoke("rpc-update-data-processor",e)},F=async e=>{await a.ipcRenderer.invoke("rpc-delete-data-processor",e)},P=async e=>{await a.ipcRenderer.invoke("rpc-add-target",e)},T=async e=>{await a.ipcRenderer.invoke("rpc-update-target",e)},b=async e=>{await a.ipcRenderer.invoke("rpc-delete-target",e)},D=async(e,s)=>{await a.ipcRenderer.invoke("rpc-connect-nodes",e,s)},S=async(e,s)=>{await a.ipcRenderer.invoke("rpc-disconnect-nodes",e,s)},q=async e=>{await a.ipcRenderer.invoke("rpc-enable-node",e)},x=async e=>{await a.ipcRenderer.invoke("rpc-disable-node",e)},d=async(e,s)=>{await a.ipcRenderer.invoke("rpc-send-message",e,s)},B=async(e,s,n,...t)=>{const o=l.WriteFrame.fromPartial({id:s,data:n,canFrameFlags:{flags:t}});await d(e,o)},I=async(e,s)=>{await a.ipcRenderer.invoke("rpc-update-lin-message",e,s)},A=async(e,s)=>{await a.ipcRenderer.invoke("rpc-clear-lin-message",e,s)},C=async(e,s)=>{await a.ipcRenderer.invoke("rpc-request-lin-message",e,s)},E=async e=>await a.ipcRenderer.invoke("rpc-start-periodic-transmission",e),Q=async(e,s)=>{await a.ipcRenderer.invoke("rpc-update-periodic-transmission",e,s)},j=async e=>{await a.ipcRenderer.invoke("rpc-stop-periodic-transmission",e)},O=async e=>{await a.ipcRenderer.invoke("rpc-start-log-replay",e)},W=async e=>{await a.ipcRenderer.invoke("rpc-stop-log-replay",e)},_=async()=>await a.ipcRenderer.invoke("rpc-get-message-log-file-formats"),z=async()=>await a.ipcRenderer.invoke("rpc-get-signal-log-file-formats"),G=async e=>await a.ipcRenderer.invoke("rpc-get-frame-definitions",e);exports.addDataProcessor=L;exports.addSource=f;exports.addTarget=P;exports.clearLinMessage=A;exports.connectNodes=D;exports.deleteDataProcessor=F;exports.deleteSource=N;exports.deleteTarget=b;exports.disableNode=x;exports.disconnectNodes=S;exports.enableNode=q;exports.getFrameDefinitions=G;exports.getLogger=y;exports.getMessageLogFileFormats=_;exports.getSignalLogFileFormats=z;exports.requestLinMessage=C;exports.sendCanMessage=B;exports.sendMessage=d;exports.showMessageBox=w;exports.showQuestionBox=R;exports.startLogReplay=O;exports.startMeasurement=k;exports.startPeriodicTransmission=E;exports.stopLogReplay=W;exports.stopMeasurement=v;exports.stopPeriodicTransmission=j;exports.updateDataProcessor=h;exports.updateLinMessage=I;exports.updatePeriodicTransmission=Q;exports.updateSource=M;exports.updateTarget=T;
|
package/dist/ipc.mjs
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
|
-
var d = (e, a,
|
|
3
|
-
var
|
|
2
|
+
var d = (e, a, s) => a in e ? p(e, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[a] = s;
|
|
3
|
+
var i = (e, a, s) => d(e, typeof a != "symbol" ? a + "" : a, s);
|
|
4
4
|
import "long";
|
|
5
|
-
import { e as
|
|
6
|
-
import { W as
|
|
7
|
-
const n = window.electron ??
|
|
5
|
+
import { e as g } from "./ElectronAPIFake.mjs";
|
|
6
|
+
import { W as m } from "./measurement_settings.mjs";
|
|
7
|
+
const n = window.electron ?? g, c = (e) => e && e.message !== void 0, r = (e, a, s) => {
|
|
8
8
|
n.ipcRenderer.invoke("app-add-log-message", {
|
|
9
9
|
time: Date.now(),
|
|
10
10
|
logLevel: e,
|
|
11
11
|
categoryName: a,
|
|
12
|
-
message:
|
|
12
|
+
message: s
|
|
13
13
|
});
|
|
14
14
|
};
|
|
15
15
|
class y {
|
|
16
16
|
constructor(a) {
|
|
17
|
-
|
|
17
|
+
i(this, "categoryName");
|
|
18
18
|
this.categoryName = a;
|
|
19
19
|
}
|
|
20
20
|
trace(a) {
|
|
21
|
-
|
|
21
|
+
r(0, this.categoryName, a);
|
|
22
22
|
}
|
|
23
23
|
debug(a) {
|
|
24
|
-
|
|
24
|
+
r(1, this.categoryName, a);
|
|
25
25
|
}
|
|
26
26
|
info(a) {
|
|
27
|
-
|
|
27
|
+
r(2, this.categoryName, a);
|
|
28
28
|
}
|
|
29
29
|
warn(a) {
|
|
30
|
-
|
|
30
|
+
r(3, this.categoryName, a);
|
|
31
31
|
}
|
|
32
|
-
error(a,
|
|
33
|
-
typeof a == "string" ?
|
|
32
|
+
error(a, s) {
|
|
33
|
+
typeof a == "string" ? r(4, this.categoryName, a) : c(a) && r(4, this.categoryName, a.message), c(s) && r(4, this.categoryName, s.message);
|
|
34
34
|
}
|
|
35
35
|
critical(a) {
|
|
36
|
-
|
|
36
|
+
r(5, this.categoryName, a);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
const f = (e) => new y(e), N = async (e, a) => {
|
|
40
40
|
await n.ipcRenderer.invoke("app-show-message-box", e, a);
|
|
41
|
-
}, h = async (e, a,
|
|
41
|
+
}, h = async (e, a, s, t, o) => await n.ipcRenderer.invoke(
|
|
42
42
|
"app-show-question-box",
|
|
43
43
|
e,
|
|
44
44
|
a,
|
|
45
|
-
|
|
45
|
+
s,
|
|
46
46
|
t,
|
|
47
47
|
o
|
|
48
|
-
),
|
|
48
|
+
), F = async () => {
|
|
49
49
|
await n.ipcRenderer.invoke("rpc-start-measurement");
|
|
50
|
-
},
|
|
50
|
+
}, L = async () => {
|
|
51
51
|
await n.ipcRenderer.invoke("rpc-stop-measurement");
|
|
52
|
-
},
|
|
52
|
+
}, M = async (e) => {
|
|
53
53
|
await n.ipcRenderer.invoke("rpc-add-source", e);
|
|
54
|
-
},
|
|
54
|
+
}, T = async (e) => {
|
|
55
55
|
await n.ipcRenderer.invoke("rpc-update-source", e);
|
|
56
|
-
},
|
|
56
|
+
}, b = async (e) => {
|
|
57
57
|
await n.ipcRenderer.invoke("rpc-delete-source", e);
|
|
58
|
-
},
|
|
59
|
-
await n.ipcRenderer.invoke("rpc-add-data-processor", e, a,
|
|
60
|
-
},
|
|
58
|
+
}, D = async (e, a, s) => {
|
|
59
|
+
await n.ipcRenderer.invoke("rpc-add-data-processor", e, a, s);
|
|
60
|
+
}, P = async (e) => {
|
|
61
61
|
await n.ipcRenderer.invoke("rpc-update-data-processor", e);
|
|
62
|
-
},
|
|
62
|
+
}, x = async (e) => {
|
|
63
63
|
await n.ipcRenderer.invoke("rpc-delete-data-processor", e);
|
|
64
|
-
}, I = async (e) => {
|
|
65
|
-
await n.ipcRenderer.invoke("rpc-add-target", e);
|
|
66
64
|
}, S = async (e) => {
|
|
65
|
+
await n.ipcRenderer.invoke("rpc-add-target", e);
|
|
66
|
+
}, q = async (e) => {
|
|
67
67
|
await n.ipcRenderer.invoke("rpc-update-target", e);
|
|
68
|
-
},
|
|
68
|
+
}, I = async (e) => {
|
|
69
69
|
await n.ipcRenderer.invoke("rpc-delete-target", e);
|
|
70
|
-
},
|
|
70
|
+
}, B = async (e, a) => {
|
|
71
71
|
await n.ipcRenderer.invoke("rpc-connect-nodes", e, a);
|
|
72
|
-
},
|
|
72
|
+
}, W = async (e, a) => {
|
|
73
73
|
await n.ipcRenderer.invoke("rpc-disconnect-nodes", e, a);
|
|
74
74
|
}, A = async (e) => {
|
|
75
75
|
await n.ipcRenderer.invoke("rpc-enable-node", e);
|
|
@@ -77,50 +77,60 @@ const f = (e) => new y(e), N = async (e, a) => {
|
|
|
77
77
|
await n.ipcRenderer.invoke("rpc-disable-node", e);
|
|
78
78
|
}, w = async (e, a) => {
|
|
79
79
|
await n.ipcRenderer.invoke("rpc-send-message", e, a);
|
|
80
|
-
}, E = async (e, a,
|
|
81
|
-
const o =
|
|
80
|
+
}, E = async (e, a, s, ...t) => {
|
|
81
|
+
const o = m.fromPartial({
|
|
82
82
|
id: a,
|
|
83
|
-
data:
|
|
83
|
+
data: s,
|
|
84
84
|
canFrameFlags: {
|
|
85
85
|
flags: t
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
await w(e, o);
|
|
89
|
-
}, Q = async (e
|
|
89
|
+
}, Q = async (e, a) => {
|
|
90
|
+
await n.ipcRenderer.invoke("rpc-update-lin-message", e, a);
|
|
91
|
+
}, j = async (e, a) => {
|
|
92
|
+
await n.ipcRenderer.invoke("rpc-clear-lin-message", e, a);
|
|
93
|
+
}, z = async (e, a) => {
|
|
94
|
+
await n.ipcRenderer.invoke("rpc-request-lin-message", e, a);
|
|
95
|
+
}, G = async (e) => await n.ipcRenderer.invoke("rpc-start-periodic-transmission", e), H = async (e, a) => {
|
|
90
96
|
await n.ipcRenderer.invoke("rpc-update-periodic-transmission", e, a);
|
|
91
|
-
},
|
|
97
|
+
}, J = async (e) => {
|
|
92
98
|
await n.ipcRenderer.invoke("rpc-stop-periodic-transmission", e);
|
|
93
|
-
},
|
|
99
|
+
}, K = async (e) => {
|
|
94
100
|
await n.ipcRenderer.invoke("rpc-start-log-replay", e);
|
|
95
|
-
},
|
|
101
|
+
}, O = async (e) => {
|
|
96
102
|
await n.ipcRenderer.invoke("rpc-stop-log-replay", e);
|
|
97
|
-
},
|
|
103
|
+
}, U = async () => await n.ipcRenderer.invoke("rpc-get-message-log-file-formats"), V = async () => await n.ipcRenderer.invoke("rpc-get-signal-log-file-formats"), X = async (e) => await n.ipcRenderer.invoke("rpc-get-frame-definitions", e);
|
|
98
104
|
export {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
D as addDataProcessor,
|
|
106
|
+
M as addSource,
|
|
107
|
+
S as addTarget,
|
|
108
|
+
j as clearLinMessage,
|
|
109
|
+
B as connectNodes,
|
|
110
|
+
x as deleteDataProcessor,
|
|
111
|
+
b as deleteSource,
|
|
112
|
+
I as deleteTarget,
|
|
106
113
|
C as disableNode,
|
|
107
|
-
|
|
114
|
+
W as disconnectNodes,
|
|
108
115
|
A as enableNode,
|
|
109
|
-
|
|
116
|
+
X as getFrameDefinitions,
|
|
110
117
|
f as getLogger,
|
|
111
|
-
|
|
118
|
+
U as getMessageLogFileFormats,
|
|
119
|
+
V as getSignalLogFileFormats,
|
|
120
|
+
z as requestLinMessage,
|
|
112
121
|
E as sendCanMessage,
|
|
113
122
|
w as sendMessage,
|
|
114
123
|
N as showMessageBox,
|
|
115
124
|
h as showQuestionBox,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
125
|
+
K as startLogReplay,
|
|
126
|
+
F as startMeasurement,
|
|
127
|
+
G as startPeriodicTransmission,
|
|
128
|
+
O as stopLogReplay,
|
|
129
|
+
L as stopMeasurement,
|
|
130
|
+
J as stopPeriodicTransmission,
|
|
131
|
+
P as updateDataProcessor,
|
|
132
|
+
Q as updateLinMessage,
|
|
133
|
+
H as updatePeriodicTransmission,
|
|
134
|
+
T as updateSource,
|
|
135
|
+
q as updateTarget
|
|
126
136
|
};
|