@insync-stageplayer/annotations 0.5.38-beta.1 → 0.6.0
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/lib/components/AnnotationContent.d.ts +1 -1
- package/lib/components/AnnotationContent.d.ts.map +1 -1
- package/lib/redux/annotationEditor.slice.d.ts +7 -4
- package/lib/redux/annotationEditor.slice.d.ts.map +1 -1
- package/lib/redux/annotationEditor.slice.js +2 -1
- package/lib/redux/annotationEditor.slice.js.map +1 -1
- package/lib/redux/annotations.slice.d.ts +8 -5
- package/lib/redux/annotations.slice.d.ts.map +1 -1
- package/lib/redux/annotations.slice.js +6 -4
- package/lib/redux/annotations.slice.js.map +1 -1
- package/lib/redux/measurementDisplayEditor.slice.d.ts +3 -12
- package/lib/redux/measurementDisplayEditor.slice.d.ts.map +1 -1
- package/lib/redux/measurementDisplayEditor.slice.js +2 -1
- package/lib/redux/measurementDisplayEditor.slice.js.map +1 -1
- package/lib/redux/measurementDisplays.slice.d.ts +7 -4
- package/lib/redux/measurementDisplays.slice.d.ts.map +1 -1
- package/lib/redux/measurementDisplays.slice.js +4 -2
- package/lib/redux/measurementDisplays.slice.js.map +1 -1
- package/lib/redux/reducer.d.ts +11 -51
- package/lib/redux/reducer.d.ts.map +1 -1
- package/lib/redux/reducer.js.map +1 -1
- package/package.json +8 -7
|
@@ -23,7 +23,7 @@ export declare type ContentElementMap = {
|
|
|
23
23
|
renderer: <T extends ContentElementRenderer>(props: T) => JSX.Element;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export interface AnnotationContentProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
26
|
+
export interface AnnotationContentProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "content"> {
|
|
27
27
|
editable?: boolean;
|
|
28
28
|
content: Node[] | undefined;
|
|
29
29
|
onChange?: (newContent: Node[]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotationContent.d.ts","sourceRoot":"","sources":["../../src/components/AnnotationContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAgB,IAAI,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAIL,kBAAkB,EAClB,WAAW,EACZ,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,oBAAY,iBAAiB,GAAG;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG;QACb;;WAEG;QACH,MAAM,EAAE,OAAO,CAAC;QAChB;;WAEG;QACH,MAAM,EAAE,OAAO,CAAC;QAChB;;WAEG;QACH,QAAQ,EAAE,CAAC,CAAC,SAAS,sBAAsB,EAAE,KAAK,EAAE,CAAC,KAAK,GAAG,CAAC,OAAO,CAAC;KACvE,CAAC;CACH,CAAC;AAEF,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"AnnotationContent.d.ts","sourceRoot":"","sources":["../../src/components/AnnotationContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAgB,IAAI,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAIL,kBAAkB,EAClB,WAAW,EACZ,MAAM,aAAa,CAAC;AAGrB,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB;IAChE,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,oBAAY,iBAAiB,GAAG;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG;QACb;;WAEG;QACH,MAAM,EAAE,OAAO,CAAC;QAChB;;WAEG;QACH,MAAM,EAAE,OAAO,CAAC;QAChB;;WAEG;QACH,QAAQ,EAAE,CAAC,CAAC,SAAS,sBAAsB,EAAE,KAAK,EAAE,CAAC,KAAK,GAAG,CAAC,OAAO,CAAC;KACvE,CAAC;CACH,CAAC;AAEF,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACzC,QAAQ,EAAE,iBAAiB,CAAC;CAC7B;AAmDD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAwC9D,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { Reducer } from "redux";
|
|
1
2
|
import { Node } from "slate";
|
|
2
3
|
import { Annotation } from "./annotations.slice";
|
|
3
4
|
declare type EditingAnnotation = Omit<Annotation, "id"> & {
|
|
4
5
|
id: string | undefined;
|
|
5
6
|
};
|
|
6
|
-
|
|
7
|
-
declare const _default: import("redux").Reducer<{
|
|
7
|
+
declare const createInitialState: (annotation?: EditingAnnotation) => {
|
|
8
8
|
/**
|
|
9
9
|
* The current annotation being edited.
|
|
10
10
|
*/
|
|
@@ -33,6 +33,9 @@ declare const _default: import("redux").Reducer<{
|
|
|
33
33
|
* The MeasurementDisplay currently being editted.
|
|
34
34
|
*/
|
|
35
35
|
editingMeasurementDisplay: string | null;
|
|
36
|
-
}
|
|
37
|
-
export
|
|
36
|
+
};
|
|
37
|
+
export declare const initEditor: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<Annotation | undefined, "annotationEditor/initEditor">, updateContent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Node[], "annotationEditor/updateContent">, pickMeasurement: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"annotationEditor/pickMeasurement">, pickMeasurementChoose: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "annotationEditor/pickMeasurementChoose">, pickMeasurementSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "annotationEditor/pickMeasurementSuccess">, pickMeasurementClose: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"annotationEditor/pickMeasurementClose">, pickMeasurementSubmit: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"annotationEditor/pickMeasurementSubmit">, pickMeasurementFail: import("@reduxjs/toolkit").ActionCreatorWithPayload<Error, "annotationEditor/pickMeasurementFail">, editDisplay: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "annotationEditor/editDisplay">, finishEditingDisplay: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"annotationEditor/finishEditingDisplay">;
|
|
38
|
+
export declare type AnnotationEditorState = ReturnType<typeof createInitialState>;
|
|
39
|
+
declare const annotationEditorReducer: Reducer<AnnotationEditorState>;
|
|
40
|
+
export default annotationEditorReducer;
|
|
38
41
|
//# sourceMappingURL=annotationEditor.slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotationEditor.slice.d.ts","sourceRoot":"","sources":["../../src/redux/annotationEditor.slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"annotationEditor.slice.d.ts","sourceRoot":"","sources":["../../src/redux/annotationEditor.slice.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,aAAK,iBAAiB,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,GAAG;IAChD,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;CACxB,CAAC;AAcF,QAAA,MAAM,kBAAkB,gBAAiB,iBAAiB;IACxD;;OAEG;;IAEH;;;OAGG;;;;;IAKH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEH,CAAC;AAyFH,eAAO,MACL,UAAU,sHACV,aAAa,iGACb,eAAe,8FACf,qBAAqB,yGACrB,sBAAsB,0GACtB,oBAAoB,mGACpB,qBAAqB,oGACrB,mBAAmB,sGACnB,WAAW,+FACX,oBAAoB,iGACW,CAAC;AAElC,oBAAY,qBAAqB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE1E,QAAA,MAAM,uBAAuB,EAAE,OAAO,CAAC,qBAAqB,CAC7B,CAAC;AAEhC,eAAe,uBAAuB,CAAC"}
|
|
@@ -119,5 +119,6 @@ const annotationEditorSlice = createSlice({
|
|
|
119
119
|
},
|
|
120
120
|
});
|
|
121
121
|
export const { initEditor, updateContent, pickMeasurement, pickMeasurementChoose, pickMeasurementSuccess, pickMeasurementClose, pickMeasurementSubmit, pickMeasurementFail, editDisplay, finishEditingDisplay, } = annotationEditorSlice.actions;
|
|
122
|
-
|
|
122
|
+
const annotationEditorReducer = annotationEditorSlice.reducer;
|
|
123
|
+
export default annotationEditorReducer;
|
|
123
124
|
//# sourceMappingURL=annotationEditor.slice.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotationEditor.slice.js","sourceRoot":"","sources":["../../src/redux/annotationEditor.slice.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAiB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"annotationEditor.slice.js","sourceRoot":"","sources":["../../src/redux/annotationEditor.slice.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAiB,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAQjC,MAAM,iBAAiB,GAAG;IACxB,EAAE,EAAE,SAAS;IACb,u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,EACf,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,WAAW,EACX,oBAAoB,GACrB,GAAG,qBAAqB,CAAC,OAAO,CAAC;AAIlC,MAAM,uBAAuB,GAC3B,qBAAqB,CAAC,OAAO,CAAC;AAEhC,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Node } from "slate";
|
|
2
2
|
import { Position2D } from "@insync-stageplayer/common";
|
|
3
|
+
import { Reducer } from "redux";
|
|
3
4
|
/**
|
|
4
5
|
* An annotation that can be placed on a 2D surface
|
|
5
6
|
*/
|
|
@@ -23,10 +24,12 @@ export declare function isAnnotation(arg: unknown): arg is Annotation;
|
|
|
23
24
|
/**
|
|
24
25
|
* Please read up https://redux-toolkit.js.org/usage/usage-with-typescript#createentityadapter to understand what this is.
|
|
25
26
|
*/
|
|
26
|
-
export declare const annotationsAdapter: import("@reduxjs/toolkit").EntityAdapter<Annotation>;
|
|
27
|
-
|
|
28
|
-
declare const _default: import("redux").Reducer<import("@reduxjs/toolkit").EntityState<Annotation> & {
|
|
27
|
+
export declare const annotationsAdapter: import("@reduxjs/toolkit").EntityAdapter<Annotation, string>;
|
|
28
|
+
declare const initialState: import("@reduxjs/toolkit").EntityState<Annotation, string> & {
|
|
29
29
|
editingAnnotation: string | undefined;
|
|
30
|
-
}
|
|
31
|
-
export
|
|
30
|
+
};
|
|
31
|
+
export declare const editAnnotation: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "annotations/editAnnotation">, editAnnotationCancel: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"annotations/editAnnotationCancel">, editAnnotationSubmit: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "annotations/editAnnotationSubmit">, editAnnotationDelete: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"annotations/editAnnotationDelete">, createAnnotation: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "annotations/createAnnotation">, createAnnotations: import("@reduxjs/toolkit").ActionCreatorWithPayload<Record<string, Annotation> | readonly Annotation[], "annotations/createAnnotations">, updateAnnotation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("@reduxjs/toolkit").Update<Annotation, string>, "annotations/updateAnnotation">, deleteAnnotation: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "annotations/deleteAnnotation">;
|
|
32
|
+
export declare type AnnotationsState = typeof initialState;
|
|
33
|
+
declare const annotationsReducer: Reducer<AnnotationsState>;
|
|
34
|
+
export default annotationsReducer;
|
|
32
35
|
//# sourceMappingURL=annotations.slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotations.slice.d.ts","sourceRoot":"","sources":["../../src/redux/annotations.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAGL,UAAU,EACX,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"annotations.slice.d.ts","sourceRoot":"","sources":["../../src/redux/annotations.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAGL,UAAU,EACX,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC;;GAEG;AACH,oBAAY,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC;CAClB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,UAAU,CAO5D;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,8DAAoC,CAAC;AAkBpE,QAAA,MAAM,YAAY;;CAEhB,CAAC;AAmCH,eAAO,MACL,cAAc,6FACd,oBAAoB,8FACpB,oBAAoB,gGACpB,oBAAoB,8FACpB,gBAAgB,+FAChB,iBAAiB,4IACjB,gBAAgB,8IAChB,gBAAgB,6FACU,CAAC;AAE7B,oBAAY,gBAAgB,GAAG,OAAO,YAAY,CAAC;AAEnD,QAAA,MAAM,kBAAkB,EAAE,OAAO,CAAC,gBAAgB,CAA4B,CAAC;AAE/E,eAAe,kBAAkB,CAAC"}
|
|
@@ -30,11 +30,12 @@ const defaultAnnotation = {
|
|
|
30
30
|
},
|
|
31
31
|
],
|
|
32
32
|
};
|
|
33
|
+
const initialState = annotationsAdapter.getInitialState({
|
|
34
|
+
editingAnnotation: undefined,
|
|
35
|
+
});
|
|
33
36
|
const annotationsSlice = createSlice({
|
|
34
37
|
name: "annotations",
|
|
35
|
-
initialState
|
|
36
|
-
editingAnnotation: undefined,
|
|
37
|
-
}),
|
|
38
|
+
initialState,
|
|
38
39
|
reducers: {
|
|
39
40
|
createAnnotations: annotationsAdapter.addMany,
|
|
40
41
|
updateAnnotation: annotationsAdapter.updateOne,
|
|
@@ -62,5 +63,6 @@ const annotationsSlice = createSlice({
|
|
|
62
63
|
},
|
|
63
64
|
});
|
|
64
65
|
export const { editAnnotation, editAnnotationCancel, editAnnotationSubmit, editAnnotationDelete, createAnnotation, createAnnotations, updateAnnotation, deleteAnnotation, } = annotationsSlice.actions;
|
|
65
|
-
|
|
66
|
+
const annotationsReducer = annotationsSlice.reducer;
|
|
67
|
+
export default annotationsReducer;
|
|
66
68
|
//# sourceMappingURL=annotations.slice.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotations.slice.js","sourceRoot":"","sources":["../../src/redux/annotations.slice.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,eAAe,GAEhB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,mBAAmB,EACnB,WAAW,GAEZ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"annotations.slice.js","sourceRoot":"","sources":["../../src/redux/annotations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CAAC,OAAO,CAAC;QAC3C,CAAC;QACD,cAAc,EAAE,CAAC,KAAK,EAAE,MAA6B,EAAE,EAAE;YACvD,KAAK,CAAC,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAC;QAC3C,CAAC;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,EAAE;YAC9B,KAAK,CAAC,iBAAiB,GAAG,SAAS,CAAC;QACtC,CAAC;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YACtC,kBAAkB,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;YAC5C,KAAK,CAAC,iBAAiB,GAAG,SAAS,CAAC;QACtC,CAAC;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,EAAE;YAC9B,IAAI,KAAK,CAAC,iBAAiB,EAAE;gBAC3B,kBAAkB,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;aAC9D;YACD,KAAK,CAAC,iBAAiB,GAAG,SAAS,CAAC;QACtC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EACX,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,GACjB,GAAG,gBAAgB,CAAC,OAAO,CAAC;AAI7B,MAAM,kBAAkB,GAA8B,gBAAgB,CAAC,OAAO,CAAC;AAE/E,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Reducer } from "redux";
|
|
1
2
|
declare const initialState: {
|
|
2
3
|
editingDisplay: string | undefined;
|
|
3
4
|
/**
|
|
@@ -11,16 +12,6 @@ declare const initialState: {
|
|
|
11
12
|
};
|
|
12
13
|
export declare const editMeasurementDisplay: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "measurementDisplayEditor/editMeasurementDisplay">, finishEditMeasurementDisplay: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"measurementDisplayEditor/finishEditMeasurementDisplay">;
|
|
13
14
|
export declare type MeasurementDisplayEditorState = typeof initialState;
|
|
14
|
-
declare const
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Keeps track of the displays we deleted, if the form is submitted, we can delete these.
|
|
18
|
-
*/
|
|
19
|
-
deletedDisplays: string[];
|
|
20
|
-
/**
|
|
21
|
-
* Keeps track of displays we created, if the form is cancelled, we can remove all created displays.
|
|
22
|
-
*/
|
|
23
|
-
createdDisplays: string[];
|
|
24
|
-
}, import("redux").AnyAction>;
|
|
25
|
-
export default _default;
|
|
15
|
+
declare const measurementDisplayEditorReducer: Reducer<MeasurementDisplayEditorState>;
|
|
16
|
+
export default measurementDisplayEditorReducer;
|
|
26
17
|
//# sourceMappingURL=measurementDisplayEditor.slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measurementDisplayEditor.slice.d.ts","sourceRoot":"","sources":["../../src/redux/measurementDisplayEditor.slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"measurementDisplayEditor.slice.d.ts","sourceRoot":"","sources":["../../src/redux/measurementDisplayEditor.slice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,QAAA,MAAM,YAAY;;IAEhB;;OAEG;;IAEH;;OAEG;;CAEJ,CAAC;AAyBF,eAAO,MAAQ,sBAAsB,kHAAE,4BAA4B,iHAC5B,CAAC;AAExC,oBAAY,6BAA6B,GAAG,OAAO,YAAY,CAAC;AAEhE,QAAA,MAAM,+BAA+B,EAAE,OAAO,CAAC,6BAA6B,CACrC,CAAC;AAExC,eAAe,+BAA+B,CAAC"}
|
|
@@ -33,5 +33,6 @@ const measurementDisplayEditorSlice = createSlice({
|
|
|
33
33
|
},
|
|
34
34
|
});
|
|
35
35
|
export const { editMeasurementDisplay, finishEditMeasurementDisplay } = measurementDisplayEditorSlice.actions;
|
|
36
|
-
|
|
36
|
+
const measurementDisplayEditorReducer = measurementDisplayEditorSlice.reducer;
|
|
37
|
+
export default measurementDisplayEditorReducer;
|
|
37
38
|
//# sourceMappingURL=measurementDisplayEditor.slice.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measurementDisplayEditor.slice.js","sourceRoot":"","sources":["../../src/redux/measurementDisplayEditor.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAiB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"measurementDisplayEditor.slice.js","sourceRoot":"","sources":["../../src/redux/measurementDisplayEditor.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAiB,MAAM,kBAAkB,CAAC;AAG9D,MAAM,YAAY,GAAG;IACnB,cAAc,EAAE,SAA+B;IAC/C;;OAEG;IACH,eAAe,EAAE,EAAc;IAC/B;;OAEG;IACH,eAAe,EAAE,EAAc;CAChC,CAAC;AAEF,MAAM,6BAA6B,GAAG,WAAW,CAAC;IAChD,IAAI,EAAE,0BAA0B;IAChC,YAAY;IACZ,QAAQ,EAAE;QACR,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAA6B,EAAE,EAAE;YAC/D,KAAK,CAAC,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC;QACxC,CAAC;QACD,wBAAwB,EAAE,CAAC,KAAK,EAAE,MAA6B,EAAE,EAAE;YACjE,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC7C,CAAC;QACD,4BAA4B,EAAE,CAAC,KAAK,EAAE,EAAE;YACtC,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC;QACnC,CAAC;KACF;IACD,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE;QACzB;;;;UAIE;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,GACnE,6BAA6B,CAAC,OAAO,CAAC;AAIxC,MAAM,+BAA+B,GACnC,6BAA6B,CAAC,OAAO,CAAC;AAExC,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Reducer } from "redux";
|
|
1
2
|
/**
|
|
2
3
|
* An annotation that can be placed on a 2D surface
|
|
3
4
|
*/
|
|
@@ -18,9 +19,11 @@ export declare type MeasurementDisplay = {
|
|
|
18
19
|
decimalsY?: number;
|
|
19
20
|
measurementId: string;
|
|
20
21
|
};
|
|
21
|
-
export declare const measurementDisplaysAdapter: import("@reduxjs/toolkit").EntityAdapter<MeasurementDisplay>;
|
|
22
|
+
export declare const measurementDisplaysAdapter: import("@reduxjs/toolkit").EntityAdapter<MeasurementDisplay, string>;
|
|
23
|
+
declare const initialState: import("@reduxjs/toolkit").EntityState<MeasurementDisplay, string>;
|
|
22
24
|
export declare const selectAllMeasurementDisplays: MeasurementDisplay[];
|
|
23
|
-
export declare const createMeasurementDisplay: import("@reduxjs/toolkit").ActionCreatorWithPayload<MeasurementDisplay, "measurementDisplays/createMeasurementDisplay">, updateMeasurementDisplay: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("@reduxjs/toolkit").Update<MeasurementDisplay>, "measurementDisplays/updateMeasurementDisplay">, deleteMeasurementDisplay: import("@reduxjs/toolkit").ActionCreatorWithPayload<
|
|
24
|
-
declare
|
|
25
|
-
|
|
25
|
+
export declare const createMeasurementDisplay: import("@reduxjs/toolkit").ActionCreatorWithPayload<MeasurementDisplay, "measurementDisplays/createMeasurementDisplay">, updateMeasurementDisplay: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("@reduxjs/toolkit").Update<MeasurementDisplay, string>, "measurementDisplays/updateMeasurementDisplay">, deleteMeasurementDisplay: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "measurementDisplays/deleteMeasurementDisplay">, deleteMeasurementDisplays: import("@reduxjs/toolkit").ActionCreatorWithPayload<readonly string[], "measurementDisplays/deleteMeasurementDisplays">;
|
|
26
|
+
export declare type MeasurementDisplaysState = typeof initialState;
|
|
27
|
+
declare const measurementDisplaysReducer: Reducer<MeasurementDisplaysState>;
|
|
28
|
+
export default measurementDisplaysReducer;
|
|
26
29
|
//# sourceMappingURL=measurementDisplays.slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measurementDisplays.slice.d.ts","sourceRoot":"","sources":["../../src/redux/measurementDisplays.slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"measurementDisplays.slice.d.ts","sourceRoot":"","sources":["../../src/redux/measurementDisplays.slice.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC;;GAEG;AACH,oBAAY,kBAAkB,GAAG;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,0BAA0B,sEACI,CAAC;AAC5C,QAAA,MAAM,YAAY,oEAA+C,CAAC;AA2BlE,eAAO,MAAM,4BAA4B,sBACgB,CAAC;AAE1D,eAAO,MACL,wBAAwB,2HACxB,wBAAwB,sKACxB,wBAAwB,+GACxB,yBAAyB,yHACS,CAAC;AAErC,oBAAY,wBAAwB,GAAG,OAAO,YAAY,CAAC;AAE3D,QAAA,MAAM,0BAA0B,EAAE,OAAO,CAAC,wBAAwB,CAChC,CAAC;AAEnC,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { createEntityAdapter, createSlice, configureStore, } from "@reduxjs/toolkit";
|
|
2
2
|
export const measurementDisplaysAdapter = createEntityAdapter();
|
|
3
|
+
const initialState = measurementDisplaysAdapter.getInitialState();
|
|
3
4
|
const measurementDisplaysSlice = createSlice({
|
|
4
5
|
name: "measurementDisplays",
|
|
5
|
-
initialState
|
|
6
|
+
initialState,
|
|
6
7
|
reducers: {
|
|
7
8
|
createMeasurementDisplay: measurementDisplaysAdapter.addOne,
|
|
8
9
|
updateMeasurementDisplay: measurementDisplaysAdapter.updateOne,
|
|
@@ -19,5 +20,6 @@ const measurementDisplaySelectors = measurementDisplaysAdapter.getSelectors((sta
|
|
|
19
20
|
// And then use the selectors to retrieve values
|
|
20
21
|
export const selectAllMeasurementDisplays = measurementDisplaySelectors.selectAll(store.getState());
|
|
21
22
|
export const { createMeasurementDisplay, updateMeasurementDisplay, deleteMeasurementDisplay, deleteMeasurementDisplays, } = measurementDisplaysSlice.actions;
|
|
22
|
-
|
|
23
|
+
const measurementDisplaysReducer = measurementDisplaysSlice.reducer;
|
|
24
|
+
export default measurementDisplaysReducer;
|
|
23
25
|
//# sourceMappingURL=measurementDisplays.slice.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measurementDisplays.slice.js","sourceRoot":"","sources":["../../src/redux/measurementDisplays.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,cAAc,GACf,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"measurementDisplays.slice.js","sourceRoot":"","sources":["../../src/redux/measurementDisplays.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,cAAc,GACf,MAAM,kBAAkB,CAAC;AAwB1B,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,EAAsB,CAAC;AAC5C,MAAM,YAAY,GAAG,0BAA0B,CAAC,eAAe,EAAE,CAAC;AAElE,MAAM,wBAAwB,GAAG,WAAW,CAAC;IAC3C,IAAI,EAAE,qBAAqB;IAC3B,YAAY;IACZ,QAAQ,EAAE;QACR,wBAAwB,EAAE,0BAA0B,CAAC,MAAM;QAC3D,wBAAwB,EAAE,0BAA0B,CAAC,SAAS;QAC9D,wBAAwB,EAAE,0BAA0B,CAAC,SAAS;QAC9D,yBAAyB,EAAE,0BAA0B,CAAC,UAAU;KACjE;CACF,CAAC,CAAC;AAEH,MAAM,KAAK,GAAG,cAAc,CAAC;IAC3B,OAAO,EAAE;QACP,mBAAmB,EAAE,wBAAwB,CAAC,OAAO;KACtD;CACF,CAAC,CAAC;AAIH,MAAM,2BAA2B,GAC/B,0BAA0B,CAAC,YAAY,CACrC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,mBAAmB,CACrC,CAAC;AAEJ,gDAAgD;AAChD,MAAM,CAAC,MAAM,4BAA4B,GACvC,2BAA2B,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AAE1D,MAAM,CAAC,MAAM,EACX,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,GAC1B,GAAG,wBAAwB,CAAC,OAAO,CAAC;AAIrC,MAAM,0BAA0B,GAC9B,wBAAwB,CAAC,OAAO,CAAC;AAEnC,eAAe,0BAA0B,CAAC"}
|
package/lib/redux/reducer.d.ts
CHANGED
|
@@ -1,52 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
measurementDisplays:
|
|
8
|
-
annotationEditor:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
displays: {
|
|
13
|
-
added: string[];
|
|
14
|
-
deleted: string[];
|
|
15
|
-
};
|
|
16
|
-
pickingMeasurement: boolean;
|
|
17
|
-
chosenMeasurement: string | null;
|
|
18
|
-
pickingMeasurementError: Error | null;
|
|
19
|
-
editingMeasurementDisplay: string | null;
|
|
20
|
-
};
|
|
21
|
-
measurementDisplayEditor: {
|
|
22
|
-
editingDisplay: string | undefined;
|
|
23
|
-
deletedDisplays: string[];
|
|
24
|
-
createdDisplays: string[];
|
|
25
|
-
};
|
|
26
|
-
}>, import("redux").AnyAction>;
|
|
27
|
-
export declare const annotationsModuleReducer: import("reduce-reducers").Reducer<import("redux").CombinedState<{
|
|
28
|
-
annotations: import("@reduxjs/toolkit").EntityState<Annotation> & {
|
|
29
|
-
editingAnnotation: string | undefined;
|
|
30
|
-
};
|
|
31
|
-
measurementDisplays: import("@reduxjs/toolkit").EntityState<import("./measurementDisplays.slice").MeasurementDisplay>;
|
|
32
|
-
annotationEditor: {
|
|
33
|
-
annotation: Omit<Annotation, "id"> & {
|
|
34
|
-
id: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
displays: {
|
|
37
|
-
added: string[];
|
|
38
|
-
deleted: string[];
|
|
39
|
-
};
|
|
40
|
-
pickingMeasurement: boolean;
|
|
41
|
-
chosenMeasurement: string | null;
|
|
42
|
-
pickingMeasurementError: Error | null;
|
|
43
|
-
editingMeasurementDisplay: string | null;
|
|
44
|
-
};
|
|
45
|
-
measurementDisplayEditor: {
|
|
46
|
-
editingDisplay: string | undefined;
|
|
47
|
-
deletedDisplays: string[];
|
|
48
|
-
createdDisplays: string[];
|
|
49
|
-
};
|
|
50
|
-
}>>;
|
|
51
|
-
export {};
|
|
1
|
+
import annotationEditorSlice from "./annotationEditor.slice";
|
|
2
|
+
import annotationsSlice from "./annotations.slice";
|
|
3
|
+
import measurementDisplayEditorSlice from "./measurementDisplayEditor.slice";
|
|
4
|
+
import measurementDisplaysSlice from "./measurementDisplays.slice";
|
|
5
|
+
export declare type AnnotationsModuleState = {
|
|
6
|
+
annotations: ReturnType<typeof annotationsSlice>;
|
|
7
|
+
measurementDisplays: ReturnType<typeof measurementDisplaysSlice>;
|
|
8
|
+
annotationEditor: ReturnType<typeof annotationEditorSlice>;
|
|
9
|
+
measurementDisplayEditor: ReturnType<typeof measurementDisplayEditorSlice>;
|
|
10
|
+
};
|
|
11
|
+
export declare const annotationsModuleReducer: import("reduce-reducers").Reducer<AnnotationsModuleState>;
|
|
52
12
|
//# sourceMappingURL=reducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/redux/reducer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/redux/reducer.ts"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAE7D,OAAO,gBAKN,MAAM,qBAAqB,CAAC;AAC7B,OAAO,6BAA6B,MAAM,kCAAkC,CAAC;AAC7E,OAAO,wBAEN,MAAM,6BAA6B,CAAC;AAErC,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;IACjD,mBAAmB,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;IACjE,gBAAgB,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAC3D,wBAAwB,EAAE,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC;CAC5E,CAAC;AA0EF,eAAO,MAAM,wBAAwB,2DAGpC,CAAC"}
|
package/lib/redux/reducer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.js","sourceRoot":"","sources":["../../src/redux/reducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"reducer.js","sourceRoot":"","sources":["../../src/redux/reducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAW,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,cAAc,MAAM,iBA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/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insync-stageplayer/annotations",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "Annotations module for stageplayer",
|
|
4
5
|
"author": "David Ammeraal <david.ammeraal@gmail.com>",
|
|
5
6
|
"homepage": "https://github.com/Noterik/insync-stageplayer#readme",
|
|
6
7
|
"license": "ISC",
|
|
@@ -31,10 +32,10 @@
|
|
|
31
32
|
"url": "https://github.com/Noterik/insync-stageplayer/issues"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
|
-
"@insync-stageplayer/measurements": "^0.
|
|
35
|
-
"@insync-stageplayer/time": "^0.
|
|
36
|
-
"@insync-stageplayer/ui-components": "^0.
|
|
37
|
-
"@reduxjs/toolkit": "^
|
|
35
|
+
"@insync-stageplayer/measurements": "^0.6.0",
|
|
36
|
+
"@insync-stageplayer/time": "^0.6.0",
|
|
37
|
+
"@insync-stageplayer/ui-components": "^0.6.0",
|
|
38
|
+
"@reduxjs/toolkit": "^2.11.2",
|
|
38
39
|
"@types/deep-diff": "^1.0.0",
|
|
39
40
|
"classnames": "^2.3.1",
|
|
40
41
|
"deep-diff": "^1.0.2",
|
|
@@ -46,10 +47,10 @@
|
|
|
46
47
|
"reselect": "^4.0.0",
|
|
47
48
|
"slate": "^0.59.0",
|
|
48
49
|
"slate-react": "^0.59.0",
|
|
49
|
-
"styled-components": "^5.
|
|
50
|
+
"styled-components": "^5.3.11"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"rxjs": "^6.6.6"
|
|
53
54
|
},
|
|
54
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "7c3d8a81cc2ba118bf8572c3e1b8a1fe7f7409be"
|
|
55
56
|
}
|