@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.
- package/dist/ElectronAPIFake.js +1 -1
- package/dist/ElectronAPIFake.mjs +11 -10
- package/dist/controls/CanChannelSelectControl.d.ts +4 -4
- package/dist/controls/CanIdentifierControl.d.ts +78 -54
- package/dist/controls/CanKingDataProvider.d.ts +31 -2
- package/dist/controls/CheckboxControl.d.ts +2 -2
- package/dist/controls/ColumnItemControl.d.ts +1 -1
- package/dist/controls/ContextMenu.d.ts +2 -2
- package/dist/controls/DropdownButton.d.ts +3 -3
- package/dist/controls/DropdownPanel.d.ts +1 -1
- package/dist/controls/FormControlRow.d.ts +1 -1
- package/dist/controls/InlineEditor.d.ts +2 -2
- package/dist/controls/LinChannelSelectControl.d.ts +3 -3
- package/dist/controls/LinIdentifierControl.d.ts +76 -53
- package/dist/controls/LocalizedStrings.d.ts +1 -0
- package/dist/controls/NumberRangeControl.d.ts +11 -11
- package/dist/controls/RadioControl.d.ts +1 -1
- package/dist/controls/RadioGroupControl.d.ts +2 -2
- package/dist/controls/SectionControl.d.ts +2 -2
- package/dist/controls/SelectControl.d.ts +2 -2
- package/dist/controls/SelectSignalDialog.d.ts +2 -1
- package/dist/controls/SelectSignalsControl.d.ts +11 -0
- package/dist/controls/TableControl.d.ts +1 -1
- package/dist/controls/TextControl.d.ts +16 -6
- package/dist/controls/ToolbarControl.d.ts +2 -2
- package/dist/controls/ValidateableTextControl.d.ts +6 -6
- package/dist/controls/index.d.ts +2 -2
- package/dist/controls.js +1 -1
- package/dist/controls.mjs +2012 -1855
- package/dist/grpc.js +1 -1
- package/dist/grpc.mjs +125 -111
- package/dist/hooks/index.d.ts +37 -1
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +26 -20
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +29 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +498 -313
- package/dist/measurement_settings.js +1 -1
- package/dist/measurement_settings.mjs +799 -699
- package/dist/models/DataBuffer.d.ts +18 -15
- package/dist/models/ElectronAPIFake.d.ts +2 -1
- package/dist/models.js +1 -1
- package/dist/models.mjs +206 -200
- package/dist/protos/app_params.d.ts +13 -0
- package/dist/protos/frame_params.d.ts +17 -1
- package/dist/protos/measurement_params.d.ts +17 -1
- package/dist/protos/measurement_service.d.ts +36 -8
- package/dist/protos/measurement_settings.d.ts +1 -0
- package/dist/protos/signal_params.d.ts +3 -3
- package/dist/status_params.js +1 -1
- package/dist/status_params.mjs +567 -410
- package/doc/assets/hierarchy.js +1 -1
- package/doc/assets/main.js +5 -5
- package/doc/assets/navigation.js +1 -1
- package/doc/assets/search.js +1 -1
- package/doc/assets/style.css +254 -231
- package/doc/enums/models.AccessMode.html +9 -9
- package/doc/enums/models.AppEvent.html +6 -6
- package/doc/enums/models.CanChannelCap.html +44 -44
- package/doc/enums/models.CanFrameFlag.html +27 -27
- package/doc/enums/models.CanMessageFilterType.html +6 -6
- package/doc/enums/models.CanMode.html +7 -7
- package/doc/enums/models.DeviceEvent.html +6 -6
- package/doc/enums/models.FileConflictAction.html +7 -7
- package/doc/enums/models.FileType.html +7 -7
- package/doc/enums/models.LinFrameFlag.html +12 -12
- package/doc/enums/models.LogFileFormat.html +46 -46
- package/doc/enums/models.LogLevel.html +17 -17
- package/doc/enums/models.LogReplayState.html +6 -6
- package/doc/enums/models.LoggerState.html +7 -7
- package/doc/enums/models.MeasurementEvent.html +12 -12
- package/doc/enums/models.Protocols.html +9 -9
- package/doc/enums/models.ServiceExtensionType.html +8 -0
- package/doc/enums/models.SignalEncoding.html +5 -5
- package/doc/enums/models.SignalType.html +12 -12
- package/doc/enums/models.SignalValueTriggerOperator.html +13 -13
- package/doc/enums/models.StatusLevel.html +7 -7
- package/doc/enums/models.TriggerOperator.html +6 -6
- package/doc/functions/controls.CanChannelSelectControl.html +2 -2
- package/doc/functions/controls.CanIdentifierControl.html +2 -2
- package/doc/functions/controls.CanIdentifierFrameControl.html +2 -2
- package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -2
- package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -2
- package/doc/functions/controls.CanKingDataProvider.html +5 -5
- package/doc/functions/controls.CheckboxControl.html +2 -2
- package/doc/functions/controls.ColumnItemControl.html +2 -2
- package/doc/functions/controls.ContextMenu.html +2 -2
- package/doc/functions/controls.DropdownButton.html +2 -2
- package/doc/functions/controls.DropdownButtonTextItems.html +2 -2
- package/doc/functions/controls.DropdownPanel.html +2 -2
- package/doc/functions/controls.FormControlRow.html +2 -2
- package/doc/functions/controls.InlineEditor.html +2 -2
- package/doc/functions/controls.LinChannelSelectControl.html +2 -2
- package/doc/functions/controls.LinIdentifierControl.html +2 -2
- package/doc/functions/controls.LinIdentifierFrameControl.html +2 -2
- package/doc/functions/controls.LinIdentifierGeneratorControl.html +2 -2
- package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +2 -2
- package/doc/functions/controls.NumberRangeControl.html +2 -2
- package/doc/functions/controls.RadioControl.html +2 -2
- package/doc/functions/controls.RadioGroupControl.html +2 -2
- package/doc/functions/controls.SectionControl.html +2 -2
- package/doc/functions/controls.SelectControl.html +2 -2
- package/doc/functions/controls.SelectMessageDialog.html +2 -2
- package/doc/functions/controls.SelectSignalDialog.html +2 -2
- package/doc/functions/controls.TableControl.html +3 -3
- package/doc/functions/controls.TextControl.html +2 -2
- package/doc/functions/controls.ToolbarControl.html +2 -2
- package/doc/functions/controls.ValidateableTextControl.html +2 -2
- package/doc/functions/controls.useColumnItem.html +3 -3
- package/doc/functions/controls.useColumnItems.html +3 -3
- package/doc/functions/controls.useMessageDatabases.html +2 -2
- package/doc/functions/hooks.useDevices.html +3 -3
- package/doc/functions/hooks.useFixedPositionModeMeasurementData.html +4 -0
- package/doc/functions/hooks.useIsOnline.html +3 -3
- package/doc/functions/hooks.useLanguage.html +3 -3
- package/doc/functions/hooks.useLocalizedStrings.html +3 -3
- package/doc/functions/hooks.useLogMessages.html +3 -3
- package/doc/functions/hooks.useMaxDataBytes.html +2 -2
- package/doc/functions/hooks.useMeasurementSetup.html +3 -3
- package/doc/functions/hooks.useMeasurementStatus.html +3 -3
- package/doc/functions/hooks.useMessageData.html +4 -0
- package/doc/functions/hooks.useMessageLogFileFormats.html +3 -3
- package/doc/functions/hooks.useNewMeasurementData.html +4 -3
- package/doc/functions/hooks.useNodeStatus.html +3 -3
- package/doc/functions/hooks.useNumericRadix.html +3 -3
- package/doc/functions/hooks.useOnlineStatus.html +3 -3
- package/doc/functions/hooks.useOverallStatusLevel.html +3 -3
- package/doc/functions/hooks.useProjectData.html +5 -5
- package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
- package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -3
- package/doc/functions/hooks.useScrollModeMeasurementData.html +4 -0
- package/doc/functions/hooks.useSessionData.html +5 -5
- package/doc/functions/hooks.useSignalData.html +4 -0
- package/doc/functions/hooks.useSignalLogFileFormats.html +2 -2
- package/doc/functions/hooks.useUserSettings.html +3 -3
- package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
- package/doc/functions/ipc.addDataProcessor.html +3 -3
- package/doc/functions/ipc.addSource.html +3 -3
- package/doc/functions/ipc.addTarget.html +3 -3
- package/doc/functions/ipc.clearLinMessage.html +3 -3
- package/doc/functions/ipc.connectNodes.html +3 -3
- package/doc/functions/ipc.deleteDataProcessor.html +3 -3
- package/doc/functions/ipc.deleteSource.html +3 -3
- package/doc/functions/ipc.deleteTarget.html +3 -3
- package/doc/functions/ipc.disableNode.html +3 -3
- package/doc/functions/ipc.disconnectNodes.html +3 -3
- package/doc/functions/ipc.enableNode.html +3 -3
- package/doc/functions/ipc.getFrameDefinitions.html +3 -3
- package/doc/functions/ipc.getLogger.html +3 -3
- package/doc/functions/ipc.getMessageLogFileFormats.html +3 -3
- package/doc/functions/ipc.getSignalLogFileFormats.html +3 -3
- package/doc/functions/ipc.requestLinMessage.html +3 -3
- package/doc/functions/ipc.sendCanMessage.html +3 -3
- package/doc/functions/ipc.sendMessage.html +3 -3
- package/doc/functions/ipc.showMessageBox.html +3 -3
- package/doc/functions/ipc.showQuestionBox.html +3 -3
- package/doc/functions/ipc.startLogReplay.html +3 -3
- package/doc/functions/ipc.startMeasurement.html +2 -2
- package/doc/functions/ipc.startPeriodicTransmission.html +3 -3
- package/doc/functions/ipc.stopLogReplay.html +3 -3
- package/doc/functions/ipc.stopMeasurement.html +2 -2
- package/doc/functions/ipc.stopPeriodicTransmission.html +3 -3
- package/doc/functions/ipc.updateDataProcessor.html +3 -3
- package/doc/functions/ipc.updateLinMessage.html +3 -3
- package/doc/functions/ipc.updatePeriodicTransmission.html +3 -3
- package/doc/functions/ipc.updateSource.html +3 -3
- package/doc/functions/ipc.updateTarget.html +3 -3
- package/doc/hierarchy.html +1 -1
- package/doc/index.html +6 -6
- package/doc/interfaces/controls.ButtonGroupProps.html +10 -10
- package/doc/interfaces/controls.ButtonProps.html +22 -22
- package/doc/interfaces/controls.CanChannelSelectControlProps.html +20 -20
- package/doc/interfaces/controls.CanIdentifierControlProps.html +45 -37
- package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +31 -33
- package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +39 -33
- package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +31 -25
- package/doc/interfaces/controls.CheckboxControlProps.html +17 -17
- package/doc/interfaces/controls.ContextMenuProps.html +9 -9
- package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -4
- package/doc/interfaces/controls.DropdownButtonProps.html +20 -20
- package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -9
- package/doc/interfaces/controls.DropdownPanelProps.html +20 -20
- package/doc/interfaces/controls.FormControlRowProps.html +8 -8
- package/doc/interfaces/controls.ILocalizedStrings.html +2 -3
- package/doc/interfaces/controls.IMessageDatabase.html +2 -4
- package/doc/interfaces/controls.InlineEditorProps.html +13 -13
- package/doc/interfaces/controls.LabelProps.html +6 -6
- package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -20
- package/doc/interfaces/controls.LinIdentifierControlProps.html +42 -35
- package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +31 -33
- package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -31
- package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +31 -25
- package/doc/interfaces/controls.NumberRangeControlProps.html +38 -38
- package/doc/interfaces/controls.RadioControlProps.html +14 -14
- package/doc/interfaces/controls.RadioGroupControlProps.html +9 -9
- package/doc/interfaces/controls.SectionControlProps.html +17 -17
- package/doc/interfaces/controls.SelectControlProps.html +31 -31
- package/doc/interfaces/controls.SelectMessageDialogProps.html +2 -8
- package/doc/interfaces/controls.SelectSignalDialogProps.html +2 -12
- package/doc/interfaces/controls.TableColumn.html +12 -12
- package/doc/interfaces/controls.TableControlProps.html +30 -30
- package/doc/interfaces/controls.TextControlProps.html +41 -41
- package/doc/interfaces/controls.ToggleButtonGroupProps.html +17 -17
- package/doc/interfaces/controls.ToggleButtonProps.html +14 -14
- package/doc/interfaces/controls.ToolbarControlProps.html +18 -18
- package/doc/interfaces/controls.ValidateableTextControlProps.html +54 -54
- package/doc/interfaces/controls.toolbarItem.html +12 -12
- package/doc/interfaces/hooks.ISignalData.html +2 -0
- package/doc/interfaces/ipc.ILogger.html +2 -8
- package/doc/interfaces/models.AboutInformation.html +8 -8
- package/doc/interfaces/models.ActivateLicenseRequest.html +8 -8
- package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +2 -4
- package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +2 -4
- package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +8 -10
- package/doc/interfaces/models.AddOrUpdateSourceRequest.html +4 -6
- package/doc/interfaces/models.AddOrUpdateTargetRequest.html +4 -6
- package/doc/interfaces/models.ApiPreferences.html +10 -10
- package/doc/interfaces/models.AppEventArgs.html +6 -6
- package/doc/interfaces/models.BaseNodeProperties.html +2 -8
- package/doc/interfaces/models.BusStatus.html +2 -17
- package/doc/interfaces/models.CanBusParamLimits.html +2 -7
- package/doc/interfaces/models.CanBusParams.html +2 -8
- package/doc/interfaces/models.CanBusSpeedInfo.html +14 -14
- package/doc/interfaces/models.CanChannelCapacity.html +4 -7
- package/doc/interfaces/models.CanChannelConfiguration.html +16 -16
- package/doc/interfaces/models.CanFDBusSpeedCombination.html +2 -4
- package/doc/interfaces/models.CanFDBusSpeedInfo.html +10 -10
- package/doc/interfaces/models.CanFrameFlags.html +2 -3
- package/doc/interfaces/models.CanMessageFilterSettings.html +2 -5
- package/doc/interfaces/models.Channel.html +2 -7
- package/doc/interfaces/models.ChannelSettings.html +20 -20
- package/doc/interfaces/models.ClearLinMessageRequest.html +6 -7
- package/doc/interfaces/models.ConnectNodesRequest.html +2 -5
- package/doc/interfaces/models.DataProcessingStatus.html +2 -6
- package/doc/interfaces/models.DataProcessorNodeProperties.html +2 -8
- package/doc/interfaces/models.DatabaseFiles.html +6 -6
- package/doc/interfaces/models.DatabasesSettings.html +2 -3
- package/doc/interfaces/models.Device.html +2 -9
- package/doc/interfaces/models.DeviceEventArgs.html +2 -4
- package/doc/interfaces/models.DisconnectNodesRequest.html +2 -5
- package/doc/interfaces/models.Empty.html +2 -2
- package/doc/interfaces/models.ErrorStatus.html +4 -4
- package/doc/interfaces/models.FixedPosFrameIdentifier.html +14 -0
- package/doc/interfaces/models.Frame.html +30 -30
- package/doc/interfaces/models.FrameDefinition.html +14 -14
- package/doc/interfaces/models.FramePropertyValue.html +2 -4
- package/doc/interfaces/models.FrameReceivedTrigger.html +6 -6
- package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +2 -7
- package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +6 -6
- package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +2 -6
- package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +4 -4
- package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +4 -5
- package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +4 -4
- package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +2 -5
- package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +4 -4
- package/doc/interfaces/models.GetDataFramesBeforeTimestampRequest.html +6 -0
- package/doc/interfaces/models.GetDataProcessorResponse.html +2 -3
- package/doc/interfaces/models.GetDevicesRequest.html +2 -4
- package/doc/interfaces/models.GetDevicesResponse.html +2 -3
- package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +4 -5
- package/doc/interfaces/models.GetLicensesResponse.html +4 -4
- package/doc/interfaces/models.GetLogFileFormatsRequest.html +8 -9
- package/doc/interfaces/models.GetLogFileFormatsResponse.html +10 -10
- package/doc/interfaces/models.GetLogLevelResponse.html +4 -4
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +4 -5
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +4 -4
- package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +6 -6
- package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +16 -14
- package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +6 -7
- package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +4 -4
- package/doc/interfaces/models.GetSourceResponse.html +2 -3
- package/doc/interfaces/models.GetTargetResponse.html +2 -3
- package/doc/interfaces/models.ILogFileFormat.html +2 -6
- package/doc/interfaces/models.IProject.html +2 -6
- package/doc/interfaces/models.IUserSettings.html +2 -17
- package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -4
- package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -5
- package/doc/interfaces/models.IWorkspaceData.html +2 -5
- package/doc/interfaces/models.IWorkspacePaneData.html +2 -5
- package/doc/interfaces/models.IdentifierRequest.html +2 -4
- package/doc/interfaces/models.IdentifiersRequest.html +2 -4
- package/doc/interfaces/models.InstallServiceExtensionRequest.html +8 -8
- package/doc/interfaces/models.InterpreterSettings.html +4 -4
- package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
- package/doc/interfaces/models.LicenseInformation.html +18 -18
- package/doc/interfaces/models.Licenses.html +4 -4
- package/doc/interfaces/models.LinChannelConfiguration.html +14 -14
- package/doc/interfaces/models.LinFrameFlags.html +2 -3
- package/doc/interfaces/models.LogMessage.html +12 -12
- package/doc/interfaces/models.LogMessages.html +4 -4
- package/doc/interfaces/models.LogReplaySettings.html +26 -26
- package/doc/interfaces/models.LogReplayStatus.html +2 -3
- package/doc/interfaces/models.LoggerStatus.html +2 -3
- package/doc/interfaces/models.MeasurementEventArgs.html +2 -6
- package/doc/interfaces/models.MeasurementSetup.html +2 -6
- package/doc/interfaces/models.MessageLoggerSettings.html +44 -44
- package/doc/interfaces/models.NodeStatus.html +18 -18
- package/doc/interfaces/models.NodeStatuses.html +2 -3
- package/doc/interfaces/models.OnlineStatus.html +2 -3
- package/doc/interfaces/models.PeriodicTransmissionSettings.html +36 -36
- package/doc/interfaces/models.RequestLinMessageRequest.html +6 -7
- package/doc/interfaces/models.ScheduleTable.html +8 -8
- package/doc/interfaces/models.ScheduleTableEntry.html +6 -6
- package/doc/interfaces/models.SendLinWakeupFrameRequest.html +8 -9
- package/doc/interfaces/models.SendMessageRequest.html +2 -5
- package/doc/interfaces/models.ServiceExtensionSettings.html +2 -4
- package/doc/interfaces/models.SetLogLevelRequest.html +6 -6
- package/doc/interfaces/models.SetMeasurementSetupRequest.html +2 -4
- package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +8 -9
- package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +6 -6
- package/doc/interfaces/models.SignalDefinition.html +2 -18
- package/doc/interfaces/models.SignalFilterSettings.html +4 -4
- package/doc/interfaces/models.SignalLoggerSettings.html +56 -56
- package/doc/interfaces/models.SignalValue.html +2 -7
- package/doc/interfaces/models.SignalValueTrigger.html +16 -16
- package/doc/interfaces/models.SourceNodeProperties.html +2 -7
- package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +4 -5
- package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +2 -3
- package/doc/interfaces/models.SubscribeForDataRequest.html +4 -0
- package/doc/interfaces/models.TargetNodeProperties.html +2 -6
- package/doc/interfaces/models.TriggerSettings.html +8 -8
- package/doc/interfaces/models.UninstallServiceExtensionRequest.html +6 -6
- package/doc/interfaces/models.UpdateLinMessageRequest.html +6 -7
- package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +6 -7
- package/doc/interfaces/models.WriteFrame.html +10 -10
- package/doc/modules/controls.html +3 -3
- package/doc/modules/hooks.html +3 -3
- package/doc/modules/icons.html +2 -2
- package/doc/modules/ipc.html +2 -2
- package/doc/modules/models.html +2 -2
- package/doc/modules.html +1 -1
- package/doc/types/controls.ContextMenuOption.html +10 -6
- package/doc/types/controls.SelectOption.html +6 -4
- package/doc/types/controls.StringsMap.html +2 -2
- package/doc/types/controls.canIdentifierGeneratorType.html +2 -2
- package/doc/types/controls.canIdentifierType.html +2 -2
- package/doc/types/controls.linIdentifierGeneratorType.html +2 -2
- package/doc/variables/controls.FillBox.html +3 -0
- package/doc/variables/controls.OneLineButton.html +2 -0
- package/doc/variables/controls.SizedBox.html +3 -0
- package/doc/variables/controls.TabsPanel.html +2 -0
- package/doc/variables/models.defaultUserSettings.html +2 -2
- package/doc_md/README.md +189 -0
- package/doc_md/assets/favicon.png +0 -0
- package/doc_md/controls/README.md +156 -0
- package/doc_md/controls/functions/CanChannelSelectControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierFrameControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierGeneratorControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierGeneratorSettingsControl.md +26 -0
- package/doc_md/controls/functions/CanKingDataProvider.md +47 -0
- package/doc_md/controls/functions/CheckboxControl.md +25 -0
- package/doc_md/controls/functions/ColumnItemControl.md +21 -0
- package/doc_md/controls/functions/ContextMenu.md +25 -0
- package/doc_md/controls/functions/DropdownButton.md +25 -0
- package/doc_md/controls/functions/DropdownButtonTextItems.md +25 -0
- package/doc_md/controls/functions/DropdownPanel.md +25 -0
- package/doc_md/controls/functions/FormControlRow.md +25 -0
- package/doc_md/controls/functions/InlineEditor.md +25 -0
- package/doc_md/controls/functions/LinChannelSelectControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierFrameControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierGeneratorControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierGeneratorSettingsControl.md +26 -0
- package/doc_md/controls/functions/NumberRangeControl.md +25 -0
- package/doc_md/controls/functions/RadioControl.md +25 -0
- package/doc_md/controls/functions/RadioGroupControl.md +25 -0
- package/doc_md/controls/functions/SectionControl.md +25 -0
- package/doc_md/controls/functions/SelectControl.md +25 -0
- package/doc_md/controls/functions/SelectMessageDialog.md +21 -0
- package/doc_md/controls/functions/SelectSignalDialog.md +21 -0
- package/doc_md/controls/functions/TableControl.md +31 -0
- package/doc_md/controls/functions/TextControl.md +25 -0
- package/doc_md/controls/functions/ToolbarControl.md +25 -0
- package/doc_md/controls/functions/ValidateableTextControl.md +25 -0
- package/doc_md/controls/functions/useColumnItem.md +17 -0
- package/doc_md/controls/functions/useColumnItems.md +25 -0
- package/doc_md/controls/functions/useMessageDatabases.md +21 -0
- package/doc_md/controls/interfaces/ButtonGroupProps.md +41 -0
- package/doc_md/controls/interfaces/ButtonProps.md +93 -0
- package/doc_md/controls/interfaces/CanChannelSelectControlProps.md +103 -0
- package/doc_md/controls/interfaces/CanIdentifierControlProps.md +214 -0
- package/doc_md/controls/interfaces/CanIdentifierFrameControlProps.md +143 -0
- package/doc_md/controls/interfaces/CanIdentifierGeneratorControlProps.md +210 -0
- package/doc_md/controls/interfaces/CanIdentifierGeneratorSettingsControlProps.md +153 -0
- package/doc_md/controls/interfaces/CheckboxControlProps.md +77 -0
- package/doc_md/controls/interfaces/ContextMenuProps.md +45 -0
- package/doc_md/controls/interfaces/DropdownButtonChildrenProps.md +25 -0
- package/doc_md/controls/interfaces/DropdownButtonProps.md +81 -0
- package/doc_md/controls/interfaces/DropdownButtonTextItemsProps.md +70 -0
- package/doc_md/controls/interfaces/DropdownPanelProps.md +81 -0
- package/doc_md/controls/interfaces/FormControlRowProps.md +33 -0
- package/doc_md/controls/interfaces/ILocalizedStrings.md +9 -0
- package/doc_md/controls/interfaces/IMessageDatabase.md +9 -0
- package/doc_md/controls/interfaces/InlineEditorProps.md +61 -0
- package/doc_md/controls/interfaces/LabelProps.md +25 -0
- package/doc_md/controls/interfaces/LinChannelSelectControlProps.md +97 -0
- package/doc_md/controls/interfaces/LinIdentifierControlProps.md +194 -0
- package/doc_md/controls/interfaces/LinIdentifierFrameControlProps.md +143 -0
- package/doc_md/controls/interfaces/LinIdentifierGeneratorControlProps.md +198 -0
- package/doc_md/controls/interfaces/LinIdentifierGeneratorSettingsControlProps.md +153 -0
- package/doc_md/controls/interfaces/NumberRangeControlProps.md +253 -0
- package/doc_md/controls/interfaces/RadioControlProps.md +57 -0
- package/doc_md/controls/interfaces/RadioGroupControlProps.md +45 -0
- package/doc_md/controls/interfaces/SectionControlProps.md +77 -0
- package/doc_md/controls/interfaces/SelectControlProps.md +134 -0
- package/doc_md/controls/interfaces/SelectMessageDialogProps.md +9 -0
- package/doc_md/controls/interfaces/SelectSignalDialogProps.md +9 -0
- package/doc_md/controls/interfaces/TableColumn.md +65 -0
- package/doc_md/controls/interfaces/TableControlProps.md +157 -0
- package/doc_md/controls/interfaces/TextControlProps.md +177 -0
- package/doc_md/controls/interfaces/ToggleButtonGroupProps.md +77 -0
- package/doc_md/controls/interfaces/ToggleButtonProps.md +57 -0
- package/doc_md/controls/interfaces/ToolbarControlProps.md +73 -0
- package/doc_md/controls/interfaces/ValidateableTextControlProps.md +269 -0
- package/doc_md/controls/interfaces/toolbarItem.md +49 -0
- package/doc_md/controls/type-aliases/ContextMenuOption.md +43 -0
- package/doc_md/controls/type-aliases/SelectOption.md +27 -0
- package/doc_md/controls/type-aliases/StringsMap.md +15 -0
- package/doc_md/controls/type-aliases/canIdentifierGeneratorType.md +11 -0
- package/doc_md/controls/type-aliases/canIdentifierType.md +11 -0
- package/doc_md/controls/type-aliases/linIdentifierGeneratorType.md +11 -0
- package/doc_md/controls/variables/FillBox.md +12 -0
- package/doc_md/controls/variables/OneLineButton.md +11 -0
- package/doc_md/controls/variables/SizedBox.md +12 -0
- package/doc_md/controls/variables/TabsPanel.md +11 -0
- package/doc_md/hooks/README.md +53 -0
- package/doc_md/hooks/functions/useDevices.md +17 -0
- package/doc_md/hooks/functions/useFixedPositionModeMeasurementData.md +25 -0
- package/doc_md/hooks/functions/useIsOnline.md +17 -0
- package/doc_md/hooks/functions/useLanguage.md +17 -0
- package/doc_md/hooks/functions/useLocalizedStrings.md +17 -0
- package/doc_md/hooks/functions/useLogMessages.md +17 -0
- package/doc_md/hooks/functions/useMaxDataBytes.md +15 -0
- package/doc_md/hooks/functions/useMeasurementSetup.md +17 -0
- package/doc_md/hooks/functions/useMeasurementStatus.md +17 -0
- package/doc_md/hooks/functions/useMessageData.md +25 -0
- package/doc_md/hooks/functions/useMessageLogFileFormats.md +23 -0
- package/doc_md/hooks/functions/useNewMeasurementData.md +35 -0
- package/doc_md/hooks/functions/useNodeStatus.md +23 -0
- package/doc_md/hooks/functions/useNumericRadix.md +17 -0
- package/doc_md/hooks/functions/useOnlineStatus.md +17 -0
- package/doc_md/hooks/functions/useOverallStatusLevel.md +17 -0
- package/doc_md/hooks/functions/useProjectData.md +49 -0
- package/doc_md/hooks/functions/useRecentProjectFiles.md +15 -0
- package/doc_md/hooks/functions/useRunningPeriodicTransmissions.md +17 -0
- package/doc_md/hooks/functions/useScrollModeMeasurementData.md +25 -0
- package/doc_md/hooks/functions/useSessionData.md +49 -0
- package/doc_md/hooks/functions/useSignalData.md +25 -0
- package/doc_md/hooks/functions/useSignalLogFileFormats.md +15 -0
- package/doc_md/hooks/functions/useUserSettings.md +17 -0
- package/doc_md/hooks/functions/useWorkspacePaneWithId.md +21 -0
- package/doc_md/hooks/interfaces/ISignalData.md +9 -0
- package/doc_md/icons/README.md +9 -0
- package/doc_md/ipc/README.md +47 -0
- package/doc_md/ipc/functions/addDataProcessor.md +35 -0
- package/doc_md/ipc/functions/addSource.md +23 -0
- package/doc_md/ipc/functions/addTarget.md +23 -0
- package/doc_md/ipc/functions/clearLinMessage.md +29 -0
- package/doc_md/ipc/functions/connectNodes.md +29 -0
- package/doc_md/ipc/functions/deleteDataProcessor.md +23 -0
- package/doc_md/ipc/functions/deleteSource.md +23 -0
- package/doc_md/ipc/functions/deleteTarget.md +23 -0
- package/doc_md/ipc/functions/disableNode.md +23 -0
- package/doc_md/ipc/functions/disconnectNodes.md +29 -0
- package/doc_md/ipc/functions/enableNode.md +23 -0
- package/doc_md/ipc/functions/getFrameDefinitions.md +26 -0
- package/doc_md/ipc/functions/getLogger.md +25 -0
- package/doc_md/ipc/functions/getMessageLogFileFormats.md +17 -0
- package/doc_md/ipc/functions/getSignalLogFileFormats.md +17 -0
- package/doc_md/ipc/functions/requestLinMessage.md +30 -0
- package/doc_md/ipc/functions/sendCanMessage.md +41 -0
- package/doc_md/ipc/functions/sendMessage.md +29 -0
- package/doc_md/ipc/functions/showMessageBox.md +29 -0
- package/doc_md/ipc/functions/showQuestionBox.md +51 -0
- package/doc_md/ipc/functions/startLogReplay.md +23 -0
- package/doc_md/ipc/functions/startMeasurement.md +15 -0
- package/doc_md/ipc/functions/startPeriodicTransmission.md +25 -0
- package/doc_md/ipc/functions/stopLogReplay.md +23 -0
- package/doc_md/ipc/functions/stopMeasurement.md +15 -0
- package/doc_md/ipc/functions/stopPeriodicTransmission.md +23 -0
- package/doc_md/ipc/functions/updateDataProcessor.md +23 -0
- package/doc_md/ipc/functions/updateLinMessage.md +29 -0
- package/doc_md/ipc/functions/updatePeriodicTransmission.md +29 -0
- package/doc_md/ipc/functions/updateSource.md +23 -0
- package/doc_md/ipc/functions/updateTarget.md +23 -0
- package/doc_md/ipc/interfaces/ILogger.md +9 -0
- package/doc_md/models/README.md +157 -0
- package/doc_md/models/enumerations/AccessMode.md +49 -0
- package/doc_md/models/enumerations/AppEvent.md +29 -0
- package/doc_md/models/enumerations/CanChannelCap.md +181 -0
- package/doc_md/models/enumerations/CanFrameFlag.md +159 -0
- package/doc_md/models/enumerations/CanMessageFilterType.md +33 -0
- package/doc_md/models/enumerations/CanMode.md +39 -0
- package/doc_md/models/enumerations/DeviceEvent.md +29 -0
- package/doc_md/models/enumerations/FileConflictAction.md +39 -0
- package/doc_md/models/enumerations/FileType.md +39 -0
- package/doc_md/models/enumerations/LinFrameFlag.md +69 -0
- package/doc_md/models/enumerations/LogFileFormat.md +191 -0
- package/doc_md/models/enumerations/LogLevel.md +76 -0
- package/doc_md/models/enumerations/LogReplayState.md +33 -0
- package/doc_md/models/enumerations/LoggerState.md +39 -0
- package/doc_md/models/enumerations/MeasurementEvent.md +53 -0
- package/doc_md/models/enumerations/Protocols.md +39 -0
- package/doc_md/models/enumerations/ServiceExtensionType.md +37 -0
- package/doc_md/models/enumerations/SignalEncoding.md +27 -0
- package/doc_md/models/enumerations/SignalType.md +53 -0
- package/doc_md/models/enumerations/SignalValueTriggerOperator.md +75 -0
- package/doc_md/models/enumerations/StatusLevel.md +39 -0
- package/doc_md/models/enumerations/TriggerOperator.md +33 -0
- package/doc_md/models/interfaces/AboutInformation.md +33 -0
- package/doc_md/models/interfaces/ActivateLicenseRequest.md +33 -0
- package/doc_md/models/interfaces/AddAllConnectedCanChannelsRequest.md +9 -0
- package/doc_md/models/interfaces/AddAllConnectedLinChannelsRequest.md +9 -0
- package/doc_md/models/interfaces/AddOrUpdateDataProcessorRequest.md +35 -0
- package/doc_md/models/interfaces/AddOrUpdateSourceRequest.md +19 -0
- package/doc_md/models/interfaces/AddOrUpdateTargetRequest.md +19 -0
- package/doc_md/models/interfaces/ApiPreferences.md +41 -0
- package/doc_md/models/interfaces/AppEventArgs.md +25 -0
- package/doc_md/models/interfaces/BaseNodeProperties.md +9 -0
- package/doc_md/models/interfaces/BusStatus.md +9 -0
- package/doc_md/models/interfaces/CanBusParamLimits.md +9 -0
- package/doc_md/models/interfaces/CanBusParams.md +30 -0
- package/doc_md/models/interfaces/CanBusSpeedInfo.md +57 -0
- package/doc_md/models/interfaces/CanChannelCapacity.md +17 -0
- package/doc_md/models/interfaces/CanChannelConfiguration.md +65 -0
- package/doc_md/models/interfaces/CanFDBusSpeedCombination.md +9 -0
- package/doc_md/models/interfaces/CanFDBusSpeedInfo.md +41 -0
- package/doc_md/models/interfaces/CanFrameFlags.md +10 -0
- package/doc_md/models/interfaces/CanMessageFilterSettings.md +9 -0
- package/doc_md/models/interfaces/Channel.md +9 -0
- package/doc_md/models/interfaces/ChannelSettings.md +81 -0
- package/doc_md/models/interfaces/ClearLinMessageRequest.md +25 -0
- package/doc_md/models/interfaces/ConnectNodesRequest.md +9 -0
- package/doc_md/models/interfaces/DataProcessingStatus.md +9 -0
- package/doc_md/models/interfaces/DataProcessorNodeProperties.md +9 -0
- package/doc_md/models/interfaces/DatabaseFiles.md +25 -0
- package/doc_md/models/interfaces/DatabasesSettings.md +9 -0
- package/doc_md/models/interfaces/Device.md +9 -0
- package/doc_md/models/interfaces/DeviceEventArgs.md +9 -0
- package/doc_md/models/interfaces/DisconnectNodesRequest.md +9 -0
- package/doc_md/models/interfaces/Empty.md +17 -0
- package/doc_md/models/interfaces/ErrorStatus.md +17 -0
- package/doc_md/models/interfaces/FixedPosFrameIdentifier.md +57 -0
- package/doc_md/models/interfaces/Frame.md +125 -0
- package/doc_md/models/interfaces/FrameDefinition.md +57 -0
- package/doc_md/models/interfaces/FramePropertyValue.md +9 -0
- package/doc_md/models/interfaces/FrameReceivedTrigger.md +25 -0
- package/doc_md/models/interfaces/GetCanChannelBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetCanChannelBusSpeedsResponse.md +25 -0
- package/doc_md/models/interfaces/GetCanFdBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetCanFdBusSpeedsResponse.md +17 -0
- package/doc_md/models/interfaces/GetChannelsFromLogFileRequest.md +17 -0
- package/doc_md/models/interfaces/GetChannelsFromLogFileResponse.md +17 -0
- package/doc_md/models/interfaces/GetClassicCanBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetClassicCanBusSpeedsResponse.md +17 -0
- package/doc_md/models/interfaces/GetDataFramesBeforeTimestampRequest.md +25 -0
- package/doc_md/models/interfaces/GetDataProcessorResponse.md +9 -0
- package/doc_md/models/interfaces/GetDevicesRequest.md +9 -0
- package/doc_md/models/interfaces/GetDevicesResponse.md +9 -0
- package/doc_md/models/interfaces/GetFrameDefinitionsFromDatabaseFilesRequest.md +17 -0
- package/doc_md/models/interfaces/GetLicensesResponse.md +17 -0
- package/doc_md/models/interfaces/GetLogFileFormatsRequest.md +33 -0
- package/doc_md/models/interfaces/GetLogFileFormatsResponse.md +41 -0
- package/doc_md/models/interfaces/GetLogLevelResponse.md +17 -0
- package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesRequest.md +17 -0
- package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesResponse.md +17 -0
- package/doc_md/models/interfaces/GetServiceExtensionInfoRequest.md +27 -0
- package/doc_md/models/interfaces/GetServiceExtensionInfoResponse.md +65 -0
- package/doc_md/models/interfaces/GetSignalDataFromMessageDataRequest.md +25 -0
- package/doc_md/models/interfaces/GetSignalDataFromMessageDataResponse.md +17 -0
- package/doc_md/models/interfaces/GetSourceResponse.md +9 -0
- package/doc_md/models/interfaces/GetTargetResponse.md +9 -0
- package/doc_md/models/interfaces/ILogFileFormat.md +9 -0
- package/doc_md/models/interfaces/IProject.md +9 -0
- package/doc_md/models/interfaces/IUserSettings.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceComponentPaneData.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceContainerPaneData.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceData.md +9 -0
- package/doc_md/models/interfaces/IWorkspacePaneData.md +9 -0
- package/doc_md/models/interfaces/IdentifierRequest.md +10 -0
- package/doc_md/models/interfaces/IdentifiersRequest.md +10 -0
- package/doc_md/models/interfaces/InstallServiceExtensionRequest.md +33 -0
- package/doc_md/models/interfaces/InterpreterSettings.md +17 -0
- package/doc_md/models/interfaces/J1939InterpreterSettings.md +9 -0
- package/doc_md/models/interfaces/LicenseInformation.md +73 -0
- package/doc_md/models/interfaces/Licenses.md +17 -0
- package/doc_md/models/interfaces/LinChannelConfiguration.md +57 -0
- package/doc_md/models/interfaces/LinFrameFlags.md +10 -0
- package/doc_md/models/interfaces/LogMessage.md +49 -0
- package/doc_md/models/interfaces/LogMessages.md +17 -0
- package/doc_md/models/interfaces/LogReplaySettings.md +109 -0
- package/doc_md/models/interfaces/LogReplayStatus.md +9 -0
- package/doc_md/models/interfaces/LoggerStatus.md +9 -0
- package/doc_md/models/interfaces/MeasurementEventArgs.md +9 -0
- package/doc_md/models/interfaces/MeasurementSetup.md +9 -0
- package/doc_md/models/interfaces/MessageLoggerSettings.md +177 -0
- package/doc_md/models/interfaces/NodeStatus.md +73 -0
- package/doc_md/models/interfaces/NodeStatuses.md +9 -0
- package/doc_md/models/interfaces/OnlineStatus.md +9 -0
- package/doc_md/models/interfaces/PeriodicTransmissionSettings.md +145 -0
- package/doc_md/models/interfaces/RequestLinMessageRequest.md +25 -0
- package/doc_md/models/interfaces/ScheduleTable.md +33 -0
- package/doc_md/models/interfaces/ScheduleTableEntry.md +25 -0
- package/doc_md/models/interfaces/SendLinWakeupFrameRequest.md +33 -0
- package/doc_md/models/interfaces/SendMessageRequest.md +9 -0
- package/doc_md/models/interfaces/ServiceExtensionSettings.md +9 -0
- package/doc_md/models/interfaces/SetLogLevelRequest.md +25 -0
- package/doc_md/models/interfaces/SetMeasurementSetupRequest.md +9 -0
- package/doc_md/models/interfaces/SetSignalDataToMessageDataRequest.md +33 -0
- package/doc_md/models/interfaces/SetSignalDataToMessageDataResponse.md +26 -0
- package/doc_md/models/interfaces/SignalDefinition.md +9 -0
- package/doc_md/models/interfaces/SignalFilterSettings.md +17 -0
- package/doc_md/models/interfaces/SignalLoggerSettings.md +225 -0
- package/doc_md/models/interfaces/SignalValue.md +9 -0
- package/doc_md/models/interfaces/SignalValueTrigger.md +65 -0
- package/doc_md/models/interfaces/SourceNodeProperties.md +9 -0
- package/doc_md/models/interfaces/StartPeriodicTransmissionRequest.md +17 -0
- package/doc_md/models/interfaces/StartPeriodicTransmissionResponse.md +9 -0
- package/doc_md/models/interfaces/SubscribeForDataRequest.md +17 -0
- package/doc_md/models/interfaces/TargetNodeProperties.md +9 -0
- package/doc_md/models/interfaces/TriggerSettings.md +33 -0
- package/doc_md/models/interfaces/UninstallServiceExtensionRequest.md +25 -0
- package/doc_md/models/interfaces/UpdateLinMessageRequest.md +26 -0
- package/doc_md/models/interfaces/UpdatePeriodicTransmissionRequest.md +25 -0
- package/doc_md/models/interfaces/WriteFrame.md +41 -0
- package/doc_md/models/variables/defaultUserSettings.md +11 -0
- package/doc_md/modules.md +13 -0
- package/package.json +5 -4
- package/dist/controls/SelectSignalControl.d.ts +0 -11
- package/doc/classes/controls.LocalizedStrings.html +0 -4
- package/doc/classes/models.DataBuffer.html +0 -32
- package/doc/classes/models.DataBufferView.html +0 -20
- package/doc/classes/models.Point.html +0 -14
- package/doc/enums/models.DecimalChar.html +0 -5
- package/doc/enums/models.Separator.html +0 -5
- package/doc/enums/models.TimeReference.html +0 -5
- package/doc/functions/controls.FillBox.html +0 -33
- package/doc/functions/controls.OneLineButton.html +0 -32
- package/doc/functions/controls.SelectSignalControl.html +0 -1
- package/doc/functions/controls.SizedBox.html +0 -33
- package/doc/functions/controls.TabsPanel.html +0 -32
- package/doc/functions/icons.AddIcon.html +0 -4
- package/doc/functions/icons.ArrowDownIcon.html +0 -4
- package/doc/functions/icons.ArrowLeftIcon.html +0 -4
- package/doc/functions/icons.ArrowRightIcon.html +0 -4
- package/doc/functions/icons.ArrowUpIcon.html +0 -4
- package/doc/functions/icons.BusIsOffIcon.html +0 -4
- package/doc/functions/icons.BusIsOnIcon.html +0 -4
- package/doc/functions/icons.CloseIcon.html +0 -4
- package/doc/functions/icons.ColumnSettingsIcon.html +0 -4
- package/doc/functions/icons.CopyIcon.html +0 -4
- package/doc/functions/icons.DarkModeIcon.html +0 -4
- package/doc/functions/icons.DeleteIcon.html +0 -4
- package/doc/functions/icons.DisableIcon.html +0 -4
- package/doc/functions/icons.EditIcon.html +0 -4
- package/doc/functions/icons.EnableIcon.html +0 -4
- package/doc/functions/icons.FilterIcon.html +0 -4
- package/doc/functions/icons.FixedPositionIcon.html +0 -4
- package/doc/functions/icons.LeaveFullScreenIcon.html +0 -4
- package/doc/functions/icons.LightModeIcon.html +0 -4
- package/doc/functions/icons.LineArrowDownIcon.html +0 -4
- package/doc/functions/icons.LineArrowUpIcon.html +0 -4
- package/doc/functions/icons.MaximizeWindowIcon.html +0 -4
- package/doc/functions/icons.MeasurementSetupIcon.html +0 -4
- package/doc/functions/icons.MoreHorizIcon.html +0 -4
- package/doc/functions/icons.MoreVertIcon.html +0 -4
- package/doc/functions/icons.NewIcon.html +0 -4
- package/doc/functions/icons.OpenExternallyIcon.html +0 -4
- package/doc/functions/icons.OpenIcon.html +0 -4
- package/doc/functions/icons.PauseIcon.html +0 -4
- package/doc/functions/icons.PlayIcon.html +0 -4
- package/doc/functions/icons.PlaySolidIcon.html +0 -4
- package/doc/functions/icons.SaveIcon.html +0 -4
- package/doc/functions/icons.SelectAllIcon.html +0 -4
- package/doc/functions/icons.ServiceIconActive.html +0 -4
- package/doc/functions/icons.ServiceIconInactive.html +0 -4
- package/doc/functions/icons.SettingsIcon.html +0 -4
- package/doc/functions/icons.StopIcon.html +0 -4
- package/doc/functions/icons.StopSolidIcon.html +0 -4
- package/doc/functions/icons.ToolsPanelHiddenIcon.html +0 -4
- package/doc/functions/icons.ToolsPanelVisibleIcon.html +0 -4
- package/doc/functions/icons.UnmaximizeWindowIcon.html +0 -4
- package/doc/functions/icons.WorkspacesIcon.html +0 -4
- package/doc/functions/models.accessModeFromJSON.html +0 -1
- package/doc/functions/models.accessModeToJSON.html +0 -1
- package/doc/functions/models.appEventFromJSON.html +0 -1
- package/doc/functions/models.appEventToJSON.html +0 -1
- package/doc/functions/models.canChannelCapFromJSON.html +0 -1
- package/doc/functions/models.canChannelCapToJSON.html +0 -1
- package/doc/functions/models.canFrameFlagFromJSON.html +0 -1
- package/doc/functions/models.canFrameFlagToJSON.html +0 -1
- package/doc/functions/models.canMessageFilterTypeFromJSON.html +0 -1
- package/doc/functions/models.canMessageFilterTypeToJSON.html +0 -1
- package/doc/functions/models.canModeFromJSON.html +0 -1
- package/doc/functions/models.canModeToJSON.html +0 -1
- package/doc/functions/models.createElectronApiFake.html +0 -4
- package/doc/functions/models.decimalCharFromJSON.html +0 -1
- package/doc/functions/models.decimalCharToJSON.html +0 -1
- package/doc/functions/models.decimalToFixed.html +0 -1
- package/doc/functions/models.decimalToHex.html +0 -1
- package/doc/functions/models.deviceEventFromJSON.html +0 -1
- package/doc/functions/models.deviceEventToJSON.html +0 -1
- package/doc/functions/models.fileConflictActionFromJSON.html +0 -1
- package/doc/functions/models.fileConflictActionToJSON.html +0 -1
- package/doc/functions/models.fileTypeFromJSON.html +0 -1
- package/doc/functions/models.fileTypeToJSON.html +0 -1
- package/doc/functions/models.linFrameFlagFromJSON.html +0 -1
- package/doc/functions/models.linFrameFlagToJSON.html +0 -1
- package/doc/functions/models.logFileFormatFromJSON.html +0 -1
- package/doc/functions/models.logFileFormatToJSON.html +0 -1
- package/doc/functions/models.logLevelFromJSON.html +0 -1
- package/doc/functions/models.logLevelToJSON.html +0 -1
- package/doc/functions/models.logReplayStateFromJSON.html +0 -1
- package/doc/functions/models.logReplayStateToJSON.html +0 -1
- package/doc/functions/models.loggerStateFromJSON.html +0 -1
- package/doc/functions/models.loggerStateToJSON.html +0 -1
- package/doc/functions/models.longToNumber.html +0 -1
- package/doc/functions/models.measurementEventFromJSON.html +0 -1
- package/doc/functions/models.measurementEventToJSON.html +0 -1
- package/doc/functions/models.protocolsFromJSON.html +0 -1
- package/doc/functions/models.protocolsToJSON.html +0 -1
- package/doc/functions/models.separatorFromJSON.html +0 -1
- package/doc/functions/models.separatorToJSON.html +0 -1
- package/doc/functions/models.signalEncodingFromJSON.html +0 -1
- package/doc/functions/models.signalEncodingToJSON.html +0 -1
- package/doc/functions/models.signalTypeFromJSON.html +0 -1
- package/doc/functions/models.signalTypeToJSON.html +0 -1
- package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +0 -1
- package/doc/functions/models.signalValueTriggerOperatorToJSON.html +0 -1
- package/doc/functions/models.statusLevelFromJSON.html +0 -1
- package/doc/functions/models.statusLevelToJSON.html +0 -1
- package/doc/functions/models.timeReferenceFromJSON.html +0 -1
- package/doc/functions/models.timeReferenceToJSON.html +0 -1
- package/doc/functions/models.triggerOperatorFromJSON.html +0 -1
- package/doc/functions/models.triggerOperatorToJSON.html +0 -1
- package/doc/interfaces/controls.ColumnItem.html +0 -3
- package/doc/interfaces/controls.ColumnItemControlProps.html +0 -4
- package/doc/interfaces/models.Devices.html +0 -2
- package/doc/interfaces/models.FrameDefinitions.html +0 -2
- package/doc/interfaces/models.Frame_PropertiesEntry.html +0 -3
- package/doc/interfaces/models.Frames.html +0 -2
- package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +0 -3
- package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +0 -3
- package/doc/interfaces/models.SignalDefinitions.html +0 -2
- package/doc/types/models.IReadOnlyDataBuffer.html +0 -1
- package/doc/types/models.themes.html +0 -1
- package/doc/variables/models.AboutInformation-1.html +0 -1
- package/doc/variables/models.ActivateLicenseRequest-1.html +0 -1
- package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +0 -1
- package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateSourceRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateTargetRequest-1.html +0 -1
- package/doc/variables/models.ApiPreferences-1.html +0 -1
- package/doc/variables/models.AppEventArgs-1.html +0 -1
- package/doc/variables/models.BaseNodeProperties-1.html +0 -1
- package/doc/variables/models.BusStatus-1.html +0 -1
- package/doc/variables/models.CanBusParamLimits-1.html +0 -1
- package/doc/variables/models.CanBusParams-1.html +0 -1
- package/doc/variables/models.CanBusSpeedInfo-1.html +0 -1
- package/doc/variables/models.CanChannelCapacity-1.html +0 -1
- package/doc/variables/models.CanChannelConfiguration-1.html +0 -1
- package/doc/variables/models.CanFDBusSpeedCombination-1.html +0 -1
- package/doc/variables/models.CanFDBusSpeedInfo-1.html +0 -1
- package/doc/variables/models.CanFrameFlags-1.html +0 -1
- package/doc/variables/models.CanMessageFilterSettings-1.html +0 -1
- package/doc/variables/models.Channel-1.html +0 -1
- package/doc/variables/models.ChannelSettings-1.html +0 -1
- package/doc/variables/models.ClearLinMessageRequest-1.html +0 -1
- package/doc/variables/models.ConnectNodesRequest-1.html +0 -1
- package/doc/variables/models.DataProcessingStatus-1.html +0 -1
- package/doc/variables/models.DataProcessorNodeProperties-1.html +0 -1
- package/doc/variables/models.DatabaseFiles-1.html +0 -1
- package/doc/variables/models.DatabasesSettings-1.html +0 -1
- package/doc/variables/models.Device-1.html +0 -1
- package/doc/variables/models.DeviceEventArgs-1.html +0 -1
- package/doc/variables/models.Devices-1.html +0 -1
- package/doc/variables/models.DisconnectNodesRequest-1.html +0 -1
- package/doc/variables/models.Empty-1.html +0 -1
- package/doc/variables/models.ErrorStatus-1.html +0 -1
- package/doc/variables/models.Frame-1.html +0 -1
- package/doc/variables/models.FrameDefinition-1.html +0 -1
- package/doc/variables/models.FrameDefinitions-1.html +0 -1
- package/doc/variables/models.FramePropertyValue-1.html +0 -1
- package/doc/variables/models.FrameReceivedTrigger-1.html +0 -1
- package/doc/variables/models.Frame_PropertiesEntry-1.html +0 -1
- package/doc/variables/models.Frames-1.html +0 -1
- package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +0 -1
- package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +0 -1
- package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetDataProcessorResponse-1.html +0 -1
- package/doc/variables/models.GetDevicesRequest-1.html +0 -1
- package/doc/variables/models.GetDevicesResponse-1.html +0 -1
- package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +0 -1
- package/doc/variables/models.GetLicensesResponse-1.html +0 -1
- package/doc/variables/models.GetLogFileFormatsRequest-1.html +0 -1
- package/doc/variables/models.GetLogFileFormatsResponse-1.html +0 -1
- package/doc/variables/models.GetLogLevelResponse-1.html +0 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +0 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +0 -1
- package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +0 -1
- package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +0 -1
- package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +0 -1
- package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +0 -1
- package/doc/variables/models.GetSourceResponse-1.html +0 -1
- package/doc/variables/models.GetTargetResponse-1.html +0 -1
- package/doc/variables/models.IdentifierRequest-1.html +0 -1
- package/doc/variables/models.IdentifiersRequest-1.html +0 -1
- package/doc/variables/models.InstallServiceExtensionRequest-1.html +0 -1
- package/doc/variables/models.InterpreterSettings-1.html +0 -1
- package/doc/variables/models.J1939InterpreterSettings-1.html +0 -1
- package/doc/variables/models.LicenseInformation-1.html +0 -1
- package/doc/variables/models.Licenses-1.html +0 -1
- package/doc/variables/models.LinChannelConfiguration-1.html +0 -1
- package/doc/variables/models.LinFrameFlags-1.html +0 -1
- package/doc/variables/models.LogMessage-1.html +0 -1
- package/doc/variables/models.LogMessages-1.html +0 -1
- package/doc/variables/models.LogReplaySettings-1.html +0 -1
- package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +0 -1
- package/doc/variables/models.LogReplayStatus-1.html +0 -1
- package/doc/variables/models.LoggerStatus-1.html +0 -1
- package/doc/variables/models.MeasurementEventArgs-1.html +0 -1
- package/doc/variables/models.MeasurementSetup-1.html +0 -1
- package/doc/variables/models.MessageLoggerSettings-1.html +0 -1
- package/doc/variables/models.NodeStatus-1.html +0 -1
- package/doc/variables/models.NodeStatuses-1.html +0 -1
- package/doc/variables/models.OnlineStatus-1.html +0 -1
- package/doc/variables/models.PeriodicTransmissionSettings-1.html +0 -1
- package/doc/variables/models.RequestLinMessageRequest-1.html +0 -1
- package/doc/variables/models.ScheduleTable-1.html +0 -1
- package/doc/variables/models.ScheduleTableEntry-1.html +0 -1
- package/doc/variables/models.SendLinWakeupFrameRequest-1.html +0 -1
- package/doc/variables/models.SendMessageRequest-1.html +0 -1
- package/doc/variables/models.ServiceExtensionSettings-1.html +0 -1
- package/doc/variables/models.SetLogLevelRequest-1.html +0 -1
- package/doc/variables/models.SetMeasurementSetupRequest-1.html +0 -1
- package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +0 -1
- package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +0 -1
- package/doc/variables/models.SignalDefinition-1.html +0 -1
- package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +0 -1
- package/doc/variables/models.SignalDefinitions-1.html +0 -1
- package/doc/variables/models.SignalFilterSettings-1.html +0 -1
- package/doc/variables/models.SignalLoggerSettings-1.html +0 -1
- package/doc/variables/models.SignalValue-1.html +0 -1
- package/doc/variables/models.SignalValueTrigger-1.html +0 -1
- package/doc/variables/models.SourceNodeProperties-1.html +0 -1
- package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +0 -1
- package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +0 -1
- package/doc/variables/models.TargetNodeProperties-1.html +0 -1
- package/doc/variables/models.TriggerSettings-1.html +0 -1
- package/doc/variables/models.UninstallServiceExtensionRequest-1.html +0 -1
- package/doc/variables/models.UpdateLinMessageRequest-1.html +0 -1
- package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +0 -1
- package/doc/variables/models.WriteFrame-1.html +0 -1
package/dist/controls.mjs
CHANGED
|
@@ -1,348 +1,348 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { C as
|
|
3
|
-
import { jsx as
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
import { FormControlLabel as
|
|
7
|
-
import { LineArrowDownIcon as
|
|
8
|
-
import { v4 as
|
|
9
|
-
import { SimpleTreeView as
|
|
10
|
-
import { getFrameDefinitions as
|
|
11
|
-
import
|
|
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
|
|
14
|
-
function
|
|
13
|
+
import { C as ne, W as mt } from "./measurement_settings.mjs";
|
|
14
|
+
function ht({
|
|
15
15
|
id: e = void 0,
|
|
16
|
-
label:
|
|
17
|
-
checked:
|
|
18
|
-
onChange:
|
|
19
|
-
disabled:
|
|
16
|
+
label: t,
|
|
17
|
+
checked: n,
|
|
18
|
+
onChange: a,
|
|
19
|
+
disabled: r = !1,
|
|
20
20
|
size: l = "small",
|
|
21
|
-
sx:
|
|
21
|
+
sx: c = void 0
|
|
22
22
|
}) {
|
|
23
|
-
const d = w((
|
|
24
|
-
if (
|
|
25
|
-
|
|
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__ */
|
|
30
|
-
|
|
29
|
+
return /* @__PURE__ */ i(
|
|
30
|
+
nt,
|
|
31
31
|
{
|
|
32
32
|
id: e,
|
|
33
33
|
"aria-label": e,
|
|
34
|
-
disabled:
|
|
35
|
-
"aria-disabled":
|
|
36
|
-
control: /* @__PURE__ */
|
|
37
|
-
label:
|
|
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:
|
|
39
|
+
sx: c
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
|
-
var
|
|
44
|
-
function
|
|
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
|
|
48
|
-
var
|
|
49
|
-
return e != null && (
|
|
47
|
+
function Gt(e) {
|
|
48
|
+
var t = typeof e;
|
|
49
|
+
return e != null && (t == "object" || t == "function");
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
return
|
|
53
|
-
},
|
|
54
|
-
function
|
|
55
|
-
for (var
|
|
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
|
|
57
|
+
return t;
|
|
58
58
|
}
|
|
59
|
-
var
|
|
60
|
-
function
|
|
61
|
-
return e && e.slice(0,
|
|
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
|
|
64
|
-
function
|
|
65
|
-
var
|
|
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[
|
|
68
|
-
var
|
|
67
|
+
e[Ne] = void 0;
|
|
68
|
+
var a = !0;
|
|
69
69
|
} catch {
|
|
70
70
|
}
|
|
71
|
-
var
|
|
72
|
-
return
|
|
71
|
+
var r = xn.call(e);
|
|
72
|
+
return a && (t ? e[Ne] = n : delete e[Ne]), r;
|
|
73
73
|
}
|
|
74
|
-
var
|
|
75
|
-
function
|
|
76
|
-
return
|
|
74
|
+
var vn = Nn, Cn = Object.prototype, $n = Cn.toString;
|
|
75
|
+
function Fn(e) {
|
|
76
|
+
return $n.call(e);
|
|
77
77
|
}
|
|
78
|
-
var
|
|
79
|
-
function
|
|
80
|
-
return e == null ? e === void 0 ?
|
|
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
|
|
83
|
-
function
|
|
82
|
+
var En = _n;
|
|
83
|
+
function Rn(e) {
|
|
84
84
|
return e != null && typeof e == "object";
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
function
|
|
88
|
-
return typeof e == "symbol" ||
|
|
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
|
|
91
|
-
function
|
|
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 (
|
|
95
|
-
return
|
|
96
|
-
if (
|
|
97
|
-
var
|
|
98
|
-
e =
|
|
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 =
|
|
103
|
-
var
|
|
104
|
-
return
|
|
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
|
|
107
|
-
function
|
|
108
|
-
var
|
|
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(
|
|
111
|
-
|
|
112
|
-
function N
|
|
113
|
-
var
|
|
114
|
-
return
|
|
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
|
|
117
|
-
return o =
|
|
116
|
+
function $(N) {
|
|
117
|
+
return o = N, d = setTimeout(u, t), b ? F(N) : c;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
var
|
|
121
|
-
return
|
|
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
|
|
124
|
-
var
|
|
125
|
-
return
|
|
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
|
|
128
|
-
var
|
|
129
|
-
if (
|
|
130
|
-
return
|
|
131
|
-
d = setTimeout(
|
|
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
|
|
134
|
-
return d = void 0,
|
|
133
|
+
function h(N) {
|
|
134
|
+
return d = void 0, f && a ? F(N) : (a = r = void 0, c);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
d !== void 0 && clearTimeout(d), o = 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 ?
|
|
140
|
+
return d === void 0 ? c : h(We());
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
var
|
|
144
|
-
if (
|
|
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
|
|
147
|
-
if (
|
|
148
|
-
return clearTimeout(d), d = setTimeout(
|
|
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(
|
|
150
|
+
return d === void 0 && (d = setTimeout(u, t)), c;
|
|
151
151
|
}
|
|
152
|
-
return
|
|
152
|
+
return I.cancel = C, I.flush = S, I;
|
|
153
153
|
}
|
|
154
|
-
var
|
|
155
|
-
const
|
|
156
|
-
var
|
|
157
|
-
function
|
|
158
|
-
var
|
|
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(
|
|
161
|
-
return
|
|
162
|
-
leading:
|
|
163
|
-
maxWait:
|
|
164
|
-
trailing:
|
|
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
|
|
168
|
-
const
|
|
169
|
-
switch (
|
|
167
|
+
var aa = na;
|
|
168
|
+
const ra = /* @__PURE__ */ pt(aa), sa = (e, t, n, a) => {
|
|
169
|
+
switch (t) {
|
|
170
170
|
case "debounce":
|
|
171
|
-
return
|
|
171
|
+
return Vn(e, n, a);
|
|
172
172
|
case "throttle":
|
|
173
|
-
return
|
|
173
|
+
return ra(e, n, a);
|
|
174
174
|
default:
|
|
175
175
|
return e;
|
|
176
176
|
}
|
|
177
|
-
},
|
|
177
|
+
}, ia = (
|
|
178
178
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
179
179
|
(e) => {
|
|
180
|
-
const
|
|
181
|
-
return
|
|
182
|
-
|
|
183
|
-
}),
|
|
184
|
-
var
|
|
185
|
-
return (
|
|
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
|
-
),
|
|
188
|
+
), la = (
|
|
189
189
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
190
190
|
(e) => {
|
|
191
|
-
const [
|
|
191
|
+
const [t, n] = ve.useState((e == null ? void 0 : e.current) || null);
|
|
192
192
|
return e && setTimeout(() => {
|
|
193
|
-
e.current !==
|
|
194
|
-
}, 0), { refProxy:
|
|
195
|
-
|
|
193
|
+
e.current !== t && n(e.current);
|
|
194
|
+
}, 0), { refProxy: ve.useMemo(() => new Proxy((r) => {
|
|
195
|
+
r !== t && n(r);
|
|
196
196
|
}, {
|
|
197
|
-
get(
|
|
198
|
-
return l === "current" ?
|
|
197
|
+
get(r, l) {
|
|
198
|
+
return l === "current" ? t : r[l];
|
|
199
199
|
},
|
|
200
|
-
set(
|
|
201
|
-
return l === "current" ?
|
|
200
|
+
set(r, l, c) {
|
|
201
|
+
return l === "current" ? n(c) : r[l] = c, !0;
|
|
202
202
|
}
|
|
203
|
-
}), [
|
|
203
|
+
}), [t]), refElement: t, setRefElement: n };
|
|
204
204
|
}
|
|
205
|
-
),
|
|
205
|
+
), da = (e, t) => t === "border-box" ? {
|
|
206
206
|
width: e.borderBoxSize[0].inlineSize,
|
|
207
207
|
height: e.borderBoxSize[0].blockSize
|
|
208
|
-
} :
|
|
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
|
|
216
|
-
const o =
|
|
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:
|
|
220
|
-
if (!
|
|
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
|
|
227
|
-
|
|
228
|
-
const
|
|
229
|
-
|
|
230
|
-
width:
|
|
231
|
-
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
|
-
}),
|
|
233
|
+
}), I) : N);
|
|
234
234
|
});
|
|
235
|
-
}, [
|
|
236
|
-
|
|
237
|
-
n,
|
|
235
|
+
}, [r, l, o, v]), u = w(sa(g, t, n, a), [
|
|
236
|
+
g,
|
|
238
237
|
t,
|
|
239
|
-
|
|
238
|
+
n,
|
|
239
|
+
a
|
|
240
240
|
]);
|
|
241
|
-
return
|
|
242
|
-
let
|
|
243
|
-
return
|
|
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
|
-
}),
|
|
248
|
-
var
|
|
249
|
-
(
|
|
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
|
-
}, [
|
|
251
|
+
}, [u, $]), Object.assign({ ref: F }, m);
|
|
252
252
|
}
|
|
253
|
-
const
|
|
254
|
-
const { ref: e, width:
|
|
253
|
+
const he = () => {
|
|
254
|
+
const { ref: e, width: t } = oa();
|
|
255
255
|
return {
|
|
256
256
|
ref: e,
|
|
257
|
-
width:
|
|
257
|
+
width: t
|
|
258
258
|
};
|
|
259
|
-
},
|
|
260
|
-
const [
|
|
261
|
-
return
|
|
262
|
-
const
|
|
263
|
-
if (
|
|
264
|
-
const
|
|
265
|
-
|
|
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]),
|
|
267
|
+
}, [e]), t;
|
|
268
268
|
};
|
|
269
|
-
function
|
|
270
|
-
return /* @__PURE__ */
|
|
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
|
|
272
|
+
const ae = se(Lt)(() => ({
|
|
273
273
|
whiteSpace: "nowrap",
|
|
274
274
|
minWidth: "max-content"
|
|
275
275
|
}));
|
|
276
|
-
function
|
|
277
|
-
const
|
|
278
|
-
(
|
|
279
|
-
|
|
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
|
-
[
|
|
281
|
+
[n, t]
|
|
282
282
|
);
|
|
283
|
-
return /* @__PURE__ */
|
|
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
|
|
285
|
+
function ca({
|
|
286
286
|
id: e = "dropdown-button",
|
|
287
|
-
startIcon:
|
|
288
|
-
endIcon:
|
|
289
|
-
text:
|
|
290
|
-
variant:
|
|
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:
|
|
292
|
+
size: c = "medium",
|
|
293
293
|
disabled: d = !1,
|
|
294
|
-
children:
|
|
294
|
+
children: s
|
|
295
295
|
}) {
|
|
296
|
-
const [o,
|
|
297
|
-
|
|
298
|
-
}, []),
|
|
299
|
-
|
|
300
|
-
}, []),
|
|
301
|
-
onClose:
|
|
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__ */
|
|
304
|
-
!
|
|
305
|
-
|
|
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":
|
|
309
|
+
"aria-controls": m ? `${e}-popover` : void 0,
|
|
310
310
|
"aria-haspopup": "true",
|
|
311
|
-
"aria-expanded":
|
|
312
|
-
onClick:
|
|
313
|
-
size:
|
|
311
|
+
"aria-expanded": m ? "true" : void 0,
|
|
312
|
+
onClick: f,
|
|
313
|
+
size: c,
|
|
314
314
|
color: l,
|
|
315
315
|
disabled: d,
|
|
316
|
-
children:
|
|
316
|
+
children: t
|
|
317
317
|
}
|
|
318
318
|
),
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
a && /* @__PURE__ */ i(
|
|
320
|
+
ae,
|
|
321
321
|
{
|
|
322
322
|
id: e,
|
|
323
323
|
"data-testid": e,
|
|
324
|
-
"aria-controls":
|
|
324
|
+
"aria-controls": m ? `${e}-popover` : void 0,
|
|
325
325
|
"aria-haspopup": "true",
|
|
326
|
-
"aria-expanded":
|
|
327
|
-
variant:
|
|
326
|
+
"aria-expanded": m ? "true" : void 0,
|
|
327
|
+
variant: r,
|
|
328
328
|
disableElevation: !0,
|
|
329
|
-
onClick:
|
|
330
|
-
startIcon:
|
|
331
|
-
endIcon:
|
|
332
|
-
size:
|
|
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:
|
|
335
|
+
children: a
|
|
336
336
|
}
|
|
337
337
|
),
|
|
338
|
-
/* @__PURE__ */
|
|
339
|
-
|
|
338
|
+
/* @__PURE__ */ i(
|
|
339
|
+
At,
|
|
340
340
|
{
|
|
341
341
|
id: `${e}-popover`,
|
|
342
342
|
"aria-labelledby": e,
|
|
343
343
|
anchorEl: o,
|
|
344
|
-
open:
|
|
345
|
-
onClose:
|
|
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:
|
|
354
|
+
children: $
|
|
355
355
|
}
|
|
356
356
|
)
|
|
357
357
|
] });
|
|
358
358
|
}
|
|
359
|
-
const
|
|
359
|
+
const ua = se("div")(({ top: e, left: t, width: n, height: a }) => ({
|
|
360
360
|
top: e,
|
|
361
|
-
left:
|
|
362
|
-
width:
|
|
363
|
-
height:
|
|
361
|
+
left: t,
|
|
362
|
+
width: n,
|
|
363
|
+
height: a,
|
|
364
364
|
position: "absolute",
|
|
365
365
|
zIndex: 1
|
|
366
|
-
})),
|
|
366
|
+
})), fa = se("div")(({ top: e, left: t, width: n, height: a, position: r, theme: l }) => ({
|
|
367
367
|
top: e,
|
|
368
|
-
left:
|
|
369
|
-
width:
|
|
370
|
-
height:
|
|
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:
|
|
377
|
-
borderTopLeftRadius:
|
|
378
|
-
borderTopRightRadius:
|
|
379
|
-
borderBottomRightRadius:
|
|
380
|
-
borderBottomLeftRadius:
|
|
381
|
-
})),
|
|
382
|
-
function
|
|
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:
|
|
385
|
-
parentWidth:
|
|
386
|
-
parentHeight:
|
|
387
|
-
maxLength:
|
|
384
|
+
position: t,
|
|
385
|
+
parentWidth: n,
|
|
386
|
+
parentHeight: a,
|
|
387
|
+
maxLength: r,
|
|
388
388
|
dropDownSize: l,
|
|
389
|
-
autoHideTimeout:
|
|
389
|
+
autoHideTimeout: c = 0,
|
|
390
390
|
forceShow: d = !1,
|
|
391
|
-
children:
|
|
391
|
+
children: s = null
|
|
392
392
|
}) {
|
|
393
|
-
const o =
|
|
394
|
-
switch (
|
|
393
|
+
const o = D(() => {
|
|
394
|
+
switch (t) {
|
|
395
395
|
case "left":
|
|
396
396
|
case "right":
|
|
397
|
-
return Math.min(
|
|
397
|
+
return Math.min(r, a);
|
|
398
398
|
case "top":
|
|
399
399
|
case "bottom":
|
|
400
|
-
return Math.min(
|
|
400
|
+
return Math.min(r, n);
|
|
401
401
|
default:
|
|
402
|
-
return
|
|
402
|
+
return r;
|
|
403
403
|
}
|
|
404
|
-
}, [a,
|
|
405
|
-
switch (
|
|
404
|
+
}, [r, a, n, t]), b = D(() => {
|
|
405
|
+
switch (t) {
|
|
406
406
|
case "left":
|
|
407
407
|
case "right":
|
|
408
|
-
return (
|
|
408
|
+
return (a - o) / 2;
|
|
409
409
|
case "top":
|
|
410
410
|
return 0;
|
|
411
411
|
case "bottom":
|
|
412
|
-
return
|
|
412
|
+
return a - _e;
|
|
413
413
|
default:
|
|
414
414
|
return 0;
|
|
415
415
|
}
|
|
416
|
-
}, [o,
|
|
417
|
-
switch (
|
|
416
|
+
}, [o, a, t]), m = D(() => {
|
|
417
|
+
switch (t) {
|
|
418
418
|
case "left":
|
|
419
419
|
return 0;
|
|
420
420
|
case "right":
|
|
421
|
-
return
|
|
421
|
+
return n - _e;
|
|
422
422
|
case "top":
|
|
423
423
|
case "bottom":
|
|
424
|
-
return (
|
|
424
|
+
return (n - o) / 2;
|
|
425
425
|
default:
|
|
426
426
|
return 0;
|
|
427
427
|
}
|
|
428
|
-
}, [o,
|
|
429
|
-
switch (
|
|
428
|
+
}, [o, n, t]), f = D(() => {
|
|
429
|
+
switch (t) {
|
|
430
430
|
case "left":
|
|
431
431
|
case "right":
|
|
432
|
-
return
|
|
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,
|
|
440
|
-
switch (
|
|
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
|
|
446
|
+
return _e;
|
|
447
447
|
default:
|
|
448
448
|
return 0;
|
|
449
449
|
}
|
|
450
|
-
}, [o,
|
|
451
|
-
switch (
|
|
450
|
+
}, [o, t]), $ = D(() => {
|
|
451
|
+
switch (t) {
|
|
452
452
|
case "left":
|
|
453
453
|
case "right":
|
|
454
|
-
return (
|
|
454
|
+
return (a - o) / 2;
|
|
455
455
|
case "top":
|
|
456
456
|
return 0;
|
|
457
457
|
case "bottom":
|
|
458
|
-
return
|
|
458
|
+
return a - l;
|
|
459
459
|
default:
|
|
460
460
|
return 0;
|
|
461
461
|
}
|
|
462
|
-
}, [l, o,
|
|
463
|
-
switch (
|
|
462
|
+
}, [l, o, a, t]), v = D(() => {
|
|
463
|
+
switch (t) {
|
|
464
464
|
case "left":
|
|
465
465
|
return 0;
|
|
466
466
|
case "right":
|
|
467
|
-
return
|
|
467
|
+
return n - l;
|
|
468
468
|
case "top":
|
|
469
469
|
case "bottom":
|
|
470
|
-
return (
|
|
470
|
+
return (n - o) / 2;
|
|
471
471
|
default:
|
|
472
472
|
return 0;
|
|
473
473
|
}
|
|
474
|
-
}, [l, o,
|
|
475
|
-
switch (
|
|
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,
|
|
486
|
-
switch (
|
|
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,
|
|
497
|
-
(
|
|
498
|
-
|
|
496
|
+
}, [l, o, t]), [h, C] = U(!1), S = w(
|
|
497
|
+
(N) => {
|
|
498
|
+
N.buttons === 0 && c && C(!0);
|
|
499
499
|
},
|
|
500
|
-
[
|
|
501
|
-
),
|
|
502
|
-
|
|
500
|
+
[c]
|
|
501
|
+
), I = w(() => {
|
|
502
|
+
C(!1);
|
|
503
503
|
}, []);
|
|
504
|
-
return
|
|
505
|
-
let
|
|
506
|
-
return
|
|
507
|
-
|
|
504
|
+
return X(() => {
|
|
505
|
+
let N;
|
|
506
|
+
return h && c && (N = setTimeout(() => C(!1), c)), () => {
|
|
507
|
+
N && clearTimeout(N);
|
|
508
508
|
};
|
|
509
|
-
}, [
|
|
510
|
-
/* @__PURE__ */
|
|
511
|
-
|
|
509
|
+
}, [c, h]), /* @__PURE__ */ j(ue, { children: [
|
|
510
|
+
/* @__PURE__ */ i(
|
|
511
|
+
ua,
|
|
512
512
|
{
|
|
513
513
|
id: e,
|
|
514
|
-
top:
|
|
515
|
-
left:
|
|
516
|
-
width:
|
|
517
|
-
height:
|
|
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
|
-
(
|
|
523
|
-
|
|
522
|
+
(h || d === !0) && /* @__PURE__ */ i(
|
|
523
|
+
fa,
|
|
524
524
|
{
|
|
525
|
-
top:
|
|
526
|
-
left:
|
|
527
|
-
width:
|
|
528
|
-
height:
|
|
529
|
-
position:
|
|
530
|
-
onMouseLeave:
|
|
531
|
-
children:
|
|
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
|
|
536
|
+
function ce({
|
|
537
537
|
children: e,
|
|
538
|
-
fullWidth:
|
|
539
|
-
spacing:
|
|
540
|
-
alignItems:
|
|
538
|
+
fullWidth: t = !0,
|
|
539
|
+
spacing: n = "4px",
|
|
540
|
+
alignItems: a = "center"
|
|
541
541
|
}) {
|
|
542
|
-
return /* @__PURE__ */
|
|
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
|
|
545
|
-
...
|
|
546
|
-
})),
|
|
547
|
-
...
|
|
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
|
|
550
|
-
const
|
|
551
|
-
(
|
|
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
|
-
),
|
|
554
|
-
(
|
|
555
|
-
(
|
|
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
|
-
(
|
|
560
|
-
|
|
559
|
+
(b) => {
|
|
560
|
+
t(b.target.value);
|
|
561
561
|
},
|
|
562
|
-
[
|
|
562
|
+
[t]
|
|
563
563
|
);
|
|
564
|
-
return
|
|
565
|
-
var
|
|
566
|
-
(
|
|
567
|
-
}, []), /* @__PURE__ */
|
|
568
|
-
|
|
564
|
+
return X(() => {
|
|
565
|
+
var b;
|
|
566
|
+
(b = r.current) == null || b.focus();
|
|
567
|
+
}, []), /* @__PURE__ */ i(
|
|
568
|
+
ga,
|
|
569
569
|
{
|
|
570
|
-
ref:
|
|
571
|
-
variant:
|
|
570
|
+
ref: r,
|
|
571
|
+
variant: a ?? "body1",
|
|
572
572
|
type: "text",
|
|
573
|
-
"aria-label":
|
|
573
|
+
"aria-label": n,
|
|
574
574
|
value: l,
|
|
575
575
|
onChange: d,
|
|
576
|
-
onKeyDown:
|
|
576
|
+
onKeyDown: s,
|
|
577
577
|
onBlur: o
|
|
578
578
|
}
|
|
579
579
|
);
|
|
580
580
|
}
|
|
581
|
-
function
|
|
582
|
-
return /* @__PURE__ */
|
|
583
|
-
e && /* @__PURE__ */
|
|
584
|
-
!e && /* @__PURE__ */
|
|
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
|
|
587
|
+
function Be({
|
|
588
588
|
id: e = void 0,
|
|
589
|
-
label:
|
|
590
|
-
helperText:
|
|
591
|
-
value:
|
|
592
|
-
onChange:
|
|
589
|
+
label: t = void 0,
|
|
590
|
+
helperText: n = "",
|
|
591
|
+
value: a,
|
|
592
|
+
onChange: r = void 0,
|
|
593
593
|
onBlur: l = void 0,
|
|
594
|
-
disabled:
|
|
594
|
+
disabled: c = !1,
|
|
595
595
|
error: d = !1,
|
|
596
|
-
required:
|
|
596
|
+
required: s = !1,
|
|
597
597
|
margin: o = "dense",
|
|
598
|
-
size:
|
|
599
|
-
fullWidth:
|
|
600
|
-
inputMode:
|
|
601
|
-
pattern:
|
|
602
|
-
startAdornment:
|
|
603
|
-
endAdornment:
|
|
604
|
-
sx:
|
|
605
|
-
sxStartAdornment:
|
|
606
|
-
sxEndAdornment:
|
|
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
|
|
609
|
-
(
|
|
610
|
-
|
|
608
|
+
const C = w(
|
|
609
|
+
(M) => {
|
|
610
|
+
r && r(M.target.value);
|
|
611
611
|
},
|
|
612
|
-
[
|
|
613
|
-
), S = w((
|
|
614
|
-
if (
|
|
615
|
-
|
|
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
|
-
}, []),
|
|
619
|
-
return /* @__PURE__ */
|
|
620
|
-
|
|
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:
|
|
626
|
-
helperText:
|
|
625
|
+
label: t,
|
|
626
|
+
helperText: n,
|
|
627
627
|
margin: o,
|
|
628
|
-
size:
|
|
629
|
-
fullWidth:
|
|
628
|
+
size: b,
|
|
629
|
+
fullWidth: m,
|
|
630
630
|
variant: "standard",
|
|
631
|
-
value:
|
|
632
|
-
onChange:
|
|
631
|
+
value: a,
|
|
632
|
+
onChange: C,
|
|
633
633
|
onBlur: l,
|
|
634
|
-
disabled:
|
|
635
|
-
"aria-disabled":
|
|
634
|
+
disabled: c,
|
|
635
|
+
"aria-disabled": c,
|
|
636
636
|
error: d,
|
|
637
|
-
required:
|
|
637
|
+
required: s,
|
|
638
638
|
slotProps: {
|
|
639
639
|
input: {
|
|
640
|
-
startAdornment:
|
|
641
|
-
endAdornment:
|
|
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:
|
|
645
|
-
pattern:
|
|
644
|
+
inputMode: f,
|
|
645
|
+
pattern: F
|
|
646
646
|
}
|
|
647
647
|
},
|
|
648
|
-
sx:
|
|
648
|
+
sx: g,
|
|
649
649
|
onKeyDown: S
|
|
650
650
|
}
|
|
651
651
|
);
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function oe({
|
|
654
654
|
id: e,
|
|
655
|
-
label:
|
|
656
|
-
helperText:
|
|
657
|
-
value:
|
|
658
|
-
onChange:
|
|
655
|
+
label: t = void 0,
|
|
656
|
+
helperText: n = "",
|
|
657
|
+
value: a,
|
|
658
|
+
onChange: r = void 0,
|
|
659
659
|
onBlur: l = void 0,
|
|
660
|
-
disabled:
|
|
660
|
+
disabled: c = !1,
|
|
661
661
|
required: d = !1,
|
|
662
|
-
margin:
|
|
662
|
+
margin: s = "dense",
|
|
663
663
|
size: o = "small",
|
|
664
|
-
fullWidth:
|
|
665
|
-
inputMode:
|
|
666
|
-
pattern:
|
|
667
|
-
startAdornment:
|
|
668
|
-
endAdornment:
|
|
669
|
-
sx:
|
|
670
|
-
sxStartAdornment:
|
|
671
|
-
sxEndAdornment:
|
|
672
|
-
error:
|
|
673
|
-
onErrorChange:
|
|
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:
|
|
676
|
-
minValue:
|
|
677
|
-
maxValue:
|
|
675
|
+
numberType: I = void 0,
|
|
676
|
+
minValue: N = void 0,
|
|
677
|
+
maxValue: M = void 0
|
|
678
678
|
}) {
|
|
679
|
-
const [
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
}, [
|
|
683
|
-
|
|
684
|
-
}, [
|
|
685
|
-
const
|
|
686
|
-
(
|
|
687
|
-
const
|
|
688
|
-
let
|
|
689
|
-
return
|
|
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
|
-
[
|
|
692
|
-
),
|
|
693
|
-
(
|
|
694
|
-
let
|
|
695
|
-
if (
|
|
696
|
-
return
|
|
697
|
-
const
|
|
698
|
-
return
|
|
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
|
-
[
|
|
701
|
-
),
|
|
702
|
-
(
|
|
703
|
-
[
|
|
704
|
-
),
|
|
705
|
-
(
|
|
706
|
-
let
|
|
707
|
-
return !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,
|
|
709
|
+
[I, S, d, x]
|
|
710
710
|
), A = w(
|
|
711
|
-
(
|
|
712
|
-
const { val:
|
|
713
|
-
|
|
711
|
+
(p) => {
|
|
712
|
+
const { val: W, err: O } = _(p, "change");
|
|
713
|
+
Q(O), H(O ? p : W), !O && r && r(W);
|
|
714
714
|
},
|
|
715
|
-
[
|
|
716
|
-
),
|
|
717
|
-
const { val:
|
|
718
|
-
|
|
719
|
-
}, [l,
|
|
720
|
-
return
|
|
721
|
-
|
|
722
|
-
}, [
|
|
723
|
-
|
|
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:
|
|
730
|
-
helperText:
|
|
731
|
-
value:
|
|
726
|
+
label: t,
|
|
727
|
+
helperText: n,
|
|
728
|
+
value: y,
|
|
732
729
|
onChange: A,
|
|
733
|
-
onBlur:
|
|
734
|
-
disabled:
|
|
735
|
-
error:
|
|
730
|
+
onBlur: R,
|
|
731
|
+
disabled: c,
|
|
732
|
+
error: P,
|
|
736
733
|
required: d,
|
|
737
|
-
margin:
|
|
734
|
+
margin: s,
|
|
738
735
|
size: o,
|
|
739
|
-
fullWidth:
|
|
740
|
-
inputMode:
|
|
741
|
-
pattern:
|
|
742
|
-
startAdornment:
|
|
743
|
-
endAdornment:
|
|
744
|
-
sx:
|
|
745
|
-
sxStartAdornment:
|
|
746
|
-
sxEndAdornment:
|
|
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
|
|
747
|
+
function Ta({
|
|
751
748
|
minValue: e,
|
|
752
|
-
maxValue:
|
|
753
|
-
onChange:
|
|
754
|
-
onBlur:
|
|
755
|
-
minError:
|
|
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:
|
|
754
|
+
maxError: c = void 0,
|
|
758
755
|
onMaxErrorChange: d = void 0,
|
|
759
|
-
onMinValidate:
|
|
756
|
+
onMinValidate: s = void 0,
|
|
760
757
|
onMaxValidate: o = void 0,
|
|
761
|
-
minDisabled:
|
|
762
|
-
maxDisabled:
|
|
763
|
-
unit:
|
|
764
|
-
lowerLimit:
|
|
765
|
-
upperLimit:
|
|
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
|
|
768
|
-
|
|
769
|
-
), [
|
|
770
|
-
|
|
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
|
-
|
|
773
|
-
|
|
774
|
-
}, [e]),
|
|
775
|
-
|
|
776
|
-
}, [
|
|
777
|
-
|
|
778
|
-
}, [
|
|
779
|
-
|
|
780
|
-
}, [
|
|
781
|
-
const
|
|
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
|
|
784
|
-
return { val: A, err:
|
|
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,
|
|
787
|
-
),
|
|
783
|
+
[S, F, $]
|
|
784
|
+
), Q = w(
|
|
788
785
|
(A) => {
|
|
789
|
-
const
|
|
790
|
-
return { val: A, err:
|
|
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
|
-
[
|
|
793
|
-
),
|
|
789
|
+
[h, F, $]
|
|
790
|
+
), Z = w(
|
|
794
791
|
(A) => {
|
|
795
|
-
let { val:
|
|
796
|
-
if (!
|
|
797
|
-
|
|
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
|
|
800
|
-
|
|
796
|
+
const W = Number.parseInt(R, R.startsWith("0x") ? 16 : 10).toString();
|
|
797
|
+
C(W), n && n(W, S);
|
|
801
798
|
}
|
|
802
799
|
},
|
|
803
|
-
[
|
|
804
|
-
),
|
|
800
|
+
[P, s, r, n, S]
|
|
801
|
+
), L = w(
|
|
805
802
|
(A) => {
|
|
806
|
-
let { val:
|
|
807
|
-
!
|
|
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
|
-
[
|
|
810
|
-
),
|
|
806
|
+
[P, s, a, S]
|
|
807
|
+
), x = w(
|
|
811
808
|
(A) => {
|
|
812
|
-
let { val:
|
|
813
|
-
if (!
|
|
814
|
-
|
|
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
|
|
817
|
-
|
|
813
|
+
const W = Number.parseInt(R, R.startsWith("0x") ? 16 : 10).toString();
|
|
814
|
+
I(W), n && n(h, W);
|
|
818
815
|
}
|
|
819
816
|
},
|
|
820
|
-
[
|
|
821
|
-
),
|
|
817
|
+
[Q, o, c, n, h]
|
|
818
|
+
), _ = w(
|
|
822
819
|
(A) => {
|
|
823
|
-
let { val:
|
|
824
|
-
!
|
|
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
|
-
[
|
|
823
|
+
[Q, o, a, h]
|
|
827
824
|
);
|
|
828
|
-
return
|
|
829
|
-
l && l(
|
|
830
|
-
}, [
|
|
831
|
-
/* @__PURE__ */
|
|
832
|
-
|
|
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:
|
|
832
|
+
disabled: b,
|
|
836
833
|
inputMode: "numeric",
|
|
837
834
|
fullWidth: !0,
|
|
838
|
-
value:
|
|
839
|
-
onChange:
|
|
840
|
-
onBlur:
|
|
841
|
-
startAdornment:
|
|
842
|
-
endAdornment:
|
|
835
|
+
value: h,
|
|
836
|
+
onChange: Z,
|
|
837
|
+
onBlur: L,
|
|
838
|
+
startAdornment: v.getString("LabelFrom"),
|
|
839
|
+
endAdornment: f,
|
|
843
840
|
numberType: "int",
|
|
844
|
-
error:
|
|
845
|
-
onErrorChange:
|
|
841
|
+
error: N,
|
|
842
|
+
onErrorChange: M
|
|
846
843
|
}
|
|
847
844
|
),
|
|
848
|
-
/* @__PURE__ */
|
|
849
|
-
|
|
845
|
+
/* @__PURE__ */ i(
|
|
846
|
+
oe,
|
|
850
847
|
{
|
|
851
848
|
id: "max-value",
|
|
852
|
-
disabled:
|
|
849
|
+
disabled: m,
|
|
853
850
|
inputMode: "numeric",
|
|
854
851
|
fullWidth: !0,
|
|
855
852
|
value: S,
|
|
856
|
-
onChange:
|
|
857
|
-
onBlur:
|
|
858
|
-
startAdornment:
|
|
859
|
-
endAdornment:
|
|
853
|
+
onChange: x,
|
|
854
|
+
onBlur: _,
|
|
855
|
+
startAdornment: v.getString("LabelTo"),
|
|
856
|
+
endAdornment: f,
|
|
860
857
|
numberType: "int",
|
|
861
|
-
error:
|
|
862
|
-
onErrorChange:
|
|
858
|
+
error: y,
|
|
859
|
+
onErrorChange: H
|
|
863
860
|
}
|
|
864
861
|
)
|
|
865
862
|
] });
|
|
866
863
|
}
|
|
867
|
-
function
|
|
864
|
+
function be({
|
|
868
865
|
id: e = void 0,
|
|
869
|
-
label:
|
|
870
|
-
value:
|
|
871
|
-
disabled:
|
|
872
|
-
size:
|
|
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__ */
|
|
876
|
-
|
|
872
|
+
return /* @__PURE__ */ i(
|
|
873
|
+
nt,
|
|
877
874
|
{
|
|
878
875
|
id: e,
|
|
879
876
|
"aria-label": e,
|
|
880
|
-
value:
|
|
881
|
-
disabled:
|
|
882
|
-
"aria-disabled":
|
|
883
|
-
control: /* @__PURE__ */
|
|
884
|
-
label:
|
|
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
|
|
887
|
+
function vt({
|
|
891
888
|
children: e,
|
|
892
|
-
id:
|
|
893
|
-
value:
|
|
894
|
-
onChange:
|
|
889
|
+
id: t = void 0,
|
|
890
|
+
value: n,
|
|
891
|
+
onChange: a
|
|
895
892
|
}) {
|
|
896
|
-
return /* @__PURE__ */
|
|
893
|
+
return /* @__PURE__ */ i(Et, { id: t, "aria-label": t, value: n, onChange: (r, l) => a(l), children: e });
|
|
897
894
|
}
|
|
898
|
-
const
|
|
895
|
+
const pa = se(Fe, {
|
|
899
896
|
shouldForwardProp: (e) => e !== "collapsed"
|
|
900
|
-
})(({ collapsed: e, theme:
|
|
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:
|
|
904
|
+
background: t.palette.action.hover
|
|
908
905
|
}
|
|
909
|
-
})),
|
|
906
|
+
})), Ct = se("span")(({ theme: e }) => ({
|
|
910
907
|
color: e.palette.divider
|
|
911
|
-
})),
|
|
908
|
+
})), ba = se(Ct)(() => ({
|
|
912
909
|
"&:hover": {
|
|
913
910
|
cursor: "pointer"
|
|
914
911
|
}
|
|
915
|
-
})),
|
|
912
|
+
})), Sa = se(at)(({ theme: e }) => ({
|
|
916
913
|
color: e.palette.divider,
|
|
917
914
|
padding: "0px"
|
|
918
915
|
}));
|
|
919
|
-
function
|
|
916
|
+
function xe({
|
|
920
917
|
textAlign: e = "left",
|
|
921
|
-
text:
|
|
922
|
-
summary:
|
|
923
|
-
children:
|
|
924
|
-
collapsible:
|
|
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:
|
|
923
|
+
collapsedChange: c = void 0
|
|
927
924
|
}) {
|
|
928
|
-
const d =
|
|
929
|
-
|
|
930
|
-
const
|
|
931
|
-
(
|
|
932
|
-
|
|
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
|
-
[
|
|
931
|
+
[c]
|
|
935
932
|
);
|
|
936
|
-
return /* @__PURE__ */
|
|
937
|
-
|
|
938
|
-
/* @__PURE__ */
|
|
939
|
-
|
|
940
|
-
o &&
|
|
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__ */
|
|
943
|
-
|
|
939
|
+
/* @__PURE__ */ i(
|
|
940
|
+
$e,
|
|
944
941
|
{
|
|
945
|
-
title: o ?
|
|
946
|
-
children: /* @__PURE__ */
|
|
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__ */
|
|
950
|
-
!o &&
|
|
946
|
+
] }) : /* @__PURE__ */ i(Ct, { children: t.toLocaleUpperCase(d) }) }),
|
|
947
|
+
!o && a
|
|
951
948
|
] });
|
|
952
949
|
}
|
|
953
|
-
function
|
|
950
|
+
function Ee({
|
|
954
951
|
id: e,
|
|
955
|
-
label:
|
|
956
|
-
showLabel:
|
|
957
|
-
helperText:
|
|
958
|
-
options:
|
|
952
|
+
label: t,
|
|
953
|
+
showLabel: n = !1,
|
|
954
|
+
helperText: a = "",
|
|
955
|
+
options: r,
|
|
959
956
|
value: l,
|
|
960
|
-
onChange:
|
|
957
|
+
onChange: c,
|
|
961
958
|
disabled: d = !1,
|
|
962
|
-
required:
|
|
959
|
+
required: s = !1,
|
|
963
960
|
margin: o = "dense",
|
|
964
|
-
size:
|
|
965
|
-
fullWidth:
|
|
966
|
-
minWidth:
|
|
967
|
-
prefixTextWithValue:
|
|
961
|
+
size: b = "small",
|
|
962
|
+
fullWidth: m = !1,
|
|
963
|
+
minWidth: f = void 0,
|
|
964
|
+
prefixTextWithValue: F = !1
|
|
968
965
|
}) {
|
|
969
|
-
const
|
|
970
|
-
(
|
|
971
|
-
typeof
|
|
966
|
+
const $ = w(
|
|
967
|
+
(C) => {
|
|
968
|
+
typeof C.target.value == "string" ? c("") : c(C.target.value);
|
|
972
969
|
},
|
|
973
|
-
[
|
|
974
|
-
),
|
|
975
|
-
(
|
|
976
|
-
[
|
|
977
|
-
),
|
|
978
|
-
(
|
|
979
|
-
const
|
|
980
|
-
/* @__PURE__ */
|
|
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
|
|
979
|
+
return I.push(...v(S)), I;
|
|
983
980
|
},
|
|
984
|
-
[
|
|
985
|
-
),
|
|
986
|
-
(
|
|
981
|
+
[v]
|
|
982
|
+
), u = w(
|
|
983
|
+
(C) => {
|
|
987
984
|
const S = [];
|
|
988
|
-
return
|
|
989
|
-
S.push(...
|
|
985
|
+
return C.forEach((I, N) => {
|
|
986
|
+
S.push(...g(N, I));
|
|
990
987
|
}), S;
|
|
991
988
|
},
|
|
992
|
-
[
|
|
993
|
-
),
|
|
994
|
-
(
|
|
989
|
+
[g]
|
|
990
|
+
), h = w(
|
|
991
|
+
(C) => {
|
|
995
992
|
let S = "";
|
|
996
|
-
if (
|
|
997
|
-
|
|
993
|
+
if (r instanceof Map)
|
|
994
|
+
r.forEach((I, N) => {
|
|
998
995
|
if (S === "") {
|
|
999
|
-
const
|
|
1000
|
-
|
|
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
|
|
1005
|
-
|
|
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 =
|
|
1004
|
+
return S === "" && (S = s ? `${t} *` : t), S;
|
|
1008
1005
|
},
|
|
1009
|
-
[
|
|
1006
|
+
[t, r, F, s]
|
|
1010
1007
|
);
|
|
1011
|
-
return /* @__PURE__ */
|
|
1012
|
-
|
|
1013
|
-
/* @__PURE__ */
|
|
1014
|
-
|
|
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:
|
|
1021
|
-
onChange:
|
|
1022
|
-
displayEmpty: !
|
|
1017
|
+
renderValue: h,
|
|
1018
|
+
onChange: $,
|
|
1019
|
+
displayEmpty: !n,
|
|
1023
1020
|
disabled: d,
|
|
1024
1021
|
"aria-disabled": d,
|
|
1025
1022
|
children: [
|
|
1026
|
-
|
|
1027
|
-
|
|
1023
|
+
r instanceof Map && u(r),
|
|
1024
|
+
r instanceof Array && v(r)
|
|
1028
1025
|
]
|
|
1029
1026
|
}
|
|
1030
1027
|
),
|
|
1031
|
-
|
|
1028
|
+
a && /* @__PURE__ */ i(kt, { children: a })
|
|
1032
1029
|
] });
|
|
1033
1030
|
}
|
|
1034
|
-
const
|
|
1035
|
-
const [
|
|
1036
|
-
return
|
|
1037
|
-
const
|
|
1038
|
-
|
|
1039
|
-
const
|
|
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
|
|
1038
|
+
let s;
|
|
1042
1039
|
const o = l[d];
|
|
1043
1040
|
if (o.messageQualifiedName !== void 0) {
|
|
1044
|
-
const
|
|
1045
|
-
if (
|
|
1046
|
-
const
|
|
1047
|
-
|
|
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
|
-
|
|
1047
|
+
s && s.messages.push(o);
|
|
1051
1048
|
}
|
|
1052
|
-
return
|
|
1049
|
+
return n(c), c;
|
|
1053
1050
|
});
|
|
1054
|
-
},
|
|
1055
|
-
return
|
|
1056
|
-
|
|
1051
|
+
}, r = Zt();
|
|
1052
|
+
return Mt(r, "meas-setup-changed", a), a(), () => {
|
|
1053
|
+
wt(r, "meas-setup-changed");
|
|
1057
1054
|
};
|
|
1058
|
-
}, [e]),
|
|
1055
|
+
}, [e]), t;
|
|
1059
1056
|
};
|
|
1060
|
-
function
|
|
1057
|
+
function Re({
|
|
1061
1058
|
parentDialogTitle: e = void 0,
|
|
1062
|
-
open:
|
|
1063
|
-
onSelect:
|
|
1064
|
-
nodeIdentifier:
|
|
1065
|
-
onClose:
|
|
1059
|
+
open: t,
|
|
1060
|
+
onSelect: n,
|
|
1061
|
+
nodeIdentifier: a = void 0,
|
|
1062
|
+
onClose: r,
|
|
1066
1063
|
modal: l = !1
|
|
1067
1064
|
}) {
|
|
1068
|
-
const
|
|
1069
|
-
() => e ? `${e} > ${
|
|
1070
|
-
[
|
|
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
|
-
(
|
|
1073
|
-
if (
|
|
1074
|
-
for (let
|
|
1075
|
-
const
|
|
1076
|
-
|
|
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,
|
|
1080
|
-
),
|
|
1081
|
-
return /* @__PURE__ */
|
|
1082
|
-
|
|
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:
|
|
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__ */
|
|
1090
|
-
/* @__PURE__ */
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
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
|
|
1113
|
+
function Pe({
|
|
1107
1114
|
parentDialogTitle: e = void 0,
|
|
1108
|
-
nodeIdentifier:
|
|
1109
|
-
open:
|
|
1110
|
-
multiSelect:
|
|
1111
|
-
checkboxSelection:
|
|
1115
|
+
nodeIdentifier: t = void 0,
|
|
1116
|
+
open: n,
|
|
1117
|
+
multiSelect: a = !1,
|
|
1118
|
+
checkboxSelection: r = !1,
|
|
1112
1119
|
onSelect: l = void 0,
|
|
1113
|
-
onMultiSelect:
|
|
1120
|
+
onMultiSelect: c = void 0,
|
|
1114
1121
|
onClose: d,
|
|
1115
|
-
selectedMessages:
|
|
1116
|
-
selectedSignals: o = void 0
|
|
1122
|
+
selectedMessages: s = void 0,
|
|
1123
|
+
selectedSignals: o = void 0,
|
|
1124
|
+
modal: b = !1
|
|
1117
1125
|
}) {
|
|
1118
|
-
const
|
|
1119
|
-
() => e ? `${e} > ${
|
|
1120
|
-
[
|
|
1121
|
-
), [
|
|
1122
|
-
|
|
1123
|
-
if (
|
|
1124
|
-
const
|
|
1125
|
-
|
|
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
|
-
}, [
|
|
1128
|
-
const [
|
|
1129
|
-
(
|
|
1130
|
-
(
|
|
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((
|
|
1133
|
-
|
|
1140
|
+
).flat().map((L) => L.signals.filter((x) => o.includes(x.qualifiedName))).flat() : []);
|
|
1141
|
+
X(() => {
|
|
1134
1142
|
if (o) {
|
|
1135
|
-
const
|
|
1136
|
-
(
|
|
1137
|
-
(
|
|
1143
|
+
const L = f.map(
|
|
1144
|
+
(x) => x.messages.filter(
|
|
1145
|
+
(_) => _.signals && _.signals.find((A) => o.includes(A.qualifiedName))
|
|
1138
1146
|
)
|
|
1139
|
-
).flat().map((
|
|
1140
|
-
|
|
1147
|
+
).flat().map((x) => x.signals.filter((_) => o.includes(_.qualifiedName))).flat();
|
|
1148
|
+
u(L);
|
|
1141
1149
|
}
|
|
1142
|
-
}, [o,
|
|
1143
|
-
const [
|
|
1144
|
-
if (
|
|
1150
|
+
}, [o, f]);
|
|
1151
|
+
const [h, C] = U(!1), S = D(() => {
|
|
1152
|
+
if (a)
|
|
1145
1153
|
return [
|
|
1146
|
-
|
|
1147
|
-
...
|
|
1154
|
+
...$.map((L) => L.messageQualifiedName),
|
|
1155
|
+
...g.map((L) => L.qualifiedName)
|
|
1148
1156
|
];
|
|
1149
|
-
}, [
|
|
1150
|
-
(
|
|
1151
|
-
if (
|
|
1157
|
+
}, [a, $, g]), I = w(
|
|
1158
|
+
(L) => {
|
|
1159
|
+
if (L === null)
|
|
1152
1160
|
return;
|
|
1153
|
-
if (!
|
|
1154
|
-
for (let
|
|
1155
|
-
const
|
|
1156
|
-
(
|
|
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 (
|
|
1159
|
-
const
|
|
1160
|
-
if (
|
|
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
|
-
|
|
1168
|
-
let
|
|
1169
|
-
for (let
|
|
1170
|
-
const
|
|
1171
|
-
(
|
|
1172
|
-
),
|
|
1173
|
-
(
|
|
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 (
|
|
1176
|
-
const
|
|
1177
|
-
|
|
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
|
|
1180
|
-
(
|
|
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 (
|
|
1183
|
-
const
|
|
1184
|
-
|
|
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
|
|
1187
|
-
(
|
|
1194
|
+
const J = p.messages.filter(
|
|
1195
|
+
(E) => !L.includes(E.messageQualifiedName) && _.some((B) => B.messageQualifiedName === E.messageQualifiedName)
|
|
1188
1196
|
);
|
|
1189
|
-
if (
|
|
1190
|
-
const
|
|
1191
|
-
|
|
1192
|
-
(
|
|
1193
|
-
),
|
|
1194
|
-
(
|
|
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
|
|
1199
|
-
}),
|
|
1206
|
+
return A;
|
|
1207
|
+
}), u(x);
|
|
1200
1208
|
},
|
|
1201
|
-
[
|
|
1202
|
-
),
|
|
1203
|
-
|
|
1204
|
-
}, [d,
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
}, [
|
|
1208
|
-
const M =
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
).map((
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
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
|
|
1271
|
+
function Ha({
|
|
1245
1272
|
selectedSignals: e,
|
|
1246
|
-
onSelectedSignalseChange:
|
|
1247
|
-
onErrorsChange:
|
|
1248
|
-
signalFilterError:
|
|
1249
|
-
parentDialogTitle:
|
|
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:
|
|
1278
|
+
disabled: c = !1
|
|
1252
1279
|
}) {
|
|
1253
|
-
const d =
|
|
1254
|
-
const
|
|
1255
|
-
return
|
|
1256
|
-
|
|
1257
|
-
|
|
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(
|
|
1260
|
-
}, [
|
|
1261
|
-
|
|
1262
|
-
|
|
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
|
-
[
|
|
1265
|
-
),
|
|
1266
|
-
(
|
|
1267
|
-
|
|
1300
|
+
[t]
|
|
1301
|
+
), $ = w(
|
|
1302
|
+
(u, h) => {
|
|
1303
|
+
t(h.filter((C) => f.includes(C)));
|
|
1268
1304
|
},
|
|
1269
|
-
[
|
|
1305
|
+
[t, f]
|
|
1270
1306
|
);
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
}, [
|
|
1274
|
-
const [
|
|
1275
|
-
return /* @__PURE__ */
|
|
1276
|
-
/* @__PURE__ */
|
|
1277
|
-
|
|
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: (
|
|
1321
|
+
renderInput: (u) => /* @__PURE__ */ i(it, { ...u, label: d.getString("LabelSelectedSignals") }),
|
|
1286
1322
|
size: "small",
|
|
1287
1323
|
fullWidth: !0,
|
|
1288
|
-
onChange:
|
|
1289
|
-
|
|
1324
|
+
onChange: $,
|
|
1325
|
+
clearOnBlur: !0,
|
|
1326
|
+
selectOnFocus: !0,
|
|
1327
|
+
handleHomeEndKeys: !0
|
|
1290
1328
|
}
|
|
1291
1329
|
),
|
|
1292
|
-
/* @__PURE__ */
|
|
1293
|
-
|
|
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:
|
|
1296
|
-
onClick: () =>
|
|
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__ */
|
|
1303
|
-
|
|
1340
|
+
/* @__PURE__ */ i(
|
|
1341
|
+
Pe,
|
|
1304
1342
|
{
|
|
1305
|
-
parentDialogTitle:
|
|
1306
|
-
open:
|
|
1307
|
-
onClose: () =>
|
|
1343
|
+
parentDialogTitle: r,
|
|
1344
|
+
open: v,
|
|
1345
|
+
onClose: () => g(!1),
|
|
1308
1346
|
nodeIdentifier: l,
|
|
1309
|
-
onMultiSelect:
|
|
1347
|
+
onMultiSelect: F,
|
|
1310
1348
|
multiSelect: !0,
|
|
1311
|
-
selectedMessages:
|
|
1349
|
+
selectedMessages: m,
|
|
1312
1350
|
selectedSignals: e,
|
|
1313
1351
|
checkboxSelection: !0
|
|
1314
1352
|
}
|
|
1315
1353
|
)
|
|
1316
1354
|
] }) });
|
|
1317
1355
|
}
|
|
1318
|
-
const
|
|
1356
|
+
const Xa = se(Fe)(({ height: e, width: t }) => ({
|
|
1319
1357
|
height: e,
|
|
1320
|
-
width:
|
|
1358
|
+
width: t,
|
|
1321
1359
|
padding: "4px",
|
|
1322
1360
|
overflow: "auto"
|
|
1323
1361
|
}));
|
|
1324
|
-
function
|
|
1325
|
-
return /* @__PURE__ */
|
|
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
|
|
1365
|
+
function Ka({
|
|
1328
1366
|
data: e,
|
|
1329
|
-
dataKey:
|
|
1330
|
-
hasRemoveButton:
|
|
1331
|
-
removeButtonTitle:
|
|
1332
|
-
onRemoveRow:
|
|
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:
|
|
1372
|
+
onClickRow: c = void 0,
|
|
1335
1373
|
columns: d,
|
|
1336
|
-
label:
|
|
1374
|
+
label: s = void 0,
|
|
1337
1375
|
labelVariant: o = "h6",
|
|
1338
|
-
maxHeight:
|
|
1339
|
-
size:
|
|
1340
|
-
stickyHeader:
|
|
1341
|
-
hover:
|
|
1376
|
+
maxHeight: b = void 0,
|
|
1377
|
+
size: m = "medium",
|
|
1378
|
+
stickyHeader: f = !1,
|
|
1379
|
+
hover: F = !1
|
|
1342
1380
|
}) {
|
|
1343
|
-
const
|
|
1344
|
-
(
|
|
1345
|
-
|
|
1381
|
+
const $ = w(
|
|
1382
|
+
(v) => {
|
|
1383
|
+
c && c(v);
|
|
1346
1384
|
},
|
|
1347
|
-
[
|
|
1385
|
+
[c]
|
|
1348
1386
|
);
|
|
1349
|
-
return /* @__PURE__ */
|
|
1350
|
-
|
|
1351
|
-
/* @__PURE__ */
|
|
1352
|
-
/* @__PURE__ */
|
|
1353
|
-
|
|
1354
|
-
/* @__PURE__ */
|
|
1355
|
-
)) }) }),
|
|
1356
|
-
/* @__PURE__ */
|
|
1357
|
-
const
|
|
1358
|
-
return /* @__PURE__ */
|
|
1359
|
-
/* @__PURE__ */
|
|
1360
|
-
|
|
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: () =>
|
|
1363
|
-
...
|
|
1364
|
-
children:
|
|
1400
|
+
onClick: () => $(v),
|
|
1401
|
+
...u.dataProps,
|
|
1402
|
+
children: u.dataCell(v)
|
|
1365
1403
|
},
|
|
1366
|
-
`${
|
|
1404
|
+
`${g}-${u.key}-project-file`
|
|
1367
1405
|
),
|
|
1368
|
-
|
|
1369
|
-
] }, `${
|
|
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
|
|
1412
|
+
const Qa = se("div")(({ theme: e }) => ({
|
|
1375
1413
|
borderBottom: "1px solid",
|
|
1376
1414
|
borderColor: e.palette.divider
|
|
1377
|
-
})),
|
|
1378
|
-
[`& .${
|
|
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
|
-
[`&.${
|
|
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
|
-
})),
|
|
1394
|
-
[`& .${
|
|
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
|
-
[`&.${
|
|
1439
|
+
[`&.${Le.disabled}`]: {
|
|
1402
1440
|
border: 0
|
|
1403
1441
|
}
|
|
1404
1442
|
},
|
|
1405
|
-
[`& .${
|
|
1443
|
+
[`& .${Le.middleButton},& .${Le.lastButton}`]: {
|
|
1406
1444
|
marginLeft: -1,
|
|
1407
1445
|
borderLeft: "1px solid transparent"
|
|
1408
1446
|
}
|
|
1409
1447
|
}));
|
|
1410
|
-
function
|
|
1448
|
+
function $t({
|
|
1411
1449
|
onClick: e,
|
|
1412
|
-
icon:
|
|
1413
|
-
text:
|
|
1414
|
-
size:
|
|
1415
|
-
variant:
|
|
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:
|
|
1455
|
+
tooltip: c = void 0,
|
|
1418
1456
|
ariaLabel: d = void 0,
|
|
1419
|
-
children:
|
|
1457
|
+
children: s = void 0,
|
|
1420
1458
|
disabled: o = !1
|
|
1421
1459
|
}) {
|
|
1422
|
-
return
|
|
1423
|
-
|
|
1460
|
+
return s ? /* @__PURE__ */ i(
|
|
1461
|
+
ca,
|
|
1424
1462
|
{
|
|
1425
|
-
size: typeof
|
|
1426
|
-
variant:
|
|
1463
|
+
size: typeof a == "string" ? a : "small",
|
|
1464
|
+
variant: r,
|
|
1427
1465
|
color: l,
|
|
1428
|
-
startIcon:
|
|
1429
|
-
text:
|
|
1466
|
+
startIcon: t,
|
|
1467
|
+
text: n,
|
|
1430
1468
|
disabled: o,
|
|
1431
|
-
children:
|
|
1469
|
+
children: s
|
|
1432
1470
|
}
|
|
1433
|
-
) :
|
|
1434
|
-
|
|
1471
|
+
) : n ? /* @__PURE__ */ j(
|
|
1472
|
+
ae,
|
|
1435
1473
|
{
|
|
1436
|
-
size: typeof
|
|
1437
|
-
variant:
|
|
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:
|
|
1479
|
+
startIcon: t,
|
|
1442
1480
|
disabled: o,
|
|
1443
1481
|
children: [
|
|
1444
|
-
|
|
1445
|
-
!
|
|
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__ */
|
|
1449
|
-
|
|
1486
|
+
) : /* @__PURE__ */ j(
|
|
1487
|
+
ae,
|
|
1450
1488
|
{
|
|
1451
|
-
size: typeof
|
|
1452
|
-
variant:
|
|
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
|
|
1459
|
-
width: typeof
|
|
1496
|
+
height: typeof a == "number" ? `${a}px` : void 0,
|
|
1497
|
+
width: typeof a == "number" ? `${a}px` : void 0
|
|
1460
1498
|
},
|
|
1461
1499
|
children: [
|
|
1462
|
-
|
|
1463
|
-
!
|
|
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
|
|
1506
|
+
function Ca({
|
|
1469
1507
|
buttons: e,
|
|
1470
|
-
size:
|
|
1471
|
-
ariaLabel:
|
|
1472
|
-
orientation:
|
|
1508
|
+
size: t = "small",
|
|
1509
|
+
ariaLabel: n = void 0,
|
|
1510
|
+
orientation: a = "horizontal"
|
|
1473
1511
|
}) {
|
|
1474
|
-
return /* @__PURE__ */
|
|
1475
|
-
|
|
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:
|
|
1478
|
-
icon:
|
|
1479
|
-
text:
|
|
1480
|
-
size:
|
|
1481
|
-
variant:
|
|
1482
|
-
color:
|
|
1483
|
-
tooltip:
|
|
1484
|
-
ariaLabel:
|
|
1485
|
-
disabled:
|
|
1486
|
-
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
|
|
1529
|
+
function $a({
|
|
1492
1530
|
value: e,
|
|
1493
|
-
onChange:
|
|
1494
|
-
size:
|
|
1495
|
-
ariaLabel:
|
|
1496
|
-
exclusive:
|
|
1531
|
+
onChange: t,
|
|
1532
|
+
size: n = "small",
|
|
1533
|
+
ariaLabel: a = void 0,
|
|
1534
|
+
exclusive: r = void 0,
|
|
1497
1535
|
buttons: l,
|
|
1498
|
-
orientation:
|
|
1536
|
+
orientation: c = "horizontal"
|
|
1499
1537
|
}) {
|
|
1500
|
-
return /* @__PURE__ */
|
|
1501
|
-
|
|
1538
|
+
return /* @__PURE__ */ i(
|
|
1539
|
+
Na,
|
|
1502
1540
|
{
|
|
1503
|
-
size:
|
|
1541
|
+
size: n,
|
|
1504
1542
|
value: e,
|
|
1505
|
-
onChange: (d,
|
|
1506
|
-
"aria-label":
|
|
1507
|
-
exclusive:
|
|
1508
|
-
orientation:
|
|
1509
|
-
children: l.map((d,
|
|
1510
|
-
|
|
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
|
|
1550
|
+
size: typeof n == "string" ? n : "small",
|
|
1513
1551
|
value: d.value,
|
|
1514
1552
|
"aria-label": d.ariaLabel,
|
|
1515
1553
|
sx: {
|
|
1516
|
-
height: typeof
|
|
1517
|
-
width: typeof
|
|
1518
|
-
padding: d.size === "small" || typeof
|
|
1519
|
-
margin: d.size === "small" || typeof
|
|
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__ */
|
|
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
|
-
|
|
1565
|
+
s
|
|
1528
1566
|
))
|
|
1529
1567
|
}
|
|
1530
1568
|
);
|
|
1531
1569
|
}
|
|
1532
|
-
function
|
|
1570
|
+
function Ya({
|
|
1533
1571
|
items: e,
|
|
1534
|
-
height:
|
|
1535
|
-
width:
|
|
1536
|
-
justifyContent:
|
|
1537
|
-
borderSize:
|
|
1572
|
+
height: t = 34,
|
|
1573
|
+
width: n = 34,
|
|
1574
|
+
justifyContent: a = "left",
|
|
1575
|
+
borderSize: r = 1,
|
|
1538
1576
|
padding: l = 1,
|
|
1539
|
-
backgroundColor:
|
|
1577
|
+
backgroundColor: c = void 0,
|
|
1540
1578
|
orientation: d = "horizontal"
|
|
1541
1579
|
}) {
|
|
1542
|
-
return /* @__PURE__ */
|
|
1543
|
-
|
|
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:
|
|
1550
|
-
border: (
|
|
1587
|
+
justifyContent: a,
|
|
1588
|
+
border: (s) => `${r}px solid ${s.palette.divider}`,
|
|
1551
1589
|
flexWrap: "wrap",
|
|
1552
|
-
height: d === "horizontal" ? `${
|
|
1553
|
-
minHeight: d === "horizontal" ? `${
|
|
1554
|
-
width: d === "vertical" ? `${
|
|
1555
|
-
minWidth: d === "vertical" ? `${
|
|
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:
|
|
1599
|
+
backgroundColor: c
|
|
1562
1600
|
},
|
|
1563
|
-
children: e.map((
|
|
1564
|
-
|
|
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:
|
|
1570
|
-
onChange:
|
|
1571
|
-
ariaLabel:
|
|
1572
|
-
exclusive:
|
|
1573
|
-
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
|
-
) :
|
|
1578
|
-
|
|
1612
|
+
) : s.button ? /* @__PURE__ */ i(
|
|
1613
|
+
$t,
|
|
1579
1614
|
{
|
|
1580
|
-
onClick:
|
|
1581
|
-
icon:
|
|
1582
|
-
text:
|
|
1583
|
-
variant:
|
|
1584
|
-
color:
|
|
1585
|
-
tooltip:
|
|
1586
|
-
ariaLabel:
|
|
1587
|
-
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
|
-
) :
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
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
|
|
1606
|
-
const [
|
|
1607
|
-
(
|
|
1608
|
-
e.length !== 0 && (
|
|
1609
|
-
|
|
1610
|
-
mouseX:
|
|
1611
|
-
mouseY:
|
|
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
|
-
[
|
|
1621
|
-
),
|
|
1622
|
-
|
|
1652
|
+
[a, e.length]
|
|
1653
|
+
), c = w(() => {
|
|
1654
|
+
r(null);
|
|
1623
1655
|
}, []), d = w(
|
|
1624
|
-
(
|
|
1625
|
-
|
|
1656
|
+
(s) => {
|
|
1657
|
+
t(s), c();
|
|
1626
1658
|
},
|
|
1627
|
-
[
|
|
1659
|
+
[c, t]
|
|
1628
1660
|
);
|
|
1629
|
-
return /* @__PURE__ */
|
|
1630
|
-
|
|
1631
|
-
/* @__PURE__ */
|
|
1632
|
-
|
|
1661
|
+
return /* @__PURE__ */ j("div", { onContextMenu: l, style: { cursor: "context-menu" }, children: [
|
|
1662
|
+
n,
|
|
1663
|
+
/* @__PURE__ */ i(
|
|
1664
|
+
Kt,
|
|
1633
1665
|
{
|
|
1634
|
-
open:
|
|
1635
|
-
onClose:
|
|
1666
|
+
open: a !== null,
|
|
1667
|
+
onClose: c,
|
|
1636
1668
|
anchorReference: "anchorPosition",
|
|
1637
|
-
anchorPosition:
|
|
1638
|
-
children: e.map((
|
|
1639
|
-
|
|
1640
|
-
/* @__PURE__ */
|
|
1641
|
-
|
|
1642
|
-
] },
|
|
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
|
|
1679
|
+
function Fa({
|
|
1648
1680
|
canIdentifier: e,
|
|
1649
|
-
canIdentifierType:
|
|
1650
|
-
onCanIdentifierChange:
|
|
1651
|
-
onErrorsChange:
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
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
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
}, [
|
|
1668
|
-
const [
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
}, [
|
|
1672
|
-
const
|
|
1673
|
-
|
|
1674
|
-
}, []),
|
|
1675
|
-
(
|
|
1676
|
-
let
|
|
1677
|
-
const
|
|
1678
|
-
if (
|
|
1679
|
-
if (Number.isNaN(
|
|
1680
|
-
return Number.isNaN(
|
|
1681
|
-
} else if (
|
|
1682
|
-
return Number.isNaN(
|
|
1683
|
-
return
|
|
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
|
-
[
|
|
1686
|
-
),
|
|
1687
|
-
(
|
|
1688
|
-
if (
|
|
1689
|
-
let
|
|
1690
|
-
const
|
|
1691
|
-
|
|
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
|
-
[
|
|
1695
|
-
),
|
|
1696
|
-
const
|
|
1697
|
-
return
|
|
1698
|
-
}, [
|
|
1699
|
-
() =>
|
|
1700
|
-
|
|
1701
|
-
|
|
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:
|
|
1706
|
-
error:
|
|
1707
|
-
onValidate:
|
|
1708
|
-
onErrorChange:
|
|
1709
|
-
disabled:
|
|
1765
|
+
value: _,
|
|
1766
|
+
error: N,
|
|
1767
|
+
onValidate: L,
|
|
1768
|
+
onErrorChange: M,
|
|
1769
|
+
disabled: l
|
|
1710
1770
|
}
|
|
1711
1771
|
),
|
|
1712
|
-
/* @__PURE__ */
|
|
1713
|
-
|
|
1772
|
+
/* @__PURE__ */ i(
|
|
1773
|
+
ht,
|
|
1714
1774
|
{
|
|
1715
1775
|
id: "id-type",
|
|
1716
|
-
label:
|
|
1717
|
-
checked:
|
|
1718
|
-
onChange: (
|
|
1719
|
-
|
|
1776
|
+
label: u.getString("LabelUseExtendedIdentifier"),
|
|
1777
|
+
checked: P === "extended",
|
|
1778
|
+
onChange: (E) => {
|
|
1779
|
+
Z(E), x(E ? "extended" : "standard");
|
|
1720
1780
|
},
|
|
1721
|
-
disabled:
|
|
1781
|
+
disabled: l
|
|
1722
1782
|
}
|
|
1723
1783
|
),
|
|
1724
|
-
!
|
|
1725
|
-
|
|
1784
|
+
!f && F !== !0 && /* @__PURE__ */ i(pe, { columnItem: C, width: I, children: /* @__PURE__ */ i(
|
|
1785
|
+
ae,
|
|
1726
1786
|
{
|
|
1727
|
-
disabled:
|
|
1728
|
-
onClick: () =>
|
|
1729
|
-
a && a(!0);
|
|
1730
|
-
},
|
|
1787
|
+
disabled: o,
|
|
1788
|
+
onClick: () => R(!0),
|
|
1731
1789
|
variant: "outlined",
|
|
1732
1790
|
size: "large",
|
|
1733
|
-
children:
|
|
1791
|
+
children: u.getString("ButtonSelectMessage")
|
|
1734
1792
|
}
|
|
1735
1793
|
) }),
|
|
1736
|
-
|
|
1737
|
-
|
|
1794
|
+
F && /* @__PURE__ */ i(pe, { columnItem: S, width: I, children: /* @__PURE__ */ i(
|
|
1795
|
+
ae,
|
|
1738
1796
|
{
|
|
1739
|
-
disabled:
|
|
1740
|
-
onClick: () =>
|
|
1741
|
-
l && l(!0);
|
|
1742
|
-
},
|
|
1797
|
+
disabled: b,
|
|
1798
|
+
onClick: () => W(!0),
|
|
1743
1799
|
variant: "outlined",
|
|
1744
1800
|
size: "large",
|
|
1745
|
-
children:
|
|
1801
|
+
children: u.getString("ButtonSelectSignal")
|
|
1746
1802
|
}
|
|
1747
1803
|
) })
|
|
1748
1804
|
] }),
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
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:
|
|
1831
|
+
text: u.getString("LabelCanIdentifier"),
|
|
1755
1832
|
summary: e,
|
|
1756
|
-
collapsible:
|
|
1757
|
-
collapsed:
|
|
1758
|
-
collapsedChange:
|
|
1759
|
-
children:
|
|
1833
|
+
collapsible: $,
|
|
1834
|
+
collapsed: v,
|
|
1835
|
+
collapsedChange: g,
|
|
1836
|
+
children: J
|
|
1760
1837
|
}
|
|
1761
1838
|
);
|
|
1762
1839
|
}
|
|
1763
|
-
function
|
|
1840
|
+
function Za({
|
|
1764
1841
|
frame: e,
|
|
1765
|
-
onFrameChange:
|
|
1766
|
-
onErrorsChange:
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
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:
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
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
|
|
1779
|
-
const
|
|
1854
|
+
var g;
|
|
1855
|
+
const f = me(), F = D(
|
|
1780
1856
|
() => {
|
|
1781
|
-
var
|
|
1782
|
-
return ((
|
|
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
|
-
[(
|
|
1785
|
-
),
|
|
1786
|
-
(
|
|
1787
|
-
var
|
|
1788
|
-
const
|
|
1789
|
-
|
|
1790
|
-
const
|
|
1791
|
-
if (
|
|
1792
|
-
const
|
|
1793
|
-
|
|
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,
|
|
1872
|
+
[e, f, t]
|
|
1797
1873
|
);
|
|
1798
|
-
return /* @__PURE__ */
|
|
1799
|
-
|
|
1874
|
+
return /* @__PURE__ */ i(
|
|
1875
|
+
Fa,
|
|
1800
1876
|
{
|
|
1801
|
-
canIdentifier:
|
|
1802
|
-
canIdentifierType:
|
|
1803
|
-
onCanIdentifierChange:
|
|
1804
|
-
onErrorsChange:
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
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:
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
collapsedChange: I
|
|
1886
|
+
hideSelectMessageButton: s,
|
|
1887
|
+
collapsible: o,
|
|
1888
|
+
collapsed: b,
|
|
1889
|
+
collapsedChange: m
|
|
1815
1890
|
}
|
|
1816
1891
|
);
|
|
1817
1892
|
}
|
|
1818
|
-
function
|
|
1893
|
+
function Ma({
|
|
1819
1894
|
canIdentifier: e,
|
|
1820
|
-
identifierGeneratorType:
|
|
1821
|
-
minCanIdentifier:
|
|
1822
|
-
maxCanIdentifier:
|
|
1823
|
-
canIdentifierType:
|
|
1895
|
+
identifierGeneratorType: t,
|
|
1896
|
+
minCanIdentifier: n,
|
|
1897
|
+
maxCanIdentifier: a,
|
|
1898
|
+
canIdentifierType: r,
|
|
1824
1899
|
onChange: l,
|
|
1825
|
-
onErrorsChange:
|
|
1900
|
+
onErrorsChange: c = void 0,
|
|
1826
1901
|
canIdentifierGeneratorSettingsError: d = void 0,
|
|
1827
|
-
disabled:
|
|
1902
|
+
disabled: s = !1,
|
|
1828
1903
|
collapsible: o = !1,
|
|
1829
|
-
collapsed:
|
|
1830
|
-
collapsedChange:
|
|
1831
|
-
|
|
1832
|
-
|
|
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
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
}, [
|
|
1838
|
-
const
|
|
1839
|
-
|
|
1840
|
-
}, []),
|
|
1841
|
-
(
|
|
1842
|
-
let
|
|
1843
|
-
const
|
|
1844
|
-
if (
|
|
1845
|
-
if (Number.isNaN(
|
|
1846
|
-
return Number.isNaN(
|
|
1847
|
-
`${
|
|
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
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
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
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1934
|
+
n,
|
|
1935
|
+
a,
|
|
1936
|
+
x
|
|
1937
|
+
), { val: k, err: !0 };
|
|
1861
1938
|
return l(
|
|
1862
|
-
`${
|
|
1863
|
-
n,
|
|
1939
|
+
`${T.toString(u).toUpperCase()}`,
|
|
1864
1940
|
t,
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1941
|
+
n,
|
|
1942
|
+
a,
|
|
1943
|
+
x
|
|
1944
|
+
), H(Y.startsWith("0x")), { val: k, err: !1 };
|
|
1868
1945
|
},
|
|
1869
|
-
[
|
|
1870
|
-
),
|
|
1871
|
-
(
|
|
1872
|
-
let
|
|
1873
|
-
const
|
|
1874
|
-
if (
|
|
1875
|
-
if (Number.isNaN(
|
|
1876
|
-
return Number.isNaN(
|
|
1877
|
-
} else if (
|
|
1878
|
-
return Number.isNaN(
|
|
1879
|
-
return
|
|
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
|
-
[
|
|
1882
|
-
),
|
|
1883
|
-
(
|
|
1884
|
-
const
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
(
|
|
1888
|
-
(
|
|
1889
|
-
),
|
|
1890
|
-
|
|
1891
|
-
|
|
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
|
|
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
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1978
|
+
x,
|
|
1979
|
+
t,
|
|
1980
|
+
a,
|
|
1906
1981
|
l,
|
|
1907
|
-
|
|
1982
|
+
p
|
|
1908
1983
|
]
|
|
1909
|
-
),
|
|
1910
|
-
(
|
|
1911
|
-
const
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
(
|
|
1915
|
-
(
|
|
1916
|
-
),
|
|
1917
|
-
|
|
1918
|
-
|
|
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
|
|
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
|
-
|
|
1931
|
-
n,
|
|
2003
|
+
x,
|
|
1932
2004
|
t,
|
|
2005
|
+
n,
|
|
1933
2006
|
l,
|
|
1934
|
-
|
|
2007
|
+
p
|
|
1935
2008
|
]
|
|
1936
|
-
),
|
|
1937
|
-
(
|
|
1938
|
-
if (
|
|
1939
|
-
let
|
|
1940
|
-
const
|
|
1941
|
-
|
|
1942
|
-
let
|
|
1943
|
-
const
|
|
1944
|
-
|
|
1945
|
-
let
|
|
1946
|
-
const
|
|
1947
|
-
|
|
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
|
-
|
|
2024
|
+
x,
|
|
1952
2025
|
e,
|
|
1953
|
-
t,
|
|
1954
|
-
r,
|
|
1955
|
-
l,
|
|
1956
2026
|
n,
|
|
1957
|
-
|
|
2027
|
+
a,
|
|
2028
|
+
l,
|
|
2029
|
+
t,
|
|
2030
|
+
u
|
|
1958
2031
|
]
|
|
1959
|
-
),
|
|
1960
|
-
(
|
|
1961
|
-
|
|
2032
|
+
), J = w(
|
|
2033
|
+
(k) => {
|
|
2034
|
+
f(k === "constant"), l(e, k, n, a, x);
|
|
1962
2035
|
},
|
|
1963
|
-
[
|
|
2036
|
+
[l, e, n, a, x, f]
|
|
1964
2037
|
);
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
), d && (d.current =
|
|
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
|
-
|
|
2045
|
+
t,
|
|
2046
|
+
N,
|
|
1973
2047
|
S,
|
|
1974
|
-
|
|
1975
|
-
u
|
|
2048
|
+
c
|
|
1976
2049
|
]);
|
|
1977
|
-
const
|
|
1978
|
-
const
|
|
1979
|
-
return
|
|
1980
|
-
}, [
|
|
1981
|
-
const
|
|
1982
|
-
return
|
|
1983
|
-
}, [
|
|
1984
|
-
const
|
|
1985
|
-
return
|
|
1986
|
-
}, [
|
|
1987
|
-
|
|
1988
|
-
|
|
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:
|
|
1991
|
-
summary:
|
|
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:
|
|
1994
|
-
collapsedChange:
|
|
1995
|
-
children:
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
/* @__PURE__ */
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
/* @__PURE__ */
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
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
|
|
2200
|
+
function Va({
|
|
2100
2201
|
settings: e,
|
|
2101
|
-
onSettingsChange:
|
|
2102
|
-
onErrorsChange:
|
|
2103
|
-
canIdentifierGeneratorSettingsError:
|
|
2104
|
-
disabled:
|
|
2202
|
+
onSettingsChange: t,
|
|
2203
|
+
onErrorsChange: n = void 0,
|
|
2204
|
+
canIdentifierGeneratorSettingsError: a = void 0,
|
|
2205
|
+
disabled: r = !1,
|
|
2105
2206
|
collapsible: l = !1,
|
|
2106
|
-
collapsed:
|
|
2207
|
+
collapsed: c = !1,
|
|
2107
2208
|
collapsedChange: d = void 0,
|
|
2108
|
-
|
|
2109
|
-
|
|
2209
|
+
showSignalValuesTable: s,
|
|
2210
|
+
parentDialogTitle: o = void 0,
|
|
2211
|
+
fullScreen: b = !1,
|
|
2212
|
+
nodeIdentifier: m = void 0
|
|
2110
2213
|
}) {
|
|
2111
|
-
var
|
|
2112
|
-
const
|
|
2214
|
+
var C, S, I;
|
|
2215
|
+
const f = me(), F = D(
|
|
2113
2216
|
() => {
|
|
2114
|
-
var
|
|
2115
|
-
return ((
|
|
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
|
-
[(
|
|
2118
|
-
),
|
|
2119
|
-
var
|
|
2120
|
-
return `${(((
|
|
2121
|
-
}, [
|
|
2122
|
-
(
|
|
2123
|
-
var
|
|
2124
|
-
const
|
|
2125
|
-
if (
|
|
2126
|
-
const
|
|
2127
|
-
|
|
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: [
|
|
2232
|
+
canFrameFlags: { flags: [ne.CAN_FRAME_FLAG_STD] },
|
|
2130
2233
|
data: Array.from({ length: 8 }, () => 0)
|
|
2131
|
-
}),
|
|
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
|
-
[
|
|
2237
|
+
[u, f, t, e]
|
|
2135
2238
|
);
|
|
2136
|
-
return /* @__PURE__ */
|
|
2137
|
-
|
|
2239
|
+
return /* @__PURE__ */ i(
|
|
2240
|
+
Ma,
|
|
2138
2241
|
{
|
|
2139
|
-
canIdentifier:
|
|
2140
|
-
identifierGeneratorType:
|
|
2141
|
-
minCanIdentifier:
|
|
2142
|
-
maxCanIdentifier:
|
|
2143
|
-
canIdentifierType:
|
|
2242
|
+
canIdentifier: $,
|
|
2243
|
+
identifierGeneratorType: u,
|
|
2244
|
+
minCanIdentifier: v,
|
|
2245
|
+
maxCanIdentifier: g,
|
|
2246
|
+
canIdentifierType: F,
|
|
2144
2247
|
onChange: h,
|
|
2145
|
-
onErrorsChange:
|
|
2146
|
-
canIdentifierGeneratorSettingsError:
|
|
2147
|
-
disabled:
|
|
2248
|
+
onErrorsChange: n,
|
|
2249
|
+
canIdentifierGeneratorSettingsError: a,
|
|
2250
|
+
disabled: r,
|
|
2148
2251
|
collapsible: l,
|
|
2149
|
-
collapsed:
|
|
2252
|
+
collapsed: c,
|
|
2150
2253
|
collapsedChange: d,
|
|
2151
|
-
|
|
2152
|
-
|
|
2254
|
+
showSignalValuesTable: s,
|
|
2255
|
+
parentDialogTitle: o,
|
|
2256
|
+
fullScreen: b,
|
|
2257
|
+
nodeIdentifier: m
|
|
2153
2258
|
}
|
|
2154
2259
|
);
|
|
2155
2260
|
}
|
|
2156
|
-
function
|
|
2157
|
-
const [
|
|
2158
|
-
return
|
|
2159
|
-
d((
|
|
2160
|
-
var
|
|
2161
|
-
const o = (
|
|
2162
|
-
var
|
|
2163
|
-
const
|
|
2164
|
-
var
|
|
2165
|
-
return
|
|
2166
|
-
})) == null ? void 0 :
|
|
2167
|
-
return
|
|
2168
|
-
}).map((
|
|
2169
|
-
value:
|
|
2170
|
-
displayText:
|
|
2171
|
-
canFdMode:
|
|
2172
|
-
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 ||
|
|
2279
|
+
return !o || Se(s, o) ? s : o;
|
|
2175
2280
|
});
|
|
2176
|
-
}, [
|
|
2177
|
-
const
|
|
2178
|
-
l(
|
|
2179
|
-
}, [e,
|
|
2180
|
-
channelOptions:
|
|
2181
|
-
selectedChannelOption:
|
|
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
|
|
2289
|
+
function Ga({
|
|
2185
2290
|
channelIdentifier: e,
|
|
2186
|
-
onChannelIdentifierChange:
|
|
2187
|
-
hideSilentChannels:
|
|
2188
|
-
hideSectionControl:
|
|
2189
|
-
disabled:
|
|
2291
|
+
onChannelIdentifierChange: t,
|
|
2292
|
+
hideSilentChannels: n = !1,
|
|
2293
|
+
hideSectionControl: a = !1,
|
|
2294
|
+
disabled: r = !1,
|
|
2190
2295
|
collapsible: l = !1,
|
|
2191
|
-
collapsed:
|
|
2296
|
+
collapsed: c = !1,
|
|
2192
2297
|
collapsedChange: d = void 0
|
|
2193
2298
|
}) {
|
|
2194
|
-
var
|
|
2195
|
-
const
|
|
2299
|
+
var $;
|
|
2300
|
+
const s = Ge(), o = et(), b = le(), { channelOptions: m, selectedChannelOption: f } = wa(
|
|
2196
2301
|
e,
|
|
2197
|
-
|
|
2198
|
-
|
|
2302
|
+
n === !0,
|
|
2303
|
+
s,
|
|
2199
2304
|
o
|
|
2200
|
-
),
|
|
2201
|
-
(
|
|
2202
|
-
const
|
|
2203
|
-
|
|
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
|
-
[
|
|
2310
|
+
[m, t]
|
|
2206
2311
|
);
|
|
2207
|
-
return
|
|
2208
|
-
|
|
2312
|
+
return a === !0 ? /* @__PURE__ */ i(
|
|
2313
|
+
Ee,
|
|
2209
2314
|
{
|
|
2210
2315
|
id: "channel",
|
|
2211
|
-
label:
|
|
2316
|
+
label: b.getString("LabelChannel"),
|
|
2212
2317
|
fullWidth: !0,
|
|
2213
|
-
value:
|
|
2214
|
-
onChange:
|
|
2215
|
-
options:
|
|
2318
|
+
value: f,
|
|
2319
|
+
onChange: F,
|
|
2320
|
+
options: m,
|
|
2216
2321
|
required: !0,
|
|
2217
|
-
disabled:
|
|
2322
|
+
disabled: r
|
|
2218
2323
|
}
|
|
2219
|
-
) : /* @__PURE__ */
|
|
2220
|
-
|
|
2324
|
+
) : /* @__PURE__ */ i(
|
|
2325
|
+
xe,
|
|
2221
2326
|
{
|
|
2222
|
-
text:
|
|
2223
|
-
summary:
|
|
2327
|
+
text: b.getString("LabelChannel"),
|
|
2328
|
+
summary: f === "" || ($ = m.find((v) => v.value === f)) == null ? void 0 : $.displayText,
|
|
2224
2329
|
collapsible: l,
|
|
2225
|
-
collapsed:
|
|
2330
|
+
collapsed: c,
|
|
2226
2331
|
collapsedChange: d,
|
|
2227
|
-
children: /* @__PURE__ */
|
|
2228
|
-
|
|
2332
|
+
children: /* @__PURE__ */ i(
|
|
2333
|
+
Ee,
|
|
2229
2334
|
{
|
|
2230
2335
|
id: "channel",
|
|
2231
|
-
label:
|
|
2336
|
+
label: b.getString("LabelChannel"),
|
|
2232
2337
|
fullWidth: !0,
|
|
2233
|
-
value:
|
|
2234
|
-
onChange:
|
|
2235
|
-
options:
|
|
2338
|
+
value: f,
|
|
2339
|
+
onChange: F,
|
|
2340
|
+
options: m,
|
|
2236
2341
|
required: !0,
|
|
2237
|
-
disabled:
|
|
2342
|
+
disabled: r
|
|
2238
2343
|
}
|
|
2239
2344
|
)
|
|
2240
2345
|
}
|
|
2241
2346
|
);
|
|
2242
2347
|
}
|
|
2243
|
-
function
|
|
2244
|
-
const [
|
|
2245
|
-
return
|
|
2246
|
-
d((
|
|
2247
|
-
var
|
|
2248
|
-
const o = (
|
|
2249
|
-
var
|
|
2250
|
-
const
|
|
2251
|
-
var
|
|
2252
|
-
return
|
|
2253
|
-
})) == null ? void 0 :
|
|
2254
|
-
return (
|
|
2255
|
-
}).map((
|
|
2256
|
-
value:
|
|
2257
|
-
displayText:
|
|
2258
|
-
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 ||
|
|
2365
|
+
return !o || Se(s, o) ? s : o;
|
|
2261
2366
|
});
|
|
2262
|
-
}, [t == null ? void 0 :
|
|
2263
|
-
const
|
|
2264
|
-
l(
|
|
2265
|
-
}, [e,
|
|
2266
|
-
channelOptions:
|
|
2267
|
-
selectedChannelOption:
|
|
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
|
|
2375
|
+
function er({
|
|
2271
2376
|
channelIdentifier: e,
|
|
2272
|
-
selectMasterChannels:
|
|
2273
|
-
onChannelIdentifierChange:
|
|
2274
|
-
hideSectionControl:
|
|
2275
|
-
disabled:
|
|
2377
|
+
selectMasterChannels: t,
|
|
2378
|
+
onChannelIdentifierChange: n,
|
|
2379
|
+
hideSectionControl: a = !1,
|
|
2380
|
+
disabled: r = !1,
|
|
2276
2381
|
collapsible: l = !1,
|
|
2277
|
-
collapsed:
|
|
2382
|
+
collapsed: c = !1,
|
|
2278
2383
|
collapsedChange: d = void 0
|
|
2279
2384
|
}) {
|
|
2280
|
-
var
|
|
2281
|
-
const
|
|
2385
|
+
var $;
|
|
2386
|
+
const s = Ge(), o = et(), b = le(), { channelOptions: m, selectedChannelOption: f } = Ia(
|
|
2282
2387
|
e,
|
|
2283
|
-
|
|
2284
|
-
|
|
2388
|
+
t,
|
|
2389
|
+
s,
|
|
2285
2390
|
o
|
|
2286
|
-
),
|
|
2287
|
-
(
|
|
2288
|
-
const
|
|
2289
|
-
|
|
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
|
-
[
|
|
2396
|
+
[m, n]
|
|
2292
2397
|
);
|
|
2293
|
-
return
|
|
2294
|
-
|
|
2398
|
+
return a === !0 ? /* @__PURE__ */ i(
|
|
2399
|
+
Ee,
|
|
2295
2400
|
{
|
|
2296
2401
|
id: "channel",
|
|
2297
|
-
label:
|
|
2402
|
+
label: t ? b.getString("LabelChannelLinModeMaster") : b.getString("LabelChannelLinModeSlave"),
|
|
2298
2403
|
fullWidth: !0,
|
|
2299
|
-
value:
|
|
2300
|
-
onChange:
|
|
2301
|
-
options:
|
|
2404
|
+
value: f,
|
|
2405
|
+
onChange: F,
|
|
2406
|
+
options: m,
|
|
2302
2407
|
required: !0,
|
|
2303
|
-
disabled:
|
|
2408
|
+
disabled: r
|
|
2304
2409
|
}
|
|
2305
|
-
) : /* @__PURE__ */
|
|
2306
|
-
|
|
2410
|
+
) : /* @__PURE__ */ i(
|
|
2411
|
+
xe,
|
|
2307
2412
|
{
|
|
2308
|
-
text:
|
|
2309
|
-
summary:
|
|
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:
|
|
2416
|
+
collapsed: c,
|
|
2312
2417
|
collapsedChange: d,
|
|
2313
|
-
children: /* @__PURE__ */
|
|
2314
|
-
|
|
2418
|
+
children: /* @__PURE__ */ i(
|
|
2419
|
+
Ee,
|
|
2315
2420
|
{
|
|
2316
2421
|
id: "channel",
|
|
2317
|
-
label:
|
|
2422
|
+
label: t ? b.getString("LabelChannelLinModeMaster") : b.getString("LabelChannelLinModeSlave"),
|
|
2318
2423
|
fullWidth: !0,
|
|
2319
|
-
value:
|
|
2320
|
-
onChange:
|
|
2321
|
-
options:
|
|
2424
|
+
value: f,
|
|
2425
|
+
onChange: F,
|
|
2426
|
+
options: m,
|
|
2322
2427
|
required: !0,
|
|
2323
|
-
disabled:
|
|
2428
|
+
disabled: r
|
|
2324
2429
|
}
|
|
2325
2430
|
)
|
|
2326
2431
|
}
|
|
2327
2432
|
);
|
|
2328
2433
|
}
|
|
2329
|
-
function
|
|
2434
|
+
function La({
|
|
2330
2435
|
linIdentifier: e,
|
|
2331
|
-
onLinIdentifierChange:
|
|
2332
|
-
onErrorsChange:
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
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
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
}, [
|
|
2349
|
-
const [
|
|
2350
|
-
(
|
|
2351
|
-
let
|
|
2352
|
-
const
|
|
2353
|
-
return Number.isNaN(
|
|
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
|
-
[
|
|
2356
|
-
),
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
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:
|
|
2368
|
-
onValidate:
|
|
2369
|
-
onErrorChange:
|
|
2370
|
-
disabled:
|
|
2483
|
+
value: P,
|
|
2484
|
+
error: I,
|
|
2485
|
+
onValidate: H,
|
|
2486
|
+
onErrorChange: N,
|
|
2487
|
+
disabled: r
|
|
2371
2488
|
}
|
|
2372
2489
|
),
|
|
2373
|
-
!
|
|
2374
|
-
|
|
2490
|
+
!m && f !== !0 && /* @__PURE__ */ i(pe, { columnItem: h, width: S, children: /* @__PURE__ */ i(
|
|
2491
|
+
ae,
|
|
2375
2492
|
{
|
|
2376
|
-
disabled:
|
|
2377
|
-
onClick: () =>
|
|
2378
|
-
r && r(!0);
|
|
2379
|
-
},
|
|
2493
|
+
disabled: s,
|
|
2494
|
+
onClick: () => Z(!0),
|
|
2380
2495
|
variant: "outlined",
|
|
2381
2496
|
size: "large",
|
|
2382
|
-
children:
|
|
2497
|
+
children: g.getString("ButtonSelectMessage")
|
|
2383
2498
|
}
|
|
2384
2499
|
) }),
|
|
2385
|
-
|
|
2386
|
-
|
|
2500
|
+
f && /* @__PURE__ */ i(pe, { columnItem: C, width: S, children: /* @__PURE__ */ i(
|
|
2501
|
+
ae,
|
|
2387
2502
|
{
|
|
2388
|
-
disabled:
|
|
2389
|
-
onClick: () =>
|
|
2390
|
-
a && a(!0);
|
|
2391
|
-
},
|
|
2503
|
+
disabled: o,
|
|
2504
|
+
onClick: () => x(!0),
|
|
2392
2505
|
variant: "outlined",
|
|
2393
2506
|
size: "large",
|
|
2394
|
-
children:
|
|
2507
|
+
children: g.getString("ButtonSelectSignal")
|
|
2395
2508
|
}
|
|
2396
2509
|
) })
|
|
2397
2510
|
] }),
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
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:
|
|
2537
|
+
text: g.getString("LabelLinIdentifier"),
|
|
2404
2538
|
summary: e,
|
|
2405
|
-
collapsible:
|
|
2406
|
-
collapsed:
|
|
2407
|
-
collapsedChange:
|
|
2539
|
+
collapsible: F,
|
|
2540
|
+
collapsed: $,
|
|
2541
|
+
collapsedChange: v,
|
|
2408
2542
|
children: R
|
|
2409
2543
|
}
|
|
2410
2544
|
);
|
|
2411
2545
|
}
|
|
2412
|
-
function
|
|
2546
|
+
function tr({
|
|
2413
2547
|
frame: e,
|
|
2414
|
-
onFrameChange:
|
|
2415
|
-
onErrorsChange:
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
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:
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
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
|
|
2428
|
-
(
|
|
2429
|
-
var
|
|
2430
|
-
const
|
|
2431
|
-
if (
|
|
2432
|
-
const
|
|
2433
|
-
|
|
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,
|
|
2569
|
+
[e, f, t]
|
|
2437
2570
|
);
|
|
2438
|
-
return /* @__PURE__ */
|
|
2439
|
-
|
|
2571
|
+
return /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(
|
|
2572
|
+
La,
|
|
2440
2573
|
{
|
|
2441
|
-
linIdentifier:
|
|
2442
|
-
onLinIdentifierChange:
|
|
2443
|
-
onErrorsChange:
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
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:
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
collapsedChange: I
|
|
2582
|
+
hideSelectMessageButton: s,
|
|
2583
|
+
collapsible: o,
|
|
2584
|
+
collapsed: b,
|
|
2585
|
+
collapsedChange: m
|
|
2454
2586
|
}
|
|
2455
2587
|
) });
|
|
2456
2588
|
}
|
|
2457
|
-
function
|
|
2589
|
+
function Aa({
|
|
2458
2590
|
linIdentifier: e,
|
|
2459
|
-
identifierGeneratorType:
|
|
2460
|
-
minLinIdentifier:
|
|
2461
|
-
maxLinIdentifier:
|
|
2462
|
-
onChange:
|
|
2591
|
+
identifierGeneratorType: t,
|
|
2592
|
+
minLinIdentifier: n,
|
|
2593
|
+
maxLinIdentifier: a,
|
|
2594
|
+
onChange: r,
|
|
2463
2595
|
onErrorsChange: l = void 0,
|
|
2464
|
-
linIdentifierGeneratorSettingsError:
|
|
2596
|
+
linIdentifierGeneratorSettingsError: c = void 0,
|
|
2465
2597
|
disabled: d = !1,
|
|
2466
|
-
collapsible:
|
|
2598
|
+
collapsible: s = !1,
|
|
2467
2599
|
collapsed: o = !1,
|
|
2468
|
-
collapsedChange:
|
|
2469
|
-
|
|
2470
|
-
|
|
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
|
|
2473
|
-
(
|
|
2474
|
-
let K =
|
|
2475
|
-
const
|
|
2476
|
-
return Number.isNaN(
|
|
2477
|
-
`${
|
|
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
|
-
|
|
2486
|
-
|
|
2618
|
+
n,
|
|
2619
|
+
a
|
|
2620
|
+
), y(K.startsWith("0x")), { val: q, err: !1 });
|
|
2487
2621
|
},
|
|
2488
|
-
[
|
|
2489
|
-
),
|
|
2490
|
-
(
|
|
2491
|
-
let
|
|
2492
|
-
const
|
|
2493
|
-
return Number.isNaN(
|
|
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
|
-
[
|
|
2496
|
-
),
|
|
2497
|
-
(
|
|
2498
|
-
const K =
|
|
2499
|
-
|
|
2500
|
-
(
|
|
2501
|
-
(
|
|
2502
|
-
),
|
|
2503
|
-
|
|
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 >=
|
|
2643
|
+
return K.id >= V.id ? K.err = !0 : V.err && N(V.err), { val: K.val, err: K.err };
|
|
2512
2644
|
},
|
|
2513
|
-
[e,
|
|
2514
|
-
),
|
|
2515
|
-
(
|
|
2516
|
-
const K =
|
|
2517
|
-
|
|
2518
|
-
(
|
|
2519
|
-
(
|
|
2520
|
-
),
|
|
2521
|
-
|
|
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
|
|
2659
|
+
return V.id >= K.id ? K.err = !0 : V.err && S(V.err), { val: K.val, err: K.err };
|
|
2530
2660
|
},
|
|
2531
|
-
[e,
|
|
2532
|
-
),
|
|
2533
|
-
(
|
|
2534
|
-
|
|
2661
|
+
[e, t, n, r, x]
|
|
2662
|
+
), R = w(
|
|
2663
|
+
(q) => {
|
|
2664
|
+
m(q === "constant"), r(e, q, n, a);
|
|
2535
2665
|
},
|
|
2536
|
-
[e,
|
|
2666
|
+
[r, e, n, a, m]
|
|
2537
2667
|
);
|
|
2538
|
-
|
|
2668
|
+
X(() => {
|
|
2539
2669
|
l && l(
|
|
2540
|
-
|
|
2541
|
-
),
|
|
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
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2674
|
+
c,
|
|
2675
|
+
t,
|
|
2676
|
+
I,
|
|
2677
|
+
C,
|
|
2548
2678
|
l
|
|
2549
2679
|
]);
|
|
2550
|
-
const
|
|
2551
|
-
const
|
|
2552
|
-
return
|
|
2553
|
-
}, [
|
|
2554
|
-
const
|
|
2555
|
-
return
|
|
2556
|
-
}, [
|
|
2557
|
-
const
|
|
2558
|
-
return
|
|
2559
|
-
}, [
|
|
2560
|
-
|
|
2561
|
-
|
|
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:
|
|
2564
|
-
summary:
|
|
2565
|
-
collapsible:
|
|
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:
|
|
2568
|
-
children:
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
/* @__PURE__ */
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
/* @__PURE__ */
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
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
|
|
2809
|
+
function nr({
|
|
2661
2810
|
settings: e,
|
|
2662
|
-
onSettingsChange:
|
|
2663
|
-
onErrorsChange:
|
|
2664
|
-
linIdentifierGeneratorSettingsError:
|
|
2665
|
-
disabled:
|
|
2811
|
+
onSettingsChange: t,
|
|
2812
|
+
onErrorsChange: n = void 0,
|
|
2813
|
+
linIdentifierGeneratorSettingsError: a = void 0,
|
|
2814
|
+
disabled: r = !1,
|
|
2666
2815
|
collapsible: l = !1,
|
|
2667
|
-
collapsed:
|
|
2816
|
+
collapsed: c = !1,
|
|
2668
2817
|
collapsedChange: d = void 0,
|
|
2669
|
-
|
|
2670
|
-
|
|
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
|
|
2674
|
-
var
|
|
2675
|
-
return `${(((
|
|
2676
|
-
}, [
|
|
2677
|
-
(
|
|
2678
|
-
var
|
|
2679
|
-
const
|
|
2680
|
-
if (
|
|
2681
|
-
const
|
|
2682
|
-
|
|
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
|
-
}),
|
|
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
|
-
[
|
|
2840
|
+
[g, f, t, e]
|
|
2690
2841
|
);
|
|
2691
|
-
return /* @__PURE__ */
|
|
2692
|
-
|
|
2842
|
+
return /* @__PURE__ */ i(
|
|
2843
|
+
Aa,
|
|
2693
2844
|
{
|
|
2694
|
-
linIdentifier:
|
|
2695
|
-
identifierGeneratorType:
|
|
2696
|
-
minLinIdentifier:
|
|
2697
|
-
maxLinIdentifier:
|
|
2698
|
-
onChange:
|
|
2699
|
-
onErrorsChange:
|
|
2700
|
-
linIdentifierGeneratorSettingsError:
|
|
2701
|
-
disabled:
|
|
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:
|
|
2854
|
+
collapsed: c,
|
|
2704
2855
|
collapsedChange: d,
|
|
2705
|
-
|
|
2706
|
-
|
|
2856
|
+
showSignalValuesTable: s,
|
|
2857
|
+
parentDialogTitle: o,
|
|
2858
|
+
fullScreen: b,
|
|
2859
|
+
nodeIdentifier: m
|
|
2707
2860
|
}
|
|
2708
2861
|
);
|
|
2709
2862
|
}
|
|
2710
|
-
const
|
|
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
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
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
|
};
|