@diamondlightsource/davidia 1.1.0 → 1.3.0-rc.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 +8 -3
- package/dist/index.css +2 -1
- package/dist/index.d.ts +814 -36
- package/dist/index.js +3372 -3938
- package/package.json +12 -13
- package/dist/AnyPlot.d.ts +0 -17
- package/dist/AnyPlot.d.ts.map +0 -1
- package/dist/AspectConfigModal.d.ts +0 -22
- package/dist/AspectConfigModal.d.ts.map +0 -1
- package/dist/AxialSelectionConfig.d.ts +0 -22
- package/dist/AxialSelectionConfig.d.ts.map +0 -1
- package/dist/AxisConfigModal.d.ts +0 -57
- package/dist/AxisConfigModal.d.ts.map +0 -1
- package/dist/BatonConfigModal.d.ts +0 -9
- package/dist/BatonConfigModal.d.ts.map +0 -1
- package/dist/ClearSelectionsBtn.d.ts +0 -21
- package/dist/ClearSelectionsBtn.d.ts.map +0 -1
- package/dist/ConnectedPlot.d.ts +0 -23
- package/dist/ConnectedPlot.d.ts.map +0 -1
- package/dist/DomainConfig.d.ts +0 -31
- package/dist/DomainConfig.d.ts.map +0 -1
- package/dist/GlyphTypeToggle.d.ts +0 -23
- package/dist/GlyphTypeToggle.d.ts.map +0 -1
- package/dist/HeatmapPlot.d.ts +0 -35
- package/dist/HeatmapPlot.d.ts.map +0 -1
- package/dist/ImagePlot.d.ts +0 -37
- package/dist/ImagePlot.d.ts.map +0 -1
- package/dist/InteractionModeToggle.d.ts +0 -22
- package/dist/InteractionModeToggle.d.ts.map +0 -1
- package/dist/LabelledInput.d.ts +0 -35
- package/dist/LabelledInput.d.ts.map +0 -1
- package/dist/LineConfig.d.ts +0 -37
- package/dist/LineConfig.d.ts.map +0 -1
- package/dist/LineKeyDropdown.d.ts +0 -23
- package/dist/LineKeyDropdown.d.ts.map +0 -1
- package/dist/LinePlot.d.ts +0 -65
- package/dist/LinePlot.d.ts.map +0 -1
- package/dist/LinearSelectionConfig.d.ts +0 -22
- package/dist/LinearSelectionConfig.d.ts.map +0 -1
- package/dist/Modal.d.ts +0 -26
- package/dist/Modal.d.ts.map +0 -1
- package/dist/Modeless.d.ts +0 -23
- package/dist/Modeless.d.ts.map +0 -1
- package/dist/MulticlickSelectionTool.d.ts +0 -50
- package/dist/MulticlickSelectionTool.d.ts.map +0 -1
- package/dist/PlotCustomizationContext.d.ts +0 -131
- package/dist/PlotCustomizationContext.d.ts.map +0 -1
- package/dist/PlotToolbar.d.ts +0 -17
- package/dist/PlotToolbar.d.ts.map +0 -1
- package/dist/PolygonalSelectionConfig.d.ts +0 -22
- package/dist/PolygonalSelectionConfig.d.ts.map +0 -1
- package/dist/RectangularSelectionConfig.d.ts +0 -22
- package/dist/RectangularSelectionConfig.d.ts.map +0 -1
- package/dist/ScatterPlot.d.ts +0 -42
- package/dist/ScatterPlot.d.ts.map +0 -1
- package/dist/SelectionComponent.d.ts +0 -25
- package/dist/SelectionComponent.d.ts.map +0 -1
- package/dist/SelectionConfig.d.ts +0 -52
- package/dist/SelectionConfig.d.ts.map +0 -1
- package/dist/SelectionConfigComponents.d.ts +0 -69
- package/dist/SelectionConfigComponents.d.ts.map +0 -1
- package/dist/SelectionIDDropdown.d.ts +0 -23
- package/dist/SelectionIDDropdown.d.ts.map +0 -1
- package/dist/SelectionTypeDropdown.d.ts +0 -23
- package/dist/SelectionTypeDropdown.d.ts.map +0 -1
- package/dist/SurfacePlot.d.ts +0 -46
- package/dist/SurfacePlot.d.ts.map +0 -1
- package/dist/TableDisplay.d.ts +0 -37
- package/dist/TableDisplay.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/models.d.ts +0 -70
- package/dist/models.d.ts.map +0 -1
- package/dist/selections/AxialSelection.d.ts +0 -22
- package/dist/selections/AxialSelection.d.ts.map +0 -1
- package/dist/selections/BaseSelection.d.ts +0 -24
- package/dist/selections/BaseSelection.d.ts.map +0 -1
- package/dist/selections/CircularSectorialSelection.d.ts +0 -17
- package/dist/selections/CircularSectorialSelection.d.ts.map +0 -1
- package/dist/selections/CircularSelection.d.ts +0 -15
- package/dist/selections/CircularSelection.d.ts.map +0 -1
- package/dist/selections/EllipticalSelection.d.ts +0 -15
- package/dist/selections/EllipticalSelection.d.ts.map +0 -1
- package/dist/selections/LinearSelection.d.ts +0 -20
- package/dist/selections/LinearSelection.d.ts.map +0 -1
- package/dist/selections/OrientableSelection.d.ts +0 -14
- package/dist/selections/OrientableSelection.d.ts.map +0 -1
- package/dist/selections/PolygonalSelection.d.ts +0 -22
- package/dist/selections/PolygonalSelection.d.ts.map +0 -1
- package/dist/selections/RectangularSelection.d.ts +0 -19
- package/dist/selections/RectangularSelection.d.ts.map +0 -1
- package/dist/selections/utils.d.ts +0 -223
- package/dist/selections/utils.d.ts.map +0 -1
- package/dist/setupTests.d.ts +0 -1
- package/dist/setupTests.d.ts.map +0 -1
- package/dist/shapes/DvdAxisBox.d.ts +0 -15
- package/dist/shapes/DvdAxisBox.d.ts.map +0 -1
- package/dist/shapes/DvdDragHandle.d.ts +0 -18
- package/dist/shapes/DvdDragHandle.d.ts.map +0 -1
- package/dist/shapes/DvdPolyline.d.ts +0 -15
- package/dist/shapes/DvdPolyline.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -170
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.test.d.ts +0 -2
- package/dist/utils.test.d.ts.map +0 -1
package/dist/SurfacePlot.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ColorMap, ColorScaleType, Domain } from '@h5web/lib';
|
|
2
|
-
import { BatonProps, NDT, PlotConfig } from './models';
|
|
3
|
-
import { PropsWithChildren } from 'react';
|
|
4
|
-
interface Props {
|
|
5
|
-
values: NDT;
|
|
6
|
-
}
|
|
7
|
-
export declare function SurfaceVisCanvas(props: PropsWithChildren<Props>): import("react").JSX.Element;
|
|
8
|
-
/**
|
|
9
|
-
* Represent surface data
|
|
10
|
-
*/
|
|
11
|
-
interface SurfaceData {
|
|
12
|
-
/** The height values for the surface */
|
|
13
|
-
heightValues: NDT;
|
|
14
|
-
/** The domain of the surface data */
|
|
15
|
-
domain?: Domain;
|
|
16
|
-
/** The colour scale type */
|
|
17
|
-
surfaceScale?: ColorScaleType;
|
|
18
|
-
/** The colour map (optional) */
|
|
19
|
-
colourMap?: ColorMap;
|
|
20
|
-
/** Show points if true */
|
|
21
|
-
showPoints?: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Props for the `SurfacePlot` component.
|
|
25
|
-
*/
|
|
26
|
-
interface SurfacePlotProps extends SurfaceData {
|
|
27
|
-
/** The baton props */
|
|
28
|
-
batonProps?: BatonProps;
|
|
29
|
-
/** The plot configuration */
|
|
30
|
-
plotConfig: PlotConfig;
|
|
31
|
-
/**
|
|
32
|
-
* Children to customize the toolbar. If undefined then use default toolbar, if null, disable toolbar,
|
|
33
|
-
* otherwise use given children
|
|
34
|
-
*/
|
|
35
|
-
customToolbarChildren?: React.ReactNode;
|
|
36
|
-
}
|
|
37
|
-
type SurfacePlotCustomizationProps = Omit<SurfacePlotProps, 'heightValues'>;
|
|
38
|
-
/**
|
|
39
|
-
* Render a surface plot.
|
|
40
|
-
* @param {SurfacePlotProps} props - The component props.
|
|
41
|
-
* @returns {JSX.Element} The rendered component.
|
|
42
|
-
*/
|
|
43
|
-
declare function SurfacePlot(props: SurfacePlotProps): import("react").JSX.Element;
|
|
44
|
-
export default SurfacePlot;
|
|
45
|
-
export type { SurfaceData, SurfacePlotProps, SurfacePlotCustomizationProps };
|
|
46
|
-
//# sourceMappingURL=SurfacePlot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SurfacePlot.d.ts","sourceRoot":"","sources":["../src/SurfacePlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,MAAM,EAGP,MAAM,YAAY,CAAC;AAGpB,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAM5D,OAAO,EAAE,iBAAiB,EAAsB,MAAM,OAAO,CAAC;AAG9D,UAAU,KAAK;IACb,MAAM,EAAE,GAAG,CAAC;CACb;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,+BAqC/D;AAED;;GAEG;AACH,UAAU,WAAW;IACnB,wCAAwC;IACxC,YAAY,EAAE,GAAG,CAAC;IAClB,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4BAA4B;IAC5B,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,gCAAgC;IAChC,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,0BAA0B;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,UAAU,gBAAiB,SAAQ,WAAW;IAC5C,sBAAsB;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,6BAA6B;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzC;AAED,KAAK,6BAA6B,GAAG,IAAI,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAE5E;;;;GAIG;AACH,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAc3C;AAED,eAAe,WAAW,CAAC;AAC3B,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,CAAC"}
|
package/dist/TableDisplay.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { BatonProps, NDT } from './models';
|
|
2
|
-
/** Number represent in table */
|
|
3
|
-
type TableDisplayType = 'scientific' | 'standard';
|
|
4
|
-
/**
|
|
5
|
-
* Parameters for `TableDisplay`.
|
|
6
|
-
*/
|
|
7
|
-
interface TableDisplayParams {
|
|
8
|
-
/** The table display type (optional) */
|
|
9
|
-
displayType?: TableDisplayType;
|
|
10
|
-
/** The number of digits to display for each data value (optional) */
|
|
11
|
-
numberDigits?: number;
|
|
12
|
-
}
|
|
13
|
-
/** Represent table data */
|
|
14
|
-
interface TableData {
|
|
15
|
-
/** The cell values */
|
|
16
|
-
cellValues: NDT;
|
|
17
|
-
/** The cell width */
|
|
18
|
-
cellWidth: number;
|
|
19
|
-
/** The parameters for the table display (optional) */
|
|
20
|
-
displayParams?: TableDisplayParams;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Props for the `TableDisplay` component.
|
|
24
|
-
*/
|
|
25
|
-
interface TableDisplayProps extends TableData {
|
|
26
|
-
/** The baton props */
|
|
27
|
-
batonProps?: BatonProps;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Render a table display.
|
|
31
|
-
* @param {TableDisplayProps} props - The component props.
|
|
32
|
-
* @returns {JSX.Element} The rendered component.
|
|
33
|
-
*/
|
|
34
|
-
declare function TableDisplay(props: TableDisplayProps): import("react").JSX.Element;
|
|
35
|
-
export default TableDisplay;
|
|
36
|
-
export type { TableData, TableDisplayParams, TableDisplayProps, TableDisplayType, };
|
|
37
|
-
//# sourceMappingURL=TableDisplay.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableDisplay.d.ts","sourceRoot":"","sources":["../src/TableDisplay.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEhD,gCAAgC;AAChC,KAAK,gBAAgB,GAAG,YAAY,GAAG,UAAU,CAAC;AAElD;;GAEG;AACH,UAAU,kBAAkB;IAC1B,wCAAwC;IACxC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,qEAAqE;IACrE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,2BAA2B;AAC3B,UAAU,SAAS;IACjB,sBAAsB;IACtB,UAAU,EAAE,GAAG,CAAC;IAChB,qBAAqB;IACrB,SAAS,EAA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,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAClE,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAClD,YAAY,EACV,MAAM,EACN,aAAa,EACb,QAAQ,EACR,cAAc,EACd,MAAM,GACP,MAAM,YAAY,CAAC"}
|
package/dist/models.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { NdArray, TypedArray } from 'ndarray';
|
|
2
|
-
import { AxisScaleType } from '@h5web/lib';
|
|
3
|
-
import { SelectionHandler, SelectionBase, SelectionsEventListener, SelectionOptions } from './selections/utils';
|
|
4
|
-
/** ndarray of a typed array */
|
|
5
|
-
export type NDT = NdArray<TypedArray>;
|
|
6
|
-
/**
|
|
7
|
-
* Represent plot configuration
|
|
8
|
-
*/
|
|
9
|
-
export interface PlotConfig {
|
|
10
|
-
/** The label for the x-axis */
|
|
11
|
-
xLabel?: string;
|
|
12
|
-
/** The label for the y-axis */
|
|
13
|
-
yLabel?: string;
|
|
14
|
-
/** The x-axis scale type */
|
|
15
|
-
xScale?: AxisScaleType;
|
|
16
|
-
/** The y-axis scale type */
|
|
17
|
-
yScale?: AxisScaleType;
|
|
18
|
-
/** The x-axis values */
|
|
19
|
-
xValues?: NDT;
|
|
20
|
-
/** The y-axis values */
|
|
21
|
-
yValues?: NDT;
|
|
22
|
-
/** The plot title */
|
|
23
|
-
title?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Baton props
|
|
27
|
-
*/
|
|
28
|
-
export interface BatonProps {
|
|
29
|
-
/** The universally unique identifier (uuid) of the client */
|
|
30
|
-
uuid: string;
|
|
31
|
-
/** The uuid of the current baton holder */
|
|
32
|
-
batonUuid: string;
|
|
33
|
-
/** The other uuids */
|
|
34
|
-
others: string[];
|
|
35
|
-
/** If client holds baton */
|
|
36
|
-
hasBaton: boolean;
|
|
37
|
-
/** Handles baton request */
|
|
38
|
-
requestBaton: () => void;
|
|
39
|
-
/** Handle passing baton to client with given uuid */
|
|
40
|
-
offerBaton: (s: string) => void;
|
|
41
|
-
}
|
|
42
|
-
export declare const defaultBatonProps: BatonProps;
|
|
43
|
-
/**
|
|
44
|
-
* Props for selections (and baton) in a plot component
|
|
45
|
-
*/
|
|
46
|
-
export interface PlotSelectionProps {
|
|
47
|
-
/** Handles adding selection (set null to disable editing) */
|
|
48
|
-
updateSelection?: SelectionHandler | null;
|
|
49
|
-
/** The selections */
|
|
50
|
-
selections?: SelectionBase[];
|
|
51
|
-
/** The baton props */
|
|
52
|
-
batonProps?: BatonProps;
|
|
53
|
-
/** Selections event listener */
|
|
54
|
-
selectionsListener?: SelectionsEventListener;
|
|
55
|
-
/** Selection type options and limits (0 = limitless) */
|
|
56
|
-
selectionOptions?: SelectionOptions;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Props for selections, baton and configuration in a plot component
|
|
60
|
-
*/
|
|
61
|
-
export interface PlotBaseProps extends PlotSelectionProps {
|
|
62
|
-
/** The plot configuration */
|
|
63
|
-
plotConfig: PlotConfig;
|
|
64
|
-
/**
|
|
65
|
-
* Children to customize the toolbar. If undefined then use default toolbar, if null, disable toolbar,
|
|
66
|
-
* otherwise use given children
|
|
67
|
-
*/
|
|
68
|
-
customToolbarChildren?: React.ReactNode;
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=models.d.ts.map
|
package/dist/models.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,KAAK,E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DAAwD;IACxD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,kBAAkB;IACvD,6BAA6B;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
|
-
import { default as BaseSelection } from './BaseSelection';
|
|
3
|
-
import { SelectionBase } from './utils';
|
|
4
|
-
/** Class to select part of an axis */
|
|
5
|
-
export default class AxialSelection extends BaseSelection {
|
|
6
|
-
readonly _defaultColour = "#882255";
|
|
7
|
-
/** length in dimension */
|
|
8
|
-
length: number;
|
|
9
|
-
/** dimension (x=0, y=1) */
|
|
10
|
-
dimension: number;
|
|
11
|
-
constructor(start: [number, number], length: number, dimension: number);
|
|
12
|
-
_getPoint(fraction?: number): Vector3;
|
|
13
|
-
getPoints(): Vector3[];
|
|
14
|
-
toString(): string;
|
|
15
|
-
static clicks(): number[];
|
|
16
|
-
static isShape(s: AxialSelection | SelectionBase): s is AxialSelection;
|
|
17
|
-
_setFromPoints(points: Vector3[]): void;
|
|
18
|
-
static createFromPoints(points: Vector3[], dimension: number): AxialSelection;
|
|
19
|
-
static createFromSelection(s: AxialSelection): AxialSelection;
|
|
20
|
-
onHandleChange(i: number, pos: [number | undefined, number | undefined]): AxialSelection;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=AxialSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AxialSelection.d.ts","sourceRoot":"","sources":["../../src/selections/AxialSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,sCAAsC;AACtC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,aAAa;IACvD,QAAQ,CAAC,cAAc,aAAa;IACpC,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;gBACN,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAOtE,SAAS,CAAC,QAAQ,SAAI,GAAG,OAAO;IAMvB,SAAS,IAAI,OAAO,EAAE;IAItB,QAAQ,IAAI,MAAM;IAO3B,MAAM,CAAC,MAAM;WAIG,OAAO,CACrB,CAAC,EAAE,cAAc,GAAG,aAAa,GAChC,CAAC,IAAI,cAAc;IAItB,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE;IAiBhC,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM;WAU5C,mBAAmB,CAAC,CAAC,EAAE,cAAc;IAM5C,cAAc,CACrB,CAAC,EAAE,MAAM,EACT,GAAG,EAAE,CAAC,MAAM,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAiChD"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
|
-
import { SelectionBase } from './utils';
|
|
3
|
-
/** Base class for all selections */
|
|
4
|
-
export default class BaseSelection implements SelectionBase {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
_defaultColour: string;
|
|
8
|
-
colour?: string;
|
|
9
|
-
alpha: number;
|
|
10
|
-
fixed: boolean;
|
|
11
|
-
start: [number, number];
|
|
12
|
-
_asDashed?: boolean;
|
|
13
|
-
/** Vector3 copy of start coordinate */
|
|
14
|
-
_vStart: Vector3;
|
|
15
|
-
constructor(start: [number, number]);
|
|
16
|
-
toString(): string;
|
|
17
|
-
setStart(i: number, v: number): void;
|
|
18
|
-
getPoints(): Vector3[];
|
|
19
|
-
setProperties(other: BaseSelection): void;
|
|
20
|
-
static createFromSelection(s: BaseSelection): BaseSelection;
|
|
21
|
-
onHandleChange(i: number, pos: [number | undefined, number | undefined], d?: boolean): BaseSelection;
|
|
22
|
-
static isShape(s: BaseSelection | SelectionBase): s is BaseSelection;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=BaseSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseSelection.d.ts","sourceRoot":"","sources":["../../src/selections/BaseSelection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,oCAAoC;AACpC,MAAM,CAAC,OAAO,OAAO,aAAc,YAAW,aAAa;IAEzD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,SAAM;IACV,cAAc,EAAE,MAAM,CAAa;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,SAAO;IACZ,KAAK,UAAS;IACd,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uCAAuC;IACvC,OAAO,EAAE,OAAO,CAAC;gBACL,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;IAMnC,QAAQ;IAIR,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAa7B,SAAS;IAIT,aAAa,CAAC,KAAK,EAAE,aAAa;IASlC,MAAM,CAAC,mBAAmB,CAAC,CAAC,EAAE,aAAa;IAM3C,cAAc,CACZ,CAAC,EAAE,MAAM,EACT,GAAG,EAAE,CAAC,MAAM,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC,EAC7C,CAAC,CAAC,EAAE,OAAO;IAoBb,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,GAAG,CAAC,IAAI,aAAa;CAGrE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
|
-
import { default as BaseSelection } from './BaseSelection';
|
|
3
|
-
import { SelectionBase } from './utils';
|
|
4
|
-
/** Class to select a circular sector */
|
|
5
|
-
export default class CircularSectorialSelection extends BaseSelection {
|
|
6
|
-
readonly _defaultColour = "#117733";
|
|
7
|
-
/** inner and outer radii */
|
|
8
|
-
radii: [number, number];
|
|
9
|
-
/** start and end angles (radians) */
|
|
10
|
-
angles: [number, number];
|
|
11
|
-
constructor(start: [number, number], radii: [number, number], angles: [number, number]);
|
|
12
|
-
static clicks(): number[];
|
|
13
|
-
static isShape(s: CircularSectorialSelection | SelectionBase): s is CircularSectorialSelection;
|
|
14
|
-
static createFromPoints(points: Vector3[]): CircularSectorialSelection;
|
|
15
|
-
static createFromSelection(s: CircularSectorialSelection): CircularSectorialSelection;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=CircularSectorialSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CircularSectorialSelection.d.ts","sourceRoot":"","sources":["../../src/selections/CircularSectorialSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,wCAAwC;AACxC,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,aAAa;IACnE,QAAQ,CAAC,cAAc,aAAa;IACpC,4BAA4B;IAC5B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,qCAAqC;IACrC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;gBAEvB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EACvB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EACvB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;IAQ1B,MAAM,CAAC,MAAM;WAIG,OAAO,CACrB,CAAC,EAAE,0BAA0B,GAAG,aAAa,GAC5C,CAAC,IAAI,0BAA0B;IAIlC,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE;WAwBzB,mBAAmB,CAAC,CAAC,EAAE,0BAA0B;CASlE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
|
-
import { default as BaseSelection } from './BaseSelection';
|
|
3
|
-
import { SelectionBase } from './utils';
|
|
4
|
-
/** Class to select a circle */
|
|
5
|
-
export default class CircularSelection extends BaseSelection {
|
|
6
|
-
readonly _defaultColour = "#332288";
|
|
7
|
-
/** radius of circle */
|
|
8
|
-
radius: number;
|
|
9
|
-
constructor(start: [number, number], radius: number);
|
|
10
|
-
static clicks(): number[];
|
|
11
|
-
static isShape(s: CircularSelection | SelectionBase): s is CircularSelection;
|
|
12
|
-
static createFromPoints(points: Vector3[]): CircularSelection;
|
|
13
|
-
static createFromSelection(s: CircularSelection): CircularSelection;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=CircularSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CircularSelection.d.ts","sourceRoot":"","sources":["../../src/selections/CircularSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,+BAA+B;AAC/B,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,aAAa;IAC1D,QAAQ,CAAC,cAAc,aAAa;IACpC,uBAAuB;IACvB,MAAM,EAAE,MAAM,CAAC;gBACH,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM;IAMnD,MAAM,CAAC,MAAM;WAIG,OAAO,CACrB,CAAC,EAAE,iBAAiB,GAAG,aAAa,GACnC,CAAC,IAAI,iBAAiB;IAIzB,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE;WAKzB,mBAAmB,CAAC,CAAC,EAAE,iBAAiB;CAKzD"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
|
-
import { default as OrientableSelection } from './OrientableSelection';
|
|
3
|
-
import { SelectionBase } from './utils';
|
|
4
|
-
/** Class to select an ellipse */
|
|
5
|
-
export default class EllipticalSelection extends OrientableSelection {
|
|
6
|
-
readonly _defaultColour = "#999933";
|
|
7
|
-
/** lengths of major and minor semi-axes */
|
|
8
|
-
semiAxes: [number, number];
|
|
9
|
-
constructor(start: [number, number], semiAxes: [number, number], angle?: number);
|
|
10
|
-
static clicks(): number[];
|
|
11
|
-
static isShape(s: EllipticalSelection | SelectionBase): s is EllipticalSelection;
|
|
12
|
-
static createFromPoints(points: Vector3[]): EllipticalSelection;
|
|
13
|
-
static createFromSelection(s: EllipticalSelection): EllipticalSelection;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=EllipticalSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EllipticalSelection.d.ts","sourceRoot":"","sources":["../../src/selections/EllipticalSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,iCAAiC;AACjC,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,mBAAmB;IAClE,QAAQ,CAAC,cAAc,aAAa;IACpC,2CAA2C;IAC3C,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;gBACf,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,SAAI;IAM1E,MAAM,CAAC,MAAM;WAIG,OAAO,CACrB,CAAC,EAAE,mBAAmB,GAAG,aAAa,GACrC,CAAC,IAAI,mBAAmB;IAI3B,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE;WAkBzB,mBAAmB,CAAC,CAAC,EAAE,mBAAmB;CAK3D"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
|
-
import { default as OrientableSelection } from './OrientableSelection';
|
|
3
|
-
import { SelectionBase } from './utils';
|
|
4
|
-
/** Class to select a line */
|
|
5
|
-
export default class LinearSelection extends OrientableSelection {
|
|
6
|
-
readonly _defaultColour = "#44aa99";
|
|
7
|
-
/** length of line */
|
|
8
|
-
length: number;
|
|
9
|
-
constructor(start?: [number, number], length?: number, angle?: number);
|
|
10
|
-
_getPoint(fraction?: number): Vector3;
|
|
11
|
-
getPoints(): Vector3[];
|
|
12
|
-
toString(): string;
|
|
13
|
-
static clicks(): number[];
|
|
14
|
-
static isShape(s: LinearSelection | SelectionBase): s is LinearSelection;
|
|
15
|
-
_setFromPoints(points: Vector3[]): void;
|
|
16
|
-
static createFromPoints(points: Vector3[]): LinearSelection;
|
|
17
|
-
static createFromSelection(s: LinearSelection): LinearSelection;
|
|
18
|
-
onHandleChange(i: number, pos: [number | undefined, number | undefined]): LinearSelection;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=LinearSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinearSelection.d.ts","sourceRoot":"","sources":["../../src/selections/LinearSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,6BAA6B;AAC7B,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,mBAAmB;IAC9D,QAAQ,CAAC,cAAc,aAAa;IACpC,qBAAqB;IACrB,MAAM,EAAE,MAAM,CAAC;gBACH,KAAK,GAAE,CAAC,MAAM,EAAE,MAAM,CAAU,EAAE,MAAM,SAAI,EAAE,KAAK,SAAI;IAMnE,SAAS,CAAC,QAAQ,SAAI,GAAG,OAAO;IAMvB,SAAS,IAAI,OAAO,EAAE;IAItB,QAAQ;IAOjB,MAAM,CAAC,MAAM;WAIG,OAAO,CACrB,CAAC,EAAE,eAAe,GAAG,aAAa,GACjC,CAAC,IAAI,eAAe;IAIvB,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE;IAWhC,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE;WAMzB,mBAAmB,CAAC,CAAC,EAAE,eAAe;IAM7C,cAAc,CACrB,CAAC,EAAE,MAAM,EACT,GAAG,EAAE,CAAC,MAAM,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CA4BhD"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Matrix3 } from 'three';
|
|
2
|
-
import { default as BaseSelection } from './BaseSelection';
|
|
3
|
-
import { SelectionBase } from './utils';
|
|
4
|
-
/** Superclass for all orientable selections */
|
|
5
|
-
export default class OrientableSelection extends BaseSelection {
|
|
6
|
-
/** angle of selection (radians) */
|
|
7
|
-
angle: number;
|
|
8
|
-
protected _transform: Matrix3;
|
|
9
|
-
protected _invTransform: Matrix3;
|
|
10
|
-
constructor(start: [number, number], angle?: number);
|
|
11
|
-
setAngle(angle: number): void;
|
|
12
|
-
static isShape(s: OrientableSelection | SelectionBase): s is OrientableSelection;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=OrientableSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrientableSelection.d.ts","sourceRoot":"","sources":["../../src/selections/OrientableSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,+CAA+C;AAC/C,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,aAAa;IAC5D,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC;gBACrB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,SAAI;IAO9C,QAAQ,CAAC,KAAK,EAAE,MAAM;WAMN,OAAO,CACrB,CAAC,EAAE,mBAAmB,GAAG,aAAa,GACrC,CAAC,IAAI,mBAAmB;CAG5B"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
|
-
import { default as BaseSelection } from './BaseSelection';
|
|
3
|
-
import { SelectionBase } from './utils';
|
|
4
|
-
/** Class to select a polygon */
|
|
5
|
-
export default class PolygonalSelection extends BaseSelection {
|
|
6
|
-
readonly _defaultOpenColour = "#88ccee";
|
|
7
|
-
readonly _defaultClosedColour = "#ffa07a";
|
|
8
|
-
readonly _defaultColour = "#88ccee";
|
|
9
|
-
/** array of point coordinates */
|
|
10
|
-
points: [number, number][];
|
|
11
|
-
/** if true, polygon is closed by joining last and first point */
|
|
12
|
-
closed: boolean;
|
|
13
|
-
constructor(points: [number, number][], closed?: boolean);
|
|
14
|
-
getPoints(): Vector3[];
|
|
15
|
-
getPoint(i: number): Vector3 | null;
|
|
16
|
-
static clicks(): number[];
|
|
17
|
-
static isShape(s: PolygonalSelection | SelectionBase): s is PolygonalSelection;
|
|
18
|
-
static createFromPoints(closed: boolean, points: Vector3[]): PolygonalSelection;
|
|
19
|
-
static createFromSelection(s: PolygonalSelection): PolygonalSelection;
|
|
20
|
-
onHandleChange(i: number, pos: [number | undefined, number | undefined]): PolygonalSelection;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=PolygonalSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PolygonalSelection.d.ts","sourceRoot":"","sources":["../../src/selections/PolygonalSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,gCAAgC;AAChC,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,aAAa;IAC3D,QAAQ,CAAC,kBAAkB,aAAa;IACxC,QAAQ,CAAC,oBAAoB,aAAa;IAC1C,QAAQ,CAAC,cAAc,aAA2B;IAClD,iCAAiC;IACjC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAC3B,iEAAiE;IACjE,MAAM,EAAE,OAAO,CAAC;gBACJ,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,EAAE,OAAO;IAS/C,SAAS,IAAI,OAAO,EAAE;IAW/B,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI;IAgBnC,MAAM,CAAC,MAAM;WAIG,OAAO,CACrB,CAAC,EAAE,kBAAkB,GAAG,aAAa,GACpC,CAAC,IAAI,kBAAkB;IAI1B,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;WAQ1C,mBAAmB,CAAC,CAAC,EAAE,kBAAkB;IAShD,cAAc,CACrB,CAAC,EAAE,MAAM,EACT,GAAG,EAAE,CAAC,MAAM,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAkBhD"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
|
-
import { default as OrientableSelection } from './OrientableSelection';
|
|
3
|
-
import { SelectionBase } from './utils';
|
|
4
|
-
/** Class to select a rectangle */
|
|
5
|
-
export default class RectangularSelection extends OrientableSelection {
|
|
6
|
-
readonly _defaultColour = "#ddcc77";
|
|
7
|
-
/** lengths of major and minor sides */
|
|
8
|
-
lengths: [number, number];
|
|
9
|
-
constructor(start: [number, number], lengths: [number, number], angle?: number);
|
|
10
|
-
getPoints(): Vector3[];
|
|
11
|
-
getPoint(i: number): Vector3 | null;
|
|
12
|
-
toString(): string;
|
|
13
|
-
static clicks(): number[];
|
|
14
|
-
static isShape(s: RectangularSelection | SelectionBase): s is RectangularSelection;
|
|
15
|
-
static createFromPoints(axesFlipped: [boolean, boolean], points: Vector3[]): RectangularSelection;
|
|
16
|
-
static createFromSelection(s: RectangularSelection): RectangularSelection;
|
|
17
|
-
onHandleChange(i: number, pos: [number | undefined, number | undefined]): RectangularSelection;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=RectangularSelection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RectangularSelection.d.ts","sourceRoot":"","sources":["../../src/selections/RectangularSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,kCAAkC;AAClC,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,mBAAmB;IACnE,QAAQ,CAAC,cAAc,aAAa;IACpC,uCAAuC;IACvC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;gBACd,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,SAAI;IAMhE,SAAS,IAAI,OAAO,EAAE;IAK/B,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI;IAyB1B,QAAQ;IAMjB,MAAM,CAAC,MAAM;WAIG,OAAO,CACrB,CAAC,EAAE,oBAAoB,GAAG,aAAa,GACtC,CAAC,IAAI,oBAAoB;IAI5B,MAAM,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE;WA2B1D,mBAAmB,CAAC,CAAC,EAAE,oBAAoB;IAMlD,cAAc,CACrB,CAAC,EAAE,MAAM,EACT,GAAG,EAAE,CAAC,MAAM,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAwDhD"}
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { Size } from '@h5web/lib';
|
|
2
|
-
import { Vector3 } from 'three';
|
|
3
|
-
import { default as AxialSelection } from './AxialSelection';
|
|
4
|
-
import { default as CircularSelection } from './CircularSelection';
|
|
5
|
-
import { default as CircularSectorialSelection } from './CircularSectorialSelection';
|
|
6
|
-
import { default as EllipticalSelection } from './EllipticalSelection';
|
|
7
|
-
import { default as LinearSelection } from './LinearSelection';
|
|
8
|
-
import { default as PolygonalSelection } from './PolygonalSelection';
|
|
9
|
-
import { default as RectangularSelection } from './RectangularSelection';
|
|
10
|
-
import { Points } from '../MulticlickSelectionTool';
|
|
11
|
-
/**
|
|
12
|
-
* Supported types of selections
|
|
13
|
-
*/
|
|
14
|
-
declare enum SelectionType {
|
|
15
|
-
line = "line",
|
|
16
|
-
rectangle = "rectangle",
|
|
17
|
-
polyline = "polyline",
|
|
18
|
-
polygon = "polygon",
|
|
19
|
-
circle = "circle",
|
|
20
|
-
ellipse = "ellipse",
|
|
21
|
-
sector = "sector",
|
|
22
|
-
horizontalAxis = "horizontalAxis",
|
|
23
|
-
verticalAxis = "verticalAxis",
|
|
24
|
-
unknown = "unknown"
|
|
25
|
-
}
|
|
26
|
-
type SelectionOptions = {
|
|
27
|
-
[K in SelectionType]?: number;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @param t string type
|
|
31
|
-
* @returns selection type
|
|
32
|
-
*/
|
|
33
|
-
declare function toSelectionType(t: string): SelectionType;
|
|
34
|
-
/**
|
|
35
|
-
* Function called when drag handles are moved
|
|
36
|
-
*/
|
|
37
|
-
type HandleChangeFunction = (
|
|
38
|
-
/** Number of drag handle */
|
|
39
|
-
i: number,
|
|
40
|
-
/** Position of handle */
|
|
41
|
-
pos: [number | undefined, number | undefined],
|
|
42
|
-
/** If true, then is dragging */
|
|
43
|
-
d?: boolean) => SelectionBase;
|
|
44
|
-
/**
|
|
45
|
-
* Base for Selection
|
|
46
|
-
*/
|
|
47
|
-
interface SelectionBase {
|
|
48
|
-
/** identity */
|
|
49
|
-
readonly id: string;
|
|
50
|
-
/** name */
|
|
51
|
-
name: string;
|
|
52
|
-
/** default colour */
|
|
53
|
-
_defaultColour: string;
|
|
54
|
-
/** outline colour */
|
|
55
|
-
colour?: string;
|
|
56
|
-
/** opacity [0,1] */
|
|
57
|
-
alpha: number;
|
|
58
|
-
/** if true, not moveable */
|
|
59
|
-
fixed: boolean;
|
|
60
|
-
/** start (or centre) point coordinate */
|
|
61
|
-
start: [number, number];
|
|
62
|
-
/** if true, outline is dashed */
|
|
63
|
-
_asDashed?: boolean;
|
|
64
|
-
/** set start */
|
|
65
|
-
setStart: (i: number, v: number) => void;
|
|
66
|
-
/** retrieve points */
|
|
67
|
-
getPoints: () => Vector3[];
|
|
68
|
-
/** callback for drag handle movements */
|
|
69
|
-
onHandleChange: HandleChangeFunction;
|
|
70
|
-
/** string representation */
|
|
71
|
-
toString: () => string;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Convert to polar coordinate
|
|
75
|
-
* @param xy Cartesian coordinate
|
|
76
|
-
* @returns radius, polar angle
|
|
77
|
-
*/
|
|
78
|
-
declare function polar(xy: Vector3): [number, number];
|
|
79
|
-
/**
|
|
80
|
-
* Get SelectionType
|
|
81
|
-
* @param selection selection
|
|
82
|
-
* @returns SelectionType of given selection
|
|
83
|
-
*/
|
|
84
|
-
declare function getSelectionType(selection: SelectionBase): SelectionType;
|
|
85
|
-
/**
|
|
86
|
-
* Clone selection
|
|
87
|
-
* @param selection selection
|
|
88
|
-
* @returns clone of given selection or null
|
|
89
|
-
*/
|
|
90
|
-
declare function cloneSelection(selection: SelectionBase): AxialSelection | CircularSelection | CircularSectorialSelection | EllipticalSelection | LinearSelection | PolygonalSelection | RectangularSelection | null;
|
|
91
|
-
/**
|
|
92
|
-
* Serialize selections by filtering extraneous entries
|
|
93
|
-
* @param selection
|
|
94
|
-
* @returns serialized selection
|
|
95
|
-
*/
|
|
96
|
-
declare function serializeSelection(selection: SelectionBase): {
|
|
97
|
-
[k: string]: any;
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* Get (minimum) number of clicks required for given selection type
|
|
101
|
-
* @param selectionType type of selection
|
|
102
|
-
* @returns number of clicks
|
|
103
|
-
*/
|
|
104
|
-
declare function getClicks(selectionType: SelectionType): number[];
|
|
105
|
-
/**
|
|
106
|
-
* Convert point coordinates to a selection
|
|
107
|
-
* @param selections current selections
|
|
108
|
-
* @param selectionType type of selection
|
|
109
|
-
* @param points selection point coordinates
|
|
110
|
-
* @param alpha opacity
|
|
111
|
-
* @param colour outline colour
|
|
112
|
-
* @returns selection
|
|
113
|
-
*/
|
|
114
|
-
declare function pointsToSelection(selections: SelectionBase[], selectionType: SelectionType, points: Vector3[], alpha: number, colour?: string): SelectionBase;
|
|
115
|
-
/**
|
|
116
|
-
* Create shape from clicked points
|
|
117
|
-
* @param selectionType type of selection
|
|
118
|
-
* @param points array of clicked point coordinates
|
|
119
|
-
* @param axesFlipped array that specifies whether x and y axes are flipped
|
|
120
|
-
* @param alpha opacity
|
|
121
|
-
* @param size canvas size
|
|
122
|
-
* @param colour outline colour
|
|
123
|
-
* @returns shape
|
|
124
|
-
*/
|
|
125
|
-
declare function pointsToShape(selectionType: SelectionType, points: Vector3[], axesFlipped: [boolean, boolean], alpha: number, size: Size, colour?: string): import("react").JSX.Element | null;
|
|
126
|
-
/**
|
|
127
|
-
* Make shapes from given selections
|
|
128
|
-
* @param size canvas size
|
|
129
|
-
* @param selections selections
|
|
130
|
-
* @param showHandles if true, show handles
|
|
131
|
-
* @param update callback to update selections
|
|
132
|
-
* @returns shape
|
|
133
|
-
*/
|
|
134
|
-
declare function makeShapes(size: Size, selections: SelectionBase[], showHandles: boolean, update?: SelectionHandler): import("react").JSX.Element[] | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* Get a label for given selection
|
|
137
|
-
* @param selection selection
|
|
138
|
-
* @param selectionIcons map of selection icon characters
|
|
139
|
-
* @returns label
|
|
140
|
-
*/
|
|
141
|
-
declare function getSelectionLabel(selection: SelectionBase | null, selectionIcons?: {
|
|
142
|
-
line: string;
|
|
143
|
-
rectangle: string;
|
|
144
|
-
polyline: string;
|
|
145
|
-
polygon: string;
|
|
146
|
-
circle: string;
|
|
147
|
-
ellipse: string;
|
|
148
|
-
sector: string;
|
|
149
|
-
horizontalAxis: string;
|
|
150
|
-
verticalAxis: string;
|
|
151
|
-
unknown: string;
|
|
152
|
-
}): string;
|
|
153
|
-
declare function getSelectionLabelFromID(selections: SelectionBase[], id: string | null, selectionIcons: {
|
|
154
|
-
line: string;
|
|
155
|
-
rectangle: string;
|
|
156
|
-
polyline: string;
|
|
157
|
-
polygon: string;
|
|
158
|
-
circle: string;
|
|
159
|
-
ellipse: string;
|
|
160
|
-
sector: string;
|
|
161
|
-
horizontalAxis: string;
|
|
162
|
-
verticalAxis: string;
|
|
163
|
-
unknown: string;
|
|
164
|
-
}): string;
|
|
165
|
-
/**
|
|
166
|
-
* Check if clicked points are valid for given selection type
|
|
167
|
-
* @param html clicked point coordinates in HTML space
|
|
168
|
-
* @param selectionType type of selection
|
|
169
|
-
* @returns true if points are valid
|
|
170
|
-
*/
|
|
171
|
-
declare function validateHtml(html: Points, selectionType: SelectionType): boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Selections event type
|
|
174
|
-
*/
|
|
175
|
-
declare enum SelectionsEventType {
|
|
176
|
-
created = "created",
|
|
177
|
-
removed = "removed",
|
|
178
|
-
updated = "updated"
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* Selections event listener
|
|
182
|
-
*/
|
|
183
|
-
type SelectionsEventListener = (type: SelectionsEventType,
|
|
184
|
-
/** if true, selection is being dragged */
|
|
185
|
-
dragging: boolean,
|
|
186
|
-
/** can be undefined for removing all selections */
|
|
187
|
-
selection?: SelectionBase) => void;
|
|
188
|
-
/**
|
|
189
|
-
* Selection handler
|
|
190
|
-
* @returns ID of changed selection
|
|
191
|
-
*/
|
|
192
|
-
type SelectionHandler = (selection: SelectionBase | null,
|
|
193
|
-
/** if true, selection is being dragged */
|
|
194
|
-
dragging?: boolean,
|
|
195
|
-
/** if true, remove selection */
|
|
196
|
-
clear?: boolean) => string | null;
|
|
197
|
-
/**
|
|
198
|
-
* Custom hook to handle selection changes
|
|
199
|
-
* @param initSelections initial selections
|
|
200
|
-
* @param listener event listener
|
|
201
|
-
* @returns selections, selections setter, new selection reference, updateSelection, canSelect, enableSelect
|
|
202
|
-
*/
|
|
203
|
-
declare function useSelections(initSelections?: SelectionBase[], listener?: SelectionsEventListener): {
|
|
204
|
-
selections: SelectionBase[];
|
|
205
|
-
setSelections: import('react').Dispatch<import('react').SetStateAction<SelectionBase[]>>;
|
|
206
|
-
isNewSelection: import('react').MutableRefObject<boolean>;
|
|
207
|
-
updateSelection: SelectionHandler;
|
|
208
|
-
canSelect: boolean;
|
|
209
|
-
enableSelect: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
210
|
-
};
|
|
211
|
-
/**
|
|
212
|
-
* Set asDashed property of selection to false.
|
|
213
|
-
* @param {SelectionBase} s - The selection to modify.
|
|
214
|
-
*/
|
|
215
|
-
declare function undashSelection(s: SelectionBase): void;
|
|
216
|
-
/**
|
|
217
|
-
* Set asDashed property of selection to true.
|
|
218
|
-
* @param {SelectionBase} s - The selection to modify.
|
|
219
|
-
*/
|
|
220
|
-
declare function dashSelection(s: SelectionBase): void;
|
|
221
|
-
export { getClicks, getSelectionLabel, getSelectionLabelFromID, getSelectionType, makeShapes, pointsToSelection, pointsToShape, polar, cloneSelection, validateHtml, useSelections, SelectionType, SelectionsEventType, dashSelection, undashSelection, toSelectionType, serializeSelection, };
|
|
222
|
-
export type { HandleChangeFunction, SelectionBase, SelectionHandler, SelectionsEventListener, SelectionOptions, };
|
|
223
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/selections/utils.tsx"],"names":[],"mappings":"AACA;;;;GAIG;AAEH,OAAO,EAGL,KAAK,IAAI,EAGV,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,0BAA0B,MAAM,8BAA8B,CAAC;AACtE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEzD;;GAEG;AACH,aAAK,aAAa;IAChB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,OAAO,YAAY;CAC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T,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,KAAK,EACL,cAAc,EACd,YAAY,EACZ,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,eAAe,EACf,kBAAkB,GACnB,CAAC;AAEF,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,GACjB,CAAC"}
|
package/dist/setupTests.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=setupTests.d.ts.map
|
package/dist/setupTests.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setupTests.d.ts","sourceRoot":"","sources":["../src/setupTests.ts"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC"}
|