@mlightcad/cad-simple-viewer 1.2.4 → 1.2.5
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 +11406 -8892
- package/dist/index.umd.cjs +314 -24
- package/dist/libredwg-parser-worker.js +7267 -7238
- package/dist/mtext-renderer-worker.js +32 -9
- package/lib/app/AcApDocManager.d.ts +20 -3
- package/lib/app/AcApDocManager.d.ts.map +1 -1
- package/lib/app/AcApDocManager.js +66 -11
- package/lib/app/AcApDocManager.js.map +1 -1
- package/lib/app/AcApProgress.d.ts +133 -0
- package/lib/app/AcApProgress.d.ts.map +1 -0
- package/lib/app/AcApProgress.js +148 -0
- package/lib/app/AcApProgress.js.map +1 -0
- package/lib/app/AcApSettingManager.d.ts +42 -0
- package/lib/app/AcApSettingManager.d.ts.map +1 -1
- package/lib/app/AcApSettingManager.js +63 -0
- package/lib/app/AcApSettingManager.js.map +1 -1
- package/lib/app/index.d.ts +0 -1
- package/lib/app/index.d.ts.map +1 -1
- package/lib/app/index.js +0 -1
- package/lib/app/index.js.map +1 -1
- package/lib/command/AcApCircleCmd.d.ts +21 -0
- package/lib/command/AcApCircleCmd.d.ts.map +1 -0
- package/lib/command/AcApCircleCmd.js +115 -0
- package/lib/command/AcApCircleCmd.js.map +1 -0
- package/lib/command/AcApDimCmd.d.ts +57 -0
- package/lib/command/AcApDimCmd.d.ts.map +1 -0
- package/lib/command/AcApDimCmd.js +228 -0
- package/lib/command/AcApDimCmd.js.map +1 -0
- package/lib/command/AcApLogCmd.d.ts +13 -0
- package/lib/command/AcApLogCmd.d.ts.map +1 -0
- package/lib/command/AcApLogCmd.js +97 -0
- package/lib/command/AcApLogCmd.js.map +1 -0
- package/lib/command/AcApSysVarCmd.d.ts +15 -0
- package/lib/command/AcApSysVarCmd.d.ts.map +1 -0
- package/lib/command/AcApSysVarCmd.js +94 -0
- package/lib/command/AcApSysVarCmd.js.map +1 -0
- package/lib/command/AcApZoomToBoxCmd.d.ts +0 -36
- package/lib/command/AcApZoomToBoxCmd.d.ts.map +1 -1
- package/lib/command/AcApZoomToBoxCmd.js +4 -61
- package/lib/command/AcApZoomToBoxCmd.js.map +1 -1
- package/lib/command/index.d.ts +4 -0
- package/lib/command/index.d.ts.map +1 -1
- package/lib/command/index.js +4 -0
- package/lib/command/index.js.map +1 -1
- package/lib/editor/command/AcEdCommandStack.d.ts +19 -1
- package/lib/editor/command/AcEdCommandStack.d.ts.map +1 -1
- package/lib/editor/command/AcEdCommandStack.js +40 -0
- package/lib/editor/command/AcEdCommandStack.js.map +1 -1
- package/lib/editor/input/AcEdCursorManager.d.ts +14 -30
- package/lib/editor/input/AcEdCursorManager.d.ts.map +1 -1
- package/lib/editor/input/AcEdCursorManager.js +32 -31
- package/lib/editor/input/AcEdCursorManager.js.map +1 -1
- package/lib/editor/input/AcEdPreviewJig.d.ts +103 -0
- package/lib/editor/input/AcEdPreviewJig.d.ts.map +1 -0
- package/lib/editor/input/AcEdPreviewJig.js +82 -0
- package/lib/editor/input/AcEdPreviewJig.js.map +1 -0
- package/lib/editor/input/AcEditor.d.ts +58 -11
- package/lib/editor/input/AcEditor.d.ts.map +1 -1
- package/lib/editor/input/AcEditor.js +86 -22
- package/lib/editor/input/AcEditor.js.map +1 -1
- package/lib/editor/input/handler/AcEdAngleHandler.d.ts +12 -0
- package/lib/editor/input/handler/AcEdAngleHandler.d.ts.map +1 -0
- package/lib/editor/input/handler/AcEdAngleHandler.js +25 -0
- package/lib/editor/input/handler/AcEdAngleHandler.js.map +1 -0
- package/lib/editor/input/handler/AcEdDistanceHandler.d.ts +8 -0
- package/lib/editor/input/handler/AcEdDistanceHandler.d.ts.map +1 -0
- package/lib/editor/input/handler/AcEdDistanceHandler.js +29 -0
- package/lib/editor/input/handler/AcEdDistanceHandler.js.map +1 -0
- package/lib/editor/input/handler/AcEdDoubleHandler.d.ts +7 -0
- package/lib/editor/input/handler/AcEdDoubleHandler.d.ts.map +1 -0
- package/lib/editor/input/handler/AcEdDoubleHandler.js +28 -0
- package/lib/editor/input/handler/AcEdDoubleHandler.js.map +1 -0
- package/lib/editor/input/handler/AcEdInputHandler.d.ts +14 -0
- package/lib/editor/input/handler/AcEdInputHandler.d.ts.map +1 -0
- package/lib/editor/input/handler/AcEdInputHandler.js +2 -0
- package/lib/editor/input/handler/AcEdInputHandler.js.map +1 -0
- package/lib/editor/input/handler/AcEdIntegerHandler.d.ts +11 -0
- package/lib/editor/input/handler/AcEdIntegerHandler.d.ts.map +1 -0
- package/lib/editor/input/handler/AcEdIntegerHandler.js +44 -0
- package/lib/editor/input/handler/AcEdIntegerHandler.js.map +1 -0
- package/lib/editor/input/handler/AcEdNumericalHandler.d.ts +11 -0
- package/lib/editor/input/handler/AcEdNumericalHandler.d.ts.map +1 -0
- package/lib/editor/input/handler/AcEdNumericalHandler.js +24 -0
- package/lib/editor/input/handler/AcEdNumericalHandler.js.map +1 -0
- package/lib/editor/input/handler/AcEdPointHandler.d.ts +16 -0
- package/lib/editor/input/handler/AcEdPointHandler.d.ts.map +1 -0
- package/lib/editor/input/handler/AcEdPointHandler.js +19 -0
- package/lib/editor/input/handler/AcEdPointHandler.js.map +1 -0
- package/lib/editor/input/handler/AcEdStringHandler.d.ts +12 -0
- package/lib/editor/input/handler/AcEdStringHandler.d.ts.map +1 -0
- package/lib/editor/input/handler/AcEdStringHandler.js +24 -0
- package/lib/editor/input/handler/AcEdStringHandler.js.map +1 -0
- package/lib/editor/input/handler/index.d.ts +9 -0
- package/lib/editor/input/handler/index.d.ts.map +1 -0
- package/lib/editor/input/handler/index.js +9 -0
- package/lib/editor/input/handler/index.js.map +1 -0
- package/lib/editor/input/index.d.ts +4 -1
- package/lib/editor/input/index.d.ts.map +1 -1
- package/lib/editor/input/index.js +4 -1
- package/lib/editor/input/index.js.map +1 -1
- package/lib/editor/input/marker/AcEdMarker.d.ts +72 -0
- package/lib/editor/input/marker/AcEdMarker.d.ts.map +1 -0
- package/lib/editor/input/marker/AcEdMarker.js +124 -0
- package/lib/editor/input/marker/AcEdMarker.js.map +1 -0
- package/lib/editor/input/marker/AcEdOSnapMarkerManager.d.ts +52 -0
- package/lib/editor/input/marker/AcEdOSnapMarkerManager.d.ts.map +1 -0
- package/lib/editor/input/marker/AcEdOSnapMarkerManager.js +91 -0
- package/lib/editor/input/marker/AcEdOSnapMarkerManager.js.map +1 -0
- package/lib/editor/input/marker/index.d.ts +3 -0
- package/lib/editor/input/marker/index.d.ts.map +1 -0
- package/lib/editor/input/marker/index.js +3 -0
- package/lib/editor/input/marker/index.js.map +1 -0
- package/lib/editor/input/prompt/AcEdKeyword.d.ts +63 -0
- package/lib/editor/input/prompt/AcEdKeyword.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdKeyword.js +120 -0
- package/lib/editor/input/prompt/AcEdKeyword.js.map +1 -0
- package/lib/editor/input/prompt/AcEdKeywordCollection.d.ts +52 -0
- package/lib/editor/input/prompt/AcEdKeywordCollection.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdKeywordCollection.js +103 -0
- package/lib/editor/input/prompt/AcEdKeywordCollection.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts +75 -0
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.js +182 -0
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptDistanceOptions.d.ts +46 -0
- package/lib/editor/input/prompt/AcEdPromptDistanceOptions.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptDistanceOptions.js +114 -0
- package/lib/editor/input/prompt/AcEdPromptDistanceOptions.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleOptions.d.ts +10 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleOptions.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleOptions.js +31 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleOptions.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerOptions.d.ts +39 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerOptions.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerOptions.js +84 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerOptions.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.d.ts +59 -0
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.js +140 -0
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptNumericalResult.d.ts +19 -0
- package/lib/editor/input/prompt/AcEdPromptNumericalResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptNumericalResult.js +36 -0
- package/lib/editor/input/prompt/AcEdPromptNumericalResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptOptions.d.ts +61 -0
- package/lib/editor/input/prompt/AcEdPromptOptions.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptOptions.js +179 -0
- package/lib/editor/input/prompt/AcEdPromptOptions.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts +46 -0
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js +113 -0
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptPointResult.d.ts +25 -0
- package/lib/editor/input/prompt/AcEdPromptPointResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptPointResult.js +38 -0
- package/lib/editor/input/prompt/AcEdPromptPointResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptResult.d.ts +27 -0
- package/lib/editor/input/prompt/AcEdPromptResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptResult.js +19 -0
- package/lib/editor/input/prompt/AcEdPromptResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptStatus.d.ts +22 -0
- package/lib/editor/input/prompt/AcEdPromptStatus.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptStatus.js +23 -0
- package/lib/editor/input/prompt/AcEdPromptStatus.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptStringOptions.d.ts +54 -0
- package/lib/editor/input/prompt/AcEdPromptStringOptions.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptStringOptions.js +124 -0
- package/lib/editor/input/prompt/AcEdPromptStringOptions.js.map +1 -0
- package/lib/editor/input/prompt/index.d.ts +11 -0
- package/lib/editor/input/prompt/index.d.ts.map +1 -0
- package/lib/editor/input/prompt/index.js +11 -0
- package/lib/editor/input/prompt/index.js.map +1 -0
- package/lib/editor/input/ui/AcEdCommandLine.d.ts +114 -0
- package/lib/editor/input/ui/AcEdCommandLine.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdCommandLine.js +453 -0
- package/lib/editor/input/ui/AcEdCommandLine.js.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts +151 -0
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInput.js +239 -0
- package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInputBox.d.ts +60 -0
- package/lib/editor/input/ui/AcEdFloatingInputBox.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInputBox.js +113 -0
- package/lib/editor/input/ui/AcEdFloatingInputBox.js.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts +104 -0
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.js +154 -0
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.js.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +113 -0
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInputTypes.js +2 -0
- package/lib/editor/input/ui/AcEdFloatingInputTypes.js.map +1 -0
- package/lib/editor/input/ui/AcEdInputManager.d.ts +132 -0
- package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdInputManager.js +477 -0
- package/lib/editor/input/ui/AcEdInputManager.js.map +1 -0
- package/lib/editor/input/ui/AcEdRubberBand.d.ts +66 -0
- package/lib/editor/input/ui/AcEdRubberBand.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdRubberBand.js +276 -0
- package/lib/editor/input/ui/AcEdRubberBand.js.map +1 -0
- package/lib/editor/input/ui/index.d.ts +3 -0
- package/lib/editor/input/ui/index.d.ts.map +1 -0
- package/lib/editor/input/ui/index.js +3 -0
- package/lib/editor/input/ui/index.js.map +1 -0
- package/lib/editor/view/AcEdBaseView.d.ts +35 -11
- package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
- package/lib/editor/view/AcEdBaseView.js +14 -11
- package/lib/editor/view/AcEdBaseView.js.map +1 -1
- package/lib/i18n/AcApI18n.d.ts +135 -0
- package/lib/i18n/AcApI18n.d.ts.map +1 -0
- package/lib/i18n/AcApI18n.js +208 -0
- package/lib/i18n/AcApI18n.js.map +1 -0
- package/lib/i18n/en/command.d.ts +18 -0
- package/lib/i18n/en/command.d.ts.map +1 -0
- package/lib/i18n/en/command.js +17 -0
- package/lib/i18n/en/command.js.map +1 -0
- package/lib/i18n/en/jig.d.ts +11 -0
- package/lib/i18n/en/jig.d.ts.map +1 -0
- package/lib/i18n/en/jig.js +10 -0
- package/lib/i18n/en/jig.js.map +1 -0
- package/lib/i18n/en/main.d.ts +37 -0
- package/lib/i18n/en/main.d.ts.map +1 -0
- package/lib/i18n/en/main.js +36 -0
- package/lib/i18n/en/main.js.map +1 -0
- package/lib/i18n/index.d.ts +6 -0
- package/lib/i18n/index.d.ts.map +1 -0
- package/lib/i18n/index.js +31 -0
- package/lib/i18n/index.js.map +1 -0
- package/lib/i18n/zh/command.d.ts +18 -0
- package/lib/i18n/zh/command.d.ts.map +1 -0
- package/lib/i18n/zh/command.js +17 -0
- package/lib/i18n/zh/command.js.map +1 -0
- package/lib/i18n/zh/jig.d.ts +11 -0
- package/lib/i18n/zh/jig.d.ts.map +1 -0
- package/lib/i18n/zh/jig.js +10 -0
- package/lib/i18n/zh/jig.js.map +1 -0
- package/lib/i18n/zh/main.d.ts +37 -0
- package/lib/i18n/zh/main.d.ts.map +1 -0
- package/lib/i18n/zh/main.js +36 -0
- package/lib/i18n/zh/main.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/view/AcTrScene.d.ts +19 -6
- package/lib/view/AcTrScene.d.ts.map +1 -1
- package/lib/view/AcTrScene.js +25 -6
- package/lib/view/AcTrScene.js.map +1 -1
- package/lib/view/AcTrView2d.d.ts +11 -1
- package/lib/view/AcTrView2d.d.ts.map +1 -1
- package/lib/view/AcTrView2d.js +73 -35
- package/lib/view/AcTrView2d.js.map +1 -1
- package/package.json +7 -7
- package/lib/editor/input/AcEdBaseInput.d.ts +0 -89
- package/lib/editor/input/AcEdBaseInput.d.ts.map +0 -1
- package/lib/editor/input/AcEdBaseInput.js +0 -166
- package/lib/editor/input/AcEdBaseInput.js.map +0 -1
- package/lib/editor/input/AcEdBoxSelector.d.ts +0 -108
- package/lib/editor/input/AcEdBoxSelector.d.ts.map +0 -1
- package/lib/editor/input/AcEdBoxSelector.js +0 -220
- package/lib/editor/input/AcEdBoxSelector.js.map +0 -1
- package/lib/editor/input/AcEdInputPoint.d.ts +0 -51
- package/lib/editor/input/AcEdInputPoint.d.ts.map +0 -1
- package/lib/editor/input/AcEdInputPoint.js +0 -78
- package/lib/editor/input/AcEdInputPoint.js.map +0 -1
- package/lib/editor/input/AcEdJig.d.ts +0 -180
- package/lib/editor/input/AcEdJig.d.ts.map +0 -1
- package/lib/editor/input/AcEdJig.js +0 -256
- package/lib/editor/input/AcEdJig.js.map +0 -1
- package/lib/editor/input/AcEdJigLoop.d.ts +0 -63
- package/lib/editor/input/AcEdJigLoop.d.ts.map +0 -1
- package/lib/editor/input/AcEdJigLoop.js +0 -91
- package/lib/editor/input/AcEdJigLoop.js.map +0 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
+
extendStatics(d, b);
|
|
12
|
+
function __() { this.constructor = d; }
|
|
13
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import { AcEdNumericalHandler } from './AcEdNumericalHandler';
|
|
17
|
+
/**
|
|
18
|
+
* Validates distance input.
|
|
19
|
+
* Distances must be numeric and normally non-negative (AutoCAD behavior).
|
|
20
|
+
*/
|
|
21
|
+
var AcEdDistanceHandler = /** @class */ (function (_super) {
|
|
22
|
+
__extends(AcEdDistanceHandler, _super);
|
|
23
|
+
function AcEdDistanceHandler() {
|
|
24
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
25
|
+
}
|
|
26
|
+
return AcEdDistanceHandler;
|
|
27
|
+
}(AcEdNumericalHandler));
|
|
28
|
+
export { AcEdDistanceHandler };
|
|
29
|
+
//# sourceMappingURL=AcEdDistanceHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdDistanceHandler.js","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdDistanceHandler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D;;;GAGG;AACH;IAAyC,uCAAoB;IAA7D;;IAA+D,CAAC;IAAD,0BAAC;AAAD,CAAC,AAAhE,CAAyC,oBAAoB,GAAG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AcEdNumericalHandler } from './AcEdNumericalHandler';
|
|
2
|
+
/**
|
|
3
|
+
* Handles validation and parsing of double-precision floating-point input.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AcEdDoubleHandler extends AcEdNumericalHandler {
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=AcEdDoubleHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdDoubleHandler.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdDoubleHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,oBAAoB;CAAG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
+
extendStatics(d, b);
|
|
12
|
+
function __() { this.constructor = d; }
|
|
13
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import { AcEdNumericalHandler } from './AcEdNumericalHandler';
|
|
17
|
+
/**
|
|
18
|
+
* Handles validation and parsing of double-precision floating-point input.
|
|
19
|
+
*/
|
|
20
|
+
var AcEdDoubleHandler = /** @class */ (function (_super) {
|
|
21
|
+
__extends(AcEdDoubleHandler, _super);
|
|
22
|
+
function AcEdDoubleHandler() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return AcEdDoubleHandler;
|
|
26
|
+
}(AcEdNumericalHandler));
|
|
27
|
+
export { AcEdDoubleHandler };
|
|
28
|
+
//# sourceMappingURL=AcEdDoubleHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdDoubleHandler.js","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdDoubleHandler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D;;GAEG;AACH;IAAuC,qCAAoB;IAA3D;;IAA6D,CAAC;IAAD,wBAAC;AAAD,CAAC,AAA9D,CAAuC,oBAAoB,GAAG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base class for all input handlers.
|
|
3
|
+
* @template T The final parsed value type (number, string, point, etc.).
|
|
4
|
+
*/
|
|
5
|
+
export interface AcEdInputHandler<T> {
|
|
6
|
+
/**
|
|
7
|
+
* Parses `value` using rules implemented in subclasses.
|
|
8
|
+
* @param x - Texts in the first input box
|
|
9
|
+
* @param y - Texts in the second input box
|
|
10
|
+
* @returns parsed value if valid, otherwise null.
|
|
11
|
+
*/
|
|
12
|
+
parse(x: string, y?: string): T | null;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=AcEdInputHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdInputHandler.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdInputHandler.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC;;;;;OAKG;IACH,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI,CAAA;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdInputHandler.js","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdInputHandler.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AcEdPromptIntegerOptions } from '../prompt/AcEdPromptIntegerOptions';
|
|
2
|
+
import { AcEdNumericalHandler } from './AcEdNumericalHandler';
|
|
3
|
+
/**
|
|
4
|
+
* Handles validation and parsing of integer user input.
|
|
5
|
+
*/
|
|
6
|
+
export declare class AcEdIntegerHandler extends AcEdNumericalHandler {
|
|
7
|
+
protected options: AcEdPromptIntegerOptions;
|
|
8
|
+
constructor(options: AcEdPromptIntegerOptions);
|
|
9
|
+
parse(value: string): number | null;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AcEdIntegerHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdIntegerHandler.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdIntegerHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAA;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,oBAAoB;IAC1D,UAAkB,OAAO,EAAE,wBAAwB,CAAA;gBAEvC,OAAO,EAAE,wBAAwB;IAI7C,KAAK,CAAC,KAAK,EAAE,MAAM;CAoBpB"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
+
extendStatics(d, b);
|
|
12
|
+
function __() { this.constructor = d; }
|
|
13
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import { AcEdNumericalHandler } from './AcEdNumericalHandler';
|
|
17
|
+
/**
|
|
18
|
+
* Handles validation and parsing of integer user input.
|
|
19
|
+
*/
|
|
20
|
+
var AcEdIntegerHandler = /** @class */ (function (_super) {
|
|
21
|
+
__extends(AcEdIntegerHandler, _super);
|
|
22
|
+
function AcEdIntegerHandler(options) {
|
|
23
|
+
return _super.call(this, options) || this;
|
|
24
|
+
}
|
|
25
|
+
AcEdIntegerHandler.prototype.parse = function (value) {
|
|
26
|
+
var n = _super.prototype.parse.call(this, value);
|
|
27
|
+
if (n == null) {
|
|
28
|
+
return n;
|
|
29
|
+
}
|
|
30
|
+
if (!Number.isInteger(n)) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
if (this.options.lowerLimit !== undefined && n < this.options.lowerLimit) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
if (this.options.upperLimit !== undefined && n > this.options.upperLimit) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return n;
|
|
40
|
+
};
|
|
41
|
+
return AcEdIntegerHandler;
|
|
42
|
+
}(AcEdNumericalHandler));
|
|
43
|
+
export { AcEdIntegerHandler };
|
|
44
|
+
//# sourceMappingURL=AcEdIntegerHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdIntegerHandler.js","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdIntegerHandler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D;;GAEG;AACH;IAAwC,sCAAoB;IAG1D,4BAAY,OAAiC;QAC3C,OAAA,MAAK,YAAC,OAAO,CAAC,SAAA;IAChB,CAAC;IAED,kCAAK,GAAL,UAAM,KAAa;QACjB,IAAM,CAAC,GAAG,gBAAK,CAAC,KAAK,YAAC,KAAK,CAAC,CAAA;QAC5B,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;YACd,OAAO,CAAC,CAAA;QACV,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;YACzB,OAAO,IAAI,CAAA;QACb,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,KAAK,SAAS,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;YACzE,OAAO,IAAI,CAAA;QACb,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,KAAK,SAAS,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;YACzE,OAAO,IAAI,CAAA;QACb,CAAC;QAED,OAAO,CAAC,CAAA;IACV,CAAC;IACH,yBAAC;AAAD,CAAC,AA3BD,CAAwC,oBAAoB,GA2B3D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AcEdPromptNumericalOptions } from '../prompt/AcEdPromptNumericalOptions';
|
|
2
|
+
import { AcEdInputHandler } from './AcEdInputHandler';
|
|
3
|
+
/**
|
|
4
|
+
* Handles validation and parsing of numerical user input.
|
|
5
|
+
*/
|
|
6
|
+
export declare class AcEdNumericalHandler implements AcEdInputHandler<number> {
|
|
7
|
+
protected options: AcEdPromptNumericalOptions;
|
|
8
|
+
constructor(options: AcEdPromptNumericalOptions);
|
|
9
|
+
parse(value: string): number | null;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AcEdNumericalHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdNumericalHandler.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdNumericalHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAA;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD;;GAEG;AACH,qBAAa,oBAAqB,YAAW,gBAAgB,CAAC,MAAM,CAAC;IACnE,SAAS,CAAC,OAAO,EAAE,0BAA0B,CAAA;gBAEjC,OAAO,EAAE,0BAA0B;IAI/C,KAAK,CAAC,KAAK,EAAE,MAAM;CAiBpB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handles validation and parsing of numerical user input.
|
|
3
|
+
*/
|
|
4
|
+
var AcEdNumericalHandler = /** @class */ (function () {
|
|
5
|
+
function AcEdNumericalHandler(options) {
|
|
6
|
+
this.options = options;
|
|
7
|
+
}
|
|
8
|
+
AcEdNumericalHandler.prototype.parse = function (value) {
|
|
9
|
+
var n = Number(value);
|
|
10
|
+
if (isNaN(n)) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
if (!this.options.allowNegative && n < 0) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
if (!this.options.allowZero && n === 0) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
return n;
|
|
20
|
+
};
|
|
21
|
+
return AcEdNumericalHandler;
|
|
22
|
+
}());
|
|
23
|
+
export { AcEdNumericalHandler };
|
|
24
|
+
//# sourceMappingURL=AcEdNumericalHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdNumericalHandler.js","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdNumericalHandler.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH;IAGE,8BAAY,OAAmC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,oCAAK,GAAL,UAAM,KAAa;QACjB,IAAM,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;QAEvB,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACb,OAAO,IAAI,CAAA;QACb,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YACzC,OAAO,IAAI,CAAA;QACb,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACvC,OAAO,IAAI,CAAA;QACb,CAAC;QAED,OAAO,CAAC,CAAA;IACV,CAAC;IACH,2BAAC;AAAD,CAAC,AAxBD,IAwBC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AcGePoint3dLike } from '@mlightcad/data-model';
|
|
2
|
+
import { AcEdPromptPointOptions } from '../prompt/AcEdPromptPointOptions';
|
|
3
|
+
import { AcEdInputHandler } from './AcEdInputHandler';
|
|
4
|
+
/**
|
|
5
|
+
* Handles validation and parsing of point user input.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AcEdPointHandler implements AcEdInputHandler<AcGePoint3dLike> {
|
|
8
|
+
protected options: AcEdPromptPointOptions;
|
|
9
|
+
constructor(options: AcEdPromptPointOptions);
|
|
10
|
+
parse(x: string, y?: string): {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
z: number;
|
|
14
|
+
} | null;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=AcEdPointHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdPointHandler.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdPointHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAA;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD;;GAEG;AACH,qBAAa,gBAAiB,YAAW,gBAAgB,CAAC,eAAe,CAAC;IACxE,SAAS,CAAC,OAAO,EAAE,sBAAsB,CAAA;gBAE7B,OAAO,EAAE,sBAAsB;IAI3C,KAAK,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM;;;;;CAU5B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handles validation and parsing of point user input.
|
|
3
|
+
*/
|
|
4
|
+
var AcEdPointHandler = /** @class */ (function () {
|
|
5
|
+
function AcEdPointHandler(options) {
|
|
6
|
+
this.options = options;
|
|
7
|
+
}
|
|
8
|
+
AcEdPointHandler.prototype.parse = function (x, y) {
|
|
9
|
+
var nx = Number(x);
|
|
10
|
+
var ny = Number(y);
|
|
11
|
+
if (isNaN(nx) || isNaN(ny)) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
return { x: nx, y: ny, z: 0 };
|
|
15
|
+
};
|
|
16
|
+
return AcEdPointHandler;
|
|
17
|
+
}());
|
|
18
|
+
export { AcEdPointHandler };
|
|
19
|
+
//# sourceMappingURL=AcEdPointHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdPointHandler.js","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdPointHandler.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH;IAGE,0BAAY,OAA+B;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,gCAAK,GAAL,UAAM,CAAS,EAAE,CAAU;QACzB,IAAM,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QACpB,IAAM,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAEpB,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC;YAC3B,OAAO,IAAI,CAAA;QACb,CAAC;QAED,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAA;IAC/B,CAAC;IACH,uBAAC;AAAD,CAAC,AAjBD,IAiBC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AcEdPromptStringOptions } from '../prompt/AcEdPromptStringOptions';
|
|
2
|
+
import { AcEdInputHandler } from './AcEdInputHandler';
|
|
3
|
+
/**
|
|
4
|
+
* Validates string input according to {@link AcEdPromptStringOptions}.
|
|
5
|
+
* Supports empty string rules, keyword checking, and maximum length.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AcEdStringHandler implements AcEdInputHandler<string> {
|
|
8
|
+
private options;
|
|
9
|
+
constructor(options: AcEdPromptStringOptions);
|
|
10
|
+
parse(value: string): string | null;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AcEdStringHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdStringHandler.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdStringHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD;;;GAGG;AACH,qBAAa,iBAAkB,YAAW,gBAAgB,CAAC,MAAM,CAAC;IAChE,OAAO,CAAC,OAAO,CAAyB;gBAE5B,OAAO,EAAE,uBAAuB;IAI5C,KAAK,CAAC,KAAK,EAAE,MAAM;CAepB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validates string input according to {@link AcEdPromptStringOptions}.
|
|
3
|
+
* Supports empty string rules, keyword checking, and maximum length.
|
|
4
|
+
*/
|
|
5
|
+
var AcEdStringHandler = /** @class */ (function () {
|
|
6
|
+
function AcEdStringHandler(options) {
|
|
7
|
+
this.options = options;
|
|
8
|
+
}
|
|
9
|
+
AcEdStringHandler.prototype.parse = function (value) {
|
|
10
|
+
if (!this.options.allowSpaces && value.includes(' ')) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
if (!this.options.allowEmpty && value.length === 0) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
if (this.options.maxLength && value.length > this.options.maxLength) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
return value;
|
|
20
|
+
};
|
|
21
|
+
return AcEdStringHandler;
|
|
22
|
+
}());
|
|
23
|
+
export { AcEdStringHandler };
|
|
24
|
+
//# sourceMappingURL=AcEdStringHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdStringHandler.js","sourceRoot":"","sources":["../../../../src/editor/input/handler/AcEdStringHandler.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH;IAGE,2BAAY,OAAgC;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;IAED,iCAAK,GAAL,UAAM,KAAa;QACjB,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACrD,OAAO,IAAI,CAAA;QACb,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACnD,OAAO,IAAI,CAAA;QACb,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC;YACpE,OAAO,IAAI,CAAA;QACb,CAAC;QAED,OAAO,KAAK,CAAA;IACd,CAAC;IACH,wBAAC;AAAD,CAAC,AAtBD,IAsBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './AcEdAngleHandler';
|
|
2
|
+
export * from './AcEdDistanceHandler';
|
|
3
|
+
export * from './AcEdDoubleHandler';
|
|
4
|
+
export * from './AcEdInputHandler';
|
|
5
|
+
export * from './AcEdIntegerHandler';
|
|
6
|
+
export * from './AcEdNumericalHandler';
|
|
7
|
+
export * from './AcEdPointHandler';
|
|
8
|
+
export * from './AcEdStringHandler';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/handler/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './AcEdAngleHandler';
|
|
2
|
+
export * from './AcEdDistanceHandler';
|
|
3
|
+
export * from './AcEdDoubleHandler';
|
|
4
|
+
export * from './AcEdInputHandler';
|
|
5
|
+
export * from './AcEdIntegerHandler';
|
|
6
|
+
export * from './AcEdNumericalHandler';
|
|
7
|
+
export * from './AcEdPointHandler';
|
|
8
|
+
export * from './AcEdStringHandler';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/input/handler/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from './AcEdCursorManager';
|
|
2
|
-
export * from './AcEdJig';
|
|
3
2
|
export * from './AcEditor';
|
|
3
|
+
export * from './AcEdPreviewJig';
|
|
4
4
|
export * from './AcEdSelectionSet';
|
|
5
|
+
export * from './marker';
|
|
6
|
+
export * from './prompt';
|
|
7
|
+
export * from './ui';
|
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,MAAM,CAAA"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from './AcEdCursorManager';
|
|
2
|
-
export * from './AcEdJig';
|
|
3
2
|
export * from './AcEditor';
|
|
3
|
+
export * from './AcEdPreviewJig';
|
|
4
4
|
export * from './AcEdSelectionSet';
|
|
5
|
+
export * from './marker';
|
|
6
|
+
export * from './prompt';
|
|
7
|
+
export * from './ui';
|
|
5
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,MAAM,CAAA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { AcGePoint2dLike } from '@mlightcad/geometry-engine';
|
|
2
|
+
/**
|
|
3
|
+
* Supported marker shapes.
|
|
4
|
+
*/
|
|
5
|
+
export type AcEdMarkerType = 'circle' | 'triangle' | 'rect';
|
|
6
|
+
/**
|
|
7
|
+
* Represents a single marker displayed in screen coordinates.
|
|
8
|
+
*
|
|
9
|
+
* A marker is a small shape (circle, triangle, or rectangle) rendered using DOM elements.
|
|
10
|
+
* Its appearance is determined by type, size, and color.
|
|
11
|
+
*
|
|
12
|
+
* The marker:
|
|
13
|
+
* - Is absolutely positioned on the screen.
|
|
14
|
+
* - Cannot receive pointer events.
|
|
15
|
+
* - Automatically injects required CSS once globally.
|
|
16
|
+
*/
|
|
17
|
+
export declare class AcEdMarker {
|
|
18
|
+
/** DOM element representing the marker */
|
|
19
|
+
private _el;
|
|
20
|
+
/** Size (width = height) of the marker in pixels */
|
|
21
|
+
private _size;
|
|
22
|
+
/** Marker shape type */
|
|
23
|
+
private _type;
|
|
24
|
+
/** Marker stroke or fill color */
|
|
25
|
+
private _color;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new OSNAP marker instance.
|
|
28
|
+
*
|
|
29
|
+
* @param type - Shape type of the marker (`circle`, `triangle`, `rect`)
|
|
30
|
+
* @param size - Size of the marker (width/height in px; triangle uses font-size)
|
|
31
|
+
* @param color - Marker color (CSS color string)
|
|
32
|
+
*/
|
|
33
|
+
constructor(type?: AcEdMarkerType, size?: number, color?: string);
|
|
34
|
+
/**
|
|
35
|
+
* Gets the current marker color.
|
|
36
|
+
*/
|
|
37
|
+
get color(): string;
|
|
38
|
+
/**
|
|
39
|
+
* Sets marker color and updates DOM immediately.
|
|
40
|
+
*/
|
|
41
|
+
set color(value: string);
|
|
42
|
+
/**
|
|
43
|
+
* Gets the current marker type.
|
|
44
|
+
*/
|
|
45
|
+
get type(): AcEdMarkerType;
|
|
46
|
+
/**
|
|
47
|
+
* Sets the marker type and updates DOM shape instantly.
|
|
48
|
+
*/
|
|
49
|
+
set type(value: AcEdMarkerType);
|
|
50
|
+
/**
|
|
51
|
+
* Injects required CSS into the document.
|
|
52
|
+
* Ensures that CSS is only injected one time.
|
|
53
|
+
*/
|
|
54
|
+
private static injectCSS;
|
|
55
|
+
/**
|
|
56
|
+
* Applies the appropriate CSS class and size properties
|
|
57
|
+
* according to the marker's chosen shape type.
|
|
58
|
+
*/
|
|
59
|
+
private applyShape;
|
|
60
|
+
/**
|
|
61
|
+
* Sets the screen position of the marker.
|
|
62
|
+
*
|
|
63
|
+
* @param pos - Position in screen coordinate in pixels
|
|
64
|
+
*/
|
|
65
|
+
setPosition(pos: AcGePoint2dLike): void;
|
|
66
|
+
/**
|
|
67
|
+
* Removes the marker from DOM and cleans up resources.
|
|
68
|
+
* Should be called when the marker is no longer needed.
|
|
69
|
+
*/
|
|
70
|
+
destroy(): void;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=AcEdMarker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMarker.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/marker/AcEdMarker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAA;AAE3D;;;;;;;;;;GAUG;AACH,qBAAa,UAAU;IACrB,0CAA0C;IAC1C,OAAO,CAAC,GAAG,CAAa;IAExB,oDAAoD;IACpD,OAAO,CAAC,KAAK,CAAQ;IAErB,wBAAwB;IACxB,OAAO,CAAC,KAAK,CAAgB;IAE7B,kCAAkC;IAClC,OAAO,CAAC,MAAM,CAAQ;IAEtB;;;;;;OAMG;gBAED,IAAI,GAAE,cAAuB,EAC7B,IAAI,GAAE,MAAU,EAChB,KAAK,GAAE,MAAgB;IAoBzB;;OAEG;IACH,IAAW,KAAK,IAAI,MAAM,CAEzB;IAED;;OAEG;IACH,IAAW,KAAK,CAAC,KAAK,EAAE,MAAM,EAG7B;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,cAAc,CAEhC;IAED;;OAEG;IACH,IAAW,IAAI,CAAC,KAAK,EAAE,cAAc,EAGpC;IAED;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,SAAS;IAiCxB;;;OAGG;IACH,OAAO,CAAC,UAAU;IAqBlB;;;;OAIG;IACI,WAAW,CAAC,GAAG,EAAE,eAAe;IAKvC;;;OAGG;IACI,OAAO;CAGf"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a single marker displayed in screen coordinates.
|
|
3
|
+
*
|
|
4
|
+
* A marker is a small shape (circle, triangle, or rectangle) rendered using DOM elements.
|
|
5
|
+
* Its appearance is determined by type, size, and color.
|
|
6
|
+
*
|
|
7
|
+
* The marker:
|
|
8
|
+
* - Is absolutely positioned on the screen.
|
|
9
|
+
* - Cannot receive pointer events.
|
|
10
|
+
* - Automatically injects required CSS once globally.
|
|
11
|
+
*/
|
|
12
|
+
var AcEdMarker = /** @class */ (function () {
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new OSNAP marker instance.
|
|
15
|
+
*
|
|
16
|
+
* @param type - Shape type of the marker (`circle`, `triangle`, `rect`)
|
|
17
|
+
* @param size - Size of the marker (width/height in px; triangle uses font-size)
|
|
18
|
+
* @param color - Marker color (CSS color string)
|
|
19
|
+
*/
|
|
20
|
+
function AcEdMarker(type, size, color) {
|
|
21
|
+
if (type === void 0) { type = 'rect'; }
|
|
22
|
+
if (size === void 0) { size = 8; }
|
|
23
|
+
if (color === void 0) { color = 'green'; }
|
|
24
|
+
this._type = type;
|
|
25
|
+
this._size = size;
|
|
26
|
+
this._color = color;
|
|
27
|
+
// Ensure CSS is injected once
|
|
28
|
+
AcEdMarker.injectCSS();
|
|
29
|
+
// Create marker DOM
|
|
30
|
+
this._el = document.createElement('div');
|
|
31
|
+
this._el.classList.add('ml-marker');
|
|
32
|
+
this._el.style.color = color;
|
|
33
|
+
this.applyShape();
|
|
34
|
+
// Attach to document
|
|
35
|
+
document.body.appendChild(this._el);
|
|
36
|
+
}
|
|
37
|
+
Object.defineProperty(AcEdMarker.prototype, "color", {
|
|
38
|
+
/**
|
|
39
|
+
* Gets the current marker color.
|
|
40
|
+
*/
|
|
41
|
+
get: function () {
|
|
42
|
+
return this._color;
|
|
43
|
+
},
|
|
44
|
+
/**
|
|
45
|
+
* Sets marker color and updates DOM immediately.
|
|
46
|
+
*/
|
|
47
|
+
set: function (value) {
|
|
48
|
+
this._color = value;
|
|
49
|
+
this._el.style.color = value;
|
|
50
|
+
},
|
|
51
|
+
enumerable: false,
|
|
52
|
+
configurable: true
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(AcEdMarker.prototype, "type", {
|
|
55
|
+
/**
|
|
56
|
+
* Gets the current marker type.
|
|
57
|
+
*/
|
|
58
|
+
get: function () {
|
|
59
|
+
return this._type;
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Sets the marker type and updates DOM shape instantly.
|
|
63
|
+
*/
|
|
64
|
+
set: function (value) {
|
|
65
|
+
this._type = value;
|
|
66
|
+
this.applyShape();
|
|
67
|
+
},
|
|
68
|
+
enumerable: false,
|
|
69
|
+
configurable: true
|
|
70
|
+
});
|
|
71
|
+
/**
|
|
72
|
+
* Injects required CSS into the document.
|
|
73
|
+
* Ensures that CSS is only injected one time.
|
|
74
|
+
*/
|
|
75
|
+
AcEdMarker.injectCSS = function () {
|
|
76
|
+
if (document.getElementById('ml-marker-style'))
|
|
77
|
+
return;
|
|
78
|
+
var style = document.createElement('style');
|
|
79
|
+
style.id = 'ml-marker-style';
|
|
80
|
+
style.textContent = "\n .ml-marker {\n position: absolute;\n pointer-events: none;\n transform: translate(-50%, -50%);\n z-index: 999999;\n }\n .ml-marker-circle {\n border-radius: 50%;\n border: 2px solid currentColor;\n background: transparent;\n }\n .ml-marker-rect {\n border: 2px solid currentColor;\n background: transparent;\n }\n .ml-marker-triangle {\n width: 0;\n height: 0;\n border-left: 0.5em solid transparent;\n border-right: 0.5em solid transparent;\n border-bottom: 1em solid currentColor;\n transform: translate(-50%, -100%);\n }\n ";
|
|
81
|
+
document.head.appendChild(style);
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Applies the appropriate CSS class and size properties
|
|
85
|
+
* according to the marker's chosen shape type.
|
|
86
|
+
*/
|
|
87
|
+
AcEdMarker.prototype.applyShape = function () {
|
|
88
|
+
switch (this._type) {
|
|
89
|
+
case 'circle':
|
|
90
|
+
this._el.classList.add('ml-marker-circle');
|
|
91
|
+
this._el.style.width = "".concat(this._size, "px");
|
|
92
|
+
this._el.style.height = "".concat(this._size, "px");
|
|
93
|
+
break;
|
|
94
|
+
case 'rect':
|
|
95
|
+
this._el.classList.add('ml-marker-rect');
|
|
96
|
+
this._el.style.width = "".concat(this._size, "px");
|
|
97
|
+
this._el.style.height = "".concat(this._size, "px");
|
|
98
|
+
break;
|
|
99
|
+
case 'triangle':
|
|
100
|
+
this._el.classList.add('ml-marker-triangle');
|
|
101
|
+
this._el.style.fontSize = "".concat(this._size, "px"); // font-size scales triangle
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Sets the screen position of the marker.
|
|
107
|
+
*
|
|
108
|
+
* @param pos - Position in screen coordinate in pixels
|
|
109
|
+
*/
|
|
110
|
+
AcEdMarker.prototype.setPosition = function (pos) {
|
|
111
|
+
this._el.style.left = "".concat(pos.x, "px");
|
|
112
|
+
this._el.style.top = "".concat(pos.y, "px");
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Removes the marker from DOM and cleans up resources.
|
|
116
|
+
* Should be called when the marker is no longer needed.
|
|
117
|
+
*/
|
|
118
|
+
AcEdMarker.prototype.destroy = function () {
|
|
119
|
+
this._el.remove();
|
|
120
|
+
};
|
|
121
|
+
return AcEdMarker;
|
|
122
|
+
}());
|
|
123
|
+
export { AcEdMarker };
|
|
124
|
+
//# sourceMappingURL=AcEdMarker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMarker.js","sourceRoot":"","sources":["../../../../src/editor/input/marker/AcEdMarker.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { AcGePoint2dLike } from '@mlightcad/geometry-engine';
|
|
2
|
+
import { AcEdBaseView } from '../../view';
|
|
3
|
+
import { AcEdMarker, AcEdMarkerType } from './AcEdMarker';
|
|
4
|
+
/**
|
|
5
|
+
* Manages a stack of markers using a singleton pattern.
|
|
6
|
+
*
|
|
7
|
+
* - `getInstance()` returns the global instance.
|
|
8
|
+
* - `showMarker()` pushes a new marker onto the stack.
|
|
9
|
+
* - `hideMarker()` pops the last marker.
|
|
10
|
+
* - `clear()` removes all markers.
|
|
11
|
+
*
|
|
12
|
+
* Typical usage is to show temporary marker that appear and disappear
|
|
13
|
+
* based on user cursor movement or snapping events.
|
|
14
|
+
*/
|
|
15
|
+
export declare class AcEdMarkerManager {
|
|
16
|
+
/** The view associated with this input operation */
|
|
17
|
+
private view;
|
|
18
|
+
/** Internal stack of active markers */
|
|
19
|
+
private stack;
|
|
20
|
+
constructor(view: AcEdBaseView);
|
|
21
|
+
/**
|
|
22
|
+
* Creates and shows a new OSNAP marker at the specified position in world coordinate
|
|
23
|
+
* system. The marker is added to the top of the internal stack.
|
|
24
|
+
*
|
|
25
|
+
* @param pos - Position in world coordinate system
|
|
26
|
+
* @param type - Marker shape type
|
|
27
|
+
* @param size - Marker size in pixels
|
|
28
|
+
* @param color - Marker color (CSS string)
|
|
29
|
+
*/
|
|
30
|
+
showMarker(pos: AcGePoint2dLike, type?: AcEdMarkerType, size?: number, color?: string): AcEdMarker;
|
|
31
|
+
/**
|
|
32
|
+
* Hides the most recently shown marker (LIFO).
|
|
33
|
+
* If no marker exists, nothing happens.
|
|
34
|
+
*/
|
|
35
|
+
hideMarker(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Removes all active markers and clears the stack.
|
|
38
|
+
* Should be called when OSNAP indicators need to be fully reset.
|
|
39
|
+
*/
|
|
40
|
+
clear(): void;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the marker at the top of the marker stack without removing it.
|
|
43
|
+
*
|
|
44
|
+
* This method is safe to call even when the stack is empty. In that case,
|
|
45
|
+
* it returns `undefined`.
|
|
46
|
+
*
|
|
47
|
+
* @returns The top marker of the internal stack, or `undefined` if the
|
|
48
|
+
* stack contains no marker.
|
|
49
|
+
*/
|
|
50
|
+
top(): AcEdMarker | undefined;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=AcEdOSnapMarkerManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdOSnapMarkerManager.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/marker/AcEdOSnapMarkerManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAEzD;;;;;;;;;;GAUG;AACH,qBAAa,iBAAiB;IAC5B,oDAAoD;IACpD,OAAO,CAAC,IAAI,CAAc;IAE1B,uCAAuC;IACvC,OAAO,CAAC,KAAK,CAAmB;gBAEpB,IAAI,EAAE,YAAY;IAI9B;;;;;;;;OAQG;IACI,UAAU,CACf,GAAG,EAAE,eAAe,EACpB,IAAI,CAAC,EAAE,cAAc,EACrB,IAAI,CAAC,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,MAAM;IAShB;;;OAGG;IACI,UAAU;IAKjB;;;OAGG;IACI,KAAK;IAKZ;;;;;;;;OAQG;IACI,GAAG,IAAI,UAAU,GAAG,SAAS;CAGrC"}
|