@kvaser/canking-api 7.1.0 → 7.2.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/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 +3178 -1320
- 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 +8 -0
- 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/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 +2 -2
- 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 +2 -2
- 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/REDISTRIBUTABLES.txt
CHANGED
package/dist/ElectronAPIFake.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var p=Object.defineProperty;var
|
|
1
|
+
"use strict";var p=Object.defineProperty;var d=(r,e,s)=>e in r?p(r,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[e]=s;var t=(r,e,s)=>d(r,typeof e!="symbol"?e+"":e,s);require("long");const v=require("./measurement_settings.js");class F{constructor(e){t(this,"userSettings");this.userSettings=e}on(e,s){return()=>{}}once(e,s){return()=>{}}removeAllListeners(e){}removeListener(e,s){return this}send(e,...s){}invoke(e,...s){switch(e){case"rpc-get-devices":const n=[];return Promise.resolve(n);case"app-get-session-data":return Promise.resolve(null);case"app-get-user-settings":return Promise.resolve(this.userSettings);case"rpc-get-online-status":const o={isOnline:!1};return Promise.resolve(o);case"rpc-get-node-statuses":const c=[];return Promise.resolve(c);case"prj-get-meas-setup":return Promise.resolve(v.MeasurementSetup.create());case"prj-get-workspaces":const i=[];return Promise.resolve(i);case"prj-get-workspace-panes":const l=[];return Promise.resolve(l);case"app-get-workspace-view-session-data":case"rpc-start-periodic-transmission":return Promise.resolve("");case"rpc-get-message-log-file-formats":const u=[];return Promise.resolve(u);case"rpc-get-signal-log-file-formats":const m=[];return Promise.resolve(m);case"rpc-get-frame-definitions":const g=[];return Promise.resolve(g);case"mm-get-measurement-data-buffer":case"mm-get-latest-measurement-data":return Promise.resolve(frames);default:return Promise.resolve()}}postMessage(e,s,n){}sendSync(e,...s){}sendTo(e,s,...n){}sendToHost(e,...s){}}class f{insertCSS(e){return""}setZoomFactor(e){}setZoomLevel(e){}}class P{constructor(){t(this,"platform");t(this,"versions");t(this,"env")}}const a=r=>{const e={version:"1.0.0",theme:"light",language:"en",strings:{},showToolsPanel:!0,useHexNumericBase:!0,maxDataBytes:16,defaultProjectFolder:"",defaultLogFilesFolder:"",defaultCANDatabasesFolder:"",defaultLINDatabasesFolder:"",currentProjectFile:"",currentProjectFileName:"",recentProjectFiles:[],closeAppServiceAction:"prompt"};return{ipcRenderer:new F(r??e),webFrame:new f,process:new P}},h=a();exports.createElectronApiFake=a;exports.electronApiFake=h;
|
package/dist/ElectronAPIFake.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var t = (r, e, s) =>
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
|
+
var g = (r, e, s) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : r[e] = s;
|
|
3
|
+
var t = (r, e, s) => g(r, typeof e != "symbol" ? e + "" : e, s);
|
|
4
4
|
import "long";
|
|
5
|
-
import {
|
|
6
|
-
class
|
|
5
|
+
import { aI as d } from "./measurement_settings.mjs";
|
|
6
|
+
class v {
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new IpcRendererFake.
|
|
9
9
|
*/
|
|
@@ -110,7 +110,7 @@ class d {
|
|
|
110
110
|
const o = [];
|
|
111
111
|
return Promise.resolve(o);
|
|
112
112
|
case "prj-get-meas-setup":
|
|
113
|
-
return Promise.resolve(
|
|
113
|
+
return Promise.resolve(d.create());
|
|
114
114
|
case "prj-get-workspaces":
|
|
115
115
|
const c = [];
|
|
116
116
|
return Promise.resolve(c);
|
|
@@ -123,6 +123,9 @@ class d {
|
|
|
123
123
|
case "rpc-get-message-log-file-formats":
|
|
124
124
|
const l = [];
|
|
125
125
|
return Promise.resolve(l);
|
|
126
|
+
case "rpc-get-signal-log-file-formats":
|
|
127
|
+
const m = [];
|
|
128
|
+
return Promise.resolve(m);
|
|
126
129
|
case "rpc-get-frame-definitions":
|
|
127
130
|
const u = [];
|
|
128
131
|
return Promise.resolve(u);
|
|
@@ -190,7 +193,7 @@ class d {
|
|
|
190
193
|
sendToHost(e, ...s) {
|
|
191
194
|
}
|
|
192
195
|
}
|
|
193
|
-
class
|
|
196
|
+
class f {
|
|
194
197
|
/**
|
|
195
198
|
* A key for the inserted CSS that can later be used to remove the CSS via
|
|
196
199
|
* `webFrame.removeInsertedCSS(key)`.
|
|
@@ -222,7 +225,7 @@ class v {
|
|
|
222
225
|
setZoomLevel(e) {
|
|
223
226
|
}
|
|
224
227
|
}
|
|
225
|
-
class
|
|
228
|
+
class F {
|
|
226
229
|
constructor() {
|
|
227
230
|
/**
|
|
228
231
|
* The process.platform property returns a string identifying the operating system platform
|
|
@@ -239,7 +242,7 @@ class f {
|
|
|
239
242
|
t(this, "env");
|
|
240
243
|
}
|
|
241
244
|
}
|
|
242
|
-
const
|
|
245
|
+
const P = (r) => {
|
|
243
246
|
const e = {
|
|
244
247
|
version: "1.0.0",
|
|
245
248
|
theme: "light",
|
|
@@ -258,12 +261,12 @@ const F = (r) => {
|
|
|
258
261
|
closeAppServiceAction: "prompt"
|
|
259
262
|
};
|
|
260
263
|
return {
|
|
261
|
-
ipcRenderer: new
|
|
262
|
-
webFrame: new
|
|
263
|
-
process: new
|
|
264
|
+
ipcRenderer: new v(r ?? e),
|
|
265
|
+
webFrame: new f(),
|
|
266
|
+
process: new F()
|
|
264
267
|
};
|
|
265
|
-
},
|
|
268
|
+
}, S = P();
|
|
266
269
|
export {
|
|
267
|
-
|
|
268
|
-
|
|
270
|
+
P as c,
|
|
271
|
+
S as e
|
|
269
272
|
};
|
|
@@ -12,7 +12,7 @@ import { PeriodicTransmissionSettings, WriteFrame } from '../models';
|
|
|
12
12
|
/** Possible CAN identifier types, standard (11-bits) or extended (29-bits). */
|
|
13
13
|
export type canIdentifierType = 'standard' | 'extended';
|
|
14
14
|
/** Possible CAN identifier generator types. */
|
|
15
|
-
type
|
|
15
|
+
export type canIdentifierGeneratorType = 'constant' | 'random' | 'scan';
|
|
16
16
|
/**
|
|
17
17
|
* Properties of the CanIdentifierControl React component.
|
|
18
18
|
*/
|
|
@@ -23,7 +23,8 @@ interface CanIdentifierControlProps {
|
|
|
23
23
|
canIdentifierType: canIdentifierType;
|
|
24
24
|
/**
|
|
25
25
|
* Callback that will be called when the CAN identifier has changed.
|
|
26
|
-
* @param
|
|
26
|
+
* @param identifier The new CAN identifier.
|
|
27
|
+
* @param idType The new CAN identifier type.
|
|
27
28
|
*/
|
|
28
29
|
onCanIdentifierChange: (identifier: string, idType: canIdentifierType) => void;
|
|
29
30
|
/**
|
|
@@ -31,10 +32,28 @@ interface CanIdentifierControlProps {
|
|
|
31
32
|
* @param errors The new errors state.
|
|
32
33
|
*/
|
|
33
34
|
onErrorsChange?: (errors: boolean) => void;
|
|
34
|
-
/**
|
|
35
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Callback that will be called when the select message dialog has been opened or closed.
|
|
37
|
+
* @param value The new show select message dialog state.
|
|
38
|
+
*/
|
|
39
|
+
showSelectMessageDialogChange?: (value: boolean) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Callback that will be called when the select signal dialog has been opened or closed.
|
|
42
|
+
* @param value The new show select signal dialog state.
|
|
43
|
+
*/
|
|
44
|
+
showSelectSignalDialogChange?: (value: boolean) => void;
|
|
36
45
|
/** Set to true to disable this control. */
|
|
37
46
|
disabled?: boolean;
|
|
47
|
+
/** Set to true if the select message button should be disabled. */
|
|
48
|
+
disableSelectMessageButton?: boolean;
|
|
49
|
+
/** Set to true if the select signal button should be disabled. */
|
|
50
|
+
disableSelectSignalButton?: boolean;
|
|
51
|
+
/** Set to true if this control shouldn't be encapsulated inside a SectionControl. */
|
|
52
|
+
hideSection?: boolean;
|
|
53
|
+
/** Set to true if the select message button shouldn't be visible. */
|
|
54
|
+
hideSelectMessageButton?: boolean;
|
|
55
|
+
/** Set to true if the select signal button shouldn't be visible. */
|
|
56
|
+
showSelectSignalButton?: boolean;
|
|
38
57
|
/** Set to true if the SectionControl should be collapsible, ignored if hideSectionControl is true. */
|
|
39
58
|
collapsible?: boolean;
|
|
40
59
|
/** Current collapse state of the SectionControl. */
|
|
@@ -50,7 +69,7 @@ interface CanIdentifierControlProps {
|
|
|
50
69
|
* @param props Component properties.
|
|
51
70
|
* @returns The CanIdentifierControl React component.
|
|
52
71
|
*/
|
|
53
|
-
declare function CanIdentifierControl({ canIdentifier, canIdentifierType, onCanIdentifierChange, onErrorsChange,
|
|
72
|
+
declare function CanIdentifierControl({ canIdentifier, canIdentifierType, onCanIdentifierChange, onErrorsChange, showSelectMessageDialogChange, showSelectSignalDialogChange, disabled, disableSelectMessageButton, disableSelectSignalButton, hideSection, hideSelectMessageButton, showSelectSignalButton, collapsible, collapsed, collapsedChange, }: CanIdentifierControlProps): import("react/jsx-runtime").JSX.Element;
|
|
54
73
|
/**
|
|
55
74
|
* Properties of the CanIdentifierFrameControl React component.
|
|
56
75
|
*/
|
|
@@ -67,8 +86,26 @@ interface CanIdentifierFrameControlProps {
|
|
|
67
86
|
* @param errors The new errors state.
|
|
68
87
|
*/
|
|
69
88
|
onErrorsChange?: (errors: boolean) => void;
|
|
89
|
+
/**
|
|
90
|
+
* Callback that will be called when the select message dialog has been opened or closed.
|
|
91
|
+
* @param value The new show select message dialog state.
|
|
92
|
+
*/
|
|
93
|
+
showSelectMessageDialogChange?: (value: boolean) => void;
|
|
94
|
+
/**
|
|
95
|
+
* Callback that will be called when the select signal dialog has been opened or closed.
|
|
96
|
+
* @param value The new show select signal dialog state.
|
|
97
|
+
*/
|
|
98
|
+
showSelectSignalDialogChange?: (value: boolean) => void;
|
|
99
|
+
/** Set to true if the select message button should be disabled. */
|
|
100
|
+
disableSelectMessageButton?: boolean;
|
|
101
|
+
/** Set to true if the select signal button should be disabled. */
|
|
102
|
+
disableSelectSignalButton?: boolean;
|
|
70
103
|
/** Set to true if this control shouldn't be encapsulated inside a SectionControl. */
|
|
71
104
|
hideSection?: boolean;
|
|
105
|
+
/** Set to true if the select message button shouldn't be visible. */
|
|
106
|
+
hideSelectMessageButton?: boolean;
|
|
107
|
+
/** Set to true if the select signal button should be visible. */
|
|
108
|
+
showSelectSignalButton?: boolean;
|
|
72
109
|
/** Set to true if the SectionControl should be collapsible. */
|
|
73
110
|
collapsible?: boolean;
|
|
74
111
|
/** Current collapse state of the SectionControl. */
|
|
@@ -84,7 +121,7 @@ interface CanIdentifierFrameControlProps {
|
|
|
84
121
|
* @param props Component properties.
|
|
85
122
|
* @returns The CanIdentifierFrameControl React component.
|
|
86
123
|
*/
|
|
87
|
-
declare function CanIdentifierFrameControl({ frame, onFrameChange, onErrorsChange, hideSection, collapsible, collapsed, collapsedChange, }: CanIdentifierFrameControlProps): import("react/jsx-runtime").JSX.Element;
|
|
124
|
+
declare function CanIdentifierFrameControl({ frame, onFrameChange, onErrorsChange, showSelectMessageDialogChange, showSelectSignalDialogChange, disableSelectMessageButton, disableSelectSignalButton, hideSection, hideSelectMessageButton, showSelectSignalButton, collapsible, collapsed, collapsedChange, }: CanIdentifierFrameControlProps): import("react/jsx-runtime").JSX.Element;
|
|
88
125
|
/**
|
|
89
126
|
* Properties of the CanIdentifierGeneratorControl React component.
|
|
90
127
|
*/
|
|
@@ -97,7 +134,7 @@ interface CanIdentifierGeneratorControlProps {
|
|
|
97
134
|
* 'random': A random CAN identifier between minCanIdentifier and maxCanIdentifier will be used.
|
|
98
135
|
* 'scan': A CAN identifier will be picked from minCanIdentifier to maxCanIdentifier.
|
|
99
136
|
*/
|
|
100
|
-
identifierGeneratorType:
|
|
137
|
+
identifierGeneratorType: canIdentifierGeneratorType;
|
|
101
138
|
/** The min CAN identifier that will be used if identifierGeneratorType is 'random' or 'scan'. */
|
|
102
139
|
minCanIdentifier: string;
|
|
103
140
|
/** The max CAN identifier that will be used if identifierGeneratorType is 'random' or 'scan'. */
|
|
@@ -111,7 +148,7 @@ interface CanIdentifierGeneratorControlProps {
|
|
|
111
148
|
* @param newMinCanIdentifier The new min CAN identifier.
|
|
112
149
|
* @param newMaxCanIdentifier The new max CAN identifier.
|
|
113
150
|
*/
|
|
114
|
-
onChange: (newCanIdentifier: string, newIdentifierGeneratorType:
|
|
151
|
+
onChange: (newCanIdentifier: string, newIdentifierGeneratorType: canIdentifierGeneratorType, newMinCanIdentifier: string, newMaxCanIdentifier: string, newIdentifierType: canIdentifierType) => void;
|
|
115
152
|
/**
|
|
116
153
|
* Callback that will be called when the errors state has changed.
|
|
117
154
|
* @param errors The new errors state.
|
|
@@ -33,7 +33,7 @@ export interface DropdownButtonTextItemsProps extends DropdownButtonChildrenProp
|
|
|
33
33
|
* Callback that is called when the user selects one of the drop down items.
|
|
34
34
|
* @param itemKey The key of the selected item.
|
|
35
35
|
*/
|
|
36
|
-
onSelect: (itemKey: string) => void;
|
|
36
|
+
onSelect: (itemKey: string, itemText?: string) => void;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Creates a drop down control that displays a menu with text strings.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Properties of the LinChannelSelectControl React component.
|
|
3
|
+
*/
|
|
4
|
+
export interface LinChannelSelectControlProps {
|
|
5
|
+
/** Identifier of the selected channel. */
|
|
6
|
+
channelIdentifier: string;
|
|
7
|
+
/** If true, master channels will be selected and otherwise slave channels. */
|
|
8
|
+
selectMasterChannels: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Callback that will be called when a new channel has been selected.
|
|
11
|
+
* @param identifier The new channel identifier.
|
|
12
|
+
*/
|
|
13
|
+
onChannelIdentifierChange: (identifier: string) => void;
|
|
14
|
+
/** Set to true if this control shouldn't be encapsulated inside a SectionControl. */
|
|
15
|
+
hideSectionControl?: boolean;
|
|
16
|
+
/** Set to true to disable this control. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** Set to true if the SectionControl should be collapsible, ignored if hideSectionControl is true. */
|
|
19
|
+
collapsible?: boolean;
|
|
20
|
+
/** Current collapse state of the SectionControl. */
|
|
21
|
+
collapsed?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Callback that will be called when collapse state has changed.
|
|
24
|
+
* @param value The new collapse state.
|
|
25
|
+
*/
|
|
26
|
+
collapsedChange?: (value: boolean) => void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Creates an UI control for selecting a LIN channel from the current measurement setup.
|
|
30
|
+
* @param props Component properties.
|
|
31
|
+
* @returns The LinChannelSelectControl React component.
|
|
32
|
+
*/
|
|
33
|
+
declare function LinChannelSelectControl({ channelIdentifier, selectMasterChannels, onChannelIdentifierChange, hideSectionControl, disabled, collapsible, collapsed, collapsedChange, }: LinChannelSelectControlProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export default LinChannelSelectControl;
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module includes UI controls for editing LIN identifiers.
|
|
3
|
+
*
|
|
4
|
+
* To be able to use these controls the CanKingDataProvider component must be present in the
|
|
5
|
+
* component tree above your component. Normally the CanKingDataProvider is added
|
|
6
|
+
* at the root of the component tree.
|
|
7
|
+
*
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { PeriodicTransmissionSettings, WriteFrame } from '../models';
|
|
12
|
+
/** Possible LIN identifier generator types. */
|
|
13
|
+
export type linIdentifierGeneratorType = 'constant' | 'random' | 'scan';
|
|
14
|
+
/**
|
|
15
|
+
* Properties of the LinIdentifierControl React component.
|
|
16
|
+
*/
|
|
17
|
+
interface LinIdentifierControlProps {
|
|
18
|
+
/** The current LIN identifier. */
|
|
19
|
+
linIdentifier: string;
|
|
20
|
+
/**
|
|
21
|
+
* Callback that will be called when the LIN identifier has changed.
|
|
22
|
+
* @param identifier The new LIN identifier.
|
|
23
|
+
*/
|
|
24
|
+
onLinIdentifierChange: (identifier: string) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Callback that will be called when the errors state has changed.
|
|
27
|
+
* @param errors The new errors state.
|
|
28
|
+
*/
|
|
29
|
+
onErrorsChange?: (errors: boolean) => void;
|
|
30
|
+
/**
|
|
31
|
+
* Callback that will be called when the select message dialog has been opened or closed.
|
|
32
|
+
* @param value The new show select message dialog state.
|
|
33
|
+
*/
|
|
34
|
+
showSelectMessageDialogChange?: (value: boolean) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Callback that will be called when the select signal dialog has been opened or closed.
|
|
37
|
+
* @param value The new show select signal dialog state.
|
|
38
|
+
*/
|
|
39
|
+
showSelectSignalDialogChange?: (value: boolean) => void;
|
|
40
|
+
/** Set to true to disable this control. */
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
/** Set to true if the select message button should be disabled. */
|
|
43
|
+
disableSelectMessageButton?: boolean;
|
|
44
|
+
/** Set to true if the select signal button should be disabled. */
|
|
45
|
+
disableSelectSignalButton?: boolean;
|
|
46
|
+
/** Set to true if this control shouldn't be encapsulated inside a SectionControl. */
|
|
47
|
+
hideSection?: boolean;
|
|
48
|
+
/** Set to true if the select message button shouldn't be visible. */
|
|
49
|
+
hideSelectMessageButton?: boolean;
|
|
50
|
+
/** Set to true if the select signal button should be visible. */
|
|
51
|
+
showSelectSignalButton?: boolean;
|
|
52
|
+
/** Set to true if the SectionControl should be collapsible, ignored if hideSectionControl is true. */
|
|
53
|
+
collapsible?: boolean;
|
|
54
|
+
/** Current collapse state of the SectionControl. */
|
|
55
|
+
collapsed?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Callback that will be called when collapse state has changed.
|
|
58
|
+
* @param value The new collapse state.
|
|
59
|
+
*/
|
|
60
|
+
collapsedChange?: (value: boolean) => void;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Creates an UI control for editing a LIN identifier.
|
|
64
|
+
* @param props Component properties.
|
|
65
|
+
* @returns The LinIdentifierControl React component.
|
|
66
|
+
*/
|
|
67
|
+
declare function LinIdentifierControl({ linIdentifier, onLinIdentifierChange, onErrorsChange, showSelectMessageDialogChange, showSelectSignalDialogChange, disabled, disableSelectMessageButton, disableSelectSignalButton, hideSection, hideSelectMessageButton, showSelectSignalButton, collapsible, collapsed, collapsedChange, }: LinIdentifierControlProps): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
/**
|
|
69
|
+
* Properties of the LinIdentifierFrameControl React component.
|
|
70
|
+
*/
|
|
71
|
+
interface LinIdentifierFrameControlProps {
|
|
72
|
+
/** The frame object that holds the LIN identifier. */
|
|
73
|
+
frame: WriteFrame;
|
|
74
|
+
/**
|
|
75
|
+
* Callback that will be called when the frame is updated after the LIN identifier has changed.
|
|
76
|
+
* @param value The new frame object.
|
|
77
|
+
*/
|
|
78
|
+
onFrameChange: (value: WriteFrame) => void;
|
|
79
|
+
/**
|
|
80
|
+
* Callback that will be called when the errors state has changed.
|
|
81
|
+
* @param errors The new errors state.
|
|
82
|
+
*/
|
|
83
|
+
onErrorsChange?: (errors: boolean) => void;
|
|
84
|
+
/**
|
|
85
|
+
* Callback that will be called when the select message dialog has been opened or closed.
|
|
86
|
+
* @param value The new show select message dialog state.
|
|
87
|
+
*/
|
|
88
|
+
showSelectMessageDialogChange?: (value: boolean) => void;
|
|
89
|
+
/**
|
|
90
|
+
* Callback that will be called when the select signal dialog has been opened or closed.
|
|
91
|
+
* @param value The new show select signal dialog state.
|
|
92
|
+
*/
|
|
93
|
+
showSelectSignalDialogChange?: (value: boolean) => void;
|
|
94
|
+
/** Set to true if the select message button should be disabled. */
|
|
95
|
+
disableSelectMessageButton?: boolean;
|
|
96
|
+
/** Set to true if the select signal button should be disabled. */
|
|
97
|
+
disableSelectSignalButton?: boolean;
|
|
98
|
+
/** Set to true if this control shouldn't be encapsulated inside a SectionControl. */
|
|
99
|
+
hideSection?: boolean;
|
|
100
|
+
/** Set to true if the select message button shouldn't be visible. */
|
|
101
|
+
hideSelectMessageButton?: boolean;
|
|
102
|
+
/** Set to true if the select signal button shouldn't be visible. */
|
|
103
|
+
showSelectSignalButton?: boolean;
|
|
104
|
+
/** Set to true if the SectionControl should be collapsible. */
|
|
105
|
+
collapsible?: boolean;
|
|
106
|
+
/** Current collapse state of the SectionControl. */
|
|
107
|
+
collapsed?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Callback that will be called when collapse state has changed.
|
|
110
|
+
* @param value The new collapse state.
|
|
111
|
+
*/
|
|
112
|
+
collapsedChange?: (value: boolean) => void;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Creates an UI control for editing a LIN identifier using a Frame as source.
|
|
116
|
+
* @param props Component properties.
|
|
117
|
+
* @returns The LinIdentifierFrameControl React component.
|
|
118
|
+
*/
|
|
119
|
+
declare function LinIdentifierFrameControl({ frame, onFrameChange, onErrorsChange, showSelectMessageDialogChange, showSelectSignalDialogChange, disableSelectMessageButton, disableSelectSignalButton, hideSection, hideSelectMessageButton, showSelectSignalButton, collapsible, collapsed, collapsedChange, }: LinIdentifierFrameControlProps): import("react/jsx-runtime").JSX.Element;
|
|
120
|
+
/**
|
|
121
|
+
* Properties of the LinIdentifierGeneratorControl React component.
|
|
122
|
+
*/
|
|
123
|
+
interface LinIdentifierGeneratorControlProps {
|
|
124
|
+
/** The LIN identifier. */
|
|
125
|
+
linIdentifier: string;
|
|
126
|
+
/**
|
|
127
|
+
* The generator type: 'constant' | 'random' | 'scan'
|
|
128
|
+
* 'constant': The LIN identifier set to linIdentifier will be used for all generated messages.
|
|
129
|
+
* 'random': A random LIN identifier between minLinIdentifier and maxLinIdentifier will be used.
|
|
130
|
+
* 'scan': A LIN identifier will be picked from minLinIdentifier to maxLinIdentifier.
|
|
131
|
+
*/
|
|
132
|
+
identifierGeneratorType: linIdentifierGeneratorType;
|
|
133
|
+
/** The min LIN identifier that will be used if identifierGeneratorType is 'random' or 'scan'. */
|
|
134
|
+
minLinIdentifier: string;
|
|
135
|
+
/** The max LIN identifier that will be used if identifierGeneratorType is 'random' or 'scan'. */
|
|
136
|
+
maxLinIdentifier: string;
|
|
137
|
+
/**
|
|
138
|
+
* Callback that will be called when the LIN identifier(s) has changed.
|
|
139
|
+
* @param newLinIdentifier The new constant LIN identifier.
|
|
140
|
+
* @param newIdentifierGeneratorType The new generator type.
|
|
141
|
+
* @param newMinLinIdentifier The new min LIN identifier.
|
|
142
|
+
* @param newMaxLinIdentifier The new max LIN identifier.
|
|
143
|
+
*/
|
|
144
|
+
onChange: (newLinIdentifier: string, newIdentifierGeneratorType: linIdentifierGeneratorType, newMinLinIdentifier: string, newMaxLinIdentifier: string) => void;
|
|
145
|
+
/**
|
|
146
|
+
* Callback that will be called when the errors state has changed.
|
|
147
|
+
* @param errors The new errors state.
|
|
148
|
+
*/
|
|
149
|
+
onErrorsChange?: (errors: boolean) => void;
|
|
150
|
+
/** The current error state. */
|
|
151
|
+
linIdentifierGeneratorSettingsError?: React.MutableRefObject<boolean>;
|
|
152
|
+
/** Set to true to disable this control. */
|
|
153
|
+
disabled?: boolean;
|
|
154
|
+
/** Set to true if the SectionControl should be collapsible. */
|
|
155
|
+
collapsible?: boolean;
|
|
156
|
+
/** Current collapse state of the SectionControl. */
|
|
157
|
+
collapsed?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Callback that will be called when collapse state has changed.
|
|
160
|
+
* @param value The new collapse state.
|
|
161
|
+
*/
|
|
162
|
+
collapsedChange?: (value: boolean) => void;
|
|
163
|
+
/**
|
|
164
|
+
* Callback for specifying if the select message dialog should be visible.
|
|
165
|
+
*/
|
|
166
|
+
showSelectMessageDialogChange: (value: boolean) => void;
|
|
167
|
+
/**
|
|
168
|
+
* Callback for specifying if the signal values table should be visible.
|
|
169
|
+
*/
|
|
170
|
+
showSignalValuesTable: (value: boolean) => void;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Creates an UI control for editing LIN identifier(s) used by a message generator.
|
|
174
|
+
* @param props Component properties.
|
|
175
|
+
* @returns The LinIdentifierGeneratorControl React component.
|
|
176
|
+
*/
|
|
177
|
+
declare function LinIdentifierGeneratorControl({ linIdentifier, identifierGeneratorType, minLinIdentifier, maxLinIdentifier, onChange, onErrorsChange, linIdentifierGeneratorSettingsError, disabled, collapsible, collapsed, collapsedChange, showSelectMessageDialogChange, showSignalValuesTable, }: LinIdentifierGeneratorControlProps): import("react/jsx-runtime").JSX.Element;
|
|
178
|
+
/**
|
|
179
|
+
* Properties of the LinIdentifierGeneratorSettingsControl React component.
|
|
180
|
+
*/
|
|
181
|
+
interface LinIdentifierGeneratorSettingsControlProps {
|
|
182
|
+
/** The settings object that holds the LIN identifier(s) generator settings. */
|
|
183
|
+
settings: PeriodicTransmissionSettings;
|
|
184
|
+
/**
|
|
185
|
+
* Callback that will be called when the settings are updated after the LIN identifiers have changed.
|
|
186
|
+
* @param value The new settings object.
|
|
187
|
+
*/
|
|
188
|
+
onSettingsChange: (value: PeriodicTransmissionSettings) => void;
|
|
189
|
+
/**
|
|
190
|
+
* Callback that will be called when the errors state has changed.
|
|
191
|
+
* @param errors The new errors state.
|
|
192
|
+
*/
|
|
193
|
+
onErrorsChange?: (errors: boolean) => void;
|
|
194
|
+
/** The current error state. */
|
|
195
|
+
linIdentifierGeneratorSettingsError?: React.MutableRefObject<boolean>;
|
|
196
|
+
/** Set to true to disable this control. */
|
|
197
|
+
disabled?: boolean;
|
|
198
|
+
/** Set to true if the SectionControl should be collapsible. */
|
|
199
|
+
collapsible?: boolean;
|
|
200
|
+
/** Current collapse state of the SectionControl. */
|
|
201
|
+
collapsed?: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Callback that will be called when collapse state has changed.
|
|
204
|
+
* @param value The new collapse state.
|
|
205
|
+
*/
|
|
206
|
+
collapsedChange?: (value: boolean) => void;
|
|
207
|
+
/**
|
|
208
|
+
* Callback for specifying if the select message dialog should be visible.
|
|
209
|
+
*/
|
|
210
|
+
showSelectMessageDialogChange: (value: boolean) => void;
|
|
211
|
+
/**
|
|
212
|
+
* Callback for specifying if the signal values table should be visible.
|
|
213
|
+
*/
|
|
214
|
+
showSignalValuesTable: (value: boolean) => void;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Creates an UI control for editing LIN identifier(s) used by a message generator
|
|
218
|
+
* using a PeriodicTransmissionSettings as source.
|
|
219
|
+
* @param props Component properties.
|
|
220
|
+
* @returns The LinIdentifierGeneratorSettingsControl React component.
|
|
221
|
+
*/
|
|
222
|
+
declare function LinIdentifierGeneratorSettingsControl({ settings, onSettingsChange, onErrorsChange, linIdentifierGeneratorSettingsError, disabled, collapsible, collapsed, collapsedChange, showSelectMessageDialogChange, showSignalValuesTable, }: LinIdentifierGeneratorSettingsControlProps): import("react/jsx-runtime").JSX.Element;
|
|
223
|
+
export default LinIdentifierControl;
|
|
224
|
+
export { type LinIdentifierControlProps, LinIdentifierControl, type LinIdentifierFrameControlProps, LinIdentifierFrameControl, type LinIdentifierGeneratorControlProps, LinIdentifierGeneratorControl, type LinIdentifierGeneratorSettingsControlProps, LinIdentifierGeneratorSettingsControl, };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FrameDefinition } from '../models';
|
|
2
|
+
/**
|
|
3
|
+
* Properties of the MessageDatabase React component which can be retrieved using the useMessageDatabases hook.
|
|
4
|
+
*/
|
|
5
|
+
export interface IMessageDatabase {
|
|
6
|
+
name: string;
|
|
7
|
+
messages: FrameDefinition[];
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Gets a MessageDatabase object that can be used for retrieving CAN and LIN databases.
|
|
11
|
+
*/
|
|
12
|
+
export declare const useMessageDatabases: (nodeIdentifier?: string) => IMessageDatabase[];
|
|
13
|
+
/**
|
|
14
|
+
* Properties of the SelectMessageDialog React component.
|
|
15
|
+
*/
|
|
16
|
+
export interface SelectMessageDialogProps {
|
|
17
|
+
parentDialogTitle?: string;
|
|
18
|
+
open: boolean;
|
|
19
|
+
onSelect: (message: FrameDefinition) => void;
|
|
20
|
+
nodeIdentifier?: string;
|
|
21
|
+
onClose: () => void;
|
|
22
|
+
modal?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A react component to be used for opening a select database message dialog.
|
|
26
|
+
*/
|
|
27
|
+
declare function SelectMessageDialog({ parentDialogTitle, open, onSelect, nodeIdentifier, onClose, modal, }: SelectMessageDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export default SelectMessageDialog;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface SelectSignalControlProps {
|
|
2
|
+
selectedSignals: string[];
|
|
3
|
+
onSelectedSignalseChange: (selectedSignalse: string[]) => void;
|
|
4
|
+
onErrorsChange?: (errors: boolean) => void;
|
|
5
|
+
signalFilterError?: React.MutableRefObject<boolean>;
|
|
6
|
+
parentDialogTitle?: string;
|
|
7
|
+
nodeIdentifier?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare function SelectSignalControl({ selectedSignals, onSelectedSignalseChange, onErrorsChange, signalFilterError, parentDialogTitle, nodeIdentifier, disabled, }: SelectSignalControlProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default SelectSignalControl;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FrameDefinition, SignalDefinition } from '../models';
|
|
2
|
+
/**
|
|
3
|
+
* Properties of the SelectSignalDialog React component.
|
|
4
|
+
*/
|
|
5
|
+
export interface SelectSignalDialogProps {
|
|
6
|
+
parentDialogTitle?: string;
|
|
7
|
+
nodeIdentifier?: string;
|
|
8
|
+
open: boolean;
|
|
9
|
+
selectedMessages?: string[];
|
|
10
|
+
selectedSignals?: string[];
|
|
11
|
+
multiSelect?: boolean;
|
|
12
|
+
checkboxSelection?: boolean;
|
|
13
|
+
onSelect?: (message: FrameDefinition, signal: SignalDefinition) => void;
|
|
14
|
+
onMultiSelect?: (messages: FrameDefinition[], signals: SignalDefinition[]) => void;
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A react component to be used for opening a select database message signal(s) dialog.
|
|
19
|
+
*/
|
|
20
|
+
declare function SelectSignalDialog({ parentDialogTitle, nodeIdentifier, open, multiSelect, checkboxSelection, onSelect, onMultiSelect, onClose, selectedMessages, selectedSignals, }: SelectSignalDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default SelectSignalDialog;
|
|
@@ -33,6 +33,12 @@ export interface TableControlProps<T> {
|
|
|
33
33
|
data: T[];
|
|
34
34
|
/** Callback to get a unique data key for the specified row. */
|
|
35
35
|
dataKey: (row: T) => React.Key;
|
|
36
|
+
/** If each row should have a remove button */
|
|
37
|
+
hasRemoveButton?: boolean;
|
|
38
|
+
/** A title for the remove button */
|
|
39
|
+
removeButtonTitle?: string;
|
|
40
|
+
/** Callback to be run when clicking on the remove button */
|
|
41
|
+
onRemoveRow?: (row: T) => void;
|
|
36
42
|
/** The key of the currently selected data row. */
|
|
37
43
|
selectedKey?: React.Key;
|
|
38
44
|
/** Callback to inform that a data row has been clicked. */
|
|
@@ -57,5 +63,5 @@ export interface TableControlProps<T> {
|
|
|
57
63
|
* @param props Component properties.
|
|
58
64
|
* @returns The TableControl React component.
|
|
59
65
|
*/
|
|
60
|
-
declare function TableControl<T>({ data, dataKey, selectedKey, onClickRow, columns, label, labelVariant, maxHeight, size, stickyHeader, hover, }: TableControlProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
declare function TableControl<T>({ data, dataKey, hasRemoveButton, removeButtonTitle, onRemoveRow, selectedKey, onClickRow, columns, label, labelVariant, maxHeight, size, stickyHeader, hover, }: TableControlProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
61
67
|
export default TableControl;
|
package/dist/controls/index.d.ts
CHANGED
|
@@ -81,6 +81,12 @@ export * from './SectionControl';
|
|
|
81
81
|
export { default as SectionControl } from './SectionControl';
|
|
82
82
|
export * from './SelectControl';
|
|
83
83
|
export { default as SelectControl } from './SelectControl';
|
|
84
|
+
export * from './SelectMessageDialog';
|
|
85
|
+
export { default as SelectMessageDialog } from './SelectMessageDialog';
|
|
86
|
+
export * from './SelectSignalDialog';
|
|
87
|
+
export { default as SelectSignalDialog } from './SelectSignalDialog';
|
|
88
|
+
export * from './SelectSignalControl';
|
|
89
|
+
export { default as SelectSignalControl } from './SelectSignalControl';
|
|
84
90
|
export * from './SizedBox';
|
|
85
91
|
export { default as SizedBox } from './SizedBox';
|
|
86
92
|
export * from './TableControl';
|
|
@@ -99,6 +105,10 @@ export * from './CanIdentifierControl';
|
|
|
99
105
|
export { default as CanIdentifierControl } from './CanIdentifierControl';
|
|
100
106
|
export * from './CanChannelSelectControl';
|
|
101
107
|
export { default as CanChannelSelectControl } from './CanChannelSelectControl';
|
|
108
|
+
export * from './LinChannelSelectControl';
|
|
109
|
+
export { default as LinChannelSelectControl } from './LinChannelSelectControl';
|
|
110
|
+
export * from './LinIdentifierControl';
|
|
111
|
+
export { default as LinIdentifierControl } from './LinIdentifierControl';
|
|
102
112
|
export * from './FillBox';
|
|
103
113
|
export { default as FillBox } from './FillBox';
|
|
104
114
|
export * from './CanKingDataProvider';
|