@rfkit/charts 1.14.1 → 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.
- package/charts/Dial/Chart.d.ts +1 -1
- package/charts/Dial/index.d.ts +2 -2
- package/charts/Gauge/Chart.d.ts +1 -1
- package/charts/Gauge/index.d.ts +2 -2
- package/charts/Heatmap/Chart.d.ts +1 -1
- package/charts/Heatmap/index.d.ts +2 -2
- package/charts/IQ/Chart.d.ts +2 -2
- package/charts/IQ/index.d.ts +2 -2
- package/charts/LevelStream/Chart.d.ts +1 -1
- package/charts/LevelStream/index.d.ts +2 -2
- package/charts/Occupancy/Chart.d.ts +1 -1
- package/charts/Occupancy/index.d.ts +2 -2
- package/charts/SpatialSpectrum/Chart.d.ts +1 -1
- package/charts/SpatialSpectrum/index.d.ts +2 -2
- package/charts/Spectrum/Chart.d.ts +3 -3
- package/charts/Spectrum/heatmapCaptureDefaults.d.ts +1 -1
- package/charts/Spectrum/index.d.ts +2 -2
- package/charts/index.d.ts +7 -7
- package/components/AxisX/Ticks.d.ts +1 -1
- package/components/AxisX/index.d.ts +1 -1
- package/components/AxisX/ticks/DataNFixedTicks.d.ts +6 -0
- package/components/AxisX/ticks/MScanTicks.d.ts +3 -0
- package/components/AxisX/ticks/ThreeFixedTicks.d.ts +3 -0
- package/components/AxisX/ticks/shared.d.ts +13 -0
- package/components/AxisY/heatmap/index.d.ts +2 -2
- package/components/AxisY/spectrum/controls/index.d.ts +3 -3
- package/components/AxisY/spectrum/index.d.ts +4 -4
- package/components/AxisY/spectrum/presenters/TicksPanel/index.d.ts +1 -1
- package/components/AxisY/spectrum/presenters/index.d.ts +1 -1
- package/components/AxisY/spectrum/useRanging/index.d.ts +4 -4
- package/components/AxisY/spectrum/useRanging/ranging.d.ts +1 -1
- package/components/AxisY/tools.d.ts +1 -1
- package/components/Container/runtime.d.ts +1 -1
- package/components/Cursor/index.d.ts +1 -1
- package/components/Cursor/registry.d.ts +1 -1
- package/components/Cursor/tools.d.ts +1 -1
- package/components/Cursor/useCursorSample.d.ts +1 -1
- package/components/DragSelectBox/index.d.ts +1 -1
- package/components/EventBus/position.d.ts +1 -1
- package/components/EventBus/tools.d.ts +3 -3
- package/components/EventBus/useKeyEvent.d.ts +1 -1
- package/components/Overlay/index.d.ts +4 -4
- package/components/Toolbar/controls/SeriesControl/index.d.ts +1 -1
- package/components/Toolbar/controls/index.d.ts +4 -4
- package/components/Toolbar/decorations/GradientRibbon/index.d.ts +1 -1
- package/components/Toolbar/decorations/index.d.ts +2 -2
- package/components/Toolbar/icons/index.d.ts +1 -1
- package/components/Toolbar/index.d.ts +1 -1
- package/components/Toolbar/primitives/IconBox.d.ts +2 -2
- package/components/Toolbar/primitives/ToolbarContentBox.d.ts +2 -2
- package/components/Toolbar/primitives/ToolbarDropdown.d.ts +1 -1
- package/components/Toolbar/primitives/ToolbarGroupIconBox.d.ts +1 -1
- package/components/Toolbar/primitives/index.d.ts +8 -8
- package/components/Toolbar/registry.d.ts +1 -1
- package/components/Toolbar/toggles/index.d.ts +10 -10
- package/components/Zoom/tools.d.ts +1 -1
- package/components/Zoom/xRange.d.ts +1 -1
- package/config/constants.d.ts +7 -7
- package/config/index.d.ts +2 -2
- package/hooks/data/index.d.ts +3 -3
- package/hooks/data/useSegments.d.ts +1 -1
- package/hooks/index.d.ts +8 -8
- package/hooks/publish/enhancedPublish.d.ts +2 -2
- package/hooks/publish/index.d.ts +3 -3
- package/hooks/publish/usePublish.d.ts +2 -2
- package/hooks/publish/useSafePublish.d.ts +2 -2
- package/hooks/spectrum/index.d.ts +5 -5
- package/hooks/spectrum/useSpectrumChartType.d.ts +1 -1
- package/hooks/spectrum/useSpectrumRule.d.ts +2 -2
- package/hooks/spectrum/waterfall.d.ts +1 -1
- package/hooks/useChart/index.d.ts +1 -1
- package/hooks/useChartComponent.d.ts +1 -1
- package/hooks/useModuleSubscription.d.ts +3 -3
- package/hooks/useSeriesManager/index.d.ts +2 -2
- package/hooks/useSeriesManager/useFilteredSeries.d.ts +1 -1
- package/hooks/useSeriesManager/useSeriesManager.d.ts +2 -2
- package/index.d.ts +12 -12
- package/index.js +60 -112
- package/index.js.LICENSE.txt +1 -1
- package/modules/Dial/render.d.ts +1 -1
- package/modules/Fluorescence/render.d.ts +1 -1
- package/modules/Gauge/render.d.ts +1 -1
- package/modules/Heatmap/Capture/index.d.ts +1 -1
- package/modules/Heatmap/Capture/sliderInfo.d.ts +2 -2
- package/modules/Heatmap/Capture/tools.d.ts +2 -2
- package/modules/Heatmap/render.d.ts +1 -1
- package/modules/HeatmapPortal/index.d.ts +1 -1
- package/modules/IQEye/index.d.ts +1 -1
- package/modules/IQPlanisphere/index.d.ts +1 -1
- package/modules/IQStream/index.d.ts +1 -1
- package/modules/Occupancy/render.d.ts +1 -1
- package/modules/OccupancyPortal/index.d.ts +1 -1
- package/modules/SpatialSpectrum/render.d.ts +1 -1
- package/modules/Spectrum/AxisYCanvas/index.d.ts +1 -1
- package/modules/Spectrum/AxisYCanvas/useCanvasAxisY.d.ts +1 -1
- package/modules/Spectrum/BandLayer/bandState.d.ts +3 -3
- package/modules/Spectrum/BandLayer/index.d.ts +1 -1
- package/modules/Spectrum/BandLayer/useBandLayerController.d.ts +1 -1
- package/modules/Spectrum/Blaze/index.d.ts +1 -1
- package/modules/Spectrum/Blaze/tools.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/color.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/index.d.ts +2 -2
- package/modules/Spectrum/FrequencyAllocation/model/channelModel.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/model/density.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/model/index.d.ts +5 -5
- package/modules/Spectrum/FrequencyAllocation/model/resolveFrequencyAllocationData.d.ts +2 -2
- package/modules/Spectrum/FrequencyAllocation/model/resolver.d.ts +4 -4
- package/modules/Spectrum/FrequencyAllocation/model/useAllocationAtCursor.d.ts +2 -2
- package/modules/Spectrum/FrequencyAllocation/model/useFrequencyAllocationData.d.ts +2 -2
- package/modules/Spectrum/FrequencyAllocation/overlays/Tooltip/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/overlays/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/presenters/AllocationInfo/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/presenters/AllocationSegments/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/presenters/index.d.ts +2 -2
- package/modules/Spectrum/FrequencyAllocation/tools.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/types.d.ts +1 -1
- package/modules/Spectrum/FrequencyDataBoard/hooks/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyDataBoard/hooks/useStationInfoAtCursor.d.ts +1 -1
- package/modules/Spectrum/FrequencyDataBoard/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyDataBoard/panels/StationInfoPanel/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyDataBoard/panels/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyTagLine/index.d.ts +3 -3
- package/modules/Spectrum/Markers/MarkerItem/index.d.ts +1 -1
- package/modules/Spectrum/Markers/hooks/useMarkerEvents.d.ts +1 -1
- package/modules/Spectrum/Markers/hooks/useMarkers.d.ts +2 -2
- package/modules/Spectrum/Markers/index.d.ts +1 -1
- package/modules/Spectrum/Markers/tools.d.ts +1 -1
- package/modules/Spectrum/Scope/index.d.ts +1 -1
- package/modules/Spectrum/Scope/useScope.d.ts +1 -1
- package/modules/Spectrum/Signal/index.d.ts +3 -3
- package/modules/Spectrum/Signal/metadata/index.d.ts +2 -2
- package/modules/Spectrum/Signal/model/index.d.ts +4 -4
- package/modules/Spectrum/Signal/model/match.d.ts +2 -2
- package/modules/Spectrum/Signal/model/resolver.d.ts +3 -3
- package/modules/Spectrum/Signal/model/tree.d.ts +2 -2
- package/modules/Spectrum/Signal/model/useStationInfoAtCursor.d.ts +3 -3
- package/modules/Spectrum/Signal/model/useUnifiedSignals.d.ts +1 -1
- package/modules/Spectrum/Signal/presenters/SignalSegments/index.d.ts +1 -1
- package/modules/Spectrum/Signal/presenters/index.d.ts +1 -1
- package/modules/Spectrum/Signal/tools.d.ts +1 -1
- package/modules/Spectrum/Signal/useSignalDataManager.d.ts +1 -1
- package/modules/Spectrum/Stripe/index.d.ts +1 -1
- package/modules/Spectrum/render.d.ts +2 -2
- package/modules/Spectrum/useMarkerPublish.d.ts +1 -1
- package/modules/Spectrum/useSpectrumAnalyzer/index.d.ts +1 -1
- package/modules/Spectrum/useSpectrumAnalyzer/thresholdData.d.ts +1 -1
- package/modules/base/CircularRenderer.d.ts +1 -1
- package/modules/base/GradientRenderer.d.ts +1 -1
- package/modules/base/IQRenderer.d.ts +1 -1
- package/modules/base/index.d.ts +4 -4
- package/package.json +1 -1
- package/runtime/interaction/index.d.ts +2 -2
- package/runtime/passThrough.d.ts +1 -1
- package/store/Params.d.ts +1 -1
- package/store/bandState.d.ts +1 -1
- package/store/chart-store.d.ts +1 -1
- package/store/constants.d.ts +1 -1
- package/store/context.d.ts +3 -3
- package/store/defaultState.d.ts +1 -1
- package/store/globalState.d.ts +2 -2
- package/store/hooks/index.d.ts +1 -1
- package/store/hooks/useStore.d.ts +3 -3
- package/store/index.d.ts +2 -2
- package/store/reducer.d.ts +1 -1
- package/store/runtime.d.ts +2 -2
- package/theme/init-charts-theme.d.ts +2 -2
- package/theme/theme-runtime.d.ts +1 -1
- package/theme/theme-styles.d.ts +1 -1
- package/types/common.d.ts +1 -1
- package/types/index.d.ts +4 -4
- package/types/publish.d.ts +5 -5
- package/types/store/axis.d.ts +2 -2
- package/types/store/index.d.ts +15 -15
- package/types/store/marker.d.ts +1 -1
- package/types/store/series.d.ts +1 -1
- package/types/store/ui.d.ts +2 -2
- package/types/store.d.ts +1 -1
- package/utils/cursor.d.ts +2 -2
- package/utils/frequency.d.ts +2 -2
- package/utils/frequencyCalculation.d.ts +1 -1
- package/utils/index.d.ts +7 -7
- package/utils/object.d.ts +1 -1
- package/utils/series/events.d.ts +2 -2
- package/utils/series/index.d.ts +4 -4
- package/utils/series/subscription.d.ts +1 -1
- package/utils/subscription.d.ts +1 -1
package/index.js.LICENSE.txt
CHANGED
package/modules/Dial/render.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dial } from '@rfkit/renderer';
|
|
2
|
-
import { CircularRenderer, type CircularRenderState } from '../base';
|
|
2
|
+
import { CircularRenderer, type CircularRenderState } from '../base/index.js';
|
|
3
3
|
type DialRenderState = CircularRenderState<Dial>;
|
|
4
4
|
interface DialRenderProps {
|
|
5
5
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Fluorescence as Chart, type FluorescenceRenderMode, type RendererType } from '@rfkit/renderer';
|
|
2
|
-
import { GradientRenderer, type GradientRenderState } from '../base';
|
|
2
|
+
import { GradientRenderer, type GradientRenderState } from '../base/index.js';
|
|
3
3
|
interface FluorescenceData {
|
|
4
4
|
fluorescenceData: Uint32Array;
|
|
5
5
|
fluorescenceMaxCount: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TimestampedFloat32Array, WaterfallSnapshot } from '@rfkit/spectrum-analyzer';
|
|
2
|
-
import type { AxisXProps, HeatmapSlider2DData, SegmentsType } from '../../../types';
|
|
3
|
-
import { type HeatmapContinuousSourceRange, type HeatmapSourceRange } from '../viewport.
|
|
2
|
+
import type { AxisXProps, HeatmapSlider2DData, SegmentsType } from '../../../types/index.js';
|
|
3
|
+
import { type HeatmapContinuousSourceRange, type HeatmapSourceRange } from '../viewport.js';
|
|
4
4
|
export interface HeatmapSliderSelection {
|
|
5
5
|
frequency: readonly [start: number, end: number] | null;
|
|
6
6
|
x: readonly [start: number, end: number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AxisXProps, HeatmapAreaData, HeatmapCaptureProps } from '../../../types';
|
|
2
|
-
import { type HeatmapContinuousSourceRange } from '../viewport';
|
|
1
|
+
import type { AxisXProps, HeatmapAreaData, HeatmapCaptureProps } from '../../../types/index.js';
|
|
2
|
+
import { type HeatmapContinuousSourceRange } from '../viewport.js';
|
|
3
3
|
interface Coordinates {
|
|
4
4
|
startLeft: number;
|
|
5
5
|
endLeft: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IHeatmap, type RendererType } from '@rfkit/renderer';
|
|
2
|
-
import { GradientRenderer, type GradientRenderState } from '../base';
|
|
2
|
+
import { GradientRenderer, type GradientRenderState } from '../base/index.js';
|
|
3
3
|
interface HeatmapRenderProps {
|
|
4
4
|
id: string;
|
|
5
5
|
globalID: string;
|
package/modules/IQEye/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ISeries, OrientationType } from '@rfkit/renderer';
|
|
2
|
-
import { BaseRenderer, type BaseRenderState } from '../base/BaseRenderer';
|
|
2
|
+
import { BaseRenderer, type BaseRenderState } from '../base/BaseRenderer.js';
|
|
3
3
|
interface OccupancyRenderProps {
|
|
4
4
|
id: string;
|
|
5
5
|
orientation?: OrientationType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Radar } from '@rfkit/renderer';
|
|
2
|
-
import { CircularRenderer, type CircularRenderState } from '../base';
|
|
2
|
+
import { CircularRenderer, type CircularRenderState } from '../base/index.js';
|
|
3
3
|
type SpatialSpectrumRenderState = CircularRenderState<Radar>;
|
|
4
4
|
interface SpatialSpectrumRenderProps {
|
|
5
5
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { SegmentType } from '../../../types/common.
|
|
2
|
-
import { type BandState } from '../../../types/store/ui.
|
|
3
|
-
export { resolveBandState } from '../../../store/bandState.
|
|
1
|
+
import type { SegmentType } from '../../../types/common.js';
|
|
2
|
+
import { type BandState } from '../../../types/store/ui.js';
|
|
3
|
+
export { resolveBandState } from '../../../store/bandState.js';
|
|
4
4
|
export interface BandPosition {
|
|
5
5
|
key: string;
|
|
6
6
|
left: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { BandProps } from '../../../types';
|
|
1
|
+
import type { BandProps } from '../../../types/index.js';
|
|
2
2
|
export default function useBandLayerController(): (e: BandProps) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type CSMCallback } from '../../../utils/subscription';
|
|
1
|
+
import { type CSMCallback } from '../../../utils/subscription.js';
|
|
2
2
|
export declare const BLAZE_PROGRESS: (globalID: string, func?: CSMCallback) => (...args: any[]) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { AllocationInfo } from './presenters';
|
|
3
|
-
export { useAllocationFinder } from './model';
|
|
2
|
+
import { AllocationInfo } from './presenters/index.js';
|
|
3
|
+
export { useAllocationFinder } from './model/index.js';
|
|
4
4
|
export { AllocationInfo };
|
|
5
5
|
declare const FrequencyAllocation: React.FC;
|
|
6
6
|
export default FrequencyAllocation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FrequencyAllocationChannel, FrequencyAllocationItem } from '../../../../types';
|
|
1
|
+
import type { FrequencyAllocationChannel, FrequencyAllocationItem } from '../../../../types/index.js';
|
|
2
2
|
export declare const DEFAULT_FREQUENCY_ALLOCATION_CHANNEL_ID = "default";
|
|
3
3
|
export interface ResolvedFrequencyAllocationChannel {
|
|
4
4
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FrequencyAllocationDensity } from '../../../../types';
|
|
1
|
+
import type { FrequencyAllocationDensity } from '../../../../types/index.js';
|
|
2
2
|
export declare const FREQUENCY_ALLOCATION_LANE_HEIGHT = 14;
|
|
3
3
|
export declare const FREQUENCY_ALLOCATION_COMPACT_LANE_HEIGHT = 5;
|
|
4
4
|
export declare const FREQUENCY_ALLOCATION_COMPACT_THRESHOLD = 4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { FREQUENCY_ALLOCATION_COMPACT_LANE_HEIGHT, FREQUENCY_ALLOCATION_COMPACT_THRESHOLD, FREQUENCY_ALLOCATION_LANE_HEIGHT, type FrequencyAllocationDensityModel, resolveFrequencyAllocationDensity } from './density';
|
|
2
|
-
export { type ResolvedFrequencyAllocationChannel, resolveFrequencyAllocationChannels, resolveFrequencyAllocationData } from './resolveFrequencyAllocationData';
|
|
3
|
-
export { createFrequencyAllocationRangeIndex, type FrequencyAllocationLaneData, type FrequencyAllocationRangeCandidate, type FrequencyAllocationSegmentData, findFrequencyAllocationAtCursor, findFrequencyAllocationInRangeIndex, resolveFrequencyAllocationLanes, resolveFrequencyAllocationRange, resolveFrequencyAllocationSegments } from './resolver';
|
|
4
|
-
export { useAllocationAtCursor, useAllocationFinder } from './useAllocationAtCursor';
|
|
5
|
-
export { useFrequencyAllocationChannels, useFrequencyAllocationData } from './useFrequencyAllocationData';
|
|
1
|
+
export { FREQUENCY_ALLOCATION_COMPACT_LANE_HEIGHT, FREQUENCY_ALLOCATION_COMPACT_THRESHOLD, FREQUENCY_ALLOCATION_LANE_HEIGHT, type FrequencyAllocationDensityModel, resolveFrequencyAllocationDensity } from './density.js';
|
|
2
|
+
export { type ResolvedFrequencyAllocationChannel, resolveFrequencyAllocationChannels, resolveFrequencyAllocationData } from './resolveFrequencyAllocationData.js';
|
|
3
|
+
export { createFrequencyAllocationRangeIndex, type FrequencyAllocationLaneData, type FrequencyAllocationRangeCandidate, type FrequencyAllocationSegmentData, findFrequencyAllocationAtCursor, findFrequencyAllocationInRangeIndex, resolveFrequencyAllocationLanes, resolveFrequencyAllocationRange, resolveFrequencyAllocationSegments } from './resolver.js';
|
|
4
|
+
export { useAllocationAtCursor, useAllocationFinder } from './useAllocationAtCursor.js';
|
|
5
|
+
export { useFrequencyAllocationChannels, useFrequencyAllocationData } from './useFrequencyAllocationData.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FrequencyAllocationChannel, FrequencyAllocationItem } from '../../../../types';
|
|
2
|
-
import { type ResolvedFrequencyAllocationChannel } from './channelModel';
|
|
1
|
+
import type { FrequencyAllocationChannel, FrequencyAllocationItem } from '../../../../types/index.js';
|
|
2
|
+
import { type ResolvedFrequencyAllocationChannel } from './channelModel.js';
|
|
3
3
|
export type { ResolvedFrequencyAllocationChannel };
|
|
4
4
|
export declare function resolveFrequencyAllocationChannels({ data, channels }: {
|
|
5
5
|
data?: FrequencyAllocationItem[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { CSSProperties } from 'react';
|
|
2
|
-
import type { FrequencyAllocationItem, SegmentType } from '../../../../types';
|
|
3
|
-
import { type FrequencyRange as CalculatedFrequencyRange } from '../../../../utils/frequencyCalculation.
|
|
4
|
-
import type { BandPosition, FrequencyRange } from '../types';
|
|
5
|
-
import type { ResolvedFrequencyAllocationChannel } from './resolveFrequencyAllocationData';
|
|
2
|
+
import type { FrequencyAllocationItem, SegmentType } from '../../../../types/index.js';
|
|
3
|
+
import { type FrequencyRange as CalculatedFrequencyRange } from '../../../../utils/frequencyCalculation.js';
|
|
4
|
+
import type { BandPosition, FrequencyRange } from '../types.js';
|
|
5
|
+
import type { ResolvedFrequencyAllocationChannel } from './resolveFrequencyAllocationData.js';
|
|
6
6
|
export interface FrequencyAllocationSegmentData {
|
|
7
7
|
segment: SegmentType;
|
|
8
8
|
segmentIndex: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { CursorSampleSnapshot } from '../../../../runtime/interaction';
|
|
1
|
+
import type { CursorSampleSnapshot } from '../../../../runtime/interaction/index.js';
|
|
2
2
|
interface UseAllocationFinderProps {
|
|
3
3
|
frequency: string;
|
|
4
4
|
cursorSample?: CursorSampleSnapshot | null;
|
|
5
5
|
}
|
|
6
|
-
export declare function useAllocationAtCursor({ frequency, cursorSample }: UseAllocationFinderProps): import("
|
|
6
|
+
export declare function useAllocationAtCursor({ frequency, cursorSample }: UseAllocationFinderProps): import("../../../../index.js").FrequencyAllocationItem | undefined;
|
|
7
7
|
export declare const useAllocationFinder: typeof useAllocationAtCursor;
|
|
8
8
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function useFrequencyAllocationData(): import("
|
|
2
|
-
export declare function useFrequencyAllocationChannels(): import("./channelModel").ResolvedFrequencyAllocationChannel[];
|
|
1
|
+
export declare function useFrequencyAllocationData(): import("../../../../index.js").FrequencyAllocationItem[];
|
|
2
|
+
export declare function useFrequencyAllocationChannels(): import("./channelModel.js").ResolvedFrequencyAllocationChannel[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as AllocationTooltip } from './Tooltip';
|
|
1
|
+
export { default as AllocationTooltip } from './Tooltip/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { FrequencyAllocationItem } from '../../../../../types';
|
|
2
|
+
import type { FrequencyAllocationItem } from '../../../../../types/index.js';
|
|
3
3
|
interface Props {
|
|
4
4
|
allocationInfo?: FrequencyAllocationItem & {
|
|
5
5
|
startFrequency?: string | number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as AllocationInfo } from './AllocationInfo';
|
|
2
|
-
export { default as AllocationSegments } from './AllocationSegments';
|
|
1
|
+
export { default as AllocationInfo } from './AllocationInfo/index.js';
|
|
2
|
+
export { default as AllocationSegments } from './AllocationSegments/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FrequencyAllocationChannel, FrequencyAllocationItem } from '../../../types';
|
|
1
|
+
import type { FrequencyAllocationChannel, FrequencyAllocationItem } from '../../../types/index.js';
|
|
2
2
|
export declare const getFrequencyAllocationFromCache: () => FrequencyAllocationItem[] | null;
|
|
3
3
|
export declare const getFrequencyAllocationChannelsFromCache: () => FrequencyAllocationChannel[] | null;
|
|
4
4
|
export declare const setFrequencyAllocationToCache: (data: FrequencyAllocationItem[]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useSignalFinder, useSignalInfoAtCursor, useStationFinder, useStationInfoAtCursor } from './useStationInfoAtCursor';
|
|
1
|
+
export { useSignalFinder, useSignalInfoAtCursor, useStationFinder, useStationInfoAtCursor } from './useStationInfoAtCursor.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useSignalFinder, useSignalInfoAtCursor, useStationFinder, useStationInfoAtCursor } from '../../Signal/model';
|
|
1
|
+
export { useSignalFinder, useSignalInfoAtCursor, useStationFinder, useStationInfoAtCursor } from '../../Signal/model/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as SignalInfoPanel } from './StationInfoPanel';
|
|
1
|
+
export { default as SignalInfoPanel } from './StationInfoPanel/index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ToolType } from '../../../config';
|
|
3
|
-
import FrequencyTagLineBoard from './Board';
|
|
4
|
-
import FrequencyTagLineSwitch from './Switch';
|
|
2
|
+
import { ToolType } from '../../../config/index.js';
|
|
3
|
+
import FrequencyTagLineBoard from './Board/index.js';
|
|
4
|
+
import FrequencyTagLineSwitch from './Switch/index.js';
|
|
5
5
|
export { FrequencyTagLineBoard, FrequencyTagLineSwitch };
|
|
6
6
|
export declare const COMPONENT_KEY = ToolType.FrequencyTagLine;
|
|
7
7
|
interface Props {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MarkerEventType } from '../../../../config';
|
|
2
|
-
import type { MarkerType, SetMarker } from '../../../../types';
|
|
1
|
+
import { MarkerEventType } from '../../../../config/index.js';
|
|
2
|
+
import type { MarkerType, SetMarker } from '../../../../types/index.js';
|
|
3
3
|
interface UseMarkersProps {
|
|
4
4
|
id: string;
|
|
5
5
|
globalID: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { MARKER_UPDATE_ATTRIBUTE, MARKER_UPDATE_RESET } from './tools';
|
|
2
|
+
import { MARKER_UPDATE_ATTRIBUTE, MARKER_UPDATE_RESET } from './tools.js';
|
|
3
3
|
export { MARKER_UPDATE_ATTRIBUTE, MARKER_UPDATE_RESET };
|
|
4
4
|
interface Props {
|
|
5
5
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MarkerType, RecursiveFunction, SegmentsType, SetMarker } from '../../../types';
|
|
1
|
+
import type { MarkerType, RecursiveFunction, SegmentsType, SetMarker } from '../../../types/index.js';
|
|
2
2
|
export declare const MARKER_UPDATE_ATTRIBUTE: (id: string, func?: RecursiveFunction<[SetMarker]>) => (...args: any[]) => void;
|
|
3
3
|
export declare const MARKER_UPDATE_RESET: (id: string, func?: RecursiveFunction) => (...args: any[]) => void;
|
|
4
4
|
export declare const MARKER_COUNT_CHANGE: (id: string, func?: RecursiveFunction<[{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { RecursiveObject } from '../../../types';
|
|
1
|
+
import type { RecursiveObject } from '../../../types/index.js';
|
|
2
2
|
export default function useScope(): (e: RecursiveObject) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import SignalSwitch from './Switch';
|
|
3
|
-
export { useSignalFinder, useStationFinder } from './model';
|
|
4
|
-
export { useSignalDataManager } from './useSignalDataManager';
|
|
2
|
+
import SignalSwitch from './Switch/index.js';
|
|
3
|
+
export { useSignalFinder, useStationFinder } from './model/index.js';
|
|
4
|
+
export { useSignalDataManager } from './useSignalDataManager.js';
|
|
5
5
|
export { SignalSwitch };
|
|
6
6
|
interface Props {
|
|
7
7
|
id: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { normalizeSignalLevel, resolveSignalColor, SIGNAL_LEVEL_FIRST, SIGNAL_LEVEL_MAP, SIGNAL_LEVEL_ORDER, SIGNAL_LEVEL_SECOND, SIGNAL_LEVEL_THIRD, SIGNAL_LEVEL_UNASSIGNED, type SignalLevelMeta } from './level.
|
|
2
|
-
export { normalizeSignalType, SIGNAL_TYPE_MAP, SIGNAL_TYPE_ORDER, SignalType, type SignalTypeKey, type SignalTypeMeta, signalTypeMap } from './signalType.
|
|
1
|
+
export { normalizeSignalLevel, resolveSignalColor, SIGNAL_LEVEL_FIRST, SIGNAL_LEVEL_MAP, SIGNAL_LEVEL_ORDER, SIGNAL_LEVEL_SECOND, SIGNAL_LEVEL_THIRD, SIGNAL_LEVEL_UNASSIGNED, type SignalLevelMeta } from './level.js';
|
|
2
|
+
export { normalizeSignalType, SIGNAL_TYPE_MAP, SIGNAL_TYPE_ORDER, SignalType, type SignalTypeKey, type SignalTypeMeta, signalTypeMap } from './signalType.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createSignalRangeIndex, createStationRangeIndex, findSignalAtCursor, findSignalInRangeIndex, findStationAtCursor, findStationInRangeIndex, resolveActiveSignalKey, resolveSignalMatchCandidates, resolveSignalPositions, resolveSignalPresentation, resolveSignalSegments, resolveStaticSignalSegments, type SignalPosition, type SignalSegmentData } from './resolver';
|
|
2
|
-
export { buildSignalTree, filterSignalItemsByHiddenKeys, getSignalLeafKey, getUnifiedSignalKey, isStationInfo, resolveNodeCheckState, resolveSignalSource, SIGNAL_SOURCE_LABEL, SIGNAL_SOURCE_ORDER, type SignalNodeCheckState, type SignalSource, type SignalTree, type SignalTreeLevelNode, type SignalTreeSourceNode, type SignalTreeTypeNode, toggleNodeHiddenKeys, type UnifiedSignalItem } from './tree';
|
|
3
|
-
export { useSignalFinder, useSignalInfoAtCursor, useStationFinder, useStationInfoAtCursor } from './useStationInfoAtCursor';
|
|
4
|
-
export { useUnifiedSignals } from './useUnifiedSignals';
|
|
1
|
+
export { createSignalRangeIndex, createStationRangeIndex, findSignalAtCursor, findSignalInRangeIndex, findStationAtCursor, findStationInRangeIndex, resolveActiveSignalKey, resolveSignalMatchCandidates, resolveSignalPositions, resolveSignalPresentation, resolveSignalSegments, resolveStaticSignalSegments, type SignalPosition, type SignalSegmentData } from './resolver.js';
|
|
2
|
+
export { buildSignalTree, filterSignalItemsByHiddenKeys, getSignalLeafKey, getUnifiedSignalKey, isStationInfo, resolveNodeCheckState, resolveSignalSource, SIGNAL_SOURCE_LABEL, SIGNAL_SOURCE_ORDER, type SignalNodeCheckState, type SignalSource, type SignalTree, type SignalTreeLevelNode, type SignalTreeSourceNode, type SignalTreeTypeNode, toggleNodeHiddenKeys, type UnifiedSignalItem } from './tree.js';
|
|
3
|
+
export { useSignalFinder, useSignalInfoAtCursor, useStationFinder, useStationInfoAtCursor } from './useStationInfoAtCursor.js';
|
|
4
|
+
export { useUnifiedSignals } from './useUnifiedSignals.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type FrequencyRange, type FrequencyRangeInput } from '../../../../utils/frequencyCalculation.
|
|
2
|
-
import { type UnifiedSignalItem } from './tree.
|
|
1
|
+
import { type FrequencyRange, type FrequencyRangeInput } from '../../../../utils/frequencyCalculation.js';
|
|
2
|
+
import { type UnifiedSignalItem } from './tree.js';
|
|
3
3
|
export interface SignalMatchCandidate {
|
|
4
4
|
item: UnifiedSignalItem;
|
|
5
5
|
range: FrequencyRange;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CSSProperties } from 'react';
|
|
2
|
-
import type { SegmentType, StationInfoType } from '../../../../types';
|
|
3
|
-
import { type SignalMatchCandidate } from './match.
|
|
4
|
-
import { type UnifiedSignalItem } from './tree.
|
|
2
|
+
import type { SegmentType, StationInfoType } from '../../../../types/index.js';
|
|
3
|
+
import { type SignalMatchCandidate } from './match.js';
|
|
4
|
+
import { type UnifiedSignalItem } from './tree.js';
|
|
5
5
|
export interface SignalPosition extends SignalMatchCandidate {
|
|
6
6
|
key: string;
|
|
7
7
|
position: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { StationInfoType } from '../../../../types';
|
|
2
|
-
import type { SignalData } from '../../../../types/store';
|
|
1
|
+
import type { StationInfoType } from '../../../../types/index.js';
|
|
2
|
+
import type { SignalData } from '../../../../types/store/index.js';
|
|
3
3
|
export type UnifiedSignalItem = StationInfoType | SignalData;
|
|
4
4
|
export type SignalSource = 'station' | 'simple';
|
|
5
5
|
export declare const SIGNAL_SOURCE_ORDER: SignalSource[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { CursorSampleSnapshot } from '../../../../runtime/interaction';
|
|
2
|
-
import { type UnifiedSignalItem } from './tree';
|
|
1
|
+
import type { CursorSampleSnapshot } from '../../../../runtime/interaction/index.js';
|
|
2
|
+
import { type UnifiedSignalItem } from './tree.js';
|
|
3
3
|
interface UseSignalFinderProps {
|
|
4
4
|
frequency: string;
|
|
5
5
|
enabled?: boolean;
|
|
6
6
|
cursorSample?: CursorSampleSnapshot | null;
|
|
7
7
|
}
|
|
8
8
|
export declare function useSignalInfoAtCursor(props: UseSignalFinderProps): UnifiedSignalItem | undefined;
|
|
9
|
-
export declare function useStationInfoAtCursor(props: UseSignalFinderProps): import("
|
|
9
|
+
export declare function useStationInfoAtCursor(props: UseSignalFinderProps): import("../../../../index.js").StationInfoType | undefined;
|
|
10
10
|
export declare const useSignalFinder: typeof useSignalInfoAtCursor;
|
|
11
11
|
export declare const useStationFinder: typeof useStationInfoAtCursor;
|
|
12
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as SignalSegments } from './SignalSegments';
|
|
1
|
+
export { default as SignalSegments } from './SignalSegments/index.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { RecursiveFunction, StationInfoType } from '../../../types';
|
|
1
|
+
import type { RecursiveFunction, StationInfoType } from '../../../types/index.js';
|
|
2
2
|
export declare const withStationDataUpdate: (globalID: string, name?: string, func?: RecursiveFunction) => (...args: any[]) => void;
|
|
3
3
|
export declare const STATION_DATA: (globalID: string, data?: StationInfoType[]) => StationInfoType[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SignalData, SignalDataType, StationInfoType } from '../../../types';
|
|
1
|
+
import type { SignalData, SignalDataType, StationInfoType } from '../../../types/index.js';
|
|
2
2
|
export declare function useSignalDataManager(): {
|
|
3
3
|
updateSignalData: (params: {
|
|
4
4
|
type: SignalDataType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ISeries } from '@rfkit/renderer';
|
|
2
|
-
import { BaseRenderer, type BaseRenderState } from '../base/BaseRenderer';
|
|
3
|
-
import type { AxisYRange, SeriesConfig, SpectrumExtraData } from '../../types';
|
|
2
|
+
import { BaseRenderer, type BaseRenderState } from '../base/BaseRenderer.js';
|
|
3
|
+
import type { AxisYRange, SeriesConfig, SpectrumExtraData } from '../../types/index.js';
|
|
4
4
|
interface SpectrumChart extends ISeries {
|
|
5
5
|
clear(): void;
|
|
6
6
|
dispose(): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type SpectrumConfig } from '@rfkit/spectrum-analyzer';
|
|
2
|
-
import type { PublishData } from '../../../types';
|
|
2
|
+
import type { PublishData } from '../../../types/index.js';
|
|
3
3
|
export default function useSpectrumAnalyzer(props?: SpectrumConfig): (e: PublishData) => Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PublishSpectrum } from '../../../types';
|
|
1
|
+
import type { PublishSpectrum } from '../../../types/index.js';
|
|
2
2
|
export type SpectrumThresholdDataOptions = Pick<PublishSpectrum, 'segmentOffset' | 'offset'>;
|
|
3
3
|
export declare function resolveThresholdDataOptions({ segmentOffset, offset }: SpectrumThresholdDataOptions): SpectrumThresholdDataOptions | undefined;
|
|
4
4
|
type ThresholdDataTarget = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IQ, IQEye } from '@rfkit/renderer';
|
|
2
|
-
import { BaseRenderer, type BaseRenderState } from './BaseRenderer';
|
|
2
|
+
import { BaseRenderer, type BaseRenderState } from './BaseRenderer.js';
|
|
3
3
|
export type IQChartType = 'iqEye' | 'iqLine' | 'iqPlanisphere' | 'iqStream';
|
|
4
4
|
interface IQRenderState extends BaseRenderState<IQ | IQEye> {
|
|
5
5
|
type: IQChartType;
|