@kvaser/canking-api 7.1.0-beta.231

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 (554) hide show
  1. package/EULA.pdf +0 -0
  2. package/README.md +87 -0
  3. package/REDISTRIBUTABLES.txt +5 -0
  4. package/dist/ElectronAPIFake.js +1 -0
  5. package/dist/ElectronAPIFake.mjs +266 -0
  6. package/dist/controls/CanChannelSelectControl.d.ts +35 -0
  7. package/dist/controls/CanIdentifierControl.d.ts +176 -0
  8. package/dist/controls/CanKingDataProvider.d.ts +116 -0
  9. package/dist/controls/CheckboxControl.d.ts +30 -0
  10. package/dist/controls/ContextMenu.d.ts +44 -0
  11. package/dist/controls/DropdownButton.d.ts +73 -0
  12. package/dist/controls/DropdownPanel.d.ts +41 -0
  13. package/dist/controls/FillBox.d.ts +8 -0
  14. package/dist/controls/FormControlRow.d.ts +30 -0
  15. package/dist/controls/InlineEditor.d.ts +26 -0
  16. package/dist/controls/LocalizedStrings.d.ts +21 -0
  17. package/dist/controls/NumberRangeControl.d.ts +80 -0
  18. package/dist/controls/OneLineButton.d.ts +9 -0
  19. package/dist/controls/RadioControl.d.ts +25 -0
  20. package/dist/controls/RadioGroupControl.d.ts +31 -0
  21. package/dist/controls/SectionControl.d.ts +40 -0
  22. package/dist/controls/SelectControl.d.ts +55 -0
  23. package/dist/controls/SizedBox.d.ts +11 -0
  24. package/dist/controls/TableControl.d.ts +61 -0
  25. package/dist/controls/TabsPanel.d.ts +5 -0
  26. package/dist/controls/TextControl.d.ts +56 -0
  27. package/dist/controls/ToolbarControl.d.ts +143 -0
  28. package/dist/controls/ValidateableTextControl.d.ts +82 -0
  29. package/dist/controls/index.d.ts +103 -0
  30. package/dist/controls.js +1 -0
  31. package/dist/controls.mjs +1714 -0
  32. package/dist/grpc/index.d.ts +7 -0
  33. package/dist/grpc.js +1 -0
  34. package/dist/grpc.mjs +917 -0
  35. package/dist/hooks/index.d.ts +112 -0
  36. package/dist/hooks.js +1 -0
  37. package/dist/hooks.mjs +28 -0
  38. package/dist/icons/index.d.ts +121 -0
  39. package/dist/icons.js +1 -0
  40. package/dist/icons.mjs +1237 -0
  41. package/dist/index.d.ts +6 -0
  42. package/dist/index.js +1 -0
  43. package/dist/index.mjs +596 -0
  44. package/dist/ipc/index.d.ts +160 -0
  45. package/dist/ipc.js +1 -0
  46. package/dist/ipc.mjs +123 -0
  47. package/dist/measurement_settings.js +1 -0
  48. package/dist/measurement_settings.mjs +4132 -0
  49. package/dist/models/DataBuffer.d.ts +100 -0
  50. package/dist/models/ElectronAPIFake.d.ts +13 -0
  51. package/dist/models/Point.d.ts +30 -0
  52. package/dist/models/index.d.ts +95 -0
  53. package/dist/models.js +1 -0
  54. package/dist/models.mjs +448 -0
  55. package/dist/protos/app_params.d.ts +208 -0
  56. package/dist/protos/app_service.d.ts +354 -0
  57. package/dist/protos/common_params.d.ts +33 -0
  58. package/dist/protos/device_params.d.ts +271 -0
  59. package/dist/protos/device_service.d.ts +154 -0
  60. package/dist/protos/frame_params.d.ts +189 -0
  61. package/dist/protos/google/protobuf/empty.d.ts +35 -0
  62. package/dist/protos/measurement_params.d.ts +308 -0
  63. package/dist/protos/measurement_service.d.ts +1333 -0
  64. package/dist/protos/measurement_settings.d.ts +453 -0
  65. package/dist/protos/signal_params.d.ts +72 -0
  66. package/dist/protos/status_params.d.ts +118 -0
  67. package/dist/status_params.js +1 -0
  68. package/dist/status_params.mjs +5045 -0
  69. package/doc/.nojekyll +1 -0
  70. package/doc/assets/highlight.css +120 -0
  71. package/doc/assets/icons.js +18 -0
  72. package/doc/assets/icons.svg +1 -0
  73. package/doc/assets/main.js +60 -0
  74. package/doc/assets/material-style.css +247 -0
  75. package/doc/assets/navigation.js +1 -0
  76. package/doc/assets/search.js +1 -0
  77. package/doc/assets/style.css +1493 -0
  78. package/doc/classes/controls.LocalizedStrings.html +177 -0
  79. package/doc/classes/models.DataBuffer.html +205 -0
  80. package/doc/classes/models.DataBufferView.html +193 -0
  81. package/doc/classes/models.Point.html +187 -0
  82. package/doc/enums/models.AccessMode.html +188 -0
  83. package/doc/enums/models.AppEvent.html +179 -0
  84. package/doc/enums/models.CanChannelCap.html +217 -0
  85. package/doc/enums/models.CanFrameFlag.html +200 -0
  86. package/doc/enums/models.CanMode.html +180 -0
  87. package/doc/enums/models.DecimalChar.html +178 -0
  88. package/doc/enums/models.DeviceEvent.html +179 -0
  89. package/doc/enums/models.FileConflictAction.html +180 -0
  90. package/doc/enums/models.LinFrameFlag.html +185 -0
  91. package/doc/enums/models.LogFileFormat.html +221 -0
  92. package/doc/enums/models.LogLevel.html +195 -0
  93. package/doc/enums/models.LogReplayState.html +179 -0
  94. package/doc/enums/models.MeasurementEvent.html +185 -0
  95. package/doc/enums/models.MessageLoggerState.html +180 -0
  96. package/doc/enums/models.Protocols.html +182 -0
  97. package/doc/enums/models.Separator.html +178 -0
  98. package/doc/enums/models.SignalEncoding.html +178 -0
  99. package/doc/enums/models.SignalType.html +185 -0
  100. package/doc/enums/models.SignalValueTriggerOperator.html +186 -0
  101. package/doc/enums/models.StatusLevel.html +180 -0
  102. package/doc/enums/models.TimeReference.html +178 -0
  103. package/doc/enums/models.TriggerOperator.html +179 -0
  104. package/doc/functions/controls.CanChannelSelectControl.html +177 -0
  105. package/doc/functions/controls.CanIdentifierControl.html +177 -0
  106. package/doc/functions/controls.CanIdentifierFrameControl.html +177 -0
  107. package/doc/functions/controls.CanIdentifierGeneratorControl.html +177 -0
  108. package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +178 -0
  109. package/doc/functions/controls.CanKingDataProvider.html +182 -0
  110. package/doc/functions/controls.CheckboxControl.html +177 -0
  111. package/doc/functions/controls.ContextMenu.html +177 -0
  112. package/doc/functions/controls.DropdownButton.html +177 -0
  113. package/doc/functions/controls.DropdownButtonTextItems.html +177 -0
  114. package/doc/functions/controls.DropdownPanel.html +177 -0
  115. package/doc/functions/controls.FillBox.html +206 -0
  116. package/doc/functions/controls.FormControlRow.html +177 -0
  117. package/doc/functions/controls.InlineEditor.html +177 -0
  118. package/doc/functions/controls.NumberRangeControl.html +177 -0
  119. package/doc/functions/controls.OneLineButton.html +205 -0
  120. package/doc/functions/controls.RadioControl.html +177 -0
  121. package/doc/functions/controls.RadioGroupControl.html +177 -0
  122. package/doc/functions/controls.SectionControl.html +177 -0
  123. package/doc/functions/controls.SelectControl.html +177 -0
  124. package/doc/functions/controls.SizedBox.html +206 -0
  125. package/doc/functions/controls.TableControl.html +177 -0
  126. package/doc/functions/controls.TabsPanel.html +205 -0
  127. package/doc/functions/controls.TextControl.html +177 -0
  128. package/doc/functions/controls.ToolbarControl.html +177 -0
  129. package/doc/functions/controls.ValidateableTextControl.html +177 -0
  130. package/doc/functions/hooks.useDevices.html +176 -0
  131. package/doc/functions/hooks.useIsOnline.html +176 -0
  132. package/doc/functions/hooks.useLanguage.html +176 -0
  133. package/doc/functions/hooks.useLocalizedStrings.html +176 -0
  134. package/doc/functions/hooks.useLogMessages.html +176 -0
  135. package/doc/functions/hooks.useMaxDataBytes.html +175 -0
  136. package/doc/functions/hooks.useMeasurementSetup.html +176 -0
  137. package/doc/functions/hooks.useMeasurementStatus.html +176 -0
  138. package/doc/functions/hooks.useMessageLogFileFormats.html +175 -0
  139. package/doc/functions/hooks.useNewMeasurementData.html +178 -0
  140. package/doc/functions/hooks.useNodeStatus.html +176 -0
  141. package/doc/functions/hooks.useNumericRadix.html +176 -0
  142. package/doc/functions/hooks.useOnlineStatus.html +176 -0
  143. package/doc/functions/hooks.useOverallStatusLevel.html +176 -0
  144. package/doc/functions/hooks.useProjectData.html +178 -0
  145. package/doc/functions/hooks.useRecentProjectFiles.html +175 -0
  146. package/doc/functions/hooks.useRunningPeriodicTransmissions.html +176 -0
  147. package/doc/functions/hooks.useSessionData.html +178 -0
  148. package/doc/functions/hooks.useUserSettings.html +176 -0
  149. package/doc/functions/hooks.useWorkspacePaneWithId.html +175 -0
  150. package/doc/functions/icons.AddIcon.html +175 -0
  151. package/doc/functions/icons.ArrowDownIcon.html +175 -0
  152. package/doc/functions/icons.ArrowLeftIcon.html +175 -0
  153. package/doc/functions/icons.ArrowRightIcon.html +175 -0
  154. package/doc/functions/icons.ArrowUpIcon.html +175 -0
  155. package/doc/functions/icons.BusIsOffIcon.html +175 -0
  156. package/doc/functions/icons.BusIsOnIcon.html +175 -0
  157. package/doc/functions/icons.CloseIcon.html +175 -0
  158. package/doc/functions/icons.CopyIcon.html +175 -0
  159. package/doc/functions/icons.DarkModeIcon.html +175 -0
  160. package/doc/functions/icons.DeleteIcon.html +175 -0
  161. package/doc/functions/icons.DisableIcon.html +175 -0
  162. package/doc/functions/icons.EditIcon.html +175 -0
  163. package/doc/functions/icons.FilterIcon.html +175 -0
  164. package/doc/functions/icons.FixedPositionIcon.html +175 -0
  165. package/doc/functions/icons.LeaveFullScreenIcon.html +175 -0
  166. package/doc/functions/icons.LightModeIcon.html +175 -0
  167. package/doc/functions/icons.LineArrowDownIcon.html +175 -0
  168. package/doc/functions/icons.LineArrowUpIcon.html +175 -0
  169. package/doc/functions/icons.MaximizeWindowIcon.html +175 -0
  170. package/doc/functions/icons.MeasurementSetupIcon.html +175 -0
  171. package/doc/functions/icons.MoreHorizIcon.html +175 -0
  172. package/doc/functions/icons.MoreVertIcon.html +175 -0
  173. package/doc/functions/icons.NewIcon.html +175 -0
  174. package/doc/functions/icons.OpenExternallyIcon.html +175 -0
  175. package/doc/functions/icons.OpenIcon.html +175 -0
  176. package/doc/functions/icons.PauseIcon.html +175 -0
  177. package/doc/functions/icons.PlayIcon.html +175 -0
  178. package/doc/functions/icons.PlaySolidIcon.html +175 -0
  179. package/doc/functions/icons.SaveIcon.html +175 -0
  180. package/doc/functions/icons.SelectAllIcon.html +175 -0
  181. package/doc/functions/icons.ServiceIconActive.html +175 -0
  182. package/doc/functions/icons.ServiceIconInactive.html +175 -0
  183. package/doc/functions/icons.SettingsIcon.html +175 -0
  184. package/doc/functions/icons.StopIcon.html +175 -0
  185. package/doc/functions/icons.StopSolidIcon.html +175 -0
  186. package/doc/functions/icons.ToolsPanelHiddenIcon.html +175 -0
  187. package/doc/functions/icons.ToolsPanelVisibleIcon.html +175 -0
  188. package/doc/functions/icons.UnmaximizeWindowIcon.html +175 -0
  189. package/doc/functions/icons.WorkspacesIcon.html +175 -0
  190. package/doc/functions/ipc.addDataProcessor.html +178 -0
  191. package/doc/functions/ipc.addSource.html +176 -0
  192. package/doc/functions/ipc.addTarget.html +176 -0
  193. package/doc/functions/ipc.connectNodes.html +177 -0
  194. package/doc/functions/ipc.deleteDataProcessor.html +176 -0
  195. package/doc/functions/ipc.deleteSource.html +176 -0
  196. package/doc/functions/ipc.deleteTarget.html +176 -0
  197. package/doc/functions/ipc.disableNode.html +176 -0
  198. package/doc/functions/ipc.disconnectNodes.html +177 -0
  199. package/doc/functions/ipc.enableNode.html +176 -0
  200. package/doc/functions/ipc.getFrameDefinitions.html +178 -0
  201. package/doc/functions/ipc.getLogger.html +177 -0
  202. package/doc/functions/ipc.getMessageLogFileFormats.html +176 -0
  203. package/doc/functions/ipc.sendCanMessage.html +179 -0
  204. package/doc/functions/ipc.sendMessage.html +177 -0
  205. package/doc/functions/ipc.showMessageBox.html +177 -0
  206. package/doc/functions/ipc.showQuestionBox.html +183 -0
  207. package/doc/functions/ipc.startLogReplay.html +176 -0
  208. package/doc/functions/ipc.startMeasurement.html +175 -0
  209. package/doc/functions/ipc.startPeriodicTransmission.html +177 -0
  210. package/doc/functions/ipc.stopLogReplay.html +176 -0
  211. package/doc/functions/ipc.stopMeasurement.html +175 -0
  212. package/doc/functions/ipc.stopPeriodicTransmission.html +176 -0
  213. package/doc/functions/ipc.updateDataProcessor.html +176 -0
  214. package/doc/functions/ipc.updateSource.html +176 -0
  215. package/doc/functions/ipc.updateTarget.html +176 -0
  216. package/doc/functions/models.accessModeFromJSON.html +174 -0
  217. package/doc/functions/models.accessModeToJSON.html +174 -0
  218. package/doc/functions/models.appEventFromJSON.html +174 -0
  219. package/doc/functions/models.appEventToJSON.html +174 -0
  220. package/doc/functions/models.canChannelCapFromJSON.html +174 -0
  221. package/doc/functions/models.canChannelCapToJSON.html +174 -0
  222. package/doc/functions/models.canFrameFlagFromJSON.html +174 -0
  223. package/doc/functions/models.canFrameFlagToJSON.html +174 -0
  224. package/doc/functions/models.canModeFromJSON.html +174 -0
  225. package/doc/functions/models.canModeToJSON.html +174 -0
  226. package/doc/functions/models.createElectronApiFake.html +177 -0
  227. package/doc/functions/models.decimalCharFromJSON.html +174 -0
  228. package/doc/functions/models.decimalCharToJSON.html +174 -0
  229. package/doc/functions/models.decimalToFixed.html +174 -0
  230. package/doc/functions/models.decimalToHex.html +174 -0
  231. package/doc/functions/models.deviceEventFromJSON.html +174 -0
  232. package/doc/functions/models.deviceEventToJSON.html +174 -0
  233. package/doc/functions/models.fileConflictActionFromJSON.html +174 -0
  234. package/doc/functions/models.fileConflictActionToJSON.html +174 -0
  235. package/doc/functions/models.linFrameFlagFromJSON.html +174 -0
  236. package/doc/functions/models.linFrameFlagToJSON.html +174 -0
  237. package/doc/functions/models.logFileFormatFromJSON.html +174 -0
  238. package/doc/functions/models.logFileFormatToJSON.html +174 -0
  239. package/doc/functions/models.logLevelFromJSON.html +174 -0
  240. package/doc/functions/models.logLevelToJSON.html +174 -0
  241. package/doc/functions/models.logReplayStateFromJSON.html +174 -0
  242. package/doc/functions/models.logReplayStateToJSON.html +174 -0
  243. package/doc/functions/models.longToNumber.html +174 -0
  244. package/doc/functions/models.measurementEventFromJSON.html +174 -0
  245. package/doc/functions/models.measurementEventToJSON.html +174 -0
  246. package/doc/functions/models.messageLoggerStateFromJSON.html +174 -0
  247. package/doc/functions/models.messageLoggerStateToJSON.html +174 -0
  248. package/doc/functions/models.protocolsFromJSON.html +174 -0
  249. package/doc/functions/models.protocolsToJSON.html +174 -0
  250. package/doc/functions/models.separatorFromJSON.html +174 -0
  251. package/doc/functions/models.separatorToJSON.html +174 -0
  252. package/doc/functions/models.signalEncodingFromJSON.html +174 -0
  253. package/doc/functions/models.signalEncodingToJSON.html +174 -0
  254. package/doc/functions/models.signalTypeFromJSON.html +174 -0
  255. package/doc/functions/models.signalTypeToJSON.html +174 -0
  256. package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +174 -0
  257. package/doc/functions/models.signalValueTriggerOperatorToJSON.html +174 -0
  258. package/doc/functions/models.statusLevelFromJSON.html +174 -0
  259. package/doc/functions/models.statusLevelToJSON.html +174 -0
  260. package/doc/functions/models.timeReferenceFromJSON.html +174 -0
  261. package/doc/functions/models.timeReferenceToJSON.html +174 -0
  262. package/doc/functions/models.triggerOperatorFromJSON.html +174 -0
  263. package/doc/functions/models.triggerOperatorToJSON.html +174 -0
  264. package/doc/hierarchy.html +174 -0
  265. package/doc/index.html +244 -0
  266. package/doc/interfaces/controls.ButtonGroupProps.html +183 -0
  267. package/doc/interfaces/controls.ButtonProps.html +195 -0
  268. package/doc/interfaces/controls.CanChannelSelectControlProps.html +194 -0
  269. package/doc/interfaces/controls.CanIdentifierControlProps.html +195 -0
  270. package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +190 -0
  271. package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +208 -0
  272. package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +194 -0
  273. package/doc/interfaces/controls.CheckboxControlProps.html +190 -0
  274. package/doc/interfaces/controls.ContextMenuProps.html +182 -0
  275. package/doc/interfaces/controls.DropdownButtonChildrenProps.html +177 -0
  276. package/doc/interfaces/controls.DropdownButtonProps.html +193 -0
  277. package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +183 -0
  278. package/doc/interfaces/controls.DropdownPanelProps.html +193 -0
  279. package/doc/interfaces/controls.FormControlRowProps.html +181 -0
  280. package/doc/interfaces/controls.ILocalizedStrings.html +176 -0
  281. package/doc/interfaces/controls.InlineEditorProps.html +186 -0
  282. package/doc/interfaces/controls.LabelProps.html +179 -0
  283. package/doc/interfaces/controls.NumberRangeControlProps.html +225 -0
  284. package/doc/interfaces/controls.RadioControlProps.html +187 -0
  285. package/doc/interfaces/controls.RadioGroupControlProps.html +182 -0
  286. package/doc/interfaces/controls.SectionControlProps.html +190 -0
  287. package/doc/interfaces/controls.SelectControlProps.html +205 -0
  288. package/doc/interfaces/controls.TableColumn.html +185 -0
  289. package/doc/interfaces/controls.TableControlProps.html +197 -0
  290. package/doc/interfaces/controls.TextControlProps.html +214 -0
  291. package/doc/interfaces/controls.ToggleButtonGroupProps.html +190 -0
  292. package/doc/interfaces/controls.ToggleButtonProps.html +187 -0
  293. package/doc/interfaces/controls.ToolbarControlProps.html +191 -0
  294. package/doc/interfaces/controls.ValidateableTextControlProps.html +233 -0
  295. package/doc/interfaces/controls.toolbarItem.html +185 -0
  296. package/doc/interfaces/ipc.ILogger.html +181 -0
  297. package/doc/interfaces/models.AboutInformation.html +181 -0
  298. package/doc/interfaces/models.ActivateLicenseRequest.html +181 -0
  299. package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +177 -0
  300. package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +177 -0
  301. package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +185 -0
  302. package/doc/interfaces/models.AddOrUpdateSourceRequest.html +181 -0
  303. package/doc/interfaces/models.AddOrUpdateTargetRequest.html +181 -0
  304. package/doc/interfaces/models.ApiPreferences.html +183 -0
  305. package/doc/interfaces/models.AppEventArgs.html +179 -0
  306. package/doc/interfaces/models.BaseNodeProperties.html +181 -0
  307. package/doc/interfaces/models.BusStatus.html +190 -0
  308. package/doc/interfaces/models.CanBusParamLimits.html +180 -0
  309. package/doc/interfaces/models.CanBusParams.html +197 -0
  310. package/doc/interfaces/models.CanBusSpeed.html +187 -0
  311. package/doc/interfaces/models.CanBusSpeedInfo.html +193 -0
  312. package/doc/interfaces/models.CanChannelCapacity.html +180 -0
  313. package/doc/interfaces/models.CanChannelConfiguration.html +185 -0
  314. package/doc/interfaces/models.CanFDBusSpeedCombination.html +177 -0
  315. package/doc/interfaces/models.CanFDBusSpeedInfo.html +191 -0
  316. package/doc/interfaces/models.CanFrameFlags.html +177 -0
  317. package/doc/interfaces/models.CanMessageFilterSettings.html +178 -0
  318. package/doc/interfaces/models.Channel.html +180 -0
  319. package/doc/interfaces/models.ChannelSettings.html +193 -0
  320. package/doc/interfaces/models.ClearLinMessageRequest.html +180 -0
  321. package/doc/interfaces/models.ConnectNodesRequest.html +178 -0
  322. package/doc/interfaces/models.DataProcessingStatus.html +179 -0
  323. package/doc/interfaces/models.DataProcessorNodeProperties.html +181 -0
  324. package/doc/interfaces/models.DatabasesSettings.html +176 -0
  325. package/doc/interfaces/models.Device.html +182 -0
  326. package/doc/interfaces/models.DeviceEventArgs.html +177 -0
  327. package/doc/interfaces/models.Devices.html +175 -0
  328. package/doc/interfaces/models.DisconnectNodesRequest.html +178 -0
  329. package/doc/interfaces/models.Empty.html +182 -0
  330. package/doc/interfaces/models.ErrorStatus.html +177 -0
  331. package/doc/interfaces/models.Frame.html +203 -0
  332. package/doc/interfaces/models.FrameDefinition.html +185 -0
  333. package/doc/interfaces/models.FrameDefinitions.html +175 -0
  334. package/doc/interfaces/models.FramePropertyValue.html +177 -0
  335. package/doc/interfaces/models.FrameReceivedTrigger.html +179 -0
  336. package/doc/interfaces/models.Frame_PropertiesEntry.html +176 -0
  337. package/doc/interfaces/models.Frames.html +175 -0
  338. package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +177 -0
  339. package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +179 -0
  340. package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +179 -0
  341. package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +177 -0
  342. package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +178 -0
  343. package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +177 -0
  344. package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +178 -0
  345. package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +177 -0
  346. package/doc/interfaces/models.GetDataProcessorResponse.html +176 -0
  347. package/doc/interfaces/models.GetDevicesRequest.html +177 -0
  348. package/doc/interfaces/models.GetDevicesResponse.html +176 -0
  349. package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +178 -0
  350. package/doc/interfaces/models.GetLicensesResponse.html +177 -0
  351. package/doc/interfaces/models.GetLogFileFormatsRequest.html +180 -0
  352. package/doc/interfaces/models.GetLogFileFormatsResponse.html +183 -0
  353. package/doc/interfaces/models.GetLogLevelResponse.html +177 -0
  354. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +178 -0
  355. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +177 -0
  356. package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +181 -0
  357. package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +187 -0
  358. package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +180 -0
  359. package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +177 -0
  360. package/doc/interfaces/models.GetSourceResponse.html +176 -0
  361. package/doc/interfaces/models.GetTargetResponse.html +176 -0
  362. package/doc/interfaces/models.ILogFileFormat.html +179 -0
  363. package/doc/interfaces/models.IProject.html +179 -0
  364. package/doc/interfaces/models.IUserSettings.html +187 -0
  365. package/doc/interfaces/models.IWorkspaceComponentPaneData.html +177 -0
  366. package/doc/interfaces/models.IWorkspaceContainerPaneData.html +178 -0
  367. package/doc/interfaces/models.IWorkspaceData.html +178 -0
  368. package/doc/interfaces/models.IWorkspacePaneData.html +178 -0
  369. package/doc/interfaces/models.IdentifierRequest.html +178 -0
  370. package/doc/interfaces/models.IdentifiersRequest.html +178 -0
  371. package/doc/interfaces/models.InstallServiceExtensionRequest.html +181 -0
  372. package/doc/interfaces/models.InterpreterSettings.html +177 -0
  373. package/doc/interfaces/models.J1939InterpreterSettings.html +175 -0
  374. package/doc/interfaces/models.LicenseInformation.html +191 -0
  375. package/doc/interfaces/models.Licenses.html +177 -0
  376. package/doc/interfaces/models.LinChannelConfiguration.html +185 -0
  377. package/doc/interfaces/models.LinFrameFlags.html +177 -0
  378. package/doc/interfaces/models.LogMessage.html +185 -0
  379. package/doc/interfaces/models.LogMessages.html +177 -0
  380. package/doc/interfaces/models.LogReplaySettings.html +199 -0
  381. package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +176 -0
  382. package/doc/interfaces/models.LogReplayStatus.html +176 -0
  383. package/doc/interfaces/models.MeasurementEventArgs.html +179 -0
  384. package/doc/interfaces/models.MeasurementSetup.html +179 -0
  385. package/doc/interfaces/models.MessageLoggerSettings.html +213 -0
  386. package/doc/interfaces/models.MessageLoggerStatus.html +176 -0
  387. package/doc/interfaces/models.NodeStatus.html +191 -0
  388. package/doc/interfaces/models.NodeStatuses.html +176 -0
  389. package/doc/interfaces/models.OnlineStatus.html +176 -0
  390. package/doc/interfaces/models.PeriodicTransmissionSettings.html +209 -0
  391. package/doc/interfaces/models.RequestLinMessageRequest.html +180 -0
  392. package/doc/interfaces/models.ScheduleTable.html +181 -0
  393. package/doc/interfaces/models.ScheduleTableEntry.html +179 -0
  394. package/doc/interfaces/models.SendLinWakeupFrameRequest.html +182 -0
  395. package/doc/interfaces/models.SendMessageRequest.html +178 -0
  396. package/doc/interfaces/models.ServiceExtensionSettings.html +177 -0
  397. package/doc/interfaces/models.SetLogLevelRequest.html +179 -0
  398. package/doc/interfaces/models.SetMeasurementSetupRequest.html +177 -0
  399. package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +182 -0
  400. package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +180 -0
  401. package/doc/interfaces/models.SignalDefinition.html +188 -0
  402. package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +176 -0
  403. package/doc/interfaces/models.SignalDefinitions.html +175 -0
  404. package/doc/interfaces/models.SignalValue.html +180 -0
  405. package/doc/interfaces/models.SignalValueTrigger.html +189 -0
  406. package/doc/interfaces/models.SourceNodeProperties.html +180 -0
  407. package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +178 -0
  408. package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +176 -0
  409. package/doc/interfaces/models.TargetNodeProperties.html +178 -0
  410. package/doc/interfaces/models.TriggerSettings.html +181 -0
  411. package/doc/interfaces/models.UninstallServiceExtensionRequest.html +179 -0
  412. package/doc/interfaces/models.UpdateLinMessageRequest.html +181 -0
  413. package/doc/interfaces/models.WriteFrame.html +183 -0
  414. package/doc/modules/controls.html +242 -0
  415. package/doc/modules/hooks.html +201 -0
  416. package/doc/modules/icons.html +216 -0
  417. package/doc/modules/ipc.html +202 -0
  418. package/doc/modules/models.html +478 -0
  419. package/doc/modules.html +179 -0
  420. package/doc/types/controls.ContextMenuOption.html +179 -0
  421. package/doc/types/controls.SelectOption.html +177 -0
  422. package/doc/types/controls.StringsMap.html +175 -0
  423. package/doc/types/controls.canIdentifierType.html +175 -0
  424. package/doc/types/models.IReadOnlyDataBuffer.html +174 -0
  425. package/doc/types/models.themes.html +174 -0
  426. package/doc/variables/models.AboutInformation-1.html +174 -0
  427. package/doc/variables/models.ActivateLicenseRequest-1.html +174 -0
  428. package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +174 -0
  429. package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +174 -0
  430. package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +174 -0
  431. package/doc/variables/models.AddOrUpdateSourceRequest-1.html +174 -0
  432. package/doc/variables/models.AddOrUpdateTargetRequest-1.html +174 -0
  433. package/doc/variables/models.ApiPreferences-1.html +174 -0
  434. package/doc/variables/models.AppEventArgs-1.html +174 -0
  435. package/doc/variables/models.BaseNodeProperties-1.html +174 -0
  436. package/doc/variables/models.BusStatus-1.html +174 -0
  437. package/doc/variables/models.CanBusParamLimits-1.html +174 -0
  438. package/doc/variables/models.CanBusParams-1.html +174 -0
  439. package/doc/variables/models.CanBusSpeed-1.html +174 -0
  440. package/doc/variables/models.CanBusSpeedInfo-1.html +174 -0
  441. package/doc/variables/models.CanChannelCapacity-1.html +174 -0
  442. package/doc/variables/models.CanChannelConfiguration-1.html +174 -0
  443. package/doc/variables/models.CanFDBusSpeedCombination-1.html +174 -0
  444. package/doc/variables/models.CanFDBusSpeedInfo-1.html +174 -0
  445. package/doc/variables/models.CanFrameFlags-1.html +174 -0
  446. package/doc/variables/models.CanMessageFilterSettings-1.html +174 -0
  447. package/doc/variables/models.Channel-1.html +174 -0
  448. package/doc/variables/models.ChannelSettings-1.html +174 -0
  449. package/doc/variables/models.ClearLinMessageRequest-1.html +174 -0
  450. package/doc/variables/models.ConnectNodesRequest-1.html +174 -0
  451. package/doc/variables/models.DataProcessingStatus-1.html +174 -0
  452. package/doc/variables/models.DataProcessorNodeProperties-1.html +174 -0
  453. package/doc/variables/models.DatabasesSettings-1.html +174 -0
  454. package/doc/variables/models.Device-1.html +174 -0
  455. package/doc/variables/models.DeviceEventArgs-1.html +174 -0
  456. package/doc/variables/models.Devices-1.html +174 -0
  457. package/doc/variables/models.DisconnectNodesRequest-1.html +174 -0
  458. package/doc/variables/models.Empty-1.html +174 -0
  459. package/doc/variables/models.ErrorStatus-1.html +174 -0
  460. package/doc/variables/models.Frame-1.html +174 -0
  461. package/doc/variables/models.FrameDefinition-1.html +174 -0
  462. package/doc/variables/models.FrameDefinitions-1.html +174 -0
  463. package/doc/variables/models.FramePropertyValue-1.html +174 -0
  464. package/doc/variables/models.FrameReceivedTrigger-1.html +174 -0
  465. package/doc/variables/models.Frame_PropertiesEntry-1.html +174 -0
  466. package/doc/variables/models.Frames-1.html +174 -0
  467. package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +174 -0
  468. package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +174 -0
  469. package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +174 -0
  470. package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +174 -0
  471. package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +174 -0
  472. package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +174 -0
  473. package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +174 -0
  474. package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +174 -0
  475. package/doc/variables/models.GetDataProcessorResponse-1.html +174 -0
  476. package/doc/variables/models.GetDevicesRequest-1.html +174 -0
  477. package/doc/variables/models.GetDevicesResponse-1.html +174 -0
  478. package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +174 -0
  479. package/doc/variables/models.GetLicensesResponse-1.html +174 -0
  480. package/doc/variables/models.GetLogFileFormatsRequest-1.html +174 -0
  481. package/doc/variables/models.GetLogFileFormatsResponse-1.html +174 -0
  482. package/doc/variables/models.GetLogLevelResponse-1.html +174 -0
  483. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +174 -0
  484. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +174 -0
  485. package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +174 -0
  486. package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +174 -0
  487. package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +174 -0
  488. package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +174 -0
  489. package/doc/variables/models.GetSourceResponse-1.html +174 -0
  490. package/doc/variables/models.GetTargetResponse-1.html +174 -0
  491. package/doc/variables/models.IdentifierRequest-1.html +174 -0
  492. package/doc/variables/models.IdentifiersRequest-1.html +174 -0
  493. package/doc/variables/models.InstallServiceExtensionRequest-1.html +174 -0
  494. package/doc/variables/models.InterpreterSettings-1.html +174 -0
  495. package/doc/variables/models.J1939InterpreterSettings-1.html +174 -0
  496. package/doc/variables/models.LicenseInformation-1.html +174 -0
  497. package/doc/variables/models.Licenses-1.html +174 -0
  498. package/doc/variables/models.LinChannelConfiguration-1.html +174 -0
  499. package/doc/variables/models.LinFrameFlags-1.html +174 -0
  500. package/doc/variables/models.LogMessage-1.html +174 -0
  501. package/doc/variables/models.LogMessages-1.html +174 -0
  502. package/doc/variables/models.LogReplaySettings-1.html +174 -0
  503. package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +174 -0
  504. package/doc/variables/models.LogReplayStatus-1.html +174 -0
  505. package/doc/variables/models.MeasurementEventArgs-1.html +174 -0
  506. package/doc/variables/models.MeasurementSetup-1.html +174 -0
  507. package/doc/variables/models.MessageLoggerSettings-1.html +174 -0
  508. package/doc/variables/models.MessageLoggerStatus-1.html +174 -0
  509. package/doc/variables/models.NodeStatus-1.html +174 -0
  510. package/doc/variables/models.NodeStatuses-1.html +174 -0
  511. package/doc/variables/models.OnlineStatus-1.html +174 -0
  512. package/doc/variables/models.PeriodicTransmissionSettings-1.html +174 -0
  513. package/doc/variables/models.RequestLinMessageRequest-1.html +174 -0
  514. package/doc/variables/models.ScheduleTable-1.html +174 -0
  515. package/doc/variables/models.ScheduleTableEntry-1.html +174 -0
  516. package/doc/variables/models.SendLinWakeupFrameRequest-1.html +174 -0
  517. package/doc/variables/models.SendMessageRequest-1.html +174 -0
  518. package/doc/variables/models.ServiceExtensionSettings-1.html +174 -0
  519. package/doc/variables/models.SetLogLevelRequest-1.html +174 -0
  520. package/doc/variables/models.SetMeasurementSetupRequest-1.html +174 -0
  521. package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +174 -0
  522. package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +174 -0
  523. package/doc/variables/models.SignalDefinition-1.html +174 -0
  524. package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +174 -0
  525. package/doc/variables/models.SignalDefinitions-1.html +174 -0
  526. package/doc/variables/models.SignalValue-1.html +174 -0
  527. package/doc/variables/models.SignalValueTrigger-1.html +174 -0
  528. package/doc/variables/models.SourceNodeProperties-1.html +174 -0
  529. package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +174 -0
  530. package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +174 -0
  531. package/doc/variables/models.TargetNodeProperties-1.html +174 -0
  532. package/doc/variables/models.TriggerSettings-1.html +174 -0
  533. package/doc/variables/models.UninstallServiceExtensionRequest-1.html +174 -0
  534. package/doc/variables/models.UpdateLinMessageRequest-1.html +174 -0
  535. package/doc/variables/models.WriteFrame-1.html +174 -0
  536. package/doc/variables/models.defaultUserSettings.html +175 -0
  537. package/package.json +129 -0
  538. package/scripts/createCanKingExtension.js +403 -0
  539. package/scripts/index.js +39 -0
  540. package/scripts/template/_.eslintrc.cjs +38 -0
  541. package/scripts/template/_.gitignore +24 -0
  542. package/scripts/template/_.npmrc +2 -0
  543. package/scripts/template/_.prettierrc +8 -0
  544. package/scripts/template/_.vscode/_launch.json +28 -0
  545. package/scripts/template/_index.html +15 -0
  546. package/scripts/template/_tsconfig.app.json +27 -0
  547. package/scripts/template/_tsconfig.json +11 -0
  548. package/scripts/template/_tsconfig.node.json +13 -0
  549. package/scripts/template/_vite.config.ts +7 -0
  550. package/scripts/template/src/App.tsx +12 -0
  551. package/scripts/template/src/WorkspaceView/index.tsx +47 -0
  552. package/scripts/template/src/main.css +9 -0
  553. package/scripts/template/src/main.tsx +19 -0
  554. package/scripts/template/src/vite-env.d.ts +1 -0
@@ -0,0 +1,448 @@
1
+ var d = Object.defineProperty;
2
+ var g = (r, e, s) => e in r ? d(r, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : r[e] = s;
3
+ var n = (r, e, s) => g(r, typeof e != "symbol" ? e + "" : e, s);
4
+ import u from "long";
5
+ import { c as N, e as R } from "./ElectronAPIFake.mjs";
6
+ import { p as v, o as z, a0 as T, a1 as y, a4 as J, a2 as L, a6 as w, A as E, b as q, j as M, aE as D, x as A, w as b, y as G, C as P, F as B, B as k, z as U, H as j, ag as H, a8 as V, aF as W, J as $, D as X, X as Y, K, a9 as Q, E as Z, aI as _, O as ee, Q as se, V as te, W as ae, an as ie, ao as ne, R as re, T as oe, a5 as he, M as le, N as de, ap as ge, n as ue, al as Se, am as ce, G as me, aq as xe, ar as pe, k as Fe, m as fe, as as Ie, at as Ce, a3 as Ne, a7 as Re, aa as Oe, ab as ve, I as ze, h as Te, i as ye, L as Je, f as Le, g as we, ay as Ee, aG as qe, Y as Me, ak as De, aB as Ae, aH as be, aJ as Ge, aK as Pe, aj as Be, P as ke, ae as Ue, ad as je, ac as He, e as Ve, $ as We, au as $e, av as Xe, ah as Ye, ai as Ke, S as Qe, U as Ze, af as _e, c as es, d as ss, q as ts, r as as, u as is, v as ns, l as rs, a as os, az as hs, aA as ls, Z as ds, _ as gs, aC as us, aD as Ss, s as cs, t as ms, aw as xs, ax as ps } from "./status_params.mjs";
7
+ import { A as fs, a7 as Is, Q as Cs, R as Ns, C as Rs, d as Os, _ as vs, n as zs, V as Ts, a9 as ys, $ as Js, G as Ls, B as ws, f as Es, i as qs, j as Ms, F as Ds, a3 as As, g as bs, h as Gs, a0 as Ps, a1 as Bs, U as ks, L as Us, e as js, x as Hs, X as Vs, Y as Ws, ab as $s, a6 as Xs, Z as Ys, m as Ks, k as Qs, J as Zs, a2 as _s, ai as et, aj as st, ak as tt, ac as at, af as it, S as nt, a4 as rt, s as ot, a8 as ht, aa as lt, N as dt, T as gt, a5 as ut, W as St, q as ct, r as mt, c as xt, a as pt, o as Ft, p as ft, H as It, I as Ct, D as Nt, E as Rt, l as Ot, b as vt, y as zt, z as Tt, K as yt, M as Jt, ad as Lt, ae as wt, ag as Et, ah as qt, t as Mt, u as Dt, O as At, P as bt, v as Gt, w as Pt } from "./measurement_settings.mjs";
8
+ class o {
9
+ constructor(e, s, t, a, i, l) {
10
+ n(this, "data");
11
+ n(this, "index");
12
+ n(this, "size");
13
+ n(this, "endIndex");
14
+ n(this, "length");
15
+ n(this, "normalizedIndex");
16
+ n(this, "filterCallback");
17
+ this.data = e, this.index = t, this.size = s, this.endIndex = a, this.length = i, this.normalizedIndex = 0, this.filterCallback = l;
18
+ }
19
+ next() {
20
+ for (; this.normalizedIndex < this.length; ) {
21
+ this.normalizedIndex += 1;
22
+ const e = {
23
+ value: this.data[this.index],
24
+ done: !1
25
+ };
26
+ if (this.index += 1, this.index === this.size && (this.index = 0), !this.filterCallback || this.filterCallback(e.value))
27
+ return e;
28
+ }
29
+ return {
30
+ value: this.data[this.index],
31
+ done: !0
32
+ };
33
+ }
34
+ findIndex(e) {
35
+ let s = this.index, t = this.normalizedIndex;
36
+ for (; t < this.length; ) {
37
+ if (e(this.data[s]))
38
+ return s;
39
+ t += 1, s += 1, s === this.size && (s = 0);
40
+ }
41
+ return -1;
42
+ }
43
+ /**
44
+ * Returns an iterator of a section of this buffer.
45
+ * @param start The beginning index of the specified portion of the buffer.
46
+ * @param end The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
47
+ * If end is undefined, then the slice extends to the end of the buffer.
48
+ */
49
+ slice(e, s) {
50
+ if (this.length === 0)
51
+ return new o(this.data, this.size, 0, 0, 0);
52
+ if (e < 0 || e >= this.length)
53
+ throw new Error("Invalid start index");
54
+ if (s !== void 0 && (s < 0 || s >= this.length))
55
+ throw new Error("Invalid end index");
56
+ let t = this.index + e;
57
+ t >= this.size && (t -= this.size);
58
+ let a = s !== void 0 ? this.index + s : this.endIndex;
59
+ a >= this.size && (a -= this.size);
60
+ const i = s !== void 0 ? s - e : this.length - e;
61
+ return new o(this.data, this.size, t, a, i);
62
+ }
63
+ /**
64
+ * Returns an iterator of a section of this buffer.
65
+ * @param filter An optional callback filter.
66
+ */
67
+ filter(e) {
68
+ return new o(this.data, this.size, this.index, this.endIndex, this.length, e);
69
+ }
70
+ /**
71
+ * Returns an iterator of a section of this buffer.
72
+ * @param start The beginning index of the specified portion of the buffer.
73
+ * @param end The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
74
+ * If end is undefined, then the slice extends to the end of the buffer.
75
+ * @param filter An optional callback filter.
76
+ */
77
+ sliceAndFilter(e, s, t) {
78
+ if (this.length === 0)
79
+ return new o(this.data, this.size, 0, 0, 0, t);
80
+ if (e < 0 || e >= this.length)
81
+ throw new Error("Invalid start index");
82
+ if (s !== void 0 && (s < 0 || s >= this.length))
83
+ throw new Error("Invalid end index");
84
+ let a = this.index + e;
85
+ a >= this.size && (a -= this.size);
86
+ let i = s !== void 0 ? this.index + s : this.endIndex;
87
+ i >= this.size && (i -= this.size);
88
+ const l = s !== void 0 ? s - e : this.length - e;
89
+ return new o(this.data, this.size, a, i, l, t);
90
+ }
91
+ [Symbol.iterator]() {
92
+ return this;
93
+ }
94
+ }
95
+ class m {
96
+ /**
97
+ * Constructor.
98
+ * @param size An optional buffer size.
99
+ */
100
+ constructor(e = 0) {
101
+ n(this, "length", 0);
102
+ n(this, "size", 0);
103
+ n(this, "startIndex", 0);
104
+ n(this, "endIndex", 0);
105
+ n(this, "data", []);
106
+ this.clear(e);
107
+ }
108
+ /**
109
+ * Clears this DataBuffer.
110
+ * @param size An optional new buffer size.
111
+ */
112
+ clear(e) {
113
+ this.size = e !== void 0 ? e : this.size, this.startIndex = 0, this.endIndex = 0, this.length = 0, this.data = this.size > 0 ? new Array(this.size) : [];
114
+ }
115
+ /**
116
+ * Adds data to this DataBuffer.
117
+ * @param elements The new elements.
118
+ */
119
+ push(...e) {
120
+ for (let s = 0; s < e.length; s += 1) {
121
+ const t = e[s];
122
+ this.length > 0 && (this.endIndex += 1, this.endIndex === this.size && (this.endIndex = 0), this.length === this.size && (this.startIndex += 1, this.startIndex === this.size && (this.startIndex = 0))), this.data[this.endIndex] = t, this.length < this.size && (this.length += 1);
123
+ }
124
+ }
125
+ /**
126
+ * Takes an integer value and returns the item at that index,
127
+ * allowing for positive and negative integers.
128
+ * Negative integers count back from the last item in the array.
129
+ */
130
+ at(e) {
131
+ if (Math.abs(e) >= this.length)
132
+ throw new Error("Argument out of range!");
133
+ return e < 0 ? this.endIndex - e >= 0 ? this.data[this.endIndex - e] : this.data[this.size + (this.endIndex - e)] : this.startIndex + e < this.size ? this.data[this.startIndex + e] : this.data[this.startIndex + e - this.size];
134
+ }
135
+ /**
136
+ * Returns an iterator of a section of this buffer.
137
+ * @param start The beginning index of the specified portion of the buffer.
138
+ * @param end The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
139
+ * If end is undefined, then the slice extends to the end of the buffer.
140
+ */
141
+ slice(e, s) {
142
+ if (this.length === 0)
143
+ return new o(this.data, this.size, 0, 0, 0);
144
+ if (e < 0 || e >= this.length)
145
+ throw new Error("Invalid start index");
146
+ if (s !== void 0 && (s < 0 || s >= this.length))
147
+ throw new Error("Invalid end index");
148
+ let t = this.startIndex + e;
149
+ t >= this.size && (t -= this.size);
150
+ let a = s !== void 0 ? this.startIndex + s : this.endIndex;
151
+ a >= this.size && (a -= this.size);
152
+ const i = s !== void 0 ? s - e : this.length - e;
153
+ return new o(this.data, this.size, t, a, i);
154
+ }
155
+ /**
156
+ * Returns an iterator of a section of this buffer.
157
+ * @param filter An optional callback filter.
158
+ */
159
+ filter(e) {
160
+ return new o(this.data, this.size, this.startIndex, this.endIndex, this.length, e);
161
+ }
162
+ /**
163
+ * Returns an iterator of a section of this buffer.
164
+ * @param start The beginning index of the specified portion of the buffer.
165
+ * @param end The end index of the specified portion of the buffer. This is exclusive of the element at the index 'end'.
166
+ * If end is undefined, then the slice extends to the end of the buffer.
167
+ * @param filter An optional callback filter.
168
+ */
169
+ sliceAndFilter(e, s, t) {
170
+ if (this.length === 0)
171
+ return new o(this.data, this.size, 0, 0, 0, t);
172
+ if (e < 0 || e >= this.length)
173
+ throw new Error("Invalid start index");
174
+ if (s !== void 0 && (s < 0 || s >= this.length))
175
+ throw new Error("Invalid end index");
176
+ let a = this.startIndex + e;
177
+ a >= this.size && (a -= this.size);
178
+ let i = s !== void 0 ? this.startIndex + s : this.endIndex;
179
+ i >= this.size && (i -= this.size);
180
+ const l = s !== void 0 ? s - e : this.length - e;
181
+ return new o(this.data, this.size, a, i, l, t);
182
+ }
183
+ view() {
184
+ return new o(this.data, this.size, this.startIndex, this.endIndex, this.length);
185
+ }
186
+ [Symbol.iterator]() {
187
+ return new o(this.data, this.size, this.startIndex, this.endIndex, this.length);
188
+ }
189
+ }
190
+ class h {
191
+ constructor(e, s) {
192
+ n(this, "x");
193
+ n(this, "y");
194
+ this.x = Number(e.toFixed(1)), this.y = Number(s.toFixed(1));
195
+ }
196
+ add(e) {
197
+ return new h(this.x + e.x, this.y + e.y);
198
+ }
199
+ subtract(e) {
200
+ return new h(this.x - e.x, this.y - e.y);
201
+ }
202
+ multiply(e) {
203
+ return new h(this.x * e, this.y * e);
204
+ }
205
+ divide(e) {
206
+ return new h(this.x / e, this.y / e);
207
+ }
208
+ // Normalize to the device pixel ratio (zoom + HiDPI)
209
+ // This is only needed for direct pixel manipulation (i.e. canvas), not HTML, CSS, or SVG
210
+ normalize() {
211
+ return this.multiply(window.devicePixelRatio);
212
+ }
213
+ static vectorWidth(e) {
214
+ return Math.abs(e.end.x - e.start.x);
215
+ }
216
+ static vectorHeight(e) {
217
+ return Math.abs(e.end.y - e.start.y);
218
+ }
219
+ static vectorLength(e) {
220
+ return Math.sqrt(h.vectorHeight(e) ** 2 + h.vectorWidth(e) ** 2);
221
+ }
222
+ distanceFrom(e) {
223
+ return Math.abs(
224
+ (e.end.y - e.start.y) * this.x - (e.end.x - e.start.x) * this.y + e.end.x * e.start.y - e.end.y * e.start.x
225
+ ) / h.vectorLength(e);
226
+ }
227
+ isInsideOf(e) {
228
+ const s = Math.min(e.start.x, e.end.x), t = Math.min(e.start.y, e.end.y), a = Math.max(e.start.x, e.end.x), i = Math.max(e.start.y, e.end.y);
229
+ return s <= this.x && this.x <= a && t <= this.y && this.y <= i;
230
+ }
231
+ }
232
+ const x = (r, e = 2, s = !1) => {
233
+ let t = r.toString(16).toUpperCase();
234
+ for (; t.length < e; )
235
+ t = `0${t}`;
236
+ return s ? `0x${t}` : t;
237
+ }, p = (r, e = 3) => {
238
+ let s = r.toString();
239
+ for (; s.length < e; )
240
+ s = `0${s}`;
241
+ return s;
242
+ }, F = (r) => {
243
+ try {
244
+ return new u(r.low, r.high, r.unsigned).toNumber();
245
+ } catch {
246
+ return NaN;
247
+ }
248
+ }, f = {
249
+ version: "1.0.0",
250
+ theme: "light",
251
+ language: "en",
252
+ strings: {},
253
+ showToolsPanel: !0,
254
+ useHexNumericBase: !0,
255
+ maxDataBytes: 16,
256
+ defaultProjectFolder: "",
257
+ currentProjectFile: "",
258
+ currentProjectFileName: "",
259
+ recentProjectFiles: [],
260
+ closeAppServiceAction: "prompt"
261
+ };
262
+ export {
263
+ v as AboutInformation,
264
+ fs as AccessMode,
265
+ z as ActivateLicenseRequest,
266
+ T as AddAllConnectedCanChannelsRequest,
267
+ y as AddAllConnectedLinChannelsRequest,
268
+ J as AddOrUpdateDataProcessorRequest,
269
+ L as AddOrUpdateSourceRequest,
270
+ w as AddOrUpdateTargetRequest,
271
+ E as ApiPreferences,
272
+ q as AppEvent,
273
+ M as AppEventArgs,
274
+ Is as BaseNodeProperties,
275
+ D as BusStatus,
276
+ A as CanBusParamLimits,
277
+ b as CanBusParams,
278
+ Cs as CanBusSpeed,
279
+ G as CanBusSpeedInfo,
280
+ P as CanChannelCap,
281
+ B as CanChannelCapacity,
282
+ Ns as CanChannelConfiguration,
283
+ k as CanFDBusSpeedCombination,
284
+ U as CanFDBusSpeedInfo,
285
+ Rs as CanFrameFlag,
286
+ Os as CanFrameFlags,
287
+ vs as CanMessageFilterSettings,
288
+ zs as CanMode,
289
+ j as Channel,
290
+ Ts as ChannelSettings,
291
+ H as ClearLinMessageRequest,
292
+ V as ConnectNodesRequest,
293
+ m as DataBuffer,
294
+ o as DataBufferView,
295
+ W as DataProcessingStatus,
296
+ ys as DataProcessorNodeProperties,
297
+ Js as DatabasesSettings,
298
+ Ls as DecimalChar,
299
+ $ as Device,
300
+ X as DeviceEvent,
301
+ Y as DeviceEventArgs,
302
+ K as Devices,
303
+ Q as DisconnectNodesRequest,
304
+ Z as Empty,
305
+ _ as ErrorStatus,
306
+ ws as FileConflictAction,
307
+ Es as Frame,
308
+ qs as FrameDefinition,
309
+ Ms as FrameDefinitions,
310
+ Ds as FramePropertyValue,
311
+ As as FrameReceivedTrigger,
312
+ bs as Frame_PropertiesEntry,
313
+ Gs as Frames,
314
+ ee as GetCanChannelBusSpeedsRequest,
315
+ se as GetCanChannelBusSpeedsResponse,
316
+ te as GetCanFdBusSpeedsRequest,
317
+ ae as GetCanFdBusSpeedsResponse,
318
+ ie as GetChannelsFromLogFileRequest,
319
+ ne as GetChannelsFromLogFileResponse,
320
+ re as GetClassicCanBusSpeedsRequest,
321
+ oe as GetClassicCanBusSpeedsResponse,
322
+ he as GetDataProcessorResponse,
323
+ le as GetDevicesRequest,
324
+ de as GetDevicesResponse,
325
+ ge as GetFrameDefinitionsFromDatabaseFilesRequest,
326
+ ue as GetLicensesResponse,
327
+ Se as GetLogFileFormatsRequest,
328
+ ce as GetLogFileFormatsResponse,
329
+ me as GetLogLevelResponse,
330
+ xe as GetScheduleTablesFromDatabaseFilesRequest,
331
+ pe as GetScheduleTablesFromDatabaseFilesResponse,
332
+ Fe as GetServiceExtensionInfoRequest,
333
+ fe as GetServiceExtensionInfoResponse,
334
+ Ie as GetSignalDataFromMessageDataRequest,
335
+ Ce as GetSignalDataFromMessageDataResponse,
336
+ Ne as GetSourceResponse,
337
+ Re as GetTargetResponse,
338
+ Oe as IdentifierRequest,
339
+ ve as IdentifiersRequest,
340
+ ze as InstallServiceExtensionRequest,
341
+ Ps as InterpreterSettings,
342
+ Bs as J1939InterpreterSettings,
343
+ Te as LicenseInformation,
344
+ ye as Licenses,
345
+ ks as LinChannelConfiguration,
346
+ Us as LinFrameFlag,
347
+ js as LinFrameFlags,
348
+ Hs as LogFileFormat,
349
+ Je as LogLevel,
350
+ Le as LogMessage,
351
+ we as LogMessages,
352
+ Vs as LogReplaySettings,
353
+ Ws as LogReplaySettings_ChannelIdentifiersEntry,
354
+ Ee as LogReplayState,
355
+ qe as LogReplayStatus,
356
+ Me as MeasurementEvent,
357
+ De as MeasurementEventArgs,
358
+ $s as MeasurementSetup,
359
+ Xs as MessageLoggerSettings,
360
+ Ae as MessageLoggerState,
361
+ be as MessageLoggerStatus,
362
+ Ge as NodeStatus,
363
+ Pe as NodeStatuses,
364
+ Be as OnlineStatus,
365
+ Ys as PeriodicTransmissionSettings,
366
+ h as Point,
367
+ ke as Protocols,
368
+ Ue as RequestLinMessageRequest,
369
+ Ks as ScheduleTable,
370
+ Qs as ScheduleTableEntry,
371
+ je as SendLinWakeupFrameRequest,
372
+ He as SendMessageRequest,
373
+ Zs as Separator,
374
+ _s as ServiceExtensionSettings,
375
+ Ve as SetLogLevelRequest,
376
+ We as SetMeasurementSetupRequest,
377
+ $e as SetSignalDataToMessageDataRequest,
378
+ Xe as SetSignalDataToMessageDataResponse,
379
+ et as SignalDefinition,
380
+ st as SignalDefinition_EnumValuesEntry,
381
+ tt as SignalDefinitions,
382
+ at as SignalEncoding,
383
+ it as SignalType,
384
+ nt as SignalValue,
385
+ rt as SignalValueTrigger,
386
+ ot as SignalValueTriggerOperator,
387
+ ht as SourceNodeProperties,
388
+ Ye as StartPeriodicTransmissionRequest,
389
+ Ke as StartPeriodicTransmissionResponse,
390
+ Qe as StatusLevel,
391
+ lt as TargetNodeProperties,
392
+ dt as TimeReference,
393
+ gt as TriggerOperator,
394
+ ut as TriggerSettings,
395
+ Ze as UninstallServiceExtensionRequest,
396
+ _e as UpdateLinMessageRequest,
397
+ St as WriteFrame,
398
+ ct as accessModeFromJSON,
399
+ mt as accessModeToJSON,
400
+ es as appEventFromJSON,
401
+ ss as appEventToJSON,
402
+ ts as canChannelCapFromJSON,
403
+ as as canChannelCapToJSON,
404
+ xt as canFrameFlagFromJSON,
405
+ pt as canFrameFlagToJSON,
406
+ Ft as canModeFromJSON,
407
+ ft as canModeToJSON,
408
+ N as createElectronApiFake,
409
+ It as decimalCharFromJSON,
410
+ Ct as decimalCharToJSON,
411
+ p as decimalToFixed,
412
+ x as decimalToHex,
413
+ f as defaultUserSettings,
414
+ is as deviceEventFromJSON,
415
+ ns as deviceEventToJSON,
416
+ R as electronApiFake,
417
+ Nt as fileConflictActionFromJSON,
418
+ Rt as fileConflictActionToJSON,
419
+ Ot as linFrameFlagFromJSON,
420
+ vt as linFrameFlagToJSON,
421
+ zt as logFileFormatFromJSON,
422
+ Tt as logFileFormatToJSON,
423
+ rs as logLevelFromJSON,
424
+ os as logLevelToJSON,
425
+ hs as logReplayStateFromJSON,
426
+ ls as logReplayStateToJSON,
427
+ F as longToNumber,
428
+ ds as measurementEventFromJSON,
429
+ gs as measurementEventToJSON,
430
+ us as messageLoggerStateFromJSON,
431
+ Ss as messageLoggerStateToJSON,
432
+ cs as protocolsFromJSON,
433
+ ms as protocolsToJSON,
434
+ yt as separatorFromJSON,
435
+ Jt as separatorToJSON,
436
+ Lt as signalEncodingFromJSON,
437
+ wt as signalEncodingToJSON,
438
+ Et as signalTypeFromJSON,
439
+ qt as signalTypeToJSON,
440
+ Mt as signalValueTriggerOperatorFromJSON,
441
+ Dt as signalValueTriggerOperatorToJSON,
442
+ xs as statusLevelFromJSON,
443
+ ps as statusLevelToJSON,
444
+ At as timeReferenceFromJSON,
445
+ bt as timeReferenceToJSON,
446
+ Gt as triggerOperatorFromJSON,
447
+ Pt as triggerOperatorToJSON
448
+ };
@@ -0,0 +1,208 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import Long from "long";
3
+ import { ApiPreferences } from "./common_params";
4
+ /** Possible log levels. */
5
+ export declare enum LogLevel {
6
+ /**
7
+ * LOG_LEVEL_TRACE - Logs that contain the most detailed messages. These messages may contain sensitive application data.
8
+ * These messages are disabled by default and should never be enabled in a production environment.
9
+ */
10
+ LOG_LEVEL_TRACE = 0,
11
+ /**
12
+ * LOG_LEVEL_DEBUG - Logs that are used for interactive investigation during development. These logs should primarily
13
+ * contain information useful for debugging and have no long-term value.
14
+ */
15
+ LOG_LEVEL_DEBUG = 1,
16
+ /** LOG_LEVEL_INFORMATION - Logs that track the general flow of the application. These logs should have long-term value. */
17
+ LOG_LEVEL_INFORMATION = 2,
18
+ /**
19
+ * LOG_LEVEL_WARNING - Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise
20
+ * cause the application execution to stop.
21
+ */
22
+ LOG_LEVEL_WARNING = 3,
23
+ /**
24
+ * LOG_LEVEL_ERROR - Logs that highlight when the current flow of execution is stopped due to a failure. These should
25
+ * indicate a failure in the current activity, not an application-wide failure.
26
+ */
27
+ LOG_LEVEL_ERROR = 4,
28
+ /**
29
+ * LOG_LEVEL_CRITICAL - Logs that describe an unrecoverable application or system crash, or a catastrophic failure that
30
+ * requires immediate attention.
31
+ */
32
+ LOG_LEVEL_CRITICAL = 5,
33
+ /** LOG_LEVEL_NONE - Not used for writing log messages. Specifies that a logging category should not write any messages. */
34
+ LOG_LEVEL_NONE = 6,
35
+ UNRECOGNIZED = -1
36
+ }
37
+ export declare function logLevelFromJSON(object: any): LogLevel;
38
+ export declare function logLevelToJSON(object: LogLevel): string;
39
+ /** Possible application events. */
40
+ export declare enum AppEvent {
41
+ APP_EVENT_UNSPECIFIED = 0,
42
+ /** APP_EVENT_LICENSE_INFO_CHANGED - Raised when the license information has changed. */
43
+ APP_EVENT_LICENSE_INFO_CHANGED = 1,
44
+ UNRECOGNIZED = -1
45
+ }
46
+ export declare function appEventFromJSON(object: any): AppEvent;
47
+ export declare function appEventToJSON(object: AppEvent): string;
48
+ /** A request message for setting log level. */
49
+ export interface SetLogLevelRequest {
50
+ /** API preferences. */
51
+ preferences: ApiPreferences | undefined;
52
+ /** The new log level. */
53
+ logLevel: LogLevel;
54
+ }
55
+ /** A response message for receiving the current log level. */
56
+ export interface GetLogLevelResponse {
57
+ /** The current log level. */
58
+ logLevel: LogLevel;
59
+ }
60
+ /** A log message. */
61
+ export interface LogMessage {
62
+ /** Time of the message. */
63
+ time: Long;
64
+ /** The log level. */
65
+ logLevel: LogLevel;
66
+ /** The event identifier. */
67
+ eventId: number;
68
+ /** The category name. */
69
+ categoryName: string;
70
+ /** The message. */
71
+ message: string;
72
+ }
73
+ /** A collection of log messages. */
74
+ export interface LogMessages {
75
+ /** The log message items. */
76
+ items: LogMessage[];
77
+ }
78
+ /** License information. */
79
+ export interface LicenseInformation {
80
+ /** The license key. */
81
+ licenseKey: string;
82
+ /** The product identifier. */
83
+ productId: string;
84
+ /** The product name. */
85
+ productName: string;
86
+ /** The product version. */
87
+ productVersion: string;
88
+ /** The instance identifier. */
89
+ instanceId: string;
90
+ /** The instance name. */
91
+ instanceName: string;
92
+ /** Expiration date as unix time is in seconds. */
93
+ expirationDate: Long;
94
+ /** A flag indicating if the license is valid. */
95
+ isValid: boolean;
96
+ }
97
+ /** A collection of licenses. */
98
+ export interface Licenses {
99
+ /** The license information items. */
100
+ items: LicenseInformation[];
101
+ }
102
+ /** Event arguments. */
103
+ export interface AppEventArgs {
104
+ /** The application event type. */
105
+ eventType: AppEvent;
106
+ /** A collection of registered licenses. */
107
+ licenses?: Licenses | undefined;
108
+ }
109
+ /** Request message for installing a service extension. */
110
+ export interface InstallServiceExtensionRequest {
111
+ /** API preferences. */
112
+ preferences: ApiPreferences | undefined;
113
+ /** Full path to the extension WebAssembly file (.wasm file). */
114
+ filePath: string;
115
+ /** An optional flag that can be used if an extension should be replace/updated with a new WebAssembly file. */
116
+ replaceExisting?: boolean | undefined;
117
+ }
118
+ /** Request message for uninstalling a service extension. */
119
+ export interface UninstallServiceExtensionRequest {
120
+ /** API preferences. */
121
+ preferences: ApiPreferences | undefined;
122
+ /** Name of the extension. */
123
+ name: string;
124
+ }
125
+ /**
126
+ * Request message for getting information about a service extension, either from a
127
+ * WebAssembly file or from an installed extension.
128
+ */
129
+ export interface GetServiceExtensionInfoRequest {
130
+ /** API preferences. */
131
+ preferences: ApiPreferences | undefined;
132
+ /**
133
+ * Full path to the extension WebAssembly file (.wasm file), or the extension name if it is
134
+ * already installed.
135
+ */
136
+ filePathOrName: string;
137
+ }
138
+ /** Response message for getting service extension information. */
139
+ export interface GetServiceExtensionInfoResponse {
140
+ /** Extension name. */
141
+ name: string;
142
+ /** Extension display name. */
143
+ displayName: string;
144
+ /** Extension description. */
145
+ description: string;
146
+ /** Extension version. */
147
+ version: string;
148
+ /** Extension author. */
149
+ author: string;
150
+ /** Extension default configuration. */
151
+ defaultConfig: string;
152
+ }
153
+ /** Response message for getting licenses. */
154
+ export interface GetLicensesResponse {
155
+ /** A collection of registered licenses. */
156
+ licenses: LicenseInformation[];
157
+ }
158
+ /** Request message for activating a license. */
159
+ export interface ActivateLicenseRequest {
160
+ /** API preferences. */
161
+ preferences: ApiPreferences | undefined;
162
+ /** The license key. */
163
+ licenseKey: string;
164
+ /** Optional product_id, used if activating anything but the base CanKing product. */
165
+ productId: string;
166
+ }
167
+ /** Message for getting about information. */
168
+ export interface AboutInformation {
169
+ /** The API version used by the service. */
170
+ apiVersion: string;
171
+ /** The service version running */
172
+ serviceVersion: string;
173
+ /** The Canlib version used */
174
+ canlibVersion: string;
175
+ }
176
+ export declare const SetLogLevelRequest: MessageFns<SetLogLevelRequest>;
177
+ export declare const GetLogLevelResponse: MessageFns<GetLogLevelResponse>;
178
+ export declare const LogMessage: MessageFns<LogMessage>;
179
+ export declare const LogMessages: MessageFns<LogMessages>;
180
+ export declare const LicenseInformation: MessageFns<LicenseInformation>;
181
+ export declare const Licenses: MessageFns<Licenses>;
182
+ export declare const AppEventArgs: MessageFns<AppEventArgs>;
183
+ export declare const InstallServiceExtensionRequest: MessageFns<InstallServiceExtensionRequest>;
184
+ export declare const UninstallServiceExtensionRequest: MessageFns<UninstallServiceExtensionRequest>;
185
+ export declare const GetServiceExtensionInfoRequest: MessageFns<GetServiceExtensionInfoRequest>;
186
+ export declare const GetServiceExtensionInfoResponse: MessageFns<GetServiceExtensionInfoResponse>;
187
+ export declare const GetLicensesResponse: MessageFns<GetLicensesResponse>;
188
+ export declare const ActivateLicenseRequest: MessageFns<ActivateLicenseRequest>;
189
+ export declare const AboutInformation: MessageFns<AboutInformation>;
190
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
191
+ type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
192
+ [K in keyof T]?: DeepPartial<T[K]>;
193
+ } : Partial<T>;
194
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
195
+ type Exact<P, I extends P> = P extends Builtin ? P : P & {
196
+ [K in keyof P]: Exact<P[K], I[K]>;
197
+ } & {
198
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
199
+ };
200
+ interface MessageFns<T> {
201
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
202
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
203
+ fromJSON(object: any): T;
204
+ toJSON(message: T): unknown;
205
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
206
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
207
+ }
208
+ export {};