@itwin/core-markup 4.0.0-dev.8 → 4.0.0-dev.80

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 (49) hide show
  1. package/CHANGELOG.md +41 -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/TextEdit.d.ts +43 -43
  19. package/lib/cjs/TextEdit.js +196 -196
  20. package/lib/cjs/TextEdit.js.map +1 -1
  21. package/lib/cjs/Undo.d.ts +46 -46
  22. package/lib/cjs/Undo.js +168 -168
  23. package/lib/cjs/core-markup.d.ts +18 -18
  24. package/lib/cjs/core-markup.js +38 -34
  25. package/lib/cjs/core-markup.js.map +1 -1
  26. package/lib/esm/Markup.d.ts +323 -310
  27. package/lib/esm/Markup.d.ts.map +1 -1
  28. package/lib/esm/Markup.js +447 -415
  29. package/lib/esm/Markup.js.map +1 -1
  30. package/lib/esm/MarkupTool.d.ts +38 -38
  31. package/lib/esm/MarkupTool.js +85 -84
  32. package/lib/esm/MarkupTool.js.map +1 -1
  33. package/lib/esm/RedlineTool.d.ts +145 -145
  34. package/lib/esm/RedlineTool.d.ts.map +1 -1
  35. package/lib/esm/RedlineTool.js +494 -498
  36. package/lib/esm/RedlineTool.js.map +1 -1
  37. package/lib/esm/SelectTool.d.ts +126 -126
  38. package/lib/esm/SelectTool.js +735 -734
  39. package/lib/esm/SelectTool.js.map +1 -1
  40. package/lib/esm/SvgJsExt.d.ts +85 -85
  41. package/lib/esm/SvgJsExt.js +180 -180
  42. package/lib/esm/TextEdit.d.ts +43 -43
  43. package/lib/esm/TextEdit.js +193 -191
  44. package/lib/esm/TextEdit.js.map +1 -1
  45. package/lib/esm/Undo.d.ts +46 -46
  46. package/lib/esm/Undo.js +164 -164
  47. package/lib/esm/core-markup.d.ts +18 -18
  48. package/lib/esm/core-markup.js +22 -22
  49. package/package.json +19 -19
package/lib/cjs/Undo.js CHANGED
@@ -1,169 +1,169 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module MarkupTools
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.UndoManager = void 0;
11
- const core_bentley_1 = require("@itwin/core-bentley");
12
- const Markup_1 = require("./Markup");
13
- /* @internal */
14
- class UndoAction {
15
- constructor(cmdName) {
16
- this.cmdName = cmdName;
17
- this.cmdId = 0;
18
- }
19
- }
20
- /** created when a new element is added to the markup
21
- * @internal
22
- */
23
- class AddAction extends UndoAction {
24
- constructor(cmdName, _elem) {
25
- super(cmdName);
26
- this._elem = _elem;
27
- this._parent = _elem.parent();
28
- (0, core_bentley_1.assert)(this._parent !== undefined);
29
- this._index = _elem.position();
30
- }
31
- reinstate() { this._parent.add(this._elem, this._index); }
32
- reverse() {
33
- Markup_1.MarkupApp.markup.selected.drop(this._elem);
34
- this._elem.remove();
35
- }
36
- }
37
- /** created when an existing element is deleted from the markup
38
- * @internal
39
- */
40
- class DeleteAction extends UndoAction {
41
- constructor(cmdName, _elem) {
42
- super(cmdName);
43
- this._elem = _elem;
44
- this._parent = _elem.parent();
45
- (0, core_bentley_1.assert)(this._parent !== undefined);
46
- this._index = _elem.position();
47
- }
48
- reverse() { this._parent.add(this._elem, this._index); }
49
- reinstate() {
50
- Markup_1.MarkupApp.markup.selected.drop(this._elem);
51
- this._elem.remove();
52
- }
53
- }
54
- /** created when an existing element's position is moved in the display order. This can also include re-parenting
55
- * @internal
56
- */
57
- class RepositionAction extends UndoAction {
58
- constructor(cmdName, _elem, _oldIndex, _oldParent) {
59
- super(cmdName);
60
- this._elem = _elem;
61
- this._oldIndex = _oldIndex;
62
- this._oldParent = _oldParent;
63
- this._newParent = _elem.parent();
64
- (0, core_bentley_1.assert)(this._newParent !== undefined);
65
- this._newIndex = _elem.position();
66
- }
67
- reinstate() {
68
- this._newParent.add(this._elem, this._newIndex);
69
- }
70
- reverse() {
71
- this._oldParent.add(this._elem, this._oldIndex);
72
- if (this._elem.inSelection)
73
- Markup_1.MarkupApp.markup.selected.drop(this._elem);
74
- }
75
- }
76
- /** created when an existing element's properties are modified.
77
- * @internal
78
- */
79
- class ModifyAction extends UndoAction {
80
- constructor(cmdName, _newElem, _oldElement) {
81
- super(cmdName);
82
- this._newElem = _newElem;
83
- this._oldElement = _oldElement;
84
- (0, core_bentley_1.assert)(_newElem !== undefined && _oldElement !== undefined);
85
- Markup_1.MarkupApp.markup.selected.replace(_oldElement, _newElem);
86
- }
87
- reinstate() {
88
- this._oldElement.replace(this._newElem);
89
- Markup_1.MarkupApp.markup.selected.replace(this._oldElement, this._newElem);
90
- }
91
- reverse() {
92
- this._newElem.replace(this._oldElement);
93
- Markup_1.MarkupApp.markup.selected.replace(this._newElem, this._oldElement);
94
- }
95
- }
96
- /** Stores the sequence of operations performed on a Markup. Facilitates undo/redo of the operations.
97
- * @public
98
- */
99
- class UndoManager {
100
- constructor() {
101
- this._currentCmd = 0;
102
- this._grouped = 0;
103
- this._stack = [];
104
- this._currentPos = 0;
105
- this._cmdName = "";
106
- }
107
- addAction(action) {
108
- this._stack.length = this._currentPos;
109
- action.cmdId = this._currentCmd;
110
- this._stack.push(action);
111
- this._currentPos = this.size;
112
- }
113
- /** @internal */
114
- get size() { return this._stack.length; }
115
- startCommand() {
116
- if (0 === this._grouped)
117
- ++this._currentCmd;
118
- }
119
- startGroup() {
120
- this.startCommand();
121
- ++this._grouped;
122
- }
123
- endGroup() { --this._grouped; }
124
- /** Perform a series of changes to markup elements that should all be reversed as a single operation.
125
- * @param fn the function that performs the changes to the elements. It must call the onXXX methods of this class to store
126
- * the operations in the undo buffer.
127
- * @note all of the onXXX methods of this class should *only* be called from within the callback function of this method.
128
- */
129
- performOperation(cmdName, fn) {
130
- this._cmdName = cmdName;
131
- this.startGroup();
132
- fn();
133
- this.endGroup();
134
- }
135
- /** call this from within a [[performOperation]] function *after* an element has been added to a markup */
136
- onAdded(elem) { this.addAction(new AddAction(this._cmdName, elem)); }
137
- /** call this from within a [[performOperation]] function *before* an element is about to be deleted from a markup */
138
- onDelete(elem) { this.addAction(new DeleteAction(this._cmdName, elem)); }
139
- /** call this from within a [[performOperation]] function *after* an element has been moved in display order in a markup */
140
- onRepositioned(elem, oldIndex, oldParent) { this.addAction(new RepositionAction(this._cmdName, elem, oldIndex, oldParent)); }
141
- /** call this from within a [[performOperation]] function *after* an element has been modified in a markup */
142
- onModified(newElem, oldElem) { this.addAction(new ModifyAction(this._cmdName, newElem, oldElem)); }
143
- /** determine whether there are any un-reversed operations */
144
- get undoPossible() { return this._currentPos > 0; }
145
- /** determine whether there are any reversed operations */
146
- get redoPossible() { return this._currentPos < this.size; }
147
- /** the name of the operation that can be undone (or undefined) */
148
- get undoString() { return this.undoPossible ? this._stack[this._currentPos - 1].cmdName : undefined; }
149
- /** the name of the operation that can be redone (or undefined) */
150
- get redoString() { return this.redoPossible ? this._stack[this._currentPos].cmdName : undefined; }
151
- /** reverse the most recent operation, if any */
152
- doUndo() {
153
- if (this._currentPos === 0)
154
- return; // no operations have been performed
155
- const cmdId = this._stack[this._currentPos - 1].cmdId;
156
- while (this._currentPos > 0 && cmdId === this._stack[this._currentPos - 1].cmdId)
157
- this._stack[--this._currentPos].reverse();
158
- }
159
- /** reinstate the most recently reversed operation, if any */
160
- doRedo() {
161
- if (this._currentPos === this.size)
162
- return; // no operations have been reversed.
163
- const cmdId = this._stack[this._currentPos].cmdId;
164
- while (this._currentPos < this.size && cmdId === this._stack[this._currentPos].cmdId)
165
- this._stack[this._currentPos++].reinstate();
166
- }
167
- }
168
- exports.UndoManager = UndoManager;
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module MarkupTools
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.UndoManager = void 0;
11
+ const core_bentley_1 = require("@itwin/core-bentley");
12
+ const Markup_1 = require("./Markup");
13
+ /* @internal */
14
+ class UndoAction {
15
+ constructor(cmdName) {
16
+ this.cmdName = cmdName;
17
+ this.cmdId = 0;
18
+ }
19
+ }
20
+ /** created when a new element is added to the markup
21
+ * @internal
22
+ */
23
+ class AddAction extends UndoAction {
24
+ constructor(cmdName, _elem) {
25
+ super(cmdName);
26
+ this._elem = _elem;
27
+ this._parent = _elem.parent();
28
+ (0, core_bentley_1.assert)(this._parent !== undefined);
29
+ this._index = _elem.position();
30
+ }
31
+ reinstate() { this._parent.add(this._elem, this._index); }
32
+ reverse() {
33
+ Markup_1.MarkupApp.markup.selected.drop(this._elem);
34
+ this._elem.remove();
35
+ }
36
+ }
37
+ /** created when an existing element is deleted from the markup
38
+ * @internal
39
+ */
40
+ class DeleteAction extends UndoAction {
41
+ constructor(cmdName, _elem) {
42
+ super(cmdName);
43
+ this._elem = _elem;
44
+ this._parent = _elem.parent();
45
+ (0, core_bentley_1.assert)(this._parent !== undefined);
46
+ this._index = _elem.position();
47
+ }
48
+ reverse() { this._parent.add(this._elem, this._index); }
49
+ reinstate() {
50
+ Markup_1.MarkupApp.markup.selected.drop(this._elem);
51
+ this._elem.remove();
52
+ }
53
+ }
54
+ /** created when an existing element's position is moved in the display order. This can also include re-parenting
55
+ * @internal
56
+ */
57
+ class RepositionAction extends UndoAction {
58
+ constructor(cmdName, _elem, _oldIndex, _oldParent) {
59
+ super(cmdName);
60
+ this._elem = _elem;
61
+ this._oldIndex = _oldIndex;
62
+ this._oldParent = _oldParent;
63
+ this._newParent = _elem.parent();
64
+ (0, core_bentley_1.assert)(this._newParent !== undefined);
65
+ this._newIndex = _elem.position();
66
+ }
67
+ reinstate() {
68
+ this._newParent.add(this._elem, this._newIndex);
69
+ }
70
+ reverse() {
71
+ this._oldParent.add(this._elem, this._oldIndex);
72
+ if (this._elem.inSelection)
73
+ Markup_1.MarkupApp.markup.selected.drop(this._elem);
74
+ }
75
+ }
76
+ /** created when an existing element's properties are modified.
77
+ * @internal
78
+ */
79
+ class ModifyAction extends UndoAction {
80
+ constructor(cmdName, _newElem, _oldElement) {
81
+ super(cmdName);
82
+ this._newElem = _newElem;
83
+ this._oldElement = _oldElement;
84
+ (0, core_bentley_1.assert)(_newElem !== undefined && _oldElement !== undefined);
85
+ Markup_1.MarkupApp.markup.selected.replace(_oldElement, _newElem);
86
+ }
87
+ reinstate() {
88
+ this._oldElement.replace(this._newElem);
89
+ Markup_1.MarkupApp.markup.selected.replace(this._oldElement, this._newElem);
90
+ }
91
+ reverse() {
92
+ this._newElem.replace(this._oldElement);
93
+ Markup_1.MarkupApp.markup.selected.replace(this._newElem, this._oldElement);
94
+ }
95
+ }
96
+ /** Stores the sequence of operations performed on a Markup. Facilitates undo/redo of the operations.
97
+ * @public
98
+ */
99
+ class UndoManager {
100
+ constructor() {
101
+ this._currentCmd = 0;
102
+ this._grouped = 0;
103
+ this._stack = [];
104
+ this._currentPos = 0;
105
+ this._cmdName = "";
106
+ }
107
+ addAction(action) {
108
+ this._stack.length = this._currentPos;
109
+ action.cmdId = this._currentCmd;
110
+ this._stack.push(action);
111
+ this._currentPos = this.size;
112
+ }
113
+ /** @internal */
114
+ get size() { return this._stack.length; }
115
+ startCommand() {
116
+ if (0 === this._grouped)
117
+ ++this._currentCmd;
118
+ }
119
+ startGroup() {
120
+ this.startCommand();
121
+ ++this._grouped;
122
+ }
123
+ endGroup() { --this._grouped; }
124
+ /** Perform a series of changes to markup elements that should all be reversed as a single operation.
125
+ * @param fn the function that performs the changes to the elements. It must call the onXXX methods of this class to store
126
+ * the operations in the undo buffer.
127
+ * @note all of the onXXX methods of this class should *only* be called from within the callback function of this method.
128
+ */
129
+ performOperation(cmdName, fn) {
130
+ this._cmdName = cmdName;
131
+ this.startGroup();
132
+ fn();
133
+ this.endGroup();
134
+ }
135
+ /** call this from within a [[performOperation]] function *after* an element has been added to a markup */
136
+ onAdded(elem) { this.addAction(new AddAction(this._cmdName, elem)); }
137
+ /** call this from within a [[performOperation]] function *before* an element is about to be deleted from a markup */
138
+ onDelete(elem) { this.addAction(new DeleteAction(this._cmdName, elem)); }
139
+ /** call this from within a [[performOperation]] function *after* an element has been moved in display order in a markup */
140
+ onRepositioned(elem, oldIndex, oldParent) { this.addAction(new RepositionAction(this._cmdName, elem, oldIndex, oldParent)); }
141
+ /** call this from within a [[performOperation]] function *after* an element has been modified in a markup */
142
+ onModified(newElem, oldElem) { this.addAction(new ModifyAction(this._cmdName, newElem, oldElem)); }
143
+ /** determine whether there are any un-reversed operations */
144
+ get undoPossible() { return this._currentPos > 0; }
145
+ /** determine whether there are any reversed operations */
146
+ get redoPossible() { return this._currentPos < this.size; }
147
+ /** the name of the operation that can be undone (or undefined) */
148
+ get undoString() { return this.undoPossible ? this._stack[this._currentPos - 1].cmdName : undefined; }
149
+ /** the name of the operation that can be redone (or undefined) */
150
+ get redoString() { return this.redoPossible ? this._stack[this._currentPos].cmdName : undefined; }
151
+ /** reverse the most recent operation, if any */
152
+ doUndo() {
153
+ if (this._currentPos === 0)
154
+ return; // no operations have been performed
155
+ const cmdId = this._stack[this._currentPos - 1].cmdId;
156
+ while (this._currentPos > 0 && cmdId === this._stack[this._currentPos - 1].cmdId)
157
+ this._stack[--this._currentPos].reverse();
158
+ }
159
+ /** reinstate the most recently reversed operation, if any */
160
+ doRedo() {
161
+ if (this._currentPos === this.size)
162
+ return; // no operations have been reversed.
163
+ const cmdId = this._stack[this._currentPos].cmdId;
164
+ while (this._currentPos < this.size && cmdId === this._stack[this._currentPos].cmdId)
165
+ this._stack[this._currentPos++].reinstate();
166
+ }
167
+ }
168
+ exports.UndoManager = UndoManager;
169
169
  //# sourceMappingURL=Undo.js.map
@@ -1,19 +1,19 @@
1
- export * from "./Markup";
2
- export * from "./MarkupTool";
3
- export * from "./RedlineTool";
4
- export * from "./SelectTool";
5
- export * from "./TextEdit";
6
- export * from "./Undo";
7
- export * from "./SvgJsExt";
8
- /** @docs-package-description
9
- * The core-markup package supplies tools for creating, editing, and saving SVG-based markups of Viewports.
10
- */
11
- /**
12
- * @docs-group-description MarkupApp
13
- * Classes for configuring and administering the markup system.
14
- */
15
- /**
16
- * @docs-group-description MarkupTools
17
- * Classes for supplying interactive tools for creating and editing markup elements.
18
- */
1
+ export * from "./Markup";
2
+ export * from "./MarkupTool";
3
+ export * from "./RedlineTool";
4
+ export * from "./SelectTool";
5
+ export * from "./TextEdit";
6
+ export * from "./Undo";
7
+ export * from "./SvgJsExt";
8
+ /** @docs-package-description
9
+ * The core-markup package supplies tools for creating, editing, and saving SVG-based markups of Viewports.
10
+ */
11
+ /**
12
+ * @docs-group-description MarkupApp
13
+ * Classes for configuring and administering the markup system.
14
+ */
15
+ /**
16
+ * @docs-group-description MarkupTools
17
+ * Classes for supplying interactive tools for creating and editing markup elements.
18
+ */
19
19
  //# sourceMappingURL=core-markup.d.ts.map
@@ -1,35 +1,39 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- /*---------------------------------------------------------------------------------------------
14
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
15
- * See LICENSE.md in the project root for license terms and full copyright notice.
16
- *--------------------------------------------------------------------------------------------*/
17
- __exportStar(require("./Markup"), exports);
18
- __exportStar(require("./MarkupTool"), exports);
19
- __exportStar(require("./RedlineTool"), exports);
20
- __exportStar(require("./SelectTool"), exports);
21
- __exportStar(require("./TextEdit"), exports);
22
- __exportStar(require("./Undo"), exports);
23
- __exportStar(require("./SvgJsExt"), exports);
24
- /** @docs-package-description
25
- * The core-markup package supplies tools for creating, editing, and saving SVG-based markups of Viewports.
26
- */
27
- /**
28
- * @docs-group-description MarkupApp
29
- * Classes for configuring and administering the markup system.
30
- */
31
- /**
32
- * @docs-group-description MarkupTools
33
- * Classes for supplying interactive tools for creating and editing markup elements.
34
- */
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /*---------------------------------------------------------------------------------------------
18
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
19
+ * See LICENSE.md in the project root for license terms and full copyright notice.
20
+ *--------------------------------------------------------------------------------------------*/
21
+ __exportStar(require("./Markup"), exports);
22
+ __exportStar(require("./MarkupTool"), exports);
23
+ __exportStar(require("./RedlineTool"), exports);
24
+ __exportStar(require("./SelectTool"), exports);
25
+ __exportStar(require("./TextEdit"), exports);
26
+ __exportStar(require("./Undo"), exports);
27
+ __exportStar(require("./SvgJsExt"), exports);
28
+ /** @docs-package-description
29
+ * The core-markup package supplies tools for creating, editing, and saving SVG-based markups of Viewports.
30
+ */
31
+ /**
32
+ * @docs-group-description MarkupApp
33
+ * Classes for configuring and administering the markup system.
34
+ */
35
+ /**
36
+ * @docs-group-description MarkupTools
37
+ * Classes for supplying interactive tools for creating and editing markup elements.
38
+ */
35
39
  //# sourceMappingURL=core-markup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"core-markup.js","sourceRoot":"","sources":["../../src/core-markup.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;+FAG+F;AAC/F,2CAAyB;AACzB,+CAA6B;AAC7B,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,yCAAuB;AACvB,6CAA2B;AAE3B;;GAEG;AACH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\nexport * from \"./Markup\";\r\nexport * from \"./MarkupTool\";\r\nexport * from \"./RedlineTool\";\r\nexport * from \"./SelectTool\";\r\nexport * from \"./TextEdit\";\r\nexport * from \"./Undo\";\r\nexport * from \"./SvgJsExt\";\r\n\r\n/** @docs-package-description\r\n * The core-markup package supplies tools for creating, editing, and saving SVG-based markups of Viewports.\r\n */\r\n/**\r\n * @docs-group-description MarkupApp\r\n * Classes for configuring and administering the markup system.\r\n */\r\n/**\r\n * @docs-group-description MarkupTools\r\n * Classes for supplying interactive tools for creating and editing markup elements.\r\n */\r\n"]}
1
+ {"version":3,"file":"core-markup.js","sourceRoot":"","sources":["../../src/core-markup.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;+FAG+F;AAC/F,2CAAyB;AACzB,+CAA6B;AAC7B,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,yCAAuB;AACvB,6CAA2B;AAE3B;;GAEG;AACH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\nexport * from \"./Markup\";\r\nexport * from \"./MarkupTool\";\r\nexport * from \"./RedlineTool\";\r\nexport * from \"./SelectTool\";\r\nexport * from \"./TextEdit\";\r\nexport * from \"./Undo\";\r\nexport * from \"./SvgJsExt\";\r\n\r\n/** @docs-package-description\r\n * The core-markup package supplies tools for creating, editing, and saving SVG-based markups of Viewports.\r\n */\r\n/**\r\n * @docs-group-description MarkupApp\r\n * Classes for configuring and administering the markup system.\r\n */\r\n/**\r\n * @docs-group-description MarkupTools\r\n * Classes for supplying interactive tools for creating and editing markup elements.\r\n */\r\n"]}