@labelbee/lb-annotation 1.8.0 → 1.8.1-alpha.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/dist/index.js +9 -9
- package/dist/types/core/toolOperation/ViewOperation.d.ts +31 -0
- package/dist/types/utils/MathUtils.d.ts +3 -0
- package/dist/types/utils/tool/DrawUtils.d.ts +14 -13
- package/es/.DS_Store +0 -0
- package/es/_virtual/_rollup-plugin-web-worker-loader__helper__auto__createBase64WorkerFactory.js +1 -0
- package/es/_virtual/_rollup-plugin-web-worker-loader__helper__auto__isNodeJS.js +1 -0
- package/es/_virtual/_rollup-plugin-web-worker-loader__helper__browser__createBase64WorkerFactory.js +2 -0
- package/es/_virtual/_rollup-plugin-web-worker-loader__helper__node__WorkerClass.js +1 -0
- package/es/_virtual/_rollup-plugin-web-worker-loader__helper__node__createBase64WorkerFactory.js +2 -0
- package/es/_virtual/filterBoxWorker.js +1 -0
- package/es/_virtual/highlightWorker.js +1 -0
- package/es/_virtual/worker.js +6 -0
- package/es/assets/attributeIcon/icon_canvasEdit0.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit1.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit2.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit3.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit4.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit5.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit6.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit7.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit8.svg.js +3 -0
- package/es/assets/attributeIcon/icon_canvasEdit_miss.svg.js +3 -0
- package/es/assets/attributeIcon/icon_editFEN.svg.js +3 -0
- package/es/assets/attributeIcon/icon_editHUANG.svg.js +3 -0
- package/es/assets/attributeIcon/icon_editLAN.svg.js +3 -0
- package/es/assets/attributeIcon/icon_editLV.svg.js +3 -0
- package/es/assets/attributeIcon/icon_editQING.svg.js +3 -0
- package/es/constant/annotation.js +68 -0
- package/es/constant/annotationTask.js +25 -0
- package/es/constant/defaultConfig.js +260 -0
- package/es/constant/keyCode.js +36 -0
- package/es/constant/style.js +67 -0
- package/es/constant/tool.js +181 -0
- package/es/core/index.js +134 -0
- package/es/core/pointCloud/OrbitControls.js +1 -0
- package/es/core/pointCloud/PCDLoader.js +2 -0
- package/es/core/pointCloud/annotation.js +1 -0
- package/es/core/pointCloud/cache.js +1 -0
- package/es/core/pointCloud/index.js +11 -0
- package/es/core/scheduler.js +1 -0
- package/es/core/toolOperation/LineToolOperation.js +1369 -0
- package/es/core/toolOperation/TextToolOperation.js +129 -0
- package/es/core/toolOperation/ViewOperation.js +414 -0
- package/es/core/toolOperation/basicToolOperation.js +796 -0
- package/es/core/toolOperation/checkOperation.js +206 -0
- package/es/core/toolOperation/eventListener.js +35 -0
- package/es/core/toolOperation/measureOperation.js +39 -0
- package/es/core/toolOperation/pointCloud2dOperation.js +1 -0
- package/es/core/toolOperation/pointOperation.js +603 -0
- package/es/core/toolOperation/polygonOperation.js +1160 -0
- package/es/core/toolOperation/rectOperation.js +1166 -0
- package/es/core/toolOperation/segmentByRect.js +1 -0
- package/es/core/toolOperation/tagOperation.js +215 -0
- package/es/core/toolOperation/textAttributeClass.js +201 -0
- package/es/index.js +13 -13
- package/es/locales/constants.js +21 -0
- package/es/locales/en_US/message.js +22 -0
- package/es/locales/index.js +17 -0
- package/es/locales/zh_CN/message.js +22 -0
- package/es/newCore/CanvasScheduler.js +1 -0
- package/es/utils/ActionsHistory.js +78 -0
- package/es/utils/ImgUtils.js +20 -0
- package/es/utils/MathUtils.js +339 -0
- package/es/utils/VectorUtils.js +23 -0
- package/es/utils/tool/AttributeUtils.js +196 -0
- package/es/utils/tool/AxisUtils.js +254 -0
- package/es/utils/tool/CanvasUtils.js +60 -0
- package/es/utils/tool/CommonToolUtils.js +201 -0
- package/es/utils/tool/CurrentOperation.js +35 -0
- package/es/utils/tool/DblClickEventListener.js +100 -0
- package/es/utils/tool/DrawUtils.js +424 -0
- package/es/utils/tool/EnhanceCommonToolUtils.js +1 -0
- package/es/utils/tool/ImgPosUtils.js +56 -0
- package/es/utils/tool/LineToolUtils.js +255 -0
- package/es/utils/tool/MarkerUtils.js +9 -0
- package/es/utils/tool/PolygonUtils.js +453 -0
- package/es/utils/tool/RectUtils.js +153 -0
- package/es/utils/tool/RenderDomClass.js +68 -0
- package/es/utils/tool/RenderDomUtils.js +29 -0
- package/es/utils/tool/StyleUtils.js +29 -0
- package/es/utils/tool/TagUtils.js +127 -0
- package/es/utils/tool/UnitUtils.js +10 -0
- package/es/utils/tool/ZoomUtils.js +70 -0
- package/es/utils/tool/polygonTool.js +126 -0
- package/es/utils/uuid.js +24 -0
- package/package.json +2 -3
- package/LICENSE +0 -203
|
@@ -6,13 +6,29 @@ declare type IViewOperationProps = {
|
|
|
6
6
|
style: IBasicStyle;
|
|
7
7
|
annotations: IAnnotationData[];
|
|
8
8
|
} & IBasicToolOperationProps;
|
|
9
|
+
export interface ISpecificStyle {
|
|
10
|
+
stroke: string;
|
|
11
|
+
thickness: number;
|
|
12
|
+
fill: string;
|
|
13
|
+
radius: number;
|
|
14
|
+
}
|
|
15
|
+
export interface IFontStyle {
|
|
16
|
+
fontFamily: string;
|
|
17
|
+
fontSize: number;
|
|
18
|
+
}
|
|
9
19
|
export default class ViewOperation extends BasicToolOperation {
|
|
10
20
|
style: IBasicStyle;
|
|
11
21
|
annotations: IAnnotationData[];
|
|
12
22
|
private mouseHoverID?;
|
|
13
23
|
private loading;
|
|
14
24
|
private renderDomInstance;
|
|
25
|
+
private connectionPoints;
|
|
15
26
|
constructor(props: IViewOperationProps);
|
|
27
|
+
/**
|
|
28
|
+
* Get the connection points in annotationData.
|
|
29
|
+
* @param newAnnotations
|
|
30
|
+
*/
|
|
31
|
+
checkConnectionPoints(newAnnotations?: IAnnotationData[]): void;
|
|
16
32
|
setLoading(loading: boolean): void;
|
|
17
33
|
onMouseLeave(): void;
|
|
18
34
|
onMouseDown(e: MouseEvent): true | undefined;
|
|
@@ -25,6 +41,20 @@ export default class ViewOperation extends BasicToolOperation {
|
|
|
25
41
|
* @returns
|
|
26
42
|
*/
|
|
27
43
|
private getSpecificStyle;
|
|
44
|
+
/**
|
|
45
|
+
* Get font rendering style
|
|
46
|
+
* @param obj
|
|
47
|
+
* @param style
|
|
48
|
+
* @returns
|
|
49
|
+
*/
|
|
50
|
+
private getFontStyle;
|
|
51
|
+
/**
|
|
52
|
+
* Append Draw offset
|
|
53
|
+
*/
|
|
54
|
+
appendOffset({ x, y }: ICoordinate): {
|
|
55
|
+
x: number;
|
|
56
|
+
y: number;
|
|
57
|
+
};
|
|
28
58
|
/**
|
|
29
59
|
* 获取当前展示的文本
|
|
30
60
|
* @param result
|
|
@@ -38,6 +68,7 @@ export default class ViewOperation extends BasicToolOperation {
|
|
|
38
68
|
lineCap?: CanvasLineCap;
|
|
39
69
|
lineDash?: number[];
|
|
40
70
|
};
|
|
71
|
+
renderConnectionPoints(): void;
|
|
41
72
|
render(): void;
|
|
42
73
|
}
|
|
43
74
|
export {};
|
|
@@ -148,4 +148,7 @@ export default class MathUtils {
|
|
|
148
148
|
* @returns
|
|
149
149
|
*/
|
|
150
150
|
static getRectangleByRightAngle(coordinate: ICoordinate, pointList: IPolygonPoint[]): ICoordinate[];
|
|
151
|
+
static getCollectionPointByAnnotationData(annotations: IAnnotationData[]): {
|
|
152
|
+
connectionPoints: ICoordinate[];
|
|
153
|
+
};
|
|
151
154
|
}
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { ELineTypes } from '../../constant/tool';
|
|
2
2
|
import { IPolygonPoint } from '../../types/tool/polygon';
|
|
3
|
+
export interface IDrawTextConfig {
|
|
4
|
+
color: string;
|
|
5
|
+
font: string;
|
|
6
|
+
shadowColor: string;
|
|
7
|
+
shadowOffsetX: number;
|
|
8
|
+
shadowOffsetY: number;
|
|
9
|
+
shadowBlur: number;
|
|
10
|
+
textMaxWidth: number;
|
|
11
|
+
offsetX: number;
|
|
12
|
+
offsetY: number;
|
|
13
|
+
textAlign: 'start' | 'center' | 'end' | 'left' | 'right';
|
|
14
|
+
lineHeight: number;
|
|
15
|
+
}
|
|
3
16
|
export default class DrawUtils {
|
|
4
17
|
static drawImg: (canvas: HTMLCanvasElement, imgNode: HTMLImageElement, options?: Partial<IOffsetCanvasPosition & {
|
|
5
18
|
imgAttribute: IImageAttribute;
|
|
@@ -126,19 +139,7 @@ export default class DrawUtils {
|
|
|
126
139
|
isClose: boolean;
|
|
127
140
|
lineType: ELineTypes;
|
|
128
141
|
}>): IPolygonPoint[];
|
|
129
|
-
static drawText(canvas: HTMLCanvasElement, startPoint: IPoint | IPolygonPoint, text: string, options?: Partial<
|
|
130
|
-
color: string;
|
|
131
|
-
font: string;
|
|
132
|
-
shadowColor: string;
|
|
133
|
-
shadowOffsetX: number;
|
|
134
|
-
shadowOffsetY: number;
|
|
135
|
-
shadowBlur: number;
|
|
136
|
-
textMaxWidth: number;
|
|
137
|
-
offsetX: number;
|
|
138
|
-
offsetY: number;
|
|
139
|
-
textAlign: 'start' | 'center' | 'end' | 'left' | 'right';
|
|
140
|
-
lineHeight: number;
|
|
141
|
-
}>): void;
|
|
142
|
+
static drawText(canvas: HTMLCanvasElement, startPoint: IPoint | IPolygonPoint, text: string, options?: Partial<IDrawTextConfig>): void;
|
|
142
143
|
static wrapText(canvas: HTMLCanvasElement, text: string, x: number, y: number, maxWidth?: number, lineHeight?: number): void;
|
|
143
144
|
/**
|
|
144
145
|
* 绘制箭头
|
package/es/.DS_Store
ADDED
|
Binary file
|
package/es/_virtual/_rollup-plugin-web-worker-loader__helper__auto__createBase64WorkerFactory.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createBase64WorkerFactory as a}from"./_rollup-plugin-web-worker-loader__helper__node__createBase64WorkerFactory.js";import{createBase64WorkerFactory as t}from"./_rollup-plugin-web-worker-loader__helper__browser__createBase64WorkerFactory.js";import{isNodeJS as _}from"./_rollup-plugin-web-worker-loader__helper__auto__isNodeJS.js";function l(r,e,o){return _()?a(r,e,o):t(r,e,o)}export{l as createBase64WorkerFactory};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]";function o(){return e}export{o as isNodeJS};
|
package/es/_virtual/_rollup-plugin-web-worker-loader__helper__browser__createBase64WorkerFactory.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function i(o,a){var r=atob(o);if(a){for(var e=new Uint8Array(r.length),n=0,t=r.length;n<t;++n)e[n]=r.charCodeAt(n);return String.fromCharCode.apply(null,new Uint16Array(e.buffer))}return r}function l(o,a,r){var e=a===void 0?null:a,n=r===void 0?!1:r,t=i(o,n),u=t.indexOf(`
|
|
2
|
+
`,10)+1,c=t.substring(u)+(e?"//# sourceMappingURL="+e:""),f=new Blob([c],{type:"application/javascript"});return URL.createObjectURL(f)}function v(o,a,r){var e;return function(t){return e=e||l(o,a,r),new Worker(e,t)}}export{v as createBase64WorkerFactory};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=null;try{var r=typeof module!="undefined"&&typeof module.require=="function"&&module.require("worker_threads")||typeof __non_webpack_require__=="function"&&__non_webpack_require__("worker_threads")||typeof require=="function"&&require("worker_threads");e=r.Worker}catch(o){}export{e as WorkerClass};
|
package/es/_virtual/_rollup-plugin-web-worker-loader__helper__node__createBase64WorkerFactory.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{WorkerClass as i}from"./_rollup-plugin-web-worker-loader__helper__node__WorkerClass.js";function l(e,r){return Buffer.from(e,"base64").toString(r?"utf16":"utf8")}function c(e,r,n){var o=r===void 0?null:r,a=n===void 0?!1:n,t=l(e,a),u=t.indexOf(`
|
|
2
|
+
`,10)+1,s=t.substring(u)+(o?"//# sourceMappingURL="+o:"");return function(f){return new i(s,Object.assign({},f,{eval:!0}))}}export{c as createBase64WorkerFactory};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createBase64WorkerFactory as L}from"./_rollup-plugin-web-worker-loader__helper__auto__createBase64WorkerFactory.js";var a=L("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwp2YXIgd29ya2VyX2NvZGU9ZnVuY3Rpb24oZil7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIGMoaSxzLGw9MCl7bGV0IHg9MCx1LG8sdCxlO3M9Wy4uLnNdLGw9PT0xJiYocz1jcmVhdGVTbW9vdGhDdXJ2ZVBvaW50cyhzLnJlZHVjZSgoYSxuKT0+Wy4uLmEsbi54LG4ueV0sW10pLC41LCEwLFNFR01FTlRfTlVNQkVSKSksW3RdPXM7Y29uc3Qgcj1zLmxlbmd0aDtmb3IodT0xO3U8PXI7dSsrKWU9c1t1JXJdLGkueD5NYXRoLm1pbih0LngsZS54KSYmaS54PD1NYXRoLm1heCh0LngsZS54KSYmaS55PD1NYXRoLm1heCh0LnksZS55KSYmdC54IT09ZS54JiYobz0oaS54LXQueCkqKGUueS10LnkpLyhlLngtdC54KSt0LnksKHQueT09PWUueXx8aS55PD1vKSYmeCsrKSx0PWU7cmV0dXJuIHglMiE9MH1yZXR1cm4gb25tZXNzYWdlPWZ1bmN0aW9uKHMpe2NvbnN0e3pNaW46bCx6TWF4OngscG9seWdvblBvaW50TGlzdDp1LHBvc2l0aW9uOm8sY29sb3I6dH09cy5kYXRhLGU9W10scj1bXTtsZXQgYT0wO2ZvcihsZXQgbj0wO248by5sZW5ndGg7bis9Myl7Y29uc3QgaD1vW25dLE09b1tuKzFdLHk9b1tuKzJdO2Moe3g6aCx5Ok19LHUpJiZ5Pj1sJiZ5PD14JiYoZS5wdXNoKGgpLGUucHVzaChNKSxlLnB1c2goeSksci5wdXNoKHRbbl0pLHIucHVzaCh0W24rMV0pLHIucHVzaCh0W24rMl0pLGErKyl9dGhpcy5wb3N0TWVzc2FnZSh7cG9zaXRpb246ZSxjb2xvcjpyLG51bTphfSl9LGYuaXNJblBvbHlnb249YyxPYmplY3QuZGVmaW5lUHJvcGVydHkoZiwiX19lc01vZHVsZSIse3ZhbHVlOiEwfSksZn0oe30pOwoK",null,!1);export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createBase64WorkerFactory as b}from"./_rollup-plugin-web-worker-loader__helper__auto__createBase64WorkerFactory.js";var s=b("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwp2YXIgd29ya2VyX2NvZGU9ZnVuY3Rpb24oeCl7InVzZSBzdHJpY3QiO2NsYXNzIEN7c3RhdGljIGdlbkNvbG9yQnlDb29yZChyLHUsbil7cmV0dXJuIG48PTA/WzEyOCwxMjgsMTI4XTpuPDU/WzI1NSwwLDBdOm48MTA/WzAsMjU1LDBdOlswLDAsMjU1XX1zdGF0aWMgZ2V0U3RhbmRhcmRDb2xvckJ5Q29vcmQocix1LG4pe3JldHVybiB0aGlzLmdlbkNvbG9yQnlDb29yZChyLHUsbikubWFwKGk9PmkvMjU1KX19ZnVuY3Rpb24geShzLHIsdT0wKXtsZXQgbj0wLGEsaSx0LG87cj1bLi4ucl0sdT09PTEmJihyPWNyZWF0ZVNtb290aEN1cnZlUG9pbnRzKHIucmVkdWNlKChmLGwpPT5bLi4uZixsLngsbC55XSxbXSksLjUsITAsU0VHTUVOVF9OVU1CRVIpKSxbdF09cjtjb25zdCBlPXIubGVuZ3RoO2ZvcihhPTE7YTw9ZTthKyspbz1yW2ElZV0scy54Pk1hdGgubWluKHQueCxvLngpJiZzLng8PU1hdGgubWF4KHQueCxvLngpJiZzLnk8PU1hdGgubWF4KHQueSxvLnkpJiZ0LnghPT1vLngmJihpPShzLngtdC54KSooby55LXQueSkvKG8ueC10LngpK3QueSwodC55PT09by55fHxzLnk8PWkpJiZuKyspLHQ9bztyZXR1cm4gbiUyIT0wfXJldHVybiBvbm1lc3NhZ2U9ZnVuY3Rpb24ocil7Y29uc3R7ek1pbjp1LHpNYXg6bixwb2x5Z29uUG9pbnRMaXN0OmEscG9zaXRpb246aSxjb2xvcjp0fT1yLmRhdGE7bGV0IG89MDtmb3IobGV0IGU9MDtlPGkubGVuZ3RoO2UrPTMpe2NvbnN0IGY9aVtlXSxsPWlbZSsxXSxkPWlbZSsyXTtpZih5KHt4OmYseTpsfSxhKSYmZD49dSYmZDw9bilvKyssdFtlXT0wLHRbZSsxXT0xLHRbZSsyXT0xO2Vsc2V7Y29uc3RbYyxnLE1dPUMuZ2V0U3RhbmRhcmRDb2xvckJ5Q29vcmQoZixsLGQpO3RbZV09Yyx0W2UrMV09Zyx0W2UrMl09TX19cG9zdE1lc3NhZ2Uoe3BvaW50czppLGNvbG9yOnQsbnVtOm99KX0seC5pc0luUG9seWdvbj15LE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh4LCJfX2VzTW9kdWxlIix7dmFsdWU6ITB9KSx4fSh7fSk7Cgo=",null,!1);export{s as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { createBase64WorkerFactory } from './_rollup-plugin-web-worker-loader__helper__auto__createBase64WorkerFactory.js';
|
|
2
|
+
|
|
3
|
+
var WorkerFactory = createBase64WorkerFactory('Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwp2YXIgd29ya2VyX2NvZGUgPSAoZnVuY3Rpb24gKGV4cG9ydHMpIHsKICAndXNlIHN0cmljdCc7CgogIGNsYXNzIFBvaW50Q2xvdWRVdGlscyB7CiAgICBzdGF0aWMgZ2VuQ29sb3JCeUNvb3JkKHgsIHksIHopIHsKICAgICAgaWYgKHogPD0gMCkgewogICAgICAgIHJldHVybiBbMTI4LCAxMjgsIDEyOF07CiAgICAgIH0KICAgICAgaWYgKHogPCA1KSB7CiAgICAgICAgcmV0dXJuIFsyNTUsIDAsIDBdOwogICAgICB9CiAgICAgIGlmICh6IDwgMTApIHsKICAgICAgICByZXR1cm4gWzAsIDI1NSwgMF07CiAgICAgIH0KICAgICAgcmV0dXJuIFswLCAwLCAyNTVdOwogICAgfQogICAgc3RhdGljIGdldFN0YW5kYXJkQ29sb3JCeUNvb3JkKHgsIHksIHopIHsKICAgICAgY29uc3QgcGRDb2xvciA9IHRoaXMuZ2VuQ29sb3JCeUNvb3JkKHgsIHksIHopOwogICAgICByZXR1cm4gcGRDb2xvci5tYXAoKGhleCkgPT4gaGV4IC8gMjU1KTsKICAgIH0KICB9CiAgZnVuY3Rpb24gaXNJblBvbHlnb24oY2hlY2tQb2ludCwgcG9seWdvblBvaW50cywgbGluZVR5cGUgPSAwKSB7CiAgICBsZXQgY291bnRlciA9IDA7CiAgICBsZXQgaTsKICAgIGxldCB4aW50ZXJzOwogICAgbGV0IHAxOwogICAgbGV0IHAyOwogICAgcG9seWdvblBvaW50cyA9IFsuLi5wb2x5Z29uUG9pbnRzXTsKICAgIGlmIChsaW5lVHlwZSA9PT0gMSkgewogICAgICBwb2x5Z29uUG9pbnRzID0gY3JlYXRlU21vb3RoQ3VydmVQb2ludHMocG9seWdvblBvaW50cy5yZWR1Y2UoKGFjYywgY3VyKSA9PiB7CiAgICAgICAgcmV0dXJuIFsuLi5hY2MsIGN1ci54LCBjdXIueV07CiAgICAgIH0sIFtdKSwgMC41LCB0cnVlLCBTRUdNRU5UX05VTUJFUik7CiAgICB9CiAgICBbcDFdID0gcG9seWdvblBvaW50czsKICAgIGNvbnN0IHBvaW50Q291bnQgPSBwb2x5Z29uUG9pbnRzLmxlbmd0aDsKICAgIGZvciAoaSA9IDE7IGkgPD0gcG9pbnRDb3VudDsgaSsrKSB7CiAgICAgIHAyID0gcG9seWdvblBvaW50c1tpICUgcG9pbnRDb3VudF07CiAgICAgIGlmIChjaGVja1BvaW50LnggPiBNYXRoLm1pbihwMS54LCBwMi54KSAmJiBjaGVja1BvaW50LnggPD0gTWF0aC5tYXgocDEueCwgcDIueCkpIHsKICAgICAgICBpZiAoY2hlY2tQb2ludC55IDw9IE1hdGgubWF4KHAxLnksIHAyLnkpKSB7CiAgICAgICAgICBpZiAocDEueCAhPT0gcDIueCkgewogICAgICAgICAgICB4aW50ZXJzID0gKGNoZWNrUG9pbnQueCAtIHAxLngpICogKHAyLnkgLSBwMS55KSAvIChwMi54IC0gcDEueCkgKyBwMS55OwogICAgICAgICAgICBpZiAocDEueSA9PT0gcDIueSB8fCBjaGVja1BvaW50LnkgPD0geGludGVycykgewogICAgICAgICAgICAgIGNvdW50ZXIrKzsKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgICBwMSA9IHAyOwogICAgfQogICAgaWYgKGNvdW50ZXIgJSAyID09PSAwKSB7CiAgICAgIHJldHVybiBmYWxzZTsKICAgIH0KICAgIHJldHVybiB0cnVlOwogIH0KICBvbm1lc3NhZ2UgPSBmdW5jdGlvbiBvbm1lc3NhZ2UyKGUpIHsKICAgIGNvbnN0IHt6TWluLCB6TWF4LCBwb2x5Z29uUG9pbnRMaXN0LCBwb3NpdGlvbjogcG9pbnRzLCBjb2xvcn0gPSBlLmRhdGE7CiAgICBsZXQgbnVtID0gMDsKICAgIGZvciAobGV0IGkgPSAwOyBpIDwgcG9pbnRzLmxlbmd0aDsgaSArPSAzKSB7CiAgICAgIGNvbnN0IHggPSBwb2ludHNbaV07CiAgICAgIGNvbnN0IHkgPSBwb2ludHNbaSArIDFdOwogICAgICBjb25zdCB6ID0gcG9pbnRzW2kgKyAyXTsKICAgICAgY29uc3QgaW5Qb2x5Z29uID0gaXNJblBvbHlnb24oe3gsIHl9LCBwb2x5Z29uUG9pbnRMaXN0KTsKICAgICAgaWYgKGluUG9seWdvbiAmJiB6ID49IHpNaW4gJiYgeiA8PSB6TWF4KSB7CiAgICAgICAgbnVtKys7CiAgICAgICAgY29sb3JbaV0gPSAwOwogICAgICAgIGNvbG9yW2kgKyAxXSA9IDE7CiAgICAgICAgY29sb3JbaSArIDJdID0gMTsKICAgICAgfSBlbHNlIHsKICAgICAgICBjb25zdCBbciwgZywgYl0gPSBQb2ludENsb3VkVXRpbHMuZ2V0U3RhbmRhcmRDb2xvckJ5Q29vcmQoeCwgeSwgeik7CiAgICAgICAgY29sb3JbaV0gPSByOwogICAgICAgIGNvbG9yW2kgKyAxXSA9IGc7CiAgICAgICAgY29sb3JbaSArIDJdID0gYjsKICAgICAgfQogICAgfQogICAgaWYgKGlzTmFOKHJlc3VsdCkpIHsKICAgICAgcG9zdE1lc3NhZ2Uoe3BvaW50cywgY29sb3IsIG51bX0pOwogICAgfQogIH07CgogIGV4cG9ydHMuaXNJblBvbHlnb24gPSBpc0luUG9seWdvbjsKCiAgT2JqZWN0LmRlZmluZVByb3BlcnR5KGV4cG9ydHMsICdfX2VzTW9kdWxlJywgeyB2YWx1ZTogdHJ1ZSB9KTsKCiAgcmV0dXJuIGV4cG9ydHM7Cgp9KSh7fSk7Cgo=', null, false);
|
|
4
|
+
/* eslint-enable */
|
|
5
|
+
|
|
6
|
+
export { WorkerFactory as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit0 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#ccc\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit0 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit1 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#ff2323\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit1 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit2 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#ffe232\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit2 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit3 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#01ff30\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit3 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit4 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#00ffea\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit4 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit5 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#0282fa\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit5 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit6 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#800cf9\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit6 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit7 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#ff88f7\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit7 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var canvasEdit8 = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#994217\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { canvasEdit8 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var INVALID_ICON = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#f33\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { INVALID_ICON as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var baseEditFen = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#f70efa\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { baseEditFen as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var baseEditHuang = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#fdff37\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { baseEditHuang as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var baseEditLan = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#1f0bf9\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { baseEditLan as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var baseEditLv = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#33fe33\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { baseEditLv as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var baseEditQing = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><defs><clipPath id=\"a\"><path d=\"M0,0H16V-16H0Z\" fill=\"none\"/></clipPath><clipPath id=\"b\"><path d=\"M13.75-2.937H2.25a.5.5,0,0,0-.5.5v.563a.125.125,0,0,0,.125.125h12.25a.125.125,0,0,0,.125-.125v-.562A.5.5,0,0,0,13.75-2.937ZM4.027-4.25a.632.632,0,0,0,.094-.008l2.628-.461a.153.153,0,0,0,.083-.044l6.623-6.623a.156.156,0,0,0,0-.22l-2.6-2.6a.155.155,0,0,0-.111-.045.155.155,0,0,0-.111.045L4.012-7.581a.159.159,0,0,0-.044.083L3.508-4.87a.524.524,0,0,0,.147.466.529.529,0,0,0,.372.155Z\" fill=\"none\"/></clipPath></defs><g transform=\"translate(0 16)\"><g clip-path=\"url(#a)\"><path d=\"M-5-21H21V5H-5Z\" fill=\"rgba(0,0,0,0)\"/></g><g clip-path=\"url(#b)\"><path d=\"M-3.25-19.25h22.5V3.25H-3.25Z\" fill=\"#3fe\"/></g></g></svg>";
|
|
2
|
+
|
|
3
|
+
export { baseEditQing as default };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const headerHeight = 61;
|
|
2
|
+
const tipsHeight = 40;
|
|
3
|
+
const footerHeight = 40;
|
|
4
|
+
const sidebarWidth = 240;
|
|
5
|
+
var EStepType;
|
|
6
|
+
(function(EStepType2) {
|
|
7
|
+
EStepType2[EStepType2["ANNOTATION"] = 1] = "ANNOTATION";
|
|
8
|
+
EStepType2[EStepType2["QUALITY_INSPECTION"] = 2] = "QUALITY_INSPECTION";
|
|
9
|
+
EStepType2[EStepType2["PRE_ANNOTATION"] = 3] = "PRE_ANNOTATION";
|
|
10
|
+
EStepType2[EStepType2["MANUAL_CORRECTION"] = 4] = "MANUAL_CORRECTION";
|
|
11
|
+
})(EStepType || (EStepType = {}));
|
|
12
|
+
const ANNOTATION_MAX_SIZE = 1e3;
|
|
13
|
+
var EPageOperator;
|
|
14
|
+
(function(EPageOperator2) {
|
|
15
|
+
EPageOperator2[EPageOperator2["Backward"] = 0] = "Backward";
|
|
16
|
+
EPageOperator2[EPageOperator2["Forward"] = 1] = "Forward";
|
|
17
|
+
EPageOperator2[EPageOperator2["JumpSkip"] = 2] = "JumpSkip";
|
|
18
|
+
EPageOperator2[EPageOperator2["None"] = 3] = "None";
|
|
19
|
+
})(EPageOperator || (EPageOperator = {}));
|
|
20
|
+
var EDragStatus;
|
|
21
|
+
(function(EDragStatus2) {
|
|
22
|
+
EDragStatus2[EDragStatus2["Start"] = 0] = "Start";
|
|
23
|
+
EDragStatus2[EDragStatus2["Stop"] = 1] = "Stop";
|
|
24
|
+
EDragStatus2[EDragStatus2["Wait"] = 2] = "Wait";
|
|
25
|
+
EDragStatus2[EDragStatus2["Move"] = 3] = "Move";
|
|
26
|
+
})(EDragStatus || (EDragStatus = {}));
|
|
27
|
+
var EDragTarget;
|
|
28
|
+
(function(EDragTarget2) {
|
|
29
|
+
EDragTarget2[EDragTarget2["Point"] = 0] = "Point";
|
|
30
|
+
EDragTarget2[EDragTarget2["Line"] = 1] = "Line";
|
|
31
|
+
EDragTarget2[EDragTarget2["Plane"] = 2] = "Plane";
|
|
32
|
+
})(EDragTarget || (EDragTarget = {}));
|
|
33
|
+
var ESortDirection;
|
|
34
|
+
(function(ESortDirection2) {
|
|
35
|
+
ESortDirection2[ESortDirection2["ascend"] = 0] = "ascend";
|
|
36
|
+
ESortDirection2[ESortDirection2["descend"] = 1] = "descend";
|
|
37
|
+
})(ESortDirection || (ESortDirection = {}));
|
|
38
|
+
var EGrowthMode;
|
|
39
|
+
(function(EGrowthMode2) {
|
|
40
|
+
EGrowthMode2[EGrowthMode2["Intelligence"] = 0] = "Intelligence";
|
|
41
|
+
EGrowthMode2[EGrowthMode2["Linear"] = 1] = "Linear";
|
|
42
|
+
})(EGrowthMode || (EGrowthMode = {}));
|
|
43
|
+
var ELang;
|
|
44
|
+
(function(ELang2) {
|
|
45
|
+
ELang2["Zh"] = "zh_CN";
|
|
46
|
+
ELang2["US"] = "en_US";
|
|
47
|
+
})(ELang || (ELang = {}));
|
|
48
|
+
var ERotateDirection;
|
|
49
|
+
(function(ERotateDirection2) {
|
|
50
|
+
ERotateDirection2[ERotateDirection2["Clockwise"] = 0] = "Clockwise";
|
|
51
|
+
ERotateDirection2[ERotateDirection2["Anticlockwise"] = 1] = "Anticlockwise";
|
|
52
|
+
})(ERotateDirection || (ERotateDirection = {}));
|
|
53
|
+
const DEFAULT_TEXT_OFFSET = {
|
|
54
|
+
offsetX: -10,
|
|
55
|
+
offsetY: -10
|
|
56
|
+
};
|
|
57
|
+
const DEFAULT_TEXT_SHADOW = {
|
|
58
|
+
shadowColor: "rgba(0, 0, 0, 1)",
|
|
59
|
+
shadowOffsetX: 1,
|
|
60
|
+
shadowOffsetY: 1,
|
|
61
|
+
shadowBlur: 0
|
|
62
|
+
};
|
|
63
|
+
const TEXT_ATTRIBUTE_OFFSET = {
|
|
64
|
+
x: 8,
|
|
65
|
+
y: 26
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export { ANNOTATION_MAX_SIZE, DEFAULT_TEXT_OFFSET, DEFAULT_TEXT_SHADOW, EDragStatus, EDragTarget, EGrowthMode, ELang, EPageOperator, ERotateDirection, ESortDirection, EStepType, TEXT_ATTRIBUTE_OFFSET, footerHeight, headerHeight, sidebarWidth, tipsHeight };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const ANNOTATION_TYPE = {
|
|
2
|
+
0: "\u76EE\u6807\u68C0\u6D4B",
|
|
3
|
+
1: "\u56FE\u50CF\u5206\u7C7B"
|
|
4
|
+
};
|
|
5
|
+
const ANNOTATION_STATUS = {
|
|
6
|
+
0: "\u6807\u6CE8\u6587\u4EF6\u4F20\u8F93\u4E2D",
|
|
7
|
+
1: "\u6807\u6CE8\u6587\u4EF6\u4F20\u8F93\u91CD\u8BD5",
|
|
8
|
+
2: "\u6807\u6CE8\u6587\u4EF6\u4F20\u8F93\u5931\u8D25",
|
|
9
|
+
3: "\u6807\u6CE8\u4E2D",
|
|
10
|
+
4: "\u4EFB\u52A1\u7EC8\u6B62",
|
|
11
|
+
5: "\u4EFB\u52A1\u5B8C\u6210",
|
|
12
|
+
6: "\u6570\u636E\u5DF2\u53D1\u5E03"
|
|
13
|
+
};
|
|
14
|
+
var EAnnotationStatus;
|
|
15
|
+
(function(EAnnotationStatus2) {
|
|
16
|
+
EAnnotationStatus2[EAnnotationStatus2["Upload"] = 0] = "Upload";
|
|
17
|
+
EAnnotationStatus2[EAnnotationStatus2["UploadRetry"] = 1] = "UploadRetry";
|
|
18
|
+
EAnnotationStatus2[EAnnotationStatus2["UploadFail"] = 2] = "UploadFail";
|
|
19
|
+
EAnnotationStatus2[EAnnotationStatus2["Annotation"] = 3] = "Annotation";
|
|
20
|
+
EAnnotationStatus2[EAnnotationStatus2["Terminated"] = 4] = "Terminated";
|
|
21
|
+
EAnnotationStatus2[EAnnotationStatus2["Finish"] = 5] = "Finish";
|
|
22
|
+
EAnnotationStatus2[EAnnotationStatus2["Publish"] = 6] = "Publish";
|
|
23
|
+
})(EAnnotationStatus || (EAnnotationStatus = {}));
|
|
24
|
+
|
|
25
|
+
export { ANNOTATION_STATUS, ANNOTATION_TYPE, EAnnotationStatus };
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
const rectToolConfig = {
|
|
2
|
+
showConfirm: false,
|
|
3
|
+
skipWhileNoDependencies: false,
|
|
4
|
+
drawOutsideTarget: false,
|
|
5
|
+
copyBackwardResult: false,
|
|
6
|
+
minWidth: 1,
|
|
7
|
+
minHeight: 1,
|
|
8
|
+
isShowOrder: false,
|
|
9
|
+
filterData: ["valid", "invalid"],
|
|
10
|
+
attributeConfigurable: false,
|
|
11
|
+
attributeList: [],
|
|
12
|
+
textConfigurable: false,
|
|
13
|
+
textCheckType: 0,
|
|
14
|
+
customFormat: ""
|
|
15
|
+
};
|
|
16
|
+
const tagToolConfig = {
|
|
17
|
+
showConfirm: false,
|
|
18
|
+
skipWhileNoDependencies: false,
|
|
19
|
+
inputList: [
|
|
20
|
+
{
|
|
21
|
+
key: "\u7C7B\u522B1",
|
|
22
|
+
value: "class1",
|
|
23
|
+
isMulti: false,
|
|
24
|
+
subSelected: [
|
|
25
|
+
{key: "\u9009\u98791", value: "option1", isDefault: false},
|
|
26
|
+
{key: "\u9009\u98792", value: "option1-2", isDefault: false}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
key: "\u7C7B\u522B2",
|
|
31
|
+
value: "class-AH",
|
|
32
|
+
isMulti: true,
|
|
33
|
+
subSelected: [
|
|
34
|
+
{key: "\u9009\u98792-1", value: "option2-1", isDefault: false},
|
|
35
|
+
{key: "\u9009\u98792-2", value: "option2-2", isDefault: false},
|
|
36
|
+
{key: "\u9009\u98792-3", value: "option2-3", isDefault: false}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
key: "\u7C7B\u522B3",
|
|
41
|
+
value: "class-0P",
|
|
42
|
+
isMulti: false,
|
|
43
|
+
subSelected: [
|
|
44
|
+
{key: "\u9009\u98793-1", value: "option3-1", isMulti: false},
|
|
45
|
+
{key: "\u9009\u98793-2", value: "option3-2", isDefault: false},
|
|
46
|
+
{key: "\u9009\u98793-3", value: "option3-3", isDefault: false}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
};
|
|
51
|
+
const lineToolConfig = {
|
|
52
|
+
lineType: 0,
|
|
53
|
+
lineColor: 0,
|
|
54
|
+
edgeAdsorption: false,
|
|
55
|
+
outOfTarget: true,
|
|
56
|
+
copyBackwardResult: false,
|
|
57
|
+
isShowOrder: false,
|
|
58
|
+
attributeConfigurable: false,
|
|
59
|
+
attributeList: [
|
|
60
|
+
{key: "\u7C7B\u522B1", value: "\u7C7B\u522B1"},
|
|
61
|
+
{key: "\u7C7B\u522Bao", value: "class-ao"},
|
|
62
|
+
{key: "\u7C7B\u522BM1", value: "class-M1"},
|
|
63
|
+
{key: "\u7C7B\u522BCm", value: "class-Cm"},
|
|
64
|
+
{key: "\u7C7B\u522Bc3", value: "class-c3"},
|
|
65
|
+
{key: "\u7C7B\u522Ba0", value: "class-a0"},
|
|
66
|
+
{key: "\u7C7B\u522Bu7", value: "class-u7"},
|
|
67
|
+
{key: "\u7C7B\u522BZb", value: "class-Zb"},
|
|
68
|
+
{key: "\u7C7B\u522Bzi", value: "class-zi"}
|
|
69
|
+
],
|
|
70
|
+
textConfigurable: false,
|
|
71
|
+
textCheckType: 2,
|
|
72
|
+
customFormat: "",
|
|
73
|
+
showConfirm: false,
|
|
74
|
+
lowerLimitPointNum: 2,
|
|
75
|
+
upperLimitPointNum: "",
|
|
76
|
+
preReferenceStep: 0,
|
|
77
|
+
skipWhileNoDependencies: false,
|
|
78
|
+
filterData: ["valid", "invalid"]
|
|
79
|
+
};
|
|
80
|
+
const textToolConfig = {
|
|
81
|
+
showConfirm: false,
|
|
82
|
+
skipWhileNoDependencies: false,
|
|
83
|
+
enableTextRecognition: false,
|
|
84
|
+
recognitionMode: "general",
|
|
85
|
+
configList: [{label: "\u6587\u672C", key: "text", required: false, default: "", maxLength: 1e3}],
|
|
86
|
+
filterData: ["valid", "invalid"]
|
|
87
|
+
};
|
|
88
|
+
const polygonConfig = {
|
|
89
|
+
lineType: 0,
|
|
90
|
+
lineColor: 0,
|
|
91
|
+
lowerLimitPointNum: 3,
|
|
92
|
+
edgeAdsorption: false,
|
|
93
|
+
drawOutsideTarget: false,
|
|
94
|
+
copyBackwardResult: false,
|
|
95
|
+
isShowOrder: false,
|
|
96
|
+
attributeConfigurable: false,
|
|
97
|
+
attributeList: [],
|
|
98
|
+
textConfigurable: true,
|
|
99
|
+
textCheckType: 0,
|
|
100
|
+
customFormat: ""
|
|
101
|
+
};
|
|
102
|
+
const getConfig = (tool) => {
|
|
103
|
+
if (tool === "lineTool") {
|
|
104
|
+
return lineToolConfig;
|
|
105
|
+
}
|
|
106
|
+
if (tool === "rectTool") {
|
|
107
|
+
return rectToolConfig;
|
|
108
|
+
}
|
|
109
|
+
if (tool === "tagTool") {
|
|
110
|
+
return tagToolConfig;
|
|
111
|
+
}
|
|
112
|
+
if (tool === "textTool") {
|
|
113
|
+
return textToolConfig;
|
|
114
|
+
}
|
|
115
|
+
if (tool === "polygonTool") {
|
|
116
|
+
return polygonConfig;
|
|
117
|
+
}
|
|
118
|
+
return rectToolConfig;
|
|
119
|
+
};
|
|
120
|
+
const styleDefaultConfig = {
|
|
121
|
+
toolColor: {
|
|
122
|
+
1: {
|
|
123
|
+
valid: {stroke: "rgba(0,0,255,0.50)", fill: "rgba(0,0,255,0.40)"},
|
|
124
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.80)"},
|
|
125
|
+
validSelected: {stroke: "rgba(0,15,255,1.00)", fill: "rgba(0,15,255,0.80)"},
|
|
126
|
+
invalidSelected: {stroke: "rgba(255,0,0,0.60)", fill: "rgba(255,0,0,0.24)"},
|
|
127
|
+
validHover: {stroke: "rgba(0,15,255,0.80)", fill: "rgba(0,15,255,0.64)"},
|
|
128
|
+
invalidHover: {stroke: "rgba(255,0,0,0.50)", fill: "rgba(255,0,0,0.40)"}
|
|
129
|
+
},
|
|
130
|
+
3: {
|
|
131
|
+
valid: {stroke: "rgba(0,255,255,0.50)", fill: "rgba(0,255,255,0.40)"},
|
|
132
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.80)"},
|
|
133
|
+
validSelected: {stroke: "rgba(0,212,255,1.00)", fill: "rgba(0,212,255,0.80)"},
|
|
134
|
+
invalidSelected: {stroke: "rgba(255,0,0,0.60)", fill: "rgba(255,0,0,0.24)"},
|
|
135
|
+
validHover: {stroke: "rgba(0,212,255,0.80)", fill: "rgba(0,212,255,0.64)"},
|
|
136
|
+
invalidHover: {stroke: "rgba(255,0,0,0.50)", fill: "rgba(255,0,0,0.40)"}
|
|
137
|
+
},
|
|
138
|
+
5: {
|
|
139
|
+
valid: {stroke: "rgba(0,255,0,0.50)", fill: "rgba(0,255,0,0.40)"},
|
|
140
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.80)"},
|
|
141
|
+
validSelected: {stroke: "rgba(149,255,1.00)", fill: "rgba(149,255,0,0.80)"},
|
|
142
|
+
invalidSelected: {stroke: "rgba(255,0,0,0.60)", fill: "rgba(255,0,0,0.24)"},
|
|
143
|
+
validHover: {stroke: "rgba(149,255,0,0.80)", fill: "rgba(149,255,0,0.64)"},
|
|
144
|
+
invalidHover: {stroke: "rgba(255,0,0,0.50)", fill: "rgba(255,0,0,0.40)"}
|
|
145
|
+
},
|
|
146
|
+
7: {
|
|
147
|
+
valid: {stroke: "rgba(255,255,0,0.50)", fill: "rgba(255,255,0,0.40)"},
|
|
148
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.80)"},
|
|
149
|
+
validSelected: {stroke: "rgba(255,230,102,1.00)", fill: "rgba(255,213,0,0.80)"},
|
|
150
|
+
invalidSelected: {stroke: "rgba(255,0,0,0.60)", fill: "rgba(255,0,0,0.24)"},
|
|
151
|
+
validHover: {stroke: "rgba(255,230,102,0.80)", fill: "rgba(255,230,102,0.64)"},
|
|
152
|
+
invalidHover: {stroke: "rgba(255,0,0,0.50)", fill: "rgba(255,0,0,0.40)"}
|
|
153
|
+
},
|
|
154
|
+
9: {
|
|
155
|
+
valid: {stroke: "rgba(255,0,255,0.50)", fill: "rgba(255,0,255,0.40)"},
|
|
156
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.80)"},
|
|
157
|
+
validSelected: {stroke: "rgba(230,102,255,1.00)", fill: "rgba(213,0,255,0.80)"},
|
|
158
|
+
invalidSelected: {stroke: "rgba(255,0,0,0.60)", fill: "rgba(255,0,0,0.24)"},
|
|
159
|
+
validHover: {stroke: "rgba(230,102,255,0.80)", fill: "rgba(230,102,255,0.64)"},
|
|
160
|
+
invalidHover: {stroke: "rgba(255,0,0,0.50)", fill: "rgba(255,0,0,0.40)"}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
attributeColor: [
|
|
164
|
+
{
|
|
165
|
+
valid: {stroke: "rgba(204,204,204,1.00)", fill: "rgba(204,204,204,0.40)"},
|
|
166
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
167
|
+
validSelected: {stroke: "rgba(204,204,204,1.00)", fill: "rgba(204,204,204,0.80)"},
|
|
168
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
169
|
+
validHover: {stroke: "rgba(204,204,204,1.00)", fill: "rgba(204,204,204,0.80)"},
|
|
170
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
valid: {stroke: "rgba(153,51,255,1.00)", fill: "rgba(153,51,255,0.40)"},
|
|
174
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
175
|
+
validSelected: {stroke: "rgba(153,51,255,1.00)", fill: "rgba(153,51,255,0.80)"},
|
|
176
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
177
|
+
validHover: {stroke: "rgba(153,51,255,1.00)", fill: "rgba(153,51,255,0.80)"},
|
|
178
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
valid: {stroke: "rgba(51,254,51,1.00)", fill: "rgba(51,254,51,0.40)"},
|
|
182
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
183
|
+
validSelected: {stroke: "rgba(51,254,51,1.00)", fill: "rgba(51,254,51,0.80)"},
|
|
184
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
185
|
+
validHover: {stroke: "rgba(51,254,51,1.00)", fill: "rgba(51,254,51,0.80)"},
|
|
186
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
valid: {stroke: "rgba(255,51,255,1.00)", fill: "rgba(255,51,255,0.40)"},
|
|
190
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
191
|
+
validSelected: {stroke: "rgba(255,51,255,1.00)", fill: "rgba(255,51,255,0.80)"},
|
|
192
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
193
|
+
validHover: {stroke: "rgba(255,51,255,1.00)", fill: "rgba(255,51,255,0.80)"},
|
|
194
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
valid: {stroke: "rgba(204,255,51,1.00)", fill: "rgba(204,255,51,0.40)"},
|
|
198
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
199
|
+
validSelected: {stroke: "rgba(204,255,51,1.00)", fill: "rgba(204,255,51,0.80)"},
|
|
200
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
201
|
+
validHover: {stroke: "rgba(204,255,51,1.00)", fill: "rgba(204,255,51,0.80)"},
|
|
202
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
valid: {stroke: "rgba(51,153,255,1.00)", fill: "rgba(51,153,255,0.40)"},
|
|
206
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
207
|
+
validSelected: {stroke: "rgba(51,153,255,1.00)", fill: "rgba(51,153,255,0.80)"},
|
|
208
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
209
|
+
validHover: {stroke: "rgba(51,153,255,1.00)", fill: "rgba(51,153,255,0.80)"},
|
|
210
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
valid: {stroke: "rgba(255,153,51,1.00)", fill: "rgba(255,153,51,0.40)"},
|
|
214
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
215
|
+
validSelected: {stroke: "rgba(255,153,51,1.00)", fill: "rgba(255,153,51,0.80)"},
|
|
216
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
217
|
+
validHover: {stroke: "rgba(255,153,51,1.00)", fill: "rgba(255,153,51,0.80)"},
|
|
218
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
valid: {stroke: "rgba(51,255,238,1.00)", fill: "rgba(51,255,238,0.40)"},
|
|
222
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
223
|
+
validSelected: {stroke: "rgba(51,255,238,1.00)", fill: "rgba(51,255,238,0.80)"},
|
|
224
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
225
|
+
validHover: {stroke: "rgba(51,255,238,1.00)", fill: "rgba(51,255,238,0.80)"},
|
|
226
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
valid: {stroke: "rgba(255,221,51,1.00)", fill: "rgba(255,221,51,0.40)"},
|
|
230
|
+
invalid: {stroke: "rgba(255,153,102,1.00)", fill: "rgba(255,153,102,0.40)"},
|
|
231
|
+
validSelected: {stroke: "rgba(255,221,51,1.00)", fill: "rgba(255,221,51,0.80)"},
|
|
232
|
+
invalidSelected: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"},
|
|
233
|
+
validHover: {stroke: "rgba(255,221,51,1.00)", fill: "rgba(255,221,51,0.80)"},
|
|
234
|
+
invalidHover: {stroke: "rgba(255,0,0,1.00)", fill: "rgba(255,0,0,0.80)"}
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
lineColor: {
|
|
238
|
+
1: "rgba(102, 111, 255, 1 )",
|
|
239
|
+
3: "rgba(102, 230, 255, 1)",
|
|
240
|
+
5: "rgba(191, 255, 102, 1)",
|
|
241
|
+
7: "rgba(255, 230, 102, 1)",
|
|
242
|
+
9: "rgba(230, 102, 255, 1)"
|
|
243
|
+
},
|
|
244
|
+
attributeLineColor: [
|
|
245
|
+
"rgba(204, 204, 204, 1)",
|
|
246
|
+
"rgba(153, 51, 255, 1)",
|
|
247
|
+
"rgba(51, 254, 51, 1)",
|
|
248
|
+
"rgba(255, 51, 255, 1)",
|
|
249
|
+
"rgba(204, 255, 51, 1)",
|
|
250
|
+
"rgba(51, 153, 255, 1)",
|
|
251
|
+
"rgba(255, 153, 51, 1)",
|
|
252
|
+
"rgba(51, 255, 238, 1)",
|
|
253
|
+
"rgba(255, 221, 51, 1)"
|
|
254
|
+
],
|
|
255
|
+
color: 1,
|
|
256
|
+
width: 2,
|
|
257
|
+
opacity: 9
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
export { getConfig, styleDefaultConfig };
|