@rfkit/charts 1.14.0 → 1.14.2

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 (187) hide show
  1. package/charts/Dial/Chart.d.ts +1 -1
  2. package/charts/Dial/index.d.ts +2 -2
  3. package/charts/Gauge/Chart.d.ts +1 -1
  4. package/charts/Gauge/index.d.ts +2 -2
  5. package/charts/Heatmap/Chart.d.ts +1 -1
  6. package/charts/Heatmap/index.d.ts +2 -2
  7. package/charts/IQ/Chart.d.ts +2 -2
  8. package/charts/IQ/index.d.ts +2 -2
  9. package/charts/LevelStream/Chart.d.ts +1 -1
  10. package/charts/LevelStream/index.d.ts +2 -2
  11. package/charts/Occupancy/Chart.d.ts +1 -1
  12. package/charts/Occupancy/index.d.ts +2 -2
  13. package/charts/SpatialSpectrum/Chart.d.ts +1 -1
  14. package/charts/SpatialSpectrum/index.d.ts +2 -2
  15. package/charts/Spectrum/Chart.d.ts +3 -3
  16. package/charts/Spectrum/heatmapCaptureDefaults.d.ts +1 -1
  17. package/charts/Spectrum/index.d.ts +2 -2
  18. package/charts/index.d.ts +7 -7
  19. package/components/AxisX/Ticks.d.ts +1 -1
  20. package/components/AxisX/index.d.ts +1 -1
  21. package/components/AxisX/ticks/DataNFixedTicks.d.ts +6 -0
  22. package/components/AxisX/ticks/MScanTicks.d.ts +3 -0
  23. package/components/AxisX/ticks/ThreeFixedTicks.d.ts +3 -0
  24. package/components/AxisX/ticks/shared.d.ts +13 -0
  25. package/components/AxisY/heatmap/index.d.ts +2 -2
  26. package/components/AxisY/spectrum/controls/index.d.ts +3 -3
  27. package/components/AxisY/spectrum/index.d.ts +4 -4
  28. package/components/AxisY/spectrum/presenters/TicksPanel/index.d.ts +1 -1
  29. package/components/AxisY/spectrum/presenters/index.d.ts +1 -1
  30. package/components/AxisY/spectrum/useRanging/index.d.ts +4 -4
  31. package/components/AxisY/spectrum/useRanging/ranging.d.ts +1 -1
  32. package/components/AxisY/tools.d.ts +1 -1
  33. package/components/Container/runtime.d.ts +1 -1
  34. package/components/Cursor/index.d.ts +1 -1
  35. package/components/Cursor/registry.d.ts +1 -1
  36. package/components/Cursor/tools.d.ts +1 -1
  37. package/components/Cursor/useCursorSample.d.ts +1 -1
  38. package/components/DragSelectBox/index.d.ts +1 -1
  39. package/components/EventBus/position.d.ts +1 -1
  40. package/components/EventBus/tools.d.ts +3 -3
  41. package/components/EventBus/useKeyEvent.d.ts +1 -1
  42. package/components/Overlay/index.d.ts +4 -4
  43. package/components/Toolbar/controls/SeriesControl/index.d.ts +1 -1
  44. package/components/Toolbar/controls/index.d.ts +4 -4
  45. package/components/Toolbar/decorations/GradientRibbon/index.d.ts +1 -1
  46. package/components/Toolbar/decorations/index.d.ts +2 -2
  47. package/components/Toolbar/icons/index.d.ts +1 -1
  48. package/components/Toolbar/index.d.ts +1 -1
  49. package/components/Toolbar/primitives/IconBox.d.ts +2 -2
  50. package/components/Toolbar/primitives/ToolbarContentBox.d.ts +2 -2
  51. package/components/Toolbar/primitives/ToolbarDropdown.d.ts +1 -1
  52. package/components/Toolbar/primitives/ToolbarGroupIconBox.d.ts +1 -1
  53. package/components/Toolbar/primitives/index.d.ts +8 -8
  54. package/components/Toolbar/registry.d.ts +1 -1
  55. package/components/Toolbar/toggles/index.d.ts +10 -10
  56. package/components/Zoom/tools.d.ts +1 -1
  57. package/components/Zoom/xRange.d.ts +1 -1
  58. package/config/constants.d.ts +7 -7
  59. package/config/index.d.ts +2 -2
  60. package/hooks/data/index.d.ts +3 -3
  61. package/hooks/data/useSegments.d.ts +1 -1
  62. package/hooks/index.d.ts +8 -8
  63. package/hooks/publish/enhancedPublish.d.ts +2 -2
  64. package/hooks/publish/index.d.ts +3 -3
  65. package/hooks/publish/usePublish.d.ts +2 -2
  66. package/hooks/publish/useSafePublish.d.ts +2 -2
  67. package/hooks/spectrum/index.d.ts +5 -5
  68. package/hooks/spectrum/useSpectrumChartType.d.ts +1 -1
  69. package/hooks/spectrum/useSpectrumRule.d.ts +2 -2
  70. package/hooks/spectrum/waterfall.d.ts +1 -1
  71. package/hooks/useChart/index.d.ts +1 -1
  72. package/hooks/useChartComponent.d.ts +1 -1
  73. package/hooks/useModuleSubscription.d.ts +3 -3
  74. package/hooks/useSeriesManager/index.d.ts +2 -2
  75. package/hooks/useSeriesManager/useFilteredSeries.d.ts +1 -1
  76. package/hooks/useSeriesManager/useSeriesManager.d.ts +2 -2
  77. package/index.d.ts +12 -12
  78. package/index.js +60 -112
  79. package/index.js.LICENSE.txt +1 -1
  80. package/modules/Dial/render.d.ts +1 -1
  81. package/modules/Fluorescence/render.d.ts +1 -1
  82. package/modules/Gauge/render.d.ts +1 -1
  83. package/modules/Heatmap/Capture/index.d.ts +1 -1
  84. package/modules/Heatmap/Capture/sliderInfo.d.ts +2 -2
  85. package/modules/Heatmap/Capture/tools.d.ts +2 -2
  86. package/modules/Heatmap/render.d.ts +1 -1
  87. package/modules/HeatmapPortal/index.d.ts +1 -1
  88. package/modules/IQEye/index.d.ts +1 -1
  89. package/modules/IQPlanisphere/index.d.ts +1 -1
  90. package/modules/IQStream/index.d.ts +1 -1
  91. package/modules/Occupancy/render.d.ts +1 -1
  92. package/modules/OccupancyPortal/index.d.ts +1 -1
  93. package/modules/SpatialSpectrum/render.d.ts +1 -1
  94. package/modules/Spectrum/AxisYCanvas/index.d.ts +1 -1
  95. package/modules/Spectrum/AxisYCanvas/useCanvasAxisY.d.ts +1 -1
  96. package/modules/Spectrum/BandLayer/bandState.d.ts +3 -3
  97. package/modules/Spectrum/BandLayer/index.d.ts +1 -1
  98. package/modules/Spectrum/BandLayer/useBandLayerController.d.ts +1 -1
  99. package/modules/Spectrum/Blaze/index.d.ts +1 -1
  100. package/modules/Spectrum/Blaze/tools.d.ts +1 -1
  101. package/modules/Spectrum/FrequencyAllocation/color.d.ts +1 -1
  102. package/modules/Spectrum/FrequencyAllocation/index.d.ts +2 -2
  103. package/modules/Spectrum/FrequencyAllocation/model/channelModel.d.ts +1 -1
  104. package/modules/Spectrum/FrequencyAllocation/model/density.d.ts +1 -1
  105. package/modules/Spectrum/FrequencyAllocation/model/index.d.ts +5 -5
  106. package/modules/Spectrum/FrequencyAllocation/model/resolveFrequencyAllocationData.d.ts +2 -2
  107. package/modules/Spectrum/FrequencyAllocation/model/resolver.d.ts +4 -4
  108. package/modules/Spectrum/FrequencyAllocation/model/useAllocationAtCursor.d.ts +2 -2
  109. package/modules/Spectrum/FrequencyAllocation/model/useFrequencyAllocationData.d.ts +2 -2
  110. package/modules/Spectrum/FrequencyAllocation/overlays/Tooltip/index.d.ts +1 -1
  111. package/modules/Spectrum/FrequencyAllocation/overlays/index.d.ts +1 -1
  112. package/modules/Spectrum/FrequencyAllocation/presenters/AllocationInfo/index.d.ts +1 -1
  113. package/modules/Spectrum/FrequencyAllocation/presenters/AllocationSegments/index.d.ts +1 -1
  114. package/modules/Spectrum/FrequencyAllocation/presenters/index.d.ts +2 -2
  115. package/modules/Spectrum/FrequencyAllocation/tools.d.ts +1 -1
  116. package/modules/Spectrum/FrequencyAllocation/types.d.ts +1 -1
  117. package/modules/Spectrum/FrequencyDataBoard/hooks/index.d.ts +1 -1
  118. package/modules/Spectrum/FrequencyDataBoard/hooks/useStationInfoAtCursor.d.ts +1 -1
  119. package/modules/Spectrum/FrequencyDataBoard/index.d.ts +1 -1
  120. package/modules/Spectrum/FrequencyDataBoard/panels/StationInfoPanel/index.d.ts +1 -1
  121. package/modules/Spectrum/FrequencyDataBoard/panels/index.d.ts +1 -1
  122. package/modules/Spectrum/FrequencyTagLine/index.d.ts +3 -3
  123. package/modules/Spectrum/Markers/MarkerItem/index.d.ts +1 -1
  124. package/modules/Spectrum/Markers/hooks/useMarkerEvents.d.ts +1 -1
  125. package/modules/Spectrum/Markers/hooks/useMarkers.d.ts +2 -2
  126. package/modules/Spectrum/Markers/index.d.ts +1 -1
  127. package/modules/Spectrum/Markers/tools.d.ts +1 -1
  128. package/modules/Spectrum/Scope/index.d.ts +1 -1
  129. package/modules/Spectrum/Scope/useScope.d.ts +1 -1
  130. package/modules/Spectrum/Signal/index.d.ts +3 -3
  131. package/modules/Spectrum/Signal/metadata/index.d.ts +2 -2
  132. package/modules/Spectrum/Signal/model/index.d.ts +4 -4
  133. package/modules/Spectrum/Signal/model/match.d.ts +2 -2
  134. package/modules/Spectrum/Signal/model/resolver.d.ts +3 -3
  135. package/modules/Spectrum/Signal/model/tree.d.ts +2 -2
  136. package/modules/Spectrum/Signal/model/useStationInfoAtCursor.d.ts +3 -3
  137. package/modules/Spectrum/Signal/model/useUnifiedSignals.d.ts +1 -1
  138. package/modules/Spectrum/Signal/presenters/SignalSegments/index.d.ts +1 -1
  139. package/modules/Spectrum/Signal/presenters/index.d.ts +1 -1
  140. package/modules/Spectrum/Signal/tools.d.ts +1 -1
  141. package/modules/Spectrum/Signal/useSignalDataManager.d.ts +1 -1
  142. package/modules/Spectrum/Stripe/index.d.ts +1 -1
  143. package/modules/Spectrum/render.d.ts +2 -2
  144. package/modules/Spectrum/useMarkerPublish.d.ts +1 -1
  145. package/modules/Spectrum/useSpectrumAnalyzer/index.d.ts +1 -1
  146. package/modules/Spectrum/useSpectrumAnalyzer/thresholdData.d.ts +1 -1
  147. package/modules/base/CircularRenderer.d.ts +1 -1
  148. package/modules/base/GradientRenderer.d.ts +1 -1
  149. package/modules/base/IQRenderer.d.ts +1 -1
  150. package/modules/base/index.d.ts +4 -4
  151. package/package.json +1 -1
  152. package/runtime/interaction/index.d.ts +2 -2
  153. package/runtime/passThrough.d.ts +1 -1
  154. package/store/Params.d.ts +1 -1
  155. package/store/bandState.d.ts +1 -1
  156. package/store/chart-store.d.ts +1 -1
  157. package/store/constants.d.ts +1 -1
  158. package/store/context.d.ts +3 -3
  159. package/store/defaultState.d.ts +1 -1
  160. package/store/globalState.d.ts +2 -2
  161. package/store/hooks/index.d.ts +1 -1
  162. package/store/hooks/useStore.d.ts +3 -3
  163. package/store/index.d.ts +2 -2
  164. package/store/reducer.d.ts +1 -1
  165. package/store/runtime.d.ts +2 -2
  166. package/theme/init-charts-theme.d.ts +2 -2
  167. package/theme/theme-runtime.d.ts +1 -1
  168. package/theme/theme-styles.d.ts +1 -1
  169. package/types/common.d.ts +1 -1
  170. package/types/index.d.ts +4 -4
  171. package/types/publish.d.ts +5 -5
  172. package/types/store/axis.d.ts +2 -2
  173. package/types/store/index.d.ts +15 -15
  174. package/types/store/marker.d.ts +1 -1
  175. package/types/store/series.d.ts +1 -1
  176. package/types/store/signal.d.ts +1 -0
  177. package/types/store/ui.d.ts +2 -2
  178. package/types/store.d.ts +1 -1
  179. package/utils/cursor.d.ts +2 -2
  180. package/utils/frequency.d.ts +2 -2
  181. package/utils/frequencyCalculation.d.ts +1 -1
  182. package/utils/index.d.ts +7 -7
  183. package/utils/object.d.ts +1 -1
  184. package/utils/series/events.d.ts +2 -2
  185. package/utils/series/index.d.ts +4 -4
  186. package/utils/series/subscription.d.ts +1 -1
  187. package/utils/subscription.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- export { BaseRenderer, type BaseRenderState, type IRenderer } from './BaseRenderer';
2
- export { type CircularData, CircularRenderer, type CircularRenderState, type CircularSeriesItem } from './CircularRenderer';
3
- export { GradientRenderer, type GradientRenderState } from './GradientRenderer';
4
- export { default as IQRenderer, type IQChartType, type IQData } from './IQRenderer';
1
+ export { BaseRenderer, type BaseRenderState, type IRenderer } from './BaseRenderer.js';
2
+ export { type CircularData, CircularRenderer, type CircularRenderState, type CircularSeriesItem } from './CircularRenderer.js';
3
+ export { GradientRenderer, type GradientRenderState } from './GradientRenderer.js';
4
+ export { default as IQRenderer, type IQChartType, type IQData } from './IQRenderer.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rfkit/charts",
3
- "version": "1.14.0",
3
+ "version": "1.14.2",
4
4
  "type": "module",
5
5
  "description": "Chart components for wireless monitoring web applications",
6
6
  "exports": {
@@ -1,5 +1,5 @@
1
- import type { ModuleType } from '../../config';
2
- import type { CursorEventSnapshot } from '../../types/store';
1
+ import type { ModuleType } from '../../config/index.js';
2
+ import type { CursorEventSnapshot } from '../../types/store/index.js';
3
3
  export interface InteractionBounds {
4
4
  left: number;
5
5
  top: number;
@@ -1,3 +1,3 @@
1
- import { type CSMCallback } from '../utils/subscription';
1
+ import { type CSMCallback } from '../utils/subscription.js';
2
2
  export default _default;
3
3
  declare function _default(globalID: string, name: string, func?: CSMCallback, subscriptionName?: string): (...args: any[]) => void;
package/store/Params.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { AxisYProps, ParamsProps, StoreState } from '../types';
2
+ import type { AxisYProps, ParamsProps, StoreState } from '../types/index.js';
3
3
  export declare function mergeParameter<K extends keyof StoreState>(key: K, params: StoreState[K] | Partial<StoreState[K]> | null | undefined, state?: StoreState): StoreState[K];
4
4
  export declare function normalizeAxisYProps(axisY?: Partial<AxisYProps>): Partial<AxisYProps> | undefined;
5
5
  declare const Params: React.FC<ParamsProps>;
@@ -1,3 +1,3 @@
1
- import { type BandState } from '../types/store/ui.ts';
1
+ import { type BandState } from '../types/store/ui.js';
2
2
  export type BandUpdateStrategy = 'merge' | 'replace';
3
3
  export declare function resolveBandState(input: Record<string, unknown>, current?: BandState, strategy?: BandUpdateStrategy): BandState;
@@ -1,4 +1,4 @@
1
- import type { DispatchAction, StoreState } from '../types/store';
1
+ import type { DispatchAction, StoreState } from '../types/store/index.js';
2
2
  type StoreListener = () => void;
3
3
  export interface ChartStore {
4
4
  dispatch: (action: DispatchAction) => StoreState;
@@ -1,4 +1,4 @@
1
- import type { AxisYRange } from '../types';
1
+ import type { AxisYRange } from '../types/index.js';
2
2
  export declare const restrictList: {
3
3
  dBm: number[];
4
4
  dBμV: number[];
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import type { DispatchAction } from '../types/store';
3
- import type { ChartStore } from './chart-store';
4
- import type { ChartRuntime } from './runtime';
2
+ import type { DispatchAction } from '../types/store/index.js';
3
+ import type { ChartStore } from './chart-store.js';
4
+ import type { ChartRuntime } from './runtime.js';
5
5
  export interface AppContextType {
6
6
  runtime: ChartRuntime;
7
7
  store: ChartStore;
@@ -1,2 +1,2 @@
1
- import { type StoreState } from '../types/store';
1
+ import { type StoreState } from '../types/store/index.js';
2
2
  export declare function createParams(): StoreState;
@@ -1,5 +1,5 @@
1
- import type { RecursiveObject } from '../types';
2
- import type { StoreState } from '../types/store';
1
+ import type { RecursiveObject } from '../types/index.js';
2
+ import type { StoreState } from '../types/store/index.js';
3
3
  export declare const setGlobalStoreState: (globalID: string, state: RecursiveObject) => void;
4
4
  export declare const getGlobalStoreState: (globalID: string) => StoreState | null;
5
5
  export declare const clearGlobalStoreState: (globalID: string) => void;
@@ -1 +1 @@
1
- export { useSelector, useStore, useStoreApi, useStoreDispatch } from './useStore';
1
+ export { useSelector, useStore, useStoreApi, useStoreDispatch } from './useStore.js';
@@ -1,6 +1,6 @@
1
- import type { DispatchAction, StoreState } from '../../types/store';
2
- import type { ChartStore } from '../chart-store';
3
- import type { ChartRuntime } from '../runtime';
1
+ import type { DispatchAction, StoreState } from '../../types/store/index.js';
2
+ import type { ChartStore } from '../chart-store.js';
3
+ import type { ChartRuntime } from '../runtime.js';
4
4
  export declare function useStore(): {
5
5
  dispatch: (action: DispatchAction) => void;
6
6
  runtime: ChartRuntime;
package/store/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { StoreProps } from '../types/store';
2
+ import type { StoreProps } from '../types/store/index.js';
3
3
  declare const Store: React.FC<StoreProps>;
4
4
  export default Store;
5
- export { useSelector, useStore, useStoreApi, useStoreDispatch } from './hooks';
5
+ export { useSelector, useStore, useStoreApi, useStoreDispatch } from './hooks/index.js';
@@ -1,2 +1,2 @@
1
- import type { DispatchAction, StoreState } from '../types/store';
1
+ import type { DispatchAction, StoreState } from '../types/store/index.js';
2
2
  export declare const reducer: (state: StoreState, action: DispatchAction) => StoreState;
@@ -1,5 +1,5 @@
1
- import type { DispatchAction, StoreState } from '../types/store';
2
- import { type ChartStore } from './chart-store';
1
+ import type { DispatchAction, StoreState } from '../types/store/index.js';
2
+ import { type ChartStore } from './chart-store.js';
3
3
  type RuntimeCleanup = () => void;
4
4
  export interface ChartRuntime {
5
5
  destroy: () => void;
@@ -1,5 +1,5 @@
1
- import { type ChartsThemeState } from './theme-runtime.ts';
2
- import type { ChartsSizeTokensConfig, ChartsThemeTokensConfig } from './theme-tokens.ts';
1
+ import { type ChartsThemeState } from './theme-runtime.js';
2
+ import type { ChartsSizeTokensConfig, ChartsThemeTokensConfig } from './theme-tokens.js';
3
3
  export type ChartsThemeChange = ChartsThemeState;
4
4
  export interface InitChartsThemeOptions {
5
5
  onChange?: (state: ChartsThemeChange) => void;
@@ -1,4 +1,4 @@
1
- import { type ThemeType } from './theme-contract.ts';
1
+ import { type ThemeType } from './theme-contract.js';
2
2
  export type ChartsThemePreference = 'system' | ThemeType;
3
3
  export interface ChartsThemeState {
4
4
  contractTheme: ThemeType;
@@ -1,4 +1,4 @@
1
- import { type ChartsSizeTokensConfig, type ChartsThemeTokensConfig } from './theme-tokens.ts';
1
+ import { type ChartsSizeTokensConfig, type ChartsThemeTokensConfig } from './theme-tokens.js';
2
2
  export interface ThemeStyleOptions {
3
3
  sizes?: ChartsSizeTokensConfig;
4
4
  tokens?: ChartsThemeTokensConfig;
package/types/common.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { GraphicType, OrientationType } from '@rfkit/renderer';
2
- import type { Publish, RecursiveObject, SetSeries } from './';
2
+ import type { Publish, RecursiveObject, SetSeries } from './index.js';
3
3
  export type AxisYRange = [number, number];
4
4
  export interface AxisXRange {
5
5
  start: number;
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from './base';
2
- export * from './common';
3
- export * from './publish';
4
- export * from './store';
1
+ export * from './base.js';
2
+ export * from './common.js';
3
+ export * from './publish.js';
4
+ export * from './store/index.js';
@@ -1,8 +1,8 @@
1
- import type { MarkerEventType, OptionKey, PSType, SegmentsEvent } from '../config';
2
- import type { rawData } from '../utils/subscription';
3
- import type { RecursiveObject } from './base';
4
- import type { SegmentsOriginal, SeriesConfig, SpectrumBandwidth, StationInfoType } from './common';
5
- import type { BandProps, MarkerType, ParamsProps, SignalData, SignalDataType } from './store';
1
+ import type { MarkerEventType, OptionKey, PSType, SegmentsEvent } from '../config/index.js';
2
+ import type { rawData } from '../utils/subscription.js';
3
+ import type { RecursiveObject } from './base.js';
4
+ import type { SegmentsOriginal, SeriesConfig, SpectrumBandwidth, StationInfoType } from './common.js';
5
+ import type { BandProps, MarkerType, ParamsProps, SignalData, SignalDataType } from './store/index.js';
6
6
  export interface SetOption {
7
7
  pstype: PSType.Option;
8
8
  key: OptionKey;
@@ -1,5 +1,5 @@
1
- import type { AxisPlacement } from '../../config';
2
- import type { AxisYRange, RecursiveObject } from '..';
1
+ import type { AxisPlacement } from '../../config/index.js';
2
+ import type { AxisYRange, RecursiveObject } from '../index.js';
3
3
  export interface AxisYProps {
4
4
  show?: boolean;
5
5
  placement?: AxisPlacement;
@@ -1,18 +1,18 @@
1
- export * from './axis';
2
- export * from './frequency';
3
- export * from './heatmap';
4
- export * from './marker';
5
- export * from './series';
6
- export * from './signal';
7
- export * from './ui';
8
- import type { Publish, SegmentsType } from '..';
9
- import type { AxisXProps, AxisYProps } from './axis';
10
- import type { FrequencyAllocationProps } from './frequency';
11
- import type { HeatmapCaptureProps, WaterfallViewportState } from './heatmap';
12
- import type { MarkerProps } from './marker';
13
- import type { LevelStreamProps, SeriesProps } from './series';
14
- import type { SignalAnalysisProps, SignalProps } from './signal';
15
- import type { BandProps, BandState, BlazeProps, CursorProps, DeltaMeasurementProps, EventBusProps, FluorescenceProps, FrequencyTagLineBoardProps, LegendProps, LimitProps, ScopeProps, StripeProps, SystemConfig, ToolbarProps, ZoomProps } from './ui';
1
+ export * from './axis.js';
2
+ export * from './frequency.js';
3
+ export * from './heatmap.js';
4
+ export * from './marker.js';
5
+ export * from './series.js';
6
+ export * from './signal.js';
7
+ export * from './ui.js';
8
+ import type { Publish, SegmentsType } from '../index.js';
9
+ import type { AxisXProps, AxisYProps } from './axis.js';
10
+ import type { FrequencyAllocationProps } from './frequency.js';
11
+ import type { HeatmapCaptureProps, WaterfallViewportState } from './heatmap.js';
12
+ import type { MarkerProps } from './marker.js';
13
+ import type { LevelStreamProps, SeriesProps } from './series.js';
14
+ import type { SignalAnalysisProps, SignalProps } from './signal.js';
15
+ import type { BandProps, BandState, BlazeProps, CursorProps, DeltaMeasurementProps, EventBusProps, FluorescenceProps, FrequencyTagLineBoardProps, LegendProps, LimitProps, ScopeProps, StripeProps, SystemConfig, ToolbarProps, ZoomProps } from './ui.js';
16
16
  export interface StoreState {
17
17
  globalID: string;
18
18
  config: unknown;
@@ -1,4 +1,4 @@
1
- import type { MarkerEventType } from '../../config';
1
+ import type { MarkerEventType } from '../../config/index.js';
2
2
  export declare enum MarkerMode {
3
3
  Normal = "normal",
4
4
  DDC = "ddc"
@@ -1,4 +1,4 @@
1
- import type { SeriesType } from '../../config';
1
+ import type { SeriesType } from '../../config/index.js';
2
2
  export interface SeriesProps {
3
3
  maxPoints?: number;
4
4
  zoomMinSimulateWave: boolean;
@@ -28,6 +28,7 @@ export type TemplateDetectedSignalChange = (signals: TemplateDetectedSignal[], s
28
28
  export interface SignalProps {
29
29
  show: boolean;
30
30
  display: boolean;
31
+ templateDetection?: boolean;
31
32
  data: SignalData[];
32
33
  hiddenCategoryKeys: string[];
33
34
  showCount: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { FluorescenceRenderMode, RendererType } from '@rfkit/renderer';
2
- import type { ModuleType } from '../../config';
3
- import type { AxisXRange, RecursiveObject, TopRightBottomLeft } from '..';
2
+ import type { ModuleType } from '../../config/index.js';
3
+ import type { AxisXRange, RecursiveObject, TopRightBottomLeft } from '../index.js';
4
4
  export interface ToolbarProps {
5
5
  show: boolean;
6
6
  hiddenTools?: string[];
package/types/store.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './store/index';
1
+ export * from './store/index.js';
package/utils/cursor.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ModuleType } from '../config';
2
- import type { CursorEventSnapshot } from '../types/store';
1
+ import { ModuleType } from '../config/index.js';
2
+ import type { CursorEventSnapshot } from '../types/store/index.js';
3
3
  interface CursorStateLike {
4
4
  show: boolean;
5
5
  active: boolean;
@@ -1,5 +1,5 @@
1
- import { FrequencyUnit } from '../config/constants';
2
- import type { RecursiveObject, SegmentsOriginal, SegmentsType } from '../types';
1
+ import { FrequencyUnit } from '../config/constants.js';
2
+ import type { RecursiveObject, SegmentsOriginal, SegmentsType } from '../types/index.js';
3
3
  export declare const getFrequencyToFixed: (frequency: number, fixedNum?: number) => string;
4
4
  export declare function isdBm(unit: string): boolean;
5
5
  export declare const leftSegments2frequency: (segments: SegmentsType) => (left: number) => string;
@@ -1,4 +1,4 @@
1
- import type { SegmentType } from '../types';
1
+ import type { SegmentType } from '../types/index.js';
2
2
  export interface FrequencyRange {
3
3
  startFreq: number;
4
4
  stopFreq: number;
package/utils/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import type { TimestampedFloat32Array } from '@rfkit/spectrum-analyzer';
2
- export * from './array';
3
- export * from './cursor';
4
- export * from './frequency';
5
- export * from './frequencyCalculation';
6
- export * from './object';
7
- export * from './throttle';
8
- export * from './time';
2
+ export * from './array.js';
3
+ export * from './cursor.js';
4
+ export * from './frequency.js';
5
+ export * from './frequencyCalculation.js';
6
+ export * from './object.js';
7
+ export * from './throttle.js';
8
+ export * from './time.js';
9
9
  export declare const createGUID: () => string;
10
10
  export declare const convertToTimestampedArrays: (data: number[][], timestamps?: Array<string>) => TimestampedFloat32Array[];
package/utils/object.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { RecursiveObject } from '../types';
1
+ import type { RecursiveObject } from '../types/index.js';
2
2
  export declare const mergeObjects: <T extends RecursiveObject>(source: T, params: RecursiveObject) => T;
@@ -1,6 +1,6 @@
1
1
  import type { GraphicType } from '@rfkit/renderer';
2
- import type { SeriesConfig } from './index';
3
- import type { ModeConfig, SeriesMode } from './modes';
2
+ import type { SeriesConfig } from './index.js';
3
+ import type { ModeConfig, SeriesMode } from './modes.js';
4
4
  export declare const SeriesEventName: {
5
5
  readonly UPDATED: 'series:updated';
6
6
  readonly ADDED: 'series:added';
@@ -15,7 +15,7 @@ export declare function setChartTypeSeriesOverride(globalID: string, seriesName:
15
15
  export declare function clearChartTypeSeriesOverrides(globalID: string): void;
16
16
  export declare function getChartTypeSeriesOverride(globalID: string, seriesName: string): GraphicType | undefined;
17
17
  export declare function getCorrectSeriesType(globalID: string, seriesName: string): GraphicType;
18
- export { type ModeConfig, SeriesMode, type SeriesModesConfig } from './modes';
18
+ export { type ModeConfig, SeriesMode, type SeriesModesConfig } from './modes.js';
19
19
  export type { ExternalSeriesConfig };
20
20
  export declare function getSeriesManager(globalID: string): SeriesManager;
21
21
  export declare function destroySeriesManager(globalID: string): void;
@@ -24,7 +24,7 @@ export declare function getSeriesMap(globalID: string): Map<string, SeriesConfig
24
24
  export declare function updateSeries(globalID: string, config: PartialSeriesConfig): void;
25
25
  export declare function resetSeries(globalID: string): void;
26
26
  export declare function batchUpdateSeries(globalID: string, configs: PartialSeriesConfig[]): void;
27
- export * from './events';
28
- export * from './modes';
29
- export * from './subscription';
27
+ export * from './events.js';
28
+ export * from './modes.js';
29
+ export * from './subscription.js';
30
30
  export declare function getSeriesWithGraphicType(globalID: string): Map<string, SeriesConfig>;
@@ -1,4 +1,4 @@
1
- import { type SeriesConfig } from './index';
1
+ import { type SeriesConfig } from './index.js';
2
2
  export interface SeriesRenderer {
3
3
  state: {
4
4
  globalID?: string;
@@ -1,5 +1,5 @@
1
1
  import type { SpectrumAnalyzer, SpectrumOutputData, WaterfallAnalyzer } from '@rfkit/spectrum-analyzer';
2
- import type { RecursiveFunction } from '../types';
2
+ import type { RecursiveFunction } from '../types/index.js';
3
3
  interface ChartsGlobal {
4
4
  datas: Record<string, unknown>;
5
5
  subscriptions: ChartSubscriptions;