nmrium 2.7.0 → 3.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.
Files changed (489) hide show
  1. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
  2. package/lib/component/1d/BrushTracker1D.js +15 -14
  3. package/lib/component/1d/BrushTracker1D.js.map +1 -1
  4. package/lib/component/1d/SVGContent1D.js +3 -3
  5. package/lib/component/1d/SVGContent1D.js.map +1 -1
  6. package/lib/component/1d/Viewer1D.d.ts.map +1 -1
  7. package/lib/component/1d/Viewer1D.js +2 -1
  8. package/lib/component/1d/Viewer1D.js.map +1 -1
  9. package/lib/component/1d/inset/DraggableInset.d.ts +1 -1
  10. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
  11. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  12. package/lib/component/1d/inset/InsetProvider.d.ts +1 -1
  13. package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
  14. package/lib/component/1d/inset/InsetProvider.js.map +1 -1
  15. package/lib/component/1d/inset/SpectraInsets.d.ts +0 -23
  16. package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -1
  17. package/lib/component/1d/inset/SpectraInsets.js +1 -1
  18. package/lib/component/1d/inset/SpectraInsets.js.map +1 -1
  19. package/lib/component/1d/peaks/PeakEditionManager.d.ts +1 -1
  20. package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
  21. package/lib/component/1d/peaks/PeaksShapes.d.ts +1 -2
  22. package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -1
  23. package/lib/component/1d/peaks/PeaksShapes.js +31 -17
  24. package/lib/component/1d/peaks/PeaksShapes.js.map +1 -1
  25. package/lib/component/1d/peaks/usePeakShapesPath.d.ts +1 -2
  26. package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
  27. package/lib/component/1d/peaks/usePeakShapesPath.js +2 -3
  28. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
  29. package/lib/component/1d/plugin_chart_brush_tracker.d.ts +2 -0
  30. package/lib/component/1d/plugin_chart_brush_tracker.d.ts.map +1 -0
  31. package/lib/component/1d/plugin_chart_brush_tracker.js +41 -0
  32. package/lib/component/1d/plugin_chart_brush_tracker.js.map +1 -0
  33. package/lib/component/1d/plugin_svg_chart.d.ts +1 -1
  34. package/lib/component/1d/plugin_svg_chart.d.ts.map +1 -1
  35. package/lib/component/1d/plugin_svg_chart.js +16 -11
  36. package/lib/component/1d/plugin_svg_chart.js.map +1 -1
  37. package/lib/component/1d-2d/tools/BrushXY.d.ts +1 -1
  38. package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
  39. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
  40. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +1 -1
  41. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
  42. package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
  43. package/lib/component/1d-2d/tools/CursorToolIcon.d.ts.map +1 -1
  44. package/lib/component/1d-2d/tools/CursorToolIcon.js +23 -6
  45. package/lib/component/1d-2d/tools/CursorToolIcon.js.map +1 -1
  46. package/lib/component/2d/BrushTracker2D.js.map +1 -1
  47. package/lib/component/2d/utilities/DimensionLayout.d.ts +1 -1
  48. package/lib/component/2d/utilities/DimensionLayout.d.ts.map +1 -1
  49. package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -84
  50. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  51. package/lib/component/EventsTrackers/BrushTracker.js +70 -3
  52. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  53. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +1 -1
  54. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  55. package/lib/component/EventsTrackers/brush_tracker.types.d.ts +93 -0
  56. package/lib/component/EventsTrackers/brush_tracker.types.d.ts.map +1 -0
  57. package/lib/component/EventsTrackers/brush_tracker.types.js +2 -0
  58. package/lib/component/EventsTrackers/brush_tracker.types.js.map +1 -0
  59. package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts +7 -0
  60. package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts.map +1 -0
  61. package/lib/component/EventsTrackers/brush_tracker_events_listeners.js +15 -0
  62. package/lib/component/EventsTrackers/brush_tracker_events_listeners.js.map +1 -0
  63. package/lib/component/context/LoggerContext.js +1 -1
  64. package/lib/component/context/LoggerContext.js.map +1 -1
  65. package/lib/component/context/ScaleContext.d.ts +1 -1
  66. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  67. package/lib/component/context/ScaleContext.js.map +1 -1
  68. package/lib/component/context/processings_mutations_context.api.d.ts +3 -2
  69. package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -1
  70. package/lib/component/context/processings_mutations_context.api.js +82 -10
  71. package/lib/component/context/processings_mutations_context.api.js.map +1 -1
  72. package/lib/component/elements/Anchor.d.ts +1 -1
  73. package/lib/component/elements/Anchor.d.ts.map +1 -1
  74. package/lib/component/elements/DraggableDialog.js.map +1 -1
  75. package/lib/component/elements/EditableColumn.d.ts +6 -2
  76. package/lib/component/elements/EditableColumn.d.ts.map +1 -1
  77. package/lib/component/elements/EditableColumn.js +35 -25
  78. package/lib/component/elements/EditableColumn.js.map +1 -1
  79. package/lib/component/elements/ResizerWithScale.js +1 -1
  80. package/lib/component/elements/ResizerWithScale.js.map +1 -1
  81. package/lib/component/elements/export/ExportManager.d.ts +1 -1
  82. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  83. package/lib/component/elements/export/ExportManager.js.map +1 -1
  84. package/lib/component/elements/tanstack_table/create_action_column.d.ts +11 -0
  85. package/lib/component/elements/tanstack_table/create_action_column.d.ts.map +1 -0
  86. package/lib/component/elements/tanstack_table/create_action_column.js +24 -0
  87. package/lib/component/elements/tanstack_table/create_action_column.js.map +1 -0
  88. package/lib/component/elements/tanstack_table/create_column_helper.d.ts +5 -0
  89. package/lib/component/elements/tanstack_table/create_column_helper.d.ts.map +1 -0
  90. package/lib/component/elements/tanstack_table/create_column_helper.js +5 -0
  91. package/lib/component/elements/tanstack_table/create_column_helper.js.map +1 -0
  92. package/lib/component/elements/{ReactTable/BaseReactTable.d.ts → tanstack_table/elements/base_react_table.d.ts} +1 -1
  93. package/lib/component/elements/tanstack_table/elements/base_react_table.d.ts.map +1 -0
  94. package/lib/component/elements/{ReactTable/BaseReactTable.js → tanstack_table/elements/base_react_table.js} +1 -1
  95. package/lib/component/elements/tanstack_table/elements/base_react_table.js.map +1 -0
  96. package/lib/component/elements/{ReactTable/Elements/EmptyDataRow.d.ts → tanstack_table/elements/empty_data_row.d.ts} +1 -1
  97. package/lib/component/elements/tanstack_table/elements/empty_data_row.d.ts.map +1 -0
  98. package/lib/component/elements/{ReactTable/Elements/EmptyDataRow.js → tanstack_table/elements/empty_data_row.js} +1 -1
  99. package/lib/component/elements/tanstack_table/elements/empty_data_row.js.map +1 -0
  100. package/lib/component/elements/tanstack_table/elements/table_context.d.ts +4 -0
  101. package/lib/component/elements/tanstack_table/elements/table_context.d.ts.map +1 -0
  102. package/lib/component/elements/tanstack_table/elements/table_context.js +11 -0
  103. package/lib/component/elements/tanstack_table/elements/table_context.js.map +1 -0
  104. package/lib/component/elements/tanstack_table/elements/table_header.d.ts +12 -0
  105. package/lib/component/elements/tanstack_table/elements/table_header.d.ts.map +1 -0
  106. package/lib/component/elements/tanstack_table/elements/table_header.js +42 -0
  107. package/lib/component/elements/tanstack_table/elements/table_header.js.map +1 -0
  108. package/lib/component/elements/tanstack_table/elements/table_row.d.ts +12 -0
  109. package/lib/component/elements/tanstack_table/elements/table_row.d.ts.map +1 -0
  110. package/lib/component/elements/{ReactTable/Elements/ReactTableRow.js → tanstack_table/elements/table_row.js} +18 -17
  111. package/lib/component/elements/tanstack_table/elements/table_row.js.map +1 -0
  112. package/lib/component/elements/tanstack_table/features.d.ts +21 -0
  113. package/lib/component/elements/tanstack_table/features.d.ts.map +1 -0
  114. package/lib/component/elements/tanstack_table/features.js +14 -0
  115. package/lib/component/elements/tanstack_table/features.js.map +1 -0
  116. package/lib/component/elements/tanstack_table/index.d.ts +6 -0
  117. package/lib/component/elements/tanstack_table/index.d.ts.map +1 -0
  118. package/lib/component/elements/tanstack_table/index.js +6 -0
  119. package/lib/component/elements/tanstack_table/index.js.map +1 -0
  120. package/lib/component/elements/tanstack_table/table.d.ts +26 -0
  121. package/lib/component/elements/tanstack_table/table.d.ts.map +1 -0
  122. package/lib/component/elements/{ReactTable/ReactTable.js → tanstack_table/table.js} +30 -38
  123. package/lib/component/elements/tanstack_table/table.js.map +1 -0
  124. package/lib/component/elements/tanstack_table/types.d.ts +47 -0
  125. package/lib/component/elements/tanstack_table/types.d.ts.map +1 -0
  126. package/lib/component/elements/tanstack_table/types.js +2 -0
  127. package/lib/component/elements/tanstack_table/types.js.map +1 -0
  128. package/lib/component/header/AutoPeakPickingOptionPanel.js +1 -1
  129. package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
  130. package/lib/component/header/Header.js +1 -1
  131. package/lib/component/header/Header.js.map +1 -1
  132. package/lib/component/hooks/reduce2DSpectrum.js +1 -1
  133. package/lib/component/hooks/useCombinedRefs.d.ts +2 -2
  134. package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -1
  135. package/lib/component/hooks/useCombinedRefs.js +1 -1
  136. package/lib/component/hooks/useCombinedRefs.js.map +1 -1
  137. package/lib/component/hooks/useSaveSettings.js +1 -1
  138. package/lib/component/hooks/useSaveSettings.js.map +1 -1
  139. package/lib/component/hooks/use_axis_unit.d.ts +3 -3
  140. package/lib/component/main/InnerNMRiumContents.d.ts +4 -4
  141. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
  142. package/lib/component/main/NMRium.d.ts +1 -1
  143. package/lib/component/main/NMRium.d.ts.map +1 -1
  144. package/lib/component/main/NMRiumRefAPI.d.ts +1 -1
  145. package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
  146. package/lib/component/main/NMRiumRefAPI.js.map +1 -1
  147. package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
  148. package/lib/component/main/NMRiumStateProvider.js +4 -2
  149. package/lib/component/main/NMRiumStateProvider.js.map +1 -1
  150. package/lib/component/main/NMRiumViewer.d.ts +1 -1
  151. package/lib/component/main/NMRiumViewer.d.ts.map +1 -1
  152. package/lib/component/main/NMRiumViewerWrapper.d.ts +1 -1
  153. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
  154. package/lib/component/main/types.d.ts +2 -2
  155. package/lib/component/main/types.d.ts.map +1 -1
  156. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
  157. package/lib/component/modal/ImportPublicationStringModal.js +96 -73
  158. package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
  159. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  160. package/lib/component/modal/LogsHistoryModal.js +44 -40
  161. package/lib/component/modal/LogsHistoryModal.js.map +1 -1
  162. package/lib/component/modal/changeSum/SelectMolecule.js +2 -2
  163. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
  164. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
  165. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +48 -44
  166. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
  167. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  168. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js +36 -32
  169. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
  170. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
  171. package/lib/component/modal/metaImportation/MetaImportationModal.js +15 -14
  172. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  173. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +81 -81
  174. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +81 -81
  175. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +81 -81
  176. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +54 -54
  177. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +54 -54
  178. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +9 -9
  179. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +54 -54
  180. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +54 -54
  181. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +54 -54
  182. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +54 -54
  183. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +2 -2
  184. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +54 -54
  185. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +54 -54
  186. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +54 -54
  187. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +54 -54
  188. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +54 -54
  189. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +54 -54
  190. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +54 -54
  191. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +54 -54
  192. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +54 -54
  193. package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +28 -28
  194. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +10 -10
  195. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +6 -6
  196. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +1 -1
  197. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +27 -27
  198. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +1 -1
  199. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
  200. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +29 -26
  201. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -1
  202. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +1 -1
  203. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
  204. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
  205. package/lib/component/panels/IntegralsPanel/IntegralTable.js +70 -76
  206. package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
  207. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts +1 -1
  208. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
  209. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js +33 -29
  210. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js.map +1 -1
  211. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts +1 -0
  212. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts.map +1 -1
  213. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js +30 -6
  214. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js.map +1 -1
  215. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +1 -1
  216. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +8 -6
  217. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
  218. package/lib/component/panels/PeaksPanel/PeaksTable.js +116 -126
  219. package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
  220. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts +2 -2
  221. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts.map +1 -1
  222. package/lib/component/panels/PeaksPanel/peaksToTSV.js +9 -11
  223. package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -1
  224. package/lib/component/panels/RangesPanel/RangesTable.d.ts +3 -2
  225. package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
  226. package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -1
  227. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +2 -2
  228. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  229. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  230. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +33 -2
  231. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
  232. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +1 -1
  233. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  234. package/lib/component/panels/SpectraPanel/SpectraTable.js +37 -26
  235. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  236. package/lib/component/panels/SpectraPanel/SpectrumListPanel.js +1 -1
  237. package/lib/component/panels/SpectraPanel/SpectrumListPanel.js.map +1 -1
  238. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts +1 -1
  239. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
  240. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js +56 -52
  241. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
  242. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
  243. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +23 -20
  244. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
  245. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +1 -1
  246. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +2 -2
  247. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
  248. package/lib/component/panels/databasePanel/DatabaseTable.d.ts +1 -1
  249. package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
  250. package/lib/component/panels/databasePanel/DatabaseTable.js +171 -153
  251. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  252. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
  253. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js +27 -24
  254. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
  255. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  256. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +1 -1
  257. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  258. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts +2 -2
  259. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +2 -2
  260. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
  261. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts +2 -2
  262. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +2 -2
  263. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
  264. package/lib/component/panels/filtersPanel/processings/processing_item.js +1 -1
  265. package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -1
  266. package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts +2 -6
  267. package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts.map +1 -1
  268. package/lib/component/panels/filtersPanel/processings/use_live_edit.js +9 -9
  269. package/lib/component/panels/filtersPanel/processings/use_live_edit.js.map +1 -1
  270. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
  271. package/lib/component/panels/informationPanel/InformationEditionModal.js +69 -64
  272. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
  273. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
  274. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +17 -20
  275. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
  276. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
  277. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js +25 -20
  278. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js.map +1 -1
  279. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
  280. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js +41 -36
  281. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js.map +1 -1
  282. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
  283. package/lib/component/panels/spectrumSimulation/SpinSystemTable.js +14 -15
  284. package/lib/component/panels/spectrumSimulation/SpinSystemTable.js.map +1 -1
  285. package/lib/component/reducer/Reducer.d.ts +5 -6
  286. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  287. package/lib/component/reducer/Reducer.js +1 -1
  288. package/lib/component/reducer/Reducer.js.map +1 -1
  289. package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
  290. package/lib/component/reducer/actions/DatabaseActions.js +3 -2
  291. package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
  292. package/lib/component/reducer/actions/InsetActions.d.ts +2 -3
  293. package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
  294. package/lib/component/reducer/actions/InsetActions.js +4 -5
  295. package/lib/component/reducer/actions/InsetActions.js.map +1 -1
  296. package/lib/component/reducer/actions/RangesActions.d.ts +1 -0
  297. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  298. package/lib/component/reducer/actions/RangesActions.js +33 -11
  299. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  300. package/lib/component/reducer/actions/ToolsActions.d.ts +1 -1
  301. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  302. package/lib/component/reducer/actions/processings_actions.d.ts +1 -0
  303. package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -1
  304. package/lib/component/reducer/actions/processings_actions.js +4 -2
  305. package/lib/component/reducer/actions/processings_actions.js.map +1 -1
  306. package/lib/component/reducer/helper/Zoom1DManager.d.ts +1 -1
  307. package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
  308. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +2 -2
  309. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
  310. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js +1 -1
  311. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js.map +1 -1
  312. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
  313. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
  314. package/lib/component/utility/Events.d.ts +1 -1
  315. package/lib/component/utility/Events.d.ts.map +1 -1
  316. package/lib/component/utility/core_slots/core_operator_brush.commons.d.ts +9 -0
  317. package/lib/component/utility/core_slots/core_operator_brush.commons.d.ts.map +1 -0
  318. package/lib/component/utility/core_slots/core_operator_brush.commons.js +15 -0
  319. package/lib/component/utility/core_slots/core_operator_brush.commons.js.map +1 -0
  320. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.d.ts +7 -0
  321. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.d.ts.map +1 -0
  322. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.js +82 -0
  323. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.js.map +1 -0
  324. package/lib/component/utility/core_slots/core_operator_chart_brush_tracker.d.ts +8 -0
  325. package/lib/component/utility/core_slots/core_operator_chart_brush_tracker.d.ts.map +1 -0
  326. package/lib/component/utility/core_slots/core_operator_chart_brush_tracker.js +11 -0
  327. package/lib/component/utility/core_slots/core_operator_chart_brush_tracker.js.map +1 -0
  328. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.d.ts +9 -0
  329. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.d.ts.map +1 -0
  330. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.js +14 -0
  331. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.js.map +1 -0
  332. package/lib/component/utility/core_slots/core_operator_chart_svg.js +1 -13
  333. package/lib/component/utility/core_slots/core_operator_chart_svg.js.map +1 -1
  334. package/lib/component/utility/core_slots/core_operator_expanded.d.ts +1 -1
  335. package/lib/component/utility/core_slots/core_operator_expanded.d.ts.map +1 -1
  336. package/lib/component/utility/core_slots/core_slot.d.ts +1 -1
  337. package/lib/component/utility/core_slots/core_slot.d.ts.map +1 -1
  338. package/lib/component/utility/filterDatabaseInfoEntry.js +1 -1
  339. package/lib/component/utility/filterDatabaseInfoEntry.js.map +1 -1
  340. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
  341. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +2 -0
  342. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
  343. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +1 -0
  344. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -1
  345. package/lib/data/data2d/Spectrum2D/contours.js +2 -2
  346. package/lib/data/data2d/Spectrum2D/get2DColor.js +5 -5
  347. package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
  348. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
  349. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +2 -0
  350. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
  351. package/lib/utils/clipboard/clipboardComponents.js.map +1 -1
  352. package/lib/versionInfo.js +1 -1
  353. package/package.json +34 -36
  354. package/src/component/1d/BrushTracker1D.tsx +19 -21
  355. package/src/component/1d/SVGContent1D.tsx +3 -3
  356. package/src/component/1d/Viewer1D.tsx +2 -0
  357. package/src/component/1d/inset/DraggableInset.tsx +2 -1
  358. package/src/component/1d/inset/InsetProvider.tsx +1 -2
  359. package/src/component/1d/inset/SpectraInsets.tsx +1 -32
  360. package/src/component/1d/peaks/PeaksShapes.tsx +62 -40
  361. package/src/component/1d/peaks/usePeakShapesPath.ts +2 -4
  362. package/src/component/1d/plugin_chart_brush_tracker.tsx +63 -0
  363. package/src/component/1d/plugin_svg_chart.tsx +26 -15
  364. package/src/component/1d-2d/tools/BrushXY.tsx +1 -1
  365. package/src/component/1d-2d/tools/CrossLinePointer.tsx +1 -1
  366. package/src/component/1d-2d/tools/CursorToolIcon.tsx +38 -16
  367. package/src/component/2d/BrushTracker2D.tsx +5 -5
  368. package/src/component/2d/utilities/DimensionLayout.ts +1 -1
  369. package/src/component/EventsTrackers/BrushTracker.tsx +119 -119
  370. package/src/component/EventsTrackers/KeysListenerTracker.tsx +1 -1
  371. package/src/component/EventsTrackers/brush_tracker.types.ts +111 -0
  372. package/src/component/EventsTrackers/brush_tracker_events_listeners.ts +32 -0
  373. package/src/component/context/LoggerContext.tsx +1 -1
  374. package/src/component/context/ScaleContext.tsx +2 -1
  375. package/src/component/context/processings_mutations_context.api.ts +115 -17
  376. package/src/component/elements/Anchor.tsx +1 -1
  377. package/src/component/elements/DraggableDialog.tsx +2 -2
  378. package/src/component/elements/EditableColumn.tsx +93 -63
  379. package/src/component/elements/ResizerWithScale.tsx +1 -1
  380. package/src/component/elements/export/ExportManager.tsx +1 -1
  381. package/src/component/elements/tanstack_table/create_action_column.tsx +43 -0
  382. package/src/component/elements/tanstack_table/create_column_helper.ts +11 -0
  383. package/src/component/elements/tanstack_table/elements/table_context.ts +15 -0
  384. package/src/component/elements/tanstack_table/elements/table_header.tsx +111 -0
  385. package/src/component/elements/{ReactTable/Elements/ReactTableRow.tsx → tanstack_table/elements/table_row.tsx} +51 -50
  386. package/src/component/elements/tanstack_table/features.ts +33 -0
  387. package/src/component/elements/tanstack_table/index.ts +5 -0
  388. package/src/component/elements/{ReactTable/ReactTable.tsx → tanstack_table/table.tsx} +79 -158
  389. package/src/component/elements/tanstack_table/types.ts +86 -0
  390. package/src/component/header/AutoPeakPickingOptionPanel.tsx +1 -1
  391. package/src/component/header/Header.tsx +1 -1
  392. package/src/component/hooks/reduce2DSpectrum.ts +1 -1
  393. package/src/component/hooks/useCombinedRefs.ts +3 -3
  394. package/src/component/hooks/useSaveSettings.tsx +1 -1
  395. package/src/component/main/InnerNMRiumContents.tsx +4 -4
  396. package/src/component/main/NMRiumRefAPI.ts +1 -1
  397. package/src/component/main/NMRiumStateProvider.tsx +4 -2
  398. package/src/component/main/NMRiumViewer.tsx +1 -1
  399. package/src/component/main/NMRiumViewerWrapper.tsx +1 -1
  400. package/src/component/main/types.ts +3 -3
  401. package/src/component/modal/ImportPublicationStringModal.tsx +167 -136
  402. package/src/component/modal/LogsHistoryModal.tsx +32 -25
  403. package/src/component/modal/changeSum/SelectMolecule.tsx +2 -2
  404. package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +28 -24
  405. package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +27 -25
  406. package/src/component/modal/metaImportation/MetaImportationModal.tsx +19 -15
  407. package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +27 -25
  408. package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
  409. package/src/component/panels/IntegralsPanel/IntegralTable.tsx +75 -89
  410. package/src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx +68 -60
  411. package/src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts +40 -8
  412. package/src/component/panels/PeaksPanel/PeaksTable.tsx +126 -124
  413. package/src/component/panels/PeaksPanel/peaksToTSV.ts +14 -15
  414. package/src/component/panels/RangesPanel/RangesTable.tsx +3 -2
  415. package/src/component/panels/RangesPanel/RangesTableRow.tsx +2 -2
  416. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +52 -2
  417. package/src/component/panels/SpectraPanel/SpectraTable.tsx +58 -36
  418. package/src/component/panels/SpectraPanel/SpectrumListPanel.tsx +1 -1
  419. package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +31 -35
  420. package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +25 -20
  421. package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +2 -2
  422. package/src/component/panels/databasePanel/DatabasePanel.tsx +1 -1
  423. package/src/component/panels/databasePanel/DatabaseTable.tsx +189 -183
  424. package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +20 -20
  425. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +1 -1
  426. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +2 -2
  427. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +2 -2
  428. package/src/component/panels/filtersPanel/processings/processing_item.tsx +1 -1
  429. package/src/component/panels/filtersPanel/processings/use_live_edit.ts +9 -17
  430. package/src/component/panels/informationPanel/InformationEditionModal.tsx +40 -37
  431. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +23 -24
  432. package/src/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.tsx +33 -24
  433. package/src/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.tsx +34 -31
  434. package/src/component/panels/spectrumSimulation/SpinSystemTable.tsx +19 -18
  435. package/src/component/reducer/Reducer.ts +7 -4
  436. package/src/component/reducer/actions/DatabaseActions.ts +4 -3
  437. package/src/component/reducer/actions/InsetActions.ts +8 -10
  438. package/src/component/reducer/actions/RangesActions.ts +78 -20
  439. package/src/component/reducer/actions/ToolsActions.ts +1 -1
  440. package/src/component/reducer/actions/processings_actions.ts +5 -2
  441. package/src/component/reducer/helper/Zoom1DManager.ts +1 -1
  442. package/src/component/reducer/helper/ZoomHistoryManager.ts +2 -2
  443. package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +1 -1
  444. package/src/component/reducer/preferences/actions/matrixGeneration.ts +1 -1
  445. package/src/component/utility/Events.tsx +1 -1
  446. package/src/component/utility/core_slots/core_operator_brush.commons.ts +18 -0
  447. package/src/component/utility/core_slots/core_operator_chart_brush.commons.ts +138 -0
  448. package/src/component/utility/core_slots/core_operator_chart_brush_tracker.tsx +27 -0
  449. package/src/component/utility/core_slots/core_operator_chart_mouse_icon.tsx +32 -0
  450. package/src/component/utility/core_slots/core_operator_chart_svg.tsx +2 -17
  451. package/src/component/utility/filterDatabaseInfoEntry.ts +1 -1
  452. package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +3 -0
  453. package/src/data/data2d/Spectrum2D/contours.ts +2 -2
  454. package/src/data/data2d/Spectrum2D/get2DColor.ts +5 -5
  455. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +4 -0
  456. package/src/utils/clipboard/clipboardComponents.tsx +5 -5
  457. package/src/versionInfo.ts +1 -1
  458. package/lib/component/elements/ReactTable/BaseReactTable.d.ts.map +0 -1
  459. package/lib/component/elements/ReactTable/BaseReactTable.js.map +0 -1
  460. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +0 -1
  461. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +0 -1
  462. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts +0 -10
  463. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts.map +0 -1
  464. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js +0 -27
  465. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js.map +0 -1
  466. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +0 -16
  467. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +0 -1
  468. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +0 -1
  469. package/lib/component/elements/ReactTable/ReactTable.d.ts +0 -64
  470. package/lib/component/elements/ReactTable/ReactTable.d.ts.map +0 -1
  471. package/lib/component/elements/ReactTable/ReactTable.js.map +0 -1
  472. package/lib/component/elements/ReactTable/utility/ReactTableContext.d.ts +0 -4
  473. package/lib/component/elements/ReactTable/utility/ReactTableContext.d.ts.map +0 -1
  474. package/lib/component/elements/ReactTable/utility/ReactTableContext.js +0 -11
  475. package/lib/component/elements/ReactTable/utility/ReactTableContext.js.map +0 -1
  476. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts +0 -19
  477. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +0 -1
  478. package/lib/component/elements/ReactTable/utility/addCustomColumn.js +0 -36
  479. package/lib/component/elements/ReactTable/utility/addCustomColumn.js.map +0 -1
  480. package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts +0 -9
  481. package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts.map +0 -1
  482. package/lib/component/elements/ReactTable/utility/useRowSpan.js +0 -40
  483. package/lib/component/elements/ReactTable/utility/useRowSpan.js.map +0 -1
  484. package/src/component/elements/ReactTable/Elements/ReactTableHeader.tsx +0 -81
  485. package/src/component/elements/ReactTable/utility/ReactTableContext.ts +0 -14
  486. package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +0 -75
  487. package/src/component/elements/ReactTable/utility/useRowSpan.ts +0 -61
  488. /package/src/component/elements/{ReactTable/BaseReactTable.tsx → tanstack_table/elements/base_react_table.tsx} +0 -0
  489. /package/src/component/elements/{ReactTable/Elements/EmptyDataRow.tsx → tanstack_table/elements/empty_data_row.tsx} +0 -0
@@ -65,6 +65,10 @@ export function initiateDatum2D(
65
65
  if (!datum.originalData) {
66
66
  datum.originalData = sliceData2D(datum.data);
67
67
  }
68
+
69
+ datum.processingInfo ??= {};
70
+ datum.originalProcessingInfo ??= {};
71
+
68
72
  datum.filters = initiateFilters(spectrum?.filters);
69
73
 
70
74
  datum.zones = initiateZones(spectrum, datum);
@@ -1,5 +1,5 @@
1
1
  import styled from '@emotion/styled';
2
- import type { FormEvent } from 'react';
2
+ import type { SubmitEvent } from 'react';
3
3
  import { useCallback, useEffect, useMemo, useRef } from 'react';
4
4
 
5
5
  import Button from '../../component/elements/Button.js';
@@ -144,7 +144,7 @@ function ClipboardFallbackRead(props: ClipboardFallbackReadProps) {
144
144
  onFileRef.current = props.onRead;
145
145
  });
146
146
 
147
- const onSubmit = useCallback((event: FormEvent<HTMLFormElement>) => {
147
+ const onSubmit = useCallback((event: SubmitEvent<HTMLFormElement>) => {
148
148
  event.preventDefault();
149
149
 
150
150
  const data = new FormData(event.currentTarget);
@@ -188,7 +188,7 @@ function ClipboardFallbackReadText(props: ClipboardFallbackReadTextProps) {
188
188
  onTextRef.current = props.onReadText;
189
189
  });
190
190
 
191
- const onSubmit = useCallback((event: FormEvent<HTMLFormElement>) => {
191
+ const onSubmit = useCallback((event: SubmitEvent<HTMLFormElement>) => {
192
192
  event.preventDefault();
193
193
 
194
194
  const data = new FormData(event.currentTarget);
@@ -232,7 +232,7 @@ function ClipboardFallbackWrite(props: ClipboardFallbackWriteProps) {
232
232
  onDismissRef.current = props.onDismiss;
233
233
  });
234
234
 
235
- const onSubmit = useCallback((event: FormEvent<HTMLFormElement>) => {
235
+ const onSubmit = useCallback((event: SubmitEvent<HTMLFormElement>) => {
236
236
  event.preventDefault();
237
237
 
238
238
  onDismissRef.current();
@@ -275,7 +275,7 @@ function ClipboardFallbackWriteText(props: ClipboardFallbackWriteTextProps) {
275
275
  onDismissRef.current = props.onDismiss;
276
276
  });
277
277
 
278
- const onSubmit = useCallback((event: FormEvent<HTMLFormElement>) => {
278
+ const onSubmit = useCallback((event: SubmitEvent<HTMLFormElement>) => {
279
279
  event.preventDefault();
280
280
  onDismissRef.current();
281
281
  }, []);
@@ -1 +1 @@
1
- export default { version: 'v2.7.0' };
1
+ export default { version: 'v3.0.0' };
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseReactTable.d.ts","sourceRoot":"","sources":["../../../../src/component/elements/ReactTable/BaseReactTable.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;kHAiC1B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseReactTable.js","sourceRoot":"","sources":["../../../../src/component/elements/ReactTable/BaseReactTable.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCzC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"EmptyDataRow.d.ts","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/Elements/EmptyDataRow.tsx"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAoBpD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"EmptyDataRow.js","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/Elements/EmptyDataRow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAO/C,MAAM,UAAU,YAAY,CAAC,KAAwB;IACnD,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACnC,OAAO,CACL,uBACE,cACE,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,aAEhD,KAAC,aAAa,IACZ,KAAK,EAAE;wBACL,OAAO,EAAE,cAAc;wBACvB,MAAM,EAAE,UAAU;wBAClB,QAAQ,EAAE,OAAO;wBACjB,KAAK,EAAE,SAAS;qBACjB,GACD,EACF,eAAM,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAG,IAAI,GAAQ,IAC9C,GACF,CACN,CAAC;AACJ,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { MouseEvent } from 'react';
2
- interface TableCellEvent {
3
- onClick: (e: MouseEvent<HTMLTableCellElement>) => void;
4
- }
5
- interface ReactTableHeaderProps extends TableCellEvent {
6
- headerGroups: any;
7
- }
8
- declare function ReactTableHeader({ headerGroups, onClick }: ReactTableHeaderProps): import("react").JSX.Element;
9
- export default ReactTableHeader;
10
- //# sourceMappingURL=ReactTableHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactTableHeader.d.ts","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/Elements/ReactTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvD,UAAU,cAAc;IACtB,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;CACxD;AACD,UAAU,qBAAsB,SAAQ,cAAc;IACpD,YAAY,EAAE,GAAG,CAAC;CACnB;AASD,iBAAS,gBAAgB,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,qBAAqB,+BAoBzE;AA2CD,eAAe,gBAAgB,CAAC"}
@@ -1,27 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { FaSortAmountDown, FaSortAmountUp } from 'react-icons/fa';
3
- const sortIconStyle = {
4
- position: 'absolute',
5
- top: '50%',
6
- transform: 'translateY(-50%)',
7
- left: '2px',
8
- };
9
- function ReactTableHeader({ headerGroups, onClick }) {
10
- return (_jsx("thead", { children: headerGroups.map((headerGroup) => {
11
- const { key: headerGroupKey, ...restHeaderGroupProps } = headerGroup.getHeaderGroupProps();
12
- return (_jsx("tr", { ...restHeaderGroupProps, children: headerGroup.headers.map((column) => (_jsx(HeaderCell, { column: column, onClick: onClick }, column.getHeaderProps(column.getSortByToggleProps()).key))) }, headerGroupKey));
13
- }) }));
14
- }
15
- const HeaderCell = (props) => {
16
- const { column } = props;
17
- const { key: headerKey, style: headerStyle, onClick, ...restHeaderProps } = column.getHeaderProps(column.getSortByToggleProps());
18
- function clickHandler(e) {
19
- if (onClick) {
20
- onClick(e);
21
- props.onClick(e);
22
- }
23
- }
24
- return (_jsxs("th", { ...restHeaderProps, style: { ...headerStyle, ...column.style, height: '1px' }, onClick: clickHandler, children: [_jsx("span", { style: sortIconStyle, children: column.isSorted ? (column.isSortedDesc ? (_jsx(FaSortAmountDown, {})) : (_jsx(FaSortAmountUp, {}))) : ('') }), column?.render('Header')] }, headerKey));
25
- };
26
- export default ReactTableHeader;
27
- //# sourceMappingURL=ReactTableHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactTableHeader.js","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/Elements/ReactTableHeader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AASlE,MAAM,aAAa,GAAkB;IACnC,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,kBAAkB;IAC7B,IAAI,EAAE,KAAK;CACZ,CAAC;AAEF,SAAS,gBAAgB,CAAC,EAAE,YAAY,EAAE,OAAO,EAAyB;IACxE,OAAO,CACL,0BACG,YAAY,CAAC,GAAG,CAAC,CAAC,WAAgB,EAAE,EAAE;YACrC,MAAM,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,oBAAoB,EAAE,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AC,KAhBpB,SAAS,CAiBX,CACN,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,16 +0,0 @@
1
- /** @jsxImportSource @emotion/react */
2
- import type { MouseEvent } from 'react';
3
- import type { BaseRowStyle, HighlightSourceProps, TableContextMenuProps } from '../ReactTable.js';
4
- export interface ClickEvent {
5
- onClick?: (event: MouseEvent, data: unknown) => void;
6
- }
7
- interface ReactTableRowProps extends ClickEvent, TableContextMenuProps {
8
- row: any;
9
- isRowActive: boolean;
10
- rowStyle: BaseRowStyle | undefined;
11
- disableDefaultRowStyle?: boolean;
12
- }
13
- type ReactTableRowPropsWithHighlight = ReactTableRowProps & HighlightSourceProps;
14
- declare function ReactTableRow(props: ReactTableRowPropsWithHighlight): import("@emotion/react/jsx-runtime").JSX.Element;
15
- export default ReactTableRow;
16
- //# sourceMappingURL=ReactTableRow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactTableRow.d.ts","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/Elements/ReactTableRow.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AAItC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAMxC,OAAO,KAAK,EACV,YAAY,EACZ,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AA4B1B,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACtD;AAED,UAAU,kBAAmB,SAAQ,UAAU,EAAE,qBAAqB;IACpE,GAAG,EAAE,GAAG,CAAC;IACT,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAC;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED,KAAK,+BAA+B,GAAG,kBAAkB,GACvD,oBAAoB,CAAC;AAcvB,iBAAS,aAAa,CAAC,KAAK,EAAE,+BAA+B,oDAqF5D;AAED,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactTableRow.js","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/Elements/ReactTableRow.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAO5D,SAAS,WAAW,CAClB,QAAiB,EACjB,WAAyB,EAAE,EAC3B,sBAAgC;IAEhC,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,QAAQ,CAAC;IAExE,MAAM,UAAU,GAAG,sBAAsB;QACvC,CAAC,CAAE,KAAmB;QACtB,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,CAAC;IAC/C,MAAM,WAAW,GAAG,sBAAsB;QACxC,CAAC,CAAE,MAAoB;QACvB,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,MAAM,EAAE,CAAC;IAChD,MAAM,SAAS,GAAG,sBAAsB;QACtC,CAAC,CAAE,IAAe;QAClB,CAAC,CAAC,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,CAAC;IAE1C,OAAO,GAAG,CAAC;QACT;YACE,GAAG,SAAS;YACZ,GAAG,CAAC,QAAQ,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,SAAS,EAAE,CAAC;SAChE;QACD,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE;KACjD,CAAC,CAAC;AACL,CAAC;AAgBD,SAAS,MA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 +0,0 @@
1
- /** @jsxImportSource @emotion/react */
2
- import type { CSSObject, SerializedStyles } from '@emotion/react';
3
- import type { CSSProperties, ReactElement } from 'react';
4
- import type { CellProps, Column as ReactColumn, Row, UseSortByColumnOptions } from 'react-table';
5
- import type { HighlightEventSourceExtra, HighlightEventSourceType } from '../../highlight/index.js';
6
- import type { BaseContextMenuProps } from '../ContextMenuBluePrint.js';
7
- import type { ClickEvent } from './Elements/ReactTableRow.js';
8
- export type HighlightSourceProps = {
9
- [K in HighlightEventSourceType]: HighlightEventSourceExtra<K> extends never ? {
10
- highlightedSource?: K;
11
- getHighlightExtra?: never;
12
- } : {
13
- highlightedSource: K;
14
- getHighlightExtra: (row: any) => HighlightEventSourceExtra<K>;
15
- };
16
- }[HighlightEventSourceType];
17
- interface ExtraColumn<T extends object> {
18
- enableRowSpan?: boolean;
19
- style?: CSSProperties;
20
- Cell?: (cell: CellProps<T>) => ReactElement | string;
21
- }
22
- export type Column<T extends object = object> = ReactColumn<T> & ExtraColumn<T> & UseSortByColumnOptions<T>;
23
- interface SortEvent {
24
- onSortEnd?: (data: any, isTableSorted?: boolean) => void;
25
- }
26
- export interface BaseRowStyle {
27
- active?: CSSProperties;
28
- activated?: CSSProperties;
29
- hover?: CSSProperties;
30
- base?: CSSProperties;
31
- }
32
- export interface TableContextMenuProps {
33
- onContextMenuSelect?: (selected: Parameters<BaseContextMenuProps['onSelect']>[0], data: any) => void;
34
- contextMenu?: BaseContextMenuProps['options'];
35
- }
36
- interface ReactTableProps<T extends object> extends TableContextMenuProps, ClickEvent, SortEvent {
37
- data: T[];
38
- columns: Array<Column<T>>;
39
- approxItemHeight?: number;
40
- approxColumnWidth?: number;
41
- groupKey?: keyof T;
42
- indexKey?: string;
43
- enableVirtualScroll?: boolean;
44
- enableColumnsVirtualScroll?: boolean;
45
- activeRow?: (data: Row<T>) => boolean;
46
- enableDefaultActiveRow?: boolean;
47
- totalCount?: number;
48
- emptyDataRowText?: string;
49
- rowStyle?: BaseRowStyle | ((data: T) => BaseRowStyle | undefined);
50
- style?: CSSObject | SerializedStyles;
51
- disableDefaultRowStyle?: boolean;
52
- }
53
- type ReactTableOuterProps<T extends object> = ReactTableProps<T> & HighlightSourceProps;
54
- interface VirtualBoundary {
55
- start: number;
56
- end: number;
57
- }
58
- export interface TableVirtualBoundary {
59
- rows: VirtualBoundary;
60
- columns: VirtualBoundary;
61
- }
62
- declare const _default: <T extends object = any>(props: ReactTableOuterProps<T>) => ReactElement;
63
- export default _default;
64
- //# sourceMappingURL=ReactTable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactTable.d.ts","sourceRoot":"","sources":["../../../../src/component/elements/ReactTable/ReactTable.tsx"],"names":[],"mappings":"AACA,sCAAsC;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,KAAK,EACV,aAAa,EAEb,YAAY,EAGb,MAAM,OAAO,CAAC;AAWf,OAAO,KAAK,EACV,SAAS,EACT,MAAM,IAAI,WAAW,EACrB,GAAG,EAEH,sBAAsB,EAIvB,MAAM,aAAa,CAAC;AAGrB,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAKvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAS9D,MAAM,MAAM,oBAAoB,GAAG;KAChC,CAAC,IAAI,wBAAwB,GAAG,yBAAyB,CAAC,CAAC,CAAC,SAAS,KAAK,GACvE;QAAE,iBAAiB,CAAC,EAAE,CAAC,CAAC;QAAC,iBAAiB,CAAC,EAAE,KAAK,CAAA;KAAE,GACpD;QACE,iBAAiB,EAAE,CAAC,CAAC;QACrB,iBAAiB,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,yBAAyB,CAAC,CAAC,CAAC,CAAC;KAC/D;CACN,CAAC,wBAAwB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AAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC;IACtC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,YAAY,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,YAAY,GAAG,SAAS,CAAC,CAAC;IAClE,KAAK,CAAC,EAAE,SAAS,GAAG,gBAAgB,CAAC;IACrC,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAOD,KAAK,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,GAC9D,oBAAoB,CAAC;AAoQvB,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AACD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,eAAe,CAAC;CAC1B;wBA+JkC,CAAC,CAAC,SAAS,MAAM,GAAG,GAAG,EACxD,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAC3B,YAAY;AAFjB,wBAEkB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactTable.js","sourceRoot":"","sources":["../../../../src/component/elements/ReactTable/ReactTable.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAQrC,OAAO,EACL,UAAU,EACV,IAAI,EACJ,SAAS,EACT,eAAe,EACf,OAAO,EACP,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC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G,YAAY,CAAC,OAAO,CAAC;YACvD,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,gBAAgB,CAAC,CAAC;YAC/D,MAAM,QAAQ,GAAG,cAAc,CAC7B,cAAc,EACd,mBAAmB,CAAC,OAAO,CAC5B,CAAC;YACF,MAAM,MAAM,GAAG,YAAY,CAAC,cAAc,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;YAEzE,MAAM,iBAAiB,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,CAAC;YACpE,MAAM,WAAW,GAAG,oBAAoB,CACtC,iBAAiB,EACjB,sBAAsB,CAAC,OAAO,CAC/B,CAAC;YACF,MAAM,SAAS,GAAG,kBAAkB,CAClC,iBAAiB,EACjB,sBAAsB,CAAC,OAAO,CAC/B,CAAC;YACF,uBAAuB,CAAC;gBACtB,IAAI,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE;gBACtC,OAAO,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE;aAChD,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,CACL,KAAC,kBAAkB,IAAC,KAAK,EAAE,oBAAoB,YAC7C,cACE,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,GAAG,CACN;gBACE,QAAQ,EAAE,UAAU;gBACpB,MAAM,EAAE,MAAM;aACf,EACD,KAAK,CACN,YAED,KAAC,eAAe,IACd,QAAQ,EAAE,aAAa,EACvB,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,YAAY,KACb,KAAK,GACT,GACE,GACa,CACtB,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC,UAAU,CAEb,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { TableVirtualBoundary } from '../ReactTable.js';
2
- export declare const ReactTableProvider: import("react").Provider<TableVirtualBoundary | null>;
3
- export declare function useReactTableContext(): TableVirtualBoundary;
4
- //# sourceMappingURL=ReactTableContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactTableContext.d.ts","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/utility/ReactTableContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAG7D,eAAO,MAAM,kBAAkB,uDAAwB,CAAC;AAExD,wBAAgB,oBAAoB,yBAMnC"}
@@ -1,11 +0,0 @@
1
- import { createContext, useContext } from 'react';
2
- const reactContext = createContext(null);
3
- export const ReactTableProvider = reactContext.Provider;
4
- export function useReactTableContext() {
5
- const context = useContext(reactContext);
6
- if (!context) {
7
- throw new Error('react table context was not found ');
8
- }
9
- return context;
10
- }
11
- //# sourceMappingURL=ReactTableContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReactTableContext.js","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/utility/ReactTableContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAIlD,MAAM,YAAY,GAAG,aAAa,CAA8B,IAAI,CAAC,CAAC;AACtE,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC,QAAQ,CAAC;AAExD,MAAM,UAAU,oBAAoB;IAClC,MAAM,OAAO,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;IACzC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACxD,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -1,19 +0,0 @@
1
- import type { CSSProperties, MouseEvent, ReactNode } from 'react';
2
- import type { Row } from 'react-table';
3
- import type { Column } from '../ReactTable.js';
4
- export type CustomColumn<T extends object> = Column<T> & {
5
- index: number;
6
- };
7
- export type ControlCustomColumn<T extends object> = CustomColumn<T> & {
8
- showWhen: string;
9
- };
10
- export default function addCustomColumn<T extends object>(array: any, options: CustomColumn<T>): void;
11
- interface CreateActionColumnOptions<T extends object> {
12
- onClick: (row: Row<T>, even?: MouseEvent<HTMLButtonElement>) => void;
13
- icon: ReactNode;
14
- style?: CSSProperties;
15
- index: number;
16
- }
17
- export declare function createActionColumn<T extends object>(options: CreateActionColumnOptions<T>): CustomColumn<T>;
18
- export {};
19
- //# sourceMappingURL=addCustomColumn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"addCustomColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/utility/addCustomColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAa,GAAG,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC3E,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IACpE,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,CAAC,SAAS,MAAM,EACtD,KAAK,EAAE,GAAG,EACV,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,QAuBzB;AAED,UAAU,yBAAyB,CAAC,CAAC,SAAS,MAAM;IAClD,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACrE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EACjD,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,YAAY,CAAC,CAAC,CAAC,CA4BjB"}
@@ -1,36 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export default function addCustomColumn(array, options) {
3
- const { index, Header = () => null, accessor = null, Cell = null, sortType = 'basic', enableRowSpan = false, style = {}, id, } = options || {};
4
- array.push({
5
- index,
6
- ...(id && { id }),
7
- ...(accessor && { accessor }),
8
- ...(Cell && { Cell }),
9
- Header,
10
- sortType,
11
- enableRowSpan,
12
- style,
13
- });
14
- }
15
- export function createActionColumn(options) {
16
- const { onClick, icon, index, style = {} } = options;
17
- return {
18
- index,
19
- Header: '',
20
- style: {
21
- width: '1%',
22
- maxWidth: '20px',
23
- minWidth: '20px',
24
- padding: '0px',
25
- textAlign: 'center',
26
- ...style,
27
- },
28
- id: crypto.randomUUID(),
29
- Cell: (cell) => (_jsx("button", { type: "button", onClick: (e) => {
30
- e.preventDefault();
31
- e.stopPropagation();
32
- onClick(cell.row, e);
33
- }, children: icon })),
34
- };
35
- }
36
- //# sourceMappingURL=addCustomColumn.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"addCustomColumn.js","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/utility/addCustomColumn.tsx"],"names":[],"mappings":";AAUA,MAAM,CAAC,OAAO,UAAU,eAAe,CACrC,KAAU,EACV,OAAwB;IAExB,MAAM,EACJ,KAAK,EACL,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,EACnB,QAAQ,GAAG,IAAI,EACf,IAAI,GAAG,IAAI,EACX,QAAQ,GAAG,OAAO,EAClB,aAAa,GAAG,KAAK,EACrB,KAAK,GAAG,EAAE,EACV,EAAE,GACH,GAAG,OAAO,IAAI,EAAE,CAAC;IAElB,KAAK,CAAC,IAAI,CAAC;QACT,KAAK;QACL,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;QACjB,GAAG,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,CAAC;QAC7B,GAAG,CAAC,IAAI,IAAI,EAAE,IAAI,EAAE,CAAC;QACrB,MAAM;QACN,QAAQ;QACR,aAAa;QACb,KAAK;KACN,CAAC,CAAC;AACL,CAAC;AASD,MAAM,UAAU,kBAAkB,CAChC,OAAqC;IAErC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;IAErD,OAAO;QACL,KAAK;QACL,MAAM,EAAE,EAAE;QACV,KAAK,EAAE;YACL,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,MAAM;YAChB,QAAQ,EAAE,MAAM;YAChB,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,QAAQ;YACnB,GAAG,KAAK;SACT;QACD,EAAE,EAAE,MAAM,CAAC,UAAU,EAAE;QACvB,IAAI,EAAE,CAAC,IAAkB,EAAE,EAAE,CAAC,CAC5B,iBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gBACb,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,CAAC,CAAC,eAAe,EAAE,CAAC;gBACpB,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;YACvB,CAAC,YAEA,IAAI,GACE,CACV;KACF,CAAC;AACJ,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { Row } from 'react-table';
2
- export type RowSpanHeaders = Array<{
3
- cellIndex: number;
4
- cellValue: string;
5
- id: string;
6
- }>;
7
- export default function useRowSpan(hooks: any): void;
8
- export declare function prepareRowSpan<T extends object>(rows: Array<Row<T>>, index: number, rowSpanHeaders: RowSpanHeaders, groupKey?: keyof T): void;
9
- //# sourceMappingURL=useRowSpan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRowSpan.d.ts","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/utility/useRowSpan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,GAAG,QAE5C;AAiBD,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAC7C,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EACnB,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,cAAc,EAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC,QA6BnB"}
@@ -1,40 +0,0 @@
1
- export default function useRowSpan(hooks) {
2
- hooks.useInstance.push(reducer);
3
- }
4
- function reducer(instance) {
5
- const { allColumns } = instance;
6
- const rowSpanHeaders = allColumns
7
- .filter(({ enableRowSpan }) => enableRowSpan !== undefined && enableRowSpan !== false)
8
- .map(({ id }) => ({ id, cellValue: null, cellIndex: 0 }));
9
- Object.assign(instance, {
10
- rowSpanHeaders,
11
- });
12
- }
13
- export function prepareRowSpan(rows, index, rowSpanHeaders, groupKey) {
14
- const row = rows[index];
15
- for (let j = 0; j < row.allCells.length; j++) {
16
- const cell = row.allCells[j];
17
- const rowSpanHeader = rowSpanHeaders.find((x) => x.id === cell.column.id);
18
- if (rowSpanHeader !== undefined) {
19
- const cellValue = groupKey
20
- ? `${cell.value}-${String(row.original[groupKey])}`
21
- : cell.value;
22
- if (rowSpanHeader.cellValue === null ||
23
- rowSpanHeader.cellValue !== cellValue) {
24
- // @ts-expect-error Modifying a property that doesn't exist on the type
25
- cell.isRowSpanned = false;
26
- rowSpanHeader.cellValue = cellValue;
27
- rowSpanHeader.cellIndex = index;
28
- // @ts-expect-error Modifying a property that doesn't exist on the type
29
- cell.rowSpan = 1;
30
- }
31
- else {
32
- // @ts-expect-error Modifying a property that doesn't exist on the type
33
- rows[rowSpanHeader.cellIndex].allCells[j].rowSpan++;
34
- // @ts-expect-error Modifying a property that doesn't exist on the type
35
- cell.isRowSpanned = true;
36
- }
37
- }
38
- }
39
- }
40
- //# sourceMappingURL=useRowSpan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRowSpan.js","sourceRoot":"","sources":["../../../../../src/component/elements/ReactTable/utility/useRowSpan.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAU;IAC3C,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAClC,CAAC;AAED,SAAS,OAAO,CAAC,QAAa;IAC5B,MAAM,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC;IAEhC,MAAM,cAAc,GAAG,UAAU;SAC9B,MAAM,CACL,CAAC,EAAE,aAAa,EAAO,EAAE,EAAE,CACzB,aAAa,KAAK,SAAS,IAAI,aAAa,KAAK,KAAK,CACzD;SACA,GAAG,CAAC,CAAC,EAAE,EAAE,EAAO,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAEjE,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;QACtB,cAAc;KACf,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,cAAc,CAC5B,IAAmB,EACnB,KAAa,EACb,cAA8B,EAC9B,QAAkB;IAElB,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;IACxB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7C,MAAM,IAAI,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QAC7B,MAAM,aAAa,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC1E,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,SAAS,GAAG,QAAQ;gBACxB,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE;gBACnD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;YAEf,IACE,aAAa,CAAC,SAAS,KAAK,IAAI;gBAChC,aAAa,CAAC,SAAS,KAAK,SAAS,EACrC,CAAC;gBACD,uEAAuE;gBACvE,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;gBAC1B,aAAa,CAAC,SAAS,GAAG,SAAS,CAAC;gBACpC,aAAa,CAAC,SAAS,GAAG,KAAK,CAAC;gBAChC,uEAAuE;gBACvE,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;YACnB,CAAC;iBAAM,CAAC;gBACN,uEAAuE;gBACvE,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;gBACpD,uEAAuE;gBACvE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;YAC3B,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"}
@@ -1,81 +0,0 @@
1
- import type { CSSProperties, MouseEvent } from 'react';
2
- import { FaSortAmountDown, FaSortAmountUp } from 'react-icons/fa';
3
-
4
- interface TableCellEvent {
5
- onClick: (e: MouseEvent<HTMLTableCellElement>) => void;
6
- }
7
- interface ReactTableHeaderProps extends TableCellEvent {
8
- headerGroups: any;
9
- }
10
-
11
- const sortIconStyle: CSSProperties = {
12
- position: 'absolute',
13
- top: '50%',
14
- transform: 'translateY(-50%)',
15
- left: '2px',
16
- };
17
-
18
- function ReactTableHeader({ headerGroups, onClick }: ReactTableHeaderProps) {
19
- return (
20
- <thead>
21
- {headerGroups.map((headerGroup: any) => {
22
- const { key: headerGroupKey, ...restHeaderGroupProps } =
23
- headerGroup.getHeaderGroupProps();
24
- return (
25
- <tr key={headerGroupKey} {...restHeaderGroupProps}>
26
- {headerGroup.headers.map((column: any) => (
27
- <HeaderCell
28
- key={column.getHeaderProps(column.getSortByToggleProps()).key}
29
- column={column}
30
- onClick={onClick}
31
- />
32
- ))}
33
- </tr>
34
- );
35
- })}
36
- </thead>
37
- );
38
- }
39
-
40
- interface HeaderCellProps extends TableCellEvent {
41
- column: any;
42
- }
43
-
44
- const HeaderCell = (props: HeaderCellProps) => {
45
- const { column } = props;
46
- const {
47
- key: headerKey,
48
- style: headerStyle,
49
- onClick,
50
- ...restHeaderProps
51
- } = column.getHeaderProps(column.getSortByToggleProps());
52
- function clickHandler(e: MouseEvent<HTMLTableCellElement>) {
53
- if (onClick) {
54
- onClick(e);
55
- props.onClick(e);
56
- }
57
- }
58
- return (
59
- <th
60
- key={headerKey}
61
- {...restHeaderProps}
62
- style={{ ...headerStyle, ...column.style, height: '1px' }}
63
- onClick={clickHandler}
64
- >
65
- <span style={sortIconStyle}>
66
- {column.isSorted ? (
67
- column.isSortedDesc ? (
68
- <FaSortAmountDown />
69
- ) : (
70
- <FaSortAmountUp />
71
- )
72
- ) : (
73
- ''
74
- )}
75
- </span>
76
- {column?.render('Header')}
77
- </th>
78
- );
79
- };
80
-
81
- export default ReactTableHeader;
@@ -1,14 +0,0 @@
1
- import { createContext, useContext } from 'react';
2
-
3
- import type { TableVirtualBoundary } from '../ReactTable.js';
4
-
5
- const reactContext = createContext<TableVirtualBoundary | null>(null);
6
- export const ReactTableProvider = reactContext.Provider;
7
-
8
- export function useReactTableContext() {
9
- const context = useContext(reactContext);
10
- if (!context) {
11
- throw new Error('react table context was not found ');
12
- }
13
- return context;
14
- }
@@ -1,75 +0,0 @@
1
- import type { CSSProperties, MouseEvent, ReactNode } from 'react';
2
- import type { CellProps, Row } from 'react-table';
3
-
4
- import type { Column } from '../ReactTable.js';
5
-
6
- export type CustomColumn<T extends object> = Column<T> & { index: number };
7
- export type ControlCustomColumn<T extends object> = CustomColumn<T> & {
8
- showWhen: string;
9
- };
10
-
11
- export default function addCustomColumn<T extends object>(
12
- array: any,
13
- options: CustomColumn<T>,
14
- ) {
15
- const {
16
- index,
17
- Header = () => null,
18
- accessor = null,
19
- Cell = null,
20
- sortType = 'basic',
21
- enableRowSpan = false,
22
- style = {},
23
- id,
24
- } = options || {};
25
-
26
- array.push({
27
- index,
28
- ...(id && { id }),
29
- ...(accessor && { accessor }),
30
- ...(Cell && { Cell }),
31
- Header,
32
- sortType,
33
- enableRowSpan,
34
- style,
35
- });
36
- }
37
-
38
- interface CreateActionColumnOptions<T extends object> {
39
- onClick: (row: Row<T>, even?: MouseEvent<HTMLButtonElement>) => void;
40
- icon: ReactNode;
41
- style?: CSSProperties;
42
- index: number;
43
- }
44
-
45
- export function createActionColumn<T extends object>(
46
- options: CreateActionColumnOptions<T>,
47
- ): CustomColumn<T> {
48
- const { onClick, icon, index, style = {} } = options;
49
-
50
- return {
51
- index,
52
- Header: '',
53
- style: {
54
- width: '1%',
55
- maxWidth: '20px',
56
- minWidth: '20px',
57
- padding: '0px',
58
- textAlign: 'center',
59
- ...style,
60
- },
61
- id: crypto.randomUUID(),
62
- Cell: (cell: CellProps<T>) => (
63
- <button
64
- type="button"
65
- onClick={(e) => {
66
- e.preventDefault();
67
- e.stopPropagation();
68
- onClick(cell.row, e);
69
- }}
70
- >
71
- {icon}
72
- </button>
73
- ),
74
- };
75
- }