@itwin/core-markup 4.0.0-dev.10 → 4.0.0-dev.101

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 (55) hide show
  1. package/CHANGELOG.md +51 -1
  2. package/lib/cjs/Markup.d.ts +323 -310
  3. package/lib/cjs/Markup.d.ts.map +1 -1
  4. package/lib/cjs/Markup.js +451 -420
  5. package/lib/cjs/Markup.js.map +1 -1
  6. package/lib/cjs/MarkupTool.d.ts +38 -38
  7. package/lib/cjs/MarkupTool.js +88 -88
  8. package/lib/cjs/MarkupTool.js.map +1 -1
  9. package/lib/cjs/RedlineTool.d.ts +145 -145
  10. package/lib/cjs/RedlineTool.d.ts.map +1 -1
  11. package/lib/cjs/RedlineTool.js +498 -512
  12. package/lib/cjs/RedlineTool.js.map +1 -1
  13. package/lib/cjs/SelectTool.d.ts +126 -126
  14. package/lib/cjs/SelectTool.js +741 -741
  15. package/lib/cjs/SelectTool.js.map +1 -1
  16. package/lib/cjs/SvgJsExt.d.ts +85 -85
  17. package/lib/cjs/SvgJsExt.js +185 -185
  18. package/lib/cjs/SvgJsExt.js.map +1 -1
  19. package/lib/cjs/TextEdit.d.ts +43 -43
  20. package/lib/cjs/TextEdit.js +196 -196
  21. package/lib/cjs/TextEdit.js.map +1 -1
  22. package/lib/cjs/Undo.d.ts +46 -46
  23. package/lib/cjs/Undo.js +168 -168
  24. package/lib/cjs/Undo.js.map +1 -1
  25. package/lib/cjs/core-markup.d.ts +18 -18
  26. package/lib/cjs/core-markup.js +38 -34
  27. package/lib/cjs/core-markup.js.map +1 -1
  28. package/lib/esm/Markup.d.ts +323 -310
  29. package/lib/esm/Markup.d.ts.map +1 -1
  30. package/lib/esm/Markup.js +447 -415
  31. package/lib/esm/Markup.js.map +1 -1
  32. package/lib/esm/MarkupTool.d.ts +38 -38
  33. package/lib/esm/MarkupTool.js +85 -84
  34. package/lib/esm/MarkupTool.js.map +1 -1
  35. package/lib/esm/RedlineTool.d.ts +145 -145
  36. package/lib/esm/RedlineTool.d.ts.map +1 -1
  37. package/lib/esm/RedlineTool.js +494 -498
  38. package/lib/esm/RedlineTool.js.map +1 -1
  39. package/lib/esm/SelectTool.d.ts +126 -126
  40. package/lib/esm/SelectTool.js +735 -734
  41. package/lib/esm/SelectTool.js.map +1 -1
  42. package/lib/esm/SvgJsExt.d.ts +85 -85
  43. package/lib/esm/SvgJsExt.js +180 -180
  44. package/lib/esm/SvgJsExt.js.map +1 -1
  45. package/lib/esm/TextEdit.d.ts +43 -43
  46. package/lib/esm/TextEdit.js +193 -191
  47. package/lib/esm/TextEdit.js.map +1 -1
  48. package/lib/esm/Undo.d.ts +46 -46
  49. package/lib/esm/Undo.js +164 -164
  50. package/lib/esm/Undo.js.map +1 -1
  51. package/lib/esm/core-markup.d.ts +18 -18
  52. package/lib/esm/core-markup.js +22 -22
  53. package/lib/esm/core-markup.js.map +1 -1
  54. package/lib/public/locales/en/MarkupTools.json +98 -98
  55. package/package.json +20 -21
@@ -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.10",
3
+ "version": "4.0.0-dev.101",
4
4
  "description": "iTwin.js markup package",
5
5
  "main": "lib/cjs/core-markup.js",
6
6
  "module": "lib/esm/core-markup.js",
@@ -8,7 +8,8 @@
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/iTwin/itwinjs-core/tree/master/core/markup"
11
+ "url": "https://github.com/iTwin/itwinjs-core.git",
12
+ "directory": "core/markup"
12
13
  },
13
14
  "keywords": [
14
15
  "Bentley",
@@ -26,34 +27,34 @@
26
27
  "@svgdotjs/svg.js": "3.0.13"
27
28
  },
28
29
  "peerDependencies": {
29
- "@itwin/core-bentley": "^4.0.0-dev.10",
30
- "@itwin/core-common": "^4.0.0-dev.10",
31
- "@itwin/core-frontend": "^4.0.0-dev.10",
32
- "@itwin/core-geometry": "^4.0.0-dev.10"
30
+ "@itwin/core-bentley": "^4.0.0-dev.101",
31
+ "@itwin/core-common": "^4.0.0-dev.101",
32
+ "@itwin/core-frontend": "^4.0.0-dev.101",
33
+ "@itwin/core-geometry": "^4.0.0-dev.101"
33
34
  },
34
35
  "devDependencies": {
35
- "@itwin/build-tools": "4.0.0-dev.10",
36
- "@itwin/core-bentley": "4.0.0-dev.10",
37
- "@itwin/core-common": "4.0.0-dev.10",
38
- "@itwin/core-frontend": "4.0.0-dev.10",
39
- "@itwin/core-geometry": "4.0.0-dev.10",
40
- "@itwin/certa": "4.0.0-dev.10",
41
- "@itwin/eslint-plugin": "4.0.0-dev.10",
36
+ "@itwin/eslint-plugin": "^4.0.0-dev.33",
42
37
  "@types/chai": "4.3.1",
43
38
  "@types/mocha": "^8.2.2",
44
- "@types/node": "18.11.5",
39
+ "@types/node": "^18.11.5",
45
40
  "babel-loader": "~8.2.5",
46
41
  "babel-plugin-istanbul": "~6.1.1",
47
42
  "chai": "^4.1.2",
48
43
  "cpx2": "^3.0.0",
49
- "eslint": "^7.11.0",
44
+ "eslint": "^8.36.0",
50
45
  "glob": "^7.1.2",
51
46
  "mocha": "^10.0.0",
52
47
  "nyc": "^15.1.0",
53
48
  "rimraf": "^3.0.2",
54
49
  "source-map-loader": "^4.0.0",
55
- "typescript": "~4.4.0",
56
- "webpack": "^5.64.4"
50
+ "typescript": "~5.0.2",
51
+ "webpack": "^5.76.0",
52
+ "@itwin/build-tools": "4.0.0-dev.101",
53
+ "@itwin/core-frontend": "4.0.0-dev.101",
54
+ "@itwin/certa": "4.0.0-dev.101",
55
+ "@itwin/core-common": "4.0.0-dev.101",
56
+ "@itwin/core-bentley": "4.0.0-dev.101",
57
+ "@itwin/core-geometry": "4.0.0-dev.101"
57
58
  },
58
59
  "nyc": {
59
60
  "extends": "./node_modules/@itwin/build-tools/.nycrc"
@@ -65,8 +66,7 @@
65
66
  "extends": "plugin:@itwin/itwinjs-recommended"
66
67
  },
67
68
  "scripts": {
68
- "build": "npm run -s copy:public && npm run -s build:cjs",
69
- "build:ci": "npm run -s build && npm run -s build:esm",
69
+ "build": "npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm",
70
70
  "build:cjs": "tsc 1>&2 --outDir lib/cjs",
71
71
  "build:esm": "tsc 1>&2 --module ES2020 --outDir lib/esm",
72
72
  "clean": "rimraf lib .rush/temp/package-deps*.json",
@@ -79,6 +79,5 @@
79
79
  "test": "npm run -s webpackTests && certa -r chrome",
80
80
  "test:debug": "certa -r chrome --debug",
81
81
  "webpackTests": "webpack --config ./src/test/utils/webpack.config.js 1>&2"
82
- },
83
- "readme": "# @itwin/core-markup\r\n\r\nCopyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.\r\n\r\n## Description\r\n\r\nThe __@itwin/core-markup__ package contains classes for creating and editing SVG-based markup for iTwin.js Viewports.\r\n\r\n## Documentation\r\n\r\nSee the [iTwin.js](https://www.itwinjs.org) documentation for more information.\r\n"
82
+ }
84
83
  }