@orbat-mapper/control-measures 0.2.0-alpha.2 → 0.2.0-alpha.21

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 (61) hide show
  1. package/README.md +9 -3
  2. package/dist/index-COV2WtCq.d.mts +2731 -0
  3. package/dist/index.d.mts +2 -2
  4. package/dist/index.mjs +24 -8
  5. package/dist/preview/index.d.mts +73 -3
  6. package/dist/preview/index.mjs +173 -19
  7. package/dist/{renderControlMeasure-C7pY-TcL.mjs → renderControlMeasure-BG9DzU2W.mjs} +7299 -2392
  8. package/media/airborne-attack.svg +1 -1
  9. package/media/ambush.svg +1 -1
  10. package/media/antitank-ditch-completed.svg +1 -1
  11. package/media/antitank-ditch-under-construction.svg +1 -1
  12. package/media/antitank-wall.svg +1 -1
  13. package/media/area-of-operations.svg +1 -0
  14. package/media/assembly-area.svg +1 -0
  15. package/media/attack-by-fire.svg +1 -1
  16. package/media/attack-helicopter.svg +1 -1
  17. package/media/battle-handover-line.svg +1 -0
  18. package/media/battle-position.svg +1 -1
  19. package/media/block-arrow.svg +1 -1
  20. package/media/block-mission-task.svg +1 -1
  21. package/media/block.svg +1 -1
  22. package/media/boundary.svg +1 -1
  23. package/media/breach.svg +1 -1
  24. package/media/bypass.svg +1 -1
  25. package/media/canalize.svg +1 -1
  26. package/media/circle.svg +1 -0
  27. package/media/classic-arrow.svg +1 -1
  28. package/media/clear.svg +1 -1
  29. package/media/delay.svg +1 -1
  30. package/media/disrupt.svg +1 -1
  31. package/media/encirclement.svg +1 -0
  32. package/media/engineer-work-line.svg +1 -0
  33. package/media/final-protective-fire-left.svg +1 -1
  34. package/media/final-protective-fire-right.svg +1 -1
  35. package/media/fix.svg +1 -1
  36. package/media/flot.svg +1 -1
  37. package/media/fortified-area.svg +1 -1
  38. package/media/fortified-line.svg +1 -1
  39. package/media/generic-c2-line.svg +1 -0
  40. package/media/handover-line.svg +1 -0
  41. package/media/isolate.svg +1 -1
  42. package/media/joint-tactical-action-area.svg +1 -0
  43. package/media/landing-zone.svg +1 -0
  44. package/media/light-line.svg +1 -0
  45. package/media/line.svg +1 -0
  46. package/media/main-attack.svg +1 -1
  47. package/media/obstacle-bypass-difficult.svg +1 -1
  48. package/media/obstacle-bypass-easy.svg +1 -1
  49. package/media/obstacle-bypass-impossible.svg +1 -1
  50. package/media/phase-line.svg +1 -0
  51. package/media/pickup-zone.svg +1 -0
  52. package/media/polygon.svg +1 -0
  53. package/media/principal-direction-of-fire.svg +1 -1
  54. package/media/rectangle.svg +1 -0
  55. package/media/search-area.svg +1 -1
  56. package/media/strong-point.svg +1 -0
  57. package/media/support-by-fire.svg +1 -1
  58. package/media/supporting-attack.svg +1 -1
  59. package/media/turn.svg +1 -1
  60. package/package.json +1 -1
  61. package/dist/index-D7uBPw7l.d.mts +0 -1653
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 follows each measure's built-in default. `"throw"` is
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
 
@@ -107,10 +107,12 @@ code.
107
107
  | --- | --- | --- | --- |
108
108
  | <img src="media/fortified-area.svg" width="96" height="48" alt=""> | `fortified-area` | Fortified Area | `151000` |
109
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` |
110
111
  | <img src="media/airborne-attack.svg" width="96" height="48" alt=""> | `airborne-attack` | Airborne Attack | `151401` |
111
112
  | <img src="media/attack-helicopter.svg" width="96" height="48" alt=""> | `attack-helicopter` | Attack Helicopter | `151402` |
112
113
  | <img src="media/main-attack.svg" width="96" height="48" alt=""> | `main-attack` | Main Attack | `151403` |
113
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` |
114
116
  | <img src="media/attack-by-fire.svg" width="96" height="48" alt=""> | `attack-by-fire` | Attack by Fire | `152000` |
115
117
  | <img src="media/support-by-fire.svg" width="96" height="48" alt=""> | `support-by-fire` | Support By Fire | `152100` |
116
118
  | <img src="media/search-area.svg" width="96" height="48" alt=""> | `search-area` | Search Area | `152200` |
@@ -148,12 +150,16 @@ code.
148
150
  | <img src="media/delay.svg" width="96" height="48" alt=""> | `delay` | Delay | `340800` |
149
151
  | <img src="media/isolate.svg" width="96" height="48" alt=""> | `isolate` | Isolate | `341500` |
150
152
 
151
- ### Generic Arrows
153
+ ### Generic Graphics
152
154
 
153
155
  | Preview | `kind` | Measure | 2525E Value |
154
156
  | --- | --- | --- | --- |
155
157
  | <img src="media/block-arrow.svg" width="96" height="48" alt=""> | `block-arrow` | Block Arrow | `990001` |
156
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` |
157
163
 
158
164
  <!-- /AUTO-GENERATED:measures-table -->
159
165