@rfkit/charts 1.3.13 → 1.4.1
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/README.md +169 -229
- package/{lib → charts}/index.d.ts +1 -1
- package/components/AxisY/heatmap/index.d.ts +1 -1
- package/components/AxisY/heatmap/variants/standard/index.d.ts +6 -0
- package/components/AxisY/spectrum/controls/index.d.ts +3 -0
- package/components/AxisY/spectrum/index.d.ts +3 -2
- package/components/AxisY/spectrum/{components/Ticks → presenters/TicksPanel}/index.d.ts +3 -3
- package/components/AxisY/spectrum/presenters/index.d.ts +1 -0
- package/components/AxisY/spectrum/useRanging/index.d.ts +4 -1
- package/components/AxisY/spectrum/useRanging/ranging.d.ts +3 -1
- package/components/Container/runtime.d.ts +10 -0
- package/components/Cursor/popover-support.d.ts +8 -0
- package/components/Cursor/registry.d.ts +7 -0
- package/components/DragSelectBox/index.d.ts +3 -1
- package/components/GridLines/OccupancyDashed/index.d.ts +3 -0
- package/components/{Dropdown → Overlay/Dropdown}/index.d.ts +10 -2
- package/components/{Tooltip → Overlay/Tooltip}/index.d.ts +1 -1
- package/components/Overlay/index.d.ts +4 -0
- package/components/{ToolsBar → Toolbar/controls}/SeriesControl/index.d.ts +1 -1
- package/components/Toolbar/controls/index.d.ts +4 -0
- package/components/{ToolsBar → Toolbar/decorations}/GradientRibbon/index.d.ts +1 -1
- package/components/Toolbar/decorations/index.d.ts +2 -0
- package/components/Toolbar/primitives/IconBox.d.ts +11 -0
- package/components/Toolbar/primitives/ToolbarContentBox.d.ts +11 -0
- package/components/Toolbar/primitives/ToolbarDropdown.d.ts +16 -0
- package/components/Toolbar/primitives/ToolbarGlyph.d.ts +10 -0
- package/components/Toolbar/primitives/ToolbarGroup.d.ts +10 -0
- package/components/Toolbar/primitives/ToolbarGroupIconBox.d.ts +5 -0
- package/components/Toolbar/primitives/ToolbarSurface.d.ts +15 -0
- package/components/Toolbar/primitives/index.d.ts +8 -0
- package/components/Toolbar/primitives/styles.d.ts +41 -0
- package/components/Toolbar/registry.d.ts +12 -0
- package/components/Toolbar/toggles/index.d.ts +10 -0
- package/components/Zoom/ZoomViewportLayer.d.ts +7 -0
- package/components/ui/button.d.ts +16 -0
- package/components/ui/checkbox.d.ts +4 -0
- package/components/ui/cursor-follow-layer.d.ts +10 -0
- package/components/ui/dialog.d.ts +12 -0
- package/components/ui/dropdown-menu.d.ts +9 -0
- package/components/ui/input.d.ts +1 -0
- package/components/ui/number-input.d.ts +10 -0
- package/components/ui/panel.d.ts +9 -0
- package/components/ui/popover.d.ts +7 -0
- package/components/ui/scroll-area.d.ts +5 -0
- package/components/ui/select.d.ts +11 -0
- package/components/ui/separator.d.ts +4 -0
- package/components/ui/slider.d.ts +2 -0
- package/components/ui/switch.d.ts +2 -0
- package/components/ui/tabs.d.ts +7 -0
- package/components/ui/tooltip.d.ts +7 -0
- package/components/ui/useChartsPortalContainer.d.ts +1 -0
- package/config/constants.d.ts +2 -2
- package/config/setting.d.ts +3 -3
- package/hooks/index.d.ts +2 -3
- package/hooks/module-subscription-core.d.ts +23 -0
- package/hooks/publish/enhancedPublish.d.ts +17 -0
- package/hooks/publish/index.d.ts +1 -1
- package/hooks/publish/publish-event.d.ts +9 -0
- package/hooks/publish/useSafePublish.d.ts +2 -8
- package/hooks/useChartComponent.d.ts +0 -6
- package/hooks/useDragSelect.d.ts +2 -0
- package/hooks/useLevelStreamAnalyzer.d.ts +1 -1
- package/hooks/useModuleSubscription.d.ts +21 -23
- package/index.d.ts +7 -3
- package/index.js +23912 -11942
- package/modules/Gauge/render.d.ts +0 -2
- package/{components/HeatmapCapture → modules/Heatmap/Capture}/tools.d.ts +1 -1
- package/modules/Heatmap/CursorPopover.d.ts +6 -0
- package/modules/Heatmap/render.d.ts +2 -0
- package/modules/Level/CursorPopover.d.ts +6 -0
- package/modules/Occupancy/CursorPopover.d.ts +3 -0
- package/modules/Occupancy/TotalLine/index.d.ts +1 -1
- package/modules/Occupancy/total-line-runtime.d.ts +4 -0
- package/modules/Spectrum/AxisYCanvas/index.d.ts +6 -0
- package/{components/AxisYByCanvas → modules/Spectrum/AxisYCanvas}/useCanvasAxisY.d.ts +2 -2
- package/modules/Spectrum/BandLayer/index.d.ts +5 -0
- package/modules/Spectrum/BandLayer/useBandLayerController.d.ts +2 -0
- package/{components → modules/Spectrum}/Blaze/tools.d.ts +1 -1
- package/modules/Spectrum/CursorPopover.d.ts +6 -0
- package/{components → modules/Spectrum}/FrequencyAllocation/color.d.ts +1 -1
- package/{components → modules/Spectrum}/FrequencyAllocation/index.d.ts +2 -2
- package/modules/Spectrum/FrequencyAllocation/model/index.d.ts +4 -0
- package/modules/Spectrum/FrequencyAllocation/model/resolveFrequencyAllocationData.d.ts +2 -0
- package/modules/Spectrum/FrequencyAllocation/model/resolver.d.ts +18 -0
- package/modules/Spectrum/FrequencyAllocation/model/useAllocationAtCursor.d.ts +6 -0
- package/modules/Spectrum/FrequencyAllocation/model/useFrequencyAllocationData.d.ts +1 -0
- package/modules/Spectrum/FrequencyAllocation/overlays/Tooltip/index.d.ts +4 -0
- package/modules/Spectrum/FrequencyAllocation/overlays/index.d.ts +1 -0
- package/{components/FrequencyAllocation → modules/Spectrum/FrequencyAllocation/presenters}/AllocationInfo/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyAllocation/presenters/AllocationSegments/index.d.ts +12 -0
- package/modules/Spectrum/FrequencyAllocation/presenters/index.d.ts +2 -0
- package/{components → modules/Spectrum}/FrequencyAllocation/tools.d.ts +1 -1
- package/{components → modules/Spectrum}/FrequencyAllocation/types.d.ts +1 -1
- package/modules/Spectrum/FrequencyDataBoard/hooks/index.d.ts +1 -0
- package/modules/Spectrum/FrequencyDataBoard/hooks/useStationInfoAtCursor.d.ts +1 -0
- package/{components → modules/Spectrum}/FrequencyDataBoard/index.d.ts +1 -0
- package/{components/FrequencyDataBoard/StationInfo → modules/Spectrum/FrequencyDataBoard/panels/StationInfoPanel}/index.d.ts +1 -1
- package/modules/Spectrum/FrequencyDataBoard/panels/index.d.ts +1 -0
- package/{components → modules/Spectrum}/FrequencyTagLine/index.d.ts +2 -2
- package/{components → modules/Spectrum}/Markers/MarkerItem/index.d.ts +1 -1
- package/{components → modules/Spectrum}/Markers/hooks/useMarkerEvents.d.ts +1 -1
- package/{components → modules/Spectrum}/Markers/hooks/useMarkers.d.ts +2 -2
- package/{components → modules/Spectrum}/Markers/tools.d.ts +1 -1
- package/{components → modules/Spectrum}/Scope/useScope.d.ts +1 -1
- package/{components → modules/Spectrum}/Signal/index.d.ts +2 -1
- package/modules/Spectrum/Signal/metadata/index.d.ts +1 -0
- package/modules/Spectrum/Signal/model/index.d.ts +3 -0
- package/modules/Spectrum/Signal/model/resolver.d.ts +40 -0
- package/modules/Spectrum/Signal/model/useStationInfoAtCursor.d.ts +7 -0
- package/modules/Spectrum/Signal/model/useUnifiedSignals.d.ts +6 -0
- package/modules/Spectrum/Signal/presenters/SignalSegments/index.d.ts +10 -0
- package/modules/Spectrum/Signal/presenters/index.d.ts +1 -0
- package/{components → modules/Spectrum}/Signal/tools.d.ts +1 -1
- package/{components → modules/Spectrum}/Signal/useSignalDataManager.d.ts +1 -1
- package/modules/Spectrum/Signal/utils.d.ts +27 -0
- package/modules/Spectrum/render.d.ts +31 -52
- package/{hooks → modules/Spectrum}/useSpectrumAnalyzer/index.d.ts +1 -1
- package/modules/base/BaseRenderer.d.ts +63 -0
- package/modules/base/CircularRenderer.d.ts +4 -5
- package/package.json +28 -4
- package/{modules/tools.d.ts → runtime/passThrough.d.ts} +1 -1
- package/store/Params.d.ts +2 -1
- package/store/chart-store.d.ts +11 -0
- package/store/constants.d.ts +2 -3
- package/store/context.d.ts +6 -3
- package/store/globalState.d.ts +4 -0
- package/store/hooks/index.d.ts +1 -0
- package/store/hooks/useStore.d.ts +11 -1
- package/store/index.d.ts +1 -1
- package/store/reducer.d.ts +1 -67
- package/store/runtime.d.ts +16 -0
- package/tailwind-bridge.css +50 -0
- package/theme/init-charts-theme.d.ts +12 -0
- package/theme/style-scope.d.ts +20 -0
- package/theme/theme-color.d.ts +7 -0
- package/theme/theme-contract.d.ts +28 -0
- package/theme/theme-runtime.d.ts +14 -0
- package/theme/theme-styles.d.ts +10 -0
- package/theme/theme-tokens.d.ts +85 -0
- package/types/common.d.ts +1 -1
- package/types/store/index.d.ts +6 -4
- package/types/store/ui.d.ts +19 -5
- package/utils/cn.d.ts +2 -0
- package/utils/converter.d.ts +1 -1
- package/utils/cursor.d.ts +12 -0
- package/utils/frequencyCalculation.d.ts +8 -0
- package/utils/index.d.ts +1 -1
- package/utils/subscription.d.ts +18 -2
- package/components/AxisY/heatmap/type/Default/index.d.ts +0 -6
- package/components/AxisYByCanvas/index.d.ts +0 -6
- package/components/Band/index.d.ts +0 -5
- package/components/Band/useBand.d.ts +0 -2
- package/components/Cursor/Popover/index.d.ts +0 -10
- package/components/FrequencyAllocation/SegmentContainer.d.ts +0 -12
- package/components/FrequencyAllocation/Tooltip/index.d.ts +0 -8
- package/components/FrequencyAllocation/useAllocationFinder.d.ts +0 -10
- package/components/GridLines/Occdahsed/index.d.ts +0 -3
- package/components/Signal/SegmentContainer.d.ts +0 -26
- package/components/Signal/useStationFinder.d.ts +0 -12
- package/components/Signal/utils.d.ts +0 -15
- package/components/SignalAnalysis/Switch/index.d.ts +0 -3
- package/components/ToolsBar/IconBox.d.ts +0 -12
- package/components/Zoom/ZoomOffsetContainer/index.d.ts +0 -7
- package/lib/LevelStream/useAxisY.d.ts +0 -1
- package/utils/theme.d.ts +0 -18
- /package/{lib → charts}/Dial/Chart.d.ts +0 -0
- /package/{lib → charts}/Dial/index.d.ts +0 -0
- /package/{lib → charts}/Gauge/Chart.d.ts +0 -0
- /package/{lib → charts}/Gauge/index.d.ts +0 -0
- /package/{lib → charts}/Heatmap/Chart.d.ts +0 -0
- /package/{lib → charts}/Heatmap/index.d.ts +0 -0
- /package/{lib → charts}/IQ/Chart.d.ts +0 -0
- /package/{lib → charts}/IQ/index.d.ts +0 -0
- /package/{lib → charts}/LevelStream/Chart.d.ts +0 -0
- /package/{lib → charts}/LevelStream/index.d.ts +0 -0
- /package/{lib → charts}/Occupancy/Chart.d.ts +0 -0
- /package/{lib → charts}/Occupancy/index.d.ts +0 -0
- /package/{lib → charts}/SpatialSpectrum/Chart.d.ts +0 -0
- /package/{lib → charts}/SpatialSpectrum/index.d.ts +0 -0
- /package/{lib → charts}/Spectrum/Chart.d.ts +0 -0
- /package/{lib → charts}/Spectrum/index.d.ts +0 -0
- /package/components/AxisY/heatmap/{type/Default → variants/standard}/GradientRibbon/index.d.ts +0 -0
- /package/components/AxisY/occupancy/{type/Default → variants/standard}/index.d.ts +0 -0
- /package/components/AxisY/spectrum/{components/Autoranging/index.d.ts → controls/AutorangingControl.d.ts} +0 -0
- /package/components/AxisY/spectrum/{components/Step/index.d.ts → controls/StepControl.d.ts} +0 -0
- /package/components/AxisY/spectrum/{components/Unit/index.d.ts → controls/UnitControl.d.ts} +0 -0
- /package/components/{Popover → Overlay/Popover}/index.d.ts +0 -0
- /package/components/{Portal → Overlay/Portal}/index.d.ts +0 -0
- /package/components/{ToolsBar → Toolbar/controls}/Reset.d.ts +0 -0
- /package/components/{ToolsBar → Toolbar/controls}/SegmentsDisplayControl/index.d.ts +0 -0
- /package/components/{ToolsBar → Toolbar/controls}/SeriesDisplayControl/index.d.ts +0 -0
- /package/components/{ToolsBar → Toolbar/decorations}/SpacerLine.d.ts +0 -0
- /package/components/{ToolsBar → Toolbar}/index.d.ts +0 -0
- /package/{components/GuageBox/index.d.ts → modules/Gauge/InteractionSurface.d.ts} +0 -0
- /package/{components/HeatmapCapture → modules/Heatmap/Capture}/Area/index.d.ts +0 -0
- /package/{components/HeatmapCapture → modules/Heatmap/Capture}/RowIndex/index.d.ts +0 -0
- /package/{components/HeatmapCapture → modules/Heatmap/Capture}/Slider/index.d.ts +0 -0
- /package/{components/FrequencyTagLine → modules/Heatmap/Capture}/Switch/index.d.ts +0 -0
- /package/{components/HeatmapCapture → modules/Heatmap/Capture}/index.d.ts +0 -0
- /package/{components/HeatmapCapture → modules/Heatmap/TimeRange}/Switch/index.d.ts +0 -0
- /package/{components → modules/Heatmap}/TimeRange/useTimeRange.d.ts +0 -0
- /package/{components → modules/Spectrum}/Blaze/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/DeltaMeasurement/Switch.d.ts +0 -0
- /package/{components → modules/Spectrum}/DeltaMeasurement/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/DragFrame/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/FrequencyAllocation/Switch/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/FrequencyAllocation/data.d.ts +0 -0
- /package/{components → modules/Spectrum}/FrequencyTagLine/Board/index.d.ts +0 -0
- /package/{components/Limit → modules/Spectrum/FrequencyTagLine}/Switch/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/Legend/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/Limit/Item.d.ts +0 -0
- /package/{components/TimeRange → modules/Spectrum/Limit}/Switch/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/Limit/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/Markers/Switch/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/Markers/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/Scope/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/SegmentsZebra/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/Signal/Switch/index.d.ts +0 -0
- /package/{components/Signal/type.d.ts → modules/Spectrum/Signal/metadata/signalType.d.ts} +0 -0
- /package/{components → modules/Spectrum}/Stripe/Switch/index.d.ts +0 -0
- /package/{components → modules/Spectrum}/Stripe/index.d.ts +0 -0
- /package/{hooks/publish → modules/Spectrum}/useMarkerPublish.d.ts +0 -0
- /package/{hooks → modules/Spectrum}/useSpectrumAnalyzer/useTemplateComparison.d.ts +0 -0
package/utils/subscription.d.ts
CHANGED
|
@@ -3,13 +3,21 @@ import type { RecursiveFunction } from '../types';
|
|
|
3
3
|
interface ChartsGlobal {
|
|
4
4
|
datas: Record<string, unknown>;
|
|
5
5
|
subscriptions: ChartSubscriptions;
|
|
6
|
+
owners: RuntimeOwners;
|
|
6
7
|
}
|
|
7
8
|
declare global {
|
|
8
9
|
interface Window {
|
|
9
10
|
charts?: ChartsGlobal;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
+
interface RuntimeOwnerRecord {
|
|
14
|
+
datas: Set<string>;
|
|
15
|
+
subscriptions: Set<string>;
|
|
16
|
+
}
|
|
17
|
+
interface RuntimeOwners {
|
|
18
|
+
[owner: string]: RuntimeOwnerRecord;
|
|
19
|
+
}
|
|
20
|
+
export declare function openData<T = unknown>(key: string, data: T | undefined, defaultData: T, owner?: string): T;
|
|
13
21
|
/**
|
|
14
22
|
* 共享订阅
|
|
15
23
|
* Note: Using any[] for callback args since this is a generic pub/sub system
|
|
@@ -22,7 +30,15 @@ interface Subscription {
|
|
|
22
30
|
interface ChartSubscriptions {
|
|
23
31
|
[id: string]: Subscription;
|
|
24
32
|
}
|
|
25
|
-
export declare function createSubscriptionManager(id: string, name?: string, func?: CSMCallback): (...args: any[]) => void;
|
|
33
|
+
export declare function createSubscriptionManager(id: string, name?: string, func?: CSMCallback, owner?: string): (...args: any[]) => void;
|
|
34
|
+
export declare const getPublishSubscriptionKey: (globalID: string) => string;
|
|
35
|
+
export declare const getModuleSubscriptionKey: (globalID: string, moduleName: string) => string;
|
|
36
|
+
export declare const getDatabaseStorageKey: (globalID: string) => string;
|
|
37
|
+
export declare const getAnalyzerStorageKey: (globalID: string) => string;
|
|
38
|
+
export declare const getUpdateDataSubscriptionKey: (id?: string) => string;
|
|
39
|
+
export declare const createPublishSubscriptionManager: (globalID: string, func?: CSMCallback, name?: string) => (...args: any[]) => void;
|
|
40
|
+
export declare const createModuleSubscriptionManager: (globalID: string, moduleName: string, func?: CSMCallback, name?: string) => (...args: any[]) => void;
|
|
41
|
+
export declare function releaseChartsRuntimeOwners(owners: Array<string | undefined>): void;
|
|
26
42
|
export interface rawData {
|
|
27
43
|
getAllRawData: (left?: number) => SpectrumOutputData;
|
|
28
44
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
interface PopoverProps {
|
|
3
|
-
id: string;
|
|
4
|
-
timestamp?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const SpectrumPopover: React.FC<PopoverProps>;
|
|
7
|
-
export declare const HeatmapPopover: React.FC<PopoverProps>;
|
|
8
|
-
export declare const LevelStreamPopover: React.FC<PopoverProps>;
|
|
9
|
-
export declare const OccupancyPopover: React.FC;
|
|
10
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { FrequencyAllocationItem } from '../../types';
|
|
3
|
-
import type { BandPosition, FrequencyRange } from './types';
|
|
4
|
-
interface SegmentContainerProps {
|
|
5
|
-
style: React.CSSProperties;
|
|
6
|
-
bandPositions: BandPosition[];
|
|
7
|
-
onMouseEnter: (band: FrequencyAllocationItem, range: FrequencyRange) => (e: React.MouseEvent) => void;
|
|
8
|
-
onMouseMove: (e: React.MouseEvent) => void;
|
|
9
|
-
onMouseLeave: () => void;
|
|
10
|
-
}
|
|
11
|
-
declare const SegmentContainer: React.FC<SegmentContainerProps>;
|
|
12
|
-
export default SegmentContainer;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FrequencyAllocationItem } from '../../types';
|
|
2
|
-
interface UseAllocationFinderProps {
|
|
3
|
-
frequency: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* 频率划分查找 Hook
|
|
7
|
-
* 基于当前频率,在频率划分数据中查找匹配的项
|
|
8
|
-
*/
|
|
9
|
-
export declare function useAllocationFinder({ frequency }: UseAllocationFinderProps): FrequencyAllocationItem | undefined;
|
|
10
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import { type UnifiedSignalItem } from './utils';
|
|
3
|
-
/**
|
|
4
|
-
* 统一的信号位置数据(兼容 StationInfo 和 SignalData)
|
|
5
|
-
*/
|
|
6
|
-
interface SignalPosition {
|
|
7
|
-
item: UnifiedSignalItem;
|
|
8
|
-
position: {
|
|
9
|
-
left: string;
|
|
10
|
-
width: string;
|
|
11
|
-
};
|
|
12
|
-
startIndex: number;
|
|
13
|
-
stopIndex: number;
|
|
14
|
-
color: string;
|
|
15
|
-
tooltip?: string;
|
|
16
|
-
}
|
|
17
|
-
interface SegmentContainerProps {
|
|
18
|
-
style: React.CSSProperties;
|
|
19
|
-
signalPositions: SignalPosition[];
|
|
20
|
-
currentFrequency: number;
|
|
21
|
-
segmentIndex: number;
|
|
22
|
-
isCurrentSegment: boolean;
|
|
23
|
-
currentPointIndex: number;
|
|
24
|
-
}
|
|
25
|
-
declare const SegmentContainer: React.FC<SegmentContainerProps>;
|
|
26
|
-
export default SegmentContainer;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StationInfoType } from '../../types';
|
|
2
|
-
interface UseStationFinderProps {
|
|
3
|
-
frequency: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* 信号查找 Hook
|
|
7
|
-
* 基于鼠标位置(left)和频率,在信号数据中查找匹配的信号(台站信号 + 简单信号)
|
|
8
|
-
*
|
|
9
|
-
* 使用索引 + 容差判断,解决 step 跳跃和窄信号难以 hover 的问题
|
|
10
|
-
*/
|
|
11
|
-
export declare function useStationFinder({ frequency }: UseStationFinderProps): StationInfoType | undefined;
|
|
12
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StationInfoType } from '../../types';
|
|
2
|
-
import type { SignalData } from '../../types/store';
|
|
3
|
-
import type { FrequencyRangeInput } from '../../utils';
|
|
4
|
-
/**
|
|
5
|
-
* 统一的信号数据类型(兼容 StationInfo 和 SignalData)
|
|
6
|
-
*/
|
|
7
|
-
export type UnifiedSignalItem = StationInfoType | SignalData;
|
|
8
|
-
/**
|
|
9
|
-
* 判断是否为完整的台站信息
|
|
10
|
-
*/
|
|
11
|
-
export declare function isStationInfo(item: UnifiedSignalItem): item is StationInfoType;
|
|
12
|
-
/**
|
|
13
|
-
* 将统一的信号数据转换为频率范围输入(处理 string | number 类型)
|
|
14
|
-
*/
|
|
15
|
-
export declare function toFrequencyRangeInput(item: UnifiedSignalItem): FrequencyRangeInput;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
interface Props {
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
className?: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
onClick?: (e: unknown) => void;
|
|
9
|
-
onDoubleClick?: (e: unknown) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const IconBox: React.FC<Props>;
|
|
12
|
-
export default IconBox;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
className?: string;
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
}
|
|
6
|
-
declare const ZoomOffsetContainer: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export default ZoomOffsetContainer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useAxisY(): void;
|
package/utils/theme.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 主题相关工具函数
|
|
3
|
-
*/
|
|
4
|
-
export interface ThemeFillStyle {
|
|
5
|
-
fillStyle: string;
|
|
6
|
-
fillStylePrimary: string;
|
|
7
|
-
fillStyleTransparentBase: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* 获取主题填充样式
|
|
11
|
-
*/
|
|
12
|
-
export declare function getThemeFillStyle(): ThemeFillStyle;
|
|
13
|
-
/**
|
|
14
|
-
* 获取主题颜色,支持透明度改变
|
|
15
|
-
* @param property CSS 变量名
|
|
16
|
-
* @param opacity 可选的透明度 (0-1)
|
|
17
|
-
*/
|
|
18
|
-
export declare const getThemeColor: (property: string, opacity?: number) => string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/components/AxisY/heatmap/{type/Default → variants/standard}/GradientRibbon/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|