@itwin/core-markup 5.0.0-dev.5 → 5.0.0-dev.52
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/CHANGELOG.md +36 -1
- package/lib/cjs/Markup.js +110 -110
- package/lib/cjs/Markup.js.map +1 -1
- package/lib/cjs/MarkupTool.js +1 -1
- package/lib/cjs/MarkupTool.js.map +1 -1
- package/lib/cjs/RedlineTool.js +20 -20
- package/lib/cjs/RedlineTool.js.map +1 -1
- package/lib/cjs/SelectTool.js +2 -2
- package/lib/cjs/SelectTool.js.map +1 -1
- package/lib/cjs/SvgJsExt.js.map +1 -1
- package/lib/cjs/TextEdit.js +4 -4
- package/lib/cjs/TextEdit.js.map +1 -1
- package/lib/cjs/Undo.js.map +1 -1
- package/lib/cjs/core-markup.js.map +1 -1
- package/lib/esm/Markup.js +110 -110
- package/lib/esm/Markup.js.map +1 -1
- package/lib/esm/MarkupTool.js +1 -1
- package/lib/esm/MarkupTool.js.map +1 -1
- package/lib/esm/RedlineTool.js +20 -20
- package/lib/esm/RedlineTool.js.map +1 -1
- package/lib/esm/SelectTool.js +2 -2
- package/lib/esm/SelectTool.js.map +1 -1
- package/lib/esm/SvgJsExt.js.map +1 -1
- package/lib/esm/TextEdit.js +4 -4
- package/lib/esm/TextEdit.js.map +1 -1
- package/lib/esm/Undo.js.map +1 -1
- package/lib/esm/core-markup.js.map +1 -1
- package/lib/public/locales/en/MarkupTools.json +98 -98
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-markup.js","sourceRoot":"","sources":["../../src/core-markup.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAE3B;;GAEG;AACH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\
|
|
1
|
+
{"version":3,"file":"core-markup.js","sourceRoot":"","sources":["../../src/core-markup.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAE3B;;GAEG;AACH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nexport * from \"./Markup\";\nexport * from \"./MarkupTool\";\nexport * from \"./RedlineTool\";\nexport * from \"./SelectTool\";\nexport * from \"./TextEdit\";\nexport * from \"./Undo\";\nexport * from \"./SvgJsExt\";\n\n/** @docs-package-description\n * The core-markup package supplies tools for creating, editing, and saving SVG-based markups of Viewports.\n */\n/**\n * @docs-group-description MarkupApp\n * Classes for configuring and administering the markup system.\n */\n/**\n * @docs-group-description MarkupTools\n * Classes for supplying interactive tools for creating and editing markup elements.\n */\n"]}
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
{
|
|
2
|
-
"actions": {
|
|
3
|
-
"modify": "Modify markup",
|
|
4
|
-
"group": "Group markups",
|
|
5
|
-
"ungroup": "Ungroup markup",
|
|
6
|
-
"delete": "Delete markup",
|
|
7
|
-
"copy": "Copy markup",
|
|
8
|
-
"toFront": "Bring to front",
|
|
9
|
-
"toBack": "Send To back"
|
|
10
|
-
},
|
|
11
|
-
"tools": {
|
|
12
|
-
"Markup": {
|
|
13
|
-
"Select": {
|
|
14
|
-
"keyin": "Markup Select",
|
|
15
|
-
"description": "Markup selection tool",
|
|
16
|
-
"Prompts": {
|
|
17
|
-
"IdentifyMarkup": "Identify markup element",
|
|
18
|
-
"AcceptMarkup": "Accept markup element"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"Line": {
|
|
22
|
-
"keyin": "Markup Line",
|
|
23
|
-
"description": "Draw line",
|
|
24
|
-
"flyover": "Line"
|
|
25
|
-
},
|
|
26
|
-
"Rectangle": {
|
|
27
|
-
"keyin": "Markup Rectangle",
|
|
28
|
-
"description": "Draw rectangle",
|
|
29
|
-
"flyover": "Rectangle"
|
|
30
|
-
},
|
|
31
|
-
"Polygon": {
|
|
32
|
-
"keyin": "Markup Polygon",
|
|
33
|
-
"description": "Draw polygon",
|
|
34
|
-
"flyover": "Polygon",
|
|
35
|
-
"Prompts": {
|
|
36
|
-
"FirstPoint": "Identify center",
|
|
37
|
-
"NextPoint": "Define point on edge"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"Circle": {
|
|
41
|
-
"keyin": "Markup Circle",
|
|
42
|
-
"description": "Draw circle",
|
|
43
|
-
"flyover": "Circle",
|
|
44
|
-
"Prompts": {
|
|
45
|
-
"FirstPoint": "Identify center",
|
|
46
|
-
"NextPoint": "Define radius"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"Ellipse": {
|
|
50
|
-
"keyin": "Markup Ellipse",
|
|
51
|
-
"description": "Draw ellipse",
|
|
52
|
-
"flyover": "Ellipse"
|
|
53
|
-
},
|
|
54
|
-
"Arrow": {
|
|
55
|
-
"keyin": "Markup Arrow",
|
|
56
|
-
"description": "Draw arrow",
|
|
57
|
-
"flyover": "Arrow"
|
|
58
|
-
},
|
|
59
|
-
"Distance": {
|
|
60
|
-
"keyin": "Markup Distance",
|
|
61
|
-
"description": "Markup distance between points"
|
|
62
|
-
},
|
|
63
|
-
"Cloud": {
|
|
64
|
-
"keyin": "Markup Cloud",
|
|
65
|
-
"description": "Draw cloud",
|
|
66
|
-
"flyover": "Cloud"
|
|
67
|
-
},
|
|
68
|
-
"Sketch": {
|
|
69
|
-
"keyin": "Markup Sketch",
|
|
70
|
-
"description": "Draw freehand sketch",
|
|
71
|
-
"flyover": "Sketch"
|
|
72
|
-
},
|
|
73
|
-
"Symbol": {
|
|
74
|
-
"keyin": "Markup Symbol",
|
|
75
|
-
"description": "Place symbol",
|
|
76
|
-
"Prompts": {
|
|
77
|
-
"FirstPoint": "Define center or drag to define corners"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"Text": {
|
|
81
|
-
"Place": {
|
|
82
|
-
"keyin": "Place Markup Text",
|
|
83
|
-
"description": "Add text box",
|
|
84
|
-
"Prompts": {
|
|
85
|
-
"FirstPoint": "Identify text location"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"Edit": {
|
|
89
|
-
"keyin": "Edit Markup Text",
|
|
90
|
-
"description": "Edit text",
|
|
91
|
-
"Prompts": {
|
|
92
|
-
"FirstPoint": "Enter text"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"actions": {
|
|
3
|
+
"modify": "Modify markup",
|
|
4
|
+
"group": "Group markups",
|
|
5
|
+
"ungroup": "Ungroup markup",
|
|
6
|
+
"delete": "Delete markup",
|
|
7
|
+
"copy": "Copy markup",
|
|
8
|
+
"toFront": "Bring to front",
|
|
9
|
+
"toBack": "Send To back"
|
|
10
|
+
},
|
|
11
|
+
"tools": {
|
|
12
|
+
"Markup": {
|
|
13
|
+
"Select": {
|
|
14
|
+
"keyin": "Markup Select",
|
|
15
|
+
"description": "Markup selection tool",
|
|
16
|
+
"Prompts": {
|
|
17
|
+
"IdentifyMarkup": "Identify markup element",
|
|
18
|
+
"AcceptMarkup": "Accept markup element"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"Line": {
|
|
22
|
+
"keyin": "Markup Line",
|
|
23
|
+
"description": "Draw line",
|
|
24
|
+
"flyover": "Line"
|
|
25
|
+
},
|
|
26
|
+
"Rectangle": {
|
|
27
|
+
"keyin": "Markup Rectangle",
|
|
28
|
+
"description": "Draw rectangle",
|
|
29
|
+
"flyover": "Rectangle"
|
|
30
|
+
},
|
|
31
|
+
"Polygon": {
|
|
32
|
+
"keyin": "Markup Polygon",
|
|
33
|
+
"description": "Draw polygon",
|
|
34
|
+
"flyover": "Polygon",
|
|
35
|
+
"Prompts": {
|
|
36
|
+
"FirstPoint": "Identify center",
|
|
37
|
+
"NextPoint": "Define point on edge"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"Circle": {
|
|
41
|
+
"keyin": "Markup Circle",
|
|
42
|
+
"description": "Draw circle",
|
|
43
|
+
"flyover": "Circle",
|
|
44
|
+
"Prompts": {
|
|
45
|
+
"FirstPoint": "Identify center",
|
|
46
|
+
"NextPoint": "Define radius"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"Ellipse": {
|
|
50
|
+
"keyin": "Markup Ellipse",
|
|
51
|
+
"description": "Draw ellipse",
|
|
52
|
+
"flyover": "Ellipse"
|
|
53
|
+
},
|
|
54
|
+
"Arrow": {
|
|
55
|
+
"keyin": "Markup Arrow",
|
|
56
|
+
"description": "Draw arrow",
|
|
57
|
+
"flyover": "Arrow"
|
|
58
|
+
},
|
|
59
|
+
"Distance": {
|
|
60
|
+
"keyin": "Markup Distance",
|
|
61
|
+
"description": "Markup distance between points"
|
|
62
|
+
},
|
|
63
|
+
"Cloud": {
|
|
64
|
+
"keyin": "Markup Cloud",
|
|
65
|
+
"description": "Draw cloud",
|
|
66
|
+
"flyover": "Cloud"
|
|
67
|
+
},
|
|
68
|
+
"Sketch": {
|
|
69
|
+
"keyin": "Markup Sketch",
|
|
70
|
+
"description": "Draw freehand sketch",
|
|
71
|
+
"flyover": "Sketch"
|
|
72
|
+
},
|
|
73
|
+
"Symbol": {
|
|
74
|
+
"keyin": "Markup Symbol",
|
|
75
|
+
"description": "Place symbol",
|
|
76
|
+
"Prompts": {
|
|
77
|
+
"FirstPoint": "Define center or drag to define corners"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"Text": {
|
|
81
|
+
"Place": {
|
|
82
|
+
"keyin": "Place Markup Text",
|
|
83
|
+
"description": "Add text box",
|
|
84
|
+
"Prompts": {
|
|
85
|
+
"FirstPoint": "Identify text location"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"Edit": {
|
|
89
|
+
"keyin": "Edit Markup Text",
|
|
90
|
+
"description": "Edit text",
|
|
91
|
+
"Prompts": {
|
|
92
|
+
"FirstPoint": "Enter text"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/core-markup",
|
|
3
|
-
"version": "5.0.0-dev.
|
|
3
|
+
"version": "5.0.0-dev.52",
|
|
4
4
|
"description": "iTwin.js markup package",
|
|
5
5
|
"main": "lib/cjs/core-markup.js",
|
|
6
6
|
"module": "lib/esm/core-markup.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@svgdotjs/svg.js": "3.0.16"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@itwin/core-bentley": "
|
|
31
|
-
"@itwin/core-common": "
|
|
32
|
-
"@itwin/core-frontend": "
|
|
33
|
-
"@itwin/core-geometry": "
|
|
30
|
+
"@itwin/core-bentley": "5.0.0-dev.52",
|
|
31
|
+
"@itwin/core-common": "5.0.0-dev.52",
|
|
32
|
+
"@itwin/core-frontend": "5.0.0-dev.52",
|
|
33
|
+
"@itwin/core-geometry": "5.0.0-dev.52"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@itwin/eslint-plugin": "5.0.0-dev.1",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"rimraf": "^3.0.2",
|
|
48
48
|
"source-map-loader": "^4.0.0",
|
|
49
49
|
"typescript": "~5.6.2",
|
|
50
|
-
"webpack": "^5.
|
|
51
|
-
"@itwin/build-tools": "5.0.0-dev.
|
|
52
|
-
"@itwin/core-
|
|
53
|
-
"@itwin/core-
|
|
54
|
-
"@itwin/core-geometry": "5.0.0-dev.
|
|
55
|
-
"@itwin/core-
|
|
56
|
-
"@itwin/certa": "5.0.0-dev.
|
|
50
|
+
"webpack": "^5.97.1",
|
|
51
|
+
"@itwin/build-tools": "5.0.0-dev.52",
|
|
52
|
+
"@itwin/core-frontend": "5.0.0-dev.52",
|
|
53
|
+
"@itwin/core-bentley": "5.0.0-dev.52",
|
|
54
|
+
"@itwin/core-geometry": "5.0.0-dev.52",
|
|
55
|
+
"@itwin/core-common": "5.0.0-dev.52",
|
|
56
|
+
"@itwin/certa": "5.0.0-dev.52"
|
|
57
57
|
},
|
|
58
58
|
"nyc": {
|
|
59
59
|
"extends": "./node_modules/@itwin/build-tools/.nycrc"
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm",
|
|
63
63
|
"build:cjs": "tsc 1>&2 --outDir lib/cjs",
|
|
64
|
-
"build:esm": "tsc 1>&2 --module
|
|
64
|
+
"build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
|
|
65
65
|
"clean": "rimraf lib .rush/temp/package-deps*.json",
|
|
66
66
|
"copy:public": "cpx \"./src/public/**/*\" ./lib/public",
|
|
67
67
|
"cover": "npm -s test",
|
|
68
|
-
"docs": "betools docs --
|
|
68
|
+
"docs": "betools docs --json=../../generated-docs/core/core-markup/file.json --tsIndexFile=./core-markup.ts --onlyJson",
|
|
69
69
|
"extract-api": "betools extract-api --entry=core-markup",
|
|
70
70
|
"lint": "eslint \"./src/**/*.ts\" 1>&2",
|
|
71
71
|
"pseudolocalize": "betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO",
|