nmrium 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/peaks/PeakEditionManager.d.ts +1 -1
- package/lib/component/1d-2d/tools/BrushXY.js +6 -6
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +6 -2
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Ranges1D.d.ts +9 -0
- package/lib/component/2d/1d-tracer/Ranges1D.d.ts.map +1 -0
- package/lib/component/2d/1d-tracer/Ranges1D.js +76 -0
- package/lib/component/2d/1d-tracer/Ranges1D.js.map +1 -0
- package/lib/component/2d/1d-tracer/Signals1D.d.ts +11 -0
- package/lib/component/2d/1d-tracer/Signals1D.d.ts.map +1 -0
- package/lib/component/2d/1d-tracer/Signals1D.js +90 -0
- package/lib/component/2d/1d-tracer/Signals1D.js.map +1 -0
- package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +6 -2
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
- package/lib/component/2d/ft/FTContainer.js.map +1 -1
- package/lib/component/AnchorSVG.d.ts +37 -0
- package/lib/component/AnchorSVG.d.ts.map +1 -0
- package/lib/component/AnchorSVG.js +137 -0
- package/lib/component/AnchorSVG.js.map +1 -0
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +4 -0
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/context/KeyModifierContext.d.ts +1 -0
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.js +4 -0
- package/lib/component/context/KeyModifierContext.js.map +1 -1
- package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
- package/lib/component/elements/DraggableDialog.js +1 -2
- package/lib/component/elements/DraggableDialog.js.map +1 -1
- package/lib/component/elements/Sections.d.ts +3 -3
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +1 -1
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js +2 -5
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/header/Header.d.ts.map +1 -1
- package/lib/component/header/Header.js +2 -4
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +3 -6
- package/lib/component/hooks/useSaveSettings.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +2 -6
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/SaveAsModal.js +3 -6
- package/lib/component/modal/SaveAsModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +2 -4
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js +38 -36
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +9 -12
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +4 -4
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +24 -24
- package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPanel.js +1 -9
- package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +9 -9
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +7 -0
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/FilterPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/FilterPanel.js +5 -2
- package/lib/component/panels/filtersPanel/FilterPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/processings_sections_panel.d.ts +2 -0
- package/lib/component/panels/filtersPanel/processings_sections_panel.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings_sections_panel.js +144 -0
- package/lib/component/panels/filtersPanel/processings_sections_panel.js.map +1 -0
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +2 -0
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +9 -0
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +11 -2
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +23 -5
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +5 -17
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/helper/getTraceSpectrumID.d.ts +5 -0
- package/lib/component/reducer/helper/getTraceSpectrumID.d.ts.map +1 -0
- package/lib/component/reducer/helper/getTraceSpectrumID.js +14 -0
- package/lib/component/reducer/helper/getTraceSpectrumID.js.map +1 -0
- package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.js +3 -1
- package/lib/component/toolbar/nmr_toolbar.js.map +1 -1
- package/lib/component/utility/CoreSlot.d.ts +27 -0
- package/lib/component/utility/CoreSlot.d.ts.map +1 -0
- package/lib/component/utility/CoreSlot.js +56 -0
- package/lib/component/utility/CoreSlot.js.map +1 -0
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +1 -0
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js +35 -30
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js +1 -0
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +25 -24
- package/src/component/1d-2d/tools/BrushXY.tsx +8 -8
- package/src/component/2d/1d-tracer/Left1DChart.tsx +24 -1
- package/src/component/2d/1d-tracer/Ranges1D.tsx +134 -0
- package/src/component/2d/1d-tracer/Signals1D.tsx +145 -0
- package/src/component/2d/1d-tracer/Top1DChart.tsx +29 -2
- package/src/component/2d/ft/FTContainer.tsx +1 -0
- package/src/component/AnchorSVG.tsx +370 -0
- package/src/component/EventsTrackers/BrushTracker.tsx +6 -0
- package/src/component/context/KeyModifierContext.tsx +5 -0
- package/src/component/elements/DraggableDialog.tsx +1 -2
- package/src/component/elements/Sections.tsx +4 -4
- package/src/component/elements/export/ExportOptionsModal.tsx +22 -31
- package/src/component/header/Header.tsx +2 -4
- package/src/component/hooks/useSaveSettings.tsx +4 -15
- package/src/component/modal/PublicationStringModal.tsx +5 -11
- package/src/component/modal/SaveAsModal.tsx +41 -50
- package/src/component/modal/aboutUs/AboutUsModal.tsx +5 -4
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +57 -57
- package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +23 -29
- package/src/component/panels/PeaksPanel/PeaksPanel.tsx +1 -8
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +1 -1
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +11 -9
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +13 -11
- package/src/component/panels/filtersPanel/FilterPanel.tsx +10 -0
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +1 -0
- package/src/component/panels/filtersPanel/processings_sections_panel.tsx +324 -0
- package/src/component/reducer/Reducer.ts +2 -0
- package/src/component/reducer/actions/CorrelationsActions.ts +1 -1
- package/src/component/reducer/actions/RangesActions.ts +39 -5
- package/src/component/reducer/actions/ToolsActions.ts +5 -21
- package/src/component/reducer/helper/getTraceSpectrumID.tsx +25 -0
- package/src/component/toolbar/nmr_toolbar.tsx +3 -2
- package/src/component/utility/CoreSlot.tsx +126 -0
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +1 -0
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +35 -30
- package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +1 -0
- package/src/versionInfo.ts +1 -1
- package/lib/component/utility/renderCoreSlot.d.ts +0 -11
- package/lib/component/utility/renderCoreSlot.d.ts.map +0 -1
- package/lib/component/utility/renderCoreSlot.js +0 -13
- package/lib/component/utility/renderCoreSlot.js.map +0 -1
- package/src/component/utility/renderCoreSlot.tsx +0 -21
|
@@ -3,11 +3,10 @@ import styled from '@emotion/styled';
|
|
|
3
3
|
import { SvgLogoNmrium } from 'cheminfo-font';
|
|
4
4
|
import { Toolbar, useOnOff } from 'react-science/ui';
|
|
5
5
|
import versionInfo from '../../../versionInfo.js';
|
|
6
|
-
import { useCore } from '../../context/CoreContext.js';
|
|
7
6
|
import Logo from '../../elements/Logo.js';
|
|
8
7
|
import { StandardDialog } from "../../elements/StandardDialog.js";
|
|
9
8
|
import { StyledDialogBody } from '../../elements/StyledDialogBody.js';
|
|
10
|
-
import {
|
|
9
|
+
import { CoreSlot } from "../../utility/CoreSlot.js";
|
|
11
10
|
import AboutUsZakodium from './AboutUsZakodium.js';
|
|
12
11
|
const FallbackDialogContents = styled.div `
|
|
13
12
|
display: flex;
|
|
@@ -63,12 +62,11 @@ const Separator = styled.span `
|
|
|
63
62
|
const modalContentFallback = (_jsxs(FallbackDialogContents, { children: [_jsxs(InfoBlock, { children: [_jsx(Logo, { width: 160, height: 50 }), "Version ", _jsx(VersionInfo, {}), _jsx(Separator, {}), _jsx("a", { href: "https://github.com/cheminfo/nmrium", target: "_blank", rel: "noreferrer", children: "GitHub ( https://github.com/cheminfo/nmrium )" })] }), _jsx(InfoBlock, { children: _jsx(Separator, {}) }), _jsx("span", { className: "content", children: "This project is developed by Zakodium S\u00E0rl (Switzerland), the University of Cologne (Germany), Johannes Gutenberg University Mainz (Germany) and Universidad del Valle (Colombia)." }), _jsxs(InfoBlock, { children: [_jsx(Separator, {}), _jsx("span", { className: "title", children: "Funding is provided by" }), _jsx(Separator, {})] }), _jsx("div", { className: "content", children: _jsxs("ul", { children: [_jsx("li", { children: "IDNMR grant, which part of the Scientific Library Services and Information Systems (LIS) initiative of the DFG." }), _jsx("li", { children: _jsx(AboutUsZakodium, {}) }), _jsx("li", { children: "Universidad del Valle (Cali, Colombia)." }), _jsx("li", { children: "This project has received funding from the European Union\u2019s Horizon 2020 research and innovation programme under grant agreement No 957189. The project is part of BATTERY 2030+, the large-scale European research initiative for inventing the sustainable batteries of the future." })] }) })] }));
|
|
64
63
|
function AboutUsModal() {
|
|
65
64
|
const [isOpenDialog, openDialog, closeDialog] = useOnOff(false);
|
|
66
|
-
const core = useCore();
|
|
67
65
|
return (_jsxs(_Fragment, { children: [_jsx(Toolbar.Item, { onClick: openDialog, id: "logo", tooltip: "About NMRium", icon: _jsx(SvgLogoNmrium, {}) }), _jsx(StandardDialog, { isOpen: isOpenDialog, onClose: closeDialog, style: {
|
|
68
66
|
maxWidth: 1000,
|
|
69
67
|
width: '40vw',
|
|
70
68
|
minWidth: '500px',
|
|
71
|
-
}, title: "About NMRium", children: _jsx(StyledDialogBody, { children:
|
|
69
|
+
}, title: "About NMRium", children: _jsx(StyledDialogBody, { children: _jsx(CoreSlot, { slot: "topbar.about_us.modal", fallback: modalContentFallback }) }) })] }));
|
|
72
70
|
}
|
|
73
71
|
export default AboutUsModal;
|
|
74
72
|
function VersionInfo() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AboutUsModal.js","sourceRoot":"","sources":["../../../../src/component/modal/aboutUs/AboutUsModal.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"AboutUsModal.js","sourceRoot":"","sources":["../../../../src/component/modal/aboutUs/AboutUsModal.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAmC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA4B,CAAC;AAEtD,OAA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L,QAAQ,EAAE,IAAI;oBACd,KAAK,EAAE,MAAM;oBACb,QAAQ,EAAE,OAAO;iBAClB,EACD,KAAK,EAAC,cAAc,YAEpB,KAAC,gBAAgB,cACf,KAAC,QAAQ,IACP,IAAI,EAAC,uBAAuB,EAC5B,QAAQ,EAAE,oBAAoB,GAC9B,GACe,GACJ,IAChB,CACJ,CAAC;AACJ,CAAC;AAED,eAAe,YAAY,CAAC;AAE5B,SAAS,WAAW;IAClB,MAAM,EAAE,OAAO,EAAE,GAAG,WAAW,CAAC;IAChC,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;QACvB,OAAO,MAAM,CAAC;IAChB,CAAC;SAAM,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,CACL,aACE,IAAI,EAAE,2CAA2C,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EACnE,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,qBAEX,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,IACvB,CACL,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO,CACL,YACE,IAAI,EAAE,2CAA2C,OAAO,EAAE,EAC1D,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,YAAY,YAEf,OAAO,GACN,CACL,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewSignalTab.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/editRange/forms/components/NewSignalTab.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NewSignalTab.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/editRange/forms/components/NewSignalTab.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAiCjD,UAAU,iBAAiB;IACzB,KAAK,EAAE,KAAK,CAAC;CACd;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAoFpD"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import { NumberInput2Controller } from '../../../../elements/NumberInput2Controller.js';
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { revalidateLogic } from '@tanstack/react-form';
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { useFormContext, useWatch } from 'react-hook-form';
|
|
5
|
+
import { AppForm, useForm } from 'react-science/ui';
|
|
6
|
+
import { z } from 'zod/v4';
|
|
8
7
|
import { useTabsController } from '../../../../elements/TabsProvider.js';
|
|
9
8
|
import { useActiveNucleusTab } from '../../../../hooks/useActiveNucleusTab.js';
|
|
10
9
|
import { usePanelPreferences } from '../../../../hooks/usePanelPreferences.js';
|
|
@@ -32,59 +31,62 @@ export function NewSignalTab(props) {
|
|
|
32
31
|
const { signals } = useWatch();
|
|
33
32
|
const activeTab = useActiveNucleusTab();
|
|
34
33
|
const { tablePreferences } = usePanelPreferences('ranges', activeTab);
|
|
35
|
-
|
|
34
|
+
const schemaFormValidation = useMemo(() => {
|
|
35
|
+
return getSignalValidationSchema(range);
|
|
36
|
+
}, [range]);
|
|
37
|
+
function saveHandler({ delta }) {
|
|
36
38
|
const newSignal = {
|
|
37
39
|
multiplicity: 'm',
|
|
38
40
|
kind: 'signal',
|
|
39
|
-
delta
|
|
41
|
+
delta,
|
|
40
42
|
js: [{ multiplicity: 'm', coupling: '' }],
|
|
41
43
|
};
|
|
42
|
-
const _signals = signals
|
|
44
|
+
const _signals = [...signals, newSignal];
|
|
43
45
|
setValue('signals', _signals);
|
|
44
46
|
selectTab(_signals.length - 1);
|
|
45
47
|
}
|
|
46
|
-
const
|
|
48
|
+
const form = useForm({
|
|
47
49
|
defaultValues: {
|
|
48
|
-
delta: (range.from + range.to) / 2,
|
|
50
|
+
delta: String((range.from + range.to) / 2),
|
|
51
|
+
},
|
|
52
|
+
onSubmit: ({ value }) => {
|
|
53
|
+
const parsedValues = schemaFormValidation.parse(value);
|
|
54
|
+
saveHandler(parsedValues);
|
|
55
|
+
},
|
|
56
|
+
validationLogic: revalidateLogic({ modeAfterSubmission: 'change' }),
|
|
57
|
+
validators: {
|
|
58
|
+
onDynamic: schemaFormValidation,
|
|
49
59
|
},
|
|
50
|
-
resolver: yupResolver(getSignalValidationSchema(range)),
|
|
51
60
|
});
|
|
52
61
|
useEvent({
|
|
53
62
|
onClick: ({ xPPM, shiftKey }) => {
|
|
54
63
|
if (signalIndex === -1 && shiftKey) {
|
|
55
|
-
reset({ delta: xPPM });
|
|
64
|
+
form.reset({ delta: String(xPPM) });
|
|
56
65
|
}
|
|
57
66
|
},
|
|
58
67
|
onBrushEnd: (options) => {
|
|
59
68
|
const { range: [from, to], shiftKey, } = options;
|
|
60
69
|
if (signalIndex === -1 && shiftKey) {
|
|
61
|
-
reset({ delta: (to - from) / 2 + from });
|
|
70
|
+
form.reset({ delta: String((to - from) / 2 + from) });
|
|
62
71
|
}
|
|
63
72
|
},
|
|
64
73
|
});
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
setFocus('delta', { shouldSelect: true });
|
|
69
|
-
}, 0);
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
return (_jsx("div", { style: styles.container, children: _jsxs("div", { style: styles.innerContainer, children: [_jsxs("p", { style: styles.infoText, children: ["Edit or select a delta value of new signal in range [", `${formatNumber(range.from, tablePreferences.from.format)} ppm - ${formatNumber(range.to, tablePreferences.to.format)} ppm`, "]:"] }), _jsx(NumberInput2Controller, { control: control, name: "delta", placeholder: `𝛅(ppm)`, autoSelect: true, fill: true }), _jsx(Button, { intent: "success", style: {
|
|
73
|
-
marginTop: '20px',
|
|
74
|
-
}, onClick: () => handleSubmit(saveHandler)(), children: "Add a signal" })] }) }));
|
|
74
|
+
return (_jsx("div", { style: styles.container, children: _jsx("div", { style: styles.innerContainer, children: _jsxs(AppForm, { form: form, onSubmitMeta: (event) => {
|
|
75
|
+
event.stopPropagation();
|
|
76
|
+
}, children: [_jsx(form.AppField, { name: "delta", children: (field) => (_jsx(field.NumericInput, { autoFocus: true, placeholder: "\uD835\uDEC5(ppm)", label: "Edit or select a delta value of new signal", helpText: `Value should be in range [${formatNumber(range.from, tablePreferences.from.format)} ppm - ${formatNumber(range.to, tablePreferences.to.format)} ppm]` })) }), _jsx(form.SubmitButton, { intent: "success", children: "Add a signal" })] }) }) }));
|
|
75
77
|
}
|
|
76
78
|
function getSignalValidationSchema(range) {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
.
|
|
79
|
+
const params = {
|
|
80
|
+
error: (ctx) => {
|
|
81
|
+
const input = Number(ctx.input);
|
|
82
|
+
return `${input.toFixed(5)} ppm out of the range`;
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
return z.object({
|
|
86
|
+
delta: z.coerce
|
|
87
|
+
.number()
|
|
88
|
+
.min(range.from, params)
|
|
89
|
+
.max(range.to, params),
|
|
88
90
|
});
|
|
89
91
|
}
|
|
90
92
|
//# sourceMappingURL=NewSignalTab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewSignalTab.js","sourceRoot":"","sources":["../../../../../../src/component/modal/editRange/forms/components/NewSignalTab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"NewSignalTab.js","sourceRoot":"","sources":["../../../../../../src/component/modal/editRange/forms/components/NewSignalTab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,E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,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC;QACpD,CAAC;KACF,CAAC;IAEF,OAAO,CAAC,CAAC,MAAM,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,MAAM;aACZ,MAAM,EAAU;aAChB,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC;aACvB,GAAG,CAAC,KAAK,CAAC,EAAE,EAAE,MAAM,CAAC;KACzB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -247,7 +247,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
247
247
|
stroke?: string | undefined;
|
|
248
248
|
strokeOpacity?: string | undefined;
|
|
249
249
|
strokeWidth?: string | undefined;
|
|
250
|
-
strokeDasharray?: "
|
|
250
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
251
251
|
};
|
|
252
252
|
};
|
|
253
253
|
secondary: {
|
|
@@ -256,7 +256,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
256
256
|
stroke?: string | undefined;
|
|
257
257
|
strokeOpacity?: string | undefined;
|
|
258
258
|
strokeWidth?: string | undefined;
|
|
259
|
-
strokeDasharray?: "
|
|
259
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
260
260
|
};
|
|
261
261
|
};
|
|
262
262
|
};
|
|
@@ -267,7 +267,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
267
267
|
stroke?: string | undefined;
|
|
268
268
|
strokeOpacity?: string | undefined;
|
|
269
269
|
strokeWidth?: string | undefined;
|
|
270
|
-
strokeDasharray?: "
|
|
270
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
273
|
secondary: {
|
|
@@ -276,7 +276,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
276
276
|
stroke?: string | undefined;
|
|
277
277
|
strokeOpacity?: string | undefined;
|
|
278
278
|
strokeWidth?: string | undefined;
|
|
279
|
-
strokeDasharray?: "
|
|
279
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
280
280
|
};
|
|
281
281
|
};
|
|
282
282
|
};
|
|
@@ -520,7 +520,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
520
520
|
stroke?: string | undefined;
|
|
521
521
|
strokeOpacity?: string | undefined;
|
|
522
522
|
strokeWidth?: string | undefined;
|
|
523
|
-
strokeDasharray?: "
|
|
523
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
524
524
|
};
|
|
525
525
|
};
|
|
526
526
|
secondary: {
|
|
@@ -529,7 +529,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
529
529
|
stroke?: string | undefined;
|
|
530
530
|
strokeOpacity?: string | undefined;
|
|
531
531
|
strokeWidth?: string | undefined;
|
|
532
|
-
strokeDasharray?: "
|
|
532
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
};
|
|
@@ -540,7 +540,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
540
540
|
stroke?: string | undefined;
|
|
541
541
|
strokeOpacity?: string | undefined;
|
|
542
542
|
strokeWidth?: string | undefined;
|
|
543
|
-
strokeDasharray?: "
|
|
543
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
544
544
|
};
|
|
545
545
|
};
|
|
546
546
|
secondary: {
|
|
@@ -549,7 +549,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
549
549
|
stroke?: string | undefined;
|
|
550
550
|
strokeOpacity?: string | undefined;
|
|
551
551
|
strokeWidth?: string | undefined;
|
|
552
|
-
strokeDasharray?: "
|
|
552
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
553
553
|
};
|
|
554
554
|
};
|
|
555
555
|
};
|
|
@@ -793,7 +793,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
793
793
|
stroke?: string | undefined;
|
|
794
794
|
strokeOpacity?: string | undefined;
|
|
795
795
|
strokeWidth?: string | undefined;
|
|
796
|
-
strokeDasharray?: "
|
|
796
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
797
797
|
};
|
|
798
798
|
};
|
|
799
799
|
secondary: {
|
|
@@ -802,7 +802,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
802
802
|
stroke?: string | undefined;
|
|
803
803
|
strokeOpacity?: string | undefined;
|
|
804
804
|
strokeWidth?: string | undefined;
|
|
805
|
-
strokeDasharray?: "
|
|
805
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
806
806
|
};
|
|
807
807
|
};
|
|
808
808
|
};
|
|
@@ -813,7 +813,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
813
813
|
stroke?: string | undefined;
|
|
814
814
|
strokeOpacity?: string | undefined;
|
|
815
815
|
strokeWidth?: string | undefined;
|
|
816
|
-
strokeDasharray?: "
|
|
816
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
817
817
|
};
|
|
818
818
|
};
|
|
819
819
|
secondary: {
|
|
@@ -822,7 +822,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
822
822
|
stroke?: string | undefined;
|
|
823
823
|
strokeOpacity?: string | undefined;
|
|
824
824
|
strokeWidth?: string | undefined;
|
|
825
|
-
strokeDasharray?: "
|
|
825
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
826
826
|
};
|
|
827
827
|
};
|
|
828
828
|
};
|
|
@@ -1066,7 +1066,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
1066
1066
|
stroke?: string | undefined;
|
|
1067
1067
|
strokeOpacity?: string | undefined;
|
|
1068
1068
|
strokeWidth?: string | undefined;
|
|
1069
|
-
strokeDasharray?: "
|
|
1069
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1070
1070
|
};
|
|
1071
1071
|
};
|
|
1072
1072
|
secondary: {
|
|
@@ -1075,7 +1075,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
1075
1075
|
stroke?: string | undefined;
|
|
1076
1076
|
strokeOpacity?: string | undefined;
|
|
1077
1077
|
strokeWidth?: string | undefined;
|
|
1078
|
-
strokeDasharray?: "
|
|
1078
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1079
1079
|
};
|
|
1080
1080
|
};
|
|
1081
1081
|
};
|
|
@@ -1086,7 +1086,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
1086
1086
|
stroke?: string | undefined;
|
|
1087
1087
|
strokeOpacity?: string | undefined;
|
|
1088
1088
|
strokeWidth?: string | undefined;
|
|
1089
|
-
strokeDasharray?: "
|
|
1089
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1090
1090
|
};
|
|
1091
1091
|
};
|
|
1092
1092
|
secondary: {
|
|
@@ -1095,7 +1095,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
1095
1095
|
stroke?: string | undefined;
|
|
1096
1096
|
strokeOpacity?: string | undefined;
|
|
1097
1097
|
strokeWidth?: string | undefined;
|
|
1098
|
-
strokeDasharray?: "
|
|
1098
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1099
1099
|
};
|
|
1100
1100
|
};
|
|
1101
1101
|
};
|
|
@@ -1987,7 +1987,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
1987
1987
|
stroke?: string | undefined;
|
|
1988
1988
|
strokeOpacity?: string | undefined;
|
|
1989
1989
|
strokeWidth?: string | undefined;
|
|
1990
|
-
strokeDasharray?: "
|
|
1990
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1991
1991
|
};
|
|
1992
1992
|
};
|
|
1993
1993
|
secondary: {
|
|
@@ -1996,7 +1996,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
1996
1996
|
stroke?: string | undefined;
|
|
1997
1997
|
strokeOpacity?: string | undefined;
|
|
1998
1998
|
strokeWidth?: string | undefined;
|
|
1999
|
-
strokeDasharray?: "
|
|
1999
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2000
2000
|
};
|
|
2001
2001
|
};
|
|
2002
2002
|
};
|
|
@@ -2007,7 +2007,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
2007
2007
|
stroke?: string | undefined;
|
|
2008
2008
|
strokeOpacity?: string | undefined;
|
|
2009
2009
|
strokeWidth?: string | undefined;
|
|
2010
|
-
strokeDasharray?: "
|
|
2010
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2011
2011
|
};
|
|
2012
2012
|
};
|
|
2013
2013
|
secondary: {
|
|
@@ -2016,7 +2016,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
2016
2016
|
stroke?: string | undefined;
|
|
2017
2017
|
strokeOpacity?: string | undefined;
|
|
2018
2018
|
strokeWidth?: string | undefined;
|
|
2019
|
-
strokeDasharray?: "
|
|
2019
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2020
2020
|
};
|
|
2021
2021
|
};
|
|
2022
2022
|
};
|
|
@@ -2260,7 +2260,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
2260
2260
|
stroke?: string | undefined;
|
|
2261
2261
|
strokeOpacity?: string | undefined;
|
|
2262
2262
|
strokeWidth?: string | undefined;
|
|
2263
|
-
strokeDasharray?: "
|
|
2263
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2264
2264
|
};
|
|
2265
2265
|
};
|
|
2266
2266
|
secondary: {
|
|
@@ -2269,7 +2269,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
2269
2269
|
stroke?: string | undefined;
|
|
2270
2270
|
strokeOpacity?: string | undefined;
|
|
2271
2271
|
strokeWidth?: string | undefined;
|
|
2272
|
-
strokeDasharray?: "
|
|
2272
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2273
2273
|
};
|
|
2274
2274
|
};
|
|
2275
2275
|
};
|
|
@@ -2280,7 +2280,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
2280
2280
|
stroke?: string | undefined;
|
|
2281
2281
|
strokeOpacity?: string | undefined;
|
|
2282
2282
|
strokeWidth?: string | undefined;
|
|
2283
|
-
strokeDasharray?: "
|
|
2283
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2284
2284
|
};
|
|
2285
2285
|
};
|
|
2286
2286
|
secondary: {
|
|
@@ -2289,7 +2289,7 @@ export declare const GeneralSettingsErrorsOpenProvider: import("react").Function
|
|
|
2289
2289
|
stroke?: string | undefined;
|
|
2290
2290
|
strokeOpacity?: string | undefined;
|
|
2291
2291
|
strokeWidth?: string | undefined;
|
|
2292
|
-
strokeDasharray?: "
|
|
2292
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2293
2293
|
};
|
|
2294
2294
|
};
|
|
2295
2295
|
};
|
|
@@ -238,7 +238,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
238
238
|
stroke?: string | undefined;
|
|
239
239
|
strokeOpacity?: string | undefined;
|
|
240
240
|
strokeWidth?: string | undefined;
|
|
241
|
-
strokeDasharray?: "
|
|
241
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
244
|
secondary: {
|
|
@@ -247,7 +247,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
247
247
|
stroke?: string | undefined;
|
|
248
248
|
strokeOpacity?: string | undefined;
|
|
249
249
|
strokeWidth?: string | undefined;
|
|
250
|
-
strokeDasharray?: "
|
|
250
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
251
251
|
};
|
|
252
252
|
};
|
|
253
253
|
};
|
|
@@ -258,7 +258,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
258
258
|
stroke?: string | undefined;
|
|
259
259
|
strokeOpacity?: string | undefined;
|
|
260
260
|
strokeWidth?: string | undefined;
|
|
261
|
-
strokeDasharray?: "
|
|
261
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
262
262
|
};
|
|
263
263
|
};
|
|
264
264
|
secondary: {
|
|
@@ -267,7 +267,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
267
267
|
stroke?: string | undefined;
|
|
268
268
|
strokeOpacity?: string | undefined;
|
|
269
269
|
strokeWidth?: string | undefined;
|
|
270
|
-
strokeDasharray?: "
|
|
270
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
273
|
};
|
|
@@ -511,7 +511,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
511
511
|
stroke?: string | undefined;
|
|
512
512
|
strokeOpacity?: string | undefined;
|
|
513
513
|
strokeWidth?: string | undefined;
|
|
514
|
-
strokeDasharray?: "
|
|
514
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
515
515
|
};
|
|
516
516
|
};
|
|
517
517
|
secondary: {
|
|
@@ -520,7 +520,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
520
520
|
stroke?: string | undefined;
|
|
521
521
|
strokeOpacity?: string | undefined;
|
|
522
522
|
strokeWidth?: string | undefined;
|
|
523
|
-
strokeDasharray?: "
|
|
523
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
524
524
|
};
|
|
525
525
|
};
|
|
526
526
|
};
|
|
@@ -531,7 +531,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
531
531
|
stroke?: string | undefined;
|
|
532
532
|
strokeOpacity?: string | undefined;
|
|
533
533
|
strokeWidth?: string | undefined;
|
|
534
|
-
strokeDasharray?: "
|
|
534
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
535
535
|
};
|
|
536
536
|
};
|
|
537
537
|
secondary: {
|
|
@@ -540,7 +540,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
540
540
|
stroke?: string | undefined;
|
|
541
541
|
strokeOpacity?: string | undefined;
|
|
542
542
|
strokeWidth?: string | undefined;
|
|
543
|
-
strokeDasharray?: "
|
|
543
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
544
544
|
};
|
|
545
545
|
};
|
|
546
546
|
};
|
|
@@ -784,7 +784,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
784
784
|
stroke?: string | undefined;
|
|
785
785
|
strokeOpacity?: string | undefined;
|
|
786
786
|
strokeWidth?: string | undefined;
|
|
787
|
-
strokeDasharray?: "
|
|
787
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
788
788
|
};
|
|
789
789
|
};
|
|
790
790
|
secondary: {
|
|
@@ -793,7 +793,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
793
793
|
stroke?: string | undefined;
|
|
794
794
|
strokeOpacity?: string | undefined;
|
|
795
795
|
strokeWidth?: string | undefined;
|
|
796
|
-
strokeDasharray?: "
|
|
796
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
797
797
|
};
|
|
798
798
|
};
|
|
799
799
|
};
|
|
@@ -804,7 +804,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
804
804
|
stroke?: string | undefined;
|
|
805
805
|
strokeOpacity?: string | undefined;
|
|
806
806
|
strokeWidth?: string | undefined;
|
|
807
|
-
strokeDasharray?: "
|
|
807
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
808
808
|
};
|
|
809
809
|
};
|
|
810
810
|
secondary: {
|
|
@@ -813,7 +813,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
813
813
|
stroke?: string | undefined;
|
|
814
814
|
strokeOpacity?: string | undefined;
|
|
815
815
|
strokeWidth?: string | undefined;
|
|
816
|
-
strokeDasharray?: "
|
|
816
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
817
817
|
};
|
|
818
818
|
};
|
|
819
819
|
};
|
|
@@ -1057,7 +1057,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
1057
1057
|
stroke?: string | undefined;
|
|
1058
1058
|
strokeOpacity?: string | undefined;
|
|
1059
1059
|
strokeWidth?: string | undefined;
|
|
1060
|
-
strokeDasharray?: "
|
|
1060
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1061
1061
|
};
|
|
1062
1062
|
};
|
|
1063
1063
|
secondary: {
|
|
@@ -1066,7 +1066,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
1066
1066
|
stroke?: string | undefined;
|
|
1067
1067
|
strokeOpacity?: string | undefined;
|
|
1068
1068
|
strokeWidth?: string | undefined;
|
|
1069
|
-
strokeDasharray?: "
|
|
1069
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1070
1070
|
};
|
|
1071
1071
|
};
|
|
1072
1072
|
};
|
|
@@ -1077,7 +1077,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
1077
1077
|
stroke?: string | undefined;
|
|
1078
1078
|
strokeOpacity?: string | undefined;
|
|
1079
1079
|
strokeWidth?: string | undefined;
|
|
1080
|
-
strokeDasharray?: "
|
|
1080
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1081
1081
|
};
|
|
1082
1082
|
};
|
|
1083
1083
|
secondary: {
|
|
@@ -1086,7 +1086,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
1086
1086
|
stroke?: string | undefined;
|
|
1087
1087
|
strokeOpacity?: string | undefined;
|
|
1088
1088
|
strokeWidth?: string | undefined;
|
|
1089
|
-
strokeDasharray?: "
|
|
1089
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1090
1090
|
};
|
|
1091
1091
|
};
|
|
1092
1092
|
};
|
|
@@ -1978,7 +1978,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
1978
1978
|
stroke?: string | undefined;
|
|
1979
1979
|
strokeOpacity?: string | undefined;
|
|
1980
1980
|
strokeWidth?: string | undefined;
|
|
1981
|
-
strokeDasharray?: "
|
|
1981
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1982
1982
|
};
|
|
1983
1983
|
};
|
|
1984
1984
|
secondary: {
|
|
@@ -1987,7 +1987,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
1987
1987
|
stroke?: string | undefined;
|
|
1988
1988
|
strokeOpacity?: string | undefined;
|
|
1989
1989
|
strokeWidth?: string | undefined;
|
|
1990
|
-
strokeDasharray?: "
|
|
1990
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
1991
1991
|
};
|
|
1992
1992
|
};
|
|
1993
1993
|
};
|
|
@@ -1998,7 +1998,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
1998
1998
|
stroke?: string | undefined;
|
|
1999
1999
|
strokeOpacity?: string | undefined;
|
|
2000
2000
|
strokeWidth?: string | undefined;
|
|
2001
|
-
strokeDasharray?: "
|
|
2001
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2002
2002
|
};
|
|
2003
2003
|
};
|
|
2004
2004
|
secondary: {
|
|
@@ -2007,7 +2007,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
2007
2007
|
stroke?: string | undefined;
|
|
2008
2008
|
strokeOpacity?: string | undefined;
|
|
2009
2009
|
strokeWidth?: string | undefined;
|
|
2010
|
-
strokeDasharray?: "
|
|
2010
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2011
2011
|
};
|
|
2012
2012
|
};
|
|
2013
2013
|
};
|
|
@@ -2251,7 +2251,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
2251
2251
|
stroke?: string | undefined;
|
|
2252
2252
|
strokeOpacity?: string | undefined;
|
|
2253
2253
|
strokeWidth?: string | undefined;
|
|
2254
|
-
strokeDasharray?: "
|
|
2254
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2255
2255
|
};
|
|
2256
2256
|
};
|
|
2257
2257
|
secondary: {
|
|
@@ -2260,7 +2260,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
2260
2260
|
stroke?: string | undefined;
|
|
2261
2261
|
strokeOpacity?: string | undefined;
|
|
2262
2262
|
strokeWidth?: string | undefined;
|
|
2263
|
-
strokeDasharray?: "
|
|
2263
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2264
2264
|
};
|
|
2265
2265
|
};
|
|
2266
2266
|
};
|
|
@@ -2271,7 +2271,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
2271
2271
|
stroke?: string | undefined;
|
|
2272
2272
|
strokeOpacity?: string | undefined;
|
|
2273
2273
|
strokeWidth?: string | undefined;
|
|
2274
|
-
strokeDasharray?: "
|
|
2274
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2275
2275
|
};
|
|
2276
2276
|
};
|
|
2277
2277
|
secondary: {
|
|
@@ -2280,7 +2280,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
|
|
|
2280
2280
|
stroke?: string | undefined;
|
|
2281
2281
|
strokeOpacity?: string | undefined;
|
|
2282
2282
|
strokeWidth?: string | undefined;
|
|
2283
|
-
strokeDasharray?: "
|
|
2283
|
+
strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
|
|
2284
2284
|
};
|
|
2285
2285
|
};
|
|
2286
2286
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general_settings.d.ts","sourceRoot":"","sources":["../../../../../src/component/modal/setting/tanstack_general_settings/general_settings.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"general_settings.d.ts","sourceRoot":"","sources":["../../../../../src/component/modal/setting/tanstack_general_settings/general_settings.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAmBvD,UAAU,0BAA0B;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAiBD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,+BAUtE"}
|