@kvaser/canking-api 7.2.0 → 7.3.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 (862) hide show
  1. package/dist/ElectronAPIFake.js +1 -1
  2. package/dist/ElectronAPIFake.mjs +11 -10
  3. package/dist/controls/CanChannelSelectControl.d.ts +4 -4
  4. package/dist/controls/CanIdentifierControl.d.ts +78 -54
  5. package/dist/controls/CanKingDataProvider.d.ts +31 -2
  6. package/dist/controls/CheckboxControl.d.ts +2 -2
  7. package/dist/controls/ColumnItemControl.d.ts +1 -1
  8. package/dist/controls/ContextMenu.d.ts +2 -2
  9. package/dist/controls/DropdownButton.d.ts +3 -3
  10. package/dist/controls/DropdownPanel.d.ts +1 -1
  11. package/dist/controls/FormControlRow.d.ts +1 -1
  12. package/dist/controls/InlineEditor.d.ts +2 -2
  13. package/dist/controls/LinChannelSelectControl.d.ts +3 -3
  14. package/dist/controls/LinIdentifierControl.d.ts +76 -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/SelectSignalDialog.d.ts +2 -1
  22. package/dist/controls/SelectSignalsControl.d.ts +11 -0
  23. package/dist/controls/TableControl.d.ts +1 -1
  24. package/dist/controls/TextControl.d.ts +16 -6
  25. package/dist/controls/ToolbarControl.d.ts +2 -2
  26. package/dist/controls/ValidateableTextControl.d.ts +6 -6
  27. package/dist/controls/index.d.ts +2 -2
  28. package/dist/controls.js +1 -1
  29. package/dist/controls.mjs +2012 -1855
  30. package/dist/grpc.js +1 -1
  31. package/dist/grpc.mjs +125 -111
  32. package/dist/hooks/index.d.ts +37 -1
  33. package/dist/hooks.js +1 -1
  34. package/dist/hooks.mjs +26 -20
  35. package/dist/icons/index.d.ts +3 -0
  36. package/dist/icons.js +1 -1
  37. package/dist/icons.mjs +29 -4
  38. package/dist/index.js +1 -1
  39. package/dist/index.mjs +498 -313
  40. package/dist/measurement_settings.js +1 -1
  41. package/dist/measurement_settings.mjs +799 -699
  42. package/dist/models/DataBuffer.d.ts +18 -15
  43. package/dist/models/ElectronAPIFake.d.ts +2 -1
  44. package/dist/models.js +1 -1
  45. package/dist/models.mjs +206 -200
  46. package/dist/protos/app_params.d.ts +13 -0
  47. package/dist/protos/frame_params.d.ts +17 -1
  48. package/dist/protos/measurement_params.d.ts +17 -1
  49. package/dist/protos/measurement_service.d.ts +36 -8
  50. package/dist/protos/measurement_settings.d.ts +1 -0
  51. package/dist/protos/signal_params.d.ts +3 -3
  52. package/dist/status_params.js +1 -1
  53. package/dist/status_params.mjs +567 -410
  54. package/doc/assets/hierarchy.js +1 -1
  55. package/doc/assets/main.js +5 -5
  56. package/doc/assets/navigation.js +1 -1
  57. package/doc/assets/search.js +1 -1
  58. package/doc/assets/style.css +254 -231
  59. package/doc/enums/models.AccessMode.html +9 -9
  60. package/doc/enums/models.AppEvent.html +6 -6
  61. package/doc/enums/models.CanChannelCap.html +44 -44
  62. package/doc/enums/models.CanFrameFlag.html +27 -27
  63. package/doc/enums/models.CanMessageFilterType.html +6 -6
  64. package/doc/enums/models.CanMode.html +7 -7
  65. package/doc/enums/models.DeviceEvent.html +6 -6
  66. package/doc/enums/models.FileConflictAction.html +7 -7
  67. package/doc/enums/models.FileType.html +7 -7
  68. package/doc/enums/models.LinFrameFlag.html +12 -12
  69. package/doc/enums/models.LogFileFormat.html +46 -46
  70. package/doc/enums/models.LogLevel.html +17 -17
  71. package/doc/enums/models.LogReplayState.html +6 -6
  72. package/doc/enums/models.LoggerState.html +7 -7
  73. package/doc/enums/models.MeasurementEvent.html +12 -12
  74. package/doc/enums/models.Protocols.html +9 -9
  75. package/doc/enums/models.ServiceExtensionType.html +8 -0
  76. package/doc/enums/models.SignalEncoding.html +5 -5
  77. package/doc/enums/models.SignalType.html +12 -12
  78. package/doc/enums/models.SignalValueTriggerOperator.html +13 -13
  79. package/doc/enums/models.StatusLevel.html +7 -7
  80. package/doc/enums/models.TriggerOperator.html +6 -6
  81. package/doc/functions/controls.CanChannelSelectControl.html +2 -2
  82. package/doc/functions/controls.CanIdentifierControl.html +2 -2
  83. package/doc/functions/controls.CanIdentifierFrameControl.html +2 -2
  84. package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -2
  85. package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -2
  86. package/doc/functions/controls.CanKingDataProvider.html +5 -5
  87. package/doc/functions/controls.CheckboxControl.html +2 -2
  88. package/doc/functions/controls.ColumnItemControl.html +2 -2
  89. package/doc/functions/controls.ContextMenu.html +2 -2
  90. package/doc/functions/controls.DropdownButton.html +2 -2
  91. package/doc/functions/controls.DropdownButtonTextItems.html +2 -2
  92. package/doc/functions/controls.DropdownPanel.html +2 -2
  93. package/doc/functions/controls.FormControlRow.html +2 -2
  94. package/doc/functions/controls.InlineEditor.html +2 -2
  95. package/doc/functions/controls.LinChannelSelectControl.html +2 -2
  96. package/doc/functions/controls.LinIdentifierControl.html +2 -2
  97. package/doc/functions/controls.LinIdentifierFrameControl.html +2 -2
  98. package/doc/functions/controls.LinIdentifierGeneratorControl.html +2 -2
  99. package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +2 -2
  100. package/doc/functions/controls.NumberRangeControl.html +2 -2
  101. package/doc/functions/controls.RadioControl.html +2 -2
  102. package/doc/functions/controls.RadioGroupControl.html +2 -2
  103. package/doc/functions/controls.SectionControl.html +2 -2
  104. package/doc/functions/controls.SelectControl.html +2 -2
  105. package/doc/functions/controls.SelectMessageDialog.html +2 -2
  106. package/doc/functions/controls.SelectSignalDialog.html +2 -2
  107. package/doc/functions/controls.TableControl.html +3 -3
  108. package/doc/functions/controls.TextControl.html +2 -2
  109. package/doc/functions/controls.ToolbarControl.html +2 -2
  110. package/doc/functions/controls.ValidateableTextControl.html +2 -2
  111. package/doc/functions/controls.useColumnItem.html +3 -3
  112. package/doc/functions/controls.useColumnItems.html +3 -3
  113. package/doc/functions/controls.useMessageDatabases.html +2 -2
  114. package/doc/functions/hooks.useDevices.html +3 -3
  115. package/doc/functions/hooks.useFixedPositionModeMeasurementData.html +4 -0
  116. package/doc/functions/hooks.useIsOnline.html +3 -3
  117. package/doc/functions/hooks.useLanguage.html +3 -3
  118. package/doc/functions/hooks.useLocalizedStrings.html +3 -3
  119. package/doc/functions/hooks.useLogMessages.html +3 -3
  120. package/doc/functions/hooks.useMaxDataBytes.html +2 -2
  121. package/doc/functions/hooks.useMeasurementSetup.html +3 -3
  122. package/doc/functions/hooks.useMeasurementStatus.html +3 -3
  123. package/doc/functions/hooks.useMessageData.html +4 -0
  124. package/doc/functions/hooks.useMessageLogFileFormats.html +3 -3
  125. package/doc/functions/hooks.useNewMeasurementData.html +4 -3
  126. package/doc/functions/hooks.useNodeStatus.html +3 -3
  127. package/doc/functions/hooks.useNumericRadix.html +3 -3
  128. package/doc/functions/hooks.useOnlineStatus.html +3 -3
  129. package/doc/functions/hooks.useOverallStatusLevel.html +3 -3
  130. package/doc/functions/hooks.useProjectData.html +5 -5
  131. package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
  132. package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -3
  133. package/doc/functions/hooks.useScrollModeMeasurementData.html +4 -0
  134. package/doc/functions/hooks.useSessionData.html +5 -5
  135. package/doc/functions/hooks.useSignalData.html +4 -0
  136. package/doc/functions/hooks.useSignalLogFileFormats.html +2 -2
  137. package/doc/functions/hooks.useUserSettings.html +3 -3
  138. package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
  139. package/doc/functions/ipc.addDataProcessor.html +3 -3
  140. package/doc/functions/ipc.addSource.html +3 -3
  141. package/doc/functions/ipc.addTarget.html +3 -3
  142. package/doc/functions/ipc.clearLinMessage.html +3 -3
  143. package/doc/functions/ipc.connectNodes.html +3 -3
  144. package/doc/functions/ipc.deleteDataProcessor.html +3 -3
  145. package/doc/functions/ipc.deleteSource.html +3 -3
  146. package/doc/functions/ipc.deleteTarget.html +3 -3
  147. package/doc/functions/ipc.disableNode.html +3 -3
  148. package/doc/functions/ipc.disconnectNodes.html +3 -3
  149. package/doc/functions/ipc.enableNode.html +3 -3
  150. package/doc/functions/ipc.getFrameDefinitions.html +3 -3
  151. package/doc/functions/ipc.getLogger.html +3 -3
  152. package/doc/functions/ipc.getMessageLogFileFormats.html +3 -3
  153. package/doc/functions/ipc.getSignalLogFileFormats.html +3 -3
  154. package/doc/functions/ipc.requestLinMessage.html +3 -3
  155. package/doc/functions/ipc.sendCanMessage.html +3 -3
  156. package/doc/functions/ipc.sendMessage.html +3 -3
  157. package/doc/functions/ipc.showMessageBox.html +3 -3
  158. package/doc/functions/ipc.showQuestionBox.html +3 -3
  159. package/doc/functions/ipc.startLogReplay.html +3 -3
  160. package/doc/functions/ipc.startMeasurement.html +2 -2
  161. package/doc/functions/ipc.startPeriodicTransmission.html +3 -3
  162. package/doc/functions/ipc.stopLogReplay.html +3 -3
  163. package/doc/functions/ipc.stopMeasurement.html +2 -2
  164. package/doc/functions/ipc.stopPeriodicTransmission.html +3 -3
  165. package/doc/functions/ipc.updateDataProcessor.html +3 -3
  166. package/doc/functions/ipc.updateLinMessage.html +3 -3
  167. package/doc/functions/ipc.updatePeriodicTransmission.html +3 -3
  168. package/doc/functions/ipc.updateSource.html +3 -3
  169. package/doc/functions/ipc.updateTarget.html +3 -3
  170. package/doc/hierarchy.html +1 -1
  171. package/doc/index.html +6 -6
  172. package/doc/interfaces/controls.ButtonGroupProps.html +10 -10
  173. package/doc/interfaces/controls.ButtonProps.html +22 -22
  174. package/doc/interfaces/controls.CanChannelSelectControlProps.html +20 -20
  175. package/doc/interfaces/controls.CanIdentifierControlProps.html +45 -37
  176. package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +31 -33
  177. package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +39 -33
  178. package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +31 -25
  179. package/doc/interfaces/controls.CheckboxControlProps.html +17 -17
  180. package/doc/interfaces/controls.ContextMenuProps.html +9 -9
  181. package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -4
  182. package/doc/interfaces/controls.DropdownButtonProps.html +20 -20
  183. package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -9
  184. package/doc/interfaces/controls.DropdownPanelProps.html +20 -20
  185. package/doc/interfaces/controls.FormControlRowProps.html +8 -8
  186. package/doc/interfaces/controls.ILocalizedStrings.html +2 -3
  187. package/doc/interfaces/controls.IMessageDatabase.html +2 -4
  188. package/doc/interfaces/controls.InlineEditorProps.html +13 -13
  189. package/doc/interfaces/controls.LabelProps.html +6 -6
  190. package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -20
  191. package/doc/interfaces/controls.LinIdentifierControlProps.html +42 -35
  192. package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +31 -33
  193. package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -31
  194. package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +31 -25
  195. package/doc/interfaces/controls.NumberRangeControlProps.html +38 -38
  196. package/doc/interfaces/controls.RadioControlProps.html +14 -14
  197. package/doc/interfaces/controls.RadioGroupControlProps.html +9 -9
  198. package/doc/interfaces/controls.SectionControlProps.html +17 -17
  199. package/doc/interfaces/controls.SelectControlProps.html +31 -31
  200. package/doc/interfaces/controls.SelectMessageDialogProps.html +2 -8
  201. package/doc/interfaces/controls.SelectSignalDialogProps.html +2 -12
  202. package/doc/interfaces/controls.TableColumn.html +12 -12
  203. package/doc/interfaces/controls.TableControlProps.html +30 -30
  204. package/doc/interfaces/controls.TextControlProps.html +41 -41
  205. package/doc/interfaces/controls.ToggleButtonGroupProps.html +17 -17
  206. package/doc/interfaces/controls.ToggleButtonProps.html +14 -14
  207. package/doc/interfaces/controls.ToolbarControlProps.html +18 -18
  208. package/doc/interfaces/controls.ValidateableTextControlProps.html +54 -54
  209. package/doc/interfaces/controls.toolbarItem.html +12 -12
  210. package/doc/interfaces/hooks.ISignalData.html +2 -0
  211. package/doc/interfaces/ipc.ILogger.html +2 -8
  212. package/doc/interfaces/models.AboutInformation.html +8 -8
  213. package/doc/interfaces/models.ActivateLicenseRequest.html +8 -8
  214. package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +2 -4
  215. package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +2 -4
  216. package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +8 -10
  217. package/doc/interfaces/models.AddOrUpdateSourceRequest.html +4 -6
  218. package/doc/interfaces/models.AddOrUpdateTargetRequest.html +4 -6
  219. package/doc/interfaces/models.ApiPreferences.html +10 -10
  220. package/doc/interfaces/models.AppEventArgs.html +6 -6
  221. package/doc/interfaces/models.BaseNodeProperties.html +2 -8
  222. package/doc/interfaces/models.BusStatus.html +2 -17
  223. package/doc/interfaces/models.CanBusParamLimits.html +2 -7
  224. package/doc/interfaces/models.CanBusParams.html +2 -8
  225. package/doc/interfaces/models.CanBusSpeedInfo.html +14 -14
  226. package/doc/interfaces/models.CanChannelCapacity.html +4 -7
  227. package/doc/interfaces/models.CanChannelConfiguration.html +16 -16
  228. package/doc/interfaces/models.CanFDBusSpeedCombination.html +2 -4
  229. package/doc/interfaces/models.CanFDBusSpeedInfo.html +10 -10
  230. package/doc/interfaces/models.CanFrameFlags.html +2 -3
  231. package/doc/interfaces/models.CanMessageFilterSettings.html +2 -5
  232. package/doc/interfaces/models.Channel.html +2 -7
  233. package/doc/interfaces/models.ChannelSettings.html +20 -20
  234. package/doc/interfaces/models.ClearLinMessageRequest.html +6 -7
  235. package/doc/interfaces/models.ConnectNodesRequest.html +2 -5
  236. package/doc/interfaces/models.DataProcessingStatus.html +2 -6
  237. package/doc/interfaces/models.DataProcessorNodeProperties.html +2 -8
  238. package/doc/interfaces/models.DatabaseFiles.html +6 -6
  239. package/doc/interfaces/models.DatabasesSettings.html +2 -3
  240. package/doc/interfaces/models.Device.html +2 -9
  241. package/doc/interfaces/models.DeviceEventArgs.html +2 -4
  242. package/doc/interfaces/models.DisconnectNodesRequest.html +2 -5
  243. package/doc/interfaces/models.Empty.html +2 -2
  244. package/doc/interfaces/models.ErrorStatus.html +4 -4
  245. package/doc/interfaces/models.FixedPosFrameIdentifier.html +14 -0
  246. package/doc/interfaces/models.Frame.html +30 -30
  247. package/doc/interfaces/models.FrameDefinition.html +14 -14
  248. package/doc/interfaces/models.FramePropertyValue.html +2 -4
  249. package/doc/interfaces/models.FrameReceivedTrigger.html +6 -6
  250. package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +2 -7
  251. package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +6 -6
  252. package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +2 -6
  253. package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +4 -4
  254. package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +4 -5
  255. package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +4 -4
  256. package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +2 -5
  257. package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +4 -4
  258. package/doc/interfaces/models.GetDataFramesBeforeTimestampRequest.html +6 -0
  259. package/doc/interfaces/models.GetDataProcessorResponse.html +2 -3
  260. package/doc/interfaces/models.GetDevicesRequest.html +2 -4
  261. package/doc/interfaces/models.GetDevicesResponse.html +2 -3
  262. package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +4 -5
  263. package/doc/interfaces/models.GetLicensesResponse.html +4 -4
  264. package/doc/interfaces/models.GetLogFileFormatsRequest.html +8 -9
  265. package/doc/interfaces/models.GetLogFileFormatsResponse.html +10 -10
  266. package/doc/interfaces/models.GetLogLevelResponse.html +4 -4
  267. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +4 -5
  268. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +4 -4
  269. package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +6 -6
  270. package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +16 -14
  271. package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +6 -7
  272. package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +4 -4
  273. package/doc/interfaces/models.GetSourceResponse.html +2 -3
  274. package/doc/interfaces/models.GetTargetResponse.html +2 -3
  275. package/doc/interfaces/models.ILogFileFormat.html +2 -6
  276. package/doc/interfaces/models.IProject.html +2 -6
  277. package/doc/interfaces/models.IUserSettings.html +2 -17
  278. package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -4
  279. package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -5
  280. package/doc/interfaces/models.IWorkspaceData.html +2 -5
  281. package/doc/interfaces/models.IWorkspacePaneData.html +2 -5
  282. package/doc/interfaces/models.IdentifierRequest.html +2 -4
  283. package/doc/interfaces/models.IdentifiersRequest.html +2 -4
  284. package/doc/interfaces/models.InstallServiceExtensionRequest.html +8 -8
  285. package/doc/interfaces/models.InterpreterSettings.html +4 -4
  286. package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
  287. package/doc/interfaces/models.LicenseInformation.html +18 -18
  288. package/doc/interfaces/models.Licenses.html +4 -4
  289. package/doc/interfaces/models.LinChannelConfiguration.html +14 -14
  290. package/doc/interfaces/models.LinFrameFlags.html +2 -3
  291. package/doc/interfaces/models.LogMessage.html +12 -12
  292. package/doc/interfaces/models.LogMessages.html +4 -4
  293. package/doc/interfaces/models.LogReplaySettings.html +26 -26
  294. package/doc/interfaces/models.LogReplayStatus.html +2 -3
  295. package/doc/interfaces/models.LoggerStatus.html +2 -3
  296. package/doc/interfaces/models.MeasurementEventArgs.html +2 -6
  297. package/doc/interfaces/models.MeasurementSetup.html +2 -6
  298. package/doc/interfaces/models.MessageLoggerSettings.html +44 -44
  299. package/doc/interfaces/models.NodeStatus.html +18 -18
  300. package/doc/interfaces/models.NodeStatuses.html +2 -3
  301. package/doc/interfaces/models.OnlineStatus.html +2 -3
  302. package/doc/interfaces/models.PeriodicTransmissionSettings.html +36 -36
  303. package/doc/interfaces/models.RequestLinMessageRequest.html +6 -7
  304. package/doc/interfaces/models.ScheduleTable.html +8 -8
  305. package/doc/interfaces/models.ScheduleTableEntry.html +6 -6
  306. package/doc/interfaces/models.SendLinWakeupFrameRequest.html +8 -9
  307. package/doc/interfaces/models.SendMessageRequest.html +2 -5
  308. package/doc/interfaces/models.ServiceExtensionSettings.html +2 -4
  309. package/doc/interfaces/models.SetLogLevelRequest.html +6 -6
  310. package/doc/interfaces/models.SetMeasurementSetupRequest.html +2 -4
  311. package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +8 -9
  312. package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +6 -6
  313. package/doc/interfaces/models.SignalDefinition.html +2 -18
  314. package/doc/interfaces/models.SignalFilterSettings.html +4 -4
  315. package/doc/interfaces/models.SignalLoggerSettings.html +56 -56
  316. package/doc/interfaces/models.SignalValue.html +2 -7
  317. package/doc/interfaces/models.SignalValueTrigger.html +16 -16
  318. package/doc/interfaces/models.SourceNodeProperties.html +2 -7
  319. package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +4 -5
  320. package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +2 -3
  321. package/doc/interfaces/models.SubscribeForDataRequest.html +4 -0
  322. package/doc/interfaces/models.TargetNodeProperties.html +2 -6
  323. package/doc/interfaces/models.TriggerSettings.html +8 -8
  324. package/doc/interfaces/models.UninstallServiceExtensionRequest.html +6 -6
  325. package/doc/interfaces/models.UpdateLinMessageRequest.html +6 -7
  326. package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +6 -7
  327. package/doc/interfaces/models.WriteFrame.html +10 -10
  328. package/doc/modules/controls.html +3 -3
  329. package/doc/modules/hooks.html +3 -3
  330. package/doc/modules/icons.html +2 -2
  331. package/doc/modules/ipc.html +2 -2
  332. package/doc/modules/models.html +2 -2
  333. package/doc/modules.html +1 -1
  334. package/doc/types/controls.ContextMenuOption.html +10 -6
  335. package/doc/types/controls.SelectOption.html +6 -4
  336. package/doc/types/controls.StringsMap.html +2 -2
  337. package/doc/types/controls.canIdentifierGeneratorType.html +2 -2
  338. package/doc/types/controls.canIdentifierType.html +2 -2
  339. package/doc/types/controls.linIdentifierGeneratorType.html +2 -2
  340. package/doc/variables/controls.FillBox.html +3 -0
  341. package/doc/variables/controls.OneLineButton.html +2 -0
  342. package/doc/variables/controls.SizedBox.html +3 -0
  343. package/doc/variables/controls.TabsPanel.html +2 -0
  344. package/doc/variables/models.defaultUserSettings.html +2 -2
  345. package/doc_md/README.md +189 -0
  346. package/doc_md/assets/favicon.png +0 -0
  347. package/doc_md/controls/README.md +156 -0
  348. package/doc_md/controls/functions/CanChannelSelectControl.md +25 -0
  349. package/doc_md/controls/functions/CanIdentifierControl.md +25 -0
  350. package/doc_md/controls/functions/CanIdentifierFrameControl.md +25 -0
  351. package/doc_md/controls/functions/CanIdentifierGeneratorControl.md +25 -0
  352. package/doc_md/controls/functions/CanIdentifierGeneratorSettingsControl.md +26 -0
  353. package/doc_md/controls/functions/CanKingDataProvider.md +47 -0
  354. package/doc_md/controls/functions/CheckboxControl.md +25 -0
  355. package/doc_md/controls/functions/ColumnItemControl.md +21 -0
  356. package/doc_md/controls/functions/ContextMenu.md +25 -0
  357. package/doc_md/controls/functions/DropdownButton.md +25 -0
  358. package/doc_md/controls/functions/DropdownButtonTextItems.md +25 -0
  359. package/doc_md/controls/functions/DropdownPanel.md +25 -0
  360. package/doc_md/controls/functions/FormControlRow.md +25 -0
  361. package/doc_md/controls/functions/InlineEditor.md +25 -0
  362. package/doc_md/controls/functions/LinChannelSelectControl.md +25 -0
  363. package/doc_md/controls/functions/LinIdentifierControl.md +25 -0
  364. package/doc_md/controls/functions/LinIdentifierFrameControl.md +25 -0
  365. package/doc_md/controls/functions/LinIdentifierGeneratorControl.md +25 -0
  366. package/doc_md/controls/functions/LinIdentifierGeneratorSettingsControl.md +26 -0
  367. package/doc_md/controls/functions/NumberRangeControl.md +25 -0
  368. package/doc_md/controls/functions/RadioControl.md +25 -0
  369. package/doc_md/controls/functions/RadioGroupControl.md +25 -0
  370. package/doc_md/controls/functions/SectionControl.md +25 -0
  371. package/doc_md/controls/functions/SelectControl.md +25 -0
  372. package/doc_md/controls/functions/SelectMessageDialog.md +21 -0
  373. package/doc_md/controls/functions/SelectSignalDialog.md +21 -0
  374. package/doc_md/controls/functions/TableControl.md +31 -0
  375. package/doc_md/controls/functions/TextControl.md +25 -0
  376. package/doc_md/controls/functions/ToolbarControl.md +25 -0
  377. package/doc_md/controls/functions/ValidateableTextControl.md +25 -0
  378. package/doc_md/controls/functions/useColumnItem.md +17 -0
  379. package/doc_md/controls/functions/useColumnItems.md +25 -0
  380. package/doc_md/controls/functions/useMessageDatabases.md +21 -0
  381. package/doc_md/controls/interfaces/ButtonGroupProps.md +41 -0
  382. package/doc_md/controls/interfaces/ButtonProps.md +93 -0
  383. package/doc_md/controls/interfaces/CanChannelSelectControlProps.md +103 -0
  384. package/doc_md/controls/interfaces/CanIdentifierControlProps.md +214 -0
  385. package/doc_md/controls/interfaces/CanIdentifierFrameControlProps.md +143 -0
  386. package/doc_md/controls/interfaces/CanIdentifierGeneratorControlProps.md +210 -0
  387. package/doc_md/controls/interfaces/CanIdentifierGeneratorSettingsControlProps.md +153 -0
  388. package/doc_md/controls/interfaces/CheckboxControlProps.md +77 -0
  389. package/doc_md/controls/interfaces/ContextMenuProps.md +45 -0
  390. package/doc_md/controls/interfaces/DropdownButtonChildrenProps.md +25 -0
  391. package/doc_md/controls/interfaces/DropdownButtonProps.md +81 -0
  392. package/doc_md/controls/interfaces/DropdownButtonTextItemsProps.md +70 -0
  393. package/doc_md/controls/interfaces/DropdownPanelProps.md +81 -0
  394. package/doc_md/controls/interfaces/FormControlRowProps.md +33 -0
  395. package/doc_md/controls/interfaces/ILocalizedStrings.md +9 -0
  396. package/doc_md/controls/interfaces/IMessageDatabase.md +9 -0
  397. package/doc_md/controls/interfaces/InlineEditorProps.md +61 -0
  398. package/doc_md/controls/interfaces/LabelProps.md +25 -0
  399. package/doc_md/controls/interfaces/LinChannelSelectControlProps.md +97 -0
  400. package/doc_md/controls/interfaces/LinIdentifierControlProps.md +194 -0
  401. package/doc_md/controls/interfaces/LinIdentifierFrameControlProps.md +143 -0
  402. package/doc_md/controls/interfaces/LinIdentifierGeneratorControlProps.md +198 -0
  403. package/doc_md/controls/interfaces/LinIdentifierGeneratorSettingsControlProps.md +153 -0
  404. package/doc_md/controls/interfaces/NumberRangeControlProps.md +253 -0
  405. package/doc_md/controls/interfaces/RadioControlProps.md +57 -0
  406. package/doc_md/controls/interfaces/RadioGroupControlProps.md +45 -0
  407. package/doc_md/controls/interfaces/SectionControlProps.md +77 -0
  408. package/doc_md/controls/interfaces/SelectControlProps.md +134 -0
  409. package/doc_md/controls/interfaces/SelectMessageDialogProps.md +9 -0
  410. package/doc_md/controls/interfaces/SelectSignalDialogProps.md +9 -0
  411. package/doc_md/controls/interfaces/TableColumn.md +65 -0
  412. package/doc_md/controls/interfaces/TableControlProps.md +157 -0
  413. package/doc_md/controls/interfaces/TextControlProps.md +177 -0
  414. package/doc_md/controls/interfaces/ToggleButtonGroupProps.md +77 -0
  415. package/doc_md/controls/interfaces/ToggleButtonProps.md +57 -0
  416. package/doc_md/controls/interfaces/ToolbarControlProps.md +73 -0
  417. package/doc_md/controls/interfaces/ValidateableTextControlProps.md +269 -0
  418. package/doc_md/controls/interfaces/toolbarItem.md +49 -0
  419. package/doc_md/controls/type-aliases/ContextMenuOption.md +43 -0
  420. package/doc_md/controls/type-aliases/SelectOption.md +27 -0
  421. package/doc_md/controls/type-aliases/StringsMap.md +15 -0
  422. package/doc_md/controls/type-aliases/canIdentifierGeneratorType.md +11 -0
  423. package/doc_md/controls/type-aliases/canIdentifierType.md +11 -0
  424. package/doc_md/controls/type-aliases/linIdentifierGeneratorType.md +11 -0
  425. package/doc_md/controls/variables/FillBox.md +12 -0
  426. package/doc_md/controls/variables/OneLineButton.md +11 -0
  427. package/doc_md/controls/variables/SizedBox.md +12 -0
  428. package/doc_md/controls/variables/TabsPanel.md +11 -0
  429. package/doc_md/hooks/README.md +53 -0
  430. package/doc_md/hooks/functions/useDevices.md +17 -0
  431. package/doc_md/hooks/functions/useFixedPositionModeMeasurementData.md +25 -0
  432. package/doc_md/hooks/functions/useIsOnline.md +17 -0
  433. package/doc_md/hooks/functions/useLanguage.md +17 -0
  434. package/doc_md/hooks/functions/useLocalizedStrings.md +17 -0
  435. package/doc_md/hooks/functions/useLogMessages.md +17 -0
  436. package/doc_md/hooks/functions/useMaxDataBytes.md +15 -0
  437. package/doc_md/hooks/functions/useMeasurementSetup.md +17 -0
  438. package/doc_md/hooks/functions/useMeasurementStatus.md +17 -0
  439. package/doc_md/hooks/functions/useMessageData.md +25 -0
  440. package/doc_md/hooks/functions/useMessageLogFileFormats.md +23 -0
  441. package/doc_md/hooks/functions/useNewMeasurementData.md +35 -0
  442. package/doc_md/hooks/functions/useNodeStatus.md +23 -0
  443. package/doc_md/hooks/functions/useNumericRadix.md +17 -0
  444. package/doc_md/hooks/functions/useOnlineStatus.md +17 -0
  445. package/doc_md/hooks/functions/useOverallStatusLevel.md +17 -0
  446. package/doc_md/hooks/functions/useProjectData.md +49 -0
  447. package/doc_md/hooks/functions/useRecentProjectFiles.md +15 -0
  448. package/doc_md/hooks/functions/useRunningPeriodicTransmissions.md +17 -0
  449. package/doc_md/hooks/functions/useScrollModeMeasurementData.md +25 -0
  450. package/doc_md/hooks/functions/useSessionData.md +49 -0
  451. package/doc_md/hooks/functions/useSignalData.md +25 -0
  452. package/doc_md/hooks/functions/useSignalLogFileFormats.md +15 -0
  453. package/doc_md/hooks/functions/useUserSettings.md +17 -0
  454. package/doc_md/hooks/functions/useWorkspacePaneWithId.md +21 -0
  455. package/doc_md/hooks/interfaces/ISignalData.md +9 -0
  456. package/doc_md/icons/README.md +9 -0
  457. package/doc_md/ipc/README.md +47 -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/getFrameDefinitions.md +26 -0
  470. package/doc_md/ipc/functions/getLogger.md +25 -0
  471. package/doc_md/ipc/functions/getMessageLogFileFormats.md +17 -0
  472. package/doc_md/ipc/functions/getSignalLogFileFormats.md +17 -0
  473. package/doc_md/ipc/functions/requestLinMessage.md +30 -0
  474. package/doc_md/ipc/functions/sendCanMessage.md +41 -0
  475. package/doc_md/ipc/functions/sendMessage.md +29 -0
  476. package/doc_md/ipc/functions/showMessageBox.md +29 -0
  477. package/doc_md/ipc/functions/showQuestionBox.md +51 -0
  478. package/doc_md/ipc/functions/startLogReplay.md +23 -0
  479. package/doc_md/ipc/functions/startMeasurement.md +15 -0
  480. package/doc_md/ipc/functions/startPeriodicTransmission.md +25 -0
  481. package/doc_md/ipc/functions/stopLogReplay.md +23 -0
  482. package/doc_md/ipc/functions/stopMeasurement.md +15 -0
  483. package/doc_md/ipc/functions/stopPeriodicTransmission.md +23 -0
  484. package/doc_md/ipc/functions/updateDataProcessor.md +23 -0
  485. package/doc_md/ipc/functions/updateLinMessage.md +29 -0
  486. package/doc_md/ipc/functions/updatePeriodicTransmission.md +29 -0
  487. package/doc_md/ipc/functions/updateSource.md +23 -0
  488. package/doc_md/ipc/functions/updateTarget.md +23 -0
  489. package/doc_md/ipc/interfaces/ILogger.md +9 -0
  490. package/doc_md/models/README.md +157 -0
  491. package/doc_md/models/enumerations/AccessMode.md +49 -0
  492. package/doc_md/models/enumerations/AppEvent.md +29 -0
  493. package/doc_md/models/enumerations/CanChannelCap.md +181 -0
  494. package/doc_md/models/enumerations/CanFrameFlag.md +159 -0
  495. package/doc_md/models/enumerations/CanMessageFilterType.md +33 -0
  496. package/doc_md/models/enumerations/CanMode.md +39 -0
  497. package/doc_md/models/enumerations/DeviceEvent.md +29 -0
  498. package/doc_md/models/enumerations/FileConflictAction.md +39 -0
  499. package/doc_md/models/enumerations/FileType.md +39 -0
  500. package/doc_md/models/enumerations/LinFrameFlag.md +69 -0
  501. package/doc_md/models/enumerations/LogFileFormat.md +191 -0
  502. package/doc_md/models/enumerations/LogLevel.md +76 -0
  503. package/doc_md/models/enumerations/LogReplayState.md +33 -0
  504. package/doc_md/models/enumerations/LoggerState.md +39 -0
  505. package/doc_md/models/enumerations/MeasurementEvent.md +53 -0
  506. package/doc_md/models/enumerations/Protocols.md +39 -0
  507. package/doc_md/models/enumerations/ServiceExtensionType.md +37 -0
  508. package/doc_md/models/enumerations/SignalEncoding.md +27 -0
  509. package/doc_md/models/enumerations/SignalType.md +53 -0
  510. package/doc_md/models/enumerations/SignalValueTriggerOperator.md +75 -0
  511. package/doc_md/models/enumerations/StatusLevel.md +39 -0
  512. package/doc_md/models/enumerations/TriggerOperator.md +33 -0
  513. package/doc_md/models/interfaces/AboutInformation.md +33 -0
  514. package/doc_md/models/interfaces/ActivateLicenseRequest.md +33 -0
  515. package/doc_md/models/interfaces/AddAllConnectedCanChannelsRequest.md +9 -0
  516. package/doc_md/models/interfaces/AddAllConnectedLinChannelsRequest.md +9 -0
  517. package/doc_md/models/interfaces/AddOrUpdateDataProcessorRequest.md +35 -0
  518. package/doc_md/models/interfaces/AddOrUpdateSourceRequest.md +19 -0
  519. package/doc_md/models/interfaces/AddOrUpdateTargetRequest.md +19 -0
  520. package/doc_md/models/interfaces/ApiPreferences.md +41 -0
  521. package/doc_md/models/interfaces/AppEventArgs.md +25 -0
  522. package/doc_md/models/interfaces/BaseNodeProperties.md +9 -0
  523. package/doc_md/models/interfaces/BusStatus.md +9 -0
  524. package/doc_md/models/interfaces/CanBusParamLimits.md +9 -0
  525. package/doc_md/models/interfaces/CanBusParams.md +30 -0
  526. package/doc_md/models/interfaces/CanBusSpeedInfo.md +57 -0
  527. package/doc_md/models/interfaces/CanChannelCapacity.md +17 -0
  528. package/doc_md/models/interfaces/CanChannelConfiguration.md +65 -0
  529. package/doc_md/models/interfaces/CanFDBusSpeedCombination.md +9 -0
  530. package/doc_md/models/interfaces/CanFDBusSpeedInfo.md +41 -0
  531. package/doc_md/models/interfaces/CanFrameFlags.md +10 -0
  532. package/doc_md/models/interfaces/CanMessageFilterSettings.md +9 -0
  533. package/doc_md/models/interfaces/Channel.md +9 -0
  534. package/doc_md/models/interfaces/ChannelSettings.md +81 -0
  535. package/doc_md/models/interfaces/ClearLinMessageRequest.md +25 -0
  536. package/doc_md/models/interfaces/ConnectNodesRequest.md +9 -0
  537. package/doc_md/models/interfaces/DataProcessingStatus.md +9 -0
  538. package/doc_md/models/interfaces/DataProcessorNodeProperties.md +9 -0
  539. package/doc_md/models/interfaces/DatabaseFiles.md +25 -0
  540. package/doc_md/models/interfaces/DatabasesSettings.md +9 -0
  541. package/doc_md/models/interfaces/Device.md +9 -0
  542. package/doc_md/models/interfaces/DeviceEventArgs.md +9 -0
  543. package/doc_md/models/interfaces/DisconnectNodesRequest.md +9 -0
  544. package/doc_md/models/interfaces/Empty.md +17 -0
  545. package/doc_md/models/interfaces/ErrorStatus.md +17 -0
  546. package/doc_md/models/interfaces/FixedPosFrameIdentifier.md +57 -0
  547. package/doc_md/models/interfaces/Frame.md +125 -0
  548. package/doc_md/models/interfaces/FrameDefinition.md +57 -0
  549. package/doc_md/models/interfaces/FramePropertyValue.md +9 -0
  550. package/doc_md/models/interfaces/FrameReceivedTrigger.md +25 -0
  551. package/doc_md/models/interfaces/GetCanChannelBusSpeedsRequest.md +9 -0
  552. package/doc_md/models/interfaces/GetCanChannelBusSpeedsResponse.md +25 -0
  553. package/doc_md/models/interfaces/GetCanFdBusSpeedsRequest.md +9 -0
  554. package/doc_md/models/interfaces/GetCanFdBusSpeedsResponse.md +17 -0
  555. package/doc_md/models/interfaces/GetChannelsFromLogFileRequest.md +17 -0
  556. package/doc_md/models/interfaces/GetChannelsFromLogFileResponse.md +17 -0
  557. package/doc_md/models/interfaces/GetClassicCanBusSpeedsRequest.md +9 -0
  558. package/doc_md/models/interfaces/GetClassicCanBusSpeedsResponse.md +17 -0
  559. package/doc_md/models/interfaces/GetDataFramesBeforeTimestampRequest.md +25 -0
  560. package/doc_md/models/interfaces/GetDataProcessorResponse.md +9 -0
  561. package/doc_md/models/interfaces/GetDevicesRequest.md +9 -0
  562. package/doc_md/models/interfaces/GetDevicesResponse.md +9 -0
  563. package/doc_md/models/interfaces/GetFrameDefinitionsFromDatabaseFilesRequest.md +17 -0
  564. package/doc_md/models/interfaces/GetLicensesResponse.md +17 -0
  565. package/doc_md/models/interfaces/GetLogFileFormatsRequest.md +33 -0
  566. package/doc_md/models/interfaces/GetLogFileFormatsResponse.md +41 -0
  567. package/doc_md/models/interfaces/GetLogLevelResponse.md +17 -0
  568. package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesRequest.md +17 -0
  569. package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesResponse.md +17 -0
  570. package/doc_md/models/interfaces/GetServiceExtensionInfoRequest.md +27 -0
  571. package/doc_md/models/interfaces/GetServiceExtensionInfoResponse.md +65 -0
  572. package/doc_md/models/interfaces/GetSignalDataFromMessageDataRequest.md +25 -0
  573. package/doc_md/models/interfaces/GetSignalDataFromMessageDataResponse.md +17 -0
  574. package/doc_md/models/interfaces/GetSourceResponse.md +9 -0
  575. package/doc_md/models/interfaces/GetTargetResponse.md +9 -0
  576. package/doc_md/models/interfaces/ILogFileFormat.md +9 -0
  577. package/doc_md/models/interfaces/IProject.md +9 -0
  578. package/doc_md/models/interfaces/IUserSettings.md +9 -0
  579. package/doc_md/models/interfaces/IWorkspaceComponentPaneData.md +9 -0
  580. package/doc_md/models/interfaces/IWorkspaceContainerPaneData.md +9 -0
  581. package/doc_md/models/interfaces/IWorkspaceData.md +9 -0
  582. package/doc_md/models/interfaces/IWorkspacePaneData.md +9 -0
  583. package/doc_md/models/interfaces/IdentifierRequest.md +10 -0
  584. package/doc_md/models/interfaces/IdentifiersRequest.md +10 -0
  585. package/doc_md/models/interfaces/InstallServiceExtensionRequest.md +33 -0
  586. package/doc_md/models/interfaces/InterpreterSettings.md +17 -0
  587. package/doc_md/models/interfaces/J1939InterpreterSettings.md +9 -0
  588. package/doc_md/models/interfaces/LicenseInformation.md +73 -0
  589. package/doc_md/models/interfaces/Licenses.md +17 -0
  590. package/doc_md/models/interfaces/LinChannelConfiguration.md +57 -0
  591. package/doc_md/models/interfaces/LinFrameFlags.md +10 -0
  592. package/doc_md/models/interfaces/LogMessage.md +49 -0
  593. package/doc_md/models/interfaces/LogMessages.md +17 -0
  594. package/doc_md/models/interfaces/LogReplaySettings.md +109 -0
  595. package/doc_md/models/interfaces/LogReplayStatus.md +9 -0
  596. package/doc_md/models/interfaces/LoggerStatus.md +9 -0
  597. package/doc_md/models/interfaces/MeasurementEventArgs.md +9 -0
  598. package/doc_md/models/interfaces/MeasurementSetup.md +9 -0
  599. package/doc_md/models/interfaces/MessageLoggerSettings.md +177 -0
  600. package/doc_md/models/interfaces/NodeStatus.md +73 -0
  601. package/doc_md/models/interfaces/NodeStatuses.md +9 -0
  602. package/doc_md/models/interfaces/OnlineStatus.md +9 -0
  603. package/doc_md/models/interfaces/PeriodicTransmissionSettings.md +145 -0
  604. package/doc_md/models/interfaces/RequestLinMessageRequest.md +25 -0
  605. package/doc_md/models/interfaces/ScheduleTable.md +33 -0
  606. package/doc_md/models/interfaces/ScheduleTableEntry.md +25 -0
  607. package/doc_md/models/interfaces/SendLinWakeupFrameRequest.md +33 -0
  608. package/doc_md/models/interfaces/SendMessageRequest.md +9 -0
  609. package/doc_md/models/interfaces/ServiceExtensionSettings.md +9 -0
  610. package/doc_md/models/interfaces/SetLogLevelRequest.md +25 -0
  611. package/doc_md/models/interfaces/SetMeasurementSetupRequest.md +9 -0
  612. package/doc_md/models/interfaces/SetSignalDataToMessageDataRequest.md +33 -0
  613. package/doc_md/models/interfaces/SetSignalDataToMessageDataResponse.md +26 -0
  614. package/doc_md/models/interfaces/SignalDefinition.md +9 -0
  615. package/doc_md/models/interfaces/SignalFilterSettings.md +17 -0
  616. package/doc_md/models/interfaces/SignalLoggerSettings.md +225 -0
  617. package/doc_md/models/interfaces/SignalValue.md +9 -0
  618. package/doc_md/models/interfaces/SignalValueTrigger.md +65 -0
  619. package/doc_md/models/interfaces/SourceNodeProperties.md +9 -0
  620. package/doc_md/models/interfaces/StartPeriodicTransmissionRequest.md +17 -0
  621. package/doc_md/models/interfaces/StartPeriodicTransmissionResponse.md +9 -0
  622. package/doc_md/models/interfaces/SubscribeForDataRequest.md +17 -0
  623. package/doc_md/models/interfaces/TargetNodeProperties.md +9 -0
  624. package/doc_md/models/interfaces/TriggerSettings.md +33 -0
  625. package/doc_md/models/interfaces/UninstallServiceExtensionRequest.md +25 -0
  626. package/doc_md/models/interfaces/UpdateLinMessageRequest.md +26 -0
  627. package/doc_md/models/interfaces/UpdatePeriodicTransmissionRequest.md +25 -0
  628. package/doc_md/models/interfaces/WriteFrame.md +41 -0
  629. package/doc_md/models/variables/defaultUserSettings.md +11 -0
  630. package/doc_md/modules.md +13 -0
  631. package/package.json +5 -4
  632. package/dist/controls/SelectSignalControl.d.ts +0 -11
  633. package/doc/classes/controls.LocalizedStrings.html +0 -4
  634. package/doc/classes/models.DataBuffer.html +0 -32
  635. package/doc/classes/models.DataBufferView.html +0 -20
  636. package/doc/classes/models.Point.html +0 -14
  637. package/doc/enums/models.DecimalChar.html +0 -5
  638. package/doc/enums/models.Separator.html +0 -5
  639. package/doc/enums/models.TimeReference.html +0 -5
  640. package/doc/functions/controls.FillBox.html +0 -33
  641. package/doc/functions/controls.OneLineButton.html +0 -32
  642. package/doc/functions/controls.SelectSignalControl.html +0 -1
  643. package/doc/functions/controls.SizedBox.html +0 -33
  644. package/doc/functions/controls.TabsPanel.html +0 -32
  645. package/doc/functions/icons.AddIcon.html +0 -4
  646. package/doc/functions/icons.ArrowDownIcon.html +0 -4
  647. package/doc/functions/icons.ArrowLeftIcon.html +0 -4
  648. package/doc/functions/icons.ArrowRightIcon.html +0 -4
  649. package/doc/functions/icons.ArrowUpIcon.html +0 -4
  650. package/doc/functions/icons.BusIsOffIcon.html +0 -4
  651. package/doc/functions/icons.BusIsOnIcon.html +0 -4
  652. package/doc/functions/icons.CloseIcon.html +0 -4
  653. package/doc/functions/icons.ColumnSettingsIcon.html +0 -4
  654. package/doc/functions/icons.CopyIcon.html +0 -4
  655. package/doc/functions/icons.DarkModeIcon.html +0 -4
  656. package/doc/functions/icons.DeleteIcon.html +0 -4
  657. package/doc/functions/icons.DisableIcon.html +0 -4
  658. package/doc/functions/icons.EditIcon.html +0 -4
  659. package/doc/functions/icons.EnableIcon.html +0 -4
  660. package/doc/functions/icons.FilterIcon.html +0 -4
  661. package/doc/functions/icons.FixedPositionIcon.html +0 -4
  662. package/doc/functions/icons.LeaveFullScreenIcon.html +0 -4
  663. package/doc/functions/icons.LightModeIcon.html +0 -4
  664. package/doc/functions/icons.LineArrowDownIcon.html +0 -4
  665. package/doc/functions/icons.LineArrowUpIcon.html +0 -4
  666. package/doc/functions/icons.MaximizeWindowIcon.html +0 -4
  667. package/doc/functions/icons.MeasurementSetupIcon.html +0 -4
  668. package/doc/functions/icons.MoreHorizIcon.html +0 -4
  669. package/doc/functions/icons.MoreVertIcon.html +0 -4
  670. package/doc/functions/icons.NewIcon.html +0 -4
  671. package/doc/functions/icons.OpenExternallyIcon.html +0 -4
  672. package/doc/functions/icons.OpenIcon.html +0 -4
  673. package/doc/functions/icons.PauseIcon.html +0 -4
  674. package/doc/functions/icons.PlayIcon.html +0 -4
  675. package/doc/functions/icons.PlaySolidIcon.html +0 -4
  676. package/doc/functions/icons.SaveIcon.html +0 -4
  677. package/doc/functions/icons.SelectAllIcon.html +0 -4
  678. package/doc/functions/icons.ServiceIconActive.html +0 -4
  679. package/doc/functions/icons.ServiceIconInactive.html +0 -4
  680. package/doc/functions/icons.SettingsIcon.html +0 -4
  681. package/doc/functions/icons.StopIcon.html +0 -4
  682. package/doc/functions/icons.StopSolidIcon.html +0 -4
  683. package/doc/functions/icons.ToolsPanelHiddenIcon.html +0 -4
  684. package/doc/functions/icons.ToolsPanelVisibleIcon.html +0 -4
  685. package/doc/functions/icons.UnmaximizeWindowIcon.html +0 -4
  686. package/doc/functions/icons.WorkspacesIcon.html +0 -4
  687. package/doc/functions/models.accessModeFromJSON.html +0 -1
  688. package/doc/functions/models.accessModeToJSON.html +0 -1
  689. package/doc/functions/models.appEventFromJSON.html +0 -1
  690. package/doc/functions/models.appEventToJSON.html +0 -1
  691. package/doc/functions/models.canChannelCapFromJSON.html +0 -1
  692. package/doc/functions/models.canChannelCapToJSON.html +0 -1
  693. package/doc/functions/models.canFrameFlagFromJSON.html +0 -1
  694. package/doc/functions/models.canFrameFlagToJSON.html +0 -1
  695. package/doc/functions/models.canMessageFilterTypeFromJSON.html +0 -1
  696. package/doc/functions/models.canMessageFilterTypeToJSON.html +0 -1
  697. package/doc/functions/models.canModeFromJSON.html +0 -1
  698. package/doc/functions/models.canModeToJSON.html +0 -1
  699. package/doc/functions/models.createElectronApiFake.html +0 -4
  700. package/doc/functions/models.decimalCharFromJSON.html +0 -1
  701. package/doc/functions/models.decimalCharToJSON.html +0 -1
  702. package/doc/functions/models.decimalToFixed.html +0 -1
  703. package/doc/functions/models.decimalToHex.html +0 -1
  704. package/doc/functions/models.deviceEventFromJSON.html +0 -1
  705. package/doc/functions/models.deviceEventToJSON.html +0 -1
  706. package/doc/functions/models.fileConflictActionFromJSON.html +0 -1
  707. package/doc/functions/models.fileConflictActionToJSON.html +0 -1
  708. package/doc/functions/models.fileTypeFromJSON.html +0 -1
  709. package/doc/functions/models.fileTypeToJSON.html +0 -1
  710. package/doc/functions/models.linFrameFlagFromJSON.html +0 -1
  711. package/doc/functions/models.linFrameFlagToJSON.html +0 -1
  712. package/doc/functions/models.logFileFormatFromJSON.html +0 -1
  713. package/doc/functions/models.logFileFormatToJSON.html +0 -1
  714. package/doc/functions/models.logLevelFromJSON.html +0 -1
  715. package/doc/functions/models.logLevelToJSON.html +0 -1
  716. package/doc/functions/models.logReplayStateFromJSON.html +0 -1
  717. package/doc/functions/models.logReplayStateToJSON.html +0 -1
  718. package/doc/functions/models.loggerStateFromJSON.html +0 -1
  719. package/doc/functions/models.loggerStateToJSON.html +0 -1
  720. package/doc/functions/models.longToNumber.html +0 -1
  721. package/doc/functions/models.measurementEventFromJSON.html +0 -1
  722. package/doc/functions/models.measurementEventToJSON.html +0 -1
  723. package/doc/functions/models.protocolsFromJSON.html +0 -1
  724. package/doc/functions/models.protocolsToJSON.html +0 -1
  725. package/doc/functions/models.separatorFromJSON.html +0 -1
  726. package/doc/functions/models.separatorToJSON.html +0 -1
  727. package/doc/functions/models.signalEncodingFromJSON.html +0 -1
  728. package/doc/functions/models.signalEncodingToJSON.html +0 -1
  729. package/doc/functions/models.signalTypeFromJSON.html +0 -1
  730. package/doc/functions/models.signalTypeToJSON.html +0 -1
  731. package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +0 -1
  732. package/doc/functions/models.signalValueTriggerOperatorToJSON.html +0 -1
  733. package/doc/functions/models.statusLevelFromJSON.html +0 -1
  734. package/doc/functions/models.statusLevelToJSON.html +0 -1
  735. package/doc/functions/models.timeReferenceFromJSON.html +0 -1
  736. package/doc/functions/models.timeReferenceToJSON.html +0 -1
  737. package/doc/functions/models.triggerOperatorFromJSON.html +0 -1
  738. package/doc/functions/models.triggerOperatorToJSON.html +0 -1
  739. package/doc/interfaces/controls.ColumnItem.html +0 -3
  740. package/doc/interfaces/controls.ColumnItemControlProps.html +0 -4
  741. package/doc/interfaces/models.Devices.html +0 -2
  742. package/doc/interfaces/models.FrameDefinitions.html +0 -2
  743. package/doc/interfaces/models.Frame_PropertiesEntry.html +0 -3
  744. package/doc/interfaces/models.Frames.html +0 -2
  745. package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +0 -3
  746. package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +0 -3
  747. package/doc/interfaces/models.SignalDefinitions.html +0 -2
  748. package/doc/types/models.IReadOnlyDataBuffer.html +0 -1
  749. package/doc/types/models.themes.html +0 -1
  750. package/doc/variables/models.AboutInformation-1.html +0 -1
  751. package/doc/variables/models.ActivateLicenseRequest-1.html +0 -1
  752. package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +0 -1
  753. package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +0 -1
  754. package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +0 -1
  755. package/doc/variables/models.AddOrUpdateSourceRequest-1.html +0 -1
  756. package/doc/variables/models.AddOrUpdateTargetRequest-1.html +0 -1
  757. package/doc/variables/models.ApiPreferences-1.html +0 -1
  758. package/doc/variables/models.AppEventArgs-1.html +0 -1
  759. package/doc/variables/models.BaseNodeProperties-1.html +0 -1
  760. package/doc/variables/models.BusStatus-1.html +0 -1
  761. package/doc/variables/models.CanBusParamLimits-1.html +0 -1
  762. package/doc/variables/models.CanBusParams-1.html +0 -1
  763. package/doc/variables/models.CanBusSpeedInfo-1.html +0 -1
  764. package/doc/variables/models.CanChannelCapacity-1.html +0 -1
  765. package/doc/variables/models.CanChannelConfiguration-1.html +0 -1
  766. package/doc/variables/models.CanFDBusSpeedCombination-1.html +0 -1
  767. package/doc/variables/models.CanFDBusSpeedInfo-1.html +0 -1
  768. package/doc/variables/models.CanFrameFlags-1.html +0 -1
  769. package/doc/variables/models.CanMessageFilterSettings-1.html +0 -1
  770. package/doc/variables/models.Channel-1.html +0 -1
  771. package/doc/variables/models.ChannelSettings-1.html +0 -1
  772. package/doc/variables/models.ClearLinMessageRequest-1.html +0 -1
  773. package/doc/variables/models.ConnectNodesRequest-1.html +0 -1
  774. package/doc/variables/models.DataProcessingStatus-1.html +0 -1
  775. package/doc/variables/models.DataProcessorNodeProperties-1.html +0 -1
  776. package/doc/variables/models.DatabaseFiles-1.html +0 -1
  777. package/doc/variables/models.DatabasesSettings-1.html +0 -1
  778. package/doc/variables/models.Device-1.html +0 -1
  779. package/doc/variables/models.DeviceEventArgs-1.html +0 -1
  780. package/doc/variables/models.Devices-1.html +0 -1
  781. package/doc/variables/models.DisconnectNodesRequest-1.html +0 -1
  782. package/doc/variables/models.Empty-1.html +0 -1
  783. package/doc/variables/models.ErrorStatus-1.html +0 -1
  784. package/doc/variables/models.Frame-1.html +0 -1
  785. package/doc/variables/models.FrameDefinition-1.html +0 -1
  786. package/doc/variables/models.FrameDefinitions-1.html +0 -1
  787. package/doc/variables/models.FramePropertyValue-1.html +0 -1
  788. package/doc/variables/models.FrameReceivedTrigger-1.html +0 -1
  789. package/doc/variables/models.Frame_PropertiesEntry-1.html +0 -1
  790. package/doc/variables/models.Frames-1.html +0 -1
  791. package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +0 -1
  792. package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +0 -1
  793. package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +0 -1
  794. package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +0 -1
  795. package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +0 -1
  796. package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +0 -1
  797. package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +0 -1
  798. package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +0 -1
  799. package/doc/variables/models.GetDataProcessorResponse-1.html +0 -1
  800. package/doc/variables/models.GetDevicesRequest-1.html +0 -1
  801. package/doc/variables/models.GetDevicesResponse-1.html +0 -1
  802. package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +0 -1
  803. package/doc/variables/models.GetLicensesResponse-1.html +0 -1
  804. package/doc/variables/models.GetLogFileFormatsRequest-1.html +0 -1
  805. package/doc/variables/models.GetLogFileFormatsResponse-1.html +0 -1
  806. package/doc/variables/models.GetLogLevelResponse-1.html +0 -1
  807. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +0 -1
  808. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +0 -1
  809. package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +0 -1
  810. package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +0 -1
  811. package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +0 -1
  812. package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +0 -1
  813. package/doc/variables/models.GetSourceResponse-1.html +0 -1
  814. package/doc/variables/models.GetTargetResponse-1.html +0 -1
  815. package/doc/variables/models.IdentifierRequest-1.html +0 -1
  816. package/doc/variables/models.IdentifiersRequest-1.html +0 -1
  817. package/doc/variables/models.InstallServiceExtensionRequest-1.html +0 -1
  818. package/doc/variables/models.InterpreterSettings-1.html +0 -1
  819. package/doc/variables/models.J1939InterpreterSettings-1.html +0 -1
  820. package/doc/variables/models.LicenseInformation-1.html +0 -1
  821. package/doc/variables/models.Licenses-1.html +0 -1
  822. package/doc/variables/models.LinChannelConfiguration-1.html +0 -1
  823. package/doc/variables/models.LinFrameFlags-1.html +0 -1
  824. package/doc/variables/models.LogMessage-1.html +0 -1
  825. package/doc/variables/models.LogMessages-1.html +0 -1
  826. package/doc/variables/models.LogReplaySettings-1.html +0 -1
  827. package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +0 -1
  828. package/doc/variables/models.LogReplayStatus-1.html +0 -1
  829. package/doc/variables/models.LoggerStatus-1.html +0 -1
  830. package/doc/variables/models.MeasurementEventArgs-1.html +0 -1
  831. package/doc/variables/models.MeasurementSetup-1.html +0 -1
  832. package/doc/variables/models.MessageLoggerSettings-1.html +0 -1
  833. package/doc/variables/models.NodeStatus-1.html +0 -1
  834. package/doc/variables/models.NodeStatuses-1.html +0 -1
  835. package/doc/variables/models.OnlineStatus-1.html +0 -1
  836. package/doc/variables/models.PeriodicTransmissionSettings-1.html +0 -1
  837. package/doc/variables/models.RequestLinMessageRequest-1.html +0 -1
  838. package/doc/variables/models.ScheduleTable-1.html +0 -1
  839. package/doc/variables/models.ScheduleTableEntry-1.html +0 -1
  840. package/doc/variables/models.SendLinWakeupFrameRequest-1.html +0 -1
  841. package/doc/variables/models.SendMessageRequest-1.html +0 -1
  842. package/doc/variables/models.ServiceExtensionSettings-1.html +0 -1
  843. package/doc/variables/models.SetLogLevelRequest-1.html +0 -1
  844. package/doc/variables/models.SetMeasurementSetupRequest-1.html +0 -1
  845. package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +0 -1
  846. package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +0 -1
  847. package/doc/variables/models.SignalDefinition-1.html +0 -1
  848. package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +0 -1
  849. package/doc/variables/models.SignalDefinitions-1.html +0 -1
  850. package/doc/variables/models.SignalFilterSettings-1.html +0 -1
  851. package/doc/variables/models.SignalLoggerSettings-1.html +0 -1
  852. package/doc/variables/models.SignalValue-1.html +0 -1
  853. package/doc/variables/models.SignalValueTrigger-1.html +0 -1
  854. package/doc/variables/models.SourceNodeProperties-1.html +0 -1
  855. package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +0 -1
  856. package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +0 -1
  857. package/doc/variables/models.TargetNodeProperties-1.html +0 -1
  858. package/doc/variables/models.TriggerSettings-1.html +0 -1
  859. package/doc/variables/models.UninstallServiceExtensionRequest-1.html +0 -1
  860. package/doc/variables/models.UpdateLinMessageRequest-1.html +0 -1
  861. package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +0 -1
  862. package/doc/variables/models.WriteFrame-1.html +0 -1
package/dist/controls.mjs CHANGED
@@ -1,348 +1,348 @@
1
- import { u as ne, a as hn, b as bn, r as pn, c as le, d as qe, e as He } from "./index.mjs";
2
- import { C as ea, D as na, L as ta, g as ra, f as aa, M as ia, O as sa, R as la, U as da, W as oa } from "./index.mjs";
3
- import { jsx as s, jsxs as T, Fragment as ce } from "react/jsx-runtime";
4
- import * as be from "react";
5
- import we, { useCallback as w, useRef as Ke, useState as U, useEffect as z, useMemo as O, Fragment as Sn } from "react";
6
- import { FormControlLabel as Qe, Checkbox as xn, Box as xe, styled as V, Button as Nn, IconButton as Xe, Popover as vn, MenuItem as We, FormControl as Ye, Stack as Je, TextField as Ze, InputAdornment as Ee, Radio as Cn, RadioGroup as In, Divider as $n, Tooltip as Se, InputLabel as Mn, Select as Fn, FormHelperText as Ln, ListSubheader as wn, Dialog as Ve, DialogTitle as Ge, DialogContent as en, DialogActions as Re, Autocomplete as Rn, TableContainer as Wn, Table as An, TableHead as _n, TableRow as Be, TableCell as Fe, TableBody as kn, Toolbar as En, Typography as nn, ToggleButtonGroup as Bn, toggleButtonGroupClasses as Ue, ButtonGroup as Un, buttonGroupClasses as Ce, Paper as yn, ToggleButton as On, Menu as Pn, ListItemIcon as jn, ListItemText as ye } from "@mui/material";
7
- import { LineArrowDownIcon as tn, LineArrowUpIcon as Dn, CloseIcon as zn } from "./icons.mjs";
8
- import { v4 as Tn } from "uuid";
9
- import { SimpleTreeView as rn, TreeItem as pe } from "@mui/x-tree-view";
10
- import { getFrameDefinitions as qn } from "./ipc.mjs";
11
- import ge from "fast-deep-equal";
1
+ import { u as le, a as Ft, b as Mt, r as wt, c as me, d as Ge, e as et } from "./index.mjs";
2
+ import { C as ir, D as lr, L as dr, j as or, h as cr, i as ur, M as fr, O as gr, R as mr, U as hr, W as pr, f as br, s as Sr, g as xr } from "./index.mjs";
3
+ import { jsx as i, jsxs as j, Fragment as ue } from "react/jsx-runtime";
4
+ import * as ve from "react";
5
+ import Ue, { useCallback as w, useRef as tt, useState as U, useEffect as X, useMemo as D, Fragment as ze } from "react";
6
+ import { FormControlLabel as nt, Checkbox as It, Box as Fe, styled as se, Button as Lt, IconButton as at, Popover as At, MenuItem as ye, FormControl as rt, Stack as st, TextField as it, InputAdornment as qe, Radio as _t, RadioGroup as Et, Divider as Rt, Tooltip as $e, InputLabel as Wt, Select as Ut, FormHelperText as kt, ListSubheader as yt, Dialog as lt, DialogTitle as dt, DialogContent as ot, DialogActions as ke, Autocomplete as Ot, TableContainer as Bt, Table as Dt, TableHead as Pt, TableRow as Te, TableCell as Ie, TableBody as jt, Toolbar as zt, Typography as ct, ToggleButtonGroup as qt, toggleButtonGroupClasses as He, ButtonGroup as Tt, buttonGroupClasses as Le, Paper as Ht, ToggleButton as Xt, Menu as Kt, ListItemIcon as Qt, ListItemText as Xe } from "@mui/material";
7
+ import { LineArrowDownIcon as ut, LineArrowUpIcon as Yt, SearchIcon as ft, CloseIcon as Jt } from "./icons.mjs";
8
+ import { v4 as Zt } from "uuid";
9
+ import { SimpleTreeView as gt, TreeItem as Ce } from "@mui/x-tree-view";
10
+ import { getFrameDefinitions as Vt } from "./ipc.mjs";
11
+ import Se from "fast-deep-equal";
12
12
  import "long";
13
- import { C as ee, W as an } from "./measurement_settings.mjs";
14
- function sn({
13
+ import { C as ne, W as mt } from "./measurement_settings.mjs";
14
+ function ht({
15
15
  id: e = void 0,
16
- label: n,
17
- checked: t,
18
- onChange: r,
19
- disabled: a = !1,
16
+ label: t,
17
+ checked: n,
18
+ onChange: a,
19
+ disabled: r = !1,
20
20
  size: l = "small",
21
- sx: u = void 0
21
+ sx: c = void 0
22
22
  }) {
23
- const d = w((i) => {
24
- if (i.key === "Enter" && !i.ctrlKey && !i.altKey && !i.shiftKey) {
25
- i.preventDefault();
23
+ const d = w((s) => {
24
+ if (s.key === "Enter" && !s.ctrlKey && !s.altKey && !s.shiftKey) {
25
+ s.preventDefault();
26
26
  return;
27
27
  }
28
28
  }, []);
29
- return /* @__PURE__ */ s(
30
- Qe,
29
+ return /* @__PURE__ */ i(
30
+ nt,
31
31
  {
32
32
  id: e,
33
33
  "aria-label": e,
34
- disabled: a,
35
- "aria-disabled": a,
36
- control: /* @__PURE__ */ s(xn, { size: l, checked: t, onChange: (i, o) => r(o), onKeyDown: d }),
37
- label: n,
34
+ disabled: r,
35
+ "aria-disabled": r,
36
+ control: /* @__PURE__ */ i(It, { size: l, checked: n, onChange: (s, o) => a(o), onKeyDown: d }),
37
+ label: t,
38
38
  slotProps: { typography: { noWrap: !0 } },
39
- sx: u
39
+ sx: c
40
40
  }
41
41
  );
42
42
  }
43
- var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
44
- function ln(e) {
43
+ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
44
+ function pt(e) {
45
45
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
46
46
  }
47
- function Hn(e) {
48
- var n = typeof e;
49
- return e != null && (n == "object" || n == "function");
47
+ function Gt(e) {
48
+ var t = typeof e;
49
+ return e != null && (t == "object" || t == "function");
50
50
  }
51
- var Ae = Hn, Kn = typeof Ie == "object" && Ie && Ie.Object === Object && Ie, Qn = Kn, Xn = Qn, Yn = typeof self == "object" && self && self.Object === Object && self, Jn = Xn || Yn || Function("return this")(), dn = Jn, Zn = dn, Vn = function() {
52
- return Zn.Date.now();
53
- }, Gn = Vn, et = /\s/;
54
- function nt(e) {
55
- for (var n = e.length; n-- && et.test(e.charAt(n)); )
51
+ var Oe = Gt, en = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, tn = en, nn = tn, an = typeof self == "object" && self && self.Object === Object && self, rn = nn || an || Function("return this")(), bt = rn, sn = bt, ln = function() {
52
+ return sn.Date.now();
53
+ }, dn = ln, on = /\s/;
54
+ function cn(e) {
55
+ for (var t = e.length; t-- && on.test(e.charAt(t)); )
56
56
  ;
57
- return n;
57
+ return t;
58
58
  }
59
- var tt = nt, rt = tt, at = /^\s+/;
60
- function it(e) {
61
- return e && e.slice(0, rt(e) + 1).replace(at, "");
59
+ var un = cn, fn = un, gn = /^\s+/;
60
+ function mn(e) {
61
+ return e && e.slice(0, fn(e) + 1).replace(gn, "");
62
62
  }
63
- var st = it, lt = dn, dt = lt.Symbol, on = dt, Oe = on, un = Object.prototype, ot = un.hasOwnProperty, ut = un.toString, he = Oe ? Oe.toStringTag : void 0;
64
- function ct(e) {
65
- var n = ot.call(e, he), t = e[he];
63
+ var hn = mn, pn = bt, bn = pn.Symbol, St = bn, Ke = St, xt = Object.prototype, Sn = xt.hasOwnProperty, xn = xt.toString, Ne = Ke ? Ke.toStringTag : void 0;
64
+ function Nn(e) {
65
+ var t = Sn.call(e, Ne), n = e[Ne];
66
66
  try {
67
- e[he] = void 0;
68
- var r = !0;
67
+ e[Ne] = void 0;
68
+ var a = !0;
69
69
  } catch {
70
70
  }
71
- var a = ut.call(e);
72
- return r && (n ? e[he] = t : delete e[he]), a;
71
+ var r = xn.call(e);
72
+ return a && (t ? e[Ne] = n : delete e[Ne]), r;
73
73
  }
74
- var ft = ct, gt = Object.prototype, mt = gt.toString;
75
- function ht(e) {
76
- return mt.call(e);
74
+ var vn = Nn, Cn = Object.prototype, $n = Cn.toString;
75
+ function Fn(e) {
76
+ return $n.call(e);
77
77
  }
78
- var bt = ht, Pe = on, pt = ft, St = bt, xt = "[object Null]", Nt = "[object Undefined]", je = Pe ? Pe.toStringTag : void 0;
79
- function vt(e) {
80
- return e == null ? e === void 0 ? Nt : xt : je && je in Object(e) ? pt(e) : St(e);
78
+ var Mn = Fn, Qe = St, wn = vn, In = Mn, Ln = "[object Null]", An = "[object Undefined]", Ye = Qe ? Qe.toStringTag : void 0;
79
+ function _n(e) {
80
+ return e == null ? e === void 0 ? An : Ln : Ye && Ye in Object(e) ? wn(e) : In(e);
81
81
  }
82
- var Ct = vt;
83
- function It(e) {
82
+ var En = _n;
83
+ function Rn(e) {
84
84
  return e != null && typeof e == "object";
85
85
  }
86
- var $t = It, Mt = Ct, Ft = $t, Lt = "[object Symbol]";
87
- function wt(e) {
88
- return typeof e == "symbol" || Ft(e) && Mt(e) == Lt;
86
+ var Wn = Rn, Un = En, kn = Wn, yn = "[object Symbol]";
87
+ function On(e) {
88
+ return typeof e == "symbol" || kn(e) && Un(e) == yn;
89
89
  }
90
- var Rt = wt, Wt = st, De = Ae, At = Rt, ze = NaN, _t = /^[-+]0x[0-9a-f]+$/i, kt = /^0b[01]+$/i, Et = /^0o[0-7]+$/i, Bt = parseInt;
91
- function Ut(e) {
90
+ var Bn = On, Dn = hn, Je = Oe, Pn = Bn, Ze = NaN, jn = /^[-+]0x[0-9a-f]+$/i, zn = /^0b[01]+$/i, qn = /^0o[0-7]+$/i, Tn = parseInt;
91
+ function Hn(e) {
92
92
  if (typeof e == "number")
93
93
  return e;
94
- if (At(e))
95
- return ze;
96
- if (De(e)) {
97
- var n = typeof e.valueOf == "function" ? e.valueOf() : e;
98
- e = De(n) ? n + "" : n;
94
+ if (Pn(e))
95
+ return Ze;
96
+ if (Je(e)) {
97
+ var t = typeof e.valueOf == "function" ? e.valueOf() : e;
98
+ e = Je(t) ? t + "" : t;
99
99
  }
100
100
  if (typeof e != "string")
101
101
  return e === 0 ? e : +e;
102
- e = Wt(e);
103
- var t = kt.test(e);
104
- return t || Et.test(e) ? Bt(e.slice(2), t ? 2 : 8) : _t.test(e) ? ze : +e;
102
+ e = Dn(e);
103
+ var n = zn.test(e);
104
+ return n || qn.test(e) ? Tn(e.slice(2), n ? 2 : 8) : jn.test(e) ? Ze : +e;
105
105
  }
106
- var yt = Ut, Ot = Ae, Le = Gn, Te = yt, Pt = "Expected a function", jt = Math.max, Dt = Math.min;
107
- function zt(e, n, t) {
108
- var r, a, l, u, d, i, o = 0, g = !1, c = !1, I = !0;
106
+ var Xn = Hn, Kn = Oe, We = dn, Ve = Xn, Qn = "Expected a function", Yn = Math.max, Jn = Math.min;
107
+ function Zn(e, t, n) {
108
+ var a, r, l, c, d, s, o = 0, b = !1, m = !1, f = !0;
109
109
  if (typeof e != "function")
110
- throw new TypeError(Pt);
111
- n = Te(n) || 0, Ot(t) && (g = !!t.leading, c = "maxWait" in t, l = c ? jt(Te(t.maxWait) || 0, n) : l, I = "trailing" in t ? !!t.trailing : I);
112
- function N(M) {
113
- var b = r, $ = a;
114
- return r = a = void 0, o = M, u = e.apply($, b), u;
110
+ throw new TypeError(Qn);
111
+ t = Ve(t) || 0, Kn(n) && (b = !!n.leading, m = "maxWait" in n, l = m ? Yn(Ve(n.maxWait) || 0, t) : l, f = "trailing" in n ? !!n.trailing : f);
112
+ function F(N) {
113
+ var M = a, y = r;
114
+ return a = r = void 0, o = N, c = e.apply(y, M), c;
115
115
  }
116
- function m(M) {
117
- return o = M, d = setTimeout(F, n), g ? N(M) : u;
116
+ function $(N) {
117
+ return o = N, d = setTimeout(u, t), b ? F(N) : c;
118
118
  }
119
- function f(M) {
120
- var b = M - i, $ = M - o, R = n - b;
121
- return c ? Dt(R, l - $) : R;
119
+ function v(N) {
120
+ var M = N - s, y = N - o, H = t - M;
121
+ return m ? Jn(H, l - y) : H;
122
122
  }
123
- function h(M) {
124
- var b = M - i, $ = M - o;
125
- return i === void 0 || b >= n || b < 0 || c && $ >= l;
123
+ function g(N) {
124
+ var M = N - s, y = N - o;
125
+ return s === void 0 || M >= t || M < 0 || m && y >= l;
126
126
  }
127
- function F() {
128
- var M = Le();
129
- if (h(M))
130
- return p(M);
131
- d = setTimeout(F, f(M));
127
+ function u() {
128
+ var N = We();
129
+ if (g(N))
130
+ return h(N);
131
+ d = setTimeout(u, v(N));
132
132
  }
133
- function p(M) {
134
- return d = void 0, I && r ? N(M) : (r = a = void 0, u);
133
+ function h(N) {
134
+ return d = void 0, f && a ? F(N) : (a = r = void 0, c);
135
135
  }
136
- function L() {
137
- d !== void 0 && clearTimeout(d), o = 0, r = i = a = d = void 0;
136
+ function C() {
137
+ d !== void 0 && clearTimeout(d), o = 0, a = s = r = d = void 0;
138
138
  }
139
139
  function S() {
140
- return d === void 0 ? u : p(Le());
140
+ return d === void 0 ? c : h(We());
141
141
  }
142
- function v() {
143
- var M = Le(), b = h(M);
144
- if (r = arguments, a = this, i = M, b) {
142
+ function I() {
143
+ var N = We(), M = g(N);
144
+ if (a = arguments, r = this, s = N, M) {
145
145
  if (d === void 0)
146
- return m(i);
147
- if (c)
148
- return clearTimeout(d), d = setTimeout(F, n), N(i);
146
+ return $(s);
147
+ if (m)
148
+ return clearTimeout(d), d = setTimeout(u, t), F(s);
149
149
  }
150
- return d === void 0 && (d = setTimeout(F, n)), u;
150
+ return d === void 0 && (d = setTimeout(u, t)), c;
151
151
  }
152
- return v.cancel = L, v.flush = S, v;
152
+ return I.cancel = C, I.flush = S, I;
153
153
  }
154
- var cn = zt;
155
- const Tt = /* @__PURE__ */ ln(cn);
156
- var qt = cn, Ht = Ae, Kt = "Expected a function";
157
- function Qt(e, n, t) {
158
- var r = !0, a = !0;
154
+ var Nt = Zn;
155
+ const Vn = /* @__PURE__ */ pt(Nt);
156
+ var Gn = Nt, ea = Oe, ta = "Expected a function";
157
+ function na(e, t, n) {
158
+ var a = !0, r = !0;
159
159
  if (typeof e != "function")
160
- throw new TypeError(Kt);
161
- return Ht(t) && (r = "leading" in t ? !!t.leading : r, a = "trailing" in t ? !!t.trailing : a), qt(e, n, {
162
- leading: r,
163
- maxWait: n,
164
- trailing: a
160
+ throw new TypeError(ta);
161
+ return ea(n) && (a = "leading" in n ? !!n.leading : a, r = "trailing" in n ? !!n.trailing : r), Gn(e, t, {
162
+ leading: a,
163
+ maxWait: t,
164
+ trailing: r
165
165
  });
166
166
  }
167
- var Xt = Qt;
168
- const Yt = /* @__PURE__ */ ln(Xt), Jt = (e, n, t, r) => {
169
- switch (n) {
167
+ var aa = na;
168
+ const ra = /* @__PURE__ */ pt(aa), sa = (e, t, n, a) => {
169
+ switch (t) {
170
170
  case "debounce":
171
- return Tt(e, t, r);
171
+ return Vn(e, n, a);
172
172
  case "throttle":
173
- return Yt(e, t, r);
173
+ return ra(e, n, a);
174
174
  default:
175
175
  return e;
176
176
  }
177
- }, Zt = (
177
+ }, ia = (
178
178
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
179
179
  (e) => {
180
- const n = be.useRef(e);
181
- return be.useEffect(() => {
182
- n.current = e;
183
- }), be.useMemo(() => (...t) => {
184
- var r;
185
- return (r = n.current) === null || r === void 0 ? void 0 : r.call(n, ...t);
180
+ const t = ve.useRef(e);
181
+ return ve.useEffect(() => {
182
+ t.current = e;
183
+ }), ve.useMemo(() => (...n) => {
184
+ var a;
185
+ return (a = t.current) === null || a === void 0 ? void 0 : a.call(t, ...n);
186
186
  }, []);
187
187
  }
188
- ), Vt = (
188
+ ), la = (
189
189
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
190
190
  (e) => {
191
- const [n, t] = be.useState((e == null ? void 0 : e.current) || null);
191
+ const [t, n] = ve.useState((e == null ? void 0 : e.current) || null);
192
192
  return e && setTimeout(() => {
193
- e.current !== n && t(e.current);
194
- }, 0), { refProxy: be.useMemo(() => new Proxy((a) => {
195
- a !== n && t(a);
193
+ e.current !== t && n(e.current);
194
+ }, 0), { refProxy: ve.useMemo(() => new Proxy((r) => {
195
+ r !== t && n(r);
196
196
  }, {
197
- get(a, l) {
198
- return l === "current" ? n : a[l];
197
+ get(r, l) {
198
+ return l === "current" ? t : r[l];
199
199
  },
200
- set(a, l, u) {
201
- return l === "current" ? t(u) : a[l] = u, !0;
200
+ set(r, l, c) {
201
+ return l === "current" ? n(c) : r[l] = c, !0;
202
202
  }
203
- }), [n]), refElement: n, setRefElement: t };
203
+ }), [t]), refElement: t, setRefElement: n };
204
204
  }
205
- ), Gt = (e, n) => n === "border-box" ? {
205
+ ), da = (e, t) => t === "border-box" ? {
206
206
  width: e.borderBoxSize[0].inlineSize,
207
207
  height: e.borderBoxSize[0].blockSize
208
- } : n === "content-box" ? {
208
+ } : t === "content-box" ? {
209
209
  width: e.contentBoxSize[0].inlineSize,
210
210
  height: e.contentBoxSize[0].blockSize
211
211
  } : {
212
212
  width: e.contentRect.width,
213
213
  height: e.contentRect.height
214
214
  };
215
- function er({ skipOnMount: e = !1, refreshMode: n, refreshRate: t = 1e3, refreshOptions: r, handleWidth: a = !0, handleHeight: l = !0, targetRef: u, observerOptions: d, onResize: i } = {}) {
216
- const o = Ke(e), g = Zt(i), [c, I] = U({
215
+ function oa({ skipOnMount: e = !1, refreshMode: t, refreshRate: n = 1e3, refreshOptions: a, handleWidth: r = !0, handleHeight: l = !0, targetRef: c, observerOptions: d, onResize: s } = {}) {
216
+ const o = tt(e), b = ia(s), [m, f] = U({
217
217
  width: void 0,
218
218
  height: void 0
219
- }), { refProxy: N, refElement: m } = Vt(u), { box: f } = d || {}, h = w((p) => {
220
- if (!a && !l)
219
+ }), { refProxy: F, refElement: $ } = la(c), { box: v } = d || {}, g = w((h) => {
220
+ if (!r && !l)
221
221
  return;
222
222
  if (o.current) {
223
223
  o.current = !1;
224
224
  return;
225
225
  }
226
- const L = (S, v) => a && S.width !== v.width || l && S.height !== v.height;
227
- p.forEach((S) => {
228
- const v = Gt(S, f);
229
- I((M) => L(M, v) ? (g == null || g({
230
- width: v.width,
231
- height: v.height,
226
+ const C = (S, I) => r && S.width !== I.width || l && S.height !== I.height;
227
+ h.forEach((S) => {
228
+ const I = da(S, v);
229
+ f((N) => C(N, I) ? (b == null || b({
230
+ width: I.width,
231
+ height: I.height,
232
232
  entry: S
233
- }), v) : M);
233
+ }), I) : N);
234
234
  });
235
- }, [a, l, o, f]), F = w(Jt(h, n, t, r), [
236
- h,
237
- n,
235
+ }, [r, l, o, v]), u = w(sa(g, t, n, a), [
236
+ g,
238
237
  t,
239
- r
238
+ n,
239
+ a
240
240
  ]);
241
- return z(() => {
242
- let p;
243
- return m ? (p = new window.ResizeObserver(F), p.observe(m, d)) : (c.width || c.height) && (g == null || g({
241
+ return X(() => {
242
+ let h;
243
+ return $ ? (h = new window.ResizeObserver(u), h.observe($, d)) : (m.width || m.height) && (b == null || b({
244
244
  width: null,
245
245
  height: null,
246
246
  entry: null
247
- }), I({ width: void 0, height: void 0 })), () => {
248
- var L, S, v;
249
- (L = p == null ? void 0 : p.disconnect) === null || L === void 0 || L.call(p), (v = (S = F).cancel) === null || v === void 0 || v.call(S);
247
+ }), f({ width: void 0, height: void 0 })), () => {
248
+ var C, S, I;
249
+ (C = h == null ? void 0 : h.disconnect) === null || C === void 0 || C.call(h), (I = (S = u).cancel) === null || I === void 0 || I.call(S);
250
250
  };
251
- }, [F, m]), Object.assign({ ref: N }, c);
251
+ }, [u, $]), Object.assign({ ref: F }, m);
252
252
  }
253
- const de = () => {
254
- const { ref: e, width: n } = er();
253
+ const he = () => {
254
+ const { ref: e, width: t } = oa();
255
255
  return {
256
256
  ref: e,
257
- width: n
257
+ width: t
258
258
  };
259
- }, Ne = (...e) => {
260
- const [n, t] = U();
261
- return z(() => {
262
- const r = e.filter((a) => a.width !== void 0).map((a) => Number(a.width.toFixed(1)));
263
- if (r.length === e.length) {
264
- const a = Math.max(...r);
265
- t((l) => l === void 0 ? a : l);
259
+ }, Me = (...e) => {
260
+ const [t, n] = U();
261
+ return X(() => {
262
+ const a = e.filter((r) => r.width !== void 0).map((r) => Number(r.width.toFixed(1)));
263
+ if (a.length === e.length) {
264
+ const r = Math.max(...a);
265
+ n((l) => l === void 0 ? r : l);
266
266
  }
267
- }, [e]), n;
267
+ }, [e]), t;
268
268
  };
269
- function oe({ columnItem: e, width: n = void 0, children: t = void 0 }) {
270
- return /* @__PURE__ */ s("div", { ref: e.ref, children: /* @__PURE__ */ s(xe, { sx: { width: n }, children: t }) });
269
+ function pe({ columnItem: e, width: t = void 0, children: n = void 0 }) {
270
+ return /* @__PURE__ */ i("div", { ref: e.ref, children: /* @__PURE__ */ i(Fe, { sx: { width: t }, children: n }) });
271
271
  }
272
- const Z = V(Nn)(() => ({
272
+ const ae = se(Lt)(() => ({
273
273
  whiteSpace: "nowrap",
274
274
  minWidth: "max-content"
275
275
  }));
276
- function Er({ items: e, onSelect: n, onClose: t = void 0 }) {
277
- const r = w(
278
- (a, l) => {
279
- n(a, l), t && t();
276
+ function ja({ items: e, onSelect: t, onClose: n = void 0 }) {
277
+ const a = w(
278
+ (r, l) => {
279
+ t(r, l), n && n();
280
280
  },
281
- [t, n]
281
+ [n, t]
282
282
  );
283
- return /* @__PURE__ */ s(ce, { children: e.map((a) => /* @__PURE__ */ s(We, { onClick: () => r(a.key, a.text), children: a.text }, a.key)) });
283
+ return /* @__PURE__ */ i(ue, { children: e.map((r) => /* @__PURE__ */ i(ye, { onClick: () => a(r.key, r.text), children: r.text }, r.key)) });
284
284
  }
285
- function nr({
285
+ function ca({
286
286
  id: e = "dropdown-button",
287
- startIcon: n = void 0,
288
- endIcon: t = void 0,
289
- text: r = void 0,
290
- variant: a = "outlined",
287
+ startIcon: t = void 0,
288
+ endIcon: n = void 0,
289
+ text: a = void 0,
290
+ variant: r = "outlined",
291
291
  color: l = void 0,
292
- size: u = "medium",
292
+ size: c = "medium",
293
293
  disabled: d = !1,
294
- children: i
294
+ children: s
295
295
  }) {
296
- const [o, g] = U(null), c = !!o, I = w((f) => {
297
- g(f.currentTarget);
298
- }, []), N = w(() => {
299
- g(null);
300
- }, []), m = we.cloneElement(we.Children.only(i), {
301
- onClose: N
296
+ const [o, b] = U(null), m = !!o, f = w((v) => {
297
+ b(v.currentTarget);
298
+ }, []), F = w(() => {
299
+ b(null);
300
+ }, []), $ = Ue.cloneElement(Ue.Children.only(s), {
301
+ onClose: F
302
302
  });
303
- return /* @__PURE__ */ T(ce, { children: [
304
- !r && /* @__PURE__ */ s(
305
- Xe,
303
+ return /* @__PURE__ */ j(ue, { children: [
304
+ !a && /* @__PURE__ */ i(
305
+ at,
306
306
  {
307
307
  id: e,
308
308
  "data-testid": e,
309
- "aria-controls": c ? `${e}-popover` : void 0,
309
+ "aria-controls": m ? `${e}-popover` : void 0,
310
310
  "aria-haspopup": "true",
311
- "aria-expanded": c ? "true" : void 0,
312
- onClick: I,
313
- size: u,
311
+ "aria-expanded": m ? "true" : void 0,
312
+ onClick: f,
313
+ size: c,
314
314
  color: l,
315
315
  disabled: d,
316
- children: n
316
+ children: t
317
317
  }
318
318
  ),
319
- r && /* @__PURE__ */ s(
320
- Z,
319
+ a && /* @__PURE__ */ i(
320
+ ae,
321
321
  {
322
322
  id: e,
323
323
  "data-testid": e,
324
- "aria-controls": c ? `${e}-popover` : void 0,
324
+ "aria-controls": m ? `${e}-popover` : void 0,
325
325
  "aria-haspopup": "true",
326
- "aria-expanded": c ? "true" : void 0,
327
- variant: a,
326
+ "aria-expanded": m ? "true" : void 0,
327
+ variant: r,
328
328
  disableElevation: !0,
329
- onClick: I,
330
- startIcon: n,
331
- endIcon: t ?? /* @__PURE__ */ s(tn, {}),
332
- size: u,
329
+ onClick: f,
330
+ startIcon: t,
331
+ endIcon: n ?? /* @__PURE__ */ i(ut, {}),
332
+ size: c,
333
333
  color: l,
334
334
  disabled: d,
335
- children: r
335
+ children: a
336
336
  }
337
337
  ),
338
- /* @__PURE__ */ s(
339
- vn,
338
+ /* @__PURE__ */ i(
339
+ At,
340
340
  {
341
341
  id: `${e}-popover`,
342
342
  "aria-labelledby": e,
343
343
  anchorEl: o,
344
- open: c,
345
- onClose: N,
344
+ open: m,
345
+ onClose: F,
346
346
  anchorOrigin: {
347
347
  vertical: "bottom",
348
348
  horizontal: "left"
@@ -351,128 +351,128 @@ function nr({
351
351
  vertical: "top",
352
352
  horizontal: "left"
353
353
  },
354
- children: m
354
+ children: $
355
355
  }
356
356
  )
357
357
  ] });
358
358
  }
359
- const tr = V("div")(({ top: e, left: n, width: t, height: r }) => ({
359
+ const ua = se("div")(({ top: e, left: t, width: n, height: a }) => ({
360
360
  top: e,
361
- left: n,
362
- width: t,
363
- height: r,
361
+ left: t,
362
+ width: n,
363
+ height: a,
364
364
  position: "absolute",
365
365
  zIndex: 1
366
- })), rr = V("div")(({ top: e, left: n, width: t, height: r, position: a, theme: l }) => ({
366
+ })), fa = se("div")(({ top: e, left: t, width: n, height: a, position: r, theme: l }) => ({
367
367
  top: e,
368
- left: n,
369
- width: t,
370
- height: r,
368
+ left: t,
369
+ width: n,
370
+ height: a,
371
371
  position: "absolute",
372
372
  zIndex: 2,
373
373
  color: l.palette.primary.contrastText,
374
374
  backgroundColor: l.palette.primary.main,
375
375
  display: "flex",
376
- flexDirection: a === "left" || a === "right" ? "column" : "row",
377
- borderTopLeftRadius: a === "top" || a === "left" ? 0 : 8,
378
- borderTopRightRadius: a === "top" || a === "right" ? 0 : 8,
379
- borderBottomRightRadius: a === "bottom" || a === "right" ? 0 : 8,
380
- borderBottomLeftRadius: a === "bottom" || a === "left" ? 0 : 8
381
- })), $e = 8;
382
- function Br({
376
+ flexDirection: r === "left" || r === "right" ? "column" : "row",
377
+ borderTopLeftRadius: r === "top" || r === "left" ? 0 : 8,
378
+ borderTopRightRadius: r === "top" || r === "right" ? 0 : 8,
379
+ borderBottomRightRadius: r === "bottom" || r === "right" ? 0 : 8,
380
+ borderBottomLeftRadius: r === "bottom" || r === "left" ? 0 : 8
381
+ })), _e = 8;
382
+ function za({
383
383
  id: e = void 0,
384
- position: n,
385
- parentWidth: t,
386
- parentHeight: r,
387
- maxLength: a,
384
+ position: t,
385
+ parentWidth: n,
386
+ parentHeight: a,
387
+ maxLength: r,
388
388
  dropDownSize: l,
389
- autoHideTimeout: u = 0,
389
+ autoHideTimeout: c = 0,
390
390
  forceShow: d = !1,
391
- children: i = null
391
+ children: s = null
392
392
  }) {
393
- const o = O(() => {
394
- switch (n) {
393
+ const o = D(() => {
394
+ switch (t) {
395
395
  case "left":
396
396
  case "right":
397
- return Math.min(a, r);
397
+ return Math.min(r, a);
398
398
  case "top":
399
399
  case "bottom":
400
- return Math.min(a, t);
400
+ return Math.min(r, n);
401
401
  default:
402
- return a;
402
+ return r;
403
403
  }
404
- }, [a, r, t, n]), g = O(() => {
405
- switch (n) {
404
+ }, [r, a, n, t]), b = D(() => {
405
+ switch (t) {
406
406
  case "left":
407
407
  case "right":
408
- return (r - o) / 2;
408
+ return (a - o) / 2;
409
409
  case "top":
410
410
  return 0;
411
411
  case "bottom":
412
- return r - $e;
412
+ return a - _e;
413
413
  default:
414
414
  return 0;
415
415
  }
416
- }, [o, r, n]), c = O(() => {
417
- switch (n) {
416
+ }, [o, a, t]), m = D(() => {
417
+ switch (t) {
418
418
  case "left":
419
419
  return 0;
420
420
  case "right":
421
- return t - $e;
421
+ return n - _e;
422
422
  case "top":
423
423
  case "bottom":
424
- return (t - o) / 2;
424
+ return (n - o) / 2;
425
425
  default:
426
426
  return 0;
427
427
  }
428
- }, [o, t, n]), I = O(() => {
429
- switch (n) {
428
+ }, [o, n, t]), f = D(() => {
429
+ switch (t) {
430
430
  case "left":
431
431
  case "right":
432
- return $e;
432
+ return _e;
433
433
  case "top":
434
434
  case "bottom":
435
435
  return o;
436
436
  default:
437
437
  return 0;
438
438
  }
439
- }, [o, n]), N = O(() => {
440
- switch (n) {
439
+ }, [o, t]), F = D(() => {
440
+ switch (t) {
441
441
  case "left":
442
442
  case "right":
443
443
  return o;
444
444
  case "top":
445
445
  case "bottom":
446
- return $e;
446
+ return _e;
447
447
  default:
448
448
  return 0;
449
449
  }
450
- }, [o, n]), m = O(() => {
451
- switch (n) {
450
+ }, [o, t]), $ = D(() => {
451
+ switch (t) {
452
452
  case "left":
453
453
  case "right":
454
- return (r - o) / 2;
454
+ return (a - o) / 2;
455
455
  case "top":
456
456
  return 0;
457
457
  case "bottom":
458
- return r - l;
458
+ return a - l;
459
459
  default:
460
460
  return 0;
461
461
  }
462
- }, [l, o, r, n]), f = O(() => {
463
- switch (n) {
462
+ }, [l, o, a, t]), v = D(() => {
463
+ switch (t) {
464
464
  case "left":
465
465
  return 0;
466
466
  case "right":
467
- return t - l;
467
+ return n - l;
468
468
  case "top":
469
469
  case "bottom":
470
- return (t - o) / 2;
470
+ return (n - o) / 2;
471
471
  default:
472
472
  return 0;
473
473
  }
474
- }, [l, o, t, n]), h = O(() => {
475
- switch (n) {
474
+ }, [l, o, n, t]), g = D(() => {
475
+ switch (t) {
476
476
  case "left":
477
477
  case "right":
478
478
  return l;
@@ -482,8 +482,8 @@ function Br({
482
482
  default:
483
483
  return 0;
484
484
  }
485
- }, [l, o, n]), F = O(() => {
486
- switch (n) {
485
+ }, [l, o, t]), u = D(() => {
486
+ switch (t) {
487
487
  case "left":
488
488
  case "right":
489
489
  return o;
@@ -493,896 +493,934 @@ function Br({
493
493
  default:
494
494
  return 0;
495
495
  }
496
- }, [l, o, n]), [p, L] = U(!1), S = w(
497
- (M) => {
498
- M.buttons === 0 && u && L(!0);
496
+ }, [l, o, t]), [h, C] = U(!1), S = w(
497
+ (N) => {
498
+ N.buttons === 0 && c && C(!0);
499
499
  },
500
- [u]
501
- ), v = w(() => {
502
- L(!1);
500
+ [c]
501
+ ), I = w(() => {
502
+ C(!1);
503
503
  }, []);
504
- return z(() => {
505
- let M;
506
- return p && u && (M = setTimeout(() => L(!1), u)), () => {
507
- M && clearTimeout(M);
504
+ return X(() => {
505
+ let N;
506
+ return h && c && (N = setTimeout(() => C(!1), c)), () => {
507
+ N && clearTimeout(N);
508
508
  };
509
- }, [u, p]), /* @__PURE__ */ T(ce, { children: [
510
- /* @__PURE__ */ s(
511
- tr,
509
+ }, [c, h]), /* @__PURE__ */ j(ue, { children: [
510
+ /* @__PURE__ */ i(
511
+ ua,
512
512
  {
513
513
  id: e,
514
- top: g,
515
- left: c,
516
- width: I,
517
- height: N,
514
+ top: b,
515
+ left: m,
516
+ width: f,
517
+ height: F,
518
518
  "aria-haspopup": "true",
519
519
  onMouseEnter: S
520
520
  }
521
521
  ),
522
- (p || d === !0) && /* @__PURE__ */ s(
523
- rr,
522
+ (h || d === !0) && /* @__PURE__ */ i(
523
+ fa,
524
524
  {
525
- top: m,
526
- left: f,
527
- width: h,
528
- height: F,
529
- position: n,
530
- onMouseLeave: v,
531
- children: i
525
+ top: $,
526
+ left: v,
527
+ width: g,
528
+ height: u,
529
+ position: t,
530
+ onMouseLeave: I,
531
+ children: s
532
532
  }
533
533
  )
534
534
  ] });
535
535
  }
536
- function ue({
536
+ function ce({
537
537
  children: e,
538
- fullWidth: n = !0,
539
- spacing: t = "4px",
540
- alignItems: r = "center"
538
+ fullWidth: t = !0,
539
+ spacing: n = "4px",
540
+ alignItems: a = "center"
541
541
  }) {
542
- return /* @__PURE__ */ s(Ye, { margin: "dense", fullWidth: n, variant: "standard", children: /* @__PURE__ */ s(Je, { direction: "row", spacing: t, alignItems: r, children: e }) });
542
+ return /* @__PURE__ */ i(rt, { margin: "dense", fullWidth: t, variant: "standard", children: /* @__PURE__ */ i(st, { direction: "row", spacing: n, alignItems: a, children: e }) });
543
543
  }
544
- const ar = V("input")(({ variant: e, theme: n }) => ({
545
- ...n.typography[e]
546
- })), ir = V("span")(({ variant: e, theme: n }) => ({
547
- ...n.typography[e]
544
+ const ga = se("input")(({ variant: e, theme: t }) => ({
545
+ ...t.typography[e]
546
+ })), ma = se("span")(({ variant: e, theme: t }) => ({
547
+ ...t.typography[e]
548
548
  }));
549
- function sr({ value: e, onChange: n, ariaLabel: t = void 0, variant: r = "body1" }) {
550
- const a = Ke(null), [l, u] = U(e), d = w(
551
- (g) => u(g.target.value),
549
+ function ha({ value: e, onChange: t, ariaLabel: n = void 0, variant: a = "body1" }) {
550
+ const r = tt(null), [l, c] = U(e), d = w(
551
+ (b) => c(b.target.value),
552
552
  []
553
- ), i = w(
554
- (g) => {
555
- (g.key === "Enter" || g.key === "Escape") && (g.key === "Escape" && (u(e), g.currentTarget.value = e), g.currentTarget.blur());
553
+ ), s = w(
554
+ (b) => {
555
+ (b.key === "Enter" || b.key === "Escape") && (b.key === "Escape" && (c(e), b.currentTarget.value = e), b.currentTarget.blur());
556
556
  },
557
557
  [e]
558
558
  ), o = w(
559
- (g) => {
560
- n(g.target.value);
559
+ (b) => {
560
+ t(b.target.value);
561
561
  },
562
- [n]
562
+ [t]
563
563
  );
564
- return z(() => {
565
- var g;
566
- (g = a.current) == null || g.focus();
567
- }, []), /* @__PURE__ */ s(
568
- ar,
564
+ return X(() => {
565
+ var b;
566
+ (b = r.current) == null || b.focus();
567
+ }, []), /* @__PURE__ */ i(
568
+ ga,
569
569
  {
570
- ref: a,
571
- variant: r ?? "body1",
570
+ ref: r,
571
+ variant: a ?? "body1",
572
572
  type: "text",
573
- "aria-label": t,
573
+ "aria-label": n,
574
574
  value: l,
575
575
  onChange: d,
576
- onKeyDown: i,
576
+ onKeyDown: s,
577
577
  onBlur: o
578
578
  }
579
579
  );
580
580
  }
581
- function Ur({ editMode: e, value: n, onValueChange: t, ariaLabel: r = void 0, variant: a = "body1" }) {
582
- return /* @__PURE__ */ T(ce, { children: [
583
- e && /* @__PURE__ */ s(sr, { ariaLabel: r, value: n, onChange: t, variant: a }),
584
- !e && /* @__PURE__ */ s(ir, { variant: a ?? "body1", children: n })
581
+ function qa({ editMode: e, value: t, onValueChange: n, ariaLabel: a = void 0, variant: r = "body1" }) {
582
+ return /* @__PURE__ */ j(ue, { children: [
583
+ e && /* @__PURE__ */ i(ha, { ariaLabel: a, value: t, onChange: n, variant: r }),
584
+ !e && /* @__PURE__ */ i(ma, { variant: r ?? "body1", children: t })
585
585
  ] });
586
586
  }
587
- function lr({
587
+ function Be({
588
588
  id: e = void 0,
589
- label: n = void 0,
590
- helperText: t = "",
591
- value: r,
592
- onChange: a = void 0,
589
+ label: t = void 0,
590
+ helperText: n = "",
591
+ value: a,
592
+ onChange: r = void 0,
593
593
  onBlur: l = void 0,
594
- disabled: u = !1,
594
+ disabled: c = !1,
595
595
  error: d = !1,
596
- required: i = !1,
596
+ required: s = !1,
597
597
  margin: o = "dense",
598
- size: g = "small",
599
- fullWidth: c = !1,
600
- inputMode: I = void 0,
601
- pattern: N = void 0,
602
- startAdornment: m = void 0,
603
- endAdornment: f = void 0,
604
- sx: h = void 0,
605
- sxStartAdornment: F = void 0,
606
- sxEndAdornment: p = void 0
598
+ size: b = "small",
599
+ fullWidth: m = !1,
600
+ inputMode: f = void 0,
601
+ pattern: F = void 0,
602
+ startAdornment: $ = void 0,
603
+ endAdornment: v = void 0,
604
+ sx: g = void 0,
605
+ sxStartAdornment: u = void 0,
606
+ sxEndAdornment: h = void 0
607
607
  }) {
608
- const L = w(
609
- (b) => {
610
- a && a(b.target.value);
608
+ const C = w(
609
+ (M) => {
610
+ r && r(M.target.value);
611
611
  },
612
- [a]
613
- ), S = w((b) => {
614
- if (b.key === "Enter" && !b.ctrlKey && !b.altKey && !b.shiftKey) {
615
- b.preventDefault(), b.stopPropagation(), document.activeElement instanceof HTMLElement && document.activeElement.blur();
612
+ [r]
613
+ ), S = w((M) => {
614
+ if (M.key === "Enter" && !M.ctrlKey && !M.altKey && !M.shiftKey) {
615
+ M.preventDefault(), M.stopPropagation(), document.activeElement instanceof HTMLElement && document.activeElement.blur();
616
616
  return;
617
617
  }
618
- }, []), v = F ?? { marginBottom: 1 }, M = p ?? { marginBottom: 1 };
619
- return /* @__PURE__ */ s(
620
- Ze,
618
+ }, []), I = u ?? { marginBottom: 1 }, N = h ?? { marginBottom: 1 };
619
+ return /* @__PURE__ */ i(
620
+ it,
621
621
  {
622
622
  id: e,
623
623
  "aria-label": e,
624
624
  type: "text",
625
- label: n,
626
- helperText: t,
625
+ label: t,
626
+ helperText: n,
627
627
  margin: o,
628
- size: g,
629
- fullWidth: c,
628
+ size: b,
629
+ fullWidth: m,
630
630
  variant: "standard",
631
- value: r,
632
- onChange: L,
631
+ value: a,
632
+ onChange: C,
633
633
  onBlur: l,
634
- disabled: u,
635
- "aria-disabled": u,
634
+ disabled: c,
635
+ "aria-disabled": c,
636
636
  error: d,
637
- required: i,
637
+ required: s,
638
638
  slotProps: {
639
639
  input: {
640
- startAdornment: m ? /* @__PURE__ */ s(Ee, { position: "start", sx: { ...v }, children: m }) : null,
641
- endAdornment: f ? /* @__PURE__ */ s(Ee, { position: "end", sx: { ...M }, children: f }) : null
640
+ startAdornment: $ ? /* @__PURE__ */ i(qe, { position: "start", sx: { ...I }, children: $ }) : null,
641
+ endAdornment: v ? /* @__PURE__ */ i(qe, { position: "end", sx: { ...N }, children: v }) : null
642
642
  },
643
643
  htmlInput: {
644
- inputMode: I,
645
- pattern: N
644
+ inputMode: f,
645
+ pattern: F
646
646
  }
647
647
  },
648
- sx: h,
648
+ sx: g,
649
649
  onKeyDown: S
650
650
  }
651
651
  );
652
652
  }
653
- function re({
653
+ function oe({
654
654
  id: e,
655
- label: n = void 0,
656
- helperText: t = "",
657
- value: r,
658
- onChange: a = void 0,
655
+ label: t = void 0,
656
+ helperText: n = "",
657
+ value: a,
658
+ onChange: r = void 0,
659
659
  onBlur: l = void 0,
660
- disabled: u = !1,
660
+ disabled: c = !1,
661
661
  required: d = !1,
662
- margin: i = "dense",
662
+ margin: s = "dense",
663
663
  size: o = "small",
664
- fullWidth: g = !1,
665
- inputMode: c = void 0,
666
- pattern: I = void 0,
667
- startAdornment: N = void 0,
668
- endAdornment: m = void 0,
669
- sx: f = void 0,
670
- sxStartAdornment: h = void 0,
671
- sxEndAdornment: F = void 0,
672
- error: p = void 0,
673
- onErrorChange: L = void 0,
664
+ fullWidth: b = !1,
665
+ inputMode: m = void 0,
666
+ pattern: f = void 0,
667
+ startAdornment: F = void 0,
668
+ endAdornment: $ = void 0,
669
+ sx: v = void 0,
670
+ sxStartAdornment: g = void 0,
671
+ sxEndAdornment: u = void 0,
672
+ error: h = void 0,
673
+ onErrorChange: C = void 0,
674
674
  onValidate: S = void 0,
675
- numberType: v = void 0,
676
- minValue: M = void 0,
677
- maxValue: b = void 0
675
+ numberType: I = void 0,
676
+ minValue: N = void 0,
677
+ maxValue: M = void 0
678
678
  }) {
679
- const [$, R] = U(r), [k, _] = U(p !== void 0 ? p : !1);
680
- z(() => {
681
- R((x) => r !== x ? r : x);
682
- }, [r]), z(() => {
683
- _((x) => p !== void 0 && p !== x ? p : x);
684
- }, [p]);
685
- const W = w(
686
- (x) => {
687
- const B = Number.parseInt(x, x.startsWith("0x") ? 16 : 10);
688
- let y = Number.isNaN(B);
689
- return y || (y = M !== void 0 && B < M), y || (y = b !== void 0 && B > b), { val: x, err: y };
679
+ const [y, H] = U(a), [P, Q] = U(h !== void 0 ? h : !1);
680
+ X(() => {
681
+ H((p) => a !== p ? a : p);
682
+ }, [a]), X(() => {
683
+ Q((p) => h !== void 0 && h !== p ? h : p);
684
+ }, [h]);
685
+ const Z = w(
686
+ (p) => {
687
+ const W = Number.parseInt(p, p.startsWith("0x") ? 16 : 10);
688
+ let O = Number.isNaN(W);
689
+ return O || (O = N !== void 0 && W < N), O || (O = M !== void 0 && W > M), { val: p, err: O };
690
690
  },
691
- [b, M]
692
- ), j = w(
693
- (x) => {
694
- let B = !1;
695
- if (x.endsWith(",") || x.endsWith("."))
696
- return B = !0, { val: x, err: B };
697
- const y = Number.parseFloat(x.replace(",", "."));
698
- return B = Number.isNaN(y), B || (B = M !== void 0 && y < M), B || (B = b !== void 0 && y > b), { val: y.toString(), err: B };
691
+ [M, N]
692
+ ), L = w(
693
+ (p) => {
694
+ let W = !1;
695
+ if (p.endsWith(",") || p.endsWith("."))
696
+ return W = !0, { val: p, err: W };
697
+ const O = Number.parseFloat(p.replace(",", "."));
698
+ return W = Number.isNaN(O), W || (W = N !== void 0 && O < N), W || (W = M !== void 0 && O > M), { val: O.toString(), err: W };
699
699
  },
700
- [b, M]
701
- ), X = w(
702
- (x) => v === "int" ? W(x) : j(x),
703
- [v, j, W]
704
- ), P = w(
705
- (x, B) => {
706
- let y = x, D = !1;
707
- return !d && (y === void 0 || y === "") ? { val: y, err: D } : (v !== void 0 && ({ val: y, err: D } = X(x)), !D && S && ({ val: y, err: D } = S(y, B)), { val: y, err: D });
700
+ [M, N]
701
+ ), x = w(
702
+ (p) => I === "int" ? Z(p) : L(p),
703
+ [I, L, Z]
704
+ ), _ = w(
705
+ (p, W) => {
706
+ let O = p, ee = !1;
707
+ return !d && (O === void 0 || O === "") ? { val: O, err: ee } : (I !== void 0 && ({ val: O, err: ee } = x(p)), !ee && S && ({ val: O, err: ee } = S(O, W)), { val: O, err: ee });
708
708
  },
709
- [S, X]
709
+ [I, S, d, x]
710
710
  ), A = w(
711
- (x) => {
712
- const { val: B, err: y } = P(x, "change");
713
- _(y), R(y ? x : B), !y && a && a(B);
711
+ (p) => {
712
+ const { val: W, err: O } = _(p, "change");
713
+ Q(O), H(O ? p : W), !O && r && r(W);
714
714
  },
715
- [a, P]
716
- ), C = w(() => {
717
- const { val: x, err: B } = P($, "blur");
718
- _(B), !B && l && l(x);
719
- }, [l, P, $]);
720
- return z(() => {
721
- L && L(k);
722
- }, [k, L]), z(() => {
723
- let x = !1;
724
- u || (x = P($, "blur").err), _(x);
725
- }, [u]), /* @__PURE__ */ s(
726
- lr,
715
+ [r, _]
716
+ ), R = w(() => {
717
+ const { val: p, err: W } = _(y, "blur");
718
+ Q(W), !W && l && l(p);
719
+ }, [l, _, y]);
720
+ return X(() => {
721
+ C && C(P);
722
+ }, [P, C]), /* @__PURE__ */ i(
723
+ Be,
727
724
  {
728
725
  id: e,
729
- label: n,
730
- helperText: t,
731
- value: $,
726
+ label: t,
727
+ helperText: n,
728
+ value: y,
732
729
  onChange: A,
733
- onBlur: C,
734
- disabled: u,
735
- error: k,
730
+ onBlur: R,
731
+ disabled: c,
732
+ error: P,
736
733
  required: d,
737
- margin: i,
734
+ margin: s,
738
735
  size: o,
739
- fullWidth: g,
740
- inputMode: c,
741
- pattern: I,
742
- startAdornment: N,
743
- endAdornment: m,
744
- sx: f,
745
- sxStartAdornment: h,
746
- sxEndAdornment: F
736
+ fullWidth: b,
737
+ inputMode: m,
738
+ pattern: f,
739
+ startAdornment: F,
740
+ endAdornment: $,
741
+ sx: v,
742
+ sxStartAdornment: g,
743
+ sxEndAdornment: u
747
744
  }
748
745
  );
749
746
  }
750
- function yr({
747
+ function Ta({
751
748
  minValue: e,
752
- maxValue: n,
753
- onChange: t = void 0,
754
- onBlur: r = void 0,
755
- minError: a = void 0,
749
+ maxValue: t,
750
+ onChange: n = void 0,
751
+ onBlur: a = void 0,
752
+ minError: r = void 0,
756
753
  onMinErrorChange: l = void 0,
757
- maxError: u = void 0,
754
+ maxError: c = void 0,
758
755
  onMaxErrorChange: d = void 0,
759
- onMinValidate: i = void 0,
756
+ onMinValidate: s = void 0,
760
757
  onMaxValidate: o = void 0,
761
- minDisabled: g = !1,
762
- maxDisabled: c = !1,
763
- unit: I = void 0,
764
- lowerLimit: N = void 0,
765
- upperLimit: m = void 0
758
+ minDisabled: b = !1,
759
+ maxDisabled: m = !1,
760
+ unit: f = void 0,
761
+ lowerLimit: F = void 0,
762
+ upperLimit: $ = void 0
766
763
  }) {
767
- const f = ne(), h = Number.parseInt(e), F = Number.parseInt(n), [p, L] = U(e.toString()), [S, v] = U(n.toString()), [M, b] = U(
768
- a === !0 || Number.isNaN(h) || h < (N ?? 0) || m && h > m || !Number.isNaN(F) && h >= F
769
- ), [$, R] = U(
770
- u === !0 || Number.isNaN(F) || F < (N ?? 0) || m && F > m || !Number.isNaN(h) && h >= F
764
+ const v = le(), g = Number.parseInt(e), u = Number.parseInt(t), [h, C] = U(e.toString()), [S, I] = U(t.toString()), [N, M] = U(
765
+ r === !0 || Number.isNaN(g) || g < (F ?? 0) || $ && g > $ || !Number.isNaN(u) && g >= u
766
+ ), [y, H] = U(
767
+ c === !0 || Number.isNaN(u) || u < (F ?? 0) || $ && u > $ || !Number.isNaN(g) && g >= u
771
768
  );
772
- z(() => {
773
- L((A) => e.toString() !== A ? e.toString() : A);
774
- }, [e]), z(() => {
775
- b((A) => a !== void 0 && a !== A ? a : A);
776
- }, [a]), z(() => {
777
- v((A) => n.toString() !== A ? n.toString() : A);
778
- }, [n]), z(() => {
779
- R((A) => u !== void 0 && u !== A ? u : A);
780
- }, [u]);
781
- const k = w(
769
+ X(() => {
770
+ C((A) => e.toString() !== A ? e.toString() : A);
771
+ }, [e]), X(() => {
772
+ M((A) => r !== void 0 && r !== A ? r : A);
773
+ }, [r]), X(() => {
774
+ I((A) => t.toString() !== A ? t.toString() : A);
775
+ }, [t]), X(() => {
776
+ H((A) => c !== void 0 && c !== A ? c : A);
777
+ }, [c]);
778
+ const P = w(
782
779
  (A) => {
783
- const C = Number.parseInt(A, A.startsWith("0x") ? 16 : 10), x = Number.parseInt(S), B = Number.isNaN(C) || C < (N ?? 0) || m && C > m || !Number.isNaN(x) && C >= x;
784
- return { val: A, err: B };
780
+ const R = Number.parseInt(A, A.startsWith("0x") ? 16 : 10), p = Number.parseInt(S), W = Number.isNaN(R) || R < (F ?? 0) || $ && R > $ || !Number.isNaN(p) && R >= p;
781
+ return { val: A, err: W };
785
782
  },
786
- [S, N, m]
787
- ), _ = w(
783
+ [S, F, $]
784
+ ), Q = w(
788
785
  (A) => {
789
- const C = Number.parseInt(A, A.startsWith("0x") ? 16 : 10), x = Number.parseInt(p), B = Number.isNaN(C) || C < (N ?? 0) || m && C > m || !Number.isNaN(x) && x >= C;
790
- return { val: A, err: B };
786
+ const R = Number.parseInt(A, A.startsWith("0x") ? 16 : 10), p = Number.parseInt(h), W = Number.isNaN(R) || R < (F ?? 0) || $ && R > $ || !Number.isNaN(p) && p >= R;
787
+ return { val: A, err: W };
791
788
  },
792
- [p, N, m]
793
- ), W = w(
789
+ [h, F, $]
790
+ ), Z = w(
794
791
  (A) => {
795
- let { val: C, err: x } = k(A);
796
- if (!x && i && ({ val: C, err: x } = i(A, "change")), (a === void 0 || a === !1) && b(x), x)
797
- t && t(A, S);
792
+ let { val: R, err: p } = P(A);
793
+ if (!p && s && ({ val: R, err: p } = s(A, "change")), (r === void 0 || r === !1) && M(p), p)
794
+ n && n(A, S);
798
795
  else {
799
- const B = Number.parseInt(C, C.startsWith("0x") ? 16 : 10).toString();
800
- L(B), t && t(B, S);
796
+ const W = Number.parseInt(R, R.startsWith("0x") ? 16 : 10).toString();
797
+ C(W), n && n(W, S);
801
798
  }
802
799
  },
803
- [k, i, a, t, S]
804
- ), j = w(
800
+ [P, s, r, n, S]
801
+ ), L = w(
805
802
  (A) => {
806
- let { val: C, err: x } = k(A);
807
- !x && i && ({ val: C, err: x } = i(C, "blur")), b(x), !x && r && r(C, S);
803
+ let { val: R, err: p } = P(A);
804
+ !p && s && ({ val: R, err: p } = s(R, "blur")), M(p), !p && a && a(R, S);
808
805
  },
809
- [k, i, r, S]
810
- ), X = w(
806
+ [P, s, a, S]
807
+ ), x = w(
811
808
  (A) => {
812
- let { val: C, err: x } = _(A);
813
- if (!x && o && ({ val: C, err: x } = o(A, "change")), (u === void 0 || u === !1) && R(x), x)
814
- t && t(p, A);
809
+ let { val: R, err: p } = Q(A);
810
+ if (!p && o && ({ val: R, err: p } = o(A, "change")), (c === void 0 || c === !1) && H(p), p)
811
+ n && n(h, A);
815
812
  else {
816
- const B = Number.parseInt(C, C.startsWith("0x") ? 16 : 10).toString();
817
- v(B), t && t(p, B);
813
+ const W = Number.parseInt(R, R.startsWith("0x") ? 16 : 10).toString();
814
+ I(W), n && n(h, W);
818
815
  }
819
816
  },
820
- [_, o, u, t, p]
821
- ), P = w(
817
+ [Q, o, c, n, h]
818
+ ), _ = w(
822
819
  (A) => {
823
- let { val: C, err: x } = _(A);
824
- !x && o && ({ val: C, err: x } = o(C, "blur")), R(x), !x && r && r(p, C);
820
+ let { val: R, err: p } = Q(A);
821
+ !p && o && ({ val: R, err: p } = o(R, "blur")), H(p), !p && a && a(h, R);
825
822
  },
826
- [_, o, r, p]
823
+ [Q, o, a, h]
827
824
  );
828
- return z(() => {
829
- l && l(M), d && d($);
830
- }, [$, M, d, l]), /* @__PURE__ */ T(ce, { children: [
831
- /* @__PURE__ */ s(
832
- re,
825
+ return X(() => {
826
+ l && l(N), d && d(y);
827
+ }, [y, N, d, l]), /* @__PURE__ */ j(ue, { children: [
828
+ /* @__PURE__ */ i(
829
+ oe,
833
830
  {
834
831
  id: "min-value",
835
- disabled: g,
832
+ disabled: b,
836
833
  inputMode: "numeric",
837
834
  fullWidth: !0,
838
- value: p,
839
- onChange: W,
840
- onBlur: j,
841
- startAdornment: f.getString("LabelFrom"),
842
- endAdornment: I,
835
+ value: h,
836
+ onChange: Z,
837
+ onBlur: L,
838
+ startAdornment: v.getString("LabelFrom"),
839
+ endAdornment: f,
843
840
  numberType: "int",
844
- error: M,
845
- onErrorChange: b
841
+ error: N,
842
+ onErrorChange: M
846
843
  }
847
844
  ),
848
- /* @__PURE__ */ s(
849
- re,
845
+ /* @__PURE__ */ i(
846
+ oe,
850
847
  {
851
848
  id: "max-value",
852
- disabled: c,
849
+ disabled: m,
853
850
  inputMode: "numeric",
854
851
  fullWidth: !0,
855
852
  value: S,
856
- onChange: X,
857
- onBlur: P,
858
- startAdornment: f.getString("LabelTo"),
859
- endAdornment: I,
853
+ onChange: x,
854
+ onBlur: _,
855
+ startAdornment: v.getString("LabelTo"),
856
+ endAdornment: f,
860
857
  numberType: "int",
861
- error: $,
862
- onErrorChange: R
858
+ error: y,
859
+ onErrorChange: H
863
860
  }
864
861
  )
865
862
  ] });
866
863
  }
867
- function fe({
864
+ function be({
868
865
  id: e = void 0,
869
- label: n,
870
- value: t,
871
- disabled: r = !1,
872
- size: a = "small",
866
+ label: t,
867
+ value: n,
868
+ disabled: a = !1,
869
+ size: r = "small",
873
870
  sx: l = void 0
874
871
  }) {
875
- return /* @__PURE__ */ s(
876
- Qe,
872
+ return /* @__PURE__ */ i(
873
+ nt,
877
874
  {
878
875
  id: e,
879
876
  "aria-label": e,
880
- value: t,
881
- disabled: r,
882
- "aria-disabled": r,
883
- control: /* @__PURE__ */ s(Cn, { size: a }),
884
- label: n,
877
+ value: n,
878
+ disabled: a,
879
+ "aria-disabled": a,
880
+ control: /* @__PURE__ */ i(_t, { size: r }),
881
+ label: t,
885
882
  componentsProps: { typography: { noWrap: !0 } },
886
883
  sx: l
887
884
  }
888
885
  );
889
886
  }
890
- function fn({
887
+ function vt({
891
888
  children: e,
892
- id: n = void 0,
893
- value: t,
894
- onChange: r
889
+ id: t = void 0,
890
+ value: n,
891
+ onChange: a
895
892
  }) {
896
- return /* @__PURE__ */ s(In, { id: n, "aria-label": n, value: t, onChange: (a, l) => r(l), children: e });
893
+ return /* @__PURE__ */ i(Et, { id: t, "aria-label": t, value: n, onChange: (r, l) => a(l), children: e });
897
894
  }
898
- const dr = V(xe, {
895
+ const pa = se(Fe, {
899
896
  shouldForwardProp: (e) => e !== "collapsed"
900
- })(({ collapsed: e, theme: n }) => ({
897
+ })(({ collapsed: e, theme: t }) => ({
901
898
  paddingTop: e ? "4px" : "8px",
902
899
  paddingLeft: "2px",
903
900
  paddingRight: "2px",
904
901
  paddingBottom: e ? "0px" : "2px",
905
902
  marginTop: "2px",
906
903
  "&:hover, &:focus-within": {
907
- background: n.palette.action.hover
904
+ background: t.palette.action.hover
908
905
  }
909
- })), gn = V("span")(({ theme: e }) => ({
906
+ })), Ct = se("span")(({ theme: e }) => ({
910
907
  color: e.palette.divider
911
- })), or = V(gn)(() => ({
908
+ })), ba = se(Ct)(() => ({
912
909
  "&:hover": {
913
910
  cursor: "pointer"
914
911
  }
915
- })), ur = V(Xe)(({ theme: e }) => ({
912
+ })), Sa = se(at)(({ theme: e }) => ({
916
913
  color: e.palette.divider,
917
914
  padding: "0px"
918
915
  }));
919
- function me({
916
+ function xe({
920
917
  textAlign: e = "left",
921
- text: n = void 0,
922
- summary: t = void 0,
923
- children: r = void 0,
924
- collapsible: a = !1,
918
+ text: t = void 0,
919
+ summary: n = void 0,
920
+ children: a = void 0,
921
+ collapsible: r = !1,
925
922
  collapsed: l = !1,
926
- collapsedChange: u = void 0
923
+ collapsedChange: c = void 0
927
924
  }) {
928
- const d = hn(), i = ne(), [o, g] = U(l);
929
- z(() => g(l), [l]);
930
- const c = w(
931
- (I) => {
932
- u ? u(I) : g(I);
925
+ const d = Ft(), s = le(), [o, b] = U(l);
926
+ X(() => b(l), [l]);
927
+ const m = w(
928
+ (f) => {
929
+ c ? c(f) : b(f);
933
930
  },
934
- [u]
931
+ [c]
935
932
  );
936
- return /* @__PURE__ */ T(dr, { collapsed: o, children: [
937
- n && /* @__PURE__ */ s($n, { textAlign: e, variant: "fullWidth", children: a ? /* @__PURE__ */ T(Je, { direction: "row", spacing: 1, alignItems: "center", children: [
938
- /* @__PURE__ */ T(or, { onClick: () => c(!o), children: [
939
- n.toLocaleUpperCase(d),
940
- o && t ? ` (${t})` : ""
933
+ return /* @__PURE__ */ j(pa, { collapsed: o, children: [
934
+ t && /* @__PURE__ */ i(Rt, { textAlign: e, variant: "fullWidth", children: r ? /* @__PURE__ */ j(st, { direction: "row", spacing: 1, alignItems: "center", children: [
935
+ /* @__PURE__ */ j(ba, { onClick: () => m(!o), children: [
936
+ t.toLocaleUpperCase(d),
937
+ o && n ? ` (${n})` : ""
941
938
  ] }),
942
- /* @__PURE__ */ s(
943
- Se,
939
+ /* @__PURE__ */ i(
940
+ $e,
944
941
  {
945
- title: o ? i == null ? void 0 : i.getString("TooltipExpandSection", n) : i == null ? void 0 : i.getString("TooltipCollapseSection", n),
946
- children: /* @__PURE__ */ s(ur, { onClick: () => c(!o), children: o ? /* @__PURE__ */ s(tn, {}) : /* @__PURE__ */ s(Dn, {}) })
942
+ title: o ? s == null ? void 0 : s.getString("TooltipExpandSection", t) : s == null ? void 0 : s.getString("TooltipCollapseSection", t),
943
+ children: /* @__PURE__ */ i(Sa, { onClick: () => m(!o), children: o ? /* @__PURE__ */ i(ut, {}) : /* @__PURE__ */ i(Yt, {}) })
947
944
  }
948
945
  )
949
- ] }) : /* @__PURE__ */ s(gn, { children: n.toLocaleUpperCase(d) }) }),
950
- !o && r
946
+ ] }) : /* @__PURE__ */ i(Ct, { children: t.toLocaleUpperCase(d) }) }),
947
+ !o && a
951
948
  ] });
952
949
  }
953
- function Me({
950
+ function Ee({
954
951
  id: e,
955
- label: n,
956
- showLabel: t = !1,
957
- helperText: r = "",
958
- options: a,
952
+ label: t,
953
+ showLabel: n = !1,
954
+ helperText: a = "",
955
+ options: r,
959
956
  value: l,
960
- onChange: u,
957
+ onChange: c,
961
958
  disabled: d = !1,
962
- required: i = !1,
959
+ required: s = !1,
963
960
  margin: o = "dense",
964
- size: g = "small",
965
- fullWidth: c = !1,
966
- minWidth: I = void 0,
967
- prefixTextWithValue: N = !1
961
+ size: b = "small",
962
+ fullWidth: m = !1,
963
+ minWidth: f = void 0,
964
+ prefixTextWithValue: F = !1
968
965
  }) {
969
- const m = w(
970
- (L) => {
971
- typeof L.target.value == "string" ? u("") : u(L.target.value);
966
+ const $ = w(
967
+ (C) => {
968
+ typeof C.target.value == "string" ? c("") : c(C.target.value);
972
969
  },
973
- [u]
974
- ), f = w(
975
- (L) => L.map((S) => /* @__PURE__ */ s(We, { "aria-label": `menu-item-${S.value}`, value: S.value, children: N ? `${S.value} - ${S.displayText}` : S.displayText }, S.value)),
976
- [N]
977
- ), h = w(
978
- (L, S) => {
979
- const v = [
980
- /* @__PURE__ */ s(wn, { color: "primary", children: L }, L)
970
+ [c]
971
+ ), v = w(
972
+ (C) => C.map((S) => /* @__PURE__ */ i(ye, { "aria-label": `menu-item-${S.value}`, value: S.value, children: F ? `${S.value} - ${S.displayText}` : S.displayText }, S.value)),
973
+ [F]
974
+ ), g = w(
975
+ (C, S) => {
976
+ const I = [
977
+ /* @__PURE__ */ i(yt, { color: "primary", children: C }, C)
981
978
  ];
982
- return v.push(...f(S)), v;
979
+ return I.push(...v(S)), I;
983
980
  },
984
- [f]
985
- ), F = w(
986
- (L) => {
981
+ [v]
982
+ ), u = w(
983
+ (C) => {
987
984
  const S = [];
988
- return L.forEach((v, M) => {
989
- S.push(...h(M, v));
985
+ return C.forEach((I, N) => {
986
+ S.push(...g(N, I));
990
987
  }), S;
991
988
  },
992
- [h]
993
- ), p = w(
994
- (L) => {
989
+ [g]
990
+ ), h = w(
991
+ (C) => {
995
992
  let S = "";
996
- if (a instanceof Map)
997
- a.forEach((v, M) => {
993
+ if (r instanceof Map)
994
+ r.forEach((I, N) => {
998
995
  if (S === "") {
999
- const b = v.find(($) => $.value === L);
1000
- b && (S = N ? `${b.value} - ${M} - ${b.displayText}` : `${M} - ${b.displayText}`);
996
+ const M = I.find((y) => y.value === C);
997
+ M && (S = F ? `${M.value} - ${N} - ${M.displayText}` : `${N} - ${M.displayText}`);
1001
998
  }
1002
999
  });
1003
1000
  else {
1004
- const v = a.find((M) => M.value === L);
1005
- v && (S = N ? `${v.value} - ${v.displayText}` : v.displayText);
1001
+ const I = r.find((N) => N.value === C);
1002
+ I && (S = F ? `${I.value} - ${I.displayText}` : I.displayText);
1006
1003
  }
1007
- return S === "" && (S = i ? `${n} *` : n), S;
1004
+ return S === "" && (S = s ? `${t} *` : t), S;
1008
1005
  },
1009
- [n, a, N, i]
1006
+ [t, r, F, s]
1010
1007
  );
1011
- return /* @__PURE__ */ T(Ye, { fullWidth: c, variant: "standard", sx: { minWidth: I }, margin: o, size: g, children: [
1012
- t && /* @__PURE__ */ s(Mn, { id: `${e}-label`, children: i ? `${n} *` : n }),
1013
- /* @__PURE__ */ T(
1014
- Fn,
1008
+ return /* @__PURE__ */ j(rt, { fullWidth: m, variant: "standard", sx: { minWidth: f }, margin: o, size: b, children: [
1009
+ n && /* @__PURE__ */ i(Wt, { id: `${e}-label`, children: s ? `${t} *` : t }),
1010
+ /* @__PURE__ */ j(
1011
+ Ut,
1015
1012
  {
1016
1013
  labelId: `${e}-label`,
1017
1014
  "aria-label": e,
1018
1015
  id: e,
1019
1016
  value: l,
1020
- renderValue: p,
1021
- onChange: m,
1022
- displayEmpty: !t,
1017
+ renderValue: h,
1018
+ onChange: $,
1019
+ displayEmpty: !n,
1023
1020
  disabled: d,
1024
1021
  "aria-disabled": d,
1025
1022
  children: [
1026
- a instanceof Map && F(a),
1027
- a instanceof Array && f(a)
1023
+ r instanceof Map && u(r),
1024
+ r instanceof Array && v(r)
1028
1025
  ]
1029
1026
  }
1030
1027
  ),
1031
- r && /* @__PURE__ */ s(Ln, { children: r })
1028
+ a && /* @__PURE__ */ i(kt, { children: a })
1032
1029
  ] });
1033
1030
  }
1034
- const _e = (e) => {
1035
- const [n, t] = U([]);
1036
- return z(() => {
1037
- const r = () => {
1038
- qn(e).then((l) => {
1039
- const u = [];
1031
+ const De = (e) => {
1032
+ const [t, n] = U([]);
1033
+ return X(() => {
1034
+ const a = () => {
1035
+ Vt(e).then((l) => {
1036
+ const c = [];
1040
1037
  for (let d = 0; d < l.length; d += 1) {
1041
- let i;
1038
+ let s;
1042
1039
  const o = l[d];
1043
1040
  if (o.messageQualifiedName !== void 0) {
1044
- const g = o.messageQualifiedName.indexOf(".");
1045
- if (g !== -1) {
1046
- const c = o.messageQualifiedName.substring(0, g);
1047
- i = u.find((I) => I.name === c), i || (i = { name: c, messages: [] }, u.push(i));
1041
+ const b = o.messageQualifiedName.indexOf(".");
1042
+ if (b !== -1) {
1043
+ const m = o.messageQualifiedName.substring(0, b);
1044
+ s = c.find((f) => f.name === m), s || (s = { name: m, messages: [] }, c.push(s));
1048
1045
  }
1049
1046
  }
1050
- i && i.messages.push(o);
1047
+ s && s.messages.push(o);
1051
1048
  }
1052
- return t(u), u;
1049
+ return n(c), c;
1053
1050
  });
1054
- }, a = Tn();
1055
- return bn(a, "meas-setup-changed", r), r(), () => {
1056
- pn(a, "meas-setup-changed");
1051
+ }, r = Zt();
1052
+ return Mt(r, "meas-setup-changed", a), a(), () => {
1053
+ wt(r, "meas-setup-changed");
1057
1054
  };
1058
- }, [e]), n;
1055
+ }, [e]), t;
1059
1056
  };
1060
- function Or({
1057
+ function Re({
1061
1058
  parentDialogTitle: e = void 0,
1062
- open: n,
1063
- onSelect: t,
1064
- nodeIdentifier: r = void 0,
1065
- onClose: a,
1059
+ open: t,
1060
+ onSelect: n,
1061
+ nodeIdentifier: a = void 0,
1062
+ onClose: r,
1066
1063
  modal: l = !1
1067
1064
  }) {
1068
- const u = ne(), d = _e(r), i = O(
1069
- () => e ? `${e} > ${u.getString("DialogHeaderSelectMessage")}` : u.getString("DialogHeaderSelectMessage"),
1070
- [u, e]
1065
+ const c = le(), d = De(a), s = D(
1066
+ () => e ? `${e} > ${c.getString("DialogHeaderSelectMessage")}` : c.getString("DialogHeaderSelectMessage"),
1067
+ [c, e]
1071
1068
  ), o = w(
1072
- (c) => {
1073
- if (c !== null)
1074
- for (let I = 0; I < d.length; I += 1) {
1075
- const m = d[I].messages.find((f) => f.messageQualifiedName === c);
1076
- m && (t(m), a && a());
1069
+ (F) => {
1070
+ if (F !== null)
1071
+ for (let $ = 0; $ < d.length; $ += 1) {
1072
+ const g = d[$].messages.find((u) => u.messageQualifiedName === F);
1073
+ g && (n(g), r && r());
1077
1074
  }
1078
1075
  },
1079
- [d, a, t]
1080
- ), g = O(() => d.map((c) => c.name), [d]);
1081
- return /* @__PURE__ */ T(
1082
- Ve,
1076
+ [d, r, n]
1077
+ ), b = D(() => d.map((F) => F.name), [d]), [m, f] = U("");
1078
+ return /* @__PURE__ */ j(
1079
+ lt,
1083
1080
  {
1084
- open: n,
1081
+ open: t,
1085
1082
  fullScreen: l !== !0,
1086
1083
  fullWidth: l === !0,
1087
1084
  maxWidth: l === !0 ? "md" : void 0,
1088
1085
  children: [
1089
- /* @__PURE__ */ s(Ge, { className: "draggable", children: i }),
1090
- /* @__PURE__ */ s(en, { dividers: !0, children: /* @__PURE__ */ s(
1091
- rn,
1092
- {
1093
- "aria-label": "frame-selector",
1094
- onSelectedItemsChange: (c, I) => o(I),
1095
- multiSelect: !1,
1096
- defaultExpandedItems: g,
1097
- sx: { height: 400 },
1098
- children: d.map((c) => /* @__PURE__ */ s(pe, { itemId: c.name, label: c.name, children: c.messages.map((I) => /* @__PURE__ */ s(pe, { itemId: I.messageQualifiedName, label: I.messageName }, I.messageQualifiedName)) }, c.name))
1099
- }
1100
- ) }),
1101
- /* @__PURE__ */ s(Re, { children: /* @__PURE__ */ s(Z, { onClick: a, variant: "outlined", size: "large", children: u.getString("ButtonBack") }) })
1086
+ /* @__PURE__ */ i(dt, { className: "draggable", children: s }),
1087
+ /* @__PURE__ */ j(ot, { dividers: !0, children: [
1088
+ /* @__PURE__ */ i(ce, { children: /* @__PURE__ */ i(Be, { id: "search", fullWidth: !0, value: m, onChange: f, startAdornment: /* @__PURE__ */ i(ft, {}) }) }),
1089
+ /* @__PURE__ */ i(
1090
+ gt,
1091
+ {
1092
+ "aria-label": "frame-selector",
1093
+ onSelectedItemsChange: (F, $) => o($),
1094
+ multiSelect: !1,
1095
+ defaultExpandedItems: b,
1096
+ sx: { height: 400 },
1097
+ children: d.map((F) => /* @__PURE__ */ i(Ce, { itemId: F.name, label: F.name, children: F.messages.filter(($) => $.messageName.toLowerCase().includes(m.toLowerCase())).map(($) => /* @__PURE__ */ i(
1098
+ Ce,
1099
+ {
1100
+ itemId: $.messageQualifiedName,
1101
+ label: $.messageName
1102
+ },
1103
+ $.messageQualifiedName
1104
+ )) }, F.name))
1105
+ }
1106
+ )
1107
+ ] }),
1108
+ /* @__PURE__ */ i(ke, { children: /* @__PURE__ */ i(ae, { onClick: r, variant: "outlined", size: "large", children: c.getString("ButtonBack") }) })
1102
1109
  ]
1103
1110
  }
1104
1111
  );
1105
1112
  }
1106
- function cr({
1113
+ function Pe({
1107
1114
  parentDialogTitle: e = void 0,
1108
- nodeIdentifier: n = void 0,
1109
- open: t,
1110
- multiSelect: r = !1,
1111
- checkboxSelection: a = !1,
1115
+ nodeIdentifier: t = void 0,
1116
+ open: n,
1117
+ multiSelect: a = !1,
1118
+ checkboxSelection: r = !1,
1112
1119
  onSelect: l = void 0,
1113
- onMultiSelect: u = void 0,
1120
+ onMultiSelect: c = void 0,
1114
1121
  onClose: d,
1115
- selectedMessages: i = void 0,
1116
- selectedSignals: o = void 0
1122
+ selectedMessages: s = void 0,
1123
+ selectedSignals: o = void 0,
1124
+ modal: b = !1
1117
1125
  }) {
1118
- const g = ne(), c = _e(n), I = O(
1119
- () => e ? `${e} > ${g.getString("DialogHeaderSelectSignal")}` : g.getString("DialogHeaderSelectSignal"),
1120
- [g, e]
1121
- ), [N, m] = U(() => i ? c.map((b) => b.messages.filter(($) => i.includes($.messageQualifiedName))).flat() : []);
1122
- z(() => {
1123
- if (i) {
1124
- const b = c.map(($) => $.messages.filter((R) => i.includes(R.messageQualifiedName))).flat();
1125
- m(b);
1126
+ const m = le(), f = De(t), F = D(
1127
+ () => e ? `${e} > ${m.getString("DialogHeaderSelectSignal")}` : m.getString("DialogHeaderSelectSignal"),
1128
+ [m, e]
1129
+ ), [$, v] = U(() => s ? f.map((L) => L.messages.filter((x) => s.includes(x.messageQualifiedName))).flat() : []);
1130
+ X(() => {
1131
+ if (s) {
1132
+ const L = f.map((x) => x.messages.filter((_) => s.includes(_.messageQualifiedName))).flat();
1133
+ v(L);
1126
1134
  }
1127
- }, [i, c]);
1128
- const [f, h] = U(() => o ? c.map(
1129
- (b) => b.messages.filter(
1130
- ($) => $.signals && $.signals.find((R) => o.includes(R.qualifiedName))
1135
+ }, [s, f]);
1136
+ const [g, u] = U(() => o ? f.map(
1137
+ (L) => L.messages.filter(
1138
+ (x) => x.signals && x.signals.find((_) => o.includes(_.qualifiedName))
1131
1139
  )
1132
- ).flat().map((b) => b.signals.filter(($) => o.includes($.qualifiedName))).flat() : []);
1133
- z(() => {
1140
+ ).flat().map((L) => L.signals.filter((x) => o.includes(x.qualifiedName))).flat() : []);
1141
+ X(() => {
1134
1142
  if (o) {
1135
- const b = c.map(
1136
- ($) => $.messages.filter(
1137
- (R) => R.signals && R.signals.find((k) => o.includes(k.qualifiedName))
1143
+ const L = f.map(
1144
+ (x) => x.messages.filter(
1145
+ (_) => _.signals && _.signals.find((A) => o.includes(A.qualifiedName))
1138
1146
  )
1139
- ).flat().map(($) => $.signals.filter((R) => o.includes(R.qualifiedName))).flat();
1140
- h(b);
1147
+ ).flat().map((x) => x.signals.filter((_) => o.includes(_.qualifiedName))).flat();
1148
+ u(L);
1141
1149
  }
1142
- }, [o, c]);
1143
- const [F, p] = U(!1), L = O(() => {
1144
- if (r)
1150
+ }, [o, f]);
1151
+ const [h, C] = U(!1), S = D(() => {
1152
+ if (a)
1145
1153
  return [
1146
- ...N.map((b) => b.messageQualifiedName),
1147
- ...f.map((b) => b.qualifiedName)
1154
+ ...$.map((L) => L.messageQualifiedName),
1155
+ ...g.map((L) => L.qualifiedName)
1148
1156
  ];
1149
- }, [r, N, f]), S = w(
1150
- (b) => {
1151
- if (b === null)
1157
+ }, [a, $, g]), I = w(
1158
+ (L) => {
1159
+ if (L === null)
1152
1160
  return;
1153
- if (!r)
1154
- for (let R = 0; R < c.length; R += 1) {
1155
- const _ = c[R].messages.find(
1156
- (W) => W.signals && W.signals.findIndex((j) => j.qualifiedName === b) !== -1
1161
+ if (!a)
1162
+ for (let _ = 0; _ < f.length; _ += 1) {
1163
+ const R = f[_].messages.find(
1164
+ (p) => p.signals && p.signals.findIndex((W) => W.qualifiedName === L) !== -1
1157
1165
  );
1158
- if (_ != null && _.signals) {
1159
- const W = _.signals.find((j) => j.qualifiedName === b);
1160
- if (W && l && (l(_, W), d)) {
1166
+ if (R != null && R.signals) {
1167
+ const p = R.signals.find((W) => W.qualifiedName === L);
1168
+ if (p && l && (l(R, p), d)) {
1161
1169
  d();
1162
1170
  return;
1163
1171
  }
1164
1172
  }
1165
1173
  }
1166
- let $ = [];
1167
- m((R) => {
1168
- let k = [];
1169
- for (let _ = 0; _ < c.length; _ += 1) {
1170
- const W = c[_], j = W.messages.filter(
1171
- (C) => C.signals && C.signals.length > 0 && C.signals.every((x) => b.includes(x.qualifiedName))
1172
- ), X = W.messages.filter(
1173
- (C) => C.signals && C.signals.some((x) => b.includes(x.qualifiedName))
1174
+ let x = [];
1175
+ v((_) => {
1176
+ let A = [];
1177
+ for (let R = 0; R < f.length; R += 1) {
1178
+ const p = f[R], W = p.messages.filter(
1179
+ (E) => E.signals && E.signals.length > 0 && E.signals.every((B) => L.includes(B.qualifiedName))
1180
+ ), O = p.messages.filter(
1181
+ (E) => E.signals && E.signals.some((B) => L.includes(B.qualifiedName))
1174
1182
  );
1175
- if (X) {
1176
- const C = X.map((x) => x.signals).flat().filter((x) => b.includes(x.qualifiedName));
1177
- C && (k = [...new Set(k.concat(j))], $ = [...new Set($.concat(C))]);
1183
+ if (O) {
1184
+ const E = O.map((B) => B.signals).flat().filter((B) => L.includes(B.qualifiedName));
1185
+ E && (A = [...new Set(A.concat(W))], x = [...new Set(x.concat(E))]);
1178
1186
  }
1179
- const P = W.messages.filter(
1180
- (C) => C.signals.length > 0 && b.includes(C.messageQualifiedName) && !R.some((x) => x.messageQualifiedName === C.messageQualifiedName)
1187
+ const ee = p.messages.filter(
1188
+ (E) => E.signals.length > 0 && L.includes(E.messageQualifiedName) && !_.some((B) => B.messageQualifiedName === E.messageQualifiedName)
1181
1189
  );
1182
- if (P.length > 0) {
1183
- const C = P.map((x) => x.signals).flat();
1184
- C && (k = [...new Set(k.concat(P))], $ = [...new Set($.concat(C))]);
1190
+ if (ee.length > 0) {
1191
+ const E = ee.map((B) => B.signals).flat();
1192
+ E && (A = [...new Set(A.concat(ee))], x = [...new Set(x.concat(E))]);
1185
1193
  }
1186
- const A = W.messages.filter(
1187
- (C) => !b.includes(C.messageQualifiedName) && R.some((x) => x.messageQualifiedName === C.messageQualifiedName)
1194
+ const J = p.messages.filter(
1195
+ (E) => !L.includes(E.messageQualifiedName) && _.some((B) => B.messageQualifiedName === E.messageQualifiedName)
1188
1196
  );
1189
- if (A.length > 0) {
1190
- const C = A.map((x) => x.signals).flat();
1191
- C && (k = k.filter(
1192
- (x) => !A.some((B) => B.messageQualifiedName === x.messageQualifiedName)
1193
- ), $ = $.filter(
1194
- (x) => !C.some((B) => B.qualifiedName === x.qualifiedName)
1197
+ if (J.length > 0) {
1198
+ const E = J.map((B) => B.signals).flat();
1199
+ E && (A = A.filter(
1200
+ (B) => !J.some((z) => z.messageQualifiedName === B.messageQualifiedName)
1201
+ ), x = x.filter(
1202
+ (B) => !E.some((z) => z.qualifiedName === B.qualifiedName)
1195
1203
  ));
1196
1204
  }
1197
1205
  }
1198
- return k;
1199
- }), h($);
1206
+ return A;
1207
+ }), u(x);
1200
1208
  },
1201
- [c, r, d, l]
1202
- ), v = w(() => {
1203
- u && (u(N, f), m([]), h([])), d && d();
1204
- }, [d, u, N, f]);
1205
- z(() => {
1206
- p(f.length === 0);
1207
- }, [f.length]);
1208
- const M = O(() => {
1209
- const b = c.map((R) => R.name), $ = c.map((R) => R.messages).flat().filter(
1210
- (R) => R.signals && R.signals.some((k) => f.some((_) => _.qualifiedName === k.qualifiedName))
1211
- ).map((R) => R.messageQualifiedName);
1212
- return [...b, ...$];
1213
- }, [c, f]);
1214
- return /* @__PURE__ */ T(Ve, { open: t, fullScreen: !0, children: [
1215
- /* @__PURE__ */ s(Ge, { className: "draggable", children: I }),
1216
- /* @__PURE__ */ s(en, { dividers: !0, children: /* @__PURE__ */ s(
1217
- rn,
1218
- {
1219
- "aria-label": "signal-selector",
1220
- multiSelect: r,
1221
- checkboxSelection: a,
1222
- selectedItems: L,
1223
- onSelectedItemsChange: (b, $) => S($),
1224
- defaultExpandedItems: M,
1225
- children: c.map((b) => /* @__PURE__ */ s(pe, { itemId: b.name, label: b.name, children: b.messages.map(($) => /* @__PURE__ */ s(pe, { itemId: $.messageQualifiedName, label: $.messageName, children: $.signals && $.signals.map((R) => /* @__PURE__ */ s(pe, { itemId: R.qualifiedName, label: R.name }, R.qualifiedName)) }, $.messageQualifiedName)) }, b.name))
1226
- }
1227
- ) }),
1228
- r && /* @__PURE__ */ T(Re, { children: [
1229
- /* @__PURE__ */ s(
1230
- Z,
1231
- {
1232
- onClick: v,
1233
- variant: "contained",
1234
- size: "large",
1235
- disabled: F,
1236
- children: g.getString("ButtonSave")
1237
- }
1238
- ),
1239
- /* @__PURE__ */ s(Z, { onClick: d, variant: "outlined", size: "large", children: g.getString("ButtonCancel") })
1240
- ] }),
1241
- !r && /* @__PURE__ */ s(Re, { children: /* @__PURE__ */ s(Z, { onClick: d, variant: "outlined", size: "large", children: g.getString("ButtonBack") }) })
1242
- ] });
1209
+ [f, a, d, l]
1210
+ ), N = w(() => {
1211
+ c && (c($, g), v([]), u([])), d && d();
1212
+ }, [d, c, $, g]);
1213
+ X(() => {
1214
+ C(g.length === 0);
1215
+ }, [g.length]);
1216
+ const [M, y] = U(""), H = D(() => M === void 0 || M.length === 0 ? [] : f.map((L) => L.messages).flat().filter(
1217
+ (L) => L.signals && L.signals.length > 0 && (L.messageName.toLowerCase().includes(M.toLowerCase()) || L.signals.some((x) => x.name.toLowerCase().includes(M.toLowerCase())))
1218
+ ).map((L) => L.messageQualifiedName), [f, M]), [P, Q] = U([]), Z = D(() => {
1219
+ const L = f.map((A) => A.name), x = f.map((A) => A.messages).flat().filter(
1220
+ (A) => A.signals && A.signals.length > 0 && A.signals.some((R) => g.some((p) => p.qualifiedName === R.qualifiedName))
1221
+ ).map((A) => A.messageQualifiedName), _ = /* @__PURE__ */ new Set([...L, ...P, ...H, ...x]);
1222
+ return Array.from(_);
1223
+ }, [f, P, H, g]);
1224
+ return /* @__PURE__ */ j(
1225
+ lt,
1226
+ {
1227
+ open: n,
1228
+ fullScreen: b !== !0,
1229
+ fullWidth: b === !0,
1230
+ maxWidth: b === !0 ? "md" : void 0,
1231
+ children: [
1232
+ /* @__PURE__ */ i(dt, { className: "draggable", children: F }),
1233
+ /* @__PURE__ */ j(ot, { dividers: !0, children: [
1234
+ /* @__PURE__ */ i(ce, { children: /* @__PURE__ */ i(Be, { id: "search", fullWidth: !0, value: M, onChange: y, startAdornment: /* @__PURE__ */ i(ft, {}) }) }),
1235
+ /* @__PURE__ */ i(
1236
+ gt,
1237
+ {
1238
+ "aria-label": "signal-selector",
1239
+ multiSelect: a,
1240
+ checkboxSelection: r,
1241
+ selectedItems: S,
1242
+ onSelectedItemsChange: (L, x) => I(x),
1243
+ expandedItems: Z,
1244
+ onExpandedItemsChange: (L, x) => Q(x),
1245
+ children: f.map((L) => /* @__PURE__ */ i(Ce, { itemId: L.name, label: L.name, children: L.messages.filter(
1246
+ (x) => x.signals && x.signals.length > 0 && (x.messageName.toLowerCase().includes(M.toLowerCase()) || x.signals.some((_) => _.name.toLowerCase().includes(M.toLowerCase())))
1247
+ ).map((x) => /* @__PURE__ */ i(Ce, { itemId: x.messageQualifiedName, label: x.messageName, children: x.signals && x.signals.filter(
1248
+ (_) => x.messageName.toLowerCase().includes(M.toLowerCase()) || _.name.toLowerCase().includes(M.toLowerCase())
1249
+ ).map((_) => /* @__PURE__ */ i(Ce, { itemId: _.qualifiedName, label: _.name }, _.qualifiedName)) }, x.messageQualifiedName)) }, L.name))
1250
+ }
1251
+ )
1252
+ ] }),
1253
+ a && /* @__PURE__ */ j(ke, { children: [
1254
+ /* @__PURE__ */ i(
1255
+ ae,
1256
+ {
1257
+ onClick: N,
1258
+ variant: "contained",
1259
+ size: "large",
1260
+ disabled: h,
1261
+ children: m.getString("ButtonSave")
1262
+ }
1263
+ ),
1264
+ /* @__PURE__ */ i(ae, { onClick: d, variant: "outlined", size: "large", children: m.getString("ButtonCancel") })
1265
+ ] }),
1266
+ !a && /* @__PURE__ */ i(ke, { children: /* @__PURE__ */ i(ae, { onClick: d, variant: "outlined", size: "large", children: m.getString("ButtonBack") }) })
1267
+ ]
1268
+ }
1269
+ );
1243
1270
  }
1244
- function Pr({
1271
+ function Ha({
1245
1272
  selectedSignals: e,
1246
- onSelectedSignalseChange: n,
1247
- onErrorsChange: t = void 0,
1248
- signalFilterError: r = void 0,
1249
- parentDialogTitle: a = void 0,
1273
+ onSelectedSignalseChange: t,
1274
+ onErrorsChange: n = void 0,
1275
+ signalFilterError: a = void 0,
1276
+ parentDialogTitle: r = void 0,
1250
1277
  nodeIdentifier: l = void 0,
1251
- disabled: u = !1
1278
+ disabled: c = !1
1252
1279
  }) {
1253
- const d = ne(), i = de(), o = Ne(i), g = _e(l), c = O(() => {
1254
- const h = /* @__PURE__ */ new Set();
1255
- return g.forEach((F) => {
1256
- F.messages.forEach((p) => {
1257
- p.signals.length > 0 && p.signals.every((L) => e.includes(L.qualifiedName)) && h.add(p.messageQualifiedName);
1280
+ const d = le(), s = he(), o = Me(s), b = De(l), m = D(() => {
1281
+ const u = /* @__PURE__ */ new Set();
1282
+ return b.forEach((h) => {
1283
+ h.messages.forEach((C) => {
1284
+ C.signals.length > 0 && C.signals.every((S) => e.includes(S.qualifiedName)) && u.add(C.messageQualifiedName);
1258
1285
  });
1259
- }), Array.from(h);
1260
- }, [g, e]), I = w(
1261
- (h, F) => {
1262
- n(F.map((p) => p.qualifiedName));
1286
+ }), Array.from(u);
1287
+ }, [b, e]), f = D(() => {
1288
+ const u = [];
1289
+ return b.forEach((h) => {
1290
+ h.messages.forEach((C) => {
1291
+ C.signals.forEach((S) => {
1292
+ u.push(S.qualifiedName);
1293
+ });
1294
+ });
1295
+ }), u;
1296
+ }, [b]), F = w(
1297
+ (u, h) => {
1298
+ t(h.map((C) => C.qualifiedName));
1263
1299
  },
1264
- [n]
1265
- ), N = w(
1266
- (h, F) => {
1267
- n(F);
1300
+ [t]
1301
+ ), $ = w(
1302
+ (u, h) => {
1303
+ t(h.filter((C) => f.includes(C)));
1268
1304
  },
1269
- [n]
1305
+ [t, f]
1270
1306
  );
1271
- z(() => {
1272
- r && (r.current = e.length === 0), t && t(e.length === 0);
1273
- }, [t, e, r]);
1274
- const [m, f] = U(!1);
1275
- return /* @__PURE__ */ s(ce, { children: /* @__PURE__ */ T(ue, { children: [
1276
- /* @__PURE__ */ s(
1277
- Rn,
1307
+ X(() => {
1308
+ a && (a.current = e.length === 0), n && n(e.length === 0);
1309
+ }, [n, e, a]);
1310
+ const [v, g] = U(!1);
1311
+ return /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ j(ce, { children: [
1312
+ /* @__PURE__ */ i(
1313
+ Ot,
1278
1314
  {
1279
1315
  id: "selected-signals",
1280
1316
  multiple: !0,
1281
1317
  limitTags: 3,
1282
1318
  freeSolo: !0,
1283
- options: [],
1319
+ options: f,
1284
1320
  value: e,
1285
- renderInput: (h) => /* @__PURE__ */ s(Ze, { ...h, label: d.getString("LabelSelectedSignals") }),
1321
+ renderInput: (u) => /* @__PURE__ */ i(it, { ...u, label: d.getString("LabelSelectedSignals") }),
1286
1322
  size: "small",
1287
1323
  fullWidth: !0,
1288
- onChange: N,
1289
- inputValue: ""
1324
+ onChange: $,
1325
+ clearOnBlur: !0,
1326
+ selectOnFocus: !0,
1327
+ handleHomeEndKeys: !0
1290
1328
  }
1291
1329
  ),
1292
- /* @__PURE__ */ s(oe, { columnItem: i, width: o, children: /* @__PURE__ */ s(Se, { title: d.getString("TooltipSelectSignals"), children: /* @__PURE__ */ s(
1293
- Z,
1330
+ /* @__PURE__ */ i(pe, { columnItem: s, width: o, children: /* @__PURE__ */ i($e, { title: d.getString("TooltipSelectSignals"), children: /* @__PURE__ */ i(
1331
+ ae,
1294
1332
  {
1295
- disabled: u,
1296
- onClick: () => f(!0),
1333
+ disabled: c,
1334
+ onClick: () => g(!0),
1297
1335
  variant: "outlined",
1298
1336
  size: "large",
1299
1337
  children: d.getString("ButtonSelectSignals")
1300
1338
  }
1301
1339
  ) }) }),
1302
- /* @__PURE__ */ s(
1303
- cr,
1340
+ /* @__PURE__ */ i(
1341
+ Pe,
1304
1342
  {
1305
- parentDialogTitle: a,
1306
- open: m,
1307
- onClose: () => f(!1),
1343
+ parentDialogTitle: r,
1344
+ open: v,
1345
+ onClose: () => g(!1),
1308
1346
  nodeIdentifier: l,
1309
- onMultiSelect: I,
1347
+ onMultiSelect: F,
1310
1348
  multiSelect: !0,
1311
- selectedMessages: c,
1349
+ selectedMessages: m,
1312
1350
  selectedSignals: e,
1313
1351
  checkboxSelection: !0
1314
1352
  }
1315
1353
  )
1316
1354
  ] }) });
1317
1355
  }
1318
- const jr = V(xe)(({ height: e, width: n }) => ({
1356
+ const Xa = se(Fe)(({ height: e, width: t }) => ({
1319
1357
  height: e,
1320
- width: n,
1358
+ width: t,
1321
1359
  padding: "4px",
1322
1360
  overflow: "auto"
1323
1361
  }));
1324
- function fr({ label: e, variant: n = "h6" }) {
1325
- return /* @__PURE__ */ s(En, { children: /* @__PURE__ */ s(nn, { sx: { flex: "1 1 100%" }, variant: n, id: "tableTitle", component: "div", children: e }) });
1362
+ function xa({ label: e, variant: t = "h6" }) {
1363
+ return /* @__PURE__ */ i(zt, { children: /* @__PURE__ */ i(ct, { sx: { flex: "1 1 100%" }, variant: t, id: "tableTitle", component: "div", children: e }) });
1326
1364
  }
1327
- function Dr({
1365
+ function Ka({
1328
1366
  data: e,
1329
- dataKey: n,
1330
- hasRemoveButton: t = !1,
1331
- removeButtonTitle: r = void 0,
1332
- onRemoveRow: a = void 0,
1367
+ dataKey: t,
1368
+ hasRemoveButton: n = !1,
1369
+ removeButtonTitle: a = void 0,
1370
+ onRemoveRow: r = void 0,
1333
1371
  selectedKey: l = void 0,
1334
- onClickRow: u = void 0,
1372
+ onClickRow: c = void 0,
1335
1373
  columns: d,
1336
- label: i = void 0,
1374
+ label: s = void 0,
1337
1375
  labelVariant: o = "h6",
1338
- maxHeight: g = void 0,
1339
- size: c = "medium",
1340
- stickyHeader: I = !1,
1341
- hover: N = !1
1376
+ maxHeight: b = void 0,
1377
+ size: m = "medium",
1378
+ stickyHeader: f = !1,
1379
+ hover: F = !1
1342
1380
  }) {
1343
- const m = w(
1344
- (f) => {
1345
- u && u(f);
1381
+ const $ = w(
1382
+ (v) => {
1383
+ c && c(v);
1346
1384
  },
1347
- [u]
1385
+ [c]
1348
1386
  );
1349
- return /* @__PURE__ */ T(xe, { children: [
1350
- i && /* @__PURE__ */ s(fr, { label: i, variant: o }),
1351
- /* @__PURE__ */ s(Wn, { children: /* @__PURE__ */ T(An, { "aria-labelledby": "tableTitle", size: c, stickyHeader: I, sx: { maxHeight: g }, padding: "none", children: [
1352
- /* @__PURE__ */ s(_n, { children: /* @__PURE__ */ s(Be, { children: d.map((f) => (
1353
- // eslint-disable-next-line react/jsx-props-no-spreading
1354
- /* @__PURE__ */ s(Fe, { ...f.headProps, children: f.headCell }, f.key)
1355
- )) }) }),
1356
- /* @__PURE__ */ s(kn, { children: e.map((f) => {
1357
- const h = n(f);
1358
- return /* @__PURE__ */ s(Be, { hover: N, selected: h === l, children: d.map((F) => /* @__PURE__ */ T(Sn, { children: [
1359
- /* @__PURE__ */ s(
1360
- Fe,
1387
+ return /* @__PURE__ */ j(Fe, { children: [
1388
+ s && /* @__PURE__ */ i(xa, { label: s, variant: o }),
1389
+ /* @__PURE__ */ i(Bt, { children: /* @__PURE__ */ j(Dt, { "aria-labelledby": "tableTitle", size: m, stickyHeader: f, sx: { maxHeight: b }, padding: "none", children: [
1390
+ /* @__PURE__ */ i(Pt, { children: /* @__PURE__ */ i(Te, { children: d.map((v) => /* @__PURE__ */ j(ze, { children: [
1391
+ /* @__PURE__ */ i(Ie, { ...v.headProps, children: v.headCell }, v.key),
1392
+ n && /* @__PURE__ */ i(Ie, { children: " " }, `${v.key}-white-space`)
1393
+ ] }, `$${v.key}-head`)) }) }),
1394
+ /* @__PURE__ */ i(jt, { children: e.map((v) => {
1395
+ const g = t(v);
1396
+ return /* @__PURE__ */ i(Te, { hover: F, selected: g === l, children: d.map((u) => /* @__PURE__ */ j(ze, { children: [
1397
+ /* @__PURE__ */ i(
1398
+ Ie,
1361
1399
  {
1362
- onClick: () => m(f),
1363
- ...F.dataProps,
1364
- children: F.dataCell(f)
1400
+ onClick: () => $(v),
1401
+ ...u.dataProps,
1402
+ children: u.dataCell(v)
1365
1403
  },
1366
- `${h}-${F.key}-project-file`
1404
+ `${g}-${u.key}-project-file`
1367
1405
  ),
1368
- t && /* @__PURE__ */ s(Fe, { children: /* @__PURE__ */ s(Z, { size: "small", title: r, onClick: () => a(f), children: /* @__PURE__ */ s(zn, { fontSize: "small" }) }) }, `${h}-${F.key}-remove-button`)
1369
- ] }, `${h}-${F.key}`)) }, h);
1406
+ n && /* @__PURE__ */ i(Ie, { children: /* @__PURE__ */ i(ae, { size: "small", title: a, onClick: () => r(v), children: /* @__PURE__ */ i(Jt, { fontSize: "small" }) }) }, `${g}-${u.key}-remove-button`)
1407
+ ] }, `${g}-${u.key}`)) }, g);
1370
1408
  }) })
1371
1409
  ] }) })
1372
1410
  ] });
1373
1411
  }
1374
- const zr = V("div")(({ theme: e }) => ({
1412
+ const Qa = se("div")(({ theme: e }) => ({
1375
1413
  borderBottom: "1px solid",
1376
1414
  borderColor: e.palette.divider
1377
- })), gr = V(Bn)(({ theme: e }) => ({
1378
- [`& .${Ue.grouped}`]: {
1415
+ })), Na = se(qt)(({ theme: e }) => ({
1416
+ [`& .${He.grouped}`]: {
1379
1417
  margin: e.spacing(0.5),
1380
1418
  padding: e.spacing(1.25),
1381
1419
  minWidth: 24,
1382
1420
  color: e.palette.action.active,
1383
1421
  border: 0,
1384
1422
  borderRadius: e.shape.borderRadius,
1385
- [`&.${Ue.disabled}`]: {
1423
+ [`&.${He.disabled}`]: {
1386
1424
  border: 0
1387
1425
  }
1388
1426
  }
@@ -1390,225 +1428,219 @@ const zr = V("div")(({ theme: e }) => ({
1390
1428
  // marginLeft: -1,
1391
1429
  // borderLeft: '1px solid transparent',
1392
1430
  // },
1393
- })), mr = V(Un)(({ theme: e }) => ({
1394
- [`& .${Ce.grouped}`]: {
1431
+ })), va = se(Tt)(({ theme: e }) => ({
1432
+ [`& .${Le.grouped}`]: {
1395
1433
  margin: e.spacing(0.5),
1396
1434
  padding: e.spacing(1.25),
1397
1435
  minWidth: 24,
1398
1436
  color: e.palette.action.active,
1399
1437
  border: 0,
1400
1438
  borderRadius: e.shape.borderRadius,
1401
- [`&.${Ce.disabled}`]: {
1439
+ [`&.${Le.disabled}`]: {
1402
1440
  border: 0
1403
1441
  }
1404
1442
  },
1405
- [`& .${Ce.middleButton},& .${Ce.lastButton}`]: {
1443
+ [`& .${Le.middleButton},& .${Le.lastButton}`]: {
1406
1444
  marginLeft: -1,
1407
1445
  borderLeft: "1px solid transparent"
1408
1446
  }
1409
1447
  }));
1410
- function mn({
1448
+ function $t({
1411
1449
  onClick: e,
1412
- icon: n = void 0,
1413
- text: t = void 0,
1414
- size: r = "small",
1415
- variant: a = void 0,
1450
+ icon: t = void 0,
1451
+ text: n = void 0,
1452
+ size: a = "small",
1453
+ variant: r = void 0,
1416
1454
  color: l = "inherit",
1417
- tooltip: u = void 0,
1455
+ tooltip: c = void 0,
1418
1456
  ariaLabel: d = void 0,
1419
- children: i = void 0,
1457
+ children: s = void 0,
1420
1458
  disabled: o = !1
1421
1459
  }) {
1422
- return i ? /* @__PURE__ */ s(
1423
- nr,
1460
+ return s ? /* @__PURE__ */ i(
1461
+ ca,
1424
1462
  {
1425
- size: typeof r == "string" ? r : "small",
1426
- variant: a,
1463
+ size: typeof a == "string" ? a : "small",
1464
+ variant: r,
1427
1465
  color: l,
1428
- startIcon: n,
1429
- text: t,
1466
+ startIcon: t,
1467
+ text: n,
1430
1468
  disabled: o,
1431
- children: i
1469
+ children: s
1432
1470
  }
1433
- ) : t ? /* @__PURE__ */ T(
1434
- Z,
1471
+ ) : n ? /* @__PURE__ */ j(
1472
+ ae,
1435
1473
  {
1436
- size: typeof r == "string" ? r : "small",
1437
- variant: a,
1474
+ size: typeof a == "string" ? a : "small",
1475
+ variant: r,
1438
1476
  color: l,
1439
1477
  "aria-label": d,
1440
1478
  onClick: e,
1441
- startIcon: n,
1479
+ startIcon: t,
1442
1480
  disabled: o,
1443
1481
  children: [
1444
- u && /* @__PURE__ */ s(Se, { placement: "bottom-start", title: u, children: /* @__PURE__ */ s("span", { children: t }) }),
1445
- !u && t
1482
+ c && /* @__PURE__ */ i($e, { placement: "bottom-start", title: c, children: /* @__PURE__ */ i("span", { children: n }) }),
1483
+ !c && n
1446
1484
  ]
1447
1485
  }
1448
- ) : /* @__PURE__ */ T(
1449
- Z,
1486
+ ) : /* @__PURE__ */ j(
1487
+ ae,
1450
1488
  {
1451
- size: typeof r == "string" ? r : "small",
1452
- variant: a,
1489
+ size: typeof a == "string" ? a : "small",
1490
+ variant: r,
1453
1491
  color: l,
1454
1492
  "aria-label": d,
1455
1493
  onClick: e,
1456
1494
  disabled: o,
1457
1495
  sx: {
1458
- height: typeof r == "number" ? `${r}px` : void 0,
1459
- width: typeof r == "number" ? `${r}px` : void 0
1496
+ height: typeof a == "number" ? `${a}px` : void 0,
1497
+ width: typeof a == "number" ? `${a}px` : void 0
1460
1498
  },
1461
1499
  children: [
1462
- u && /* @__PURE__ */ s(Se, { placement: "bottom-start", title: u, children: /* @__PURE__ */ s("span", { children: n }) }),
1463
- !u && n
1500
+ c && /* @__PURE__ */ i($e, { placement: "bottom-start", title: c, children: /* @__PURE__ */ i("span", { children: t }) }),
1501
+ !c && t
1464
1502
  ]
1465
1503
  }
1466
1504
  );
1467
1505
  }
1468
- function hr({
1506
+ function Ca({
1469
1507
  buttons: e,
1470
- size: n = "small",
1471
- ariaLabel: t = void 0,
1472
- orientation: r = "horizontal"
1508
+ size: t = "small",
1509
+ ariaLabel: n = void 0,
1510
+ orientation: a = "horizontal"
1473
1511
  }) {
1474
- return /* @__PURE__ */ s(mr, { size: n, "aria-label": t, orientation: r, children: e.map((a, l) => /* @__PURE__ */ s(
1475
- mn,
1512
+ return /* @__PURE__ */ i(va, { size: t, "aria-label": n, orientation: a, children: e.map((r, l) => /* @__PURE__ */ i(
1513
+ $t,
1476
1514
  {
1477
- onClick: a.onClick,
1478
- icon: a.icon,
1479
- text: a.text,
1480
- size: a.size,
1481
- variant: a.variant,
1482
- color: a.color,
1483
- tooltip: a.tooltip,
1484
- ariaLabel: a.ariaLabel,
1485
- disabled: a.disabled,
1486
- children: a.children
1515
+ onClick: r.onClick,
1516
+ icon: r.icon,
1517
+ text: r.text,
1518
+ size: r.size,
1519
+ variant: r.variant,
1520
+ color: r.color,
1521
+ tooltip: r.tooltip,
1522
+ ariaLabel: r.ariaLabel,
1523
+ disabled: r.disabled,
1524
+ children: r.children
1487
1525
  },
1488
1526
  l
1489
1527
  )) });
1490
1528
  }
1491
- function br({
1529
+ function $a({
1492
1530
  value: e,
1493
- onChange: n,
1494
- size: t = "small",
1495
- ariaLabel: r = void 0,
1496
- exclusive: a = void 0,
1531
+ onChange: t,
1532
+ size: n = "small",
1533
+ ariaLabel: a = void 0,
1534
+ exclusive: r = void 0,
1497
1535
  buttons: l,
1498
- orientation: u = "horizontal"
1536
+ orientation: c = "horizontal"
1499
1537
  }) {
1500
- return /* @__PURE__ */ s(
1501
- gr,
1538
+ return /* @__PURE__ */ i(
1539
+ Na,
1502
1540
  {
1503
- size: t,
1541
+ size: n,
1504
1542
  value: e,
1505
- onChange: (d, i) => n(i),
1506
- "aria-label": r,
1507
- exclusive: a,
1508
- orientation: u,
1509
- children: l.map((d, i) => /* @__PURE__ */ T(
1510
- On,
1543
+ onChange: (d, s) => t(s),
1544
+ "aria-label": a,
1545
+ exclusive: r,
1546
+ orientation: c,
1547
+ children: l.map((d, s) => /* @__PURE__ */ j(
1548
+ Xt,
1511
1549
  {
1512
- size: typeof t == "string" ? t : "small",
1550
+ size: typeof n == "string" ? n : "small",
1513
1551
  value: d.value,
1514
1552
  "aria-label": d.ariaLabel,
1515
1553
  sx: {
1516
- height: typeof t == "number" ? `${t}px` : void 0,
1517
- width: typeof t == "number" ? `${t}px` : void 0,
1518
- padding: d.size === "small" || typeof t == "number" ? 1 : void 0,
1519
- margin: d.size === "small" || typeof t == "number" ? 0 : void 0
1554
+ height: typeof n == "number" ? `${n}px` : void 0,
1555
+ width: typeof n == "number" ? `${n}px` : void 0,
1556
+ padding: d.size === "small" || typeof n == "number" ? 1 : void 0,
1557
+ margin: d.size === "small" || typeof n == "number" ? 0 : void 0
1520
1558
  },
1521
1559
  disabled: d.disabled,
1522
1560
  children: [
1523
- d.tooltip && /* @__PURE__ */ s(Se, { placement: "bottom-start", title: d.tooltip, children: /* @__PURE__ */ s("span", { children: d.icon }) }),
1561
+ d.tooltip && /* @__PURE__ */ i($e, { placement: "bottom-start", title: d.tooltip, children: /* @__PURE__ */ i("span", { children: d.icon }) }),
1524
1562
  !d.tooltip && d.icon
1525
1563
  ]
1526
1564
  },
1527
- i
1565
+ s
1528
1566
  ))
1529
1567
  }
1530
1568
  );
1531
1569
  }
1532
- function Tr({
1570
+ function Ya({
1533
1571
  items: e,
1534
- height: n = 34,
1535
- width: t = 34,
1536
- justifyContent: r = "left",
1537
- borderSize: a = 1,
1572
+ height: t = 34,
1573
+ width: n = 34,
1574
+ justifyContent: a = "left",
1575
+ borderSize: r = 1,
1538
1576
  padding: l = 1,
1539
- backgroundColor: u = void 0,
1577
+ backgroundColor: c = void 0,
1540
1578
  orientation: d = "horizontal"
1541
1579
  }) {
1542
- return /* @__PURE__ */ s(
1543
- yn,
1580
+ return /* @__PURE__ */ i(
1581
+ Ht,
1544
1582
  {
1545
1583
  elevation: 0,
1546
1584
  sx: {
1547
1585
  display: "flex",
1548
1586
  alignItems: "center",
1549
- justifyContent: r,
1550
- border: (i) => `${a}px solid ${i.palette.divider}`,
1587
+ justifyContent: a,
1588
+ border: (s) => `${r}px solid ${s.palette.divider}`,
1551
1589
  flexWrap: "wrap",
1552
- height: d === "horizontal" ? `${n}px` : "100%",
1553
- minHeight: d === "horizontal" ? `${n}px` : void 0,
1554
- width: d === "vertical" ? `${t}px` : "100%",
1555
- minWidth: d === "vertical" ? `${t}px` : void 0,
1590
+ height: d === "horizontal" ? `${t}px` : "100%",
1591
+ minHeight: d === "horizontal" ? `${t}px` : void 0,
1592
+ width: d === "vertical" ? `${n}px` : "100%",
1593
+ minWidth: d === "vertical" ? `${n}px` : void 0,
1556
1594
  paddingLeft: d === "horizontal" ? l : 0,
1557
1595
  paddingRight: d === "horizontal" ? l : 0,
1558
1596
  paddingTop: d === "vertical" ? l : 0,
1559
1597
  paddingBottom: d === "vertical" ? l : 0,
1560
1598
  borderRadius: "0px",
1561
- backgroundColor: u
1599
+ backgroundColor: c
1562
1600
  },
1563
- children: e.map((i, o) => i.label ? (
1564
- // eslint-disable-next-line react/no-array-index-key
1565
- /* @__PURE__ */ s(nn, { variant: i.label.variant, component: "div", children: i.label.text }, o)
1566
- ) : i.toggleButtonGroup ? /* @__PURE__ */ s(
1567
- br,
1601
+ children: e.map((s, o) => s.label ? /* @__PURE__ */ i(ct, { variant: s.label.variant, component: "div", children: s.label.text }, o) : s.toggleButtonGroup ? /* @__PURE__ */ i(
1602
+ $a,
1568
1603
  {
1569
- value: i.toggleButtonGroup.value,
1570
- onChange: i.toggleButtonGroup.onChange,
1571
- ariaLabel: i.toggleButtonGroup.ariaLabel,
1572
- exclusive: i.toggleButtonGroup.exclusive,
1573
- buttons: i.toggleButtonGroup.buttons,
1604
+ value: s.toggleButtonGroup.value,
1605
+ onChange: s.toggleButtonGroup.onChange,
1606
+ ariaLabel: s.toggleButtonGroup.ariaLabel,
1607
+ exclusive: s.toggleButtonGroup.exclusive,
1608
+ buttons: s.toggleButtonGroup.buttons,
1574
1609
  orientation: d
1575
1610
  },
1576
1611
  o
1577
- ) : i.button ? /* @__PURE__ */ s(
1578
- mn,
1612
+ ) : s.button ? /* @__PURE__ */ i(
1613
+ $t,
1579
1614
  {
1580
- onClick: i.button.onClick,
1581
- icon: i.button.icon,
1582
- text: i.button.text,
1583
- variant: i.button.variant,
1584
- color: i.button.color,
1585
- tooltip: i.button.tooltip,
1586
- ariaLabel: i.button.ariaLabel,
1587
- disabled: i.button.disabled
1615
+ onClick: s.button.onClick,
1616
+ icon: s.button.icon,
1617
+ text: s.button.text,
1618
+ variant: s.button.variant,
1619
+ color: s.button.color,
1620
+ tooltip: s.button.tooltip,
1621
+ ariaLabel: s.button.ariaLabel,
1622
+ disabled: s.button.disabled
1588
1623
  },
1589
1624
  o
1590
- ) : i.buttonGroup ? (
1591
- // eslint-disable-next-line react/no-array-index-key
1592
- /* @__PURE__ */ s(
1593
- hr,
1594
- {
1595
- ariaLabel: i.buttonGroup.ariaLabel,
1596
- buttons: i.buttonGroup.buttons,
1597
- orientation: d
1598
- },
1599
- o
1600
- )
1601
- ) : i.other)
1625
+ ) : s.buttonGroup ? /* @__PURE__ */ i(
1626
+ Ca,
1627
+ {
1628
+ ariaLabel: s.buttonGroup.ariaLabel,
1629
+ buttons: s.buttonGroup.buttons,
1630
+ orientation: d
1631
+ },
1632
+ o
1633
+ ) : s.other)
1602
1634
  }
1603
1635
  );
1604
1636
  }
1605
- function qr({ options: e, onSelect: n, children: t = void 0 }) {
1606
- const [r, a] = we.useState(null), l = w(
1607
- (i) => {
1608
- e.length !== 0 && (i.preventDefault(), a(
1609
- r === null ? {
1610
- mouseX: i.clientX + 2,
1611
- mouseY: i.clientY - 6
1637
+ function Ja({ options: e, onSelect: t, children: n = void 0 }) {
1638
+ const [a, r] = Ue.useState(null), l = w(
1639
+ (s) => {
1640
+ e.length !== 0 && (s.preventDefault(), r(
1641
+ a === null ? {
1642
+ mouseX: s.clientX + 2,
1643
+ mouseY: s.clientY - 6
1612
1644
  } : (
1613
1645
  // repeated contextmenu when it is already open closes it with Chrome 84 on Ubuntu
1614
1646
  // Other native context menus might behave different.
@@ -1617,1150 +1649,1275 @@ function qr({ options: e, onSelect: n, children: t = void 0 }) {
1617
1649
  )
1618
1650
  ));
1619
1651
  },
1620
- [r, e.length]
1621
- ), u = w(() => {
1622
- a(null);
1652
+ [a, e.length]
1653
+ ), c = w(() => {
1654
+ r(null);
1623
1655
  }, []), d = w(
1624
- (i) => {
1625
- n(i), u();
1656
+ (s) => {
1657
+ t(s), c();
1626
1658
  },
1627
- [u, n]
1659
+ [c, t]
1628
1660
  );
1629
- return /* @__PURE__ */ T("div", { onContextMenu: l, style: { cursor: "context-menu" }, children: [
1630
- t,
1631
- /* @__PURE__ */ s(
1632
- Pn,
1661
+ return /* @__PURE__ */ j("div", { onContextMenu: l, style: { cursor: "context-menu" }, children: [
1662
+ n,
1663
+ /* @__PURE__ */ i(
1664
+ Kt,
1633
1665
  {
1634
- open: r !== null,
1635
- onClose: u,
1666
+ open: a !== null,
1667
+ onClose: c,
1636
1668
  anchorReference: "anchorPosition",
1637
- anchorPosition: r !== null ? { top: r.mouseY, left: r.mouseX } : void 0,
1638
- children: e.map((i) => /* @__PURE__ */ T(We, { onClick: () => d(i.value), children: [
1639
- i.icon && /* @__PURE__ */ s(jn, { children: i.icon }),
1640
- /* @__PURE__ */ s(ye, { children: i.displayText }),
1641
- i.shortcut && /* @__PURE__ */ s(ye, { sx: { pl: 2, textAlign: "right" }, children: i.shortcut })
1642
- ] }, i.value))
1669
+ anchorPosition: a !== null ? { top: a.mouseY, left: a.mouseX } : void 0,
1670
+ children: e.map((s) => /* @__PURE__ */ j(ye, { onClick: () => d(s.value), children: [
1671
+ s.icon && /* @__PURE__ */ i(Qt, { children: s.icon }),
1672
+ /* @__PURE__ */ i(Xe, { children: s.displayText }),
1673
+ s.shortcut && /* @__PURE__ */ i(Xe, { sx: { pl: 2, textAlign: "right" }, children: s.shortcut })
1674
+ ] }, s.value))
1643
1675
  }
1644
1676
  )
1645
1677
  ] });
1646
1678
  }
1647
- function pr({
1679
+ function Fa({
1648
1680
  canIdentifier: e,
1649
- canIdentifierType: n,
1650
- onCanIdentifierChange: t,
1651
- onErrorsChange: r = void 0,
1652
- showSelectMessageDialogChange: a = void 0,
1653
- showSelectSignalDialogChange: l = void 0,
1654
- disabled: u = !1,
1655
- disableSelectMessageButton: d = !1,
1656
- disableSelectSignalButton: i = !1,
1657
- hideSection: o = !1,
1658
- hideSelectMessageButton: g = !1,
1659
- showSelectSignalButton: c = !1,
1660
- collapsible: I = !1,
1661
- collapsed: N = !1,
1662
- collapsedChange: m = void 0
1681
+ canIdentifierType: t,
1682
+ onCanIdentifierChange: n,
1683
+ onErrorsChange: a = void 0,
1684
+ onSignalChange: r = void 0,
1685
+ disabled: l = !1,
1686
+ parentDialogTitle: c = void 0,
1687
+ fullScreen: d = !1,
1688
+ nodeIdentifier: s = void 0,
1689
+ disableSelectMessageButton: o = !1,
1690
+ disableSelectSignalButton: b = !1,
1691
+ hideSection: m = !1,
1692
+ hideSelectMessageButton: f = !1,
1693
+ showSelectSignalButton: F = !1,
1694
+ collapsible: $ = !1,
1695
+ collapsed: v = !1,
1696
+ collapsedChange: g = void 0
1663
1697
  }) {
1664
- const f = ne(), h = le(), F = de(), p = de(), L = Ne(F, p), [S, v] = U(!1);
1665
- z(() => {
1666
- r && r(S);
1667
- }, [S, r]);
1668
- const [M, b] = U(!1), [$, R] = U(n);
1669
- z(() => {
1670
- R(n);
1671
- }, [n]);
1672
- const k = w((P) => {
1673
- R(P ? "extended" : "standard");
1674
- }, []), _ = w(
1675
- (P) => {
1676
- let A = P;
1677
- const C = parseInt(A, A.startsWith("0x") ? 16 : h);
1678
- if ($ === "extended") {
1679
- if (Number.isNaN(C) || C < 0 || C > 536870911)
1680
- return Number.isNaN(C) || t(`${C.toString(h).toUpperCase()}`, $), { val: P, err: !0 };
1681
- } else if ($ === "standard" && (Number.isNaN(C) || C < 0 || C > 2047))
1682
- return Number.isNaN(C) || t(`${C.toString(h).toUpperCase()}`, $), { val: P, err: !0 };
1683
- return t(`${C.toString(h).toUpperCase()}`, $), b(A.startsWith("0x")), { val: P, err: !1 };
1698
+ const u = le(), h = me(), C = he(), S = he(), I = Me(C, S), [N, M] = U(!1);
1699
+ X(() => {
1700
+ a && a(N);
1701
+ }, [N, a]);
1702
+ const [y, H] = U(!1), [P, Q] = U(t);
1703
+ X(() => {
1704
+ Q(t);
1705
+ }, [t]);
1706
+ const Z = w((E) => {
1707
+ Q(E ? "extended" : "standard");
1708
+ }, []), L = w(
1709
+ (E) => {
1710
+ let B = E;
1711
+ const z = parseInt(B, B.startsWith("0x") ? 16 : h);
1712
+ if (P === "extended") {
1713
+ if (Number.isNaN(z) || z < 0 || z > 536870911)
1714
+ return Number.isNaN(z) || (r ? r(`${z.toString(h).toUpperCase()}`, P, void 0) : n(`${z.toString(h).toUpperCase()}`, P)), { val: E, err: !0 };
1715
+ } else if (P === "standard" && (Number.isNaN(z) || z < 0 || z > 2047))
1716
+ return Number.isNaN(z) || (r ? r(`${z.toString(h).toUpperCase()}`, P, void 0) : n(`${z.toString(h).toUpperCase()}`, P)), { val: E, err: !0 };
1717
+ return r ? r(`${z.toString(h).toUpperCase()}`, P, void 0) : n(`${z.toString(h).toUpperCase()}`, P), H(B.startsWith("0x")), { val: E, err: !1 };
1684
1718
  },
1685
- [$, h, t]
1686
- ), W = w(
1687
- (P) => {
1688
- if (P !== $) {
1689
- let A = !1;
1690
- const C = parseInt(e, e.startsWith("0x") ? 16 : h);
1691
- P === "standard" ? (Number.isNaN(C) || C < 0 || C > 2047) && (A = !0) : P === "extended" && (Number.isNaN(C) || C < 0 || C > 536870911) && (A = !0), t(e, P), v(A);
1719
+ [P, h, n, r]
1720
+ ), x = w(
1721
+ (E) => {
1722
+ if (E !== P) {
1723
+ let B = !1;
1724
+ const z = parseInt(e, e.startsWith("0x") ? 16 : h);
1725
+ E === "standard" ? (Number.isNaN(z) || z < 0 || z > 2047) && (B = !0) : E === "extended" && (Number.isNaN(z) || z < 0 || z > 536870911) && (B = !0), r ? r(e, E, void 0) : n(e, E), M(B);
1692
1726
  }
1693
1727
  },
1694
- [$, e, t, h]
1695
- ), j = O(() => {
1696
- const P = parseInt(e, e.startsWith("0x") ? 16 : h);
1697
- return M ? `0x${P.toString(16).toUpperCase()}` : P.toString(h).toUpperCase();
1698
- }, [M, e, h]), X = O(
1699
- () => /* @__PURE__ */ T(ue, { spacing: 4, children: [
1700
- /* @__PURE__ */ s(
1701
- re,
1728
+ [P, e, n, r, h]
1729
+ ), _ = D(() => {
1730
+ const E = parseInt(e, e.startsWith("0x") ? 16 : h);
1731
+ return y ? `0x${E.toString(16).toUpperCase()}` : E.toString(h).toUpperCase();
1732
+ }, [y, e, h]), [A, R] = U(!1), [p, W] = U(!1), O = w(
1733
+ (E) => {
1734
+ var B, z, q, K;
1735
+ r ? r(
1736
+ `${E.id.toString(h).toUpperCase()}`,
1737
+ ((z = (B = E.canFrameFlags) == null ? void 0 : B.flags) == null ? void 0 : z.includes(ne.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard",
1738
+ void 0
1739
+ ) : n(
1740
+ `${E.id.toString(h).toUpperCase()}`,
1741
+ ((K = (q = E.canFrameFlags) == null ? void 0 : q.flags) == null ? void 0 : K.includes(ne.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard"
1742
+ );
1743
+ },
1744
+ [n, r, h]
1745
+ ), ee = w(
1746
+ (E, B) => {
1747
+ var z, q, K, V;
1748
+ r ? r(
1749
+ `${E.id.toString(h).toUpperCase()}`,
1750
+ ((q = (z = E.canFrameFlags) == null ? void 0 : z.flags) == null ? void 0 : q.includes(ne.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard",
1751
+ B
1752
+ ) : n(
1753
+ `${E.id.toString(h).toUpperCase()}`,
1754
+ ((V = (K = E.canFrameFlags) == null ? void 0 : K.flags) == null ? void 0 : V.includes(ne.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard"
1755
+ );
1756
+ },
1757
+ [n, r, h]
1758
+ ), J = /* @__PURE__ */ j(ue, { children: [
1759
+ /* @__PURE__ */ j(ce, { spacing: 4, children: [
1760
+ /* @__PURE__ */ i(
1761
+ oe,
1702
1762
  {
1703
1763
  id: "constant-id",
1704
1764
  fullWidth: !0,
1705
- value: j,
1706
- error: S,
1707
- onValidate: _,
1708
- onErrorChange: v,
1709
- disabled: u
1765
+ value: _,
1766
+ error: N,
1767
+ onValidate: L,
1768
+ onErrorChange: M,
1769
+ disabled: l
1710
1770
  }
1711
1771
  ),
1712
- /* @__PURE__ */ s(
1713
- sn,
1772
+ /* @__PURE__ */ i(
1773
+ ht,
1714
1774
  {
1715
1775
  id: "id-type",
1716
- label: f.getString("LabelUseExtendedIdentifier"),
1717
- checked: $ === "extended",
1718
- onChange: (P) => {
1719
- k(P), W(P ? "extended" : "standard");
1776
+ label: u.getString("LabelUseExtendedIdentifier"),
1777
+ checked: P === "extended",
1778
+ onChange: (E) => {
1779
+ Z(E), x(E ? "extended" : "standard");
1720
1780
  },
1721
- disabled: u
1781
+ disabled: l
1722
1782
  }
1723
1783
  ),
1724
- !g && /* @__PURE__ */ s(oe, { columnItem: F, width: L, children: /* @__PURE__ */ s(
1725
- Z,
1784
+ !f && F !== !0 && /* @__PURE__ */ i(pe, { columnItem: C, width: I, children: /* @__PURE__ */ i(
1785
+ ae,
1726
1786
  {
1727
- disabled: d,
1728
- onClick: () => {
1729
- a && a(!0);
1730
- },
1787
+ disabled: o,
1788
+ onClick: () => R(!0),
1731
1789
  variant: "outlined",
1732
1790
  size: "large",
1733
- children: f.getString("ButtonSelectMessage")
1791
+ children: u.getString("ButtonSelectMessage")
1734
1792
  }
1735
1793
  ) }),
1736
- c && /* @__PURE__ */ s(oe, { columnItem: p, width: L, children: /* @__PURE__ */ s(
1737
- Z,
1794
+ F && /* @__PURE__ */ i(pe, { columnItem: S, width: I, children: /* @__PURE__ */ i(
1795
+ ae,
1738
1796
  {
1739
- disabled: i,
1740
- onClick: () => {
1741
- l && l(!0);
1742
- },
1797
+ disabled: b,
1798
+ onClick: () => W(!0),
1743
1799
  variant: "outlined",
1744
1800
  size: "large",
1745
- children: f.getString("ButtonSelectSignal")
1801
+ children: u.getString("ButtonSelectSignal")
1746
1802
  }
1747
1803
  ) })
1748
1804
  ] }),
1749
- [j, $, u, S, f, W, _]
1750
- );
1751
- return o ? X : /* @__PURE__ */ s(
1752
- me,
1805
+ !f && F !== !0 && /* @__PURE__ */ i(
1806
+ Re,
1807
+ {
1808
+ parentDialogTitle: c,
1809
+ open: A,
1810
+ nodeIdentifier: s,
1811
+ onClose: () => R(!1),
1812
+ onSelect: O,
1813
+ modal: !d
1814
+ }
1815
+ ),
1816
+ F && /* @__PURE__ */ i(
1817
+ Pe,
1818
+ {
1819
+ parentDialogTitle: c,
1820
+ open: p,
1821
+ nodeIdentifier: s,
1822
+ onClose: () => W(!1),
1823
+ onSelect: ee,
1824
+ modal: !d
1825
+ }
1826
+ )
1827
+ ] });
1828
+ return m ? J : /* @__PURE__ */ i(
1829
+ xe,
1753
1830
  {
1754
- text: f.getString("LabelCanIdentifier"),
1831
+ text: u.getString("LabelCanIdentifier"),
1755
1832
  summary: e,
1756
- collapsible: I,
1757
- collapsed: N,
1758
- collapsedChange: m,
1759
- children: X
1833
+ collapsible: $,
1834
+ collapsed: v,
1835
+ collapsedChange: g,
1836
+ children: J
1760
1837
  }
1761
1838
  );
1762
1839
  }
1763
- function Hr({
1840
+ function Za({
1764
1841
  frame: e,
1765
- onFrameChange: n,
1766
- onErrorsChange: t = void 0,
1767
- showSelectMessageDialogChange: r = void 0,
1768
- showSelectSignalDialogChange: a = void 0,
1769
- disableSelectMessageButton: l = !1,
1770
- disableSelectSignalButton: u = !1,
1842
+ onFrameChange: t,
1843
+ onErrorsChange: n = void 0,
1844
+ parentDialogTitle: a = void 0,
1845
+ fullScreen: r = !1,
1846
+ nodeIdentifier: l = void 0,
1847
+ disableSelectMessageButton: c = !1,
1771
1848
  hideSection: d = !1,
1772
- hideSelectMessageButton: i = !1,
1773
- showSelectSignalButton: o = !1,
1774
- collapsible: g = !1,
1775
- collapsed: c = !1,
1776
- collapsedChange: I = void 0
1849
+ hideSelectMessageButton: s = !1,
1850
+ collapsible: o = !1,
1851
+ collapsed: b = !1,
1852
+ collapsedChange: m = void 0
1777
1853
  }) {
1778
- var F;
1779
- const N = le(), m = O(
1854
+ var g;
1855
+ const f = me(), F = D(
1780
1856
  () => {
1781
- var p, L;
1782
- return ((L = (p = e.canFrameFlags) == null ? void 0 : p.flags) == null ? void 0 : L.includes(ee.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard";
1857
+ var u, h;
1858
+ return ((h = (u = e.canFrameFlags) == null ? void 0 : u.flags) == null ? void 0 : h.includes(ne.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard";
1783
1859
  },
1784
- [(F = e.canFrameFlags) == null ? void 0 : F.flags]
1785
- ), f = O(() => `${(e.id ?? 0).toString(N).toUpperCase()}`, [m, e.id, N]), h = w(
1786
- (p, L) => {
1787
- var $;
1788
- const S = parseInt(p, p.startsWith("0x") ? 16 : N), v = ($ = e.canFrameFlags) != null && $.flags ? { flags: [...e.canFrameFlags.flags] } : { flags: [] }, M = v.flags.indexOf(ee.CAN_FRAME_FLAG_STD);
1789
- M !== -1 && v.flags.splice(M, 1);
1790
- const b = v.flags.indexOf(ee.CAN_FRAME_FLAG_EXT);
1791
- if (b !== -1 && v.flags.splice(b, 1), L === "extended" ? v.flags.push(ee.CAN_FRAME_FLAG_EXT) : L === "standard" && v.flags.push(ee.CAN_FRAME_FLAG_STD), S !== e.id || !ge(v, e.canFrameFlags)) {
1792
- const R = { ...e };
1793
- R.id = S, R.canFrameFlags = v, n(R);
1860
+ [(g = e.canFrameFlags) == null ? void 0 : g.flags]
1861
+ ), $ = D(() => `${(e.id ?? 0).toString(f).toUpperCase()}`, [e.id, f]), v = w(
1862
+ (u, h) => {
1863
+ var M;
1864
+ const C = parseInt(u, u.startsWith("0x") ? 16 : f), S = (M = e.canFrameFlags) != null && M.flags ? { flags: [...e.canFrameFlags.flags] } : { flags: [] }, I = S.flags.indexOf(ne.CAN_FRAME_FLAG_STD);
1865
+ I !== -1 && S.flags.splice(I, 1);
1866
+ const N = S.flags.indexOf(ne.CAN_FRAME_FLAG_EXT);
1867
+ if (N !== -1 && S.flags.splice(N, 1), h === "extended" ? S.flags.push(ne.CAN_FRAME_FLAG_EXT) : h === "standard" && S.flags.push(ne.CAN_FRAME_FLAG_STD), C !== e.id || !Se(S, e.canFrameFlags)) {
1868
+ const y = { ...e };
1869
+ y.id = C, y.canFrameFlags = S, t(y);
1794
1870
  }
1795
1871
  },
1796
- [e, N, n]
1872
+ [e, f, t]
1797
1873
  );
1798
- return /* @__PURE__ */ s(
1799
- pr,
1874
+ return /* @__PURE__ */ i(
1875
+ Fa,
1800
1876
  {
1801
- canIdentifier: f,
1802
- canIdentifierType: m,
1803
- onCanIdentifierChange: h,
1804
- onErrorsChange: t,
1805
- showSelectMessageDialogChange: r,
1806
- showSelectSignalDialogChange: a,
1807
- disableSelectMessageButton: l,
1808
- disableSelectSignalButton: u,
1877
+ canIdentifier: $,
1878
+ canIdentifierType: F,
1879
+ onCanIdentifierChange: v,
1880
+ onErrorsChange: n,
1881
+ parentDialogTitle: a,
1882
+ fullScreen: r,
1883
+ nodeIdentifier: l,
1884
+ disableSelectMessageButton: c,
1809
1885
  hideSection: d,
1810
- hideSelectMessageButton: i,
1811
- showSelectSignalButton: o,
1812
- collapsible: g,
1813
- collapsed: c,
1814
- collapsedChange: I
1886
+ hideSelectMessageButton: s,
1887
+ collapsible: o,
1888
+ collapsed: b,
1889
+ collapsedChange: m
1815
1890
  }
1816
1891
  );
1817
1892
  }
1818
- function Sr({
1893
+ function Ma({
1819
1894
  canIdentifier: e,
1820
- identifierGeneratorType: n,
1821
- minCanIdentifier: t,
1822
- maxCanIdentifier: r,
1823
- canIdentifierType: a,
1895
+ identifierGeneratorType: t,
1896
+ minCanIdentifier: n,
1897
+ maxCanIdentifier: a,
1898
+ canIdentifierType: r,
1824
1899
  onChange: l,
1825
- onErrorsChange: u = void 0,
1900
+ onErrorsChange: c = void 0,
1826
1901
  canIdentifierGeneratorSettingsError: d = void 0,
1827
- disabled: i = !1,
1902
+ disabled: s = !1,
1828
1903
  collapsible: o = !1,
1829
- collapsed: g = !1,
1830
- collapsedChange: c = void 0,
1831
- showSelectMessageDialogChange: I,
1832
- showSignalValuesTable: N
1904
+ collapsed: b = !1,
1905
+ collapsedChange: m = void 0,
1906
+ showSignalValuesTable: f,
1907
+ parentDialogTitle: F = void 0,
1908
+ fullScreen: $ = !1,
1909
+ nodeIdentifier: v = void 0
1833
1910
  }) {
1834
- const m = ne(), f = le(), [h, F] = U(!1), [p, L] = U(!1), [S, v] = U(!1), [M, b] = U(!1), [$, R] = U(!1), [k, _] = U(!1), [W, j] = U(a);
1835
- z(() => {
1836
- j(a);
1837
- }, [a]);
1838
- const X = w((E) => {
1839
- j(E ? "extended" : "standard");
1840
- }, []), P = w(
1841
- (E) => {
1842
- let H = E;
1843
- const q = parseInt(H, H.startsWith("0x") ? 16 : f);
1844
- if (W === "extended") {
1845
- if (Number.isNaN(q) || q < 0 || q > 536870911)
1846
- return Number.isNaN(q) || l(
1847
- `${q.toString(f).toUpperCase()}`,
1848
- n,
1911
+ const g = le(), u = me(), [h, C] = U(!1), [S, I] = U(!1), [N, M] = U(!1), [y, H] = U(!1), [P, Q] = U(!1), [Z, L] = U(!1), [x, _] = U(r);
1912
+ X(() => {
1913
+ _(r);
1914
+ }, [r]);
1915
+ const A = w((k) => {
1916
+ _(k ? "extended" : "standard");
1917
+ }, []), R = w(
1918
+ (k) => {
1919
+ let Y = k;
1920
+ const T = parseInt(Y, Y.startsWith("0x") ? 16 : u);
1921
+ if (x === "extended") {
1922
+ if (Number.isNaN(T) || T < 0 || T > 536870911)
1923
+ return Number.isNaN(T) || l(
1924
+ `${T.toString(u).toUpperCase()}`,
1849
1925
  t,
1850
- r,
1851
- W
1852
- ), { val: E, err: !0 };
1853
- } else if (W === "standard" && (Number.isNaN(q) || q < 0 || q > 2047))
1854
- return Number.isNaN(q) || l(
1855
- `${q.toString(f).toUpperCase()}`,
1856
- n,
1926
+ n,
1927
+ a,
1928
+ x
1929
+ ), { val: k, err: !0 };
1930
+ } else if (x === "standard" && (Number.isNaN(T) || T < 0 || T > 2047))
1931
+ return Number.isNaN(T) || l(
1932
+ `${T.toString(u).toUpperCase()}`,
1857
1933
  t,
1858
- r,
1859
- W
1860
- ), { val: E, err: !0 };
1934
+ n,
1935
+ a,
1936
+ x
1937
+ ), { val: k, err: !0 };
1861
1938
  return l(
1862
- `${q.toString(f).toUpperCase()}`,
1863
- n,
1939
+ `${T.toString(u).toUpperCase()}`,
1864
1940
  t,
1865
- r,
1866
- W
1867
- ), b(H.startsWith("0x")), { val: E, err: !1 };
1941
+ n,
1942
+ a,
1943
+ x
1944
+ ), H(Y.startsWith("0x")), { val: k, err: !1 };
1868
1945
  },
1869
- [W, n, r, t, f, l]
1870
- ), A = w(
1871
- (E, H, q, J) => {
1872
- let ae = E;
1873
- const Y = parseInt(ae, ae.startsWith("0x") ? 16 : f);
1874
- if (H === "extended") {
1875
- if (Number.isNaN(Y) || Y < 0 || Y > 536870911)
1876
- return Number.isNaN(Y) || q(`${Y.toString(f).toUpperCase()}`), { val: E, err: !0, id: Y };
1877
- } else if (H === "standard" && (Number.isNaN(Y) || Y < 0 || Y > 2047))
1878
- return Number.isNaN(Y) || q(`${Y.toString(f).toUpperCase()}`), { val: E, err: !0, id: Y };
1879
- return q(`${Y.toString(f).toUpperCase()}`), J(ae.startsWith("0x")), { val: E, err: !1, id: Y };
1946
+ [x, t, a, n, u, l]
1947
+ ), p = w(
1948
+ (k, Y, T, G) => {
1949
+ let ie = k;
1950
+ const te = parseInt(ie, ie.startsWith("0x") ? 16 : u);
1951
+ if (Y === "extended") {
1952
+ if (Number.isNaN(te) || te < 0 || te > 536870911)
1953
+ return Number.isNaN(te) || T(`${te.toString(u).toUpperCase()}`), { val: k, err: !0, id: te };
1954
+ } else if (Y === "standard" && (Number.isNaN(te) || te < 0 || te > 2047))
1955
+ return Number.isNaN(te) || T(`${te.toString(u).toUpperCase()}`), { val: k, err: !0, id: te };
1956
+ return T(`${te.toString(u).toUpperCase()}`), G(ie.startsWith("0x")), { val: k, err: !1, id: te };
1880
1957
  },
1881
- [f]
1882
- ), C = w(
1883
- (E) => {
1884
- const H = A(
1885
- E,
1886
- W,
1887
- (J) => l(e, n, J, r, W),
1888
- (J) => R(J)
1889
- ), q = A(
1890
- r,
1891
- W,
1892
- // eslint-disable-next-line @typescript-eslint/no-empty-function
1958
+ [u]
1959
+ ), W = w(
1960
+ (k) => {
1961
+ const Y = p(
1962
+ k,
1963
+ x,
1964
+ (G) => l(e, t, G, a, x),
1965
+ (G) => Q(G)
1966
+ ), T = p(
1967
+ a,
1968
+ x,
1893
1969
  () => {
1894
1970
  },
1895
- // eslint-disable-next-line @typescript-eslint/no-empty-function
1896
1971
  () => {
1897
1972
  }
1898
1973
  );
1899
- return H.id >= q.id ? H.err = !0 : q.err && v(q.err), { val: H.val, err: H.err };
1974
+ return Y.id >= T.id ? Y.err = !0 : T.err && M(T.err), { val: Y.val, err: Y.err };
1900
1975
  },
1901
1976
  [
1902
1977
  e,
1903
- W,
1904
- n,
1905
- r,
1978
+ x,
1979
+ t,
1980
+ a,
1906
1981
  l,
1907
- A
1982
+ p
1908
1983
  ]
1909
- ), x = w(
1910
- (E) => {
1911
- const H = A(
1912
- E,
1913
- W,
1914
- (J) => l(e, n, t, J, W),
1915
- (J) => _(J)
1916
- ), q = A(
1917
- t,
1918
- W,
1919
- // eslint-disable-next-line @typescript-eslint/no-empty-function
1984
+ ), O = w(
1985
+ (k) => {
1986
+ const Y = p(
1987
+ k,
1988
+ x,
1989
+ (G) => l(e, t, n, G, x),
1990
+ (G) => L(G)
1991
+ ), T = p(
1992
+ n,
1993
+ x,
1920
1994
  () => {
1921
1995
  },
1922
- // eslint-disable-next-line @typescript-eslint/no-empty-function
1923
1996
  () => {
1924
1997
  }
1925
1998
  );
1926
- return q.id >= H.id ? H.err = !0 : q.err && L(q.err), { val: H.val, err: H.err };
1999
+ return T.id >= Y.id ? Y.err = !0 : T.err && I(T.err), { val: Y.val, err: Y.err };
1927
2000
  },
1928
2001
  [
1929
2002
  e,
1930
- W,
1931
- n,
2003
+ x,
1932
2004
  t,
2005
+ n,
1933
2006
  l,
1934
- A
2007
+ p
1935
2008
  ]
1936
- ), B = w(
1937
- (E) => {
1938
- if (E !== W) {
1939
- let H = !1, q = e;
1940
- const J = parseInt(q, q.startsWith("0x") ? 16 : f);
1941
- E === "standard" ? ((Number.isNaN(J) || J < 0 || J > 2047) && (H = !0), F(H)) : E === "extended" && ((Number.isNaN(J) || J < 0 || J > 536870911) && (H = !0), F(H));
1942
- let ae = !1, Y = t;
1943
- const ie = parseInt(Y, Y.startsWith("0x") ? 16 : f);
1944
- E === "standard" ? (Number.isNaN(ie) || ie < 0 || ie > 2047) && (ae = !0) : E === "extended" && (Number.isNaN(ie) || ie < 0 || ie > 536870911) && (ae = !0);
1945
- let ve = !1, ke = r;
1946
- const se = parseInt(ke, ke.startsWith("0x") ? 16 : f);
1947
- E === "standard" ? (Number.isNaN(se) || se < 0 || se > 2047) && (ve = !0) : E === "extended" && (Number.isNaN(se) || se < 0 || se > 536870911) && (ve = !0), !Number.isNaN(ie) && !Number.isNaN(se) && ie >= se && (ae = !0, ve = !0), L(ae), v(ve), l(e, n, t, r, E);
2009
+ ), ee = w(
2010
+ (k) => {
2011
+ if (k !== x) {
2012
+ let Y = !1, T = e;
2013
+ const G = parseInt(T, T.startsWith("0x") ? 16 : u);
2014
+ k === "standard" ? ((Number.isNaN(G) || G < 0 || G > 2047) && (Y = !0), C(Y)) : k === "extended" && ((Number.isNaN(G) || G < 0 || G > 536870911) && (Y = !0), C(Y));
2015
+ let ie = !1, te = n;
2016
+ const fe = parseInt(te, te.startsWith("0x") ? 16 : u);
2017
+ k === "standard" ? (Number.isNaN(fe) || fe < 0 || fe > 2047) && (ie = !0) : k === "extended" && (Number.isNaN(fe) || fe < 0 || fe > 536870911) && (ie = !0);
2018
+ let we = !1, je = a;
2019
+ const ge = parseInt(je, je.startsWith("0x") ? 16 : u);
2020
+ k === "standard" ? (Number.isNaN(ge) || ge < 0 || ge > 2047) && (we = !0) : k === "extended" && (Number.isNaN(ge) || ge < 0 || ge > 536870911) && (we = !0), !Number.isNaN(fe) && !Number.isNaN(ge) && fe >= ge && (ie = !0, we = !0), I(ie), M(we), l(e, t, n, a, k);
1948
2021
  }
1949
2022
  },
1950
2023
  [
1951
- W,
2024
+ x,
1952
2025
  e,
1953
- t,
1954
- r,
1955
- l,
1956
2026
  n,
1957
- f
2027
+ a,
2028
+ l,
2029
+ t,
2030
+ u
1958
2031
  ]
1959
- ), y = w(
1960
- (E) => {
1961
- N(E === "constant"), l(e, E, t, r, W);
2032
+ ), J = w(
2033
+ (k) => {
2034
+ f(k === "constant"), l(e, k, n, a, x);
1962
2035
  },
1963
- [W, e, t, r, l]
2036
+ [l, e, n, a, x, f]
1964
2037
  );
1965
- z(() => {
1966
- u && u(
1967
- n === "constant" && h || (n === "random" || n === "scan") && (p || S)
1968
- ), d && (d.current = n === "constant" && h || (n === "random" || n === "scan") && (p || S));
2038
+ X(() => {
2039
+ c && c(
2040
+ t === "constant" && h || (t === "random" || t === "scan") && (S || N)
2041
+ ), d && (d.current = t === "constant" && h || (t === "random" || t === "scan") && (S || N));
1969
2042
  }, [
1970
2043
  h,
1971
2044
  d,
1972
- n,
2045
+ t,
2046
+ N,
1973
2047
  S,
1974
- p,
1975
- u
2048
+ c
1976
2049
  ]);
1977
- const D = de(), K = Ne(D), Q = O(() => {
1978
- const E = parseInt(e, e.startsWith("0x") ? 16 : f);
1979
- return M ? `0x${E.toString(16).toUpperCase()}` : E.toString(f).toUpperCase();
1980
- }, [M, e, f]), G = O(() => {
1981
- const E = parseInt(t, t.startsWith("0x") ? 16 : f);
1982
- return $ ? `0x${E.toString(16).toUpperCase()}` : E.toString(f).toUpperCase();
1983
- }, [$, t, f]), te = O(() => {
1984
- const E = parseInt(r, r.startsWith("0x") ? 16 : f);
1985
- return k ? `0x${E.toString(16).toUpperCase()}` : E.toString(f).toUpperCase();
1986
- }, [k, r, f]);
1987
- return /* @__PURE__ */ s(
1988
- me,
2050
+ const E = he(), B = Me(E), z = D(() => {
2051
+ const k = parseInt(e, e.startsWith("0x") ? 16 : u);
2052
+ return y ? `0x${k.toString(16).toUpperCase()}` : k.toString(u).toUpperCase();
2053
+ }, [y, e, u]), q = D(() => {
2054
+ const k = parseInt(n, n.startsWith("0x") ? 16 : u);
2055
+ return P ? `0x${k.toString(16).toUpperCase()}` : k.toString(u).toUpperCase();
2056
+ }, [P, n, u]), K = D(() => {
2057
+ const k = parseInt(a, a.startsWith("0x") ? 16 : u);
2058
+ return Z ? `0x${k.toString(16).toUpperCase()}` : k.toString(u).toUpperCase();
2059
+ }, [Z, a, u]), [V, re] = U(!1), de = w(
2060
+ (k) => {
2061
+ var G, ie;
2062
+ let Y = `${k.id.toString(u).toUpperCase()}`, T = ((ie = (G = k.canFrameFlags) == null ? void 0 : G.flags) == null ? void 0 : ie.includes(ne.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard";
2063
+ (Y !== e || T !== x) && l(Y, t, n, a, T);
2064
+ },
2065
+ [
2066
+ l,
2067
+ u,
2068
+ e,
2069
+ x,
2070
+ t,
2071
+ n,
2072
+ a
2073
+ ]
2074
+ );
2075
+ return /* @__PURE__ */ j(
2076
+ xe,
1989
2077
  {
1990
- text: m.getString("LabelCanIdentifier"),
1991
- summary: n === "constant" ? e : n === "random" ? `${m.getString("LabelRandom")} ${t}-${r}` : `${m.getString("LabelScan")} ${t}-${r}`,
2078
+ text: g.getString("LabelCanIdentifier"),
2079
+ summary: t === "constant" ? e : t === "random" ? `${g.getString("LabelRandom")} ${n}-${a}` : `${g.getString("LabelScan")} ${n}-${a}`,
1992
2080
  collapsible: o,
1993
- collapsed: g,
1994
- collapsedChange: c,
1995
- children: /* @__PURE__ */ T(
1996
- fn,
1997
- {
1998
- id: "identifier-radio-group",
1999
- value: n,
2000
- onChange: (E) => {
2001
- y(E);
2002
- },
2003
- children: [
2004
- /* @__PURE__ */ T(ue, { spacing: 4, children: [
2005
- /* @__PURE__ */ s(
2006
- fe,
2007
- {
2008
- id: "constant-id-radio",
2009
- value: "constant",
2010
- label: m.getString("LabelConstantIdentifier"),
2011
- sx: { marginLeft: "-11px !important" },
2012
- disabled: i
2013
- }
2014
- ),
2015
- /* @__PURE__ */ s(
2016
- re,
2017
- {
2018
- id: "constant-id",
2019
- fullWidth: !0,
2020
- value: Q,
2021
- error: !i && n === "constant" && h,
2022
- onErrorChange: F,
2023
- onValidate: P,
2024
- disabled: i || n !== "constant",
2025
- required: n === "constant"
2026
- }
2027
- ),
2028
- /* @__PURE__ */ s(
2029
- sn,
2030
- {
2031
- id: "id-type",
2032
- label: m.getString("LabelUseExtendedIdentifier"),
2033
- checked: W === "extended",
2034
- onChange: (E) => {
2035
- X(E), B(E ? "extended" : "standard");
2036
- },
2037
- disabled: i
2038
- }
2039
- ),
2040
- /* @__PURE__ */ s(oe, { columnItem: D, width: K, children: /* @__PURE__ */ s(Z, { onClick: () => I(!0), variant: "outlined", size: "large", children: m.getString("ButtonSelectMessage") }) })
2041
- ] }),
2042
- /* @__PURE__ */ T(ue, { spacing: 4, children: [
2043
- /* @__PURE__ */ s(
2044
- fe,
2045
- {
2046
- id: "random-identifier-radio",
2047
- value: "random",
2048
- label: m.getString("LabelRandomIdentifier"),
2049
- sx: { marginLeft: "-11px !important" },
2050
- disabled: i
2051
- }
2052
- ),
2053
- /* @__PURE__ */ s(
2054
- fe,
2055
- {
2056
- id: "scan-identifier-radio",
2057
- value: "scan",
2058
- label: m.getString("LabelScanIdentifier"),
2059
- disabled: i
2060
- }
2061
- ),
2062
- /* @__PURE__ */ s(
2063
- re,
2064
- {
2065
- id: "identifier-min",
2066
- disabled: i || n !== "random" && n !== "scan",
2067
- required: n === "random" || n === "scan",
2068
- fullWidth: !0,
2069
- value: G,
2070
- error: !i && (n === "random" || n === "scan") && p,
2071
- onErrorChange: L,
2072
- onValidate: C,
2073
- startAdornment: m.getString("LabelFrom"),
2074
- sxStartAdornment: { marginBottom: 0.8 }
2075
- }
2076
- ),
2077
- /* @__PURE__ */ s(
2078
- re,
2079
- {
2080
- id: "identifier-max",
2081
- disabled: i || n !== "random" && n !== "scan",
2082
- required: n === "random" || n === "scan",
2083
- fullWidth: !0,
2084
- value: te,
2085
- error: !i && (n === "random" || n === "scan") && S,
2086
- onErrorChange: v,
2087
- onValidate: x,
2088
- startAdornment: m.getString("LabelTo"),
2089
- sxStartAdornment: { marginBottom: 0.8 }
2090
- }
2091
- )
2092
- ] })
2093
- ]
2094
- }
2095
- )
2081
+ collapsed: b,
2082
+ collapsedChange: m,
2083
+ children: [
2084
+ /* @__PURE__ */ j(
2085
+ vt,
2086
+ {
2087
+ id: "identifier-radio-group",
2088
+ value: t,
2089
+ onChange: (k) => {
2090
+ J(k);
2091
+ },
2092
+ children: [
2093
+ /* @__PURE__ */ j(ce, { spacing: 4, children: [
2094
+ /* @__PURE__ */ i(
2095
+ be,
2096
+ {
2097
+ id: "constant-id-radio",
2098
+ value: "constant",
2099
+ label: g.getString("LabelConstantIdentifier"),
2100
+ sx: { marginLeft: "-11px !important" },
2101
+ disabled: s
2102
+ }
2103
+ ),
2104
+ /* @__PURE__ */ i(
2105
+ oe,
2106
+ {
2107
+ id: "constant-id",
2108
+ fullWidth: !0,
2109
+ value: z,
2110
+ error: !s && t === "constant" && h,
2111
+ onErrorChange: C,
2112
+ onValidate: R,
2113
+ disabled: s || t !== "constant",
2114
+ required: t === "constant"
2115
+ }
2116
+ ),
2117
+ /* @__PURE__ */ i(
2118
+ ht,
2119
+ {
2120
+ id: "id-type",
2121
+ label: g.getString("LabelUseExtendedIdentifier"),
2122
+ checked: x === "extended",
2123
+ onChange: (k) => {
2124
+ A(k), ee(k ? "extended" : "standard");
2125
+ },
2126
+ disabled: s
2127
+ }
2128
+ ),
2129
+ /* @__PURE__ */ i(pe, { columnItem: E, width: B, children: /* @__PURE__ */ i(ae, { onClick: () => re(!0), variant: "outlined", size: "large", children: g.getString("ButtonSelectMessage") }) })
2130
+ ] }),
2131
+ /* @__PURE__ */ j(ce, { spacing: 4, children: [
2132
+ /* @__PURE__ */ i(
2133
+ be,
2134
+ {
2135
+ id: "random-identifier-radio",
2136
+ value: "random",
2137
+ label: g.getString("LabelRandomIdentifier"),
2138
+ sx: { marginLeft: "-11px !important" },
2139
+ disabled: s
2140
+ }
2141
+ ),
2142
+ /* @__PURE__ */ i(
2143
+ be,
2144
+ {
2145
+ id: "scan-identifier-radio",
2146
+ value: "scan",
2147
+ label: g.getString("LabelScanIdentifier"),
2148
+ disabled: s
2149
+ }
2150
+ ),
2151
+ /* @__PURE__ */ i(
2152
+ oe,
2153
+ {
2154
+ id: "identifier-min",
2155
+ disabled: s || t !== "random" && t !== "scan",
2156
+ required: t === "random" || t === "scan",
2157
+ fullWidth: !0,
2158
+ value: q,
2159
+ error: !s && (t === "random" || t === "scan") && S,
2160
+ onErrorChange: I,
2161
+ onValidate: W,
2162
+ startAdornment: g.getString("LabelFrom"),
2163
+ sxStartAdornment: { marginBottom: 0.8 }
2164
+ }
2165
+ ),
2166
+ /* @__PURE__ */ i(
2167
+ oe,
2168
+ {
2169
+ id: "identifier-max",
2170
+ disabled: s || t !== "random" && t !== "scan",
2171
+ required: t === "random" || t === "scan",
2172
+ fullWidth: !0,
2173
+ value: K,
2174
+ error: !s && (t === "random" || t === "scan") && N,
2175
+ onErrorChange: M,
2176
+ onValidate: O,
2177
+ startAdornment: g.getString("LabelTo"),
2178
+ sxStartAdornment: { marginBottom: 0.8 }
2179
+ }
2180
+ )
2181
+ ] })
2182
+ ]
2183
+ }
2184
+ ),
2185
+ /* @__PURE__ */ i(
2186
+ Re,
2187
+ {
2188
+ parentDialogTitle: F,
2189
+ open: V,
2190
+ nodeIdentifier: v,
2191
+ onClose: () => re(!1),
2192
+ onSelect: de,
2193
+ modal: !$
2194
+ }
2195
+ )
2196
+ ]
2096
2197
  }
2097
2198
  );
2098
2199
  }
2099
- function Kr({
2200
+ function Va({
2100
2201
  settings: e,
2101
- onSettingsChange: n,
2102
- onErrorsChange: t = void 0,
2103
- canIdentifierGeneratorSettingsError: r = void 0,
2104
- disabled: a = !1,
2202
+ onSettingsChange: t,
2203
+ onErrorsChange: n = void 0,
2204
+ canIdentifierGeneratorSettingsError: a = void 0,
2205
+ disabled: r = !1,
2105
2206
  collapsible: l = !1,
2106
- collapsed: u = !1,
2207
+ collapsed: c = !1,
2107
2208
  collapsedChange: d = void 0,
2108
- showSelectMessageDialogChange: i,
2109
- showSignalValuesTable: o
2209
+ showSignalValuesTable: s,
2210
+ parentDialogTitle: o = void 0,
2211
+ fullScreen: b = !1,
2212
+ nodeIdentifier: m = void 0
2110
2213
  }) {
2111
- var F, p, L;
2112
- const g = le(), c = O(
2214
+ var C, S, I;
2215
+ const f = me(), F = D(
2113
2216
  () => {
2114
- var S, v, M;
2115
- return ((M = (v = (S = e.frame) == null ? void 0 : S.canFrameFlags) == null ? void 0 : v.flags) == null ? void 0 : M.includes(ee.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard";
2217
+ var N, M, y;
2218
+ return ((y = (M = (N = e.frame) == null ? void 0 : N.canFrameFlags) == null ? void 0 : M.flags) == null ? void 0 : y.includes(ne.CAN_FRAME_FLAG_EXT)) === !0 ? "extended" : "standard";
2116
2219
  },
2117
- [(p = (F = e.frame) == null ? void 0 : F.canFrameFlags) == null ? void 0 : p.flags]
2118
- ), I = O(() => {
2119
- var v;
2120
- return `${(((v = e.frame) == null ? void 0 : v.id) ?? 0).toString(g).toUpperCase()}`;
2121
- }, [g, (L = e.frame) == null ? void 0 : L.id]), N = O(() => `${(e.identifierMin ?? 0).toString(g).toUpperCase()}`, [g, e.identifierMin]), m = O(() => `${(e.identifierMax ?? 0).toString(g).toUpperCase()}`, [g, e.identifierMax]), f = O(() => e.randomIdentifier === !0 ? "random" : e.scanIdentifier === !0 ? "scan" : "constant", [e.randomIdentifier, e.scanIdentifier]), h = w(
2122
- (S, v, M, b, $) => {
2123
- var A, C, x, B;
2124
- const R = $, k = parseInt(S, S.startsWith("0x") ? 16 : g), _ = (C = (A = e.frame) == null ? void 0 : A.canFrameFlags) != null && C.flags ? { flags: [...e.frame.canFrameFlags.flags] } : { flags: [] }, W = _.flags.indexOf(ee.CAN_FRAME_FLAG_STD), j = parseInt(M, M.startsWith("0x") ? 16 : g), X = parseInt(b, b.startsWith("0x") ? 16 : g), P = _.flags.indexOf(ee.CAN_FRAME_FLAG_EXT);
2125
- if (W !== -1 && _.flags.splice(W, 1), P !== -1 && _.flags.splice(P, 1), R === "extended" ? _.flags.push(ee.CAN_FRAME_FLAG_EXT) : R === "standard" && _.flags.push(ee.CAN_FRAME_FLAG_STD), k !== ((x = e.frame) == null ? void 0 : x.id) || !ge(_, (B = e.frame) == null ? void 0 : B.canFrameFlags) || v !== f || j !== e.identifierMin || X !== e.identifierMax) {
2126
- const y = { ...e };
2127
- y.frame = e.frame ? { ...e.frame } : an.fromPartial({
2220
+ [(S = (C = e.frame) == null ? void 0 : C.canFrameFlags) == null ? void 0 : S.flags]
2221
+ ), $ = D(() => {
2222
+ var M;
2223
+ return `${(((M = e.frame) == null ? void 0 : M.id) ?? 0).toString(f).toUpperCase()}`;
2224
+ }, [f, (I = e.frame) == null ? void 0 : I.id]), v = D(() => `${(e.identifierMin ?? 0).toString(f).toUpperCase()}`, [f, e.identifierMin]), g = D(() => `${(e.identifierMax ?? 0).toString(f).toUpperCase()}`, [f, e.identifierMax]), u = D(() => e.randomIdentifier === !0 ? "random" : e.scanIdentifier === !0 ? "scan" : "constant", [e.randomIdentifier, e.scanIdentifier]), h = w(
2225
+ (N, M, y, H, P) => {
2226
+ var p, W, O, ee;
2227
+ const Q = P, Z = parseInt(N, N.startsWith("0x") ? 16 : f), L = (W = (p = e.frame) == null ? void 0 : p.canFrameFlags) != null && W.flags ? { flags: [...e.frame.canFrameFlags.flags] } : { flags: [] }, x = L.flags.indexOf(ne.CAN_FRAME_FLAG_STD), _ = parseInt(y, y.startsWith("0x") ? 16 : f), A = parseInt(H, H.startsWith("0x") ? 16 : f), R = L.flags.indexOf(ne.CAN_FRAME_FLAG_EXT);
2228
+ if (x !== -1 && L.flags.splice(x, 1), R !== -1 && L.flags.splice(R, 1), Q === "extended" ? L.flags.push(ne.CAN_FRAME_FLAG_EXT) : Q === "standard" && L.flags.push(ne.CAN_FRAME_FLAG_STD), Z !== ((O = e.frame) == null ? void 0 : O.id) || !Se(L, (ee = e.frame) == null ? void 0 : ee.canFrameFlags) || M !== u || _ !== e.identifierMin || A !== e.identifierMax) {
2229
+ const J = { ...e };
2230
+ J.frame = e.frame ? { ...e.frame } : mt.fromPartial({
2128
2231
  id: 0,
2129
- canFrameFlags: { flags: [ee.CAN_FRAME_FLAG_STD] },
2232
+ canFrameFlags: { flags: [ne.CAN_FRAME_FLAG_STD] },
2130
2233
  data: Array.from({ length: 8 }, () => 0)
2131
- }), y.frame.id = k, y.frame.canFrameFlags = _, v === "constant" ? (y.randomIdentifier = !1, y.scanIdentifier = !1) : v === "random" ? (y.randomIdentifier = !0, y.scanIdentifier = !1) : v === "scan" && (y.randomIdentifier = !1, y.scanIdentifier = !0), y.identifierMin = j, y.identifierMax = X, n(y);
2234
+ }), J.frame.id = Z, J.frame.canFrameFlags = L, M === "constant" ? (J.randomIdentifier = !1, J.scanIdentifier = !1) : M === "random" ? (J.randomIdentifier = !0, J.scanIdentifier = !1) : M === "scan" && (J.randomIdentifier = !1, J.scanIdentifier = !0), J.identifierMin = _, J.identifierMax = A, t(J);
2132
2235
  }
2133
2236
  },
2134
- [f, g, n, e]
2237
+ [u, f, t, e]
2135
2238
  );
2136
- return /* @__PURE__ */ s(
2137
- Sr,
2239
+ return /* @__PURE__ */ i(
2240
+ Ma,
2138
2241
  {
2139
- canIdentifier: I,
2140
- identifierGeneratorType: f,
2141
- minCanIdentifier: N,
2142
- maxCanIdentifier: m,
2143
- canIdentifierType: c,
2242
+ canIdentifier: $,
2243
+ identifierGeneratorType: u,
2244
+ minCanIdentifier: v,
2245
+ maxCanIdentifier: g,
2246
+ canIdentifierType: F,
2144
2247
  onChange: h,
2145
- onErrorsChange: t,
2146
- canIdentifierGeneratorSettingsError: r,
2147
- disabled: a,
2248
+ onErrorsChange: n,
2249
+ canIdentifierGeneratorSettingsError: a,
2250
+ disabled: r,
2148
2251
  collapsible: l,
2149
- collapsed: u,
2252
+ collapsed: c,
2150
2253
  collapsedChange: d,
2151
- showSelectMessageDialogChange: i,
2152
- showSignalValuesTable: o
2254
+ showSignalValuesTable: s,
2255
+ parentDialogTitle: o,
2256
+ fullScreen: b,
2257
+ nodeIdentifier: m
2153
2258
  }
2154
2259
  );
2155
2260
  }
2156
- function xr(e, n, t, r) {
2157
- const [a, l] = U(""), [u, d] = U([]);
2158
- return z(() => {
2159
- d((i) => {
2160
- var g;
2161
- const o = (g = t == null ? void 0 : t.sources) == null ? void 0 : g.filter((c) => {
2162
- var N, m;
2163
- const I = (m = (N = r == null ? void 0 : r.find((f) => {
2164
- var h;
2165
- return f.nodeId === ((h = c.baseNode) == null ? void 0 : h.identifier);
2166
- })) == null ? void 0 : N.errorStatus) == null ? void 0 : m.errors;
2167
- return I === void 0 || I === "" ? c.baseNode && c.channelSettings && c.channelSettings.canConfiguration && (!n || c.channelSettings.canConfiguration.silentMode !== !0) : !1;
2168
- }).map((c) => ({
2169
- value: c.channelSettings.channelNumber,
2170
- displayText: c.baseNode.name,
2171
- canFdMode: c.channelSettings.canConfiguration.canMode > 0,
2172
- identifier: c.baseNode.identifier
2261
+ function wa(e, t, n, a) {
2262
+ const [r, l] = U(""), [c, d] = U([]);
2263
+ return X(() => {
2264
+ d((s) => {
2265
+ var b;
2266
+ const o = (b = n == null ? void 0 : n.sources) == null ? void 0 : b.filter((m) => {
2267
+ var F, $;
2268
+ const f = ($ = (F = a == null ? void 0 : a.find((v) => {
2269
+ var g;
2270
+ return v.nodeId === ((g = m.baseNode) == null ? void 0 : g.identifier);
2271
+ })) == null ? void 0 : F.errorStatus) == null ? void 0 : $.errors;
2272
+ return f === void 0 || f === "" ? m.baseNode && m.channelSettings && m.channelSettings.canConfiguration && (!t || m.channelSettings.canConfiguration.silentMode !== !0) : !1;
2273
+ }).map((m) => ({
2274
+ value: m.channelSettings.channelNumber,
2275
+ displayText: m.baseNode.name,
2276
+ canFdMode: m.channelSettings.canConfiguration.canMode > 0,
2277
+ identifier: m.baseNode.identifier
2173
2278
  }));
2174
- return !o || ge(i, o) ? i : o;
2279
+ return !o || Se(s, o) ? s : o;
2175
2280
  });
2176
- }, [n, t == null ? void 0 : t.sources, r]), z(() => {
2177
- const i = u.find((o) => o.identifier === e);
2178
- l(i ? (o) => i.value === o ? o : i.value : "");
2179
- }, [e, u]), {
2180
- channelOptions: u,
2181
- selectedChannelOption: a
2281
+ }, [t, n == null ? void 0 : n.sources, a]), X(() => {
2282
+ const s = c.find((o) => o.identifier === e);
2283
+ l(s ? (o) => s.value === o ? o : s.value : "");
2284
+ }, [e, c]), {
2285
+ channelOptions: c,
2286
+ selectedChannelOption: r
2182
2287
  };
2183
2288
  }
2184
- function Qr({
2289
+ function Ga({
2185
2290
  channelIdentifier: e,
2186
- onChannelIdentifierChange: n,
2187
- hideSilentChannels: t = !1,
2188
- hideSectionControl: r = !1,
2189
- disabled: a = !1,
2291
+ onChannelIdentifierChange: t,
2292
+ hideSilentChannels: n = !1,
2293
+ hideSectionControl: a = !1,
2294
+ disabled: r = !1,
2190
2295
  collapsible: l = !1,
2191
- collapsed: u = !1,
2296
+ collapsed: c = !1,
2192
2297
  collapsedChange: d = void 0
2193
2298
  }) {
2194
- var m;
2195
- const i = qe(), o = He(), g = ne(), { channelOptions: c, selectedChannelOption: I } = xr(
2299
+ var $;
2300
+ const s = Ge(), o = et(), b = le(), { channelOptions: m, selectedChannelOption: f } = wa(
2196
2301
  e,
2197
- t === !0,
2198
- i,
2302
+ n === !0,
2303
+ s,
2199
2304
  o
2200
- ), N = w(
2201
- (f) => {
2202
- const h = c.find((L) => L.value === f), F = (h == null ? void 0 : h.identifier) ?? "", p = (h == null ? void 0 : h.canFdMode) === !0;
2203
- n(F, p);
2305
+ ), F = w(
2306
+ (v) => {
2307
+ const g = m.find((C) => C.value === v), u = (g == null ? void 0 : g.identifier) ?? "", h = (g == null ? void 0 : g.canFdMode) === !0;
2308
+ t(u, h);
2204
2309
  },
2205
- [c, n]
2310
+ [m, t]
2206
2311
  );
2207
- return r === !0 ? /* @__PURE__ */ s(
2208
- Me,
2312
+ return a === !0 ? /* @__PURE__ */ i(
2313
+ Ee,
2209
2314
  {
2210
2315
  id: "channel",
2211
- label: g.getString("LabelChannel"),
2316
+ label: b.getString("LabelChannel"),
2212
2317
  fullWidth: !0,
2213
- value: I,
2214
- onChange: N,
2215
- options: c,
2318
+ value: f,
2319
+ onChange: F,
2320
+ options: m,
2216
2321
  required: !0,
2217
- disabled: a
2322
+ disabled: r
2218
2323
  }
2219
- ) : /* @__PURE__ */ s(
2220
- me,
2324
+ ) : /* @__PURE__ */ i(
2325
+ xe,
2221
2326
  {
2222
- text: g.getString("LabelChannel"),
2223
- summary: I === "" || (m = c.find((f) => f.value === I)) == null ? void 0 : m.displayText,
2327
+ text: b.getString("LabelChannel"),
2328
+ summary: f === "" || ($ = m.find((v) => v.value === f)) == null ? void 0 : $.displayText,
2224
2329
  collapsible: l,
2225
- collapsed: u,
2330
+ collapsed: c,
2226
2331
  collapsedChange: d,
2227
- children: /* @__PURE__ */ s(
2228
- Me,
2332
+ children: /* @__PURE__ */ i(
2333
+ Ee,
2229
2334
  {
2230
2335
  id: "channel",
2231
- label: g.getString("LabelChannel"),
2336
+ label: b.getString("LabelChannel"),
2232
2337
  fullWidth: !0,
2233
- value: I,
2234
- onChange: N,
2235
- options: c,
2338
+ value: f,
2339
+ onChange: F,
2340
+ options: m,
2236
2341
  required: !0,
2237
- disabled: a
2342
+ disabled: r
2238
2343
  }
2239
2344
  )
2240
2345
  }
2241
2346
  );
2242
2347
  }
2243
- function Nr(e, n, t, r) {
2244
- const [a, l] = U(""), [u, d] = U([]);
2245
- return z(() => {
2246
- d((i) => {
2247
- var g;
2248
- const o = (g = t == null ? void 0 : t.sources) == null ? void 0 : g.filter((c) => {
2249
- var N, m;
2250
- const I = (m = (N = r == null ? void 0 : r.find((f) => {
2251
- var h;
2252
- return f.nodeId === ((h = c.baseNode) == null ? void 0 : h.identifier);
2253
- })) == null ? void 0 : N.errorStatus) == null ? void 0 : m.errors;
2254
- return (I === void 0 || I === "") && c.channelSettings !== void 0 && c.channelSettings.linConfiguration !== void 0 && c.channelSettings.linConfiguration.masterMode === n ? c.baseNode && c.channelSettings && c.channelSettings.linConfiguration : !1;
2255
- }).map((c) => ({
2256
- value: c.channelSettings.channelNumber,
2257
- displayText: c.baseNode.name,
2258
- identifier: c.baseNode.identifier
2348
+ function Ia(e, t, n, a) {
2349
+ const [r, l] = U(""), [c, d] = U([]);
2350
+ return X(() => {
2351
+ d((s) => {
2352
+ var b;
2353
+ const o = (b = n == null ? void 0 : n.sources) == null ? void 0 : b.filter((m) => {
2354
+ var F, $;
2355
+ const f = ($ = (F = a == null ? void 0 : a.find((v) => {
2356
+ var g;
2357
+ return v.nodeId === ((g = m.baseNode) == null ? void 0 : g.identifier);
2358
+ })) == null ? void 0 : F.errorStatus) == null ? void 0 : $.errors;
2359
+ return (f === void 0 || f === "") && m.channelSettings !== void 0 && m.channelSettings.linConfiguration !== void 0 && m.channelSettings.linConfiguration.masterMode === t ? m.baseNode && m.channelSettings && m.channelSettings.linConfiguration : !1;
2360
+ }).map((m) => ({
2361
+ value: m.channelSettings.channelNumber,
2362
+ displayText: m.baseNode.name,
2363
+ identifier: m.baseNode.identifier
2259
2364
  }));
2260
- return !o || ge(i, o) ? i : o;
2365
+ return !o || Se(s, o) ? s : o;
2261
2366
  });
2262
- }, [t == null ? void 0 : t.sources, r]), z(() => {
2263
- const i = u.find((o) => o.identifier === e);
2264
- l(i ? (o) => i.value === o ? o : i.value : "");
2265
- }, [e, u]), {
2266
- channelOptions: u,
2267
- selectedChannelOption: a
2367
+ }, [t, n == null ? void 0 : n.sources, a]), X(() => {
2368
+ const s = c.find((o) => o.identifier === e);
2369
+ l(s ? (o) => s.value === o ? o : s.value : "");
2370
+ }, [e, c]), {
2371
+ channelOptions: c,
2372
+ selectedChannelOption: r
2268
2373
  };
2269
2374
  }
2270
- function Xr({
2375
+ function er({
2271
2376
  channelIdentifier: e,
2272
- selectMasterChannels: n,
2273
- onChannelIdentifierChange: t,
2274
- hideSectionControl: r = !1,
2275
- disabled: a = !1,
2377
+ selectMasterChannels: t,
2378
+ onChannelIdentifierChange: n,
2379
+ hideSectionControl: a = !1,
2380
+ disabled: r = !1,
2276
2381
  collapsible: l = !1,
2277
- collapsed: u = !1,
2382
+ collapsed: c = !1,
2278
2383
  collapsedChange: d = void 0
2279
2384
  }) {
2280
- var m;
2281
- const i = qe(), o = He(), g = ne(), { channelOptions: c, selectedChannelOption: I } = Nr(
2385
+ var $;
2386
+ const s = Ge(), o = et(), b = le(), { channelOptions: m, selectedChannelOption: f } = Ia(
2282
2387
  e,
2283
- n,
2284
- i,
2388
+ t,
2389
+ s,
2285
2390
  o
2286
- ), N = w(
2287
- (f) => {
2288
- const h = c.find((p) => p.value === f), F = (h == null ? void 0 : h.identifier) ?? "";
2289
- t(F);
2391
+ ), F = w(
2392
+ (v) => {
2393
+ const g = m.find((h) => h.value === v), u = (g == null ? void 0 : g.identifier) ?? "";
2394
+ n(u);
2290
2395
  },
2291
- [c, t]
2396
+ [m, n]
2292
2397
  );
2293
- return r === !0 ? /* @__PURE__ */ s(
2294
- Me,
2398
+ return a === !0 ? /* @__PURE__ */ i(
2399
+ Ee,
2295
2400
  {
2296
2401
  id: "channel",
2297
- label: n ? g.getString("LabelChannelLinModeMaster") : g.getString("LabelChannelLinModeSlave"),
2402
+ label: t ? b.getString("LabelChannelLinModeMaster") : b.getString("LabelChannelLinModeSlave"),
2298
2403
  fullWidth: !0,
2299
- value: I,
2300
- onChange: N,
2301
- options: c,
2404
+ value: f,
2405
+ onChange: F,
2406
+ options: m,
2302
2407
  required: !0,
2303
- disabled: a
2408
+ disabled: r
2304
2409
  }
2305
- ) : /* @__PURE__ */ s(
2306
- me,
2410
+ ) : /* @__PURE__ */ i(
2411
+ xe,
2307
2412
  {
2308
- text: n ? g.getString("LabelChannelLinModeMaster") : g.getString("LabelChannelLinModeSlave"),
2309
- summary: I === "" || (m = c.find((f) => f.value === I)) == null ? void 0 : m.displayText,
2413
+ text: t ? b.getString("LabelChannelLinModeMaster") : b.getString("LabelChannelLinModeSlave"),
2414
+ summary: f === "" || ($ = m.find((v) => v.value === f)) == null ? void 0 : $.displayText,
2310
2415
  collapsible: l,
2311
- collapsed: u,
2416
+ collapsed: c,
2312
2417
  collapsedChange: d,
2313
- children: /* @__PURE__ */ s(
2314
- Me,
2418
+ children: /* @__PURE__ */ i(
2419
+ Ee,
2315
2420
  {
2316
2421
  id: "channel",
2317
- label: n ? g.getString("LabelChannelLinModeMaster") : g.getString("LabelChannelLinModeSlave"),
2422
+ label: t ? b.getString("LabelChannelLinModeMaster") : b.getString("LabelChannelLinModeSlave"),
2318
2423
  fullWidth: !0,
2319
- value: I,
2320
- onChange: N,
2321
- options: c,
2424
+ value: f,
2425
+ onChange: F,
2426
+ options: m,
2322
2427
  required: !0,
2323
- disabled: a
2428
+ disabled: r
2324
2429
  }
2325
2430
  )
2326
2431
  }
2327
2432
  );
2328
2433
  }
2329
- function vr({
2434
+ function La({
2330
2435
  linIdentifier: e,
2331
- onLinIdentifierChange: n,
2332
- onErrorsChange: t = void 0,
2333
- showSelectMessageDialogChange: r = void 0,
2334
- showSelectSignalDialogChange: a = void 0,
2335
- disabled: l = !1,
2336
- disableSelectMessageButton: u = !1,
2337
- disableSelectSignalButton: d = !1,
2338
- hideSection: i = !1,
2339
- hideSelectMessageButton: o = !1,
2340
- showSelectSignalButton: g = !1,
2341
- collapsible: c = !1,
2342
- collapsed: I = !1,
2343
- collapsedChange: N = void 0
2436
+ onLinIdentifierChange: t,
2437
+ onErrorsChange: n = void 0,
2438
+ onSignalChange: a = void 0,
2439
+ disabled: r = !1,
2440
+ parentDialogTitle: l = void 0,
2441
+ fullScreen: c = !1,
2442
+ nodeIdentifier: d = void 0,
2443
+ disableSelectMessageButton: s = !1,
2444
+ disableSelectSignalButton: o = !1,
2445
+ hideSection: b = !1,
2446
+ hideSelectMessageButton: m = !1,
2447
+ showSelectSignalButton: f = !1,
2448
+ collapsible: F = !1,
2449
+ collapsed: $ = !1,
2450
+ collapsedChange: v = void 0
2344
2451
  }) {
2345
- const m = ne(), f = le(), h = de(), F = de(), p = Ne(h, F), [L, S] = U(!1);
2346
- z(() => {
2347
- t && t(L);
2348
- }, [L, t]);
2349
- const [v, M] = U(!1), b = w(
2350
- (k) => {
2351
- let _ = k;
2352
- const W = parseInt(_, _.startsWith("0x") ? 16 : f);
2353
- return Number.isNaN(W) || W < 0 || W > 63 ? (Number.isNaN(W) || n(`${W.toString(f).toUpperCase()}`), { val: k, err: !0 }) : (n(`${W.toString(f).toUpperCase()}`), M(_.startsWith("0x")), { val: k, err: !1 });
2452
+ const g = le(), u = me(), h = he(), C = he(), S = Me(h, C), [I, N] = U(!1);
2453
+ X(() => {
2454
+ n && n(I);
2455
+ }, [I, n]);
2456
+ const [M, y] = U(!1), H = w(
2457
+ (p) => {
2458
+ let W = p;
2459
+ const O = parseInt(W, W.startsWith("0x") ? 16 : u);
2460
+ return Number.isNaN(O) || O < 0 || O > 63 ? (Number.isNaN(O) || t(`${O.toString(u).toUpperCase()}`), { val: p, err: !0 }) : (t(`${O.toString(u).toUpperCase()}`), y(W.startsWith("0x")), { val: p, err: !1 });
2461
+ },
2462
+ [u, t]
2463
+ ), P = D(() => {
2464
+ const p = parseInt(e, e.startsWith("0x") ? 16 : u);
2465
+ return M ? `0x${p.toString(16).toUpperCase()}` : p.toString(u).toUpperCase();
2466
+ }, [M, e, u]), [Q, Z] = U(!1), [L, x] = U(!1), _ = w(
2467
+ (p) => {
2468
+ a ? a(`${p.id.toString(u).toUpperCase()}`, void 0) : t(`${p.id.toString(u).toUpperCase()}`);
2354
2469
  },
2355
- [f, n]
2356
- ), $ = O(() => {
2357
- const k = parseInt(e, e.startsWith("0x") ? 16 : f);
2358
- return v ? `0x${k.toString(16).toUpperCase()}` : k.toString(f).toUpperCase();
2359
- }, [v, e, f]), R = O(
2360
- () => /* @__PURE__ */ T(ue, { spacing: 4, children: [
2361
- /* @__PURE__ */ s(
2362
- re,
2470
+ [t, a, u]
2471
+ ), A = w(
2472
+ (p, W) => {
2473
+ a ? a(`${p.id.toString(u).toUpperCase()}`, W) : t(`${p.id.toString(u).toUpperCase()}`);
2474
+ },
2475
+ [t, a, u]
2476
+ ), R = /* @__PURE__ */ j(ue, { children: [
2477
+ /* @__PURE__ */ j(ce, { spacing: 4, children: [
2478
+ /* @__PURE__ */ i(
2479
+ oe,
2363
2480
  {
2364
2481
  id: "constant-id",
2365
2482
  fullWidth: !0,
2366
- value: $,
2367
- error: L,
2368
- onValidate: b,
2369
- onErrorChange: S,
2370
- disabled: l
2483
+ value: P,
2484
+ error: I,
2485
+ onValidate: H,
2486
+ onErrorChange: N,
2487
+ disabled: r
2371
2488
  }
2372
2489
  ),
2373
- !o && /* @__PURE__ */ s(oe, { columnItem: h, width: p, children: /* @__PURE__ */ s(
2374
- Z,
2490
+ !m && f !== !0 && /* @__PURE__ */ i(pe, { columnItem: h, width: S, children: /* @__PURE__ */ i(
2491
+ ae,
2375
2492
  {
2376
- disabled: u,
2377
- onClick: () => {
2378
- r && r(!0);
2379
- },
2493
+ disabled: s,
2494
+ onClick: () => Z(!0),
2380
2495
  variant: "outlined",
2381
2496
  size: "large",
2382
- children: m.getString("ButtonSelectMessage")
2497
+ children: g.getString("ButtonSelectMessage")
2383
2498
  }
2384
2499
  ) }),
2385
- g && /* @__PURE__ */ s(oe, { columnItem: F, width: p, children: /* @__PURE__ */ s(
2386
- Z,
2500
+ f && /* @__PURE__ */ i(pe, { columnItem: C, width: S, children: /* @__PURE__ */ i(
2501
+ ae,
2387
2502
  {
2388
- disabled: d,
2389
- onClick: () => {
2390
- a && a(!0);
2391
- },
2503
+ disabled: o,
2504
+ onClick: () => x(!0),
2392
2505
  variant: "outlined",
2393
2506
  size: "large",
2394
- children: m.getString("ButtonSelectSignal")
2507
+ children: g.getString("ButtonSelectSignal")
2395
2508
  }
2396
2509
  ) })
2397
2510
  ] }),
2398
- [$, l, L, m, b]
2399
- );
2400
- return i ? R : /* @__PURE__ */ s(
2401
- me,
2511
+ !m && f !== !0 && /* @__PURE__ */ i(
2512
+ Re,
2513
+ {
2514
+ parentDialogTitle: l,
2515
+ open: Q,
2516
+ nodeIdentifier: d,
2517
+ onClose: () => Z(!1),
2518
+ onSelect: _,
2519
+ modal: !c
2520
+ }
2521
+ ),
2522
+ f && /* @__PURE__ */ i(
2523
+ Pe,
2524
+ {
2525
+ parentDialogTitle: l,
2526
+ open: L,
2527
+ nodeIdentifier: d,
2528
+ onClose: () => x(!1),
2529
+ onSelect: A,
2530
+ modal: !c
2531
+ }
2532
+ )
2533
+ ] });
2534
+ return b ? R : /* @__PURE__ */ i(
2535
+ xe,
2402
2536
  {
2403
- text: m.getString("LabelLinIdentifier"),
2537
+ text: g.getString("LabelLinIdentifier"),
2404
2538
  summary: e,
2405
- collapsible: c,
2406
- collapsed: I,
2407
- collapsedChange: N,
2539
+ collapsible: F,
2540
+ collapsed: $,
2541
+ collapsedChange: v,
2408
2542
  children: R
2409
2543
  }
2410
2544
  );
2411
2545
  }
2412
- function Yr({
2546
+ function tr({
2413
2547
  frame: e,
2414
- onFrameChange: n,
2415
- onErrorsChange: t = void 0,
2416
- showSelectMessageDialogChange: r = void 0,
2417
- showSelectSignalDialogChange: a = void 0,
2418
- disableSelectMessageButton: l = !1,
2419
- disableSelectSignalButton: u = !1,
2548
+ onFrameChange: t,
2549
+ onErrorsChange: n = void 0,
2550
+ parentDialogTitle: a = void 0,
2551
+ fullScreen: r = !1,
2552
+ nodeIdentifier: l = void 0,
2553
+ disableSelectMessageButton: c = !1,
2420
2554
  hideSection: d = !1,
2421
- hideSelectMessageButton: i = !1,
2422
- showSelectSignalButton: o = !1,
2423
- collapsible: g = !1,
2424
- collapsed: c = !1,
2425
- collapsedChange: I = void 0
2555
+ hideSelectMessageButton: s = !1,
2556
+ collapsible: o = !1,
2557
+ collapsed: b = !1,
2558
+ collapsedChange: m = void 0
2426
2559
  }) {
2427
- const N = le(), m = O(() => `${(e.id ?? 0).toString(N).toUpperCase()}`, [e.id, N]), f = w(
2428
- (h) => {
2429
- var L;
2430
- const F = parseInt(h, h.startsWith("0x") ? 16 : N), p = (L = e.linFrameFlags) != null && L.flags ? { flags: [...e.linFrameFlags.flags] } : { flags: [] };
2431
- if (F !== e.id || !ge(p, e.linFrameFlags)) {
2432
- const S = { ...e };
2433
- S.id = F, S.linFrameFlags = p, n(S);
2560
+ const f = me(), F = D(() => `${(e.id ?? 0).toString(f).toUpperCase()}`, [e.id, f]), $ = w(
2561
+ (v) => {
2562
+ var h;
2563
+ const g = parseInt(v, v.startsWith("0x") ? 16 : f), u = (h = e.linFrameFlags) != null && h.flags ? { flags: [...e.linFrameFlags.flags] } : { flags: [] };
2564
+ if (g !== e.id || !Se(u, e.linFrameFlags)) {
2565
+ const C = { ...e };
2566
+ C.id = g, C.linFrameFlags = u, t(C);
2434
2567
  }
2435
2568
  },
2436
- [e, N, n]
2569
+ [e, f, t]
2437
2570
  );
2438
- return /* @__PURE__ */ s(ce, { children: /* @__PURE__ */ s(
2439
- vr,
2571
+ return /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(
2572
+ La,
2440
2573
  {
2441
- linIdentifier: m,
2442
- onLinIdentifierChange: f,
2443
- onErrorsChange: t,
2444
- showSelectMessageDialogChange: r,
2445
- showSelectSignalDialogChange: a,
2446
- disableSelectMessageButton: l,
2447
- disableSelectSignalButton: u,
2574
+ linIdentifier: F,
2575
+ onLinIdentifierChange: $,
2576
+ onErrorsChange: n,
2577
+ parentDialogTitle: a,
2578
+ fullScreen: r,
2579
+ nodeIdentifier: l,
2580
+ disableSelectMessageButton: c,
2448
2581
  hideSection: d,
2449
- hideSelectMessageButton: i,
2450
- showSelectSignalButton: o,
2451
- collapsible: g,
2452
- collapsed: c,
2453
- collapsedChange: I
2582
+ hideSelectMessageButton: s,
2583
+ collapsible: o,
2584
+ collapsed: b,
2585
+ collapsedChange: m
2454
2586
  }
2455
2587
  ) });
2456
2588
  }
2457
- function Cr({
2589
+ function Aa({
2458
2590
  linIdentifier: e,
2459
- identifierGeneratorType: n,
2460
- minLinIdentifier: t,
2461
- maxLinIdentifier: r,
2462
- onChange: a,
2591
+ identifierGeneratorType: t,
2592
+ minLinIdentifier: n,
2593
+ maxLinIdentifier: a,
2594
+ onChange: r,
2463
2595
  onErrorsChange: l = void 0,
2464
- linIdentifierGeneratorSettingsError: u = void 0,
2596
+ linIdentifierGeneratorSettingsError: c = void 0,
2465
2597
  disabled: d = !1,
2466
- collapsible: i = !1,
2598
+ collapsible: s = !1,
2467
2599
  collapsed: o = !1,
2468
- collapsedChange: g = void 0,
2469
- showSelectMessageDialogChange: c,
2470
- showSignalValuesTable: I
2600
+ collapsedChange: b = void 0,
2601
+ showSignalValuesTable: m,
2602
+ parentDialogTitle: f = void 0,
2603
+ fullScreen: F = !1,
2604
+ nodeIdentifier: $ = void 0
2471
2605
  }) {
2472
- const N = ne(), m = le(), [f, h] = U(!1), [F, p] = U(!1), [L, S] = U(!1), [v, M] = U(!1), [b, $] = U(!1), [R, k] = U(!1), _ = w(
2473
- (D) => {
2474
- let K = D;
2475
- const Q = parseInt(K, K.startsWith("0x") ? 16 : m);
2476
- return Number.isNaN(Q) || Q < 0 || Q > 63 ? (Number.isNaN(Q) || a(
2477
- `${Q.toString(m).toUpperCase()}`,
2478
- n,
2606
+ const v = le(), g = me(), [u, h] = U(!1), [C, S] = U(!1), [I, N] = U(!1), [M, y] = U(!1), [H, P] = U(!1), [Q, Z] = U(!1), L = w(
2607
+ (q) => {
2608
+ let K = q;
2609
+ const V = parseInt(K, K.startsWith("0x") ? 16 : g);
2610
+ return Number.isNaN(V) || V < 0 || V > 63 ? (Number.isNaN(V) || r(
2611
+ `${V.toString(g).toUpperCase()}`,
2479
2612
  t,
2480
- r
2481
- ), { val: D, err: !0 }) : (a(
2482
- `${Q.toString(m).toUpperCase()}`,
2483
2613
  n,
2614
+ a
2615
+ ), { val: q, err: !0 }) : (r(
2616
+ `${V.toString(g).toUpperCase()}`,
2484
2617
  t,
2485
- r
2486
- ), M(K.startsWith("0x")), { val: D, err: !1 });
2618
+ n,
2619
+ a
2620
+ ), y(K.startsWith("0x")), { val: q, err: !1 });
2487
2621
  },
2488
- [n, r, t, m, a]
2489
- ), W = w(
2490
- (D, K, Q) => {
2491
- let G = D;
2492
- const te = parseInt(G, G.startsWith("0x") ? 16 : m);
2493
- return Number.isNaN(te) || te < 0 || te > 63 ? (Number.isNaN(te) || K(`${te.toString(m).toUpperCase()}`), { val: D, err: !0, id: te }) : (K(`${te.toString(m).toUpperCase()}`), Q(G.startsWith("0x")), { val: D, err: !1, id: te });
2622
+ [t, a, n, g, r]
2623
+ ), x = w(
2624
+ (q, K, V) => {
2625
+ let re = q;
2626
+ const de = parseInt(re, re.startsWith("0x") ? 16 : g);
2627
+ return Number.isNaN(de) || de < 0 || de > 63 ? (Number.isNaN(de) || K(`${de.toString(g).toUpperCase()}`), { val: q, err: !0, id: de }) : (K(`${de.toString(g).toUpperCase()}`), V(re.startsWith("0x")), { val: q, err: !1, id: de });
2494
2628
  },
2495
- [m]
2496
- ), j = w(
2497
- (D) => {
2498
- const K = W(
2499
- D,
2500
- (G) => a(e, n, G, r),
2501
- (G) => $(G)
2502
- ), Q = W(
2503
- r,
2504
- // eslint-disable-next-line @typescript-eslint/no-empty-function
2629
+ [g]
2630
+ ), _ = w(
2631
+ (q) => {
2632
+ const K = x(
2633
+ q,
2634
+ (re) => r(e, t, re, a),
2635
+ (re) => P(re)
2636
+ ), V = x(
2637
+ a,
2505
2638
  () => {
2506
2639
  },
2507
- // eslint-disable-next-line @typescript-eslint/no-empty-function
2508
2640
  () => {
2509
2641
  }
2510
2642
  );
2511
- return K.id >= Q.id ? K.err = !0 : Q.err && S(Q.err), { val: K.val, err: K.err };
2643
+ return K.id >= V.id ? K.err = !0 : V.err && N(V.err), { val: K.val, err: K.err };
2512
2644
  },
2513
- [e, n, r, a, W]
2514
- ), X = w(
2515
- (D) => {
2516
- const K = W(
2517
- D,
2518
- (G) => a(e, n, t, G),
2519
- (G) => k(G)
2520
- ), Q = W(
2521
- t,
2522
- // eslint-disable-next-line @typescript-eslint/no-empty-function
2645
+ [e, t, a, r, x]
2646
+ ), A = w(
2647
+ (q) => {
2648
+ const K = x(
2649
+ q,
2650
+ (re) => r(e, t, n, re),
2651
+ (re) => Z(re)
2652
+ ), V = x(
2653
+ n,
2523
2654
  () => {
2524
2655
  },
2525
- // eslint-disable-next-line @typescript-eslint/no-empty-function
2526
2656
  () => {
2527
2657
  }
2528
2658
  );
2529
- return Q.id >= K.id ? K.err = !0 : Q.err && p(Q.err), { val: K.val, err: K.err };
2659
+ return V.id >= K.id ? K.err = !0 : V.err && S(V.err), { val: K.val, err: K.err };
2530
2660
  },
2531
- [e, n, t, a, W]
2532
- ), P = w(
2533
- (D) => {
2534
- I(D === "constant"), a(e, D, t, r);
2661
+ [e, t, n, r, x]
2662
+ ), R = w(
2663
+ (q) => {
2664
+ m(q === "constant"), r(e, q, n, a);
2535
2665
  },
2536
- [e, t, r, a]
2666
+ [r, e, n, a, m]
2537
2667
  );
2538
- z(() => {
2668
+ X(() => {
2539
2669
  l && l(
2540
- n === "constant" && f || (n === "random" || n === "scan") && (F || L)
2541
- ), u && (u.current = n === "constant" && f || (n === "random" || n === "scan") && (F || L));
2670
+ t === "constant" && u || (t === "random" || t === "scan") && (C || I)
2671
+ ), c && (c.current = t === "constant" && u || (t === "random" || t === "scan") && (C || I));
2542
2672
  }, [
2543
- f,
2544
2673
  u,
2545
- n,
2546
- L,
2547
- F,
2674
+ c,
2675
+ t,
2676
+ I,
2677
+ C,
2548
2678
  l
2549
2679
  ]);
2550
- const A = de(), C = Ne(A), x = O(() => {
2551
- const D = parseInt(e, e.startsWith("0x") ? 16 : m);
2552
- return v ? `0x${D.toString(16).toUpperCase()}` : D.toString(m).toUpperCase();
2553
- }, [v, e, m]), B = O(() => {
2554
- const D = parseInt(t, t.startsWith("0x") ? 16 : m);
2555
- return b ? `0x${D.toString(16).toUpperCase()}` : D.toString(m).toUpperCase();
2556
- }, [b, t, m]), y = O(() => {
2557
- const D = parseInt(r, r.startsWith("0x") ? 16 : m);
2558
- return R ? `0x${D.toString(16).toUpperCase()}` : D.toString(m).toUpperCase();
2559
- }, [R, r, m]);
2560
- return /* @__PURE__ */ s(
2561
- me,
2680
+ const p = he(), W = Me(p), O = D(() => {
2681
+ const q = parseInt(e, e.startsWith("0x") ? 16 : g);
2682
+ return M ? `0x${q.toString(16).toUpperCase()}` : q.toString(g).toUpperCase();
2683
+ }, [M, e, g]), ee = D(() => {
2684
+ const q = parseInt(n, n.startsWith("0x") ? 16 : g);
2685
+ return H ? `0x${q.toString(16).toUpperCase()}` : q.toString(g).toUpperCase();
2686
+ }, [H, n, g]), J = D(() => {
2687
+ const q = parseInt(a, a.startsWith("0x") ? 16 : g);
2688
+ return Q ? `0x${q.toString(16).toUpperCase()}` : q.toString(g).toUpperCase();
2689
+ }, [Q, a, g]), [E, B] = U(!1), z = w(
2690
+ (q) => {
2691
+ let K = `${q.id.toString(g).toUpperCase()}`;
2692
+ K !== e && r(K, t, n, a);
2693
+ },
2694
+ [r, g, e, t, n, a]
2695
+ );
2696
+ return /* @__PURE__ */ j(
2697
+ xe,
2562
2698
  {
2563
- text: N.getString("LabelLinIdentifier"),
2564
- summary: n === "constant" ? e : n === "random" ? `${N.getString("LabelRandom")} ${t}-${r}` : `${N.getString("LabelScan")} ${t}-${r}`,
2565
- collapsible: i,
2699
+ text: v.getString("LabelLinIdentifier"),
2700
+ summary: t === "constant" ? e : t === "random" ? `${v.getString("LabelRandom")} ${n}-${a}` : `${v.getString("LabelScan")} ${n}-${a}`,
2701
+ collapsible: s,
2566
2702
  collapsed: o,
2567
- collapsedChange: g,
2568
- children: /* @__PURE__ */ T(
2569
- fn,
2570
- {
2571
- id: "identifier-radio-group",
2572
- value: n,
2573
- onChange: (D) => {
2574
- P(D);
2575
- },
2576
- children: [
2577
- /* @__PURE__ */ T(ue, { spacing: 4, children: [
2578
- /* @__PURE__ */ s(
2579
- fe,
2580
- {
2581
- id: "constant-id-radio",
2582
- value: "constant",
2583
- label: N.getString("LabelConstantIdentifier"),
2584
- sx: { marginLeft: "-11px !important" },
2585
- disabled: d
2586
- }
2587
- ),
2588
- /* @__PURE__ */ s(
2589
- re,
2590
- {
2591
- id: "constant-id",
2592
- fullWidth: !0,
2593
- value: x,
2594
- error: !d && n === "constant" && f,
2595
- onErrorChange: h,
2596
- onValidate: _,
2597
- disabled: d || n !== "constant",
2598
- required: n === "constant"
2599
- }
2600
- ),
2601
- /* @__PURE__ */ s(oe, { columnItem: A, width: C, children: /* @__PURE__ */ s(Z, { onClick: () => c(!0), variant: "outlined", size: "large", children: N.getString("ButtonSelectMessage") }) })
2602
- ] }),
2603
- /* @__PURE__ */ T(ue, { spacing: 4, children: [
2604
- /* @__PURE__ */ s(
2605
- fe,
2606
- {
2607
- id: "random-identifier-radio",
2608
- value: "random",
2609
- label: N.getString("LabelRandomIdentifier"),
2610
- sx: { marginLeft: "-11px !important" },
2611
- disabled: d
2612
- }
2613
- ),
2614
- /* @__PURE__ */ s(
2615
- fe,
2616
- {
2617
- id: "scan-identifier-radio",
2618
- value: "scan",
2619
- label: N.getString("LabelScanIdentifier"),
2620
- disabled: d
2621
- }
2622
- ),
2623
- /* @__PURE__ */ s(
2624
- re,
2625
- {
2626
- id: "identifier-min",
2627
- disabled: d || n !== "random" && n !== "scan",
2628
- required: n === "random" || n === "scan",
2629
- fullWidth: !0,
2630
- value: B,
2631
- error: !d && (n === "random" || n === "scan") && F,
2632
- onErrorChange: p,
2633
- onValidate: j,
2634
- startAdornment: N.getString("LabelFrom"),
2635
- sxStartAdornment: { marginBottom: 0.8 }
2636
- }
2637
- ),
2638
- /* @__PURE__ */ s(
2639
- re,
2640
- {
2641
- id: "identifier-max",
2642
- disabled: d || n !== "random" && n !== "scan",
2643
- required: n === "random" || n === "scan",
2644
- fullWidth: !0,
2645
- value: y,
2646
- error: !d && (n === "random" || n === "scan") && L,
2647
- onErrorChange: S,
2648
- onValidate: X,
2649
- startAdornment: N.getString("LabelTo"),
2650
- sxStartAdornment: { marginBottom: 0.8 }
2651
- }
2652
- )
2653
- ] })
2654
- ]
2655
- }
2656
- )
2703
+ collapsedChange: b,
2704
+ children: [
2705
+ /* @__PURE__ */ j(
2706
+ vt,
2707
+ {
2708
+ id: "identifier-radio-group",
2709
+ value: t,
2710
+ onChange: (q) => {
2711
+ R(q);
2712
+ },
2713
+ children: [
2714
+ /* @__PURE__ */ j(ce, { spacing: 4, children: [
2715
+ /* @__PURE__ */ i(
2716
+ be,
2717
+ {
2718
+ id: "constant-id-radio",
2719
+ value: "constant",
2720
+ label: v.getString("LabelConstantIdentifier"),
2721
+ sx: { marginLeft: "-11px !important" },
2722
+ disabled: d
2723
+ }
2724
+ ),
2725
+ /* @__PURE__ */ i(
2726
+ oe,
2727
+ {
2728
+ id: "constant-id",
2729
+ fullWidth: !0,
2730
+ value: O,
2731
+ error: !d && t === "constant" && u,
2732
+ onErrorChange: h,
2733
+ onValidate: L,
2734
+ disabled: d || t !== "constant",
2735
+ required: t === "constant"
2736
+ }
2737
+ ),
2738
+ /* @__PURE__ */ i(pe, { columnItem: p, width: W, children: /* @__PURE__ */ i(ae, { onClick: () => B(!0), variant: "outlined", size: "large", children: v.getString("ButtonSelectMessage") }) })
2739
+ ] }),
2740
+ /* @__PURE__ */ j(ce, { spacing: 4, children: [
2741
+ /* @__PURE__ */ i(
2742
+ be,
2743
+ {
2744
+ id: "random-identifier-radio",
2745
+ value: "random",
2746
+ label: v.getString("LabelRandomIdentifier"),
2747
+ sx: { marginLeft: "-11px !important" },
2748
+ disabled: d
2749
+ }
2750
+ ),
2751
+ /* @__PURE__ */ i(
2752
+ be,
2753
+ {
2754
+ id: "scan-identifier-radio",
2755
+ value: "scan",
2756
+ label: v.getString("LabelScanIdentifier"),
2757
+ disabled: d
2758
+ }
2759
+ ),
2760
+ /* @__PURE__ */ i(
2761
+ oe,
2762
+ {
2763
+ id: "identifier-min",
2764
+ disabled: d || t !== "random" && t !== "scan",
2765
+ required: t === "random" || t === "scan",
2766
+ fullWidth: !0,
2767
+ value: ee,
2768
+ error: !d && (t === "random" || t === "scan") && C,
2769
+ onErrorChange: S,
2770
+ onValidate: _,
2771
+ startAdornment: v.getString("LabelFrom"),
2772
+ sxStartAdornment: { marginBottom: 0.8 }
2773
+ }
2774
+ ),
2775
+ /* @__PURE__ */ i(
2776
+ oe,
2777
+ {
2778
+ id: "identifier-max",
2779
+ disabled: d || t !== "random" && t !== "scan",
2780
+ required: t === "random" || t === "scan",
2781
+ fullWidth: !0,
2782
+ value: J,
2783
+ error: !d && (t === "random" || t === "scan") && I,
2784
+ onErrorChange: N,
2785
+ onValidate: A,
2786
+ startAdornment: v.getString("LabelTo"),
2787
+ sxStartAdornment: { marginBottom: 0.8 }
2788
+ }
2789
+ )
2790
+ ] })
2791
+ ]
2792
+ }
2793
+ ),
2794
+ /* @__PURE__ */ i(
2795
+ Re,
2796
+ {
2797
+ parentDialogTitle: f,
2798
+ open: E,
2799
+ nodeIdentifier: $,
2800
+ onClose: () => B(!1),
2801
+ onSelect: z,
2802
+ modal: !F
2803
+ }
2804
+ )
2805
+ ]
2657
2806
  }
2658
2807
  );
2659
2808
  }
2660
- function Jr({
2809
+ function nr({
2661
2810
  settings: e,
2662
- onSettingsChange: n,
2663
- onErrorsChange: t = void 0,
2664
- linIdentifierGeneratorSettingsError: r = void 0,
2665
- disabled: a = !1,
2811
+ onSettingsChange: t,
2812
+ onErrorsChange: n = void 0,
2813
+ linIdentifierGeneratorSettingsError: a = void 0,
2814
+ disabled: r = !1,
2666
2815
  collapsible: l = !1,
2667
- collapsed: u = !1,
2816
+ collapsed: c = !1,
2668
2817
  collapsedChange: d = void 0,
2669
- showSelectMessageDialogChange: i,
2670
- showSignalValuesTable: o
2818
+ showSignalValuesTable: s,
2819
+ parentDialogTitle: o = void 0,
2820
+ fullScreen: b = !1,
2821
+ nodeIdentifier: m = void 0
2671
2822
  }) {
2672
2823
  var h;
2673
- const g = le(), c = O(() => {
2674
- var p;
2675
- return `${(((p = e.frame) == null ? void 0 : p.id) ?? 0).toString(g).toUpperCase()}`;
2676
- }, [g, (h = e.frame) == null ? void 0 : h.id]), I = O(() => `${(e.identifierMin ?? 0).toString(g).toUpperCase()}`, [g, e.identifierMin]), N = O(() => `${(e.identifierMax ?? 0).toString(g).toUpperCase()}`, [g, e.identifierMax]), m = O(() => e.randomIdentifier === !0 ? "random" : e.scanIdentifier === !0 ? "scan" : "constant", [e.randomIdentifier, e.scanIdentifier]), f = w(
2677
- (F, p, L, S) => {
2678
- var R, k, _, W;
2679
- const v = parseInt(F, F.startsWith("0x") ? 16 : g), M = (k = (R = e.frame) == null ? void 0 : R.linFrameFlags) != null && k.flags ? { flags: [...e.frame.linFrameFlags.flags] } : { flags: [] }, b = parseInt(L, L.startsWith("0x") ? 16 : g), $ = parseInt(S, S.startsWith("0x") ? 16 : g);
2680
- if (v !== ((_ = e.frame) == null ? void 0 : _.id) || !ge(M, (W = e.frame) == null ? void 0 : W.linFrameFlags) || p !== m || b !== e.identifierMin || $ !== e.identifierMax) {
2681
- const j = { ...e };
2682
- j.frame = e.frame ? { ...e.frame } : an.fromPartial({
2824
+ const f = me(), F = D(() => {
2825
+ var S;
2826
+ return `${(((S = e.frame) == null ? void 0 : S.id) ?? 0).toString(f).toUpperCase()}`;
2827
+ }, [f, (h = e.frame) == null ? void 0 : h.id]), $ = D(() => `${(e.identifierMin ?? 0).toString(f).toUpperCase()}`, [f, e.identifierMin]), v = D(() => `${(e.identifierMax ?? 0).toString(f).toUpperCase()}`, [f, e.identifierMax]), g = D(() => e.randomIdentifier === !0 ? "random" : e.scanIdentifier === !0 ? "scan" : "constant", [e.randomIdentifier, e.scanIdentifier]), u = w(
2828
+ (C, S, I, N) => {
2829
+ var Q, Z, L, x;
2830
+ const M = parseInt(C, C.startsWith("0x") ? 16 : f), y = (Z = (Q = e.frame) == null ? void 0 : Q.linFrameFlags) != null && Z.flags ? { flags: [...e.frame.linFrameFlags.flags] } : { flags: [] }, H = parseInt(I, I.startsWith("0x") ? 16 : f), P = parseInt(N, N.startsWith("0x") ? 16 : f);
2831
+ if (M !== ((L = e.frame) == null ? void 0 : L.id) || !Se(y, (x = e.frame) == null ? void 0 : x.linFrameFlags) || S !== g || H !== e.identifierMin || P !== e.identifierMax) {
2832
+ const _ = { ...e };
2833
+ _.frame = e.frame ? { ...e.frame } : mt.fromPartial({
2683
2834
  id: 0,
2684
2835
  linFrameFlags: void 0,
2685
2836
  data: Array.from({ length: 8 }, () => 0)
2686
- }), j.frame.id = v, j.frame.linFrameFlags = M, p === "constant" ? (j.randomIdentifier = !1, j.scanIdentifier = !1) : p === "random" ? (j.randomIdentifier = !0, j.scanIdentifier = !1) : p === "scan" && (j.randomIdentifier = !1, j.scanIdentifier = !0), j.identifierMin = b, j.identifierMax = $, n(j);
2837
+ }), _.frame.id = M, _.frame.linFrameFlags = y, S === "constant" ? (_.randomIdentifier = !1, _.scanIdentifier = !1) : S === "random" ? (_.randomIdentifier = !0, _.scanIdentifier = !1) : S === "scan" && (_.randomIdentifier = !1, _.scanIdentifier = !0), _.identifierMin = H, _.identifierMax = P, t(_);
2687
2838
  }
2688
2839
  },
2689
- [m, g, n, e]
2840
+ [g, f, t, e]
2690
2841
  );
2691
- return /* @__PURE__ */ s(
2692
- Cr,
2842
+ return /* @__PURE__ */ i(
2843
+ Aa,
2693
2844
  {
2694
- linIdentifier: c,
2695
- identifierGeneratorType: m,
2696
- minLinIdentifier: I,
2697
- maxLinIdentifier: N,
2698
- onChange: f,
2699
- onErrorsChange: t,
2700
- linIdentifierGeneratorSettingsError: r,
2701
- disabled: a,
2845
+ linIdentifier: F,
2846
+ identifierGeneratorType: g,
2847
+ minLinIdentifier: $,
2848
+ maxLinIdentifier: v,
2849
+ onChange: u,
2850
+ onErrorsChange: n,
2851
+ linIdentifierGeneratorSettingsError: a,
2852
+ disabled: r,
2702
2853
  collapsible: l,
2703
- collapsed: u,
2854
+ collapsed: c,
2704
2855
  collapsedChange: d,
2705
- showSelectMessageDialogChange: i,
2706
- showSignalValuesTable: o
2856
+ showSignalValuesTable: s,
2857
+ parentDialogTitle: o,
2858
+ fullScreen: b,
2859
+ nodeIdentifier: m
2707
2860
  }
2708
2861
  );
2709
2862
  }
2710
- const Zr = V(xe)(() => ({
2863
+ const ar = se(Fe)(() => ({
2711
2864
  height: "100%",
2712
2865
  width: "100%",
2713
2866
  padding: "4px",
2714
2867
  overflow: "auto"
2715
2868
  }));
2716
2869
  export {
2717
- Qr as CanChannelSelectControl,
2718
- pr as CanIdentifierControl,
2719
- Hr as CanIdentifierFrameControl,
2720
- Sr as CanIdentifierGeneratorControl,
2721
- Kr as CanIdentifierGeneratorSettingsControl,
2722
- ea as CanKingDataProvider,
2723
- sn as CheckboxControl,
2724
- oe as ColumnItemControl,
2725
- qr as ContextMenu,
2726
- na as DevicesContext,
2727
- nr as DropdownButton,
2728
- Er as DropdownButtonTextItems,
2729
- Br as DropdownPanel,
2730
- Zr as FillBox,
2731
- ue as FormControlRow,
2732
- Ur as InlineEditor,
2733
- Xr as LinChannelSelectControl,
2734
- vr as LinIdentifierControl,
2735
- Yr as LinIdentifierFrameControl,
2736
- Cr as LinIdentifierGeneratorControl,
2737
- Jr as LinIdentifierGeneratorSettingsControl,
2738
- ta as LocalizedStrings,
2739
- ra as LogMessagesContext,
2740
- aa as MeasurementSetupContext,
2741
- ia as MeasurementStatusContext,
2742
- yr as NumberRangeControl,
2743
- Z as OneLineButton,
2744
- sa as OnlineStatusContext,
2745
- fe as RadioControl,
2746
- fn as RadioGroupControl,
2747
- la as RunningPeriodicTransmissionsContext,
2748
- me as SectionControl,
2749
- Me as SelectControl,
2750
- Or as SelectMessageDialog,
2751
- Pr as SelectSignalControl,
2752
- cr as SelectSignalDialog,
2753
- jr as SizedBox,
2754
- Dr as TableControl,
2755
- zr as TabsPanel,
2756
- lr as TextControl,
2757
- Tr as ToolbarControl,
2758
- da as UserSettingsContext,
2759
- re as ValidateableTextControl,
2760
- oa as WorkspacePanesContext,
2761
- bn as addEventListener,
2762
- pn as removeEventListener,
2763
- de as useColumnItem,
2764
- Ne as useColumnItems,
2765
- _e as useMessageDatabases
2870
+ Ga as CanChannelSelectControl,
2871
+ Fa as CanIdentifierControl,
2872
+ Za as CanIdentifierFrameControl,
2873
+ Ma as CanIdentifierGeneratorControl,
2874
+ Va as CanIdentifierGeneratorSettingsControl,
2875
+ ir as CanKingDataProvider,
2876
+ ht as CheckboxControl,
2877
+ pe as ColumnItemControl,
2878
+ Ja as ContextMenu,
2879
+ lr as DevicesContext,
2880
+ ca as DropdownButton,
2881
+ ja as DropdownButtonTextItems,
2882
+ za as DropdownPanel,
2883
+ ar as FillBox,
2884
+ ce as FormControlRow,
2885
+ qa as InlineEditor,
2886
+ er as LinChannelSelectControl,
2887
+ La as LinIdentifierControl,
2888
+ tr as LinIdentifierFrameControl,
2889
+ Aa as LinIdentifierGeneratorControl,
2890
+ nr as LinIdentifierGeneratorSettingsControl,
2891
+ dr as LocalizedStrings,
2892
+ or as LogMessagesContext,
2893
+ cr as MeasurementDataContext,
2894
+ ur as MeasurementSetupContext,
2895
+ fr as MeasurementStatusContext,
2896
+ Ta as NumberRangeControl,
2897
+ ae as OneLineButton,
2898
+ gr as OnlineStatusContext,
2899
+ be as RadioControl,
2900
+ vt as RadioGroupControl,
2901
+ mr as RunningPeriodicTransmissionsContext,
2902
+ xe as SectionControl,
2903
+ Ee as SelectControl,
2904
+ Re as SelectMessageDialog,
2905
+ Pe as SelectSignalDialog,
2906
+ Ha as SelectSignalsControl,
2907
+ Xa as SizedBox,
2908
+ Ka as TableControl,
2909
+ Qa as TabsPanel,
2910
+ Be as TextControl,
2911
+ Ya as ToolbarControl,
2912
+ hr as UserSettingsContext,
2913
+ oe as ValidateableTextControl,
2914
+ pr as WorkspacePanesContext,
2915
+ Mt as addEventListener,
2916
+ br as calculateSubscriptionKey,
2917
+ wt as removeEventListener,
2918
+ Sr as subscribeToData,
2919
+ xr as unsubscribeFromData,
2920
+ he as useColumnItem,
2921
+ Me as useColumnItems,
2922
+ De as useMessageDatabases
2766
2923
  };