@visactor/vchart-types 1.12.2-alpha.2 → 1.12.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/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/component/axis/base-axis.d.ts +1 -1
- package/types/component/axis/cartesian/axis.d.ts +2 -3
- package/types/component/axis/cartesian/linear-axis.d.ts +1 -5
- package/types/component/axis/interface/spec.d.ts +1 -5
- package/types/component/axis/mixin/linear-axis-mixin.d.ts +0 -5
- package/types/component/brush/interface.d.ts +1 -0
- package/types/component/tooltip/constant.d.ts +2 -1
- package/types/component/tooltip/interface/common.d.ts +3 -3
- package/types/component/tooltip/processor/base.d.ts +3 -4
- package/types/component/tooltip/processor/dimension-tooltip.d.ts +2 -1
- package/types/component/tooltip/processor/group-tooltip.d.ts +2 -3
- package/types/component/tooltip/processor/interface.d.ts +0 -1
- package/types/component/tooltip/processor/mark-tooltip.d.ts +2 -3
- package/types/component/tooltip/utils/common.d.ts +3 -1
- package/types/component/tooltip/utils/index.d.ts +0 -1
- package/types/event/events/dimension/util/cartesian.d.ts +1 -1
- package/types/plugin/components/tooltip-handler/utils/position.d.ts +3 -4
- package/types/series/base/tooltip-helper.d.ts +1 -3
- package/types/series/dot/tooltip-helper.d.ts +0 -1
- package/types/series/interface/series.d.ts +2 -0
- package/types/series/pie/interface.d.ts +1 -1
- package/types/series/sankey/interface.d.ts +1 -0
- package/types/series/sankey/sankey.d.ts +1 -0
- package/types/util/array.d.ts +0 -1
- package/types/component/axis/mixin/util/break-data.d.ts +0 -4
|
@@ -5,7 +5,7 @@ import type { IOrientType, IPolarOrientType, StringOrNumber, CoordinateType } fr
|
|
|
5
5
|
import { BaseComponent } from '../base/base-component';
|
|
6
6
|
import { CompilableData } from '../../compile/data';
|
|
7
7
|
import type { IAxis, ICommonAxisSpec, ITick } from './interface';
|
|
8
|
-
import {
|
|
8
|
+
import type { IComponentOption } from '../interface';
|
|
9
9
|
import type { ISeries } from '../../series/interface';
|
|
10
10
|
import type { ITransformOptions } from '@visactor/vdataset';
|
|
11
11
|
import { DataView } from '@visactor/vdataset';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IBoundsLike, Maybe } from '@visactor/vutils';
|
|
2
2
|
import type { IEffect, IModelInitOption, IModelSpecInfo } from '../../../model/interface';
|
|
3
3
|
import type { ICartesianSeries } from '../../../series/interface';
|
|
4
4
|
import type { IRegion } from '../../../region/interface';
|
|
@@ -72,7 +72,6 @@ export declare abstract class CartesianAxis<T extends ICartesianAxisCommonSpec =
|
|
|
72
72
|
values: any[];
|
|
73
73
|
}[]): StringOrNumber[];
|
|
74
74
|
abstract valueToPosition(value: any): number;
|
|
75
|
-
protected getNewScaleRange(): number[];
|
|
76
75
|
protected updateScaleRange(): boolean;
|
|
77
76
|
init(option: IModelInitOption): void;
|
|
78
77
|
setAttrFromSpec(): void;
|
|
@@ -96,7 +95,7 @@ export declare abstract class CartesianAxis<T extends ICartesianAxisCommonSpec =
|
|
|
96
95
|
getBoundsInRect(rect: ILayoutRect): IBoundsLike;
|
|
97
96
|
positionToData(pos: number, isViewPos?: boolean): any;
|
|
98
97
|
private _getTitleLimit;
|
|
99
|
-
|
|
98
|
+
private _getUpdateAttribute;
|
|
100
99
|
protected getLabelItems(length: number): any[];
|
|
101
100
|
protected initEvent(): void;
|
|
102
101
|
protected _updateAxisLayout: () => void;
|
|
@@ -4,8 +4,7 @@ import { CartesianAxis } from './axis';
|
|
|
4
4
|
import type { IAxisHelper, ICartesianLinearAxisSpec } from './interface';
|
|
5
5
|
import { ComponentTypeEnum } from '../../interface/type';
|
|
6
6
|
import { LinearAxisMixin } from '../mixin/linear-axis-mixin';
|
|
7
|
-
|
|
8
|
-
export interface CartesianLinearAxis<T extends ICartesianLinearAxisSpec = ICartesianLinearAxisSpec> extends Pick<LinearAxisMixin, 'setExtraAttrFromSpec' | 'computeLinearDomain' | 'valueToPosition' | 'setScaleNice' | '_domain' | 'transformScaleDomain' | 'setExtendDomain' | '_break'>, CartesianAxis<T> {
|
|
7
|
+
export interface CartesianLinearAxis<T extends ICartesianLinearAxisSpec = ICartesianLinearAxisSpec> extends Pick<LinearAxisMixin, 'setExtraAttrFromSpec' | 'computeLinearDomain' | 'valueToPosition' | 'setScaleNice' | '_domain' | 'transformScaleDomain' | 'setExtendDomain'>, CartesianAxis<T> {
|
|
9
8
|
}
|
|
10
9
|
export declare class CartesianLinearAxis<T extends ICartesianLinearAxisSpec = ICartesianLinearAxisSpec> extends CartesianAxis<T> {
|
|
11
10
|
static type: ComponentTypeEnum;
|
|
@@ -20,9 +19,6 @@ export declare class CartesianLinearAxis<T extends ICartesianLinearAxisSpec = IC
|
|
|
20
19
|
protected _scales: LinearScale[] | LogScale[];
|
|
21
20
|
setAttrFromSpec(): void;
|
|
22
21
|
protected initScales(): void;
|
|
23
|
-
protected _tickTransformOption(): ICartesianTickDataOpt;
|
|
24
|
-
protected _getUpdateAttribute(ignoreGrid: boolean): any;
|
|
25
|
-
protected getNewScaleRange(): number[];
|
|
26
22
|
protected computeDomain(data: {
|
|
27
23
|
min: number;
|
|
28
24
|
max: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AxisItem, AxisItemStateStyle } from '@visactor/vrender-components';
|
|
2
2
|
import type { IAnimationSpec } from '../../../animation/spec';
|
|
3
3
|
import type { Datum, IFormatMethod, IPadding, IRectMarkSpec, IRichTextFormatMethod, IRuleMarkSpec, ISymbolMarkSpec, ITextMarkSpec, StringOrNumber } from '../../../typings';
|
|
4
4
|
import type { IComponentSpec } from '../../base/interface';
|
|
@@ -15,9 +15,6 @@ export interface ICommonAxisSpec extends Omit<IComponentSpec, 'orient' | 'center
|
|
|
15
15
|
sampling?: boolean;
|
|
16
16
|
forceInitTick?: boolean;
|
|
17
17
|
}
|
|
18
|
-
export type ILinearAxisBreakSpec = AxisBreakProps & {
|
|
19
|
-
gap?: number | string;
|
|
20
|
-
};
|
|
21
18
|
export interface ILinearAxisSpec {
|
|
22
19
|
min?: number;
|
|
23
20
|
max?: number;
|
|
@@ -35,7 +32,6 @@ export interface ILinearAxisSpec {
|
|
|
35
32
|
max?: number;
|
|
36
33
|
};
|
|
37
34
|
tooltipFilterRange?: number | [number, number];
|
|
38
|
-
breaks?: ILinearAxisBreakSpec[];
|
|
39
35
|
}
|
|
40
36
|
export interface IBandAxisSpec {
|
|
41
37
|
trimPadding?: boolean;
|
|
@@ -32,11 +32,6 @@ export interface LinearAxisMixin {
|
|
|
32
32
|
max: number;
|
|
33
33
|
values: any[];
|
|
34
34
|
}[];
|
|
35
|
-
_break: {
|
|
36
|
-
domain: [number, number][];
|
|
37
|
-
scope: [number, number][];
|
|
38
|
-
range: [number, number][];
|
|
39
|
-
};
|
|
40
35
|
event: IEvent;
|
|
41
36
|
_orient: IOrientType;
|
|
42
37
|
_option: IComponentOption;
|
|
@@ -11,6 +11,7 @@ interface IBrushDataBindSpec {
|
|
|
11
11
|
brushLinkSeriesIndex?: number | number[];
|
|
12
12
|
brushLinkSeriesId?: string | string[];
|
|
13
13
|
zoomAfterBrush?: boolean;
|
|
14
|
+
zoomWhenEmpty?: boolean;
|
|
14
15
|
axisId?: string | string[];
|
|
15
16
|
axisIndex?: number | number[];
|
|
16
17
|
axisRangeExpand?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ITooltipLineActual } from '../../typings';
|
|
1
|
+
import type { ITooltipLineActual, TooltipActiveType } from '../../typings';
|
|
2
2
|
export declare class TooltipHandlerType {
|
|
3
3
|
static dom: string;
|
|
4
4
|
static canvas: string;
|
|
@@ -6,3 +6,4 @@ export declare class TooltipHandlerType {
|
|
|
6
6
|
export declare const TOOLTIP_EL_CLASS_NAME = "vchart-tooltip-element";
|
|
7
7
|
export declare const TOOLTIP_MAX_LINE_COUNT = 20;
|
|
8
8
|
export declare const TOOLTIP_OTHERS_LINE: ITooltipLineActual;
|
|
9
|
+
export declare const TOOLTIP_TYPES: TooltipActiveType[];
|
|
@@ -11,9 +11,9 @@ export type TooltipHandlerParams = DimensionEventParams & {
|
|
|
11
11
|
groupDatum?: Datum[];
|
|
12
12
|
};
|
|
13
13
|
export interface ITooltipActiveTypeAsKeys<T, K, U> {
|
|
14
|
-
mark
|
|
15
|
-
dimension
|
|
16
|
-
group
|
|
14
|
+
mark?: T;
|
|
15
|
+
dimension?: K;
|
|
16
|
+
group?: U;
|
|
17
17
|
}
|
|
18
18
|
export type TotalMouseEventData = {
|
|
19
19
|
tooltipInfo: Partial<ITooltipActiveTypeAsKeys<MarkTooltipInfo, DimensionTooltipInfo, GroupTooltipInfo>>;
|
|
@@ -3,7 +3,7 @@ import type { ITooltipActual, TooltipActiveType, TooltipData } from '../../../ty
|
|
|
3
3
|
import type { ITooltipSpec, TooltipHandlerParams } from '../interface';
|
|
4
4
|
import { TooltipResult } from '../interface/common';
|
|
5
5
|
import type { Tooltip } from '../tooltip';
|
|
6
|
-
import type {
|
|
6
|
+
import type { MouseEventData, TooltipInfo } from './interface';
|
|
7
7
|
import type { IDimensionInfo } from '../../../event/events/dimension';
|
|
8
8
|
export declare abstract class BaseTooltipProcessor {
|
|
9
9
|
readonly component: Tooltip;
|
|
@@ -12,12 +12,11 @@ export declare abstract class BaseTooltipProcessor {
|
|
|
12
12
|
protected _cacheActualTooltip: ITooltipActual | undefined;
|
|
13
13
|
constructor(component: Tooltip);
|
|
14
14
|
abstract showTooltip(info: TooltipInfo, params: BaseEventParams, changePositionOnly: boolean): TooltipResult;
|
|
15
|
-
abstract
|
|
16
|
-
abstract getMouseEventData(params: BaseEventParams, dimensionInfo?: DimensionTooltipInfo): MouseEventData;
|
|
15
|
+
abstract getMouseEventData(params: BaseEventParams): MouseEventData;
|
|
17
16
|
protected _showTooltipByHandler: (data: TooltipData | undefined, params: TooltipHandlerParams) => TooltipResult;
|
|
18
17
|
protected _preprocessDimensionInfo(dimensionInfo?: IDimensionInfo[]): IDimensionInfo[] | undefined;
|
|
19
|
-
protected _getDimensionInfo(params: BaseEventParams): IDimensionInfo[];
|
|
20
18
|
protected _updateViewSpec(params: TooltipHandlerParams): void;
|
|
21
19
|
protected _updateActualTooltip(data: TooltipData, params: TooltipHandlerParams): void;
|
|
20
|
+
shouldHandleTooltip(params: BaseEventParams, mouseEventData: Partial<MouseEventData>): boolean;
|
|
22
21
|
clearCache(): void;
|
|
23
22
|
}
|
|
@@ -2,9 +2,10 @@ import type { BaseEventParams } from '../../../event/interface';
|
|
|
2
2
|
import type { TooltipActiveType } from '../../../typings';
|
|
3
3
|
import type { DimensionTooltipInfo, MouseEventData } from './interface';
|
|
4
4
|
import { BaseTooltipProcessor } from './base';
|
|
5
|
+
import type { IDimensionInfo } from '../../../event/events/dimension/interface';
|
|
5
6
|
export declare class DimensionTooltipProcessor extends BaseTooltipProcessor {
|
|
6
7
|
activeType: TooltipActiveType;
|
|
7
8
|
showTooltip(info: DimensionTooltipInfo, params: BaseEventParams, changePositionOnly: boolean): import("../interface").TooltipResult;
|
|
8
|
-
|
|
9
|
+
protected _getDimensionInfo(params: BaseEventParams): IDimensionInfo[];
|
|
9
10
|
getMouseEventData(params: BaseEventParams): MouseEventData;
|
|
10
11
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { BaseEventParams } from '../../../event/interface';
|
|
2
2
|
import type { TooltipActiveType } from '../../../typings';
|
|
3
|
-
import type {
|
|
3
|
+
import type { GroupTooltipInfo, MouseEventData } from './interface';
|
|
4
4
|
import { BaseTooltipProcessor } from './base';
|
|
5
5
|
export declare class GroupTooltipProcessor extends BaseTooltipProcessor {
|
|
6
6
|
activeType: TooltipActiveType;
|
|
7
7
|
showTooltip(info: GroupTooltipInfo, params: BaseEventParams, changePositionOnly: boolean): import("../interface").TooltipResult;
|
|
8
|
-
|
|
9
|
-
getMouseEventData(params: BaseEventParams, dimensionInfo?: DimensionTooltipInfo): MouseEventData;
|
|
8
|
+
getMouseEventData(params: BaseEventParams): MouseEventData;
|
|
10
9
|
protected _getGroupDatum(params: BaseEventParams): any;
|
|
11
10
|
}
|
|
@@ -7,7 +7,6 @@ export type MarkTooltipInfo<T = Datum> = {
|
|
|
7
7
|
datum: T;
|
|
8
8
|
mark: IMark;
|
|
9
9
|
series: ISeries;
|
|
10
|
-
dimensionInfo: DimensionTooltipInfo;
|
|
11
10
|
};
|
|
12
11
|
export type GroupTooltipInfo = MarkTooltipInfo<Datum | Datum[]>;
|
|
13
12
|
export type TooltipInfo = DimensionTooltipInfo | MarkTooltipInfo | GroupTooltipInfo;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { BaseEventParams } from '../../../event/interface';
|
|
2
2
|
import type { TooltipActiveType } from '../../../typings';
|
|
3
|
-
import type {
|
|
3
|
+
import type { MarkTooltipInfo, MouseEventData } from './interface';
|
|
4
4
|
import { BaseTooltipProcessor } from './base';
|
|
5
5
|
export declare class MarkTooltipProcessor extends BaseTooltipProcessor {
|
|
6
6
|
activeType: TooltipActiveType;
|
|
7
7
|
showTooltip(info: MarkTooltipInfo, params: BaseEventParams, changePositionOnly: boolean): import("../interface").TooltipResult;
|
|
8
|
-
|
|
9
|
-
getMouseEventData(params: BaseEventParams, dimensionInfo?: DimensionTooltipInfo): MouseEventData;
|
|
8
|
+
getMouseEventData(params: BaseEventParams): MouseEventData;
|
|
10
9
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { TooltipActiveType } from '../../../typings';
|
|
1
|
+
import type { ITooltipPattern, TooltipActiveType } from '../../../typings';
|
|
2
2
|
import type { ITooltipSpec } from '../interface';
|
|
3
3
|
import type { BaseEventParams } from '../../../event/interface';
|
|
4
4
|
export declare const getTooltipActualActiveType: (spec?: ITooltipSpec) => TooltipActiveType[];
|
|
5
|
+
export declare const isActiveTypeVisible: (type: TooltipActiveType, spec?: ITooltipSpec) => boolean;
|
|
5
6
|
export declare function isEmptyPos(params: BaseEventParams): boolean;
|
|
7
|
+
export declare function combinePattern(patternList: ITooltipPattern[]): ITooltipPattern;
|
|
@@ -4,5 +4,5 @@ import type { CartesianAxis } from '../../../../component/axis/cartesian';
|
|
|
4
4
|
import type { ICartesianSeries } from '../../../../series/interface';
|
|
5
5
|
import type { ILayoutPoint } from '../../../../typings/layout';
|
|
6
6
|
export declare const getCartesianDimensionInfo: (chart: IChart | undefined, pos: ILayoutPoint, isTooltip?: boolean) => IDimensionInfo[] | null;
|
|
7
|
-
export declare const getDimensionInfoByPosition: (axis: CartesianAxis, posValue: number,
|
|
7
|
+
export declare const getDimensionInfoByPosition: (axis: CartesianAxis, posValue: number, getDimensionField: (series: ICartesianSeries) => string | string[]) => IDimensionInfo | null;
|
|
8
8
|
export declare const getDimensionInfoByValue: (axis: CartesianAxis, value: any, getDimensionField?: (series: ICartesianSeries) => string | string[]) => IDimensionInfo | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type
|
|
3
|
-
import type { ILayoutPoint } from '../../../../typings';
|
|
1
|
+
import type { IDimensionData } from '../../../../event';
|
|
2
|
+
import { type ILayoutPoint } from '../../../../typings';
|
|
4
3
|
import type { IFixedTooltipPositionPattern, IGlobalTooltipPositionPattern, TooltipFixedPosition } from '../../../../typings/tooltip/position';
|
|
5
4
|
export declare const getActualTooltipPositionValue: (position: number | ((event: MouseEvent) => number), event: MouseEvent) => number;
|
|
6
5
|
export type TooltipHorizontalPositionType = 'left' | 'right' | 'center' | 'centerLeft' | 'centerRight';
|
|
@@ -8,7 +7,7 @@ export type TooltipVerticalPositionType = 'top' | 'bottom' | 'center' | 'centerT
|
|
|
8
7
|
export declare const positionType: Record<TooltipFixedPosition, [TooltipHorizontalPositionType, TooltipVerticalPositionType]>;
|
|
9
8
|
export declare const getHorizontalPositionType: (position: TooltipFixedPosition, defaultCase?: TooltipHorizontalPositionType) => TooltipHorizontalPositionType;
|
|
10
9
|
export declare const getVerticalPositionType: (position: TooltipFixedPosition, defaultCase?: TooltipVerticalPositionType) => TooltipVerticalPositionType;
|
|
11
|
-
export declare const getCartesianCrosshairRect: (
|
|
10
|
+
export declare const getCartesianCrosshairRect: (dimensionData: IDimensionData, layoutStartPoint: ILayoutPoint) => {
|
|
12
11
|
visible: boolean;
|
|
13
12
|
start: {
|
|
14
13
|
x: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TooltipHandlerParams } from '../../component/tooltip/interface';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ITooltipPattern, ShapeType, TooltipActiveType } from '../../typings';
|
|
3
3
|
import type { ISeries, ISeriesTooltipHelper } from '../interface';
|
|
4
4
|
import { BaseTooltipHelper } from '../../model/tooltip-helper';
|
|
5
5
|
import type { IDimensionInfo } from '../../event/events/dimension/interface';
|
|
@@ -30,6 +30,4 @@ export declare class BaseSeriesTooltipHelper extends BaseTooltipHelper implement
|
|
|
30
30
|
groupTooltipKeyCallback: (datum: Datum, params?: TooltipHandlerParams) => string | undefined;
|
|
31
31
|
getDefaultTooltipPattern(activeType: TooltipActiveType, dimensionInfo?: IDimensionInfo[]): ITooltipPattern | null;
|
|
32
32
|
}
|
|
33
|
-
export declare const addExtraInfoToTooltipTitlePattern: <T>(pattern: ITooltipPattern['title'], extraInfo: T | ((line: ITooltipLinePattern) => T), overwrite?: boolean) => ITooltipPattern['title'] | undefined;
|
|
34
|
-
export declare const addExtraInfoToTooltipContentPattern: <T>(pattern: ITooltipPattern['content'], extraInfo: T | ((line: ITooltipLinePattern) => T), overwrite?: boolean) => ITooltipPattern['content'] | undefined;
|
|
35
33
|
export {};
|
|
@@ -2,6 +2,5 @@ import type { ISeriesTooltipHelper } from '../interface';
|
|
|
2
2
|
import { BaseSeriesTooltipHelper } from '../base/tooltip-helper';
|
|
3
3
|
import type { ITooltipPattern, TooltipActiveType } from '../../typings';
|
|
4
4
|
export declare class DotSeriesTooltipHelper extends BaseSeriesTooltipHelper implements ISeriesTooltipHelper {
|
|
5
|
-
updateTooltipSpec(): void;
|
|
6
5
|
getDefaultTooltipPattern(activeType: TooltipActiveType): ITooltipPattern | null;
|
|
7
6
|
}
|
|
@@ -81,6 +81,8 @@ export interface ISeries extends IModel {
|
|
|
81
81
|
key: string;
|
|
82
82
|
operations: StatisticOperations;
|
|
83
83
|
}[];
|
|
84
|
+
getDatumPositionValues: (datum: Datum, fields: string | string[]) => any[];
|
|
85
|
+
getDatumPositionValue: (datum: Datum, field: string) => any;
|
|
84
86
|
setSeriesField: (field: string) => void;
|
|
85
87
|
handleZoom?: (e: ZoomEventParam) => void;
|
|
86
88
|
handlePan?: (e: PanEventParam) => void;
|
|
@@ -70,7 +70,7 @@ export interface IArcLabelLayoutSpec {
|
|
|
70
70
|
tangentConstraint?: boolean;
|
|
71
71
|
}
|
|
72
72
|
export type IArcLabelSpec = Omit<ILabelSpec, 'position'> & {
|
|
73
|
-
position?: 'outside' | 'inside';
|
|
73
|
+
position?: 'outside' | 'inside' | 'inside-center';
|
|
74
74
|
showRule?: 'all' | 'max' | 'min' | 'minAndMax' | 'headAndTail';
|
|
75
75
|
coverEnable?: boolean;
|
|
76
76
|
rotate?: boolean;
|
|
@@ -18,6 +18,7 @@ export interface ISankeySeriesSpec extends Omit<ISeriesSpec, 'data'>, IAnimation
|
|
|
18
18
|
targetField?: string;
|
|
19
19
|
direction?: DirectionType;
|
|
20
20
|
nodeAlign?: 'left' | 'right' | 'center' | 'justify' | 'start' | 'end';
|
|
21
|
+
inverse?: boolean;
|
|
21
22
|
nodeGap?: number;
|
|
22
23
|
nodeWidth?: string | number | ((node: SankeyNodeElement) => number);
|
|
23
24
|
linkWidth?: number | ((link: SankeyLinkElement) => number);
|
|
@@ -27,6 +27,7 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
|
|
|
27
27
|
protected _categoryField: string;
|
|
28
28
|
private _colorScale;
|
|
29
29
|
private _nodeList;
|
|
30
|
+
private _needClear;
|
|
30
31
|
get direction(): "vertical" | "horizontal";
|
|
31
32
|
getCategoryField(): string;
|
|
32
33
|
setCategoryField(f: string): string;
|
package/types/util/array.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { array, last as peek, maxInArray as maxInArr, minInArray as minInArr } from '@visactor/vutils';
|
|
2
2
|
export declare function shallowCompare<T, U>(arrA: T | T[], arrB: U | U[]): boolean;
|
|
3
|
-
export declare function combineArray(arr: number[][]): number[];
|
|
4
3
|
export { array, peek, maxInArr, minInArr };
|