@itwin/core-markup 4.0.0-dev.24 → 4.0.0-dev.28

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/lib/cjs/Markup.d.ts +310 -310
  3. package/lib/cjs/Markup.js +419 -420
  4. package/lib/cjs/Markup.js.map +1 -1
  5. package/lib/cjs/MarkupTool.d.ts +38 -38
  6. package/lib/cjs/MarkupTool.js +88 -88
  7. package/lib/cjs/MarkupTool.js.map +1 -1
  8. package/lib/cjs/RedlineTool.d.ts +145 -145
  9. package/lib/cjs/RedlineTool.js +512 -512
  10. package/lib/cjs/RedlineTool.js.map +1 -1
  11. package/lib/cjs/SelectTool.d.ts +126 -126
  12. package/lib/cjs/SelectTool.js +741 -741
  13. package/lib/cjs/SelectTool.js.map +1 -1
  14. package/lib/cjs/SvgJsExt.d.ts +85 -85
  15. package/lib/cjs/SvgJsExt.js +185 -185
  16. package/lib/cjs/SvgJsExt.js.map +1 -1
  17. package/lib/cjs/TextEdit.d.ts +43 -43
  18. package/lib/cjs/TextEdit.js +196 -196
  19. package/lib/cjs/TextEdit.js.map +1 -1
  20. package/lib/cjs/Undo.d.ts +46 -46
  21. package/lib/cjs/Undo.js +168 -168
  22. package/lib/cjs/Undo.js.map +1 -1
  23. package/lib/cjs/core-markup.d.ts +18 -18
  24. package/lib/cjs/core-markup.js +34 -34
  25. package/lib/cjs/core-markup.js.map +1 -1
  26. package/lib/esm/Markup.d.ts +310 -310
  27. package/lib/esm/Markup.js +414 -415
  28. package/lib/esm/Markup.js.map +1 -1
  29. package/lib/esm/MarkupTool.d.ts +38 -38
  30. package/lib/esm/MarkupTool.js +84 -84
  31. package/lib/esm/MarkupTool.js.map +1 -1
  32. package/lib/esm/RedlineTool.d.ts +145 -145
  33. package/lib/esm/RedlineTool.js +498 -498
  34. package/lib/esm/RedlineTool.js.map +1 -1
  35. package/lib/esm/SelectTool.d.ts +126 -126
  36. package/lib/esm/SelectTool.js +734 -734
  37. package/lib/esm/SelectTool.js.map +1 -1
  38. package/lib/esm/SvgJsExt.d.ts +85 -85
  39. package/lib/esm/SvgJsExt.js +180 -180
  40. package/lib/esm/SvgJsExt.js.map +1 -1
  41. package/lib/esm/TextEdit.d.ts +43 -43
  42. package/lib/esm/TextEdit.js +191 -191
  43. package/lib/esm/TextEdit.js.map +1 -1
  44. package/lib/esm/Undo.d.ts +46 -46
  45. package/lib/esm/Undo.js +164 -164
  46. package/lib/esm/Undo.js.map +1 -1
  47. package/lib/esm/core-markup.d.ts +18 -18
  48. package/lib/esm/core-markup.js +22 -22
  49. package/lib/esm/core-markup.js.map +1 -1
  50. package/lib/public/locales/en/MarkupTools.json +98 -98
  51. package/package.json +12 -12
@@ -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": "4.0.0-dev.24",
3
+ "version": "4.0.0-dev.28",
4
4
  "description": "iTwin.js markup package",
5
5
  "main": "lib/cjs/core-markup.js",
6
6
  "module": "lib/esm/core-markup.js",
@@ -26,19 +26,19 @@
26
26
  "@svgdotjs/svg.js": "3.0.13"
27
27
  },
28
28
  "peerDependencies": {
29
- "@itwin/core-bentley": "^4.0.0-dev.24",
30
- "@itwin/core-common": "^4.0.0-dev.24",
31
- "@itwin/core-frontend": "^4.0.0-dev.24",
32
- "@itwin/core-geometry": "^4.0.0-dev.24"
29
+ "@itwin/core-bentley": "^4.0.0-dev.28",
30
+ "@itwin/core-common": "^4.0.0-dev.28",
31
+ "@itwin/core-frontend": "^4.0.0-dev.28",
32
+ "@itwin/core-geometry": "^4.0.0-dev.28"
33
33
  },
34
34
  "devDependencies": {
35
- "@itwin/build-tools": "4.0.0-dev.24",
36
- "@itwin/core-bentley": "4.0.0-dev.24",
37
- "@itwin/core-common": "4.0.0-dev.24",
38
- "@itwin/core-frontend": "4.0.0-dev.24",
39
- "@itwin/core-geometry": "4.0.0-dev.24",
40
- "@itwin/certa": "4.0.0-dev.24",
41
- "@itwin/eslint-plugin": "4.0.0-dev.24",
35
+ "@itwin/build-tools": "4.0.0-dev.28",
36
+ "@itwin/core-bentley": "4.0.0-dev.28",
37
+ "@itwin/core-common": "4.0.0-dev.28",
38
+ "@itwin/core-frontend": "4.0.0-dev.28",
39
+ "@itwin/core-geometry": "4.0.0-dev.28",
40
+ "@itwin/certa": "4.0.0-dev.28",
41
+ "@itwin/eslint-plugin": "4.0.0-dev.28",
42
42
  "@types/chai": "4.3.1",
43
43
  "@types/mocha": "^8.2.2",
44
44
  "@types/node": "^18.11.5",