@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.
Files changed (884) hide show
  1. package/dist/controls/CanChannelSelectControl.d.ts +4 -4
  2. package/dist/controls/CanIdentifierControl.d.ts +105 -55
  3. package/dist/controls/CanKingDataProvider.d.ts +27 -3
  4. package/dist/controls/CheckboxControl.d.ts +13 -4
  5. package/dist/controls/ColorControl.d.ts +26 -0
  6. package/dist/controls/ColumnItemControl.d.ts +1 -1
  7. package/dist/controls/ContextMenu.d.ts +2 -2
  8. package/dist/controls/DropdownButton.d.ts +3 -3
  9. package/dist/controls/DropdownPanel.d.ts +1 -1
  10. package/dist/controls/ExtensionWorkspaceViewProps.d.ts +8 -0
  11. package/dist/controls/FormControlRow.d.ts +1 -1
  12. package/dist/controls/InlineEditor.d.ts +4 -4
  13. package/dist/controls/LinChannelSelectControl.d.ts +3 -3
  14. package/dist/controls/LinIdentifierControl.d.ts +96 -53
  15. package/dist/controls/LocalizedStrings.d.ts +1 -0
  16. package/dist/controls/NumberRangeControl.d.ts +11 -11
  17. package/dist/controls/RadioControl.d.ts +1 -1
  18. package/dist/controls/RadioGroupControl.d.ts +2 -2
  19. package/dist/controls/SectionControl.d.ts +2 -2
  20. package/dist/controls/SelectControl.d.ts +2 -2
  21. package/dist/controls/SelectMessageDialog.d.ts +32 -3
  22. package/dist/controls/SelectSignalDialog.d.ts +103 -1
  23. package/dist/controls/SelectSignalsControl.d.ts +44 -0
  24. package/dist/controls/SizedBox.d.ts +1 -0
  25. package/dist/controls/TableControl.d.ts +3 -4
  26. package/dist/controls/TextControl.d.ts +16 -6
  27. package/dist/controls/ToolbarControl.d.ts +6 -4
  28. package/dist/controls/ValidateableTextControl.d.ts +6 -6
  29. package/dist/controls/index.d.ts +5 -2
  30. package/dist/controls.js +1 -1
  31. package/dist/controls.mjs +2581 -1936
  32. package/dist/grpc.js +1 -1
  33. package/dist/grpc.mjs +220 -178
  34. package/dist/hooks/index.d.ts +414 -17
  35. package/dist/hooks.js +1 -1
  36. package/dist/hooks.mjs +48 -24
  37. package/dist/icons/index.d.ts +39 -0
  38. package/dist/icons.js +1 -1
  39. package/dist/icons.mjs +947 -750
  40. package/dist/index.d.ts +0 -2
  41. package/dist/index.js +1 -1
  42. package/dist/index.mjs +1182 -437
  43. package/dist/ipc/index.d.ts +31 -3
  44. package/dist/ipc.js +1 -1
  45. package/dist/ipc.mjs +132 -104
  46. package/dist/models/DataBuffer.d.ts +18 -15
  47. package/dist/models/ElectronAPIFake.d.ts +2 -1
  48. package/dist/models/Point.d.ts +4 -0
  49. package/dist/models/deep_equal.d.ts +7 -0
  50. package/dist/models/index.d.ts +85 -12
  51. package/dist/models/json_utilities.d.ts +16 -0
  52. package/dist/models.js +1 -1
  53. package/dist/models.mjs +776 -297
  54. package/dist/protos/app_params.d.ts +109 -49
  55. package/dist/protos/app_service.d.ts +81 -50
  56. package/dist/protos/common_params.d.ts +4 -1
  57. package/dist/protos/device_params.d.ts +82 -27
  58. package/dist/protos/frame_params.d.ts +103 -4
  59. package/dist/protos/measurement_params.d.ts +244 -46
  60. package/dist/protos/measurement_service.d.ts +119 -65
  61. package/dist/protos/measurement_settings.d.ts +157 -6
  62. package/dist/protos/signal_params.d.ts +20 -0
  63. package/dist/protos/status_params.d.ts +30 -0
  64. package/dist/status_params.js +1 -1
  65. package/dist/status_params.mjs +8891 -1850
  66. package/doc/assets/hierarchy.js +1 -1
  67. package/doc/assets/main.js +5 -5
  68. package/doc/assets/navigation.js +1 -1
  69. package/doc/assets/search.js +1 -1
  70. package/doc/assets/style.css +254 -231
  71. package/doc/enums/models.AccessMode.html +11 -9
  72. package/doc/enums/models.CanChannelCap.html +44 -44
  73. package/doc/enums/models.CanConfigMode.html +16 -0
  74. package/doc/enums/models.CanFrameFlag.html +58 -27
  75. package/doc/enums/models.CanMessageFilterType.html +8 -6
  76. package/doc/enums/models.CanMode.html +12 -7
  77. package/doc/enums/models.DecimalChar.html +8 -5
  78. package/doc/enums/models.FileConflictAction.html +10 -7
  79. package/doc/enums/models.LinFrameFlag.html +21 -12
  80. package/doc/enums/models.LogFileFormat.html +48 -46
  81. package/doc/enums/models.LogLevel.html +17 -17
  82. package/doc/enums/models.LogReplayState.html +8 -6
  83. package/doc/enums/models.LoggerState.html +10 -7
  84. package/doc/enums/models.Separator.html +8 -5
  85. package/doc/enums/models.SignalEncoding.html +7 -5
  86. package/doc/enums/models.SignalType.html +12 -12
  87. package/doc/enums/models.SignalValueTriggerOperator.html +22 -13
  88. package/doc/enums/models.StatusLevel.html +10 -7
  89. package/doc/enums/models.TimeReference.html +8 -5
  90. package/doc/enums/models.TriggerOperator.html +8 -6
  91. package/doc/functions/controls.CanChannelSelectControl.html +2 -2
  92. package/doc/functions/controls.CanIdentifierControl.html +2 -2
  93. package/doc/functions/controls.CanIdentifierFrameControl.html +2 -2
  94. package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -2
  95. package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -2
  96. package/doc/functions/controls.CanKingDataProvider.html +5 -5
  97. package/doc/functions/controls.CheckboxControl.html +2 -2
  98. package/doc/functions/controls.ColorControl.html +4 -0
  99. package/doc/functions/controls.ColumnItemControl.html +2 -2
  100. package/doc/functions/controls.ContextMenu.html +2 -2
  101. package/doc/functions/controls.DropdownButton.html +2 -2
  102. package/doc/functions/controls.DropdownButtonTextItems.html +2 -2
  103. package/doc/functions/controls.DropdownPanel.html +2 -2
  104. package/doc/functions/controls.FormControlRow.html +2 -2
  105. package/doc/functions/controls.InlineEditor.html +2 -2
  106. package/doc/functions/controls.LinChannelSelectControl.html +2 -2
  107. package/doc/functions/controls.LinIdentifierControl.html +2 -2
  108. package/doc/functions/controls.LinIdentifierFrameControl.html +2 -2
  109. package/doc/functions/controls.LinIdentifierGeneratorControl.html +2 -2
  110. package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +2 -2
  111. package/doc/functions/controls.NumberRangeControl.html +2 -2
  112. package/doc/functions/controls.RadioControl.html +2 -2
  113. package/doc/functions/controls.RadioGroupControl.html +2 -2
  114. package/doc/functions/controls.SectionControl.html +2 -2
  115. package/doc/functions/controls.SelectControl.html +2 -2
  116. package/doc/functions/controls.SelectMessageDialog.html +2 -2
  117. package/doc/functions/controls.SelectSignalDialog.html +2 -2
  118. package/doc/functions/controls.SelectSignalsControl.html +2 -0
  119. package/doc/functions/controls.TableControl.html +3 -3
  120. package/doc/functions/controls.TextControl.html +2 -2
  121. package/doc/functions/controls.ToolbarControl.html +2 -2
  122. package/doc/functions/controls.ValidateableTextControl.html +2 -2
  123. package/doc/functions/controls.useColumnItem.html +3 -3
  124. package/doc/functions/controls.useColumnItems.html +3 -3
  125. package/doc/functions/controls.useMessageDatabases.html +2 -2
  126. package/doc/functions/hooks.useAvailableProtocols.html +3 -0
  127. package/doc/functions/hooks.useDevices.html +3 -3
  128. package/doc/functions/hooks.useFixedPositionModeMeasurementData.html +4 -0
  129. package/doc/functions/hooks.useIsOnline.html +3 -3
  130. package/doc/functions/hooks.useLanguage.html +3 -3
  131. package/doc/functions/hooks.useLocalizedStrings.html +3 -3
  132. package/doc/functions/hooks.useLogMessages.html +3 -3
  133. package/doc/functions/hooks.useMaxDataBytes.html +2 -2
  134. package/doc/functions/hooks.useMeasurementSetup.html +3 -3
  135. package/doc/functions/hooks.useMeasurementStatus.html +3 -3
  136. package/doc/functions/hooks.useMessageData.html +8 -0
  137. package/doc/functions/hooks.useMessageLogFileFormats.html +4 -3
  138. package/doc/functions/hooks.useNewMeasurementData.html +4 -3
  139. package/doc/functions/hooks.useNodeStatus.html +3 -3
  140. package/doc/functions/hooks.useNumericRadix.html +3 -3
  141. package/doc/functions/hooks.useOnlineStatus.html +3 -3
  142. package/doc/functions/hooks.useOnlineStatusSync.html +7 -0
  143. package/doc/functions/hooks.useOverallStatusLevel.html +3 -3
  144. package/doc/functions/hooks.useProjectData.html +12 -5
  145. package/doc/functions/hooks.useProjectDataSlice.html +13 -0
  146. package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
  147. package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -3
  148. package/doc/functions/hooks.useScrollModeMeasurementData.html +4 -0
  149. package/doc/functions/hooks.useSessionData.html +14 -5
  150. package/doc/functions/hooks.useSessionDataSlice.html +14 -0
  151. package/doc/functions/hooks.useSignalData.html +8 -0
  152. package/doc/functions/hooks.useSignalDataEnvelopes.html +11 -0
  153. package/doc/functions/hooks.useSignalLogFileFormats.html +3 -2
  154. package/doc/functions/hooks.useUndo.html +7 -0
  155. package/doc/functions/hooks.useUndoRef.html +7 -0
  156. package/doc/functions/hooks.useUndoSessionDataSlice.html +9 -0
  157. package/doc/functions/hooks.useUserSettings.html +3 -3
  158. package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
  159. package/doc/functions/ipc.addDataProcessor.html +3 -3
  160. package/doc/functions/ipc.addSource.html +3 -3
  161. package/doc/functions/ipc.addTarget.html +3 -3
  162. package/doc/functions/ipc.clearLinMessage.html +3 -3
  163. package/doc/functions/ipc.connectNodes.html +3 -3
  164. package/doc/functions/ipc.deleteDataProcessor.html +3 -3
  165. package/doc/functions/ipc.deleteSource.html +3 -3
  166. package/doc/functions/ipc.deleteTarget.html +3 -3
  167. package/doc/functions/ipc.disableNode.html +3 -3
  168. package/doc/functions/ipc.disconnectNodes.html +3 -3
  169. package/doc/functions/ipc.enableNode.html +3 -3
  170. package/doc/functions/ipc.getFirstAndLatestTimestamp.html +4 -0
  171. package/doc/functions/ipc.getFirstTimestamp.html +3 -0
  172. package/doc/functions/ipc.getFrameDefinitions.html +3 -3
  173. package/doc/functions/ipc.getLatestTimestamp.html +3 -0
  174. package/doc/functions/ipc.getLogger.html +3 -3
  175. package/doc/functions/ipc.getMessageDataBeforeTimestamp.html +7 -0
  176. package/doc/functions/ipc.getMessageLogFileFormats.html +3 -3
  177. package/doc/functions/ipc.getSignalLogFileFormats.html +3 -3
  178. package/doc/functions/ipc.requestLinMessage.html +3 -3
  179. package/doc/functions/ipc.sendCanMessage.html +3 -3
  180. package/doc/functions/ipc.sendMessage.html +3 -3
  181. package/doc/functions/ipc.showMessageBox.html +3 -3
  182. package/doc/functions/ipc.showQuestionBox.html +3 -3
  183. package/doc/functions/ipc.startLogReplay.html +3 -3
  184. package/doc/functions/ipc.startMeasurement.html +2 -2
  185. package/doc/functions/ipc.startPeriodicTransmission.html +3 -3
  186. package/doc/functions/ipc.stopLogReplay.html +3 -3
  187. package/doc/functions/ipc.stopMeasurement.html +2 -2
  188. package/doc/functions/ipc.stopPeriodicTransmission.html +3 -3
  189. package/doc/functions/ipc.updateDataProcessor.html +3 -3
  190. package/doc/functions/ipc.updateLinMessage.html +3 -3
  191. package/doc/functions/ipc.updatePeriodicTransmission.html +3 -3
  192. package/doc/functions/ipc.updateSource.html +3 -3
  193. package/doc/functions/ipc.updateTarget.html +3 -3
  194. package/doc/functions/models.decimalToFixed.html +5 -1
  195. package/doc/functions/models.decimalToHex.html +6 -1
  196. package/doc/functions/models.deep_equal.html +5 -0
  197. package/doc/functions/models.deserializeFrame.html +4 -0
  198. package/doc/functions/models.jsonReplacer.html +6 -0
  199. package/doc/functions/models.jsonReviver.html +6 -0
  200. package/doc/functions/models.longToNumber.html +4 -1
  201. package/doc/functions/models.serializeFrame.html +4 -0
  202. package/doc/hierarchy.html +1 -1
  203. package/doc/index.html +6 -6
  204. package/doc/interfaces/controls.ButtonGroupProps.html +10 -10
  205. package/doc/interfaces/controls.ButtonProps.html +22 -22
  206. package/doc/interfaces/controls.CanChannelSelectControlProps.html +20 -20
  207. package/doc/interfaces/controls.CanIdentifierControlProps.html +54 -37
  208. package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +34 -33
  209. package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +42 -33
  210. package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +34 -25
  211. package/doc/interfaces/controls.CheckboxControlProps.html +22 -17
  212. package/doc/interfaces/controls.ContextMenuProps.html +9 -9
  213. package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -4
  214. package/doc/interfaces/controls.DropdownButtonProps.html +20 -20
  215. package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -9
  216. package/doc/interfaces/controls.DropdownPanelProps.html +20 -20
  217. package/doc/interfaces/controls.FormControlRowProps.html +8 -8
  218. package/doc/interfaces/controls.IExtensionWorkspaceViewProps.html +2 -0
  219. package/doc/interfaces/controls.ILocalizedStrings.html +2 -3
  220. package/doc/interfaces/controls.IMessageDatabase.html +2 -4
  221. package/doc/interfaces/controls.InlineEditorProps.html +13 -13
  222. package/doc/interfaces/controls.LabelProps.html +6 -6
  223. package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -20
  224. package/doc/interfaces/controls.LinIdentifierControlProps.html +45 -35
  225. package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +34 -33
  226. package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +40 -31
  227. package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +34 -25
  228. package/doc/interfaces/controls.NumberRangeControlProps.html +38 -38
  229. package/doc/interfaces/controls.RadioControlProps.html +14 -14
  230. package/doc/interfaces/controls.RadioGroupControlProps.html +9 -9
  231. package/doc/interfaces/controls.SectionControlProps.html +17 -17
  232. package/doc/interfaces/controls.SelectControlProps.html +31 -31
  233. package/doc/interfaces/controls.SelectMessageDialogProps.html +19 -8
  234. package/doc/interfaces/controls.SelectSignalDialogProps.html +71 -12
  235. package/doc/interfaces/controls.SelectSignalsControlProps.html +22 -0
  236. package/doc/interfaces/controls.SelectedSignalInfo.html +6 -0
  237. package/doc/interfaces/controls.SelectedSignalInfoChangeArgs.html +9 -0
  238. package/doc/interfaces/controls.TableColumn.html +12 -12
  239. package/doc/interfaces/controls.TableControlProps.html +30 -30
  240. package/doc/interfaces/controls.TextControlProps.html +41 -41
  241. package/doc/interfaces/controls.ToggleButtonGroupProps.html +17 -17
  242. package/doc/interfaces/controls.ToggleButtonProps.html +14 -14
  243. package/doc/interfaces/controls.ToolbarControlProps.html +18 -18
  244. package/doc/interfaces/controls.ValidateableTextControlProps.html +54 -54
  245. package/doc/interfaces/controls.toolbarItem.html +14 -12
  246. package/doc/interfaces/hooks.IEnvelopeView.html +12 -0
  247. package/doc/interfaces/hooks.ISignalData.html +19 -0
  248. package/doc/interfaces/hooks.ISignalDataEnvelope.html +14 -0
  249. package/doc/interfaces/hooks.IUndoObject.html +27 -0
  250. package/doc/interfaces/hooks.IUndoState.html +9 -0
  251. package/doc/interfaces/ipc.ILogger.html +2 -8
  252. package/doc/interfaces/models.BaseNodeProperties.html +14 -8
  253. package/doc/interfaces/models.BusStatus.html +32 -17
  254. package/doc/interfaces/models.CanBusParamLimits.html +12 -7
  255. package/doc/interfaces/models.CanBusParams.html +14 -8
  256. package/doc/interfaces/models.CanChannelCapacity.html +10 -7
  257. package/doc/interfaces/models.CanChannelConfiguration.html +46 -16
  258. package/doc/interfaces/models.CanFrameFlags.html +4 -3
  259. package/doc/interfaces/models.CanMessageFilterSettings.html +8 -5
  260. package/doc/interfaces/models.Channel.html +12 -7
  261. package/doc/interfaces/models.ChannelSettings.html +22 -20
  262. package/doc/interfaces/models.DataProcessingStatus.html +10 -6
  263. package/doc/interfaces/models.DataProcessorNodeProperties.html +14 -8
  264. package/doc/interfaces/models.DatabasesSettings.html +4 -3
  265. package/doc/interfaces/models.Device.html +16 -9
  266. package/doc/interfaces/models.Devices.html +4 -2
  267. package/doc/interfaces/models.Empty.html +2 -2
  268. package/doc/interfaces/models.ErrorStatus.html +4 -4
  269. package/doc/interfaces/models.FixedPosFrameIdentifier.html +14 -0
  270. package/doc/interfaces/models.Frame.html +41 -30
  271. package/doc/interfaces/models.FrameDefinition.html +16 -14
  272. package/doc/interfaces/models.FrameDefinitions.html +4 -2
  273. package/doc/interfaces/models.FramePropertyValue.html +6 -4
  274. package/doc/interfaces/models.FrameReceivedTrigger.html +8 -6
  275. package/doc/interfaces/models.Frames.html +4 -2
  276. package/doc/interfaces/models.IUserSettings.html +2 -17
  277. package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -4
  278. package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -5
  279. package/doc/interfaces/models.IWorkspacePaneData.html +2 -5
  280. package/doc/interfaces/models.InterpreterSettings.html +4 -4
  281. package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
  282. package/doc/interfaces/models.LinChannelConfiguration.html +14 -14
  283. package/doc/interfaces/models.LinFrameFlags.html +4 -3
  284. package/doc/interfaces/models.LogMessage.html +12 -12
  285. package/doc/interfaces/models.LogMessages.html +4 -4
  286. package/doc/interfaces/models.LogReplaySettings.html +26 -26
  287. package/doc/interfaces/models.LogReplayStatus.html +4 -3
  288. package/doc/interfaces/models.LoggerStatus.html +4 -3
  289. package/doc/interfaces/models.MeasurementSetup.html +10 -6
  290. package/doc/interfaces/models.MessageLoggerSettings.html +44 -44
  291. package/doc/interfaces/models.NodeStatus.html +18 -18
  292. package/doc/interfaces/models.NodeStatuses.html +4 -3
  293. package/doc/interfaces/models.OnlineStatus.html +6 -3
  294. package/doc/interfaces/models.PeriodicTransmissionSettings.html +36 -36
  295. package/doc/interfaces/models.ServiceExtensionSettings.html +6 -4
  296. package/doc/interfaces/models.SignalDefinition.html +34 -18
  297. package/doc/interfaces/models.SignalDefinitions.html +4 -2
  298. package/doc/interfaces/models.SignalFilterSettings.html +6 -4
  299. package/doc/interfaces/models.SignalLoggerSettings.html +56 -56
  300. package/doc/interfaces/models.SignalValue.html +12 -7
  301. package/doc/interfaces/models.SignalValueTrigger.html +18 -16
  302. package/doc/interfaces/models.SourceNodeProperties.html +12 -7
  303. package/doc/interfaces/models.TargetNodeProperties.html +12 -6
  304. package/doc/interfaces/models.TdcConfiguration.html +17 -0
  305. package/doc/interfaces/models.TriggerSettings.html +8 -8
  306. package/doc/interfaces/models.WriteFrame.html +10 -10
  307. package/doc/modules/controls.html +3 -3
  308. package/doc/modules/hooks.html +3 -3
  309. package/doc/modules/ipc.html +2 -2
  310. package/doc/modules/models.html +2 -2
  311. package/doc/modules.html +1 -1
  312. package/doc/types/controls.ContextMenuOption.html +10 -6
  313. package/doc/types/controls.SelectOption.html +6 -4
  314. package/doc/types/controls.StringsMap.html +2 -2
  315. package/doc/types/controls.canIdentifierGeneratorType.html +2 -2
  316. package/doc/types/controls.canIdentifierType.html +2 -2
  317. package/doc/types/controls.linIdentifierGeneratorType.html +2 -2
  318. package/doc/types/hooks.OnGoingOfflineCallback.html +6 -0
  319. package/doc/types/hooks.OnGoingOnlineCallback.html +6 -0
  320. package/doc/types/models.SerializableFrame.html +2 -0
  321. package/doc/variables/controls.FillBox.html +3 -0
  322. package/doc/variables/controls.OneLineButton.html +2 -0
  323. package/doc/variables/controls.SizedBox.html +3 -0
  324. package/doc/variables/controls.TabsPanel.html +2 -0
  325. package/doc/variables/models.defaultUserSettings.html +2 -2
  326. package/doc_md/README.md +189 -0
  327. package/doc_md/assets/favicon.png +0 -0
  328. package/doc_md/controls/README.md +162 -0
  329. package/doc_md/controls/functions/CanChannelSelectControl.md +25 -0
  330. package/doc_md/controls/functions/CanIdentifierControl.md +25 -0
  331. package/doc_md/controls/functions/CanIdentifierFrameControl.md +25 -0
  332. package/doc_md/controls/functions/CanIdentifierGeneratorControl.md +25 -0
  333. package/doc_md/controls/functions/CanIdentifierGeneratorSettingsControl.md +26 -0
  334. package/doc_md/controls/functions/CanKingDataProvider.md +47 -0
  335. package/doc_md/controls/functions/CheckboxControl.md +25 -0
  336. package/doc_md/controls/functions/ColorControl.md +25 -0
  337. package/doc_md/controls/functions/ColumnItemControl.md +21 -0
  338. package/doc_md/controls/functions/ContextMenu.md +25 -0
  339. package/doc_md/controls/functions/DropdownButton.md +25 -0
  340. package/doc_md/controls/functions/DropdownButtonTextItems.md +25 -0
  341. package/doc_md/controls/functions/DropdownPanel.md +25 -0
  342. package/doc_md/controls/functions/FormControlRow.md +25 -0
  343. package/doc_md/controls/functions/InlineEditor.md +25 -0
  344. package/doc_md/controls/functions/LinChannelSelectControl.md +25 -0
  345. package/doc_md/controls/functions/LinIdentifierControl.md +25 -0
  346. package/doc_md/controls/functions/LinIdentifierFrameControl.md +25 -0
  347. package/doc_md/controls/functions/LinIdentifierGeneratorControl.md +25 -0
  348. package/doc_md/controls/functions/LinIdentifierGeneratorSettingsControl.md +26 -0
  349. package/doc_md/controls/functions/NumberRangeControl.md +25 -0
  350. package/doc_md/controls/functions/RadioControl.md +25 -0
  351. package/doc_md/controls/functions/RadioGroupControl.md +25 -0
  352. package/doc_md/controls/functions/SectionControl.md +25 -0
  353. package/doc_md/controls/functions/SelectControl.md +25 -0
  354. package/doc_md/controls/functions/SelectMessageDialog.md +21 -0
  355. package/doc_md/controls/functions/SelectSignalDialog.md +21 -0
  356. package/doc_md/controls/functions/SelectSignalsControl.md +21 -0
  357. package/doc_md/controls/functions/TableControl.md +31 -0
  358. package/doc_md/controls/functions/TextControl.md +25 -0
  359. package/doc_md/controls/functions/ToolbarControl.md +25 -0
  360. package/doc_md/controls/functions/ValidateableTextControl.md +25 -0
  361. package/doc_md/controls/functions/useColumnItem.md +17 -0
  362. package/doc_md/controls/functions/useColumnItems.md +25 -0
  363. package/doc_md/controls/functions/useMessageDatabases.md +21 -0
  364. package/doc_md/controls/interfaces/ButtonGroupProps.md +41 -0
  365. package/doc_md/controls/interfaces/ButtonProps.md +93 -0
  366. package/doc_md/controls/interfaces/CanChannelSelectControlProps.md +103 -0
  367. package/doc_md/controls/interfaces/CanIdentifierControlProps.md +251 -0
  368. package/doc_md/controls/interfaces/CanIdentifierFrameControlProps.md +152 -0
  369. package/doc_md/controls/interfaces/CanIdentifierGeneratorControlProps.md +219 -0
  370. package/doc_md/controls/interfaces/CanIdentifierGeneratorSettingsControlProps.md +162 -0
  371. package/doc_md/controls/interfaces/CheckboxControlProps.md +94 -0
  372. package/doc_md/controls/interfaces/ContextMenuProps.md +45 -0
  373. package/doc_md/controls/interfaces/DropdownButtonChildrenProps.md +25 -0
  374. package/doc_md/controls/interfaces/DropdownButtonProps.md +81 -0
  375. package/doc_md/controls/interfaces/DropdownButtonTextItemsProps.md +70 -0
  376. package/doc_md/controls/interfaces/DropdownPanelProps.md +81 -0
  377. package/doc_md/controls/interfaces/FormControlRowProps.md +33 -0
  378. package/doc_md/controls/interfaces/IExtensionWorkspaceViewProps.md +9 -0
  379. package/doc_md/controls/interfaces/ILocalizedStrings.md +9 -0
  380. package/doc_md/controls/interfaces/IMessageDatabase.md +9 -0
  381. package/doc_md/controls/interfaces/InlineEditorProps.md +61 -0
  382. package/doc_md/controls/interfaces/LabelProps.md +25 -0
  383. package/doc_md/controls/interfaces/LinChannelSelectControlProps.md +97 -0
  384. package/doc_md/controls/interfaces/LinIdentifierControlProps.md +203 -0
  385. package/doc_md/controls/interfaces/LinIdentifierFrameControlProps.md +152 -0
  386. package/doc_md/controls/interfaces/LinIdentifierGeneratorControlProps.md +207 -0
  387. package/doc_md/controls/interfaces/LinIdentifierGeneratorSettingsControlProps.md +162 -0
  388. package/doc_md/controls/interfaces/NumberRangeControlProps.md +253 -0
  389. package/doc_md/controls/interfaces/RadioControlProps.md +57 -0
  390. package/doc_md/controls/interfaces/RadioGroupControlProps.md +45 -0
  391. package/doc_md/controls/interfaces/SectionControlProps.md +77 -0
  392. package/doc_md/controls/interfaces/SelectControlProps.md +134 -0
  393. package/doc_md/controls/interfaces/SelectMessageDialogProps.md +86 -0
  394. package/doc_md/controls/interfaces/SelectSignalDialogProps.md +232 -0
  395. package/doc_md/controls/interfaces/SelectSignalsControlProps.md +119 -0
  396. package/doc_md/controls/interfaces/SelectedSignalInfo.md +29 -0
  397. package/doc_md/controls/interfaces/SelectedSignalInfoChangeArgs.md +46 -0
  398. package/doc_md/controls/interfaces/TableColumn.md +65 -0
  399. package/doc_md/controls/interfaces/TableControlProps.md +157 -0
  400. package/doc_md/controls/interfaces/TextControlProps.md +177 -0
  401. package/doc_md/controls/interfaces/ToggleButtonGroupProps.md +77 -0
  402. package/doc_md/controls/interfaces/ToggleButtonProps.md +57 -0
  403. package/doc_md/controls/interfaces/ToolbarControlProps.md +73 -0
  404. package/doc_md/controls/interfaces/ValidateableTextControlProps.md +269 -0
  405. package/doc_md/controls/interfaces/toolbarItem.md +57 -0
  406. package/doc_md/controls/type-aliases/ContextMenuOption.md +43 -0
  407. package/doc_md/controls/type-aliases/SelectOption.md +27 -0
  408. package/doc_md/controls/type-aliases/StringsMap.md +15 -0
  409. package/doc_md/controls/type-aliases/canIdentifierGeneratorType.md +11 -0
  410. package/doc_md/controls/type-aliases/canIdentifierType.md +11 -0
  411. package/doc_md/controls/type-aliases/linIdentifierGeneratorType.md +11 -0
  412. package/doc_md/controls/variables/FillBox.md +12 -0
  413. package/doc_md/controls/variables/OneLineButton.md +11 -0
  414. package/doc_md/controls/variables/SizedBox.md +12 -0
  415. package/doc_md/controls/variables/TabsPanel.md +11 -0
  416. package/doc_md/hooks/README.md +70 -0
  417. package/doc_md/hooks/functions/useAvailableProtocols.md +17 -0
  418. package/doc_md/hooks/functions/useDevices.md +17 -0
  419. package/doc_md/hooks/functions/useFixedPositionModeMeasurementData.md +25 -0
  420. package/doc_md/hooks/functions/useIsOnline.md +17 -0
  421. package/doc_md/hooks/functions/useLanguage.md +17 -0
  422. package/doc_md/hooks/functions/useLocalizedStrings.md +17 -0
  423. package/doc_md/hooks/functions/useLogMessages.md +17 -0
  424. package/doc_md/hooks/functions/useMaxDataBytes.md +15 -0
  425. package/doc_md/hooks/functions/useMeasurementSetup.md +17 -0
  426. package/doc_md/hooks/functions/useMeasurementStatus.md +17 -0
  427. package/doc_md/hooks/functions/useMessageData.md +42 -0
  428. package/doc_md/hooks/functions/useMessageLogFileFormats.md +25 -0
  429. package/doc_md/hooks/functions/useNewMeasurementData.md +35 -0
  430. package/doc_md/hooks/functions/useNodeStatus.md +23 -0
  431. package/doc_md/hooks/functions/useNumericRadix.md +17 -0
  432. package/doc_md/hooks/functions/useOnlineStatus.md +17 -0
  433. package/doc_md/hooks/functions/useOnlineStatusSync.md +43 -0
  434. package/doc_md/hooks/functions/useOverallStatusLevel.md +17 -0
  435. package/doc_md/hooks/functions/useProjectData.md +59 -0
  436. package/doc_md/hooks/functions/useProjectDataSlice.md +58 -0
  437. package/doc_md/hooks/functions/useRecentProjectFiles.md +15 -0
  438. package/doc_md/hooks/functions/useRunningPeriodicTransmissions.md +17 -0
  439. package/doc_md/hooks/functions/useScrollModeMeasurementData.md +25 -0
  440. package/doc_md/hooks/functions/useSessionData.md +67 -0
  441. package/doc_md/hooks/functions/useSessionDataSlice.md +60 -0
  442. package/doc_md/hooks/functions/useSignalData.md +42 -0
  443. package/doc_md/hooks/functions/useSignalDataEnvelopes.md +50 -0
  444. package/doc_md/hooks/functions/useSignalLogFileFormats.md +17 -0
  445. package/doc_md/hooks/functions/useUndo.md +38 -0
  446. package/doc_md/hooks/functions/useUndoRef.md +38 -0
  447. package/doc_md/hooks/functions/useUndoSessionDataSlice.md +50 -0
  448. package/doc_md/hooks/functions/useUserSettings.md +17 -0
  449. package/doc_md/hooks/functions/useWorkspacePaneWithId.md +21 -0
  450. package/doc_md/hooks/interfaces/IEnvelopeView.md +49 -0
  451. package/doc_md/hooks/interfaces/ISignalData.md +77 -0
  452. package/doc_md/hooks/interfaces/ISignalDataEnvelope.md +51 -0
  453. package/doc_md/hooks/interfaces/IUndoObject.md +155 -0
  454. package/doc_md/hooks/interfaces/IUndoState.md +41 -0
  455. package/doc_md/hooks/type-aliases/OnGoingOfflineCallback.md +36 -0
  456. package/doc_md/hooks/type-aliases/OnGoingOnlineCallback.md +36 -0
  457. package/doc_md/ipc/README.md +51 -0
  458. package/doc_md/ipc/functions/addDataProcessor.md +35 -0
  459. package/doc_md/ipc/functions/addSource.md +23 -0
  460. package/doc_md/ipc/functions/addTarget.md +23 -0
  461. package/doc_md/ipc/functions/clearLinMessage.md +29 -0
  462. package/doc_md/ipc/functions/connectNodes.md +29 -0
  463. package/doc_md/ipc/functions/deleteDataProcessor.md +23 -0
  464. package/doc_md/ipc/functions/deleteSource.md +23 -0
  465. package/doc_md/ipc/functions/deleteTarget.md +23 -0
  466. package/doc_md/ipc/functions/disableNode.md +23 -0
  467. package/doc_md/ipc/functions/disconnectNodes.md +29 -0
  468. package/doc_md/ipc/functions/enableNode.md +23 -0
  469. package/doc_md/ipc/functions/getFirstAndLatestTimestamp.md +18 -0
  470. package/doc_md/ipc/functions/getFirstTimestamp.md +17 -0
  471. package/doc_md/ipc/functions/getFrameDefinitions.md +26 -0
  472. package/doc_md/ipc/functions/getLatestTimestamp.md +17 -0
  473. package/doc_md/ipc/functions/getLogger.md +25 -0
  474. package/doc_md/ipc/functions/getMessageDataBeforeTimestamp.md +38 -0
  475. package/doc_md/ipc/functions/getMessageLogFileFormats.md +17 -0
  476. package/doc_md/ipc/functions/getSignalLogFileFormats.md +17 -0
  477. package/doc_md/ipc/functions/requestLinMessage.md +30 -0
  478. package/doc_md/ipc/functions/sendCanMessage.md +41 -0
  479. package/doc_md/ipc/functions/sendMessage.md +29 -0
  480. package/doc_md/ipc/functions/showMessageBox.md +29 -0
  481. package/doc_md/ipc/functions/showQuestionBox.md +51 -0
  482. package/doc_md/ipc/functions/startLogReplay.md +23 -0
  483. package/doc_md/ipc/functions/startMeasurement.md +15 -0
  484. package/doc_md/ipc/functions/startPeriodicTransmission.md +25 -0
  485. package/doc_md/ipc/functions/stopLogReplay.md +23 -0
  486. package/doc_md/ipc/functions/stopMeasurement.md +15 -0
  487. package/doc_md/ipc/functions/stopPeriodicTransmission.md +23 -0
  488. package/doc_md/ipc/functions/updateDataProcessor.md +23 -0
  489. package/doc_md/ipc/functions/updateLinMessage.md +29 -0
  490. package/doc_md/ipc/functions/updatePeriodicTransmission.md +29 -0
  491. package/doc_md/ipc/functions/updateSource.md +23 -0
  492. package/doc_md/ipc/functions/updateTarget.md +23 -0
  493. package/doc_md/ipc/interfaces/ILogger.md +9 -0
  494. package/doc_md/models/README.md +109 -0
  495. package/doc_md/models/enumerations/AccessMode.md +52 -0
  496. package/doc_md/models/enumerations/CanChannelCap.md +181 -0
  497. package/doc_md/models/enumerations/CanConfigMode.md +69 -0
  498. package/doc_md/models/enumerations/CanFrameFlag.md +226 -0
  499. package/doc_md/models/enumerations/CanMessageFilterType.md +37 -0
  500. package/doc_md/models/enumerations/CanMode.md +53 -0
  501. package/doc_md/models/enumerations/DecimalChar.md +37 -0
  502. package/doc_md/models/enumerations/FileConflictAction.md +45 -0
  503. package/doc_md/models/enumerations/LinFrameFlag.md +87 -0
  504. package/doc_md/models/enumerations/LogFileFormat.md +199 -0
  505. package/doc_md/models/enumerations/LogLevel.md +76 -0
  506. package/doc_md/models/enumerations/LogReplayState.md +37 -0
  507. package/doc_md/models/enumerations/LoggerState.md +45 -0
  508. package/doc_md/models/enumerations/Separator.md +37 -0
  509. package/doc_md/models/enumerations/SignalEncoding.md +31 -0
  510. package/doc_md/models/enumerations/SignalType.md +53 -0
  511. package/doc_md/models/enumerations/SignalValueTriggerOperator.md +93 -0
  512. package/doc_md/models/enumerations/StatusLevel.md +45 -0
  513. package/doc_md/models/enumerations/TimeReference.md +37 -0
  514. package/doc_md/models/enumerations/TriggerOperator.md +37 -0
  515. package/doc_md/models/functions/decimalToFixed.md +31 -0
  516. package/doc_md/models/functions/decimalToHex.md +37 -0
  517. package/doc_md/models/functions/deep_equal.md +37 -0
  518. package/doc_md/models/functions/deserializeFrame.md +25 -0
  519. package/doc_md/models/functions/jsonReplacer.md +32 -0
  520. package/doc_md/models/functions/jsonReviver.md +32 -0
  521. package/doc_md/models/functions/longToNumber.md +25 -0
  522. package/doc_md/models/functions/serializeFrame.md +25 -0
  523. package/doc_md/models/interfaces/BaseNodeProperties.md +57 -0
  524. package/doc_md/models/interfaces/BusStatus.md +129 -0
  525. package/doc_md/models/interfaces/CanBusParamLimits.md +49 -0
  526. package/doc_md/models/interfaces/CanBusParams.md +78 -0
  527. package/doc_md/models/interfaces/CanChannelCapacity.md +41 -0
  528. package/doc_md/models/interfaces/CanChannelConfiguration.md +164 -0
  529. package/doc_md/models/interfaces/CanFrameFlags.md +18 -0
  530. package/doc_md/models/interfaces/CanMessageFilterSettings.md +33 -0
  531. package/doc_md/models/interfaces/Channel.md +49 -0
  532. package/doc_md/models/interfaces/ChannelSettings.md +89 -0
  533. package/doc_md/models/interfaces/DataProcessingStatus.md +41 -0
  534. package/doc_md/models/interfaces/DataProcessorNodeProperties.md +57 -0
  535. package/doc_md/models/interfaces/DatabasesSettings.md +17 -0
  536. package/doc_md/models/interfaces/Device.md +65 -0
  537. package/doc_md/models/interfaces/Devices.md +17 -0
  538. package/doc_md/models/interfaces/Empty.md +17 -0
  539. package/doc_md/models/interfaces/ErrorStatus.md +17 -0
  540. package/doc_md/models/interfaces/FixedPosFrameIdentifier.md +57 -0
  541. package/doc_md/models/interfaces/Frame.md +169 -0
  542. package/doc_md/models/interfaces/FrameDefinition.md +65 -0
  543. package/doc_md/models/interfaces/FrameDefinitions.md +17 -0
  544. package/doc_md/models/interfaces/FramePropertyValue.md +25 -0
  545. package/doc_md/models/interfaces/FrameReceivedTrigger.md +33 -0
  546. package/doc_md/models/interfaces/Frames.md +17 -0
  547. package/doc_md/models/interfaces/IUserSettings.md +9 -0
  548. package/doc_md/models/interfaces/IWorkspaceComponentPaneData.md +9 -0
  549. package/doc_md/models/interfaces/IWorkspaceContainerPaneData.md +9 -0
  550. package/doc_md/models/interfaces/IWorkspacePaneData.md +9 -0
  551. package/doc_md/models/interfaces/InterpreterSettings.md +17 -0
  552. package/doc_md/models/interfaces/J1939InterpreterSettings.md +9 -0
  553. package/doc_md/models/interfaces/LinChannelConfiguration.md +57 -0
  554. package/doc_md/models/interfaces/LinFrameFlags.md +18 -0
  555. package/doc_md/models/interfaces/LogMessage.md +49 -0
  556. package/doc_md/models/interfaces/LogMessages.md +17 -0
  557. package/doc_md/models/interfaces/LogReplaySettings.md +109 -0
  558. package/doc_md/models/interfaces/LogReplayStatus.md +17 -0
  559. package/doc_md/models/interfaces/LoggerStatus.md +17 -0
  560. package/doc_md/models/interfaces/MeasurementSetup.md +41 -0
  561. package/doc_md/models/interfaces/MessageLoggerSettings.md +177 -0
  562. package/doc_md/models/interfaces/NodeStatus.md +73 -0
  563. package/doc_md/models/interfaces/NodeStatuses.md +17 -0
  564. package/doc_md/models/interfaces/OnlineStatus.md +25 -0
  565. package/doc_md/models/interfaces/PeriodicTransmissionSettings.md +145 -0
  566. package/doc_md/models/interfaces/ServiceExtensionSettings.md +25 -0
  567. package/doc_md/models/interfaces/SignalDefinition.md +141 -0
  568. package/doc_md/models/interfaces/SignalDefinitions.md +17 -0
  569. package/doc_md/models/interfaces/SignalFilterSettings.md +25 -0
  570. package/doc_md/models/interfaces/SignalLoggerSettings.md +225 -0
  571. package/doc_md/models/interfaces/SignalValue.md +49 -0
  572. package/doc_md/models/interfaces/SignalValueTrigger.md +73 -0
  573. package/doc_md/models/interfaces/SourceNodeProperties.md +49 -0
  574. package/doc_md/models/interfaces/TargetNodeProperties.md +49 -0
  575. package/doc_md/models/interfaces/TdcConfiguration.md +33 -0
  576. package/doc_md/models/interfaces/TriggerSettings.md +33 -0
  577. package/doc_md/models/interfaces/WriteFrame.md +41 -0
  578. package/doc_md/models/type-aliases/SerializableFrame.md +33 -0
  579. package/doc_md/models/variables/defaultUserSettings.md +11 -0
  580. package/doc_md/modules.md +12 -0
  581. package/package.json +19 -6
  582. package/dist/ElectronAPIFake.js +0 -1
  583. package/dist/ElectronAPIFake.mjs +0 -272
  584. package/dist/controls/SelectSignalControl.d.ts +0 -11
  585. package/dist/measurement_settings.js +0 -1
  586. package/dist/measurement_settings.mjs +0 -6021
  587. package/doc/classes/controls.LocalizedStrings.html +0 -4
  588. package/doc/classes/models.DataBuffer.html +0 -32
  589. package/doc/classes/models.DataBufferView.html +0 -20
  590. package/doc/classes/models.Point.html +0 -14
  591. package/doc/enums/models.AppEvent.html +0 -6
  592. package/doc/enums/models.DeviceEvent.html +0 -6
  593. package/doc/enums/models.FileType.html +0 -7
  594. package/doc/enums/models.MeasurementEvent.html +0 -12
  595. package/doc/enums/models.Protocols.html +0 -9
  596. package/doc/functions/controls.FillBox.html +0 -33
  597. package/doc/functions/controls.OneLineButton.html +0 -32
  598. package/doc/functions/controls.SelectSignalControl.html +0 -1
  599. package/doc/functions/controls.SizedBox.html +0 -33
  600. package/doc/functions/controls.TabsPanel.html +0 -32
  601. package/doc/functions/icons.AddIcon.html +0 -4
  602. package/doc/functions/icons.ArrowDownIcon.html +0 -4
  603. package/doc/functions/icons.ArrowLeftIcon.html +0 -4
  604. package/doc/functions/icons.ArrowRightIcon.html +0 -4
  605. package/doc/functions/icons.ArrowUpIcon.html +0 -4
  606. package/doc/functions/icons.BusIsOffIcon.html +0 -4
  607. package/doc/functions/icons.BusIsOnIcon.html +0 -4
  608. package/doc/functions/icons.CloseIcon.html +0 -4
  609. package/doc/functions/icons.ColumnSettingsIcon.html +0 -4
  610. package/doc/functions/icons.CopyIcon.html +0 -4
  611. package/doc/functions/icons.DarkModeIcon.html +0 -4
  612. package/doc/functions/icons.DeleteIcon.html +0 -4
  613. package/doc/functions/icons.DisableIcon.html +0 -4
  614. package/doc/functions/icons.EditIcon.html +0 -4
  615. package/doc/functions/icons.EnableIcon.html +0 -4
  616. package/doc/functions/icons.FilterIcon.html +0 -4
  617. package/doc/functions/icons.FixedPositionIcon.html +0 -4
  618. package/doc/functions/icons.LeaveFullScreenIcon.html +0 -4
  619. package/doc/functions/icons.LightModeIcon.html +0 -4
  620. package/doc/functions/icons.LineArrowDownIcon.html +0 -4
  621. package/doc/functions/icons.LineArrowUpIcon.html +0 -4
  622. package/doc/functions/icons.MaximizeWindowIcon.html +0 -4
  623. package/doc/functions/icons.MeasurementSetupIcon.html +0 -4
  624. package/doc/functions/icons.MoreHorizIcon.html +0 -4
  625. package/doc/functions/icons.MoreVertIcon.html +0 -4
  626. package/doc/functions/icons.NewIcon.html +0 -4
  627. package/doc/functions/icons.OpenExternallyIcon.html +0 -4
  628. package/doc/functions/icons.OpenIcon.html +0 -4
  629. package/doc/functions/icons.PauseIcon.html +0 -4
  630. package/doc/functions/icons.PlayIcon.html +0 -4
  631. package/doc/functions/icons.PlaySolidIcon.html +0 -4
  632. package/doc/functions/icons.SaveIcon.html +0 -4
  633. package/doc/functions/icons.SelectAllIcon.html +0 -4
  634. package/doc/functions/icons.ServiceIconActive.html +0 -4
  635. package/doc/functions/icons.ServiceIconInactive.html +0 -4
  636. package/doc/functions/icons.SettingsIcon.html +0 -4
  637. package/doc/functions/icons.StopIcon.html +0 -4
  638. package/doc/functions/icons.StopSolidIcon.html +0 -4
  639. package/doc/functions/icons.ToolsPanelHiddenIcon.html +0 -4
  640. package/doc/functions/icons.ToolsPanelVisibleIcon.html +0 -4
  641. package/doc/functions/icons.UnmaximizeWindowIcon.html +0 -4
  642. package/doc/functions/icons.WorkspacesIcon.html +0 -4
  643. package/doc/functions/models.accessModeFromJSON.html +0 -1
  644. package/doc/functions/models.accessModeToJSON.html +0 -1
  645. package/doc/functions/models.appEventFromJSON.html +0 -1
  646. package/doc/functions/models.appEventToJSON.html +0 -1
  647. package/doc/functions/models.canChannelCapFromJSON.html +0 -1
  648. package/doc/functions/models.canChannelCapToJSON.html +0 -1
  649. package/doc/functions/models.canFrameFlagFromJSON.html +0 -1
  650. package/doc/functions/models.canFrameFlagToJSON.html +0 -1
  651. package/doc/functions/models.canMessageFilterTypeFromJSON.html +0 -1
  652. package/doc/functions/models.canMessageFilterTypeToJSON.html +0 -1
  653. package/doc/functions/models.canModeFromJSON.html +0 -1
  654. package/doc/functions/models.canModeToJSON.html +0 -1
  655. package/doc/functions/models.createElectronApiFake.html +0 -4
  656. package/doc/functions/models.decimalCharFromJSON.html +0 -1
  657. package/doc/functions/models.decimalCharToJSON.html +0 -1
  658. package/doc/functions/models.deviceEventFromJSON.html +0 -1
  659. package/doc/functions/models.deviceEventToJSON.html +0 -1
  660. package/doc/functions/models.fileConflictActionFromJSON.html +0 -1
  661. package/doc/functions/models.fileConflictActionToJSON.html +0 -1
  662. package/doc/functions/models.fileTypeFromJSON.html +0 -1
  663. package/doc/functions/models.fileTypeToJSON.html +0 -1
  664. package/doc/functions/models.linFrameFlagFromJSON.html +0 -1
  665. package/doc/functions/models.linFrameFlagToJSON.html +0 -1
  666. package/doc/functions/models.logFileFormatFromJSON.html +0 -1
  667. package/doc/functions/models.logFileFormatToJSON.html +0 -1
  668. package/doc/functions/models.logLevelFromJSON.html +0 -1
  669. package/doc/functions/models.logLevelToJSON.html +0 -1
  670. package/doc/functions/models.logReplayStateFromJSON.html +0 -1
  671. package/doc/functions/models.logReplayStateToJSON.html +0 -1
  672. package/doc/functions/models.loggerStateFromJSON.html +0 -1
  673. package/doc/functions/models.loggerStateToJSON.html +0 -1
  674. package/doc/functions/models.measurementEventFromJSON.html +0 -1
  675. package/doc/functions/models.measurementEventToJSON.html +0 -1
  676. package/doc/functions/models.protocolsFromJSON.html +0 -1
  677. package/doc/functions/models.protocolsToJSON.html +0 -1
  678. package/doc/functions/models.separatorFromJSON.html +0 -1
  679. package/doc/functions/models.separatorToJSON.html +0 -1
  680. package/doc/functions/models.signalEncodingFromJSON.html +0 -1
  681. package/doc/functions/models.signalEncodingToJSON.html +0 -1
  682. package/doc/functions/models.signalTypeFromJSON.html +0 -1
  683. package/doc/functions/models.signalTypeToJSON.html +0 -1
  684. package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +0 -1
  685. package/doc/functions/models.signalValueTriggerOperatorToJSON.html +0 -1
  686. package/doc/functions/models.statusLevelFromJSON.html +0 -1
  687. package/doc/functions/models.statusLevelToJSON.html +0 -1
  688. package/doc/functions/models.timeReferenceFromJSON.html +0 -1
  689. package/doc/functions/models.timeReferenceToJSON.html +0 -1
  690. package/doc/functions/models.triggerOperatorFromJSON.html +0 -1
  691. package/doc/functions/models.triggerOperatorToJSON.html +0 -1
  692. package/doc/interfaces/controls.ColumnItem.html +0 -3
  693. package/doc/interfaces/controls.ColumnItemControlProps.html +0 -4
  694. package/doc/interfaces/models.AboutInformation.html +0 -8
  695. package/doc/interfaces/models.ActivateLicenseRequest.html +0 -8
  696. package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +0 -4
  697. package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +0 -4
  698. package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +0 -12
  699. package/doc/interfaces/models.AddOrUpdateSourceRequest.html +0 -8
  700. package/doc/interfaces/models.AddOrUpdateTargetRequest.html +0 -8
  701. package/doc/interfaces/models.ApiPreferences.html +0 -10
  702. package/doc/interfaces/models.AppEventArgs.html +0 -6
  703. package/doc/interfaces/models.CanBusSpeedInfo.html +0 -14
  704. package/doc/interfaces/models.CanFDBusSpeedCombination.html +0 -4
  705. package/doc/interfaces/models.CanFDBusSpeedInfo.html +0 -10
  706. package/doc/interfaces/models.ClearLinMessageRequest.html +0 -7
  707. package/doc/interfaces/models.ConnectNodesRequest.html +0 -5
  708. package/doc/interfaces/models.DatabaseFiles.html +0 -6
  709. package/doc/interfaces/models.DeviceEventArgs.html +0 -4
  710. package/doc/interfaces/models.DisconnectNodesRequest.html +0 -5
  711. package/doc/interfaces/models.Frame_PropertiesEntry.html +0 -3
  712. package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +0 -7
  713. package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +0 -6
  714. package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +0 -6
  715. package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +0 -4
  716. package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +0 -5
  717. package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +0 -4
  718. package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +0 -5
  719. package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +0 -4
  720. package/doc/interfaces/models.GetDataProcessorResponse.html +0 -3
  721. package/doc/interfaces/models.GetDevicesRequest.html +0 -4
  722. package/doc/interfaces/models.GetDevicesResponse.html +0 -3
  723. package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +0 -5
  724. package/doc/interfaces/models.GetLicensesResponse.html +0 -4
  725. package/doc/interfaces/models.GetLogFileFormatsRequest.html +0 -9
  726. package/doc/interfaces/models.GetLogFileFormatsResponse.html +0 -10
  727. package/doc/interfaces/models.GetLogLevelResponse.html +0 -4
  728. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +0 -5
  729. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +0 -4
  730. package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +0 -8
  731. package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +0 -14
  732. package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +0 -7
  733. package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +0 -4
  734. package/doc/interfaces/models.GetSourceResponse.html +0 -3
  735. package/doc/interfaces/models.GetTargetResponse.html +0 -3
  736. package/doc/interfaces/models.ILogFileFormat.html +0 -6
  737. package/doc/interfaces/models.IProject.html +0 -6
  738. package/doc/interfaces/models.IWorkspaceData.html +0 -5
  739. package/doc/interfaces/models.IdentifierRequest.html +0 -5
  740. package/doc/interfaces/models.IdentifiersRequest.html +0 -5
  741. package/doc/interfaces/models.InstallServiceExtensionRequest.html +0 -8
  742. package/doc/interfaces/models.LicenseInformation.html +0 -18
  743. package/doc/interfaces/models.Licenses.html +0 -4
  744. package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +0 -3
  745. package/doc/interfaces/models.MeasurementEventArgs.html +0 -6
  746. package/doc/interfaces/models.RequestLinMessageRequest.html +0 -7
  747. package/doc/interfaces/models.ScheduleTable.html +0 -8
  748. package/doc/interfaces/models.ScheduleTableEntry.html +0 -6
  749. package/doc/interfaces/models.SendLinWakeupFrameRequest.html +0 -9
  750. package/doc/interfaces/models.SendMessageRequest.html +0 -5
  751. package/doc/interfaces/models.SetLogLevelRequest.html +0 -6
  752. package/doc/interfaces/models.SetMeasurementSetupRequest.html +0 -4
  753. package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +0 -9
  754. package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +0 -7
  755. package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +0 -3
  756. package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +0 -5
  757. package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +0 -3
  758. package/doc/interfaces/models.UninstallServiceExtensionRequest.html +0 -6
  759. package/doc/interfaces/models.UpdateLinMessageRequest.html +0 -8
  760. package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +0 -7
  761. package/doc/modules/icons.html +0 -2
  762. package/doc/types/models.IReadOnlyDataBuffer.html +0 -1
  763. package/doc/types/models.themes.html +0 -1
  764. package/doc/variables/models.AboutInformation-1.html +0 -1
  765. package/doc/variables/models.ActivateLicenseRequest-1.html +0 -1
  766. package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +0 -1
  767. package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +0 -1
  768. package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +0 -1
  769. package/doc/variables/models.AddOrUpdateSourceRequest-1.html +0 -1
  770. package/doc/variables/models.AddOrUpdateTargetRequest-1.html +0 -1
  771. package/doc/variables/models.ApiPreferences-1.html +0 -1
  772. package/doc/variables/models.AppEventArgs-1.html +0 -1
  773. package/doc/variables/models.BaseNodeProperties-1.html +0 -1
  774. package/doc/variables/models.BusStatus-1.html +0 -1
  775. package/doc/variables/models.CanBusParamLimits-1.html +0 -1
  776. package/doc/variables/models.CanBusParams-1.html +0 -1
  777. package/doc/variables/models.CanBusSpeedInfo-1.html +0 -1
  778. package/doc/variables/models.CanChannelCapacity-1.html +0 -1
  779. package/doc/variables/models.CanChannelConfiguration-1.html +0 -1
  780. package/doc/variables/models.CanFDBusSpeedCombination-1.html +0 -1
  781. package/doc/variables/models.CanFDBusSpeedInfo-1.html +0 -1
  782. package/doc/variables/models.CanFrameFlags-1.html +0 -1
  783. package/doc/variables/models.CanMessageFilterSettings-1.html +0 -1
  784. package/doc/variables/models.Channel-1.html +0 -1
  785. package/doc/variables/models.ChannelSettings-1.html +0 -1
  786. package/doc/variables/models.ClearLinMessageRequest-1.html +0 -1
  787. package/doc/variables/models.ConnectNodesRequest-1.html +0 -1
  788. package/doc/variables/models.DataProcessingStatus-1.html +0 -1
  789. package/doc/variables/models.DataProcessorNodeProperties-1.html +0 -1
  790. package/doc/variables/models.DatabaseFiles-1.html +0 -1
  791. package/doc/variables/models.DatabasesSettings-1.html +0 -1
  792. package/doc/variables/models.Device-1.html +0 -1
  793. package/doc/variables/models.DeviceEventArgs-1.html +0 -1
  794. package/doc/variables/models.Devices-1.html +0 -1
  795. package/doc/variables/models.DisconnectNodesRequest-1.html +0 -1
  796. package/doc/variables/models.Empty-1.html +0 -1
  797. package/doc/variables/models.ErrorStatus-1.html +0 -1
  798. package/doc/variables/models.Frame-1.html +0 -1
  799. package/doc/variables/models.FrameDefinition-1.html +0 -1
  800. package/doc/variables/models.FrameDefinitions-1.html +0 -1
  801. package/doc/variables/models.FramePropertyValue-1.html +0 -1
  802. package/doc/variables/models.FrameReceivedTrigger-1.html +0 -1
  803. package/doc/variables/models.Frame_PropertiesEntry-1.html +0 -1
  804. package/doc/variables/models.Frames-1.html +0 -1
  805. package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +0 -1
  806. package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +0 -1
  807. package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +0 -1
  808. package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +0 -1
  809. package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +0 -1
  810. package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +0 -1
  811. package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +0 -1
  812. package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +0 -1
  813. package/doc/variables/models.GetDataProcessorResponse-1.html +0 -1
  814. package/doc/variables/models.GetDevicesRequest-1.html +0 -1
  815. package/doc/variables/models.GetDevicesResponse-1.html +0 -1
  816. package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +0 -1
  817. package/doc/variables/models.GetLicensesResponse-1.html +0 -1
  818. package/doc/variables/models.GetLogFileFormatsRequest-1.html +0 -1
  819. package/doc/variables/models.GetLogFileFormatsResponse-1.html +0 -1
  820. package/doc/variables/models.GetLogLevelResponse-1.html +0 -1
  821. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +0 -1
  822. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +0 -1
  823. package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +0 -1
  824. package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +0 -1
  825. package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +0 -1
  826. package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +0 -1
  827. package/doc/variables/models.GetSourceResponse-1.html +0 -1
  828. package/doc/variables/models.GetTargetResponse-1.html +0 -1
  829. package/doc/variables/models.IdentifierRequest-1.html +0 -1
  830. package/doc/variables/models.IdentifiersRequest-1.html +0 -1
  831. package/doc/variables/models.InstallServiceExtensionRequest-1.html +0 -1
  832. package/doc/variables/models.InterpreterSettings-1.html +0 -1
  833. package/doc/variables/models.J1939InterpreterSettings-1.html +0 -1
  834. package/doc/variables/models.LicenseInformation-1.html +0 -1
  835. package/doc/variables/models.Licenses-1.html +0 -1
  836. package/doc/variables/models.LinChannelConfiguration-1.html +0 -1
  837. package/doc/variables/models.LinFrameFlags-1.html +0 -1
  838. package/doc/variables/models.LogMessage-1.html +0 -1
  839. package/doc/variables/models.LogMessages-1.html +0 -1
  840. package/doc/variables/models.LogReplaySettings-1.html +0 -1
  841. package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +0 -1
  842. package/doc/variables/models.LogReplayStatus-1.html +0 -1
  843. package/doc/variables/models.LoggerStatus-1.html +0 -1
  844. package/doc/variables/models.MeasurementEventArgs-1.html +0 -1
  845. package/doc/variables/models.MeasurementSetup-1.html +0 -1
  846. package/doc/variables/models.MessageLoggerSettings-1.html +0 -1
  847. package/doc/variables/models.NodeStatus-1.html +0 -1
  848. package/doc/variables/models.NodeStatuses-1.html +0 -1
  849. package/doc/variables/models.OnlineStatus-1.html +0 -1
  850. package/doc/variables/models.PeriodicTransmissionSettings-1.html +0 -1
  851. package/doc/variables/models.RequestLinMessageRequest-1.html +0 -1
  852. package/doc/variables/models.ScheduleTable-1.html +0 -1
  853. package/doc/variables/models.ScheduleTableEntry-1.html +0 -1
  854. package/doc/variables/models.SendLinWakeupFrameRequest-1.html +0 -1
  855. package/doc/variables/models.SendMessageRequest-1.html +0 -1
  856. package/doc/variables/models.ServiceExtensionSettings-1.html +0 -1
  857. package/doc/variables/models.SetLogLevelRequest-1.html +0 -1
  858. package/doc/variables/models.SetMeasurementSetupRequest-1.html +0 -1
  859. package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +0 -1
  860. package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +0 -1
  861. package/doc/variables/models.SignalDefinition-1.html +0 -1
  862. package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +0 -1
  863. package/doc/variables/models.SignalDefinitions-1.html +0 -1
  864. package/doc/variables/models.SignalFilterSettings-1.html +0 -1
  865. package/doc/variables/models.SignalLoggerSettings-1.html +0 -1
  866. package/doc/variables/models.SignalValue-1.html +0 -1
  867. package/doc/variables/models.SignalValueTrigger-1.html +0 -1
  868. package/doc/variables/models.SourceNodeProperties-1.html +0 -1
  869. package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +0 -1
  870. package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +0 -1
  871. package/doc/variables/models.TargetNodeProperties-1.html +0 -1
  872. package/doc/variables/models.TriggerSettings-1.html +0 -1
  873. package/doc/variables/models.UninstallServiceExtensionRequest-1.html +0 -1
  874. package/doc/variables/models.UpdateLinMessageRequest-1.html +0 -1
  875. package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +0 -1
  876. package/doc/variables/models.WriteFrame-1.html +0 -1
  877. package/licenses/ELECTRON-TOOLKIT-PRELOAD_MIT.TXT +0 -21
  878. package/licenses/FAST-DEEP-EQUAL_MIT.TXT +0 -21
  879. package/licenses/GOOGLE-PROTOBUF_(BSD-3-CLAUSE AND APACHE-2.0).TXT +0 -29
  880. package/licenses/REACT-DOM_MIT.TXT +0 -21
  881. package/licenses/REACT_MIT.TXT +0 -21
  882. package/licenses/UUID_MIT.TXT +0 -9
  883. package/licenses/licenses.css +0 -22
  884. package/licenses/licenses.html +0 -67
@@ -1,4 +1,4 @@
1
- import { CanFrameFlag, DataProcessorNodeProperties, FrameDefinition, PeriodicTransmissionSettings, SourceNodeProperties, TargetNodeProperties, ILogFileFormat, WriteFrame } from '../models';
1
+ import { CanFrameFlag, DataProcessorNodeProperties, FrameDefinition, PeriodicTransmissionSettings, SourceNodeProperties, TargetNodeProperties, LogFileFormatInfo, WriteFrame, Frame, FixedPosFrameIdentifier } from '../models';
2
2
  /**
3
3
  * A logger that can be used for logging messages to CanKing's log window and log file.
4
4
  */
@@ -175,12 +175,12 @@ export declare const stopLogReplay: (logReplayId: string) => Promise<void>;
175
175
  * Gets all available message log file formats.
176
176
  * @returns A promise that resolves with a collection of all available message log file formats.
177
177
  */
178
- export declare const getMessageLogFileFormats: () => Promise<ILogFileFormat[]>;
178
+ export declare const getMessageLogFileFormats: () => Promise<LogFileFormatInfo[]>;
179
179
  /**
180
180
  * Gets all available signal log file formats.
181
181
  * @returns A promise that resolves with a collection of all available signal log file formats.
182
182
  */
183
- export declare const getSignalLogFileFormats: () => Promise<ILogFileFormat[]>;
183
+ export declare const getSignalLogFileFormats: () => Promise<LogFileFormatInfo[]>;
184
184
  /**
185
185
  * Gets all available frame definitions.
186
186
  * @param nodeIdentifier - An optional node identifier. If specified then all frame definitions available for the
@@ -188,3 +188,31 @@ export declare const getSignalLogFileFormats: () => Promise<ILogFileFormat[]>;
188
188
  * @returns A promise that resolves with a collection of all available frame definitions.
189
189
  */
190
190
  export declare const getFrameDefinitions: (nodeIdentifier?: string) => Promise<FrameDefinition[]>;
191
+ /**
192
+ * Gets message data (frames) before a specific timestamp.
193
+ * @param timestamp - The timestamp (in seconds since start of measurement) before which frames should be retrieved.
194
+ * @param maxCount - The maximum number of frames to retrieve.
195
+ * @param identifiers - An optional collection of frame identifiers to filter the results. If not specified, frames
196
+ * for all identifiers will be retrieved.
197
+ * @returns A promise that resolves with a collection of frames.
198
+ */
199
+ export declare const getMessageDataBeforeTimestamp: (timestamp: number, maxCount: number, identifiers?: FixedPosFrameIdentifier[]) => Promise<Frame[]>;
200
+ /**
201
+ * Gets timestamp of the first frame in the current measurement.
202
+ * @returns A promise that resolves with the first timestamp (in microseconds since start of measurement).
203
+ */
204
+ export declare const getFirstTimestamp: () => Promise<number>;
205
+ /**
206
+ * Gets timestamp of the latest frame in the current measurement.
207
+ * @returns A promise that resolves with the latest timestamp (in microseconds since start of measurement).
208
+ */
209
+ export declare const getLatestTimestamp: () => Promise<number>;
210
+ /**
211
+ * Gets timestamps of the first and latest frames in the current measurement.
212
+ * @returns A promise that resolves with an object containing the first and latest timestamps
213
+ * (in microseconds since start of measurement).
214
+ */
215
+ export declare const getFirstAndLatestTimestamp: () => Promise<{
216
+ firstTimestamp: number;
217
+ latestTimestamp: number;
218
+ }>;
package/dist/ipc.js CHANGED
@@ -1 +1 @@
1
- "use strict";var p=Object.defineProperty;var g=(e,s,n)=>s in e?p(e,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[s]=n;var i=(e,s,n)=>g(e,typeof s!="symbol"?s+"":s,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("long");const m=require("./ElectronAPIFake.js"),l=require("./measurement_settings.js"),a=window.electron??m.electronApiFake,c=e=>e&&e.message!==void 0,r=(e,s,n)=>{a.ipcRenderer.invoke("app-add-log-message",{time:Date.now(),logLevel:e,categoryName:s,message:n})};class u{constructor(s){i(this,"categoryName");this.categoryName=s}trace(s){r(0,this.categoryName,s)}debug(s){r(1,this.categoryName,s)}info(s){r(2,this.categoryName,s)}warn(s){r(3,this.categoryName,s)}error(s,n){typeof s=="string"?r(4,this.categoryName,s):c(s)&&r(4,this.categoryName,s.message),c(n)&&r(4,this.categoryName,n.message)}critical(s){r(5,this.categoryName,s)}}const y=e=>new u(e),w=async(e,s)=>{await a.ipcRenderer.invoke("app-show-message-box",e,s)},R=async(e,s,n,t,o)=>await a.ipcRenderer.invoke("app-show-question-box",e,s,n,t,o),k=async()=>{await a.ipcRenderer.invoke("rpc-start-measurement")},v=async()=>{await a.ipcRenderer.invoke("rpc-stop-measurement")},f=async e=>{await a.ipcRenderer.invoke("rpc-add-source",e)},M=async e=>{await a.ipcRenderer.invoke("rpc-update-source",e)},N=async e=>{await a.ipcRenderer.invoke("rpc-delete-source",e)},L=async(e,s,n)=>{await a.ipcRenderer.invoke("rpc-add-data-processor",e,s,n)},h=async e=>{await a.ipcRenderer.invoke("rpc-update-data-processor",e)},F=async e=>{await a.ipcRenderer.invoke("rpc-delete-data-processor",e)},P=async e=>{await a.ipcRenderer.invoke("rpc-add-target",e)},T=async e=>{await a.ipcRenderer.invoke("rpc-update-target",e)},b=async e=>{await a.ipcRenderer.invoke("rpc-delete-target",e)},D=async(e,s)=>{await a.ipcRenderer.invoke("rpc-connect-nodes",e,s)},S=async(e,s)=>{await a.ipcRenderer.invoke("rpc-disconnect-nodes",e,s)},q=async e=>{await a.ipcRenderer.invoke("rpc-enable-node",e)},x=async e=>{await a.ipcRenderer.invoke("rpc-disable-node",e)},d=async(e,s)=>{await a.ipcRenderer.invoke("rpc-send-message",e,s)},B=async(e,s,n,...t)=>{const o=l.WriteFrame.fromPartial({id:s,data:n,canFrameFlags:{flags:t}});await d(e,o)},I=async(e,s)=>{await a.ipcRenderer.invoke("rpc-update-lin-message",e,s)},A=async(e,s)=>{await a.ipcRenderer.invoke("rpc-clear-lin-message",e,s)},C=async(e,s)=>{await a.ipcRenderer.invoke("rpc-request-lin-message",e,s)},E=async e=>await a.ipcRenderer.invoke("rpc-start-periodic-transmission",e),Q=async(e,s)=>{await a.ipcRenderer.invoke("rpc-update-periodic-transmission",e,s)},j=async e=>{await a.ipcRenderer.invoke("rpc-stop-periodic-transmission",e)},O=async e=>{await a.ipcRenderer.invoke("rpc-start-log-replay",e)},W=async e=>{await a.ipcRenderer.invoke("rpc-stop-log-replay",e)},_=async()=>await a.ipcRenderer.invoke("rpc-get-message-log-file-formats"),z=async()=>await a.ipcRenderer.invoke("rpc-get-signal-log-file-formats"),G=async e=>await a.ipcRenderer.invoke("rpc-get-frame-definitions",e);exports.addDataProcessor=L;exports.addSource=f;exports.addTarget=P;exports.clearLinMessage=A;exports.connectNodes=D;exports.deleteDataProcessor=F;exports.deleteSource=N;exports.deleteTarget=b;exports.disableNode=x;exports.disconnectNodes=S;exports.enableNode=q;exports.getFrameDefinitions=G;exports.getLogger=y;exports.getMessageLogFileFormats=_;exports.getSignalLogFileFormats=z;exports.requestLinMessage=C;exports.sendCanMessage=B;exports.sendMessage=d;exports.showMessageBox=w;exports.showQuestionBox=R;exports.startLogReplay=O;exports.startMeasurement=k;exports.startPeriodicTransmission=E;exports.stopLogReplay=W;exports.stopMeasurement=v;exports.stopPeriodicTransmission=j;exports.updateDataProcessor=h;exports.updateLinMessage=I;exports.updatePeriodicTransmission=Q;exports.updateSource=M;exports.updateTarget=T;
1
+ "use strict";var w=Object.defineProperty;var v=(e,s,t)=>s in e?w(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var m=(e,s,t)=>v(e,typeof s!="symbol"?s+"":s,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./models.js"),R=require("./status_params.js"),a=window.electron??c.electronApiFake,u=e=>e&&e.message!==void 0,n=(e,s,t)=>{a.ipcRenderer.invoke("app-add-log-message",{time:Date.now(),logLevel:e,categoryName:s,message:t})};class k{constructor(s){m(this,"categoryName");this.categoryName=s}trace(s){n(0,this.categoryName,s)}debug(s){n(1,this.categoryName,s)}info(s){n(2,this.categoryName,s)}warn(s){n(3,this.categoryName,s)}error(s,t){typeof s=="string"?n(4,this.categoryName,s):u(s)&&n(4,this.categoryName,s.message),u(t)&&n(4,this.categoryName,t.message)}critical(s){n(5,this.categoryName,s)}}const f=e=>new k(e),M=async(e,s)=>{await a.ipcRenderer.invoke("app-show-message-box",e,s)},T=async(e,s,t,o,i)=>await a.ipcRenderer.invoke("app-show-question-box",e,s,t,o,i),F=async()=>{await a.ipcRenderer.invoke("rpc-start-measurement")},L=async()=>{await a.ipcRenderer.invoke("rpc-stop-measurement")},h=async e=>{await a.ipcRenderer.invoke("rpc-add-source",e)},N=async e=>{await a.ipcRenderer.invoke("rpc-update-source",e)},D=async e=>{await a.ipcRenderer.invoke("rpc-delete-source",e)},b=async(e,s,t)=>{await a.ipcRenderer.invoke("rpc-add-data-processor",e,s,t)},P=async e=>{await a.ipcRenderer.invoke("rpc-update-data-processor",e)},S=async e=>{await a.ipcRenderer.invoke("rpc-delete-data-processor",e)},x=async e=>{await a.ipcRenderer.invoke("rpc-add-target",e)},q=async e=>{await a.ipcRenderer.invoke("rpc-update-target",e)},B=async e=>{await a.ipcRenderer.invoke("rpc-delete-target",e)},I=async(e,s)=>{await a.ipcRenderer.invoke("rpc-connect-nodes",e,s)},K=async(e,s)=>{await a.ipcRenderer.invoke("rpc-disconnect-nodes",e,s)},A=async e=>{await a.ipcRenderer.invoke("rpc-enable-node",e)},E=async e=>{await a.ipcRenderer.invoke("rpc-disable-node",e)},l=async(e,s)=>{await a.ipcRenderer.invoke("rpc-send-message",e,s)},C=async(e,s,t,...o)=>{const i=R.WriteFrame.fromPartial({id:s,data:t,canFrameFlags:{flags:o}});await l(e,i)},Q=async(e,s)=>{await a.ipcRenderer.invoke("rpc-update-lin-message",e,s)},j=async(e,s)=>{await a.ipcRenderer.invoke("rpc-clear-lin-message",e,s)},z=async(e,s)=>{await a.ipcRenderer.invoke("rpc-request-lin-message",e,s)},O=async e=>await a.ipcRenderer.invoke("rpc-start-periodic-transmission",e),W=async(e,s)=>{await a.ipcRenderer.invoke("rpc-update-periodic-transmission",e,s)},_=async e=>{await a.ipcRenderer.invoke("rpc-stop-periodic-transmission",e)},G=async e=>{await a.ipcRenderer.invoke("rpc-start-log-replay",e)},H=async e=>{await a.ipcRenderer.invoke("rpc-stop-log-replay",e)},J=async()=>await a.ipcRenderer.invoke("rpc-get-message-log-file-formats"),U=async()=>await a.ipcRenderer.invoke("rpc-get-signal-log-file-formats"),V=async e=>await a.ipcRenderer.invoke("rpc-get-frame-definitions",e),X=async(e,s,t)=>{const o=await a.ipcRenderer.invoke("mm-get-measurement-data-before-timestamp",e,s);if(t&&t.length>0){const i=new Map;return t.forEach(r=>{const p=c.calculateSubscriptionKey(r);i.set(p,{ignoreSource:r.sourceId===void 0||r.sourceId==="",ignoreDirection:r.tx===void 0,ignoreMux:r.mux===void 0})}),o.filter(r=>{const p=c.deserializeFrame(r);let g=!1;return i.forEach((d,y)=>{c.calculateSubscriptionKeyFromFrame(p,d.ignoreSource,d.ignoreDirection,d.ignoreMux)===y&&(g=!0)}),g})}return o},Y=async()=>await a.ipcRenderer.invoke("mm-get-first-timestamp"),Z=async()=>await a.ipcRenderer.invoke("mm-get-latest-timestamp"),$=async()=>await a.ipcRenderer.invoke("mm-get-first-and-latest-timestamp");exports.addDataProcessor=b;exports.addSource=h;exports.addTarget=x;exports.clearLinMessage=j;exports.connectNodes=I;exports.deleteDataProcessor=S;exports.deleteSource=D;exports.deleteTarget=B;exports.disableNode=E;exports.disconnectNodes=K;exports.enableNode=A;exports.getFirstAndLatestTimestamp=$;exports.getFirstTimestamp=Y;exports.getFrameDefinitions=V;exports.getLatestTimestamp=Z;exports.getLogger=f;exports.getMessageDataBeforeTimestamp=X;exports.getMessageLogFileFormats=J;exports.getSignalLogFileFormats=U;exports.requestLinMessage=z;exports.sendCanMessage=C;exports.sendMessage=l;exports.showMessageBox=M;exports.showQuestionBox=T;exports.startLogReplay=G;exports.startMeasurement=F;exports.startPeriodicTransmission=O;exports.stopLogReplay=H;exports.stopMeasurement=L;exports.stopPeriodicTransmission=_;exports.updateDataProcessor=P;exports.updateLinMessage=Q;exports.updatePeriodicTransmission=W;exports.updateSource=N;exports.updateTarget=q;
package/dist/ipc.mjs CHANGED
@@ -1,136 +1,164 @@
1
- var p = Object.defineProperty;
2
- var d = (e, a, s) => a in e ? p(e, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[a] = s;
3
- var i = (e, a, s) => d(e, typeof a != "symbol" ? a + "" : a, s);
4
- import "long";
5
- import { e as g } from "./ElectronAPIFake.mjs";
6
- import { W as m } from "./measurement_settings.mjs";
7
- const n = window.electron ?? g, c = (e) => e && e.message !== void 0, r = (e, a, s) => {
8
- n.ipcRenderer.invoke("app-add-log-message", {
1
+ var l = Object.defineProperty;
2
+ var u = (e, a, r) => a in e ? l(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r;
3
+ var m = (e, a, r) => u(e, typeof a != "symbol" ? a + "" : a, r);
4
+ import { electronApiFake as w, calculateSubscriptionKey as v, deserializeFrame as k, calculateSubscriptionKeyFromFrame as R } from "./models.mjs";
5
+ import { W as f } from "./status_params.mjs";
6
+ const s = window.electron ?? w, g = (e) => e && e.message !== void 0, n = (e, a, r) => {
7
+ s.ipcRenderer.invoke("app-add-log-message", {
9
8
  time: Date.now(),
10
9
  logLevel: e,
11
10
  categoryName: a,
12
- message: s
11
+ message: r
13
12
  });
14
13
  };
15
- class y {
14
+ class h {
16
15
  constructor(a) {
17
- i(this, "categoryName");
16
+ m(this, "categoryName");
18
17
  this.categoryName = a;
19
18
  }
20
19
  trace(a) {
21
- r(0, this.categoryName, a);
20
+ n(0, this.categoryName, a);
22
21
  }
23
22
  debug(a) {
24
- r(1, this.categoryName, a);
23
+ n(1, this.categoryName, a);
25
24
  }
26
25
  info(a) {
27
- r(2, this.categoryName, a);
26
+ n(2, this.categoryName, a);
28
27
  }
29
28
  warn(a) {
30
- r(3, this.categoryName, a);
29
+ n(3, this.categoryName, a);
31
30
  }
32
- error(a, s) {
33
- typeof a == "string" ? r(4, this.categoryName, a) : c(a) && r(4, this.categoryName, a.message), c(s) && r(4, this.categoryName, s.message);
31
+ error(a, r) {
32
+ typeof a == "string" ? n(4, this.categoryName, a) : g(a) && n(4, this.categoryName, a.message), g(r) && n(4, this.categoryName, r.message);
34
33
  }
35
34
  critical(a) {
36
- r(5, this.categoryName, a);
35
+ n(5, this.categoryName, a);
37
36
  }
38
37
  }
39
- const f = (e) => new y(e), N = async (e, a) => {
40
- await n.ipcRenderer.invoke("app-show-message-box", e, a);
41
- }, h = async (e, a, s, t, o) => await n.ipcRenderer.invoke(
38
+ const b = (e) => new h(e), D = async (e, a) => {
39
+ await s.ipcRenderer.invoke("app-show-message-box", e, a);
40
+ }, x = async (e, a, r, o, c) => await s.ipcRenderer.invoke(
42
41
  "app-show-question-box",
43
42
  e,
44
43
  a,
45
- s,
46
- t,
47
- o
48
- ), F = async () => {
49
- await n.ipcRenderer.invoke("rpc-start-measurement");
50
- }, L = async () => {
51
- await n.ipcRenderer.invoke("rpc-stop-measurement");
52
- }, M = async (e) => {
53
- await n.ipcRenderer.invoke("rpc-add-source", e);
54
- }, T = async (e) => {
55
- await n.ipcRenderer.invoke("rpc-update-source", e);
56
- }, b = async (e) => {
57
- await n.ipcRenderer.invoke("rpc-delete-source", e);
58
- }, D = async (e, a, s) => {
59
- await n.ipcRenderer.invoke("rpc-add-data-processor", e, a, s);
60
- }, P = async (e) => {
61
- await n.ipcRenderer.invoke("rpc-update-data-processor", e);
62
- }, x = async (e) => {
63
- await n.ipcRenderer.invoke("rpc-delete-data-processor", e);
64
- }, S = async (e) => {
65
- await n.ipcRenderer.invoke("rpc-add-target", e);
66
- }, q = async (e) => {
67
- await n.ipcRenderer.invoke("rpc-update-target", e);
44
+ r,
45
+ o,
46
+ c
47
+ ), S = async () => {
48
+ await s.ipcRenderer.invoke("rpc-start-measurement");
49
+ }, P = async () => {
50
+ await s.ipcRenderer.invoke("rpc-stop-measurement");
68
51
  }, I = async (e) => {
69
- await n.ipcRenderer.invoke("rpc-delete-target", e);
70
- }, B = async (e, a) => {
71
- await n.ipcRenderer.invoke("rpc-connect-nodes", e, a);
72
- }, W = async (e, a) => {
73
- await n.ipcRenderer.invoke("rpc-disconnect-nodes", e, a);
52
+ await s.ipcRenderer.invoke("rpc-add-source", e);
53
+ }, K = async (e) => {
54
+ await s.ipcRenderer.invoke("rpc-update-source", e);
55
+ }, q = async (e) => {
56
+ await s.ipcRenderer.invoke("rpc-delete-source", e);
57
+ }, B = async (e, a, r) => {
58
+ await s.ipcRenderer.invoke("rpc-add-data-processor", e, a, r);
59
+ }, E = async (e) => {
60
+ await s.ipcRenderer.invoke("rpc-update-data-processor", e);
74
61
  }, A = async (e) => {
75
- await n.ipcRenderer.invoke("rpc-enable-node", e);
62
+ await s.ipcRenderer.invoke("rpc-delete-data-processor", e);
63
+ }, W = async (e) => {
64
+ await s.ipcRenderer.invoke("rpc-add-target", e);
65
+ }, z = async (e) => {
66
+ await s.ipcRenderer.invoke("rpc-update-target", e);
76
67
  }, C = async (e) => {
77
- await n.ipcRenderer.invoke("rpc-disable-node", e);
78
- }, w = async (e, a) => {
79
- await n.ipcRenderer.invoke("rpc-send-message", e, a);
80
- }, E = async (e, a, s, ...t) => {
81
- const o = m.fromPartial({
68
+ await s.ipcRenderer.invoke("rpc-delete-target", e);
69
+ }, Q = async (e, a) => {
70
+ await s.ipcRenderer.invoke("rpc-connect-nodes", e, a);
71
+ }, j = async (e, a) => {
72
+ await s.ipcRenderer.invoke("rpc-disconnect-nodes", e, a);
73
+ }, G = async (e) => {
74
+ await s.ipcRenderer.invoke("rpc-enable-node", e);
75
+ }, H = async (e) => {
76
+ await s.ipcRenderer.invoke("rpc-disable-node", e);
77
+ }, F = async (e, a) => {
78
+ await s.ipcRenderer.invoke("rpc-send-message", e, a);
79
+ }, J = async (e, a, r, ...o) => {
80
+ const c = f.fromPartial({
82
81
  id: a,
83
- data: s,
82
+ data: r,
84
83
  canFrameFlags: {
85
- flags: t
84
+ flags: o
86
85
  }
87
86
  });
88
- await w(e, o);
89
- }, Q = async (e, a) => {
90
- await n.ipcRenderer.invoke("rpc-update-lin-message", e, a);
91
- }, j = async (e, a) => {
92
- await n.ipcRenderer.invoke("rpc-clear-lin-message", e, a);
93
- }, z = async (e, a) => {
94
- await n.ipcRenderer.invoke("rpc-request-lin-message", e, a);
95
- }, G = async (e) => await n.ipcRenderer.invoke("rpc-start-periodic-transmission", e), H = async (e, a) => {
96
- await n.ipcRenderer.invoke("rpc-update-periodic-transmission", e, a);
97
- }, J = async (e) => {
98
- await n.ipcRenderer.invoke("rpc-stop-periodic-transmission", e);
99
- }, K = async (e) => {
100
- await n.ipcRenderer.invoke("rpc-start-log-replay", e);
101
- }, O = async (e) => {
102
- await n.ipcRenderer.invoke("rpc-stop-log-replay", e);
103
- }, U = async () => await n.ipcRenderer.invoke("rpc-get-message-log-file-formats"), V = async () => await n.ipcRenderer.invoke("rpc-get-signal-log-file-formats"), X = async (e) => await n.ipcRenderer.invoke("rpc-get-frame-definitions", e);
87
+ await F(e, c);
88
+ }, O = async (e, a) => {
89
+ await s.ipcRenderer.invoke("rpc-update-lin-message", e, a);
90
+ }, U = async (e, a) => {
91
+ await s.ipcRenderer.invoke("rpc-clear-lin-message", e, a);
92
+ }, V = async (e, a) => {
93
+ await s.ipcRenderer.invoke("rpc-request-lin-message", e, a);
94
+ }, X = async (e) => await s.ipcRenderer.invoke("rpc-start-periodic-transmission", e), Y = async (e, a) => {
95
+ await s.ipcRenderer.invoke("rpc-update-periodic-transmission", e, a);
96
+ }, Z = async (e) => {
97
+ await s.ipcRenderer.invoke("rpc-stop-periodic-transmission", e);
98
+ }, _ = async (e) => {
99
+ await s.ipcRenderer.invoke("rpc-start-log-replay", e);
100
+ }, $ = async (e) => {
101
+ await s.ipcRenderer.invoke("rpc-stop-log-replay", e);
102
+ }, ee = async () => await s.ipcRenderer.invoke("rpc-get-message-log-file-formats"), ae = async () => await s.ipcRenderer.invoke("rpc-get-signal-log-file-formats"), se = async (e) => await s.ipcRenderer.invoke("rpc-get-frame-definitions", e), re = async (e, a, r) => {
103
+ const o = await s.ipcRenderer.invoke("mm-get-measurement-data-before-timestamp", e, a);
104
+ if (r && r.length > 0) {
105
+ const c = /* @__PURE__ */ new Map();
106
+ return r.forEach((t) => {
107
+ const i = v(t);
108
+ c.set(i, {
109
+ ignoreSource: t.sourceId === void 0 || t.sourceId === "",
110
+ ignoreDirection: t.tx === void 0,
111
+ ignoreMux: t.mux === void 0
112
+ });
113
+ }), o.filter((t) => {
114
+ const i = k(t);
115
+ let d = !1;
116
+ return c.forEach((p, y) => {
117
+ R(
118
+ i,
119
+ p.ignoreSource,
120
+ p.ignoreDirection,
121
+ p.ignoreMux
122
+ ) === y && (d = !0);
123
+ }), d;
124
+ });
125
+ }
126
+ return o;
127
+ }, te = async () => await s.ipcRenderer.invoke("mm-get-first-timestamp"), ne = async () => await s.ipcRenderer.invoke("mm-get-latest-timestamp"), oe = async () => await s.ipcRenderer.invoke("mm-get-first-and-latest-timestamp");
104
128
  export {
105
- D as addDataProcessor,
106
- M as addSource,
107
- S as addTarget,
108
- j as clearLinMessage,
109
- B as connectNodes,
110
- x as deleteDataProcessor,
111
- b as deleteSource,
112
- I as deleteTarget,
113
- C as disableNode,
114
- W as disconnectNodes,
115
- A as enableNode,
116
- X as getFrameDefinitions,
117
- f as getLogger,
118
- U as getMessageLogFileFormats,
119
- V as getSignalLogFileFormats,
120
- z as requestLinMessage,
121
- E as sendCanMessage,
122
- w as sendMessage,
123
- N as showMessageBox,
124
- h as showQuestionBox,
125
- K as startLogReplay,
126
- F as startMeasurement,
127
- G as startPeriodicTransmission,
128
- O as stopLogReplay,
129
- L as stopMeasurement,
130
- J as stopPeriodicTransmission,
131
- P as updateDataProcessor,
132
- Q as updateLinMessage,
133
- H as updatePeriodicTransmission,
134
- T as updateSource,
135
- q as updateTarget
129
+ B as addDataProcessor,
130
+ I as addSource,
131
+ W as addTarget,
132
+ U as clearLinMessage,
133
+ Q as connectNodes,
134
+ A as deleteDataProcessor,
135
+ q as deleteSource,
136
+ C as deleteTarget,
137
+ H as disableNode,
138
+ j as disconnectNodes,
139
+ G as enableNode,
140
+ oe as getFirstAndLatestTimestamp,
141
+ te as getFirstTimestamp,
142
+ se as getFrameDefinitions,
143
+ ne as getLatestTimestamp,
144
+ b as getLogger,
145
+ re as getMessageDataBeforeTimestamp,
146
+ ee as getMessageLogFileFormats,
147
+ ae as getSignalLogFileFormats,
148
+ V as requestLinMessage,
149
+ J as sendCanMessage,
150
+ F as sendMessage,
151
+ D as showMessageBox,
152
+ x as showQuestionBox,
153
+ _ as startLogReplay,
154
+ S as startMeasurement,
155
+ X as startPeriodicTransmission,
156
+ $ as stopLogReplay,
157
+ P as stopMeasurement,
158
+ Z as stopPeriodicTransmission,
159
+ E as updateDataProcessor,
160
+ O as updateLinMessage,
161
+ Y as updatePeriodicTransmission,
162
+ K as updateSource,
163
+ z as updateTarget
136
164
  };
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * An IterableIterator that iterates a DataBuffer from startIndex to endIndex with an optional filter.
3
+ * @internal
3
4
  */
4
5
  export declare class DataBufferView<T> implements IterableIterator<T> {
5
6
  private data;
@@ -14,22 +15,22 @@ export declare class DataBufferView<T> implements IterableIterator<T> {
14
15
  findIndex(filter: (value: T) => boolean): number;
15
16
  /**
16
17
  * Returns an iterator of a section of this buffer.
17
- * @param start The beginning index of the specified portion of the buffer.
18
- * @param end The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
18
+ * @param start - The beginning index of the specified portion of the buffer.
19
+ * @param end - The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
19
20
  * If end is undefined, then the slice extends to the end of the buffer.
20
21
  */
21
22
  slice(start: number, end?: number): IterableIterator<T>;
22
23
  /**
23
24
  * Returns an iterator of a section of this buffer.
24
- * @param filter An optional callback filter.
25
+ * @param filter - An optional callback filter.
25
26
  */
26
27
  filter(filter: (value: T) => boolean): IterableIterator<T>;
27
28
  /**
28
29
  * Returns an iterator of a section of this buffer.
29
- * @param start The beginning index of the specified portion of the buffer.
30
- * @param end The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
30
+ * @param start - The beginning index of the specified portion of the buffer.
31
+ * @param end - The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
31
32
  * If end is undefined, then the slice extends to the end of the buffer.
32
- * @param filter An optional callback filter.
33
+ * @param filter - An optional callback filter.
33
34
  */
34
35
  sliceAndFilter(start: number, end?: number, filter?: (value: T) => boolean): IterableIterator<T>;
35
36
  [Symbol.iterator](): this;
@@ -42,10 +43,12 @@ interface ReadOnlyDataBuffer<T> extends Iterable<T>, RelativeIndexable<T> {
42
43
  }
43
44
  /**
44
45
  * A read-only data buffer.
46
+ * @internal
45
47
  */
46
48
  export type IReadOnlyDataBuffer<T> = ReadOnlyDataBuffer<T>;
47
49
  /**
48
50
  * Holds a data in a ring-buffer.
51
+ * @internal
49
52
  */
50
53
  export default class DataBuffer<T> implements IReadOnlyDataBuffer<T> {
51
54
  length: number;
@@ -55,17 +58,17 @@ export default class DataBuffer<T> implements IReadOnlyDataBuffer<T> {
55
58
  private data;
56
59
  /**
57
60
  * Constructor.
58
- * @param size An optional buffer size.
61
+ * @param size - An optional buffer size.
59
62
  */
60
63
  constructor(size?: number);
61
64
  /**
62
65
  * Clears this DataBuffer.
63
- * @param size An optional new buffer size.
66
+ * @param size - An optional new buffer size.
64
67
  */
65
68
  clear(size?: number): void;
66
69
  /**
67
70
  * Adds data to this DataBuffer.
68
- * @param elements The new elements.
71
+ * @param elements - The new elements.
69
72
  */
70
73
  push(...elements: T[]): void;
71
74
  /**
@@ -76,22 +79,22 @@ export default class DataBuffer<T> implements IReadOnlyDataBuffer<T> {
76
79
  at(index: number): T | undefined;
77
80
  /**
78
81
  * Returns an iterator of a section of this buffer.
79
- * @param start The beginning index of the specified portion of the buffer.
80
- * @param end The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
82
+ * @param start - The beginning index of the specified portion of the buffer.
83
+ * @param end - The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
81
84
  * If end is undefined, then the slice extends to the end of the buffer.
82
85
  */
83
86
  slice(start: number, end?: number): DataBufferView<T>;
84
87
  /**
85
88
  * Returns an iterator of a section of this buffer.
86
- * @param filter An optional callback filter.
89
+ * @param filter - An optional callback filter.
87
90
  */
88
91
  filter(filter: (value: T) => boolean): DataBufferView<T>;
89
92
  /**
90
93
  * Returns an iterator of a section of this buffer.
91
- * @param start The beginning index of the specified portion of the buffer.
92
- * @param end The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
94
+ * @param start - The beginning index of the specified portion of the buffer.
95
+ * @param end - The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
93
96
  * If end is undefined, then the slice extends to the end of the buffer.
94
- * @param filter An optional callback filter.
97
+ * @param filter - An optional callback filter.
95
98
  */
96
99
  sliceAndFilter(start: number, end?: number, filter?: (value: T) => boolean): DataBufferView<T>;
97
100
  view(): DataBufferView<T>;
@@ -1,8 +1,9 @@
1
1
  import { ElectronAPI } from '@electron-toolkit/preload';
2
2
  /**
3
3
  * Creates a new ElectronAPI fake object.
4
- * @param userSettings Optional user settings to be used instead of the default.
4
+ * @param userSettings - Optional user settings to be used instead of the default.
5
5
  * @returns A new ElectronAPI object.
6
+ * @internal
6
7
  */
7
8
  export declare const createElectronApiFake: (userSettings?: any) => ElectronAPI;
8
9
  /**
@@ -1,3 +1,7 @@
1
+ /**
2
+ * A point in 2D space.
3
+ * @internal
4
+ */
1
5
  export default class Point {
2
6
  x: number;
3
7
  y: number;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Deep equality check between two values.
3
+ * @param a - First value to compare.
4
+ * @param b - Second value to compare.
5
+ * @returns True if the values are deeply equal, false otherwise.
6
+ */
7
+ export default function deep_equal<T>(a: T, b: T): boolean;
@@ -3,11 +3,14 @@
3
3
  * @packageDocumentation
4
4
  */
5
5
  import { StringsMap } from '../controls';
6
- import { LogFileFormat, MeasurementSetup } from '../protos/measurement_settings';
6
+ import { MeasurementSetup } from '../protos/measurement_settings';
7
7
  import Long from 'long';
8
8
  import DataBuffer, { DataBufferView, IReadOnlyDataBuffer as ReadOnlyDataBuffer } from './DataBuffer';
9
9
  import electronApiFake, { createElectronApiFake } from './ElectronAPIFake';
10
10
  import Point from './Point';
11
+ import deep_equal from './deep_equal';
12
+ import { jsonReplacer, jsonReviver } from './json_utilities';
13
+ import { FixedPosFrameIdentifier, Frame } from '../protos/frame_params';
11
14
  export * from '../protos/google/protobuf/empty';
12
15
  export * from '../protos/common_params';
13
16
  export * from '../protos/app_params';
@@ -17,20 +20,59 @@ export * from '../protos/measurement_params';
17
20
  export * from '../protos/measurement_settings';
18
21
  export * from '../protos/signal_params';
19
22
  export * from '../protos/status_params';
23
+ /**
24
+ * Compares two FixedPosFrameIdentifier objects for equality.
25
+ * @remarks
26
+ * The first FixedPosFrameIdentifier 'a' is considered the reference. If it has optional properties
27
+ * (mux, tx, sourceId) defined, they must match in 'b' for the identifiers to be considered equal.
28
+ * If these properties are undefined in 'a', they are ignored in the comparison.
29
+ * @param a - The first FixedPosFrameIdentifier to compare.
30
+ * @param b - The second FixedPosFrameIdentifier to compare.
31
+ * @returns True if the FixedPosFrameIdentifier objects are equal, false otherwise.
32
+ * @internal
33
+ */
34
+ export declare const compareFixedPosFrameIdentifiers: (a: FixedPosFrameIdentifier, b: FixedPosFrameIdentifier) => boolean;
35
+ /**
36
+ * Calculates a unique subscription key for a given frame identifier.
37
+ * @param frameId - The frame identifier.
38
+ * @returns The subscription key.
39
+ * @internal
40
+ */
41
+ export declare const calculateSubscriptionKey: (frameId: FixedPosFrameIdentifier) => string;
42
+ /**
43
+ * Calculates a unique subscription key for a given frame.
44
+ * @param frame - The frame to calculate the subscription key for.
45
+ * @param ignoreSource - Whether to ignore the source identifier when calculating the key.
46
+ * @param ignoreDirection - Whether to ignore the transmission direction when calculating the key.
47
+ * @param ignoreMux - Whether to ignore the mux value when calculating the key.
48
+ * @param ignoreBRS - Whether to ignore the BRS flag when calculating the key.
49
+ * @returns The subscription key.
50
+ * @internal
51
+ */
52
+ export declare const calculateSubscriptionKeyFromFrame: (frame: Frame, ignoreSource?: boolean, ignoreDirection?: boolean, ignoreMux?: boolean, ignoreBRS?: boolean) => string;
53
+ /**
54
+ * Converts a decimal number to a hexadecimal string.
55
+ * @param d - The number to convert.
56
+ * @param padding - Number of hexadecimal digits in the returned value, the result will be padded with zeroes.
57
+ * @param prefix - True if a 0x prefix should be added.
58
+ * @returns The hexadecimal formatted value.
59
+ */
20
60
  declare const decimalToHex: (d: number, padding?: number, prefix?: boolean) => string;
61
+ /**
62
+ * Converts a decimal number to a fixed length string.
63
+ * @param d - The number to convert.
64
+ * @param padding - Number of digits in the returned value, the result will be padded with zeroes.
65
+ * @returns The fixed length formatted value.
66
+ */
21
67
  declare const decimalToFixed: (d: number, padding?: number) => string;
22
- declare const longToNumber: (value: Long) => number;
23
- export { Point, decimalToHex, decimalToFixed, longToNumber, DataBuffer, DataBufferView, electronApiFake, createElectronApiFake, };
24
- export type IReadOnlyDataBuffer<T> = ReadOnlyDataBuffer<T>;
25
68
  /**
26
- * Holds data about a log file format.
69
+ * Converts a Long value to a number.
70
+ * @param value - The Long value to convert.
71
+ * @returns The value as a number.
27
72
  */
28
- export interface ILogFileFormat {
29
- format: LogFileFormat;
30
- name: string;
31
- description: string;
32
- extension: string;
33
- }
73
+ declare const longToNumber: (value: Long) => number;
74
+ export { deep_equal, jsonReplacer, jsonReviver, Point, decimalToHex, decimalToFixed, longToNumber, DataBuffer, DataBufferView, electronApiFake, createElectronApiFake, };
75
+ export type IReadOnlyDataBuffer<T> = ReadOnlyDataBuffer<T>;
34
76
  export type themes = 'light' | 'dark';
35
77
  /**
36
78
  * Interface describing the contents of the settings file.
@@ -58,6 +100,7 @@ export interface IUserSettings {
58
100
  export declare const defaultUserSettings: IUserSettings;
59
101
  /**
60
102
  * Data stored by a Workspace.
103
+ * @internal
61
104
  */
62
105
  export interface IWorkspaceData {
63
106
  id: number;
@@ -69,7 +112,9 @@ export interface IWorkspaceData {
69
112
  */
70
113
  export interface IWorkspaceComponentPaneData {
71
114
  componentId: string;
72
- componentProps: string;
115
+ componentPropSlices: {
116
+ [key: string]: string;
117
+ };
73
118
  }
74
119
  /**
75
120
  * Data stored by a Workspace view container.
@@ -89,6 +134,7 @@ export interface IWorkspacePaneData {
89
134
  }
90
135
  /**
91
136
  * Data stored by the CanKing project.
137
+ * @internal
92
138
  */
93
139
  export interface IProject {
94
140
  version: number;
@@ -96,3 +142,30 @@ export interface IProject {
96
142
  workspaces: IWorkspaceData[];
97
143
  workspacePanes: IWorkspacePaneData[];
98
144
  }
145
+ /**
146
+ * A serializable version of the Frame type, which can be used in IPC (Inter-Process Communication).
147
+ */
148
+ export type SerializableFrame = Frame & {
149
+ timeUsParts: {
150
+ low: number;
151
+ high: number;
152
+ unsigned: boolean;
153
+ };
154
+ deltaTimeUsParts: {
155
+ low: number;
156
+ high: number;
157
+ unsigned: boolean;
158
+ } | undefined;
159
+ };
160
+ /**
161
+ * Converts a Frame object into a SerializableFrame object for IPC.
162
+ * @param frame - The Frame object to be serialized.
163
+ * @returns A SerializableFrame object that can be sent through IPC.
164
+ */
165
+ export declare function serializeFrame(frame: Frame): SerializableFrame;
166
+ /**
167
+ * Converts a SerializableFrame object back into a Frame object after receiving it through IPC.
168
+ * @param serializableFrame - The SerializableFrame object to be deserialized.
169
+ * @returns A Frame object reconstructed from the SerializableFrame.
170
+ */
171
+ export declare function deserializeFrame(serializableFrame: SerializableFrame): Frame;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Custom JSON replacer function.
3
+ * Supports serialization of complex data types like Map and Set.
4
+ * @param key - The key being processed.
5
+ * @param value - The value associated with the key.
6
+ * @returns The value to be serialized.
7
+ */
8
+ export declare function jsonReplacer(key: string, value: any): any;
9
+ /**
10
+ * Custom JSON reviver function.
11
+ * Supports deserialization of complex data types like Map and Set.
12
+ * @param key - The key being processed.
13
+ * @param value - The value associated with the key.
14
+ * @returns The value to be deserialized.
15
+ */
16
+ export declare function jsonReviver(key: string, value: any): any;