@orbat-mapper/control-measures 0.2.0-alpha.1 → 0.2.0-alpha.11
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/README.md +16 -3
- package/dist/index-C6nqkw1A.d.mts +2552 -0
- package/dist/index.d.mts +2 -1441
- package/dist/index.mjs +16 -5516
- package/dist/preview/index.d.mts +115 -0
- package/dist/preview/index.mjs +365 -0
- package/dist/renderControlMeasure-NKEYq3Fg.mjs +9799 -0
- package/media/airborne-attack.svg +1 -1
- package/media/ambush.svg +1 -1
- package/media/antitank-ditch-completed.svg +1 -1
- package/media/antitank-ditch-under-construction.svg +1 -1
- package/media/antitank-wall.svg +1 -1
- package/media/area-of-operations.svg +1 -0
- package/media/assembly-area.svg +1 -0
- package/media/attack-by-fire.svg +1 -1
- package/media/attack-helicopter.svg +1 -1
- package/media/battle-handover-line.svg +1 -0
- package/media/battle-position.svg +1 -0
- package/media/block-arrow.svg +1 -1
- package/media/block-mission-task.svg +1 -1
- package/media/block.svg +1 -1
- package/media/boundary.svg +1 -0
- package/media/breach.svg +1 -1
- package/media/bypass.svg +1 -1
- package/media/canalize.svg +1 -1
- package/media/circle.svg +1 -0
- package/media/classic-arrow.svg +1 -1
- package/media/clear.svg +1 -1
- package/media/delay.svg +1 -1
- package/media/disrupt.svg +1 -1
- package/media/encirclement.svg +1 -0
- package/media/engineer-work-line.svg +1 -0
- package/media/final-protective-fire-left.svg +1 -1
- package/media/final-protective-fire-right.svg +1 -1
- package/media/fix.svg +1 -1
- package/media/flot.svg +1 -1
- package/media/fortified-area.svg +1 -1
- package/media/fortified-line.svg +1 -1
- package/media/generic-c2-line.svg +1 -0
- package/media/handover-line.svg +1 -0
- package/media/isolate.svg +1 -1
- package/media/joint-tactical-action-area.svg +1 -0
- package/media/landing-zone.svg +1 -0
- package/media/light-line.svg +1 -0
- package/media/line.svg +1 -0
- package/media/main-attack.svg +1 -1
- package/media/obstacle-bypass-difficult.svg +1 -1
- package/media/obstacle-bypass-easy.svg +1 -1
- package/media/obstacle-bypass-impossible.svg +1 -1
- package/media/phase-line.svg +1 -0
- package/media/pickup-zone.svg +1 -0
- package/media/polygon.svg +1 -0
- package/media/principal-direction-of-fire.svg +1 -1
- package/media/rectangle.svg +1 -0
- package/media/search-area.svg +1 -1
- package/media/strong-point.svg +1 -0
- package/media/support-by-fire.svg +1 -1
- package/media/supporting-attack.svg +1 -1
- package/media/turn.svg +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -75,8 +75,8 @@ controls how invalid coordinate input is handled:
|
|
|
75
75
|
|
|
76
76
|
- `validationMode: "silent" | "warn" | "throw"`
|
|
77
77
|
|
|
78
|
-
When omitted, validation
|
|
79
|
-
useful for strict integrations and tests.
|
|
78
|
+
When omitted, validation defaults to `silent` mode — invalid input yields an
|
|
79
|
+
empty render. `"throw"` is useful for strict integrations and tests.
|
|
80
80
|
|
|
81
81
|
## Supported control measures
|
|
82
82
|
|
|
@@ -85,6 +85,12 @@ code.
|
|
|
85
85
|
|
|
86
86
|
<!-- AUTO-GENERATED:measures-table -->
|
|
87
87
|
|
|
88
|
+
### Command and Control Lines
|
|
89
|
+
|
|
90
|
+
| Preview | `kind` | Measure | 2525E Value |
|
|
91
|
+
| --- | --- | --- | --- |
|
|
92
|
+
| <img src="media/boundary.svg" width="96" height="48" alt=""> | `boundary` | Boundary | `110100` |
|
|
93
|
+
|
|
88
94
|
### Maneuver Lines
|
|
89
95
|
|
|
90
96
|
| Preview | `kind` | Measure | 2525E Value |
|
|
@@ -100,10 +106,13 @@ code.
|
|
|
100
106
|
| Preview | `kind` | Measure | 2525E Value |
|
|
101
107
|
| --- | --- | --- | --- |
|
|
102
108
|
| <img src="media/fortified-area.svg" width="96" height="48" alt=""> | `fortified-area` | Fortified Area | `151000` |
|
|
109
|
+
| <img src="media/battle-position.svg" width="96" height="48" alt=""> | `battle-position` | Battle Position | `151200` |
|
|
110
|
+
| <img src="media/strong-point.svg" width="96" height="48" alt=""> | `strong-point` | Strong Point | `151203` |
|
|
103
111
|
| <img src="media/airborne-attack.svg" width="96" height="48" alt=""> | `airborne-attack` | Airborne Attack | `151401` |
|
|
104
112
|
| <img src="media/attack-helicopter.svg" width="96" height="48" alt=""> | `attack-helicopter` | Attack Helicopter | `151402` |
|
|
105
113
|
| <img src="media/main-attack.svg" width="96" height="48" alt=""> | `main-attack` | Main Attack | `151403` |
|
|
106
114
|
| <img src="media/supporting-attack.svg" width="96" height="48" alt=""> | `supporting-attack` | Supporting Attack | `151404` |
|
|
115
|
+
| <img src="media/encirclement.svg" width="96" height="48" alt=""> | `encirclement` | Encirclement | `151800` |
|
|
107
116
|
| <img src="media/attack-by-fire.svg" width="96" height="48" alt=""> | `attack-by-fire` | Attack by Fire | `152000` |
|
|
108
117
|
| <img src="media/support-by-fire.svg" width="96" height="48" alt=""> | `support-by-fire` | Support By Fire | `152100` |
|
|
109
118
|
| <img src="media/search-area.svg" width="96" height="48" alt=""> | `search-area` | Search Area | `152200` |
|
|
@@ -141,12 +150,16 @@ code.
|
|
|
141
150
|
| <img src="media/delay.svg" width="96" height="48" alt=""> | `delay` | Delay | `340800` |
|
|
142
151
|
| <img src="media/isolate.svg" width="96" height="48" alt=""> | `isolate` | Isolate | `341500` |
|
|
143
152
|
|
|
144
|
-
### Generic
|
|
153
|
+
### Generic Graphics
|
|
145
154
|
|
|
146
155
|
| Preview | `kind` | Measure | 2525E Value |
|
|
147
156
|
| --- | --- | --- | --- |
|
|
148
157
|
| <img src="media/block-arrow.svg" width="96" height="48" alt=""> | `block-arrow` | Block Arrow | `990001` |
|
|
149
158
|
| <img src="media/classic-arrow.svg" width="96" height="48" alt=""> | `classic-arrow` | Classic Arrow | `990002` |
|
|
159
|
+
| <img src="media/line.svg" width="96" height="48" alt=""> | `line` | Line | `990101` |
|
|
160
|
+
| <img src="media/polygon.svg" width="96" height="48" alt=""> | `polygon` | Polygon | `990102` |
|
|
161
|
+
| <img src="media/rectangle.svg" width="96" height="48" alt=""> | `rectangle` | Rectangle | `990103` |
|
|
162
|
+
| <img src="media/circle.svg" width="96" height="48" alt=""> | `circle` | Circle | `990104` |
|
|
150
163
|
|
|
151
164
|
<!-- /AUTO-GENERATED:measures-table -->
|
|
152
165
|
|