@kvaser/canking-api 7.2.1 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controls/CanChannelSelectControl.d.ts +4 -4
- package/dist/controls/CanIdentifierControl.d.ts +105 -55
- package/dist/controls/CanKingDataProvider.d.ts +27 -3
- package/dist/controls/CheckboxControl.d.ts +13 -4
- package/dist/controls/ColorControl.d.ts +26 -0
- package/dist/controls/ColumnItemControl.d.ts +1 -1
- package/dist/controls/ContextMenu.d.ts +2 -2
- package/dist/controls/DropdownButton.d.ts +3 -3
- package/dist/controls/DropdownPanel.d.ts +1 -1
- package/dist/controls/ExtensionWorkspaceViewProps.d.ts +8 -0
- package/dist/controls/FormControlRow.d.ts +1 -1
- package/dist/controls/InlineEditor.d.ts +4 -4
- package/dist/controls/LinChannelSelectControl.d.ts +3 -3
- package/dist/controls/LinIdentifierControl.d.ts +96 -53
- package/dist/controls/LocalizedStrings.d.ts +1 -0
- package/dist/controls/NumberRangeControl.d.ts +11 -11
- package/dist/controls/RadioControl.d.ts +1 -1
- package/dist/controls/RadioGroupControl.d.ts +2 -2
- package/dist/controls/SectionControl.d.ts +2 -2
- package/dist/controls/SelectControl.d.ts +2 -2
- package/dist/controls/SelectMessageDialog.d.ts +32 -3
- package/dist/controls/SelectSignalDialog.d.ts +103 -1
- package/dist/controls/SelectSignalsControl.d.ts +44 -0
- package/dist/controls/SizedBox.d.ts +1 -0
- package/dist/controls/TableControl.d.ts +3 -4
- package/dist/controls/TextControl.d.ts +16 -6
- package/dist/controls/ToolbarControl.d.ts +6 -4
- package/dist/controls/ValidateableTextControl.d.ts +6 -6
- package/dist/controls/index.d.ts +5 -2
- package/dist/controls.js +1 -1
- package/dist/controls.mjs +2581 -1936
- package/dist/grpc.js +1 -1
- package/dist/grpc.mjs +220 -178
- package/dist/hooks/index.d.ts +414 -17
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +48 -24
- package/dist/icons/index.d.ts +39 -0
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +947 -750
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1182 -437
- package/dist/ipc/index.d.ts +31 -3
- package/dist/ipc.js +1 -1
- package/dist/ipc.mjs +132 -104
- package/dist/models/DataBuffer.d.ts +18 -15
- package/dist/models/ElectronAPIFake.d.ts +2 -1
- package/dist/models/Point.d.ts +4 -0
- package/dist/models/deep_equal.d.ts +7 -0
- package/dist/models/index.d.ts +85 -12
- package/dist/models/json_utilities.d.ts +16 -0
- package/dist/models.js +1 -1
- package/dist/models.mjs +776 -297
- package/dist/protos/app_params.d.ts +109 -49
- package/dist/protos/app_service.d.ts +81 -50
- package/dist/protos/common_params.d.ts +4 -1
- package/dist/protos/device_params.d.ts +82 -27
- package/dist/protos/frame_params.d.ts +103 -4
- package/dist/protos/measurement_params.d.ts +244 -46
- package/dist/protos/measurement_service.d.ts +119 -65
- package/dist/protos/measurement_settings.d.ts +157 -6
- package/dist/protos/signal_params.d.ts +20 -0
- package/dist/protos/status_params.d.ts +30 -0
- package/dist/status_params.js +1 -1
- package/dist/status_params.mjs +8891 -1850
- package/doc/assets/hierarchy.js +1 -1
- package/doc/assets/main.js +5 -5
- package/doc/assets/navigation.js +1 -1
- package/doc/assets/search.js +1 -1
- package/doc/assets/style.css +254 -231
- package/doc/enums/models.AccessMode.html +11 -9
- package/doc/enums/models.CanChannelCap.html +44 -44
- package/doc/enums/models.CanConfigMode.html +16 -0
- package/doc/enums/models.CanFrameFlag.html +58 -27
- package/doc/enums/models.CanMessageFilterType.html +8 -6
- package/doc/enums/models.CanMode.html +12 -7
- package/doc/enums/models.DecimalChar.html +8 -5
- package/doc/enums/models.FileConflictAction.html +10 -7
- package/doc/enums/models.LinFrameFlag.html +21 -12
- package/doc/enums/models.LogFileFormat.html +48 -46
- package/doc/enums/models.LogLevel.html +17 -17
- package/doc/enums/models.LogReplayState.html +8 -6
- package/doc/enums/models.LoggerState.html +10 -7
- package/doc/enums/models.Separator.html +8 -5
- package/doc/enums/models.SignalEncoding.html +7 -5
- package/doc/enums/models.SignalType.html +12 -12
- package/doc/enums/models.SignalValueTriggerOperator.html +22 -13
- package/doc/enums/models.StatusLevel.html +10 -7
- package/doc/enums/models.TimeReference.html +8 -5
- package/doc/enums/models.TriggerOperator.html +8 -6
- package/doc/functions/controls.CanChannelSelectControl.html +2 -2
- package/doc/functions/controls.CanIdentifierControl.html +2 -2
- package/doc/functions/controls.CanIdentifierFrameControl.html +2 -2
- package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -2
- package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -2
- package/doc/functions/controls.CanKingDataProvider.html +5 -5
- package/doc/functions/controls.CheckboxControl.html +2 -2
- package/doc/functions/controls.ColorControl.html +4 -0
- package/doc/functions/controls.ColumnItemControl.html +2 -2
- package/doc/functions/controls.ContextMenu.html +2 -2
- package/doc/functions/controls.DropdownButton.html +2 -2
- package/doc/functions/controls.DropdownButtonTextItems.html +2 -2
- package/doc/functions/controls.DropdownPanel.html +2 -2
- package/doc/functions/controls.FormControlRow.html +2 -2
- package/doc/functions/controls.InlineEditor.html +2 -2
- package/doc/functions/controls.LinChannelSelectControl.html +2 -2
- package/doc/functions/controls.LinIdentifierControl.html +2 -2
- package/doc/functions/controls.LinIdentifierFrameControl.html +2 -2
- package/doc/functions/controls.LinIdentifierGeneratorControl.html +2 -2
- package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +2 -2
- package/doc/functions/controls.NumberRangeControl.html +2 -2
- package/doc/functions/controls.RadioControl.html +2 -2
- package/doc/functions/controls.RadioGroupControl.html +2 -2
- package/doc/functions/controls.SectionControl.html +2 -2
- package/doc/functions/controls.SelectControl.html +2 -2
- package/doc/functions/controls.SelectMessageDialog.html +2 -2
- package/doc/functions/controls.SelectSignalDialog.html +2 -2
- package/doc/functions/controls.SelectSignalsControl.html +2 -0
- package/doc/functions/controls.TableControl.html +3 -3
- package/doc/functions/controls.TextControl.html +2 -2
- package/doc/functions/controls.ToolbarControl.html +2 -2
- package/doc/functions/controls.ValidateableTextControl.html +2 -2
- package/doc/functions/controls.useColumnItem.html +3 -3
- package/doc/functions/controls.useColumnItems.html +3 -3
- package/doc/functions/controls.useMessageDatabases.html +2 -2
- package/doc/functions/hooks.useAvailableProtocols.html +3 -0
- package/doc/functions/hooks.useDevices.html +3 -3
- package/doc/functions/hooks.useFixedPositionModeMeasurementData.html +4 -0
- package/doc/functions/hooks.useIsOnline.html +3 -3
- package/doc/functions/hooks.useLanguage.html +3 -3
- package/doc/functions/hooks.useLocalizedStrings.html +3 -3
- package/doc/functions/hooks.useLogMessages.html +3 -3
- package/doc/functions/hooks.useMaxDataBytes.html +2 -2
- package/doc/functions/hooks.useMeasurementSetup.html +3 -3
- package/doc/functions/hooks.useMeasurementStatus.html +3 -3
- package/doc/functions/hooks.useMessageData.html +8 -0
- package/doc/functions/hooks.useMessageLogFileFormats.html +4 -3
- package/doc/functions/hooks.useNewMeasurementData.html +4 -3
- package/doc/functions/hooks.useNodeStatus.html +3 -3
- package/doc/functions/hooks.useNumericRadix.html +3 -3
- package/doc/functions/hooks.useOnlineStatus.html +3 -3
- package/doc/functions/hooks.useOnlineStatusSync.html +7 -0
- package/doc/functions/hooks.useOverallStatusLevel.html +3 -3
- package/doc/functions/hooks.useProjectData.html +12 -5
- package/doc/functions/hooks.useProjectDataSlice.html +13 -0
- package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
- package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -3
- package/doc/functions/hooks.useScrollModeMeasurementData.html +4 -0
- package/doc/functions/hooks.useSessionData.html +14 -5
- package/doc/functions/hooks.useSessionDataSlice.html +14 -0
- package/doc/functions/hooks.useSignalData.html +8 -0
- package/doc/functions/hooks.useSignalDataEnvelopes.html +11 -0
- package/doc/functions/hooks.useSignalLogFileFormats.html +3 -2
- package/doc/functions/hooks.useUndo.html +7 -0
- package/doc/functions/hooks.useUndoRef.html +7 -0
- package/doc/functions/hooks.useUndoSessionDataSlice.html +9 -0
- package/doc/functions/hooks.useUserSettings.html +3 -3
- package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
- package/doc/functions/ipc.addDataProcessor.html +3 -3
- package/doc/functions/ipc.addSource.html +3 -3
- package/doc/functions/ipc.addTarget.html +3 -3
- package/doc/functions/ipc.clearLinMessage.html +3 -3
- package/doc/functions/ipc.connectNodes.html +3 -3
- package/doc/functions/ipc.deleteDataProcessor.html +3 -3
- package/doc/functions/ipc.deleteSource.html +3 -3
- package/doc/functions/ipc.deleteTarget.html +3 -3
- package/doc/functions/ipc.disableNode.html +3 -3
- package/doc/functions/ipc.disconnectNodes.html +3 -3
- package/doc/functions/ipc.enableNode.html +3 -3
- package/doc/functions/ipc.getFirstAndLatestTimestamp.html +4 -0
- package/doc/functions/ipc.getFirstTimestamp.html +3 -0
- package/doc/functions/ipc.getFrameDefinitions.html +3 -3
- package/doc/functions/ipc.getLatestTimestamp.html +3 -0
- package/doc/functions/ipc.getLogger.html +3 -3
- package/doc/functions/ipc.getMessageDataBeforeTimestamp.html +7 -0
- package/doc/functions/ipc.getMessageLogFileFormats.html +3 -3
- package/doc/functions/ipc.getSignalLogFileFormats.html +3 -3
- package/doc/functions/ipc.requestLinMessage.html +3 -3
- package/doc/functions/ipc.sendCanMessage.html +3 -3
- package/doc/functions/ipc.sendMessage.html +3 -3
- package/doc/functions/ipc.showMessageBox.html +3 -3
- package/doc/functions/ipc.showQuestionBox.html +3 -3
- package/doc/functions/ipc.startLogReplay.html +3 -3
- package/doc/functions/ipc.startMeasurement.html +2 -2
- package/doc/functions/ipc.startPeriodicTransmission.html +3 -3
- package/doc/functions/ipc.stopLogReplay.html +3 -3
- package/doc/functions/ipc.stopMeasurement.html +2 -2
- package/doc/functions/ipc.stopPeriodicTransmission.html +3 -3
- package/doc/functions/ipc.updateDataProcessor.html +3 -3
- package/doc/functions/ipc.updateLinMessage.html +3 -3
- package/doc/functions/ipc.updatePeriodicTransmission.html +3 -3
- package/doc/functions/ipc.updateSource.html +3 -3
- package/doc/functions/ipc.updateTarget.html +3 -3
- package/doc/functions/models.decimalToFixed.html +5 -1
- package/doc/functions/models.decimalToHex.html +6 -1
- package/doc/functions/models.deep_equal.html +5 -0
- package/doc/functions/models.deserializeFrame.html +4 -0
- package/doc/functions/models.jsonReplacer.html +6 -0
- package/doc/functions/models.jsonReviver.html +6 -0
- package/doc/functions/models.longToNumber.html +4 -1
- package/doc/functions/models.serializeFrame.html +4 -0
- package/doc/hierarchy.html +1 -1
- package/doc/index.html +6 -6
- package/doc/interfaces/controls.ButtonGroupProps.html +10 -10
- package/doc/interfaces/controls.ButtonProps.html +22 -22
- package/doc/interfaces/controls.CanChannelSelectControlProps.html +20 -20
- package/doc/interfaces/controls.CanIdentifierControlProps.html +54 -37
- package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +34 -33
- package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +42 -33
- package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +34 -25
- package/doc/interfaces/controls.CheckboxControlProps.html +22 -17
- package/doc/interfaces/controls.ContextMenuProps.html +9 -9
- package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -4
- package/doc/interfaces/controls.DropdownButtonProps.html +20 -20
- package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -9
- package/doc/interfaces/controls.DropdownPanelProps.html +20 -20
- package/doc/interfaces/controls.FormControlRowProps.html +8 -8
- package/doc/interfaces/controls.IExtensionWorkspaceViewProps.html +2 -0
- package/doc/interfaces/controls.ILocalizedStrings.html +2 -3
- package/doc/interfaces/controls.IMessageDatabase.html +2 -4
- package/doc/interfaces/controls.InlineEditorProps.html +13 -13
- package/doc/interfaces/controls.LabelProps.html +6 -6
- package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -20
- package/doc/interfaces/controls.LinIdentifierControlProps.html +45 -35
- package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +34 -33
- package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +40 -31
- package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +34 -25
- package/doc/interfaces/controls.NumberRangeControlProps.html +38 -38
- package/doc/interfaces/controls.RadioControlProps.html +14 -14
- package/doc/interfaces/controls.RadioGroupControlProps.html +9 -9
- package/doc/interfaces/controls.SectionControlProps.html +17 -17
- package/doc/interfaces/controls.SelectControlProps.html +31 -31
- package/doc/interfaces/controls.SelectMessageDialogProps.html +19 -8
- package/doc/interfaces/controls.SelectSignalDialogProps.html +71 -12
- package/doc/interfaces/controls.SelectSignalsControlProps.html +22 -0
- package/doc/interfaces/controls.SelectedSignalInfo.html +6 -0
- package/doc/interfaces/controls.SelectedSignalInfoChangeArgs.html +9 -0
- package/doc/interfaces/controls.TableColumn.html +12 -12
- package/doc/interfaces/controls.TableControlProps.html +30 -30
- package/doc/interfaces/controls.TextControlProps.html +41 -41
- package/doc/interfaces/controls.ToggleButtonGroupProps.html +17 -17
- package/doc/interfaces/controls.ToggleButtonProps.html +14 -14
- package/doc/interfaces/controls.ToolbarControlProps.html +18 -18
- package/doc/interfaces/controls.ValidateableTextControlProps.html +54 -54
- package/doc/interfaces/controls.toolbarItem.html +14 -12
- package/doc/interfaces/hooks.IEnvelopeView.html +12 -0
- package/doc/interfaces/hooks.ISignalData.html +19 -0
- package/doc/interfaces/hooks.ISignalDataEnvelope.html +14 -0
- package/doc/interfaces/hooks.IUndoObject.html +27 -0
- package/doc/interfaces/hooks.IUndoState.html +9 -0
- package/doc/interfaces/ipc.ILogger.html +2 -8
- package/doc/interfaces/models.BaseNodeProperties.html +14 -8
- package/doc/interfaces/models.BusStatus.html +32 -17
- package/doc/interfaces/models.CanBusParamLimits.html +12 -7
- package/doc/interfaces/models.CanBusParams.html +14 -8
- package/doc/interfaces/models.CanChannelCapacity.html +10 -7
- package/doc/interfaces/models.CanChannelConfiguration.html +46 -16
- package/doc/interfaces/models.CanFrameFlags.html +4 -3
- package/doc/interfaces/models.CanMessageFilterSettings.html +8 -5
- package/doc/interfaces/models.Channel.html +12 -7
- package/doc/interfaces/models.ChannelSettings.html +22 -20
- package/doc/interfaces/models.DataProcessingStatus.html +10 -6
- package/doc/interfaces/models.DataProcessorNodeProperties.html +14 -8
- package/doc/interfaces/models.DatabasesSettings.html +4 -3
- package/doc/interfaces/models.Device.html +16 -9
- package/doc/interfaces/models.Devices.html +4 -2
- package/doc/interfaces/models.Empty.html +2 -2
- package/doc/interfaces/models.ErrorStatus.html +4 -4
- package/doc/interfaces/models.FixedPosFrameIdentifier.html +14 -0
- package/doc/interfaces/models.Frame.html +41 -30
- package/doc/interfaces/models.FrameDefinition.html +16 -14
- package/doc/interfaces/models.FrameDefinitions.html +4 -2
- package/doc/interfaces/models.FramePropertyValue.html +6 -4
- package/doc/interfaces/models.FrameReceivedTrigger.html +8 -6
- package/doc/interfaces/models.Frames.html +4 -2
- package/doc/interfaces/models.IUserSettings.html +2 -17
- package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -4
- package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -5
- package/doc/interfaces/models.IWorkspacePaneData.html +2 -5
- package/doc/interfaces/models.InterpreterSettings.html +4 -4
- package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
- package/doc/interfaces/models.LinChannelConfiguration.html +14 -14
- package/doc/interfaces/models.LinFrameFlags.html +4 -3
- package/doc/interfaces/models.LogMessage.html +12 -12
- package/doc/interfaces/models.LogMessages.html +4 -4
- package/doc/interfaces/models.LogReplaySettings.html +26 -26
- package/doc/interfaces/models.LogReplayStatus.html +4 -3
- package/doc/interfaces/models.LoggerStatus.html +4 -3
- package/doc/interfaces/models.MeasurementSetup.html +10 -6
- package/doc/interfaces/models.MessageLoggerSettings.html +44 -44
- package/doc/interfaces/models.NodeStatus.html +18 -18
- package/doc/interfaces/models.NodeStatuses.html +4 -3
- package/doc/interfaces/models.OnlineStatus.html +6 -3
- package/doc/interfaces/models.PeriodicTransmissionSettings.html +36 -36
- package/doc/interfaces/models.ServiceExtensionSettings.html +6 -4
- package/doc/interfaces/models.SignalDefinition.html +34 -18
- package/doc/interfaces/models.SignalDefinitions.html +4 -2
- package/doc/interfaces/models.SignalFilterSettings.html +6 -4
- package/doc/interfaces/models.SignalLoggerSettings.html +56 -56
- package/doc/interfaces/models.SignalValue.html +12 -7
- package/doc/interfaces/models.SignalValueTrigger.html +18 -16
- package/doc/interfaces/models.SourceNodeProperties.html +12 -7
- package/doc/interfaces/models.TargetNodeProperties.html +12 -6
- package/doc/interfaces/models.TdcConfiguration.html +17 -0
- package/doc/interfaces/models.TriggerSettings.html +8 -8
- package/doc/interfaces/models.WriteFrame.html +10 -10
- package/doc/modules/controls.html +3 -3
- package/doc/modules/hooks.html +3 -3
- package/doc/modules/ipc.html +2 -2
- package/doc/modules/models.html +2 -2
- package/doc/modules.html +1 -1
- package/doc/types/controls.ContextMenuOption.html +10 -6
- package/doc/types/controls.SelectOption.html +6 -4
- package/doc/types/controls.StringsMap.html +2 -2
- package/doc/types/controls.canIdentifierGeneratorType.html +2 -2
- package/doc/types/controls.canIdentifierType.html +2 -2
- package/doc/types/controls.linIdentifierGeneratorType.html +2 -2
- package/doc/types/hooks.OnGoingOfflineCallback.html +6 -0
- package/doc/types/hooks.OnGoingOnlineCallback.html +6 -0
- package/doc/types/models.SerializableFrame.html +2 -0
- package/doc/variables/controls.FillBox.html +3 -0
- package/doc/variables/controls.OneLineButton.html +2 -0
- package/doc/variables/controls.SizedBox.html +3 -0
- package/doc/variables/controls.TabsPanel.html +2 -0
- package/doc/variables/models.defaultUserSettings.html +2 -2
- package/doc_md/README.md +189 -0
- package/doc_md/assets/favicon.png +0 -0
- package/doc_md/controls/README.md +162 -0
- package/doc_md/controls/functions/CanChannelSelectControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierFrameControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierGeneratorControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierGeneratorSettingsControl.md +26 -0
- package/doc_md/controls/functions/CanKingDataProvider.md +47 -0
- package/doc_md/controls/functions/CheckboxControl.md +25 -0
- package/doc_md/controls/functions/ColorControl.md +25 -0
- package/doc_md/controls/functions/ColumnItemControl.md +21 -0
- package/doc_md/controls/functions/ContextMenu.md +25 -0
- package/doc_md/controls/functions/DropdownButton.md +25 -0
- package/doc_md/controls/functions/DropdownButtonTextItems.md +25 -0
- package/doc_md/controls/functions/DropdownPanel.md +25 -0
- package/doc_md/controls/functions/FormControlRow.md +25 -0
- package/doc_md/controls/functions/InlineEditor.md +25 -0
- package/doc_md/controls/functions/LinChannelSelectControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierFrameControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierGeneratorControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierGeneratorSettingsControl.md +26 -0
- package/doc_md/controls/functions/NumberRangeControl.md +25 -0
- package/doc_md/controls/functions/RadioControl.md +25 -0
- package/doc_md/controls/functions/RadioGroupControl.md +25 -0
- package/doc_md/controls/functions/SectionControl.md +25 -0
- package/doc_md/controls/functions/SelectControl.md +25 -0
- package/doc_md/controls/functions/SelectMessageDialog.md +21 -0
- package/doc_md/controls/functions/SelectSignalDialog.md +21 -0
- package/doc_md/controls/functions/SelectSignalsControl.md +21 -0
- package/doc_md/controls/functions/TableControl.md +31 -0
- package/doc_md/controls/functions/TextControl.md +25 -0
- package/doc_md/controls/functions/ToolbarControl.md +25 -0
- package/doc_md/controls/functions/ValidateableTextControl.md +25 -0
- package/doc_md/controls/functions/useColumnItem.md +17 -0
- package/doc_md/controls/functions/useColumnItems.md +25 -0
- package/doc_md/controls/functions/useMessageDatabases.md +21 -0
- package/doc_md/controls/interfaces/ButtonGroupProps.md +41 -0
- package/doc_md/controls/interfaces/ButtonProps.md +93 -0
- package/doc_md/controls/interfaces/CanChannelSelectControlProps.md +103 -0
- package/doc_md/controls/interfaces/CanIdentifierControlProps.md +251 -0
- package/doc_md/controls/interfaces/CanIdentifierFrameControlProps.md +152 -0
- package/doc_md/controls/interfaces/CanIdentifierGeneratorControlProps.md +219 -0
- package/doc_md/controls/interfaces/CanIdentifierGeneratorSettingsControlProps.md +162 -0
- package/doc_md/controls/interfaces/CheckboxControlProps.md +94 -0
- package/doc_md/controls/interfaces/ContextMenuProps.md +45 -0
- package/doc_md/controls/interfaces/DropdownButtonChildrenProps.md +25 -0
- package/doc_md/controls/interfaces/DropdownButtonProps.md +81 -0
- package/doc_md/controls/interfaces/DropdownButtonTextItemsProps.md +70 -0
- package/doc_md/controls/interfaces/DropdownPanelProps.md +81 -0
- package/doc_md/controls/interfaces/FormControlRowProps.md +33 -0
- package/doc_md/controls/interfaces/IExtensionWorkspaceViewProps.md +9 -0
- package/doc_md/controls/interfaces/ILocalizedStrings.md +9 -0
- package/doc_md/controls/interfaces/IMessageDatabase.md +9 -0
- package/doc_md/controls/interfaces/InlineEditorProps.md +61 -0
- package/doc_md/controls/interfaces/LabelProps.md +25 -0
- package/doc_md/controls/interfaces/LinChannelSelectControlProps.md +97 -0
- package/doc_md/controls/interfaces/LinIdentifierControlProps.md +203 -0
- package/doc_md/controls/interfaces/LinIdentifierFrameControlProps.md +152 -0
- package/doc_md/controls/interfaces/LinIdentifierGeneratorControlProps.md +207 -0
- package/doc_md/controls/interfaces/LinIdentifierGeneratorSettingsControlProps.md +162 -0
- package/doc_md/controls/interfaces/NumberRangeControlProps.md +253 -0
- package/doc_md/controls/interfaces/RadioControlProps.md +57 -0
- package/doc_md/controls/interfaces/RadioGroupControlProps.md +45 -0
- package/doc_md/controls/interfaces/SectionControlProps.md +77 -0
- package/doc_md/controls/interfaces/SelectControlProps.md +134 -0
- package/doc_md/controls/interfaces/SelectMessageDialogProps.md +86 -0
- package/doc_md/controls/interfaces/SelectSignalDialogProps.md +232 -0
- package/doc_md/controls/interfaces/SelectSignalsControlProps.md +119 -0
- package/doc_md/controls/interfaces/SelectedSignalInfo.md +29 -0
- package/doc_md/controls/interfaces/SelectedSignalInfoChangeArgs.md +46 -0
- package/doc_md/controls/interfaces/TableColumn.md +65 -0
- package/doc_md/controls/interfaces/TableControlProps.md +157 -0
- package/doc_md/controls/interfaces/TextControlProps.md +177 -0
- package/doc_md/controls/interfaces/ToggleButtonGroupProps.md +77 -0
- package/doc_md/controls/interfaces/ToggleButtonProps.md +57 -0
- package/doc_md/controls/interfaces/ToolbarControlProps.md +73 -0
- package/doc_md/controls/interfaces/ValidateableTextControlProps.md +269 -0
- package/doc_md/controls/interfaces/toolbarItem.md +57 -0
- package/doc_md/controls/type-aliases/ContextMenuOption.md +43 -0
- package/doc_md/controls/type-aliases/SelectOption.md +27 -0
- package/doc_md/controls/type-aliases/StringsMap.md +15 -0
- package/doc_md/controls/type-aliases/canIdentifierGeneratorType.md +11 -0
- package/doc_md/controls/type-aliases/canIdentifierType.md +11 -0
- package/doc_md/controls/type-aliases/linIdentifierGeneratorType.md +11 -0
- package/doc_md/controls/variables/FillBox.md +12 -0
- package/doc_md/controls/variables/OneLineButton.md +11 -0
- package/doc_md/controls/variables/SizedBox.md +12 -0
- package/doc_md/controls/variables/TabsPanel.md +11 -0
- package/doc_md/hooks/README.md +70 -0
- package/doc_md/hooks/functions/useAvailableProtocols.md +17 -0
- package/doc_md/hooks/functions/useDevices.md +17 -0
- package/doc_md/hooks/functions/useFixedPositionModeMeasurementData.md +25 -0
- package/doc_md/hooks/functions/useIsOnline.md +17 -0
- package/doc_md/hooks/functions/useLanguage.md +17 -0
- package/doc_md/hooks/functions/useLocalizedStrings.md +17 -0
- package/doc_md/hooks/functions/useLogMessages.md +17 -0
- package/doc_md/hooks/functions/useMaxDataBytes.md +15 -0
- package/doc_md/hooks/functions/useMeasurementSetup.md +17 -0
- package/doc_md/hooks/functions/useMeasurementStatus.md +17 -0
- package/doc_md/hooks/functions/useMessageData.md +42 -0
- package/doc_md/hooks/functions/useMessageLogFileFormats.md +25 -0
- package/doc_md/hooks/functions/useNewMeasurementData.md +35 -0
- package/doc_md/hooks/functions/useNodeStatus.md +23 -0
- package/doc_md/hooks/functions/useNumericRadix.md +17 -0
- package/doc_md/hooks/functions/useOnlineStatus.md +17 -0
- package/doc_md/hooks/functions/useOnlineStatusSync.md +43 -0
- package/doc_md/hooks/functions/useOverallStatusLevel.md +17 -0
- package/doc_md/hooks/functions/useProjectData.md +59 -0
- package/doc_md/hooks/functions/useProjectDataSlice.md +58 -0
- package/doc_md/hooks/functions/useRecentProjectFiles.md +15 -0
- package/doc_md/hooks/functions/useRunningPeriodicTransmissions.md +17 -0
- package/doc_md/hooks/functions/useScrollModeMeasurementData.md +25 -0
- package/doc_md/hooks/functions/useSessionData.md +67 -0
- package/doc_md/hooks/functions/useSessionDataSlice.md +60 -0
- package/doc_md/hooks/functions/useSignalData.md +42 -0
- package/doc_md/hooks/functions/useSignalDataEnvelopes.md +50 -0
- package/doc_md/hooks/functions/useSignalLogFileFormats.md +17 -0
- package/doc_md/hooks/functions/useUndo.md +38 -0
- package/doc_md/hooks/functions/useUndoRef.md +38 -0
- package/doc_md/hooks/functions/useUndoSessionDataSlice.md +50 -0
- package/doc_md/hooks/functions/useUserSettings.md +17 -0
- package/doc_md/hooks/functions/useWorkspacePaneWithId.md +21 -0
- package/doc_md/hooks/interfaces/IEnvelopeView.md +49 -0
- package/doc_md/hooks/interfaces/ISignalData.md +77 -0
- package/doc_md/hooks/interfaces/ISignalDataEnvelope.md +51 -0
- package/doc_md/hooks/interfaces/IUndoObject.md +155 -0
- package/doc_md/hooks/interfaces/IUndoState.md +41 -0
- package/doc_md/hooks/type-aliases/OnGoingOfflineCallback.md +36 -0
- package/doc_md/hooks/type-aliases/OnGoingOnlineCallback.md +36 -0
- package/doc_md/ipc/README.md +51 -0
- package/doc_md/ipc/functions/addDataProcessor.md +35 -0
- package/doc_md/ipc/functions/addSource.md +23 -0
- package/doc_md/ipc/functions/addTarget.md +23 -0
- package/doc_md/ipc/functions/clearLinMessage.md +29 -0
- package/doc_md/ipc/functions/connectNodes.md +29 -0
- package/doc_md/ipc/functions/deleteDataProcessor.md +23 -0
- package/doc_md/ipc/functions/deleteSource.md +23 -0
- package/doc_md/ipc/functions/deleteTarget.md +23 -0
- package/doc_md/ipc/functions/disableNode.md +23 -0
- package/doc_md/ipc/functions/disconnectNodes.md +29 -0
- package/doc_md/ipc/functions/enableNode.md +23 -0
- package/doc_md/ipc/functions/getFirstAndLatestTimestamp.md +18 -0
- package/doc_md/ipc/functions/getFirstTimestamp.md +17 -0
- package/doc_md/ipc/functions/getFrameDefinitions.md +26 -0
- package/doc_md/ipc/functions/getLatestTimestamp.md +17 -0
- package/doc_md/ipc/functions/getLogger.md +25 -0
- package/doc_md/ipc/functions/getMessageDataBeforeTimestamp.md +38 -0
- package/doc_md/ipc/functions/getMessageLogFileFormats.md +17 -0
- package/doc_md/ipc/functions/getSignalLogFileFormats.md +17 -0
- package/doc_md/ipc/functions/requestLinMessage.md +30 -0
- package/doc_md/ipc/functions/sendCanMessage.md +41 -0
- package/doc_md/ipc/functions/sendMessage.md +29 -0
- package/doc_md/ipc/functions/showMessageBox.md +29 -0
- package/doc_md/ipc/functions/showQuestionBox.md +51 -0
- package/doc_md/ipc/functions/startLogReplay.md +23 -0
- package/doc_md/ipc/functions/startMeasurement.md +15 -0
- package/doc_md/ipc/functions/startPeriodicTransmission.md +25 -0
- package/doc_md/ipc/functions/stopLogReplay.md +23 -0
- package/doc_md/ipc/functions/stopMeasurement.md +15 -0
- package/doc_md/ipc/functions/stopPeriodicTransmission.md +23 -0
- package/doc_md/ipc/functions/updateDataProcessor.md +23 -0
- package/doc_md/ipc/functions/updateLinMessage.md +29 -0
- package/doc_md/ipc/functions/updatePeriodicTransmission.md +29 -0
- package/doc_md/ipc/functions/updateSource.md +23 -0
- package/doc_md/ipc/functions/updateTarget.md +23 -0
- package/doc_md/ipc/interfaces/ILogger.md +9 -0
- package/doc_md/models/README.md +109 -0
- package/doc_md/models/enumerations/AccessMode.md +52 -0
- package/doc_md/models/enumerations/CanChannelCap.md +181 -0
- package/doc_md/models/enumerations/CanConfigMode.md +69 -0
- package/doc_md/models/enumerations/CanFrameFlag.md +226 -0
- package/doc_md/models/enumerations/CanMessageFilterType.md +37 -0
- package/doc_md/models/enumerations/CanMode.md +53 -0
- package/doc_md/models/enumerations/DecimalChar.md +37 -0
- package/doc_md/models/enumerations/FileConflictAction.md +45 -0
- package/doc_md/models/enumerations/LinFrameFlag.md +87 -0
- package/doc_md/models/enumerations/LogFileFormat.md +199 -0
- package/doc_md/models/enumerations/LogLevel.md +76 -0
- package/doc_md/models/enumerations/LogReplayState.md +37 -0
- package/doc_md/models/enumerations/LoggerState.md +45 -0
- package/doc_md/models/enumerations/Separator.md +37 -0
- package/doc_md/models/enumerations/SignalEncoding.md +31 -0
- package/doc_md/models/enumerations/SignalType.md +53 -0
- package/doc_md/models/enumerations/SignalValueTriggerOperator.md +93 -0
- package/doc_md/models/enumerations/StatusLevel.md +45 -0
- package/doc_md/models/enumerations/TimeReference.md +37 -0
- package/doc_md/models/enumerations/TriggerOperator.md +37 -0
- package/doc_md/models/functions/decimalToFixed.md +31 -0
- package/doc_md/models/functions/decimalToHex.md +37 -0
- package/doc_md/models/functions/deep_equal.md +37 -0
- package/doc_md/models/functions/deserializeFrame.md +25 -0
- package/doc_md/models/functions/jsonReplacer.md +32 -0
- package/doc_md/models/functions/jsonReviver.md +32 -0
- package/doc_md/models/functions/longToNumber.md +25 -0
- package/doc_md/models/functions/serializeFrame.md +25 -0
- package/doc_md/models/interfaces/BaseNodeProperties.md +57 -0
- package/doc_md/models/interfaces/BusStatus.md +129 -0
- package/doc_md/models/interfaces/CanBusParamLimits.md +49 -0
- package/doc_md/models/interfaces/CanBusParams.md +78 -0
- package/doc_md/models/interfaces/CanChannelCapacity.md +41 -0
- package/doc_md/models/interfaces/CanChannelConfiguration.md +164 -0
- package/doc_md/models/interfaces/CanFrameFlags.md +18 -0
- package/doc_md/models/interfaces/CanMessageFilterSettings.md +33 -0
- package/doc_md/models/interfaces/Channel.md +49 -0
- package/doc_md/models/interfaces/ChannelSettings.md +89 -0
- package/doc_md/models/interfaces/DataProcessingStatus.md +41 -0
- package/doc_md/models/interfaces/DataProcessorNodeProperties.md +57 -0
- package/doc_md/models/interfaces/DatabasesSettings.md +17 -0
- package/doc_md/models/interfaces/Device.md +65 -0
- package/doc_md/models/interfaces/Devices.md +17 -0
- package/doc_md/models/interfaces/Empty.md +17 -0
- package/doc_md/models/interfaces/ErrorStatus.md +17 -0
- package/doc_md/models/interfaces/FixedPosFrameIdentifier.md +57 -0
- package/doc_md/models/interfaces/Frame.md +169 -0
- package/doc_md/models/interfaces/FrameDefinition.md +65 -0
- package/doc_md/models/interfaces/FrameDefinitions.md +17 -0
- package/doc_md/models/interfaces/FramePropertyValue.md +25 -0
- package/doc_md/models/interfaces/FrameReceivedTrigger.md +33 -0
- package/doc_md/models/interfaces/Frames.md +17 -0
- package/doc_md/models/interfaces/IUserSettings.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceComponentPaneData.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceContainerPaneData.md +9 -0
- package/doc_md/models/interfaces/IWorkspacePaneData.md +9 -0
- package/doc_md/models/interfaces/InterpreterSettings.md +17 -0
- package/doc_md/models/interfaces/J1939InterpreterSettings.md +9 -0
- package/doc_md/models/interfaces/LinChannelConfiguration.md +57 -0
- package/doc_md/models/interfaces/LinFrameFlags.md +18 -0
- package/doc_md/models/interfaces/LogMessage.md +49 -0
- package/doc_md/models/interfaces/LogMessages.md +17 -0
- package/doc_md/models/interfaces/LogReplaySettings.md +109 -0
- package/doc_md/models/interfaces/LogReplayStatus.md +17 -0
- package/doc_md/models/interfaces/LoggerStatus.md +17 -0
- package/doc_md/models/interfaces/MeasurementSetup.md +41 -0
- package/doc_md/models/interfaces/MessageLoggerSettings.md +177 -0
- package/doc_md/models/interfaces/NodeStatus.md +73 -0
- package/doc_md/models/interfaces/NodeStatuses.md +17 -0
- package/doc_md/models/interfaces/OnlineStatus.md +25 -0
- package/doc_md/models/interfaces/PeriodicTransmissionSettings.md +145 -0
- package/doc_md/models/interfaces/ServiceExtensionSettings.md +25 -0
- package/doc_md/models/interfaces/SignalDefinition.md +141 -0
- package/doc_md/models/interfaces/SignalDefinitions.md +17 -0
- package/doc_md/models/interfaces/SignalFilterSettings.md +25 -0
- package/doc_md/models/interfaces/SignalLoggerSettings.md +225 -0
- package/doc_md/models/interfaces/SignalValue.md +49 -0
- package/doc_md/models/interfaces/SignalValueTrigger.md +73 -0
- package/doc_md/models/interfaces/SourceNodeProperties.md +49 -0
- package/doc_md/models/interfaces/TargetNodeProperties.md +49 -0
- package/doc_md/models/interfaces/TdcConfiguration.md +33 -0
- package/doc_md/models/interfaces/TriggerSettings.md +33 -0
- package/doc_md/models/interfaces/WriteFrame.md +41 -0
- package/doc_md/models/type-aliases/SerializableFrame.md +33 -0
- package/doc_md/models/variables/defaultUserSettings.md +11 -0
- package/doc_md/modules.md +12 -0
- package/package.json +19 -6
- package/dist/ElectronAPIFake.js +0 -1
- package/dist/ElectronAPIFake.mjs +0 -272
- package/dist/controls/SelectSignalControl.d.ts +0 -11
- package/dist/measurement_settings.js +0 -1
- package/dist/measurement_settings.mjs +0 -6021
- package/doc/classes/controls.LocalizedStrings.html +0 -4
- package/doc/classes/models.DataBuffer.html +0 -32
- package/doc/classes/models.DataBufferView.html +0 -20
- package/doc/classes/models.Point.html +0 -14
- package/doc/enums/models.AppEvent.html +0 -6
- package/doc/enums/models.DeviceEvent.html +0 -6
- package/doc/enums/models.FileType.html +0 -7
- package/doc/enums/models.MeasurementEvent.html +0 -12
- package/doc/enums/models.Protocols.html +0 -9
- package/doc/functions/controls.FillBox.html +0 -33
- package/doc/functions/controls.OneLineButton.html +0 -32
- package/doc/functions/controls.SelectSignalControl.html +0 -1
- package/doc/functions/controls.SizedBox.html +0 -33
- package/doc/functions/controls.TabsPanel.html +0 -32
- package/doc/functions/icons.AddIcon.html +0 -4
- package/doc/functions/icons.ArrowDownIcon.html +0 -4
- package/doc/functions/icons.ArrowLeftIcon.html +0 -4
- package/doc/functions/icons.ArrowRightIcon.html +0 -4
- package/doc/functions/icons.ArrowUpIcon.html +0 -4
- package/doc/functions/icons.BusIsOffIcon.html +0 -4
- package/doc/functions/icons.BusIsOnIcon.html +0 -4
- package/doc/functions/icons.CloseIcon.html +0 -4
- package/doc/functions/icons.ColumnSettingsIcon.html +0 -4
- package/doc/functions/icons.CopyIcon.html +0 -4
- package/doc/functions/icons.DarkModeIcon.html +0 -4
- package/doc/functions/icons.DeleteIcon.html +0 -4
- package/doc/functions/icons.DisableIcon.html +0 -4
- package/doc/functions/icons.EditIcon.html +0 -4
- package/doc/functions/icons.EnableIcon.html +0 -4
- package/doc/functions/icons.FilterIcon.html +0 -4
- package/doc/functions/icons.FixedPositionIcon.html +0 -4
- package/doc/functions/icons.LeaveFullScreenIcon.html +0 -4
- package/doc/functions/icons.LightModeIcon.html +0 -4
- package/doc/functions/icons.LineArrowDownIcon.html +0 -4
- package/doc/functions/icons.LineArrowUpIcon.html +0 -4
- package/doc/functions/icons.MaximizeWindowIcon.html +0 -4
- package/doc/functions/icons.MeasurementSetupIcon.html +0 -4
- package/doc/functions/icons.MoreHorizIcon.html +0 -4
- package/doc/functions/icons.MoreVertIcon.html +0 -4
- package/doc/functions/icons.NewIcon.html +0 -4
- package/doc/functions/icons.OpenExternallyIcon.html +0 -4
- package/doc/functions/icons.OpenIcon.html +0 -4
- package/doc/functions/icons.PauseIcon.html +0 -4
- package/doc/functions/icons.PlayIcon.html +0 -4
- package/doc/functions/icons.PlaySolidIcon.html +0 -4
- package/doc/functions/icons.SaveIcon.html +0 -4
- package/doc/functions/icons.SelectAllIcon.html +0 -4
- package/doc/functions/icons.ServiceIconActive.html +0 -4
- package/doc/functions/icons.ServiceIconInactive.html +0 -4
- package/doc/functions/icons.SettingsIcon.html +0 -4
- package/doc/functions/icons.StopIcon.html +0 -4
- package/doc/functions/icons.StopSolidIcon.html +0 -4
- package/doc/functions/icons.ToolsPanelHiddenIcon.html +0 -4
- package/doc/functions/icons.ToolsPanelVisibleIcon.html +0 -4
- package/doc/functions/icons.UnmaximizeWindowIcon.html +0 -4
- package/doc/functions/icons.WorkspacesIcon.html +0 -4
- package/doc/functions/models.accessModeFromJSON.html +0 -1
- package/doc/functions/models.accessModeToJSON.html +0 -1
- package/doc/functions/models.appEventFromJSON.html +0 -1
- package/doc/functions/models.appEventToJSON.html +0 -1
- package/doc/functions/models.canChannelCapFromJSON.html +0 -1
- package/doc/functions/models.canChannelCapToJSON.html +0 -1
- package/doc/functions/models.canFrameFlagFromJSON.html +0 -1
- package/doc/functions/models.canFrameFlagToJSON.html +0 -1
- package/doc/functions/models.canMessageFilterTypeFromJSON.html +0 -1
- package/doc/functions/models.canMessageFilterTypeToJSON.html +0 -1
- package/doc/functions/models.canModeFromJSON.html +0 -1
- package/doc/functions/models.canModeToJSON.html +0 -1
- package/doc/functions/models.createElectronApiFake.html +0 -4
- package/doc/functions/models.decimalCharFromJSON.html +0 -1
- package/doc/functions/models.decimalCharToJSON.html +0 -1
- package/doc/functions/models.deviceEventFromJSON.html +0 -1
- package/doc/functions/models.deviceEventToJSON.html +0 -1
- package/doc/functions/models.fileConflictActionFromJSON.html +0 -1
- package/doc/functions/models.fileConflictActionToJSON.html +0 -1
- package/doc/functions/models.fileTypeFromJSON.html +0 -1
- package/doc/functions/models.fileTypeToJSON.html +0 -1
- package/doc/functions/models.linFrameFlagFromJSON.html +0 -1
- package/doc/functions/models.linFrameFlagToJSON.html +0 -1
- package/doc/functions/models.logFileFormatFromJSON.html +0 -1
- package/doc/functions/models.logFileFormatToJSON.html +0 -1
- package/doc/functions/models.logLevelFromJSON.html +0 -1
- package/doc/functions/models.logLevelToJSON.html +0 -1
- package/doc/functions/models.logReplayStateFromJSON.html +0 -1
- package/doc/functions/models.logReplayStateToJSON.html +0 -1
- package/doc/functions/models.loggerStateFromJSON.html +0 -1
- package/doc/functions/models.loggerStateToJSON.html +0 -1
- package/doc/functions/models.measurementEventFromJSON.html +0 -1
- package/doc/functions/models.measurementEventToJSON.html +0 -1
- package/doc/functions/models.protocolsFromJSON.html +0 -1
- package/doc/functions/models.protocolsToJSON.html +0 -1
- package/doc/functions/models.separatorFromJSON.html +0 -1
- package/doc/functions/models.separatorToJSON.html +0 -1
- package/doc/functions/models.signalEncodingFromJSON.html +0 -1
- package/doc/functions/models.signalEncodingToJSON.html +0 -1
- package/doc/functions/models.signalTypeFromJSON.html +0 -1
- package/doc/functions/models.signalTypeToJSON.html +0 -1
- package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +0 -1
- package/doc/functions/models.signalValueTriggerOperatorToJSON.html +0 -1
- package/doc/functions/models.statusLevelFromJSON.html +0 -1
- package/doc/functions/models.statusLevelToJSON.html +0 -1
- package/doc/functions/models.timeReferenceFromJSON.html +0 -1
- package/doc/functions/models.timeReferenceToJSON.html +0 -1
- package/doc/functions/models.triggerOperatorFromJSON.html +0 -1
- package/doc/functions/models.triggerOperatorToJSON.html +0 -1
- package/doc/interfaces/controls.ColumnItem.html +0 -3
- package/doc/interfaces/controls.ColumnItemControlProps.html +0 -4
- package/doc/interfaces/models.AboutInformation.html +0 -8
- package/doc/interfaces/models.ActivateLicenseRequest.html +0 -8
- package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +0 -4
- package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +0 -4
- package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +0 -12
- package/doc/interfaces/models.AddOrUpdateSourceRequest.html +0 -8
- package/doc/interfaces/models.AddOrUpdateTargetRequest.html +0 -8
- package/doc/interfaces/models.ApiPreferences.html +0 -10
- package/doc/interfaces/models.AppEventArgs.html +0 -6
- package/doc/interfaces/models.CanBusSpeedInfo.html +0 -14
- package/doc/interfaces/models.CanFDBusSpeedCombination.html +0 -4
- package/doc/interfaces/models.CanFDBusSpeedInfo.html +0 -10
- package/doc/interfaces/models.ClearLinMessageRequest.html +0 -7
- package/doc/interfaces/models.ConnectNodesRequest.html +0 -5
- package/doc/interfaces/models.DatabaseFiles.html +0 -6
- package/doc/interfaces/models.DeviceEventArgs.html +0 -4
- package/doc/interfaces/models.DisconnectNodesRequest.html +0 -5
- package/doc/interfaces/models.Frame_PropertiesEntry.html +0 -3
- package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +0 -7
- package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +0 -6
- package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +0 -6
- package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +0 -4
- package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +0 -5
- package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +0 -4
- package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +0 -5
- package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +0 -4
- package/doc/interfaces/models.GetDataProcessorResponse.html +0 -3
- package/doc/interfaces/models.GetDevicesRequest.html +0 -4
- package/doc/interfaces/models.GetDevicesResponse.html +0 -3
- package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +0 -5
- package/doc/interfaces/models.GetLicensesResponse.html +0 -4
- package/doc/interfaces/models.GetLogFileFormatsRequest.html +0 -9
- package/doc/interfaces/models.GetLogFileFormatsResponse.html +0 -10
- package/doc/interfaces/models.GetLogLevelResponse.html +0 -4
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +0 -5
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +0 -4
- package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +0 -8
- package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +0 -14
- package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +0 -7
- package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +0 -4
- package/doc/interfaces/models.GetSourceResponse.html +0 -3
- package/doc/interfaces/models.GetTargetResponse.html +0 -3
- package/doc/interfaces/models.ILogFileFormat.html +0 -6
- package/doc/interfaces/models.IProject.html +0 -6
- package/doc/interfaces/models.IWorkspaceData.html +0 -5
- package/doc/interfaces/models.IdentifierRequest.html +0 -5
- package/doc/interfaces/models.IdentifiersRequest.html +0 -5
- package/doc/interfaces/models.InstallServiceExtensionRequest.html +0 -8
- package/doc/interfaces/models.LicenseInformation.html +0 -18
- package/doc/interfaces/models.Licenses.html +0 -4
- package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +0 -3
- package/doc/interfaces/models.MeasurementEventArgs.html +0 -6
- package/doc/interfaces/models.RequestLinMessageRequest.html +0 -7
- package/doc/interfaces/models.ScheduleTable.html +0 -8
- package/doc/interfaces/models.ScheduleTableEntry.html +0 -6
- package/doc/interfaces/models.SendLinWakeupFrameRequest.html +0 -9
- package/doc/interfaces/models.SendMessageRequest.html +0 -5
- package/doc/interfaces/models.SetLogLevelRequest.html +0 -6
- package/doc/interfaces/models.SetMeasurementSetupRequest.html +0 -4
- package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +0 -9
- package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +0 -7
- package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +0 -3
- package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +0 -5
- package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +0 -3
- package/doc/interfaces/models.UninstallServiceExtensionRequest.html +0 -6
- package/doc/interfaces/models.UpdateLinMessageRequest.html +0 -8
- package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +0 -7
- package/doc/modules/icons.html +0 -2
- package/doc/types/models.IReadOnlyDataBuffer.html +0 -1
- package/doc/types/models.themes.html +0 -1
- package/doc/variables/models.AboutInformation-1.html +0 -1
- package/doc/variables/models.ActivateLicenseRequest-1.html +0 -1
- package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +0 -1
- package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateSourceRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateTargetRequest-1.html +0 -1
- package/doc/variables/models.ApiPreferences-1.html +0 -1
- package/doc/variables/models.AppEventArgs-1.html +0 -1
- package/doc/variables/models.BaseNodeProperties-1.html +0 -1
- package/doc/variables/models.BusStatus-1.html +0 -1
- package/doc/variables/models.CanBusParamLimits-1.html +0 -1
- package/doc/variables/models.CanBusParams-1.html +0 -1
- package/doc/variables/models.CanBusSpeedInfo-1.html +0 -1
- package/doc/variables/models.CanChannelCapacity-1.html +0 -1
- package/doc/variables/models.CanChannelConfiguration-1.html +0 -1
- package/doc/variables/models.CanFDBusSpeedCombination-1.html +0 -1
- package/doc/variables/models.CanFDBusSpeedInfo-1.html +0 -1
- package/doc/variables/models.CanFrameFlags-1.html +0 -1
- package/doc/variables/models.CanMessageFilterSettings-1.html +0 -1
- package/doc/variables/models.Channel-1.html +0 -1
- package/doc/variables/models.ChannelSettings-1.html +0 -1
- package/doc/variables/models.ClearLinMessageRequest-1.html +0 -1
- package/doc/variables/models.ConnectNodesRequest-1.html +0 -1
- package/doc/variables/models.DataProcessingStatus-1.html +0 -1
- package/doc/variables/models.DataProcessorNodeProperties-1.html +0 -1
- package/doc/variables/models.DatabaseFiles-1.html +0 -1
- package/doc/variables/models.DatabasesSettings-1.html +0 -1
- package/doc/variables/models.Device-1.html +0 -1
- package/doc/variables/models.DeviceEventArgs-1.html +0 -1
- package/doc/variables/models.Devices-1.html +0 -1
- package/doc/variables/models.DisconnectNodesRequest-1.html +0 -1
- package/doc/variables/models.Empty-1.html +0 -1
- package/doc/variables/models.ErrorStatus-1.html +0 -1
- package/doc/variables/models.Frame-1.html +0 -1
- package/doc/variables/models.FrameDefinition-1.html +0 -1
- package/doc/variables/models.FrameDefinitions-1.html +0 -1
- package/doc/variables/models.FramePropertyValue-1.html +0 -1
- package/doc/variables/models.FrameReceivedTrigger-1.html +0 -1
- package/doc/variables/models.Frame_PropertiesEntry-1.html +0 -1
- package/doc/variables/models.Frames-1.html +0 -1
- package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +0 -1
- package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +0 -1
- package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetDataProcessorResponse-1.html +0 -1
- package/doc/variables/models.GetDevicesRequest-1.html +0 -1
- package/doc/variables/models.GetDevicesResponse-1.html +0 -1
- package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +0 -1
- package/doc/variables/models.GetLicensesResponse-1.html +0 -1
- package/doc/variables/models.GetLogFileFormatsRequest-1.html +0 -1
- package/doc/variables/models.GetLogFileFormatsResponse-1.html +0 -1
- package/doc/variables/models.GetLogLevelResponse-1.html +0 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +0 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +0 -1
- package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +0 -1
- package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +0 -1
- package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +0 -1
- package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +0 -1
- package/doc/variables/models.GetSourceResponse-1.html +0 -1
- package/doc/variables/models.GetTargetResponse-1.html +0 -1
- package/doc/variables/models.IdentifierRequest-1.html +0 -1
- package/doc/variables/models.IdentifiersRequest-1.html +0 -1
- package/doc/variables/models.InstallServiceExtensionRequest-1.html +0 -1
- package/doc/variables/models.InterpreterSettings-1.html +0 -1
- package/doc/variables/models.J1939InterpreterSettings-1.html +0 -1
- package/doc/variables/models.LicenseInformation-1.html +0 -1
- package/doc/variables/models.Licenses-1.html +0 -1
- package/doc/variables/models.LinChannelConfiguration-1.html +0 -1
- package/doc/variables/models.LinFrameFlags-1.html +0 -1
- package/doc/variables/models.LogMessage-1.html +0 -1
- package/doc/variables/models.LogMessages-1.html +0 -1
- package/doc/variables/models.LogReplaySettings-1.html +0 -1
- package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +0 -1
- package/doc/variables/models.LogReplayStatus-1.html +0 -1
- package/doc/variables/models.LoggerStatus-1.html +0 -1
- package/doc/variables/models.MeasurementEventArgs-1.html +0 -1
- package/doc/variables/models.MeasurementSetup-1.html +0 -1
- package/doc/variables/models.MessageLoggerSettings-1.html +0 -1
- package/doc/variables/models.NodeStatus-1.html +0 -1
- package/doc/variables/models.NodeStatuses-1.html +0 -1
- package/doc/variables/models.OnlineStatus-1.html +0 -1
- package/doc/variables/models.PeriodicTransmissionSettings-1.html +0 -1
- package/doc/variables/models.RequestLinMessageRequest-1.html +0 -1
- package/doc/variables/models.ScheduleTable-1.html +0 -1
- package/doc/variables/models.ScheduleTableEntry-1.html +0 -1
- package/doc/variables/models.SendLinWakeupFrameRequest-1.html +0 -1
- package/doc/variables/models.SendMessageRequest-1.html +0 -1
- package/doc/variables/models.ServiceExtensionSettings-1.html +0 -1
- package/doc/variables/models.SetLogLevelRequest-1.html +0 -1
- package/doc/variables/models.SetMeasurementSetupRequest-1.html +0 -1
- package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +0 -1
- package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +0 -1
- package/doc/variables/models.SignalDefinition-1.html +0 -1
- package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +0 -1
- package/doc/variables/models.SignalDefinitions-1.html +0 -1
- package/doc/variables/models.SignalFilterSettings-1.html +0 -1
- package/doc/variables/models.SignalLoggerSettings-1.html +0 -1
- package/doc/variables/models.SignalValue-1.html +0 -1
- package/doc/variables/models.SignalValueTrigger-1.html +0 -1
- package/doc/variables/models.SourceNodeProperties-1.html +0 -1
- package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +0 -1
- package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +0 -1
- package/doc/variables/models.TargetNodeProperties-1.html +0 -1
- package/doc/variables/models.TriggerSettings-1.html +0 -1
- package/doc/variables/models.UninstallServiceExtensionRequest-1.html +0 -1
- package/doc/variables/models.UpdateLinMessageRequest-1.html +0 -1
- package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +0 -1
- package/doc/variables/models.WriteFrame-1.html +0 -1
- package/licenses/ELECTRON-TOOLKIT-PRELOAD_MIT.TXT +0 -21
- package/licenses/FAST-DEEP-EQUAL_MIT.TXT +0 -21
- package/licenses/GOOGLE-PROTOBUF_(BSD-3-CLAUSE AND APACHE-2.0).TXT +0 -29
- package/licenses/REACT-DOM_MIT.TXT +0 -21
- package/licenses/REACT_MIT.TXT +0 -21
- package/licenses/UUID_MIT.TXT +0 -9
- package/licenses/licenses.css +0 -22
- package/licenses/licenses.html +0 -67
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ILocalizedStrings } from '../controls/LocalizedStrings';
|
|
2
|
-
import { Device, Frame, NodeStatus, LogMessage, MeasurementSetup, OnlineStatus, StatusLevel,
|
|
2
|
+
import { Device, Frame, NodeStatus, LogMessage, MeasurementSetup, OnlineStatus, StatusLevel, LogFileFormatInfo, IUserSettings, IWorkspacePaneData, FixedPosFrameIdentifier } from '../models';
|
|
3
|
+
import Long from 'long';
|
|
3
4
|
/**
|
|
4
5
|
* A hook for user settings.
|
|
5
6
|
* @returns The user settings.
|
|
@@ -28,6 +29,22 @@ export declare const useLocalizedStrings: () => ILocalizedStrings;
|
|
|
28
29
|
* Hook keeping track of recent project files.
|
|
29
30
|
*/
|
|
30
31
|
export declare const useRecentProjectFiles: () => string[];
|
|
32
|
+
/**
|
|
33
|
+
* A hook for log messages.
|
|
34
|
+
* @returns The log messages.
|
|
35
|
+
*/
|
|
36
|
+
export declare const useLogMessages: () => LogMessage[];
|
|
37
|
+
/**
|
|
38
|
+
* Hook keeping track of message log file formats.
|
|
39
|
+
* @param read_support - Optional flag to indicate if read support is required.
|
|
40
|
+
* @returns The message log file formats.
|
|
41
|
+
*/
|
|
42
|
+
export declare const useMessageLogFileFormats: (read_support?: boolean) => LogFileFormatInfo[];
|
|
43
|
+
/**
|
|
44
|
+
* Hook keeping track of signal log file formats.
|
|
45
|
+
* @returns The signal log file formats.
|
|
46
|
+
*/
|
|
47
|
+
export declare const useSignalLogFileFormats: () => LogFileFormatInfo[];
|
|
31
48
|
/**
|
|
32
49
|
* A hook for hardware devices.
|
|
33
50
|
* @returns The hardware devices.
|
|
@@ -38,6 +55,11 @@ export declare const useDevices: () => Device[] | null;
|
|
|
38
55
|
* @returns The measurement setup.
|
|
39
56
|
*/
|
|
40
57
|
export declare const useMeasurementSetup: () => MeasurementSetup;
|
|
58
|
+
/**
|
|
59
|
+
* Hook to get all available protocols from the measurement setup.
|
|
60
|
+
* @returns The available protocols.
|
|
61
|
+
*/
|
|
62
|
+
export declare const useAvailableProtocols: () => string[];
|
|
41
63
|
/**
|
|
42
64
|
* A hook for measurement status.
|
|
43
65
|
* @returns The measurement status.
|
|
@@ -48,6 +70,20 @@ export declare const useMeasurementStatus: () => NodeStatus[];
|
|
|
48
70
|
* @returns The node status.
|
|
49
71
|
*/
|
|
50
72
|
export declare const useNodeStatus: (id: string) => NodeStatus | null;
|
|
73
|
+
/**
|
|
74
|
+
* Calculates the overall status level from a bus status.
|
|
75
|
+
* @param busStatus - The bus status to calculate from.
|
|
76
|
+
* @returns The overall status level.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
export declare function calculateOverallStatusLevelFromBusStatus(busStatus: NodeStatus['busStatus']): StatusLevel;
|
|
80
|
+
/**
|
|
81
|
+
* Calculates the overall status level from multiple node statuses.
|
|
82
|
+
* @param statuses - Array of node statuses.
|
|
83
|
+
* @returns The highest overall status level.
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
export declare function calculateOverallStatusLevel(statuses: NodeStatus[]): StatusLevel;
|
|
51
87
|
/**
|
|
52
88
|
* Hook to get the measurement's highest overall status level.
|
|
53
89
|
* @returns The measurement's highest overall status.
|
|
@@ -68,50 +104,411 @@ export declare const useIsOnline: () => boolean;
|
|
|
68
104
|
* @returns The running periodic transmissions.
|
|
69
105
|
*/
|
|
70
106
|
export declare const useRunningPeriodicTransmissions: () => string[];
|
|
71
|
-
/**
|
|
72
|
-
* A hook for log messages.
|
|
73
|
-
* @returns The log messages.
|
|
74
|
-
*/
|
|
75
|
-
export declare const useLogMessages: () => LogMessage[];
|
|
76
107
|
/**
|
|
77
108
|
* A hook for new measurement data.
|
|
78
109
|
* @param numberOfHistoryFrames - Optional number of history frames to read from data buffer when this hook initializes.
|
|
79
110
|
* @param predicate - An optional predicate to filter out which data to return.
|
|
80
111
|
* @returns The new measurement data.
|
|
112
|
+
* @deprecated Use `useScrollModeMeasurementData`, `useFixedPositionModeMeasurementData`, `useMessageData` or `useSignalData` instead.
|
|
81
113
|
*/
|
|
82
114
|
export declare const useNewMeasurementData: (numberOfHistoryFrames?: number, predicate?: (frame: Frame) => boolean) => Frame[];
|
|
115
|
+
/**
|
|
116
|
+
* A hook for scroll mode measurement data. Will return the latest measurement data. Will include at most 500 frames.
|
|
117
|
+
* @param startUs - Optional start time (in microseconds) to read from the scroll data buffer. Any frame with a timestamp less than this will be excluded.
|
|
118
|
+
* @returns The measurement data.
|
|
119
|
+
*/
|
|
120
|
+
export declare const useScrollModeMeasurementData: (startUs?: number) => Frame[];
|
|
121
|
+
/**
|
|
122
|
+
* A hook for fixed position mode measurement data. Will return the latest measurement data for each unique frame id and type.
|
|
123
|
+
* @param startUs - Optional start time (in microseconds) to read from the fixed position data buffer. Any frame with a timestamp less than this will be excluded.
|
|
124
|
+
* @returns The measurement data.
|
|
125
|
+
*/
|
|
126
|
+
export declare const useFixedPositionModeMeasurementData: (startUs?: number) => Frame[];
|
|
127
|
+
/**
|
|
128
|
+
* Merges frame arrays and removes duplicates based on frame timestamp.
|
|
129
|
+
* @param existing - Existing frames to merge into.
|
|
130
|
+
* @param incoming - New frames to add.
|
|
131
|
+
* @returns Merged and deduplicated frames.
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
export declare function mergeAndDeduplicateFrames(existing: Frame[], incoming: Frame[]): Frame[];
|
|
135
|
+
/**
|
|
136
|
+
* Merges multiple frame data maps, deduplicating frames within each key.
|
|
137
|
+
* @param base - Base map to merge into (will be modified).
|
|
138
|
+
* @param additional - Additional map to merge from.
|
|
139
|
+
* @returns The merged map (same reference as base).
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
export declare function mergeFrameDataMaps(base: Map<string, Frame[]>, additional: Map<string, Frame[]>): Map<string, Frame[]>;
|
|
143
|
+
/**
|
|
144
|
+
* A hook for extracting message data from the measurement context. Will return the latest measurement data for the specified identifier.
|
|
145
|
+
*
|
|
146
|
+
* @remarks
|
|
147
|
+
* This hook buffers incoming frame data during initialization (before historical data is ready)
|
|
148
|
+
* and merges it with historical data once available. This ensures no data is lost during the startup phase.
|
|
149
|
+
*
|
|
150
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
151
|
+
* @param subscriptionName - The subscription name for the data. Must be unique per view. To avoid conflicts, use a descriptive name.
|
|
152
|
+
* @param identifiers - The fixed position frame identifiers to get data for. To avoid unnecessary re-renders, make sure to memoize this object.
|
|
153
|
+
* @returns The measurement data for the specified identifiers. If an empty array is returned, then all previously received data is invalid and should be discarded.
|
|
154
|
+
*/
|
|
155
|
+
export declare const useMessageData: (id: number, subscriptionName: string, identifiers: FixedPosFrameIdentifier[]) => Frame[];
|
|
156
|
+
/**
|
|
157
|
+
* Interface for signal data.
|
|
158
|
+
*/
|
|
159
|
+
export interface ISignalData {
|
|
160
|
+
/** The qualified name of the signal. */
|
|
161
|
+
qualifiedName: string;
|
|
162
|
+
/** The source identifier of the signal. */
|
|
163
|
+
sourceId?: string;
|
|
164
|
+
/** The name of the signal. */
|
|
165
|
+
name: string;
|
|
166
|
+
/** The unit of the signal. */
|
|
167
|
+
unit: string;
|
|
168
|
+
/**
|
|
169
|
+
* The timestamp of the signal data.
|
|
170
|
+
* @deprecated Use `timeUs` for higher precision timestamps in microseconds. This field is kept for backward compatibility but may be removed in the future.
|
|
171
|
+
*/
|
|
172
|
+
time: number;
|
|
173
|
+
/** The timestamp of the signal data in microseconds. */
|
|
174
|
+
timeUs: Long;
|
|
175
|
+
/** The double value of the signal. */
|
|
176
|
+
doubleValue: number;
|
|
177
|
+
/** Optional string value of the signal. */
|
|
178
|
+
stringValue?: string;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Initialization state for signal data hook.
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
export declare enum SignalDataInitState {
|
|
185
|
+
/** Not yet initialized */
|
|
186
|
+
PENDING = "pending",
|
|
187
|
+
/** Frame keys loaded, waiting for historical data */
|
|
188
|
+
FRAME_KEYS_READY = "frameKeysReady",
|
|
189
|
+
/** Historical data loaded, waiting for frame keys */
|
|
190
|
+
HISTORICAL_DATA_READY = "historicalDataReady",
|
|
191
|
+
/** Fully initialized and ready to process data */
|
|
192
|
+
READY = "ready"
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* A hook for extracting signal data from the measurement context. Will return the latest measurement data for the specified signal names.
|
|
196
|
+
*
|
|
197
|
+
* @remarks
|
|
198
|
+
* This hook buffers incoming frame data during initialization (before frame keys and historical data are ready)
|
|
199
|
+
* and merges it with historical data once available. This ensures no data is lost during the startup phase.
|
|
200
|
+
*
|
|
201
|
+
* @privateRemarks
|
|
202
|
+
* Initialization follows a state machine:
|
|
203
|
+
* - PENDING: Initial state, waiting for both frame keys and historical data
|
|
204
|
+
* - FRAME_KEYS_READY/HISTORICAL_DATA_READY: One component is ready
|
|
205
|
+
* - READY: Both components ready, processing live data
|
|
206
|
+
*
|
|
207
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
208
|
+
* @param subscriptionName - The subscription name for the data. Must be unique per view. To avoid conflicts, use a descriptive name.
|
|
209
|
+
* @param subscribedSignals - The signals to extract data for, including optional source identifiers. To avoid unnecessary re-renders, make sure to memoize this object.
|
|
210
|
+
* @returns The extracted signal data. If an empty array is returned, then all previously received data is invalid and should be discarded.
|
|
211
|
+
*/
|
|
212
|
+
export declare const useSignalData: (id: number, subscriptionName: string, subscribedSignals: {
|
|
213
|
+
qualifiedName: string;
|
|
214
|
+
sourceId?: string;
|
|
215
|
+
}[]) => ISignalData[];
|
|
216
|
+
/**
|
|
217
|
+
* Interface for signal data envelope.
|
|
218
|
+
* Each envelope contains arrays of time, min, and max values for a signal.
|
|
219
|
+
* All arrays are aligned by index.
|
|
220
|
+
*/
|
|
221
|
+
export interface ISignalDataEnvelope {
|
|
222
|
+
/** The qualified name of the signal. */
|
|
223
|
+
qualifiedName: string;
|
|
224
|
+
/** The source identifier of the signal. */
|
|
225
|
+
sourceId?: string;
|
|
226
|
+
/** The timestamps of the signal data in microseconds. */
|
|
227
|
+
timeUs: number[];
|
|
228
|
+
/** The minimum values of the signal data. */
|
|
229
|
+
min: number[];
|
|
230
|
+
/** The maximum values of the signal data. */
|
|
231
|
+
max: number[];
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Interface for envelope view parameters.
|
|
235
|
+
*/
|
|
236
|
+
export interface IEnvelopeView {
|
|
237
|
+
/** The start time of the view in microseconds. */
|
|
238
|
+
startTimeUs?: number;
|
|
239
|
+
/** The end time of the view in microseconds. */
|
|
240
|
+
endTimeUs?: number;
|
|
241
|
+
/** The time window of the view in microseconds. If start and end is not set then this defines the window. */
|
|
242
|
+
windowUs?: number;
|
|
243
|
+
/** The width of the view in pixels. */
|
|
244
|
+
width?: number;
|
|
245
|
+
/** Optional counter to force update the envelopes. Change it to trigger a refresh even if other parameters have not changed. */
|
|
246
|
+
forceUpdateCounter?: number;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* A hook for extracting signal data envelopes to be used for graphical visualization.
|
|
250
|
+
* The envelopes contain min/max values for signals over time ranges, suitable for plotting.
|
|
251
|
+
*
|
|
252
|
+
* @remarks
|
|
253
|
+
* This hook subscribes to live envelope data when no view time range is provided.
|
|
254
|
+
* If a view with startTime and endTime is given, it fetches envelopes from historical/cached data instead.
|
|
255
|
+
*
|
|
256
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
257
|
+
* @param subscriptionName - The subscription name for the data. Must be unique per view. To avoid conflicts, use a descriptive name.
|
|
258
|
+
* @param subscribedSignals - The subscribed signals with their qualified names and optional source identifiers. To avoid unnecessary re-renders, make sure to memoize this object.
|
|
259
|
+
* @param view - Optional view parameters to define the time range and width for the envelopes. If startTime and endTime are set then the envelopes
|
|
260
|
+
* will be fetched from history/cached data, otherwise only new/live envelope data will be provided.
|
|
261
|
+
* @returns The extracted signal data. If an empty array is returned, then all previously received data is invalid and should be discarded.
|
|
262
|
+
*/
|
|
263
|
+
export declare const useSignalDataEnvelopes: (id: number, subscriptionName: string, subscribedSignals: {
|
|
264
|
+
qualifiedName: string;
|
|
265
|
+
sourceId?: string;
|
|
266
|
+
}[], view: IEnvelopeView) => ISignalDataEnvelope[];
|
|
267
|
+
/**
|
|
268
|
+
* Merges saved session/project data with default values.
|
|
269
|
+
* @param saved - Saved session/project data (will be null/undefined if not present).
|
|
270
|
+
* @param defaultValue - Default value to use as base.
|
|
271
|
+
* @returns Merged data combining default and saved values.
|
|
272
|
+
* @internal
|
|
273
|
+
*/
|
|
274
|
+
export declare function mergeData<T>(saved: any, defaultValue: T): T;
|
|
275
|
+
/**
|
|
276
|
+
* Calculate the maximum number of active intervals allowed based on workspace panes.
|
|
277
|
+
* Assumes each pane might have 3-6 project data hooks on average (useProjectData + multiple useProjectDataSlice).
|
|
278
|
+
* @param numPanes - Number of active workspace panes
|
|
279
|
+
* @returns Maximum allowed active intervals
|
|
280
|
+
* @internal
|
|
281
|
+
*/
|
|
282
|
+
export declare function calculateMaxActiveProjectDataIntervals(numPanes: number): number;
|
|
283
|
+
/**
|
|
284
|
+
* A hook for data that should be saved to the current project.
|
|
285
|
+
* The state is automatically saved to and restored from the main process.
|
|
286
|
+
* @remarks
|
|
287
|
+
* Use this hook to split your workspace view's project data into multiple named slices.
|
|
288
|
+
* This can improve performance and reduce memory usage and it also allows
|
|
289
|
+
* different parts of the component tree to independently load and save their project data.
|
|
290
|
+
* Make sure to use the workspace view component's `id` prop and to use unique slice names
|
|
291
|
+
* for each slice within the component tree.
|
|
292
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
293
|
+
* @param slice - The slice name for the project data.
|
|
294
|
+
* @param defaultValue - The default value or a function that returns the default value.
|
|
295
|
+
* @param loadedCallback - Optional callback invoked once after data is loaded.
|
|
296
|
+
* @returns An object with a flag indicating if the project data has been initialized, the current project data and a setter callback.
|
|
297
|
+
*/
|
|
298
|
+
export declare const useProjectDataSlice: <T>(id: number, slice: string, defaultValue: T | (() => T), loadedCallback?: (value: T) => void) => [T, React.Dispatch<React.SetStateAction<T>>, boolean];
|
|
83
299
|
/**
|
|
84
300
|
* A hook for data that should be saved to the current project.
|
|
85
|
-
*
|
|
86
|
-
* @
|
|
301
|
+
* The state is automatically saved to and restored from the main process.
|
|
302
|
+
* @remarks
|
|
303
|
+
* It's only possible to use this hook once per workspace view component tree.
|
|
304
|
+
* Use this hook if your view component only needs to store a small amount of project data.
|
|
305
|
+
* For larger amounts of data, consider using `useProjectDataSlice` instead, which allows
|
|
306
|
+
* splitting the project data into multiple named slices.
|
|
307
|
+
* Using multiple slices can improve performance and reduce memory usage and it also allows
|
|
308
|
+
* different parts of the component tree to independently load and save their project data.
|
|
309
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
310
|
+
* @param defaultValue - The default value or a function that returns the default value.
|
|
87
311
|
* @returns An object with a flag indicating if the project data has been initialized, the current project data and a setter callback.
|
|
88
312
|
*/
|
|
89
|
-
export declare const useProjectData: <T>(id: number, defaultValue
|
|
313
|
+
export declare const useProjectData: <T>(id: number, defaultValue: T | (() => T)) => {
|
|
90
314
|
projectDataIsInitialized: boolean;
|
|
91
315
|
projectData: T;
|
|
92
316
|
setProjectData: React.Dispatch<React.SetStateAction<T>>;
|
|
93
317
|
};
|
|
318
|
+
/**
|
|
319
|
+
* Calculate the maximum number of active intervals allowed based on workspace panes.
|
|
320
|
+
* Assumes each pane might have 3-6 session data hooks on average (useSessionData + multiple useSessionDataSlice).
|
|
321
|
+
* @param numPanes - Number of active workspace panes
|
|
322
|
+
* @returns Maximum allowed active intervals
|
|
323
|
+
* @internal
|
|
324
|
+
*/
|
|
325
|
+
export declare function calculateMaxActiveSessionDataIntervals(numPanes: number): number;
|
|
94
326
|
/**
|
|
95
327
|
* A hook for data that should be saved to the session data.
|
|
96
|
-
*
|
|
97
|
-
* @
|
|
328
|
+
* The state is automatically saved to and restored from the main process.
|
|
329
|
+
* @remarks
|
|
330
|
+
* It's only possible to use this hook once per workspace view component tree.
|
|
331
|
+
* Use this hook if your view component only needs to store a small amount of session data.
|
|
332
|
+
* For larger amounts of data, consider using `useSessionDataSlice` instead, which allows
|
|
333
|
+
* splitting the session data into multiple named slices.
|
|
334
|
+
* Using multiple slices can improve performance and reduce memory usage and it also allows
|
|
335
|
+
* different parts of the component tree to independently load and save their session data.
|
|
336
|
+
* @typeParam T - The type of the session data. Must be JSON serializable.
|
|
337
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
338
|
+
* @param defaultValue - The default value or a function that returns the default value.
|
|
339
|
+
* @param loadedCallback - Optional callback invoked once after data is loaded.
|
|
98
340
|
* @returns An object with a flag indicating if the session data has been initialized, the current session data and a setter callback.
|
|
99
341
|
*/
|
|
100
|
-
export declare const useSessionData: <T>(id: number, defaultValue?: T) => {
|
|
342
|
+
export declare const useSessionData: <T>(id: number, defaultValue: T | (() => T), loadedCallback?: (value: T) => void) => {
|
|
101
343
|
sessionDataIsInitialized: boolean;
|
|
102
344
|
sessionData: T;
|
|
103
345
|
setSessionData: React.Dispatch<React.SetStateAction<T>>;
|
|
104
346
|
};
|
|
347
|
+
/**
|
|
348
|
+
* A hook for persistent (session) data tied to a specific view slice.
|
|
349
|
+
* The state is automatically saved to and restored from the main process.
|
|
350
|
+
* @remarks
|
|
351
|
+
* Use this hook to split your workspace view's session data into multiple named slices.
|
|
352
|
+
* This can improve performance and reduce memory usage and it also allows
|
|
353
|
+
* different parts of the component tree to independently load and save their session data.
|
|
354
|
+
* Make sure to use the workspace view component's `id` prop and to use unique slice names
|
|
355
|
+
* for each slice within the component tree.
|
|
356
|
+
* @typeParam T - The type of the session data. Must be JSON serializable.
|
|
357
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
358
|
+
* @param slice - The slice name for the session data.
|
|
359
|
+
* @param defaultValue - The default value or a function that returns the default value.
|
|
360
|
+
* @param loadedCallback - Optional callback invoked once after data is loaded.
|
|
361
|
+
* @returns [state, setState, loaded] — the current data, setter, and loaded flag.
|
|
362
|
+
*/
|
|
363
|
+
export declare function useSessionDataSlice<T>(id: number, slice: string, defaultValue: T | (() => T), loadedCallback?: (value: T) => void): [T, React.Dispatch<React.SetStateAction<T>>, boolean];
|
|
364
|
+
/**
|
|
365
|
+
* Custom hook to manage undo/redo state using session data storage.
|
|
366
|
+
* @remarks
|
|
367
|
+
* This hook triggers component re-renders whenever the state changes.
|
|
368
|
+
* This is useful for persisting undo/redo state across sessions.
|
|
369
|
+
* @typeParam T - The type of the state being managed, must be serializable to JSON.
|
|
370
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
371
|
+
* @param slice - The slice name for the session data.
|
|
372
|
+
* @param initialState - The initial undo state. Will be used if there is no existing session data.
|
|
373
|
+
* @returns [undoObject, loaded] - An undo object for managing state history and loaded flag.
|
|
374
|
+
*/
|
|
375
|
+
export declare function useUndoSessionDataSlice<T>(id: number, slice: string, initialState?: IUndoState<T>): [IUndoObject<T>, boolean];
|
|
105
376
|
/**
|
|
106
377
|
* Hook to get/set a workspace pane by id.
|
|
107
378
|
*/
|
|
108
379
|
export declare const useWorkspacePaneWithId: (id: number) => IWorkspacePaneData | null;
|
|
109
380
|
/**
|
|
110
|
-
*
|
|
111
|
-
*
|
|
381
|
+
* Callback type for when the view goes online.
|
|
382
|
+
* The online counter can be used to determine if CanKing has been offline and come back online while the view was unmounted.
|
|
383
|
+
* @param isNewView - Whether the view is newly created.
|
|
384
|
+
* @param isMounting - Whether the view is mounting.
|
|
385
|
+
* @param onlineCounter - The number of times CanKing has gone online (including the current one).
|
|
112
386
|
*/
|
|
113
|
-
export
|
|
387
|
+
export type OnGoingOnlineCallback = (isNewView: boolean, isMounting: boolean, onlineCounter: number) => void;
|
|
114
388
|
/**
|
|
115
|
-
*
|
|
389
|
+
* Callback type for when the view goes offline.
|
|
390
|
+
* The online counter can be used to determine if CanKing has been online and come back offline while the view was unmounted.
|
|
391
|
+
* @param isNewView - Whether the view is newly created.
|
|
392
|
+
* @param isMounting - Whether the view is mounting.
|
|
393
|
+
* @param onlineCounter - The number of times CanKing has gone online (including the current one).
|
|
394
|
+
*/
|
|
395
|
+
export type OnGoingOfflineCallback = (isNewView: boolean, isMounting: boolean, onlineCounter: number) => void;
|
|
396
|
+
/**
|
|
397
|
+
* Custom hook to synchronize session state with online/offline status changes.
|
|
398
|
+
* @param parentIsInitialized - Whether the parent component is initialized and has loaded all project and session data needed before receiving online updates.
|
|
399
|
+
* @param id - The unique id of the view. This is passed to the view component as the `id` prop.
|
|
400
|
+
* @param onGoingOnline - Callback function to handle going online. Called when the CanKing starts a measurement or when the view is mounted while online.
|
|
401
|
+
* @param onGoingOffline - Callback function to handle going offline. Called when the CanKing stops a measurement or when the view is mounted while offline.
|
|
402
|
+
* @returns The current online status.
|
|
403
|
+
*/
|
|
404
|
+
export declare function useOnlineStatusSync(parentIsInitialized: boolean, id: number, onGoingOnline: OnGoingOnlineCallback, onGoingOffline: OnGoingOfflineCallback): boolean;
|
|
405
|
+
/**
|
|
406
|
+
* The undo/redo state.
|
|
407
|
+
* @typeParam T - The type of the undo/redo data.
|
|
408
|
+
*/
|
|
409
|
+
export interface IUndoState<T> {
|
|
410
|
+
/** The previous values */
|
|
411
|
+
previous: T[];
|
|
412
|
+
/** The current value */
|
|
413
|
+
current?: T;
|
|
414
|
+
/** The next values */
|
|
415
|
+
next: T[];
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* The undo/redo object. Includes the current state and methods to manipulate it.
|
|
419
|
+
* @typeParam T - The type of the undo/redo data.
|
|
420
|
+
*/
|
|
421
|
+
export interface IUndoObject<T> {
|
|
422
|
+
/** The current undo/redo state */
|
|
423
|
+
state: IUndoState<T>;
|
|
424
|
+
/**
|
|
425
|
+
* Set a new current state
|
|
426
|
+
* @param updater - The new value or a function that receives the current value and returns the new value
|
|
427
|
+
*/
|
|
428
|
+
set: (updater: T | ((curr?: T) => T)) => void;
|
|
429
|
+
/**
|
|
430
|
+
* Reset the undo/redo history with a new initial value
|
|
431
|
+
* @param current - The new initial value. If undefined, current will be unset.
|
|
432
|
+
* @param previous - The previous values (optional)
|
|
433
|
+
* @param next - The next values (optional)
|
|
434
|
+
*/
|
|
435
|
+
reset: (current?: T, previous?: T[], next?: T[]) => void;
|
|
436
|
+
/**
|
|
437
|
+
* Undo to the previous state
|
|
438
|
+
*/
|
|
439
|
+
undo: () => void;
|
|
440
|
+
/**
|
|
441
|
+
* Redo to the next state
|
|
442
|
+
*/
|
|
443
|
+
redo: () => void;
|
|
444
|
+
/**
|
|
445
|
+
* Check if undo is possible
|
|
446
|
+
* @returns true if there are states to undo to
|
|
447
|
+
*/
|
|
448
|
+
canUndo: () => boolean;
|
|
449
|
+
/**
|
|
450
|
+
* Check if redo is possible
|
|
451
|
+
* @returns true if there are states to redo to
|
|
452
|
+
*/
|
|
453
|
+
canRedo: () => boolean;
|
|
454
|
+
/**
|
|
455
|
+
* Subscribe to state changes (optional, for triggering re-renders)
|
|
456
|
+
* @param listener - Callback function that will be called whenever state changes
|
|
457
|
+
* @returns Unsubscribe function
|
|
458
|
+
*/
|
|
459
|
+
subscribe?: (listener: () => void) => () => void;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Helper function to limit buffer size by keeping only the most recent entries.
|
|
463
|
+
* @param buffer - The buffer to limit.
|
|
464
|
+
* @param maxLength - Maximum allowed length.
|
|
465
|
+
* @returns Limited buffer.
|
|
466
|
+
* @internal
|
|
467
|
+
*/
|
|
468
|
+
export declare function limitBuffer<T>(buffer: T[], maxLength: number): T[];
|
|
469
|
+
/**
|
|
470
|
+
* Performs an undo operation on the undo/redo state.
|
|
471
|
+
* @param state - Current undo/redo state.
|
|
472
|
+
* @param maxBufferLength - Maximum buffer length for history.
|
|
473
|
+
* @returns New undo/redo state after undo.
|
|
474
|
+
* @internal
|
|
475
|
+
*/
|
|
476
|
+
export declare function performUndo<T>(state: IUndoState<T>, maxBufferLength: number): IUndoState<T>;
|
|
477
|
+
/**
|
|
478
|
+
* Performs a redo operation on the undo/redo state.
|
|
479
|
+
* @param state - Current undo/redo state.
|
|
480
|
+
* @param maxBufferLength - Maximum buffer length for history.
|
|
481
|
+
* @returns New undo/redo state after redo.
|
|
482
|
+
* @internal
|
|
483
|
+
*/
|
|
484
|
+
export declare function performRedo<T>(state: IUndoState<T>, maxBufferLength: number): IUndoState<T>;
|
|
485
|
+
/**
|
|
486
|
+
* Performs a set operation on the undo/redo state.
|
|
487
|
+
* @param state - Current undo/redo state.
|
|
488
|
+
* @param newValue - New value to set.
|
|
489
|
+
* @param maxBufferLength - Maximum buffer length for history.
|
|
490
|
+
* @param equalityFn - Optional equality function to check if value changed.
|
|
491
|
+
* @returns New undo/redo state after set, or null if value didn't change.
|
|
492
|
+
* @internal
|
|
493
|
+
*/
|
|
494
|
+
export declare function performSet<T>(state: IUndoState<T>, newValue: T, maxBufferLength: number, equalityFn?: (a: T | undefined, b: T) => boolean): IUndoState<T> | null;
|
|
495
|
+
/**
|
|
496
|
+
* Custom hook to manage undo/redo state using a ref (does not trigger re-renders by default).
|
|
497
|
+
* @remarks
|
|
498
|
+
* This hook uses useRef and does not automatically trigger component re-renders.
|
|
499
|
+
* Use the subscribe method if you need to trigger re-renders on state changes, or use useUndo instead.
|
|
500
|
+
* @typeParam T - The type of the undo/redo data.
|
|
501
|
+
* @param initialState - The initial undo state.
|
|
502
|
+
* @returns An undo object for managing state history.
|
|
503
|
+
*/
|
|
504
|
+
export declare function useUndoRef<T>(initialState?: IUndoState<T>): IUndoObject<T>;
|
|
505
|
+
/**
|
|
506
|
+
* Custom hook to manage undo/redo state with automatic re-renders.
|
|
507
|
+
* @remarks
|
|
508
|
+
* This hook triggers component re-renders whenever the state changes.
|
|
509
|
+
* If you don't need re-renders, use useUndoRef instead for better performance.
|
|
510
|
+
* @typeParam T - The type of the state being managed.
|
|
511
|
+
* @param initialState - The initial undo state.
|
|
512
|
+
* @returns An undo object for managing state history with automatic re-renders.
|
|
116
513
|
*/
|
|
117
|
-
export declare
|
|
514
|
+
export declare function useUndo<T>(initialState?: IUndoState<T>): IUndoObject<T>;
|
package/dist/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");require("uuid");const e=require("./index.js");require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");require("uuid");const e=require("./index.js");require("./models.js");require("./ipc.js");require("./status_params.js");exports.SignalDataInitState=e.SignalDataInitState;exports.calculateMaxActiveProjectDataIntervals=e.calculateMaxActiveProjectDataIntervals;exports.calculateMaxActiveSessionDataIntervals=e.calculateMaxActiveSessionDataIntervals;exports.calculateOverallStatusLevel=e.calculateOverallStatusLevel;exports.calculateOverallStatusLevelFromBusStatus=e.calculateOverallStatusLevelFromBusStatus;exports.limitBuffer=e.limitBuffer;exports.mergeAndDeduplicateFrames=e.mergeAndDeduplicateFrames;exports.mergeData=e.mergeData;exports.mergeFrameDataMaps=e.mergeFrameDataMaps;exports.performRedo=e.performRedo;exports.performSet=e.performSet;exports.performUndo=e.performUndo;exports.useAvailableProtocols=e.useAvailableProtocols;exports.useDevices=e.useDevices;exports.useFixedPositionModeMeasurementData=e.useFixedPositionModeMeasurementData;exports.useIsOnline=e.useIsOnline;exports.useLanguage=e.useLanguage;exports.useLocalizedStrings=e.useLocalizedStrings;exports.useLogMessages=e.useLogMessages;exports.useMaxDataBytes=e.useMaxDataBytes;exports.useMeasurementSetup=e.useMeasurementSetup;exports.useMeasurementStatus=e.useMeasurementStatus;exports.useMessageData=e.useMessageData;exports.useMessageLogFileFormats=e.useMessageLogFileFormats;exports.useNewMeasurementData=e.useNewMeasurementData;exports.useNodeStatus=e.useNodeStatus;exports.useNumericRadix=e.useNumericRadix;exports.useOnlineStatus=e.useOnlineStatus;exports.useOnlineStatusSync=e.useOnlineStatusSync;exports.useOverallStatusLevel=e.useOverallStatusLevel;exports.useProjectData=e.useProjectData;exports.useProjectDataSlice=e.useProjectDataSlice;exports.useRecentProjectFiles=e.useRecentProjectFiles;exports.useRunningPeriodicTransmissions=e.useRunningPeriodicTransmissions;exports.useScrollModeMeasurementData=e.useScrollModeMeasurementData;exports.useSessionData=e.useSessionData;exports.useSessionDataSlice=e.useSessionDataSlice;exports.useSignalData=e.useSignalData;exports.useSignalDataEnvelopes=e.useSignalDataEnvelopes;exports.useSignalLogFileFormats=e.useSignalLogFileFormats;exports.useUndo=e.useUndo;exports.useUndoRef=e.useUndoRef;exports.useUndoSessionDataSlice=e.useUndoSessionDataSlice;exports.useUserSettings=e.useUserSettings;exports.useWorkspacePaneWithId=e.useWorkspacePaneWithId;
|
package/dist/hooks.mjs
CHANGED
|
@@ -1,29 +1,53 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "uuid";
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import "./
|
|
3
|
+
import { S as r, N as l, T as n, v as c, t as S, $ as m, F as D, K as g, G as d, a1 as p, a2 as v, a0 as M, q as F, p as P, E as L, y as f, a as x, u as I, m as O, k as j, d as A, e as R, H as U, n as B, A as N, s as y, c as k, x as w, _ as z, w as E, Q as T, P as W, l as b, z as h, B as q, V as G, X as H, I as J, J as K, o as Q, a4 as V, a3 as X, Y, j as Z, Z as _ } from "./index.mjs";
|
|
4
|
+
import "./models.mjs";
|
|
5
|
+
import "./ipc.mjs";
|
|
6
6
|
import "./status_params.mjs";
|
|
7
7
|
export {
|
|
8
|
-
r as
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
d as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
F as
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
O as
|
|
27
|
-
|
|
28
|
-
|
|
8
|
+
r as SignalDataInitState,
|
|
9
|
+
l as calculateMaxActiveProjectDataIntervals,
|
|
10
|
+
n as calculateMaxActiveSessionDataIntervals,
|
|
11
|
+
c as calculateOverallStatusLevel,
|
|
12
|
+
S as calculateOverallStatusLevelFromBusStatus,
|
|
13
|
+
m as limitBuffer,
|
|
14
|
+
D as mergeAndDeduplicateFrames,
|
|
15
|
+
g as mergeData,
|
|
16
|
+
d as mergeFrameDataMaps,
|
|
17
|
+
p as performRedo,
|
|
18
|
+
v as performSet,
|
|
19
|
+
M as performUndo,
|
|
20
|
+
F as useAvailableProtocols,
|
|
21
|
+
P as useDevices,
|
|
22
|
+
L as useFixedPositionModeMeasurementData,
|
|
23
|
+
f as useIsOnline,
|
|
24
|
+
x as useLanguage,
|
|
25
|
+
I as useLocalizedStrings,
|
|
26
|
+
O as useLogMessages,
|
|
27
|
+
j as useMaxDataBytes,
|
|
28
|
+
A as useMeasurementSetup,
|
|
29
|
+
R as useMeasurementStatus,
|
|
30
|
+
U as useMessageData,
|
|
31
|
+
B as useMessageLogFileFormats,
|
|
32
|
+
N as useNewMeasurementData,
|
|
33
|
+
y as useNodeStatus,
|
|
34
|
+
k as useNumericRadix,
|
|
35
|
+
w as useOnlineStatus,
|
|
36
|
+
z as useOnlineStatusSync,
|
|
37
|
+
E as useOverallStatusLevel,
|
|
38
|
+
T as useProjectData,
|
|
39
|
+
W as useProjectDataSlice,
|
|
40
|
+
b as useRecentProjectFiles,
|
|
41
|
+
h as useRunningPeriodicTransmissions,
|
|
42
|
+
q as useScrollModeMeasurementData,
|
|
43
|
+
G as useSessionData,
|
|
44
|
+
H as useSessionDataSlice,
|
|
45
|
+
J as useSignalData,
|
|
46
|
+
K as useSignalDataEnvelopes,
|
|
47
|
+
Q as useSignalLogFileFormats,
|
|
48
|
+
V as useUndo,
|
|
49
|
+
X as useUndoRef,
|
|
50
|
+
Y as useUndoSessionDataSlice,
|
|
51
|
+
Z as useUserSettings,
|
|
52
|
+
_ as useWorkspacePaneWithId
|
|
29
53
|
};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -124,4 +124,43 @@ export declare const OpenExternallyIcon: import("@mui/material/OverridableCompon
|
|
|
124
124
|
export declare const ColumnSettingsIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
125
125
|
muiName: string;
|
|
126
126
|
};
|
|
127
|
+
export declare const SearchIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
128
|
+
muiName: string;
|
|
129
|
+
};
|
|
130
|
+
export declare const UndoIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
131
|
+
muiName: string;
|
|
132
|
+
};
|
|
133
|
+
export declare const RedoIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
134
|
+
muiName: string;
|
|
135
|
+
};
|
|
136
|
+
export declare const Cursor1Icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
137
|
+
muiName: string;
|
|
138
|
+
};
|
|
139
|
+
export declare const Cursor2Icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
140
|
+
muiName: string;
|
|
141
|
+
};
|
|
142
|
+
export declare const VisibleIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
143
|
+
muiName: string;
|
|
144
|
+
};
|
|
145
|
+
export declare const InvisibleIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
146
|
+
muiName: string;
|
|
147
|
+
};
|
|
148
|
+
export declare const BoldTextIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
149
|
+
muiName: string;
|
|
150
|
+
};
|
|
151
|
+
export declare const LineThicknessIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
152
|
+
muiName: string;
|
|
153
|
+
};
|
|
154
|
+
export declare const PlotMarkersIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
155
|
+
muiName: string;
|
|
156
|
+
};
|
|
157
|
+
export declare const ExpandAllIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
158
|
+
muiName: string;
|
|
159
|
+
};
|
|
160
|
+
export declare const LeftAxisIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
161
|
+
muiName: string;
|
|
162
|
+
};
|
|
163
|
+
export declare const RightAxisIcon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
164
|
+
muiName: string;
|
|
165
|
+
};
|
|
127
166
|
export { CloseIcon as ClearIcon };
|