nmrium 1.12.0 → 2.0.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/database/DatabaseSpectrum.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.js +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js +3 -17
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/2d/ft/Contours.d.ts.map +1 -1
- package/lib/component/2d/ft/Contours.js +10 -12
- package/lib/component/2d/ft/Contours.js.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/hooks/reduce2DSpectrum.d.ts +4 -0
- package/lib/component/hooks/reduce2DSpectrum.d.ts.map +1 -0
- package/lib/component/hooks/reduce2DSpectrum.js +60 -0
- package/lib/component/hooks/reduce2DSpectrum.js.map +1 -0
- package/lib/component/hooks/use2DReducer.d.ts +14 -0
- package/lib/component/hooks/use2DReducer.d.ts.map +1 -0
- package/lib/component/hooks/use2DReducer.js +30 -0
- package/lib/component/hooks/use2DReducer.js.map +1 -0
- package/lib/component/hooks/useCreateNmriumZip.d.ts +3 -0
- package/lib/component/hooks/useCreateNmriumZip.d.ts.map +1 -0
- package/lib/component/hooks/useCreateNmriumZip.js +28 -0
- package/lib/component/hooks/useCreateNmriumZip.js.map +1 -0
- package/lib/component/hooks/useExport.d.ts +8 -5
- package/lib/component/hooks/useExport.d.ts.map +1 -1
- package/lib/component/hooks/useExport.js +4 -21
- package/lib/component/hooks/useExport.js.map +1 -1
- package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.js +4 -5
- package/lib/component/loader/useLoadFiles.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +2 -2
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRium.d.ts +48 -3
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRium.js.map +1 -1
- package/lib/component/main/NMRiumRefAPI.d.ts +2 -0
- package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
- package/lib/component/main/NMRiumRefAPI.js +4 -1
- package/lib/component/main/NMRiumRefAPI.js.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts +5 -2
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +36 -30
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +4 -4
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/setting/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/general_settings.js +3 -3
- package/lib/component/modal/setting/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +4 -2
- 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 +46 -29
- 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 +920 -188
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +10 -2
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +920 -188
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +1353 -6
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +43 -32
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts +1353 -6
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js +88 -83
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +466 -0
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js +59 -0
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +1354 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js +32 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +1354 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +80 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +920 -188
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +37 -9
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +1354 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +58 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +920 -188
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +920 -188
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +920 -188
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js +65 -112
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +920 -188
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js +3 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +1354 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +142 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +1354 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +112 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +1354 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js +38 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +68 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js +133 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts +10 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js +31 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +71 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js +67 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/{utils/checkUniqueByKey.d.ts → validation/check_unique_by_key.d.ts} +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/check_unique_by_key.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/{utils/checkUniqueByKey.js → validation/check_unique_by_key.js} +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/check_unique_by_key.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.d.ts +11 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.js +20 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts +32 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js +11 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +2 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +3 -6
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts +12 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js +4 -3
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts +20 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js +12 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.d.ts +54 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.js +22 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.d.ts +55 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.js +18 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +32 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +34 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/utils.d.ts +13 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/utils.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/utils.js +20 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/utils.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +255 -39
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.js +16 -27
- package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +27 -0
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +3 -2
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +2 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +8 -3
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +2 -2
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +26 -33
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.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/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +1 -3
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +2 -4
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +14 -5
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts +1 -4
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +8 -17
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +3 -0
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +5 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +4 -2
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +1 -1
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/preferences/actions/applyGeneralPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/applyGeneralPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +3 -3
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +9 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +3 -0
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +7 -6
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +22 -6
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +1 -10
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/molecules/Molecule.d.ts +5 -1
- package/lib/data/molecules/Molecule.d.ts.map +1 -1
- package/lib/data/molecules/Molecule.js +9 -7
- package/lib/data/molecules/Molecule.js.map +1 -1
- package/lib/data/molecules/MoleculeManager.d.ts +0 -6
- package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
- package/lib/data/molecules/MoleculeManager.js +25 -25
- package/lib/data/molecules/MoleculeManager.js.map +1 -1
- package/lib/versionInfo.d.ts.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/lib/versionInfo.js.map +1 -1
- package/package.json +30 -29
- package/src/component/1d/database/DatabaseSpectrum.tsx +3 -1
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +10 -22
- package/src/component/2d/ft/Contours.tsx +14 -27
- package/src/component/elements/ActionsButtonsPopover.tsx +1 -1
- package/src/component/hooks/reduce2DSpectrum.ts +98 -0
- package/src/component/hooks/use2DReducer.tsx +56 -0
- package/src/component/hooks/useCreateNmriumZip.ts +37 -0
- package/src/component/hooks/useExport.tsx +16 -31
- package/src/component/loader/useLoadFiles.ts +6 -10
- package/src/component/main/InnerNMRium.tsx +4 -2
- package/src/component/main/NMRium.tsx +50 -2
- package/src/component/main/NMRiumRefAPI.ts +7 -1
- package/src/component/main/NMRiumStateProvider.tsx +57 -35
- package/src/component/modal/LoadJCAMPModal.tsx +4 -4
- package/src/component/modal/setting/general_settings.tsx +4 -3
- package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +80 -54
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +48 -1
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +75 -68
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +165 -184
- package/src/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.ts +95 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.tsx +81 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +210 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +48 -8
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +150 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +3 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +164 -233
- package/src/component/modal/setting/tanstack_general_settings/tabs/panels_tab.tsx +10 -10
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +352 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +248 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx +155 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +163 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table_section.tsx +52 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.ts +73 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.ts +23 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.ts +12 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.ts +4 -6
- package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +11 -8
- package/src/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.ts +17 -9
- package/src/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.ts +29 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.ts +26 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +34 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/utils.ts +30 -0
- package/src/component/modal/setting/tanstack_general_settings/validation.ts +16 -31
- package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +35 -0
- package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +3 -2
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +12 -4
- package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +1 -1
- package/src/component/panels/databasePanel/DatabasePanel.tsx +6 -4
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +34 -49
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +1 -1
- package/src/component/reducer/Reducer.ts +1 -3
- package/src/component/reducer/actions/FiltersActions.ts +16 -10
- package/src/component/reducer/actions/LoadAction.ts +12 -27
- package/src/component/reducer/actions/MoleculeActions.ts +3 -0
- package/src/component/reducer/actions/SpectraActions.ts +14 -6
- package/src/component/reducer/actions/ToolsActions.ts +3 -1
- package/src/component/reducer/preferences/actions/applyGeneralPreferences.ts +1 -2
- package/src/component/reducer/preferences/preferencesReducer.ts +4 -4
- package/src/component/workspaces/workspaceDefaultProperties.ts +9 -0
- package/src/data/PredictionManager.ts +3 -0
- package/src/data/data2d/Spectrum2D/contours.ts +28 -12
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -17
- package/src/data/molecules/Molecule.ts +17 -7
- package/src/data/molecules/MoleculeManager.ts +31 -29
- package/src/versionInfo.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts.map +0 -1
- package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.js.map +0 -1
- /package/src/component/modal/setting/tanstack_general_settings/{utils/checkUniqueByKey.ts → validation/check_unique_by_key.ts} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { NMRRange } from '@zakodium/nmr-types';
|
|
2
2
|
import type {
|
|
3
3
|
Color2D,
|
|
4
|
+
ContourLevel,
|
|
4
5
|
Display1D,
|
|
5
6
|
Display2D,
|
|
6
7
|
SpectraColors,
|
|
@@ -30,6 +31,7 @@ import {
|
|
|
30
31
|
getMissingProjection,
|
|
31
32
|
isSpectrum2D,
|
|
32
33
|
} from '../../../data/data2d/Spectrum2D/index.js';
|
|
34
|
+
import { isFt2DSpectrum } from '../../../data/data2d/Spectrum2D/isSpectrum2D.ts';
|
|
33
35
|
import {
|
|
34
36
|
adjustAlpha,
|
|
35
37
|
generateColor,
|
|
@@ -87,10 +89,15 @@ type ChangeActiveSpectrumAction = ActionType<
|
|
|
87
89
|
>;
|
|
88
90
|
type ChangeSpectrumSettingAction = ActionType<
|
|
89
91
|
'CHANGE_SPECTRUM_SETTING',
|
|
90
|
-
{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
| {
|
|
93
|
+
id: string;
|
|
94
|
+
display: Display1D | Display2D;
|
|
95
|
+
}
|
|
96
|
+
| {
|
|
97
|
+
id: string;
|
|
98
|
+
display: Display2D;
|
|
99
|
+
contourOptions: ContourLevel;
|
|
100
|
+
}
|
|
94
101
|
>;
|
|
95
102
|
type DeleteSpectraAction = ActionType<
|
|
96
103
|
'DELETE_SPECTRA',
|
|
@@ -443,8 +450,9 @@ function handleChangeSpectrumSetting(
|
|
|
443
450
|
if (!spectrum) return;
|
|
444
451
|
|
|
445
452
|
spectrum.display = display;
|
|
446
|
-
if (
|
|
447
|
-
|
|
453
|
+
if (isFt2DSpectrum(spectrum) && 'contourOptions' in action.payload) {
|
|
454
|
+
draft.view.spectraContourLevels[id] = action.payload.contourOptions;
|
|
455
|
+
const { checkLevel } = contoursManager(draft.view.spectraContourLevels[id]);
|
|
448
456
|
checkLevel();
|
|
449
457
|
}
|
|
450
458
|
}
|
|
@@ -697,7 +697,9 @@ function levelChangeHandler(draft: Draft<State>, action: LevelChangeAction) {
|
|
|
697
697
|
|
|
698
698
|
try {
|
|
699
699
|
for (const spectrum of spectra as Spectrum2D[]) {
|
|
700
|
-
const zoom = contoursManager(
|
|
700
|
+
const zoom = contoursManager(
|
|
701
|
+
draft.view.spectraContourLevels[spectrum.id],
|
|
702
|
+
);
|
|
701
703
|
zoom.wheel(deltaY, { altKey, invertScroll });
|
|
702
704
|
}
|
|
703
705
|
} catch (error) {
|
|
@@ -3,7 +3,6 @@ import type { Draft } from 'immer';
|
|
|
3
3
|
import type {
|
|
4
4
|
ApplyGeneralPreferences,
|
|
5
5
|
PreferencesState,
|
|
6
|
-
WorkspaceWithSource,
|
|
7
6
|
} from '../preferencesReducer.js';
|
|
8
7
|
|
|
9
8
|
export function applyGeneralPreferences(
|
|
@@ -12,5 +11,5 @@ export function applyGeneralPreferences(
|
|
|
12
11
|
) {
|
|
13
12
|
const { data } = action.payload;
|
|
14
13
|
|
|
15
|
-
draft.workspaces[draft.workspace.current] = data
|
|
14
|
+
draft.workspaces[draft.workspace.current] = data;
|
|
16
15
|
}
|
|
@@ -69,7 +69,7 @@ export const WORKSPACES_KEYS = {
|
|
|
69
69
|
export interface Settings {
|
|
70
70
|
version: number;
|
|
71
71
|
workspaces: Record<string, WorkspaceWithSource>;
|
|
72
|
-
currentWorkspace:
|
|
72
|
+
currentWorkspace: NMRiumWorkspace;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
type InitPreferencesAction = ActionType<
|
|
@@ -106,8 +106,8 @@ export type AddWorkspaceAction = ActionType<
|
|
|
106
106
|
{ workspaceKey: string; data?: Omit<Workspace, 'version' | 'label'> }
|
|
107
107
|
>;
|
|
108
108
|
export type ApplyGeneralPreferences = ActionType<
|
|
109
|
-
'
|
|
110
|
-
{ data:
|
|
109
|
+
'APPLY_GENERAL_PREFERENCES',
|
|
110
|
+
{ data: WorkspaceWithSource }
|
|
111
111
|
>;
|
|
112
112
|
export type AnalyzeSpectraAction = ActionType<
|
|
113
113
|
'ANALYZE_SPECTRA',
|
|
@@ -301,7 +301,7 @@ function innerPreferencesReducer(
|
|
|
301
301
|
return addWorkspace(draft, action);
|
|
302
302
|
case 'REMOVE_WORKSPACE':
|
|
303
303
|
return removeWorkspace(draft, action);
|
|
304
|
-
case '
|
|
304
|
+
case 'APPLY_GENERAL_PREFERENCES':
|
|
305
305
|
return applyGeneralPreferences(draft, action);
|
|
306
306
|
case 'ANALYZE_SPECTRA':
|
|
307
307
|
return analyzeSpectra(draft, action);
|
|
@@ -114,6 +114,15 @@ export const workspaceDefaultProperties: Required<WorkspacePreferences> = {
|
|
|
114
114
|
},
|
|
115
115
|
infoBlock: {
|
|
116
116
|
visible: false,
|
|
117
|
+
nameStyle: {
|
|
118
|
+
fontSize: 11,
|
|
119
|
+
fill: 'black',
|
|
120
|
+
fontWeight: 'bold',
|
|
121
|
+
},
|
|
122
|
+
valueStyle: {
|
|
123
|
+
fontSize: 12,
|
|
124
|
+
fill: 'black',
|
|
125
|
+
},
|
|
117
126
|
fields: [
|
|
118
127
|
{ label: 'Name', jpath: ['info', 'name'], visible: true, format: '' },
|
|
119
128
|
{
|
|
@@ -87,8 +87,11 @@ export const FREQUENCIES: Array<{ value: number; label: string }> = [
|
|
|
87
87
|
{ value: 400, label: '400 MHz' },
|
|
88
88
|
{ value: 500, label: '500 MHz' },
|
|
89
89
|
{ value: 600, label: '600 MHz' },
|
|
90
|
+
{ value: 700, label: '700 MHz' },
|
|
90
91
|
{ value: 800, label: '800 MHz' },
|
|
92
|
+
{ value: 950, label: '950 MHz' },
|
|
91
93
|
{ value: 1000, label: '1000 MHz' },
|
|
94
|
+
{ value: 1100, label: '1100 MHz' },
|
|
92
95
|
{ value: 1200, label: '1200 MHz' },
|
|
93
96
|
];
|
|
94
97
|
|
|
@@ -2,9 +2,13 @@ import type { Spectrum2D } from '@zakodium/nmrium-core';
|
|
|
2
2
|
import type { NmrData2DFt } from 'cheminfo-types';
|
|
3
3
|
import { Conrec } from 'ml-conrec';
|
|
4
4
|
import { xMaxAbsoluteValue } from 'ml-spectra-processing';
|
|
5
|
+
import type { Spectrum } from 'nmr-correlation';
|
|
5
6
|
|
|
7
|
+
import type { SpectrumFTData } from '../../../component/hooks/use2DReducer.tsx';
|
|
6
8
|
import { calculateSanPlot } from '../../utilities/calculateSanPlot.js';
|
|
7
9
|
|
|
10
|
+
import { isFt2DSpectrum } from './isSpectrum2D.ts';
|
|
11
|
+
|
|
8
12
|
interface Level {
|
|
9
13
|
positive: ContourItem;
|
|
10
14
|
negative: ContourItem;
|
|
@@ -91,8 +95,8 @@ function getDefaultContoursLevel(spectrum: Spectrum2D, quadrant = 'rr') {
|
|
|
91
95
|
return defaultLevel;
|
|
92
96
|
}
|
|
93
97
|
|
|
94
|
-
function contoursManager(
|
|
95
|
-
const contourOptions = { ...
|
|
98
|
+
function contoursManager(options: ContourOptions): ReturnContoursManager {
|
|
99
|
+
const contourOptions = { ...options };
|
|
96
100
|
|
|
97
101
|
const wheel = (value: any, options: any) =>
|
|
98
102
|
prepareWheel(value, { ...options, contourOptions });
|
|
@@ -194,9 +198,8 @@ function range(from: number, to: number, step: number) {
|
|
|
194
198
|
|
|
195
199
|
function drawContours(
|
|
196
200
|
level: ContourItem,
|
|
197
|
-
spectrum:
|
|
201
|
+
spectrum: SpectrumFTData,
|
|
198
202
|
negative = false,
|
|
199
|
-
quadrant = 'rr',
|
|
200
203
|
) {
|
|
201
204
|
const { contourLevels, numberOfLayers } = level;
|
|
202
205
|
|
|
@@ -204,8 +207,7 @@ function drawContours(
|
|
|
204
207
|
negative,
|
|
205
208
|
boundary: contourLevels,
|
|
206
209
|
nbLevels: numberOfLayers,
|
|
207
|
-
|
|
208
|
-
data: spectrum.data[quadrant],
|
|
210
|
+
data: spectrum.data,
|
|
209
211
|
});
|
|
210
212
|
}
|
|
211
213
|
|
|
@@ -270,10 +272,24 @@ function calculateValueOfLevel(level: number, max: number, invert = false) {
|
|
|
270
272
|
return (max * (2 ** (level / 10) - 1)) / (2 ** 10 - 1);
|
|
271
273
|
}
|
|
272
274
|
|
|
273
|
-
export {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
275
|
+
export function initializeContoursLevels(spectrum: any) {
|
|
276
|
+
const { data } = spectrum;
|
|
277
|
+
|
|
278
|
+
if ('rr' in data) return getDefaultContoursLevel(spectrum);
|
|
279
|
+
|
|
280
|
+
return DEFAULT_CONTOURS_OPTIONS;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export function initializeContours(spectra: Spectrum[]) {
|
|
284
|
+
const contoursOptions: Record<string, ContourOptions> = {};
|
|
285
|
+
for (const spectrum of spectra) {
|
|
286
|
+
if (isFt2DSpectrum(spectrum)) {
|
|
287
|
+
const spectrum2D = spectrum as Spectrum2D;
|
|
288
|
+
contoursOptions[spectrum2D.id] = initializeContoursLevels(spectrum2D);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
return contoursOptions;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export { contoursManager, drawContours };
|
|
279
295
|
export type { LevelSign };
|
|
@@ -7,10 +7,6 @@ import { Filters2DManager } from 'nmr-processing';
|
|
|
7
7
|
import type { UsedColors } from '../../../types/UsedColors.js';
|
|
8
8
|
import { initiateFilters } from '../../initiateFilters.js';
|
|
9
9
|
|
|
10
|
-
import {
|
|
11
|
-
DEFAULT_CONTOURS_OPTIONS,
|
|
12
|
-
getDefaultContoursLevel,
|
|
13
|
-
} from './contours.js';
|
|
14
10
|
import { get2DColor } from './get2DColor.js';
|
|
15
11
|
import { initiateZones } from './zones/initiateZones.js';
|
|
16
12
|
|
|
@@ -42,18 +38,6 @@ function initiateInfo(spectrum: any) {
|
|
|
42
38
|
...spectrum.info,
|
|
43
39
|
};
|
|
44
40
|
}
|
|
45
|
-
function initiateContoursLevels(spectrum: any) {
|
|
46
|
-
const {
|
|
47
|
-
display: { contourOptions },
|
|
48
|
-
data,
|
|
49
|
-
} = spectrum;
|
|
50
|
-
|
|
51
|
-
if (contourOptions) return contourOptions;
|
|
52
|
-
|
|
53
|
-
if ('rr' in data) return getDefaultContoursLevel(spectrum);
|
|
54
|
-
|
|
55
|
-
return DEFAULT_CONTOURS_OPTIONS;
|
|
56
|
-
}
|
|
57
41
|
|
|
58
42
|
export function initiateDatum2D(
|
|
59
43
|
spectrum: any,
|
|
@@ -82,7 +66,7 @@ export function initiateDatum2D(
|
|
|
82
66
|
//reapply filters after load the original data
|
|
83
67
|
Filters2DManager.reapplyFilters(datum);
|
|
84
68
|
|
|
85
|
-
datum.display.contourOptions =
|
|
69
|
+
// datum.display.contourOptions = initializeSpectrumContoursOptions(datum);
|
|
86
70
|
|
|
87
71
|
return datum;
|
|
88
72
|
}
|
|
@@ -31,15 +31,25 @@ export const DRAGGABLE_STRUCTURE_INITIAL_BOUNDING_REACT: MoleculeBoundingRect =
|
|
|
31
31
|
|
|
32
32
|
export type MoleculesView = Record<string, MoleculeView>;
|
|
33
33
|
|
|
34
|
+
type InitializeMoleculeOptions = { text: string } & Omit<
|
|
35
|
+
Partial<StateMolecule>,
|
|
36
|
+
'molfile'
|
|
37
|
+
>;
|
|
38
|
+
|
|
34
39
|
export function initMolecule(
|
|
35
|
-
options:
|
|
40
|
+
options: InitializeMoleculeOptions,
|
|
36
41
|
): StateMoleculeExtended {
|
|
37
|
-
const id =
|
|
38
|
-
|
|
39
|
-
const
|
|
42
|
+
const { id = crypto.randomUUID(), label = 'p#', text } = options;
|
|
43
|
+
|
|
44
|
+
const molecule = Molecule.fromText(text);
|
|
40
45
|
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
if (!molecule) {
|
|
47
|
+
throw new Error(
|
|
48
|
+
'Failed to parse SMILES or molfile. Please paste a valid format',
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
const molfile = molecule.toMolfileV3();
|
|
52
|
+
const mfInfo = molecule.getMolecularFormula();
|
|
43
53
|
|
|
44
54
|
return {
|
|
45
55
|
id,
|
|
@@ -49,7 +59,7 @@ export function initMolecule(
|
|
|
49
59
|
mf: mfInfo.formula,
|
|
50
60
|
em: mfInfo.absoluteWeight,
|
|
51
61
|
mw: mfInfo.relativeWeight,
|
|
52
|
-
svg:
|
|
62
|
+
svg: molecule.toSVG(50, 50),
|
|
53
63
|
atoms: getAtomsFromMF(mfInfo.formula),
|
|
54
64
|
};
|
|
55
65
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StateMolecule } from '@zakodium/nmrium-core';
|
|
2
|
-
import { readSDF
|
|
2
|
+
import { readSDF } from '@zakodium/nmrium-core-plugins';
|
|
3
3
|
import { Molecule } from 'openchemlib';
|
|
4
4
|
|
|
5
5
|
import type { StateMoleculeExtended } from './Molecule.js';
|
|
@@ -14,22 +14,23 @@ export function fromJSON(
|
|
|
14
14
|
|
|
15
15
|
const molecules: StateMoleculeExtended[] = [];
|
|
16
16
|
for (const mol of mols) {
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
17
|
+
const {
|
|
18
|
+
molfile,
|
|
19
|
+
label = `P${getLabelNumber(reservedNumbers)}`,
|
|
20
|
+
id,
|
|
21
|
+
...others
|
|
22
|
+
} = mol;
|
|
25
23
|
const moleculeOverride = {
|
|
26
|
-
...
|
|
27
|
-
|
|
28
|
-
label
|
|
29
|
-
id
|
|
24
|
+
...others,
|
|
25
|
+
text: molfile,
|
|
26
|
+
label,
|
|
27
|
+
id,
|
|
30
28
|
};
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
try {
|
|
30
|
+
molecules.push(initMolecule(moleculeOverride));
|
|
31
|
+
} catch {
|
|
32
|
+
continue;
|
|
33
|
+
}
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
return molecules;
|
|
@@ -49,10 +50,9 @@ export function addMolfile(
|
|
|
49
50
|
|
|
50
51
|
// try to parse molfile
|
|
51
52
|
// this will throw if the molecule can not be parsed !
|
|
52
|
-
const molecule = Molecule.fromMolfile(molfile);
|
|
53
53
|
molecules.push(
|
|
54
54
|
initMolecule({
|
|
55
|
-
|
|
55
|
+
text: molfile,
|
|
56
56
|
label: label ?? `P${getLabelNumber(reservedNumbers)}`,
|
|
57
57
|
id,
|
|
58
58
|
}),
|
|
@@ -66,9 +66,8 @@ export function setMolfile(
|
|
|
66
66
|
const { molfile, id, label } = currentMolecule;
|
|
67
67
|
// try to parse molfile
|
|
68
68
|
// this will throw if the molecule can not be parsed !
|
|
69
|
-
const molecule = Molecule.fromMolfile(molfile);
|
|
70
69
|
const _mol = initMolecule({
|
|
71
|
-
|
|
70
|
+
text: molfile,
|
|
72
71
|
id,
|
|
73
72
|
label,
|
|
74
73
|
});
|
|
@@ -137,20 +136,23 @@ function validateMolecules(molecules: StateMolecule[]) {
|
|
|
137
136
|
* @param text - text containing one or several molecules in SMILES, molfile or SDF format
|
|
138
137
|
* @returns
|
|
139
138
|
*/
|
|
140
|
-
export function getMolecules(text?: string) {
|
|
141
|
-
if (!text?.trim()) {
|
|
142
|
-
throw new Error(parseErrorMessage);
|
|
143
|
-
}
|
|
144
139
|
|
|
145
|
-
|
|
146
|
-
let molecules = [];
|
|
147
|
-
const parse = /v[23]000/i.test(text) ? readSDF : readSMILES;
|
|
140
|
+
function parseSDF(text: string) {
|
|
148
141
|
try {
|
|
149
|
-
molecules =
|
|
142
|
+
const molecules = readSDF(text);
|
|
143
|
+
validateMolecules(molecules);
|
|
144
|
+
return molecules;
|
|
150
145
|
} catch (error) {
|
|
151
146
|
throw new Error(parseErrorMessage, { cause: error });
|
|
152
147
|
}
|
|
148
|
+
}
|
|
153
149
|
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
export function getMolecules(text?: string) {
|
|
151
|
+
if (!text?.trim()) {
|
|
152
|
+
throw new Error(parseErrorMessage);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const isSDF = /v[23]000/i.test(text);
|
|
156
|
+
|
|
157
|
+
return isSDF ? parseSDF(text) : [initMolecule({ text })];
|
|
156
158
|
}
|
package/src/versionInfo.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default { version: '
|
|
1
|
+
export default { version: 'v2.0.0' };
|
package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkUniqueByKey.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEzC,UAAU,uBAAuB,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,OAAO,EAAE,uBAAuB,CAAC,CAAC,CAAC,WA6CtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkUniqueByKey.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,gBAAgB,CAAI,OAAmC;IACrE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;IAE3D,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAEvB,MAAM,kBAAkB,GAGpB,EAAE,CAAC;IACP,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,MAAM,KAAK,IAAI,IAAI,EAAE,CAAC;QACzB,IAAI,GAAG,CAAC;QACR,MAAM,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;QAEnC,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;YACnC,GAAG,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;QACjC,CAAC;QAED,IAAI,GAAG,EAAE,CAAC;YACR,IAAI,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC5B,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC;gBAChC,kBAAkB,CAAC,GAAG,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACpD,CAAC;iBAAM,CAAC;gBACN,kBAAkB,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;YACjE,CAAC;QACH,CAAC;QACD,KAAK,EAAE,CAAC;IACV,CAAC;IAED,KAAK,MAAM,GAAG,IAAI,kBAAkB,EAAE,CAAC;QACrC,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC;QACzD,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC;YACd,KAAK,MAAM,KAAK,IAAI,aAAa,EAAE,CAAC;gBAClC,OAAO,CAAC,QAAQ,CAAC;oBACf,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,GAAG,GAAG,iBAAiB;oBAChC,IAAI,EAAE,QAAQ;wBACZ,CAAC,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;wBACrC,CAAC,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;iBAC9B,CAAC,CAAC;YACL,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|