@rfkit/charts 1.0.99 → 1.0.100
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 +0 -2
- package/components/AxisY/heatmap/index.d.ts +1 -1
- package/components/AxisY/occupancy/components/Ticks/index.d.ts +1 -1
- package/components/AxisY/spectrum/index.d.ts +1 -1
- package/components/AxisY/spectrum/useRanging/index.d.ts +1 -1
- package/components/Cursor/tools.d.ts +2 -2
- package/components/FrequencyAllocation/Tooltip/index.d.ts +1 -1
- package/components/FrequencyAllocation/types.d.ts +1 -0
- package/components/FrequencyMarkerLine/index.d.ts +1 -1
- package/components/HeatmapCapture/tools.d.ts +1 -1
- package/components/Markers/index.d.ts +2 -2
- package/components/Markers/lib/tools.d.ts +3 -3
- package/components/Square/index.d.ts +2 -1
- package/components/ToolsBar/IconBox.d.ts +2 -1
- package/config/constants.d.ts +1 -1
- package/engine/dial.d.ts +1 -1
- package/engine/gauge.d.ts +1 -1
- package/engine/heatmap.d.ts +1 -1
- package/engine/index.d.ts +5 -5
- package/engine/radar.d.ts +1 -1
- package/engine/series.d.ts +2 -2
- package/engine/webglExample.d.ts +1 -1
- package/engine/webglSeries.d.ts +1 -1
- package/hooks/useChannel.d.ts +1 -1
- package/hooks/useSpectrumAnalyzer/useTemplateComparison.d.ts +4 -22
- package/hooks/useSpectrumChartType.d.ts +1 -1
- package/hooks/useSpectrumRule.d.ts +1 -2
- package/index.d.ts +5 -5
- package/index.js +8885 -8855
- package/lib/IQ/Chart.d.ts +1 -2
- package/lib/Spectrum/Chart.d.ts +1 -1
- package/lib/index.d.ts +4 -4
- package/modules/Occupancy/TotalLine/index.d.ts +1 -1
- package/package.json +1 -1
- package/store/Params.d.ts +1 -1
- package/store/constants.d.ts +1 -1
- package/store/context.d.ts +1 -1
- package/store/data/frequencyAllocation.d.ts +1 -0
- package/store/hooks/useStore.d.ts +1 -1
- package/store/index.d.ts +1 -1
- package/types/index.d.ts +1 -1
- package/types/store.d.ts +2 -1
- package/utils/converter.d.ts +1 -1
- package/utils/index.d.ts +2 -2
- package/utils/subscription.d.ts +1 -1
package/lib/IQ/Chart.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { ChartType } from '../../config';
|
|
3
|
-
import type { ParamsProps } from '../../types';
|
|
4
|
-
import type { RecursiveFunction } from '../../types';
|
|
3
|
+
import type { ParamsProps, RecursiveFunction } from '../../types';
|
|
5
4
|
export interface Props extends ParamsProps {
|
|
6
5
|
type: ChartType;
|
|
7
6
|
publish?: RecursiveFunction;
|
package/lib/Spectrum/Chart.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ParamsProps, RecursiveFunction, RecursiveObject } from '../../types';
|
|
2
1
|
import { type Props as SpectrumChartTypeProps } from '../../hooks/useSpectrumChartType';
|
|
3
2
|
import { type Props as SpectrumRuleProps } from '../../hooks/useSpectrumRule';
|
|
3
|
+
import type { ParamsProps, RecursiveFunction, RecursiveObject } from '../../types';
|
|
4
4
|
export interface Props extends SpectrumChartTypeProps, SpectrumRuleProps, ParamsProps {
|
|
5
5
|
selecter?: RecursiveObject;
|
|
6
6
|
publish?: RecursiveFunction;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import Dial from './Dial';
|
|
2
|
+
import Gauge from './Gauge';
|
|
1
3
|
import Heatmap from './Heatmap';
|
|
2
|
-
import
|
|
4
|
+
import IQ from './IQ';
|
|
3
5
|
import LevelStream from './LevelStream';
|
|
6
|
+
import Occupancy from './Occupancy';
|
|
4
7
|
import Spectrum from './Spectrum';
|
|
5
|
-
import IQ from './IQ';
|
|
6
|
-
import Gauge from './Gauge';
|
|
7
|
-
import Dial from './Dial';
|
|
8
8
|
export { Spectrum, LevelStream, IQ, Gauge, Dial, Heatmap, Occupancy };
|
package/package.json
CHANGED
package/store/Params.d.ts
CHANGED
package/store/constants.d.ts
CHANGED
package/store/context.d.ts
CHANGED
package/store/index.d.ts
CHANGED
package/types/index.d.ts
CHANGED
package/types/store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TimestampedFloat32Array } from '@rfkit/spectrum-analyzer';
|
|
2
|
-
import type { AxisXRange, AxisYRange, RecursiveFunction, RecursiveObject, SegmentsType, SeriesConfig, StationInfoType, TopRightBottomLeft } from './';
|
|
3
2
|
import type { SeriesType } from '../config';
|
|
3
|
+
import type { AxisXRange, AxisYRange, RecursiveFunction, RecursiveObject, SegmentsType, SeriesConfig, StationInfoType, TopRightBottomLeft } from './';
|
|
4
4
|
export interface SystemConfig {
|
|
5
5
|
width: number;
|
|
6
6
|
height: number;
|
|
@@ -210,6 +210,7 @@ export interface FrequencyAllocationItem {
|
|
|
210
210
|
color: string;
|
|
211
211
|
title: string;
|
|
212
212
|
description: string;
|
|
213
|
+
gradientColors?: [string, string];
|
|
213
214
|
}
|
|
214
215
|
export interface FrequencyAllocationProps {
|
|
215
216
|
show: boolean;
|
package/utils/converter.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ declare const mW2dBm: (input: number) => number;
|
|
|
12
12
|
declare const mW2dBuV: (input: number) => number;
|
|
13
13
|
declare const mW2V: (input: number) => number;
|
|
14
14
|
declare const spectrum2dBm: (inputs: Array<number>) => number[];
|
|
15
|
-
export { dBm2dBuV, dBm2V, dBm2mW, dBuV2dBm, dBuV2V, dBuV2uV, dBuV2mW, V2dBm, V2dBuV, V2mW, mW2dBm, mW2dBuV, mW2V, spectrum2dBm
|
|
15
|
+
export { dBm2dBuV, dBm2V, dBm2mW, dBuV2dBm, dBuV2V, dBuV2uV, dBuV2mW, V2dBm, V2dBuV, V2mW, mW2dBm, mW2dBuV, mW2V, spectrum2dBm };
|
package/utils/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { TimestampedFloat32Array } from '@rfkit/spectrum-analyzer';
|
|
1
2
|
import type { ModuleType } from '../config';
|
|
2
3
|
import type { RecursiveObject, SegmentsOriginal, SegmentsType } from '../types';
|
|
3
|
-
import type { TimestampedFloat32Array } from '@rfkit/spectrum-analyzer';
|
|
4
4
|
/**
|
|
5
5
|
* GUID
|
|
6
6
|
* @returns {string}
|
|
@@ -80,7 +80,7 @@ export declare function getThemeFillStyle(): {
|
|
|
80
80
|
export declare const mergeObjects: (e: RecursiveObject, params: RecursiveObject) => RecursiveObject;
|
|
81
81
|
export declare function getMidIndex(indexStart: number, indexEnd: number): number;
|
|
82
82
|
export declare const getFrequencyToFixed: (frequency: number, fixedNum?: number) => string;
|
|
83
|
-
export declare const createChartRenderID: ({ moduleType, globalID
|
|
83
|
+
export declare const createChartRenderID: ({ moduleType, globalID }: {
|
|
84
84
|
moduleType?: ModuleType;
|
|
85
85
|
globalID?: string;
|
|
86
86
|
}) => string;
|
package/utils/subscription.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { RecursiveFunction } from '../types';
|
|
2
1
|
import type { SpectrumAnalyzer, SpectrumData } from '@rfkit/spectrum-analyzer';
|
|
2
|
+
import type { RecursiveFunction } from '../types';
|
|
3
3
|
export declare function openData(globalID: string, data: any, defaultData: any): any;
|
|
4
4
|
/**
|
|
5
5
|
* 共享订阅
|