@orbat-mapper/control-measures 0.2.0-alpha.14 → 0.2.0-alpha.15

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.
@@ -2333,7 +2333,7 @@ declare function isKind<K extends ControlMeasureKind>(cm: ControlMeasure, kind:
2333
2333
  /**
2334
2334
  * Deep-clone a `ControlMeasure` so held references survive mutations to the
2335
2335
  * original (and vice versa). Used by the session façade to build the
2336
- * `measure` half of `ControlMeasureSnapshot`. Nested values inside
2336
+ * `graphic` half of TacticalDraw's `GraphicSnapshot`. Nested values inside
2337
2337
  * `options`, `style`, `properties`, and `textAmplifiers` are cloned too —
2338
2338
  * `properties` is `Record<string, unknown>` and may carry arbitrary host
2339
2339
  * metadata, so a shallow copy would leak shared references.
@@ -2407,20 +2407,6 @@ interface FeaturePartProps {
2407
2407
  * features satisfy the `FeaturePartProps` stable-id contract. See ADR-0010.
2408
2408
  */
2409
2409
  type ControlMeasureRender = FeatureCollection<Geometry, FeaturePartProps>;
2410
- /**
2411
- * A `ControlMeasure` paired with its `Render` at a single point in time.
2412
- *
2413
- * The unit delivered to `EditChangeEvent` listeners (as `measure` and
2414
- * `previous`) and resolved from `TacticalDraw.draw()` / `.edit()`. The
2415
- * `measure` half is a defensive clone (see `cloneControlMeasure`) so held
2416
- * references remain valid after the originating session has closed.
2417
- *
2418
- * See ADR-0010.
2419
- */
2420
- interface ControlMeasureSnapshot<K extends ControlMeasureKind = ControlMeasureKind> {
2421
- measure: ControlMeasure<K>;
2422
- render: ControlMeasureRender;
2423
- }
2424
2410
  /**
2425
2411
  * Recover the originating control measure id (`cmId`) from a feature emitted
2426
2412
  * by `renderControlMeasure`. The feature id must match the stable-id contract
@@ -2714,4 +2700,4 @@ interface AmbushOptions {
2714
2700
  }
2715
2701
  declare const DEFAULT_AMBUSH_OPTIONS: Required<AmbushOptions>;
2716
2702
  //#endregion
2717
- export { getControlMeasureMetadataByValue as $, DirectionOfAttackAviationOptions as $n, PhaseLineOptions as $t, roundToFixed as A, AreaOfOperationsOptions as An, canonicalTextAmplifierKey as Ar, DEFAULT_GUARD_OPTIONS as At, FeaturePartProps as B, AreaDefenseOptions as Bn, CanalizeOptions as Bt, BaselineFrame as C, DEFAULT_CLASSIC_ARROW_OPTIONS as Cn, CanonicalTextAmplifiers as Cr, FortifiedLineOptions as Ct, createBaselineFrame as D, MainAttackOptions as Dn, TextAmplifierField as Dr, DEFAULT_ANTITANK_DITCH_OPTIONS as Dt, BaselineFrameOrigin as E, DEFAULT_MAIN_ATTACK_OPTIONS as En, TEXT_AMPLIFIER_FIELDS as Er, AntitankDitchOptions as Et, freezeOrientationOptions as F, LandingZoneOptions as Fn, DEFAULT_COVER_OPTIONS as Ft, isKind as G, FinalProtectiveFireOptions as Gn, DEFAULT_BREACH_OPTIONS as Gt, controlMeasureIdFromFeature as H, DEFAULT_ENCIRCLEMENT_OPTIONS as Hn, BypassOptions as Ht, RenderOptions as I, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS as In, DEFAULT_TACTICAL_ARROW_OPTIONS as It, CONTROL_MEASURE_METADATA as J, DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS as Jn, BattleHandoverLineOptions as Jt, ControlMeasureStyle as K, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS as Kn, BlockMissionTaskOptions as Kt, renderControlMeasure as L, JointTacticalActionAreaOptions as Ln, TacticalArrowOptions as Lt, SimpleStyleRender as M, DEFAULT_PICKUP_ZONE_OPTIONS as Mn, resolveAmplifierPlacement as Mr, DEFAULT_DELAY_OPTIONS as Mt, toSimpleStyle as N, PickupZoneOptions as Nn, AnchorTransformEvent as Nr, DelayOptions as Nt, EPSILON as O, calculateMetrics as On, TextAmplifierKey as Or, DEFAULT_SCREEN_OPTIONS as Ot, resolveStyleHints as P, DEFAULT_LANDING_ZONE_OPTIONS as Pn, ControlMeasureDrawRule as Pr, CoverOptions as Pt, getControlMeasureMetadata as Q, DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS as Qn, DEFAULT_PHASE_LINE_OPTIONS as Qt, ControlMeasureRender as R, AssemblyAreaOptions as Rn, ClearOptions as Rt, snapToMidpointPerpendicular as S, ClassicArrowOptions as Sn, AmplifierPlacements as Sr, DEFAULT_FORTIFIED_LINE_OPTIONS as St, BaselineFrameOptions as T, SupportingAttackOptions as Tn, LabelPlacementOverride as Tr, DEFAULT_ANTITANK_WALL_OPTIONS as Tt, ControlMeasure as U, EncirclementOptions as Un, DEFAULT_BYPASS_OPTIONS as Ut, StyleHints as V, DEFAULT_AREA_DEFENSE_OPTIONS as Vn, DEFAULT_CANALIZE_OPTIONS as Vt, cloneControlMeasure as W, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS as Wn, BreachOptions as Wt, ControlMeasureKind as X, DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS as Xn, DEFAULT_HANDOVER_LINE_OPTIONS as Xt, ControlMeasureId as Y, DirectionOfSupportingAttackOptions as Yn, DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS as Yt, OptionsByKind as Z, DirectionOfMainAttackOptions as Zn, HandoverLineOptions as Zt, MidpointPerpendicularDrawRuleOptions as _, GenericLineOptions as _n, ControlMeasureGeometryType as _r, TurningMovementOptions as _t, supportByFireDrawRule as a, SupportByFireOptions as an, GenericC2LineOptions as ar, ObstacleBypassDifficultOptions as at, getMidpointPerpendicularSignedDistance as b, DEFAULT_BLOCK_ARROW_OPTIONS as bn, TextAmplifierDescriptor as br, DEFAULT_FORTIFIED_AREA_OPTIONS as bt, line23DrawRule as c, AirborneAttackOptions as cn, DEFAULT_LIGHT_LINE_OPTIONS as cr, DEFAULT_TURN_OPTIONS as ct, ambushDrawRule as d, GenericCircleOptions as dn, Point2D as dr, FixOptions as dt, DEFAULT_FLOT_OPTIONS as en, DEFAULT_STRONG_POINT_OPTIONS as er, getDefaultOptions as et, attackByFireDrawRule as f, DEFAULT_GENERIC_RECTANGLE_OPTIONS as fn, project as fr, DEFAULT_DISRUPT_OPTIONS as ft, blockDrawRule as g, DEFAULT_GENERIC_LINE_OPTIONS as gn, ControlMeasureGeometry as gr, DEFAULT_TURNING_MOVEMENT_OPTIONS as gt, disruptDrawRule as h, GenericPolygonOptions as hn, DEFAULT_BOUNDARY_OPTIONS as hr, DEFAULT_BLOCK_OPTIONS as ht, axis1DrawRule as i, DEFAULT_SUPPORT_BY_FIRE_OPTIONS as in, DEFAULT_GENERIC_C2_LINE_OPTIONS as ir, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS as it, SimpleStyleProps as j, DEFAULT_AREA_OF_OPERATIONS_OPTIONS as jn, normalizeTextAmplifiers as jr, GuardOptions as jt, getMetersPerPixel as k, computeInitialWidthPoint as kn, TextAmplifiers as kr, ScreenOptions as kt, turnDrawRule as l, DEFAULT_AIRBORNE_ATTACK_OPTIONS as ln, LightLineOptions as lr, TurnOptions as lt, centerRadiusDrawRule as m, DEFAULT_GENERIC_POLYGON_OPTIONS as mn, BoundaryOptions as mr, BlockOptions as mt, DEFAULT_AMBUSH_OPTIONS as n, AttackByFireOptions as nn, BattlePositionOptions as nr, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS as nt, line26DrawRule as o, AttackHelicopterOptions as on, DEFAULT_ENGINEER_WORK_LINE_OPTIONS as or, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS as ot, point12DrawRule as p, GenericRectangleOptions as pn, unproject as pr, DisruptOptions as pt, CONTROL_MEASURE_IDS as q, PrincipalDirectionOfFireOptions as qn, DEFAULT_BLOCK_MISSION_TASK_OPTIONS as qt, rectangleDrawRule as r, DEFAULT_ATTACK_BY_FIRE_OPTIONS as rn, DEFAULT_BATTLE_POSITION_OPTIONS as rr, ObstacleBypassImpossibleOptions as rt, line24DrawRule as s, DEFAULT_ATTACK_HELICOPTER_OPTIONS as sn, EngineerWorkLineOptions as sr, ObstacleBypassEasyOptions as st, AmbushOptions as t, FLOTOptions as tn, StrongPointOptions as tr, listControlMeasureMetadata as tt, line1DrawRule as u, DEFAULT_GENERIC_CIRCLE_OPTIONS as un, LabelSizeOptions as ur, DEFAULT_FIX_OPTIONS as ut, computeDefaultMidpointPerpendicularPoint as v, BlockArrowHeadStyle as vn, ControlMeasureMetadata as vr, DEFAULT_FRONTAL_ATTACK_OPTIONS as vt, BaselineFrameNormal as w, DEFAULT_SUPPORTING_ATTACK_OPTIONS as wn, GeneratedLabelKey as wr, AntitankWallOptions as wt, pointOnMidpointPerpendicularAxis as x, ClassicArrowHeadStyle as xn, AmplifierPlacement as xr, FortifiedAreaOptions as xt, createMidpointPerpendicularDrawRule as y, BlockArrowOptions as yn, ParamDescriptor as yr, FrontalAttackOptions as yt, ControlMeasureSnapshot as z, DEFAULT_ASSEMBLY_AREA_OPTIONS as zn, DEFAULT_CLEAR_OPTIONS as zt };
2703
+ export { getDefaultOptions as $, DEFAULT_STRONG_POINT_OPTIONS as $n, DEFAULT_FLOT_OPTIONS as $t, roundToFixed as A, DEFAULT_AREA_OF_OPERATIONS_OPTIONS as An, normalizeTextAmplifiers as Ar, GuardOptions as At, StyleHints as B, DEFAULT_AREA_DEFENSE_OPTIONS as Bn, DEFAULT_CANALIZE_OPTIONS as Bt, BaselineFrame as C, DEFAULT_SUPPORTING_ATTACK_OPTIONS as Cn, GeneratedLabelKey as Cr, AntitankWallOptions as Ct, createBaselineFrame as D, calculateMetrics as Dn, TextAmplifierKey as Dr, DEFAULT_SCREEN_OPTIONS as Dt, BaselineFrameOrigin as E, MainAttackOptions as En, TextAmplifierField as Er, DEFAULT_ANTITANK_DITCH_OPTIONS as Et, freezeOrientationOptions as F, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS as Fn, DEFAULT_TACTICAL_ARROW_OPTIONS as Ft, ControlMeasureStyle as G, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS as Gn, BlockMissionTaskOptions as Gt, ControlMeasure as H, EncirclementOptions as Hn, DEFAULT_BYPASS_OPTIONS as Ht, RenderOptions as I, JointTacticalActionAreaOptions as In, TacticalArrowOptions as It, ControlMeasureId as J, DirectionOfSupportingAttackOptions as Jn, DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS as Jt, CONTROL_MEASURE_IDS as K, PrincipalDirectionOfFireOptions as Kn, DEFAULT_BLOCK_MISSION_TASK_OPTIONS as Kt, renderControlMeasure as L, AssemblyAreaOptions as Ln, ClearOptions as Lt, SimpleStyleRender as M, PickupZoneOptions as Mn, AnchorTransformEvent as Mr, DelayOptions as Mt, toSimpleStyle as N, DEFAULT_LANDING_ZONE_OPTIONS as Nn, ControlMeasureDrawRule as Nr, CoverOptions as Nt, EPSILON as O, computeInitialWidthPoint as On, TextAmplifiers as Or, ScreenOptions as Ot, resolveStyleHints as P, LandingZoneOptions as Pn, DEFAULT_COVER_OPTIONS as Pt, getControlMeasureMetadataByValue as Q, DirectionOfAttackAviationOptions as Qn, PhaseLineOptions as Qt, ControlMeasureRender as R, DEFAULT_ASSEMBLY_AREA_OPTIONS as Rn, DEFAULT_CLEAR_OPTIONS as Rt, snapToMidpointPerpendicular as S, DEFAULT_CLASSIC_ARROW_OPTIONS as Sn, CanonicalTextAmplifiers as Sr, FortifiedLineOptions as St, BaselineFrameOptions as T, DEFAULT_MAIN_ATTACK_OPTIONS as Tn, TEXT_AMPLIFIER_FIELDS as Tr, AntitankDitchOptions as Tt, cloneControlMeasure as U, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS as Un, BreachOptions as Ut, controlMeasureIdFromFeature as V, DEFAULT_ENCIRCLEMENT_OPTIONS as Vn, BypassOptions as Vt, isKind as W, FinalProtectiveFireOptions as Wn, DEFAULT_BREACH_OPTIONS as Wt, OptionsByKind as X, DirectionOfMainAttackOptions as Xn, HandoverLineOptions as Xt, ControlMeasureKind as Y, DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS as Yn, DEFAULT_HANDOVER_LINE_OPTIONS as Yt, getControlMeasureMetadata as Z, DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS as Zn, DEFAULT_PHASE_LINE_OPTIONS as Zt, MidpointPerpendicularDrawRuleOptions as _, BlockArrowHeadStyle as _n, ControlMeasureMetadata as _r, DEFAULT_FRONTAL_ATTACK_OPTIONS as _t, supportByFireDrawRule as a, AttackHelicopterOptions as an, DEFAULT_ENGINEER_WORK_LINE_OPTIONS as ar, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS as at, getMidpointPerpendicularSignedDistance as b, ClassicArrowHeadStyle as bn, AmplifierPlacement as br, FortifiedAreaOptions as bt, line23DrawRule as c, DEFAULT_AIRBORNE_ATTACK_OPTIONS as cn, LightLineOptions as cr, TurnOptions as ct, ambushDrawRule as d, DEFAULT_GENERIC_RECTANGLE_OPTIONS as dn, project as dr, DEFAULT_DISRUPT_OPTIONS as dt, FLOTOptions as en, StrongPointOptions as er, listControlMeasureMetadata as et, attackByFireDrawRule as f, GenericRectangleOptions as fn, unproject as fr, DisruptOptions as ft, blockDrawRule as g, GenericLineOptions as gn, ControlMeasureGeometryType as gr, TurningMovementOptions as gt, disruptDrawRule as h, DEFAULT_GENERIC_LINE_OPTIONS as hn, ControlMeasureGeometry as hr, DEFAULT_TURNING_MOVEMENT_OPTIONS as ht, axis1DrawRule as i, SupportByFireOptions as in, GenericC2LineOptions as ir, ObstacleBypassDifficultOptions as it, SimpleStyleProps as j, DEFAULT_PICKUP_ZONE_OPTIONS as jn, resolveAmplifierPlacement as jr, DEFAULT_DELAY_OPTIONS as jt, getMetersPerPixel as k, AreaOfOperationsOptions as kn, canonicalTextAmplifierKey as kr, DEFAULT_GUARD_OPTIONS as kt, turnDrawRule as l, DEFAULT_GENERIC_CIRCLE_OPTIONS as ln, LabelSizeOptions as lr, DEFAULT_FIX_OPTIONS as lt, centerRadiusDrawRule as m, GenericPolygonOptions as mn, DEFAULT_BOUNDARY_OPTIONS as mr, DEFAULT_BLOCK_OPTIONS as mt, DEFAULT_AMBUSH_OPTIONS as n, DEFAULT_ATTACK_BY_FIRE_OPTIONS as nn, DEFAULT_BATTLE_POSITION_OPTIONS as nr, ObstacleBypassImpossibleOptions as nt, line26DrawRule as o, DEFAULT_ATTACK_HELICOPTER_OPTIONS as on, EngineerWorkLineOptions as or, ObstacleBypassEasyOptions as ot, point12DrawRule as p, DEFAULT_GENERIC_POLYGON_OPTIONS as pn, BoundaryOptions as pr, BlockOptions as pt, CONTROL_MEASURE_METADATA as q, DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS as qn, BattleHandoverLineOptions as qt, rectangleDrawRule as r, DEFAULT_SUPPORT_BY_FIRE_OPTIONS as rn, DEFAULT_GENERIC_C2_LINE_OPTIONS as rr, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS as rt, line24DrawRule as s, AirborneAttackOptions as sn, DEFAULT_LIGHT_LINE_OPTIONS as sr, DEFAULT_TURN_OPTIONS as st, AmbushOptions as t, AttackByFireOptions as tn, BattlePositionOptions as tr, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS as tt, line1DrawRule as u, GenericCircleOptions as un, Point2D as ur, FixOptions as ut, computeDefaultMidpointPerpendicularPoint as v, BlockArrowOptions as vn, ParamDescriptor as vr, FrontalAttackOptions as vt, BaselineFrameNormal as w, SupportingAttackOptions as wn, LabelPlacementOverride as wr, DEFAULT_ANTITANK_WALL_OPTIONS as wt, pointOnMidpointPerpendicularAxis as x, ClassicArrowOptions as xn, AmplifierPlacements as xr, DEFAULT_FORTIFIED_LINE_OPTIONS as xt, createMidpointPerpendicularDrawRule as y, DEFAULT_BLOCK_ARROW_OPTIONS as yn, TextAmplifierDescriptor as yr, DEFAULT_FORTIFIED_AREA_OPTIONS as yt, FeaturePartProps as z, AreaDefenseOptions as zn, CanalizeOptions as zt };
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as getControlMeasureMetadataByValue, $n as DirectionOfAttackAviationOptions, $t as PhaseLineOptions, A as roundToFixed, An as AreaOfOperationsOptions, Ar as canonicalTextAmplifierKey, At as DEFAULT_GUARD_OPTIONS, B as FeaturePartProps, Bn as AreaDefenseOptions, Bt as CanalizeOptions, C as BaselineFrame, Cn as DEFAULT_CLASSIC_ARROW_OPTIONS, Cr as CanonicalTextAmplifiers, Ct as FortifiedLineOptions, D as createBaselineFrame, Dn as MainAttackOptions, Dr as TextAmplifierField, Dt as DEFAULT_ANTITANK_DITCH_OPTIONS, E as BaselineFrameOrigin, En as DEFAULT_MAIN_ATTACK_OPTIONS, Er as TEXT_AMPLIFIER_FIELDS, Et as AntitankDitchOptions, F as freezeOrientationOptions, Fn as LandingZoneOptions, Ft as DEFAULT_COVER_OPTIONS, G as isKind, Gn as FinalProtectiveFireOptions, Gt as DEFAULT_BREACH_OPTIONS, H as controlMeasureIdFromFeature, Hn as DEFAULT_ENCIRCLEMENT_OPTIONS, Ht as BypassOptions, I as RenderOptions, In as DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, It as DEFAULT_TACTICAL_ARROW_OPTIONS, J as CONTROL_MEASURE_METADATA, Jn as DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, Jt as BattleHandoverLineOptions, K as ControlMeasureStyle, Kn as DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, Kt as BlockMissionTaskOptions, L as renderControlMeasure, Ln as JointTacticalActionAreaOptions, Lt as TacticalArrowOptions, M as SimpleStyleRender, Mn as DEFAULT_PICKUP_ZONE_OPTIONS, Mr as resolveAmplifierPlacement, Mt as DEFAULT_DELAY_OPTIONS, N as toSimpleStyle, Nn as PickupZoneOptions, Nr as AnchorTransformEvent, Nt as DelayOptions, O as EPSILON, On as calculateMetrics, Or as TextAmplifierKey, Ot as DEFAULT_SCREEN_OPTIONS, P as resolveStyleHints, Pn as DEFAULT_LANDING_ZONE_OPTIONS, Pr as ControlMeasureDrawRule, Pt as CoverOptions, Q as getControlMeasureMetadata, Qn as DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, Qt as DEFAULT_PHASE_LINE_OPTIONS, R as ControlMeasureRender, Rn as AssemblyAreaOptions, Rt as ClearOptions, S as snapToMidpointPerpendicular, Sn as ClassicArrowOptions, Sr as AmplifierPlacements, St as DEFAULT_FORTIFIED_LINE_OPTIONS, T as BaselineFrameOptions, Tn as SupportingAttackOptions, Tr as LabelPlacementOverride, Tt as DEFAULT_ANTITANK_WALL_OPTIONS, U as ControlMeasure, Un as EncirclementOptions, Ut as DEFAULT_BYPASS_OPTIONS, V as StyleHints, Vn as DEFAULT_AREA_DEFENSE_OPTIONS, Vt as DEFAULT_CANALIZE_OPTIONS, W as cloneControlMeasure, Wn as DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, Wt as BreachOptions, X as ControlMeasureKind, Xn as DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, Xt as DEFAULT_HANDOVER_LINE_OPTIONS, Y as ControlMeasureId, Yn as DirectionOfSupportingAttackOptions, Yt as DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, Z as OptionsByKind, Zn as DirectionOfMainAttackOptions, Zt as HandoverLineOptions, _ as MidpointPerpendicularDrawRuleOptions, _n as GenericLineOptions, _r as ControlMeasureGeometryType, _t as TurningMovementOptions, a as supportByFireDrawRule, an as SupportByFireOptions, ar as GenericC2LineOptions, at as ObstacleBypassDifficultOptions, b as getMidpointPerpendicularSignedDistance, bn as DEFAULT_BLOCK_ARROW_OPTIONS, br as TextAmplifierDescriptor, bt as DEFAULT_FORTIFIED_AREA_OPTIONS, c as line23DrawRule, cn as AirborneAttackOptions, cr as DEFAULT_LIGHT_LINE_OPTIONS, ct as DEFAULT_TURN_OPTIONS, d as ambushDrawRule, dn as GenericCircleOptions, dr as Point2D, dt as FixOptions, en as DEFAULT_FLOT_OPTIONS, er as DEFAULT_STRONG_POINT_OPTIONS, et as getDefaultOptions, f as attackByFireDrawRule, fn as DEFAULT_GENERIC_RECTANGLE_OPTIONS, fr as project, ft as DEFAULT_DISRUPT_OPTIONS, g as blockDrawRule, gn as DEFAULT_GENERIC_LINE_OPTIONS, gr as ControlMeasureGeometry, gt as DEFAULT_TURNING_MOVEMENT_OPTIONS, h as disruptDrawRule, hn as GenericPolygonOptions, hr as DEFAULT_BOUNDARY_OPTIONS, ht as DEFAULT_BLOCK_OPTIONS, i as axis1DrawRule, in as DEFAULT_SUPPORT_BY_FIRE_OPTIONS, ir as DEFAULT_GENERIC_C2_LINE_OPTIONS, it as DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, j as SimpleStyleProps, jn as DEFAULT_AREA_OF_OPERATIONS_OPTIONS, jr as normalizeTextAmplifiers, jt as GuardOptions, k as getMetersPerPixel, kn as computeInitialWidthPoint, kr as TextAmplifiers, kt as ScreenOptions, l as turnDrawRule, ln as DEFAULT_AIRBORNE_ATTACK_OPTIONS, lr as LightLineOptions, lt as TurnOptions, m as centerRadiusDrawRule, mn as DEFAULT_GENERIC_POLYGON_OPTIONS, mr as BoundaryOptions, mt as BlockOptions, n as DEFAULT_AMBUSH_OPTIONS, nn as AttackByFireOptions, nr as BattlePositionOptions, nt as DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, o as line26DrawRule, on as AttackHelicopterOptions, or as DEFAULT_ENGINEER_WORK_LINE_OPTIONS, ot as DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, p as point12DrawRule, pn as GenericRectangleOptions, pr as unproject, pt as DisruptOptions, q as CONTROL_MEASURE_IDS, qn as PrincipalDirectionOfFireOptions, qt as DEFAULT_BLOCK_MISSION_TASK_OPTIONS, r as rectangleDrawRule, rn as DEFAULT_ATTACK_BY_FIRE_OPTIONS, rr as DEFAULT_BATTLE_POSITION_OPTIONS, rt as ObstacleBypassImpossibleOptions, s as line24DrawRule, sn as DEFAULT_ATTACK_HELICOPTER_OPTIONS, sr as EngineerWorkLineOptions, st as ObstacleBypassEasyOptions, t as AmbushOptions, tn as FLOTOptions, tr as StrongPointOptions, tt as listControlMeasureMetadata, u as line1DrawRule, un as DEFAULT_GENERIC_CIRCLE_OPTIONS, ur as LabelSizeOptions, ut as DEFAULT_FIX_OPTIONS, v as computeDefaultMidpointPerpendicularPoint, vn as BlockArrowHeadStyle, vr as ControlMeasureMetadata, vt as DEFAULT_FRONTAL_ATTACK_OPTIONS, w as BaselineFrameNormal, wn as DEFAULT_SUPPORTING_ATTACK_OPTIONS, wr as GeneratedLabelKey, wt as AntitankWallOptions, x as pointOnMidpointPerpendicularAxis, xn as ClassicArrowHeadStyle, xr as AmplifierPlacement, xt as FortifiedAreaOptions, y as createMidpointPerpendicularDrawRule, yn as BlockArrowOptions, yr as ParamDescriptor, yt as FrontalAttackOptions, z as ControlMeasureSnapshot, zn as DEFAULT_ASSEMBLY_AREA_OPTIONS, zt as DEFAULT_CLEAR_OPTIONS } from "./index-CG1Pvd7o.mjs";
2
- export { type AirborneAttackOptions, type AmbushOptions, type AmplifierPlacement, type AmplifierPlacements, type AnchorTransformEvent, type AntitankDitchOptions, type AntitankWallOptions, type AreaDefenseOptions, type AreaOfOperationsOptions, type AssemblyAreaOptions, type AttackByFireOptions, type AttackHelicopterOptions, type BaselineFrame, type BaselineFrameNormal, type BaselineFrameOptions, type BaselineFrameOrigin, type BattleHandoverLineOptions, type BattlePositionOptions, type BlockArrowHeadStyle, type BlockArrowOptions, type BlockMissionTaskOptions, type BlockOptions, type BoundaryOptions, type BreachOptions, type BypassOptions, CONTROL_MEASURE_IDS, CONTROL_MEASURE_METADATA, type CanalizeOptions, type CanonicalTextAmplifiers, type ClassicArrowHeadStyle, type ClassicArrowOptions, type ClearOptions, type ControlMeasure, type ControlMeasureDrawRule, type ControlMeasureGeometry, type ControlMeasureGeometryType, type ControlMeasureId, type ControlMeasureKind, type ControlMeasureMetadata, type ControlMeasureRender, type ControlMeasureSnapshot, type ControlMeasureStyle, type CoverOptions, DEFAULT_AIRBORNE_ATTACK_OPTIONS, DEFAULT_AMBUSH_OPTIONS, DEFAULT_ANTITANK_DITCH_OPTIONS, DEFAULT_ANTITANK_WALL_OPTIONS, DEFAULT_AREA_DEFENSE_OPTIONS, DEFAULT_AREA_OF_OPERATIONS_OPTIONS, DEFAULT_ASSEMBLY_AREA_OPTIONS, DEFAULT_ATTACK_BY_FIRE_OPTIONS, DEFAULT_ATTACK_HELICOPTER_OPTIONS, DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, DEFAULT_BATTLE_POSITION_OPTIONS, DEFAULT_BLOCK_ARROW_OPTIONS, DEFAULT_BLOCK_MISSION_TASK_OPTIONS, DEFAULT_BLOCK_OPTIONS, DEFAULT_BOUNDARY_OPTIONS, DEFAULT_BREACH_OPTIONS, DEFAULT_BYPASS_OPTIONS, DEFAULT_CANALIZE_OPTIONS, DEFAULT_CLASSIC_ARROW_OPTIONS, DEFAULT_CLEAR_OPTIONS, DEFAULT_COVER_OPTIONS, DEFAULT_DELAY_OPTIONS, DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, DEFAULT_DISRUPT_OPTIONS, DEFAULT_ENCIRCLEMENT_OPTIONS, DEFAULT_ENGINEER_WORK_LINE_OPTIONS, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, DEFAULT_FIX_OPTIONS, DEFAULT_FLOT_OPTIONS, DEFAULT_FORTIFIED_AREA_OPTIONS, DEFAULT_FORTIFIED_LINE_OPTIONS, DEFAULT_FRONTAL_ATTACK_OPTIONS, DEFAULT_GENERIC_C2_LINE_OPTIONS, DEFAULT_GENERIC_CIRCLE_OPTIONS, DEFAULT_GENERIC_LINE_OPTIONS, DEFAULT_GENERIC_POLYGON_OPTIONS, DEFAULT_GENERIC_RECTANGLE_OPTIONS, DEFAULT_GUARD_OPTIONS, DEFAULT_HANDOVER_LINE_OPTIONS, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, DEFAULT_LANDING_ZONE_OPTIONS, DEFAULT_LIGHT_LINE_OPTIONS, DEFAULT_MAIN_ATTACK_OPTIONS, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, DEFAULT_PHASE_LINE_OPTIONS, DEFAULT_PICKUP_ZONE_OPTIONS, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_SCREEN_OPTIONS, DEFAULT_STRONG_POINT_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURNING_MOVEMENT_OPTIONS, DEFAULT_TURN_OPTIONS, type DelayOptions, type DirectionOfAttackAviationOptions, type DirectionOfMainAttackOptions, type DirectionOfSupportingAttackOptions, type DisruptOptions, EPSILON, type EncirclementOptions, type EngineerWorkLineOptions, type FLOTOptions, type FeaturePartProps, type FinalProtectiveFireOptions, type FixOptions, type FortifiedAreaOptions, type FortifiedLineOptions, type FrontalAttackOptions, type GeneratedLabelKey, type GenericC2LineOptions, type GenericCircleOptions, type GenericLineOptions, type GenericPolygonOptions, type GenericRectangleOptions, type GuardOptions, type HandoverLineOptions, type JointTacticalActionAreaOptions, type LabelPlacementOverride, type LabelSizeOptions, type LandingZoneOptions, type LightLineOptions, type MainAttackOptions, type MidpointPerpendicularDrawRuleOptions, type ObstacleBypassDifficultOptions, type ObstacleBypassEasyOptions, type ObstacleBypassImpossibleOptions, type OptionsByKind, type ParamDescriptor, type PhaseLineOptions, type PickupZoneOptions, type Point2D, type PrincipalDirectionOfFireOptions, type RenderOptions, type ScreenOptions, type SimpleStyleProps, type SimpleStyleRender, type StrongPointOptions, type StyleHints, type SupportByFireOptions, type SupportingAttackOptions, TEXT_AMPLIFIER_FIELDS, type TacticalArrowOptions, type TextAmplifierDescriptor, type TextAmplifierField, type TextAmplifierKey, type TextAmplifiers, type TurnOptions, type TurningMovementOptions, ambushDrawRule, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, canonicalTextAmplifierKey, centerRadiusDrawRule, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, freezeOrientationOptions, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getMetersPerPixel, getMidpointPerpendicularSignedDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, line26DrawRule, listControlMeasureMetadata, normalizeTextAmplifiers, point12DrawRule, pointOnMidpointPerpendicularAxis, project, rectangleDrawRule, renderControlMeasure, resolveAmplifierPlacement, resolveStyleHints, roundToFixed, snapToMidpointPerpendicular, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
1
+ import { $ as getDefaultOptions, $n as DEFAULT_STRONG_POINT_OPTIONS, $t as DEFAULT_FLOT_OPTIONS, A as roundToFixed, An as DEFAULT_AREA_OF_OPERATIONS_OPTIONS, Ar as normalizeTextAmplifiers, At as GuardOptions, B as StyleHints, Bn as DEFAULT_AREA_DEFENSE_OPTIONS, Bt as DEFAULT_CANALIZE_OPTIONS, C as BaselineFrame, Cn as DEFAULT_SUPPORTING_ATTACK_OPTIONS, Cr as GeneratedLabelKey, Ct as AntitankWallOptions, D as createBaselineFrame, Dn as calculateMetrics, Dr as TextAmplifierKey, Dt as DEFAULT_SCREEN_OPTIONS, E as BaselineFrameOrigin, En as MainAttackOptions, Er as TextAmplifierField, Et as DEFAULT_ANTITANK_DITCH_OPTIONS, F as freezeOrientationOptions, Fn as DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, Ft as DEFAULT_TACTICAL_ARROW_OPTIONS, G as ControlMeasureStyle, Gn as DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, Gt as BlockMissionTaskOptions, H as ControlMeasure, Hn as EncirclementOptions, Ht as DEFAULT_BYPASS_OPTIONS, I as RenderOptions, In as JointTacticalActionAreaOptions, It as TacticalArrowOptions, J as ControlMeasureId, Jn as DirectionOfSupportingAttackOptions, Jt as DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, K as CONTROL_MEASURE_IDS, Kn as PrincipalDirectionOfFireOptions, Kt as DEFAULT_BLOCK_MISSION_TASK_OPTIONS, L as renderControlMeasure, Ln as AssemblyAreaOptions, Lt as ClearOptions, M as SimpleStyleRender, Mn as PickupZoneOptions, Mr as AnchorTransformEvent, Mt as DelayOptions, N as toSimpleStyle, Nn as DEFAULT_LANDING_ZONE_OPTIONS, Nr as ControlMeasureDrawRule, Nt as CoverOptions, O as EPSILON, On as computeInitialWidthPoint, Or as TextAmplifiers, Ot as ScreenOptions, P as resolveStyleHints, Pn as LandingZoneOptions, Pt as DEFAULT_COVER_OPTIONS, Q as getControlMeasureMetadataByValue, Qn as DirectionOfAttackAviationOptions, Qt as PhaseLineOptions, R as ControlMeasureRender, Rn as DEFAULT_ASSEMBLY_AREA_OPTIONS, Rt as DEFAULT_CLEAR_OPTIONS, S as snapToMidpointPerpendicular, Sn as DEFAULT_CLASSIC_ARROW_OPTIONS, Sr as CanonicalTextAmplifiers, St as FortifiedLineOptions, T as BaselineFrameOptions, Tn as DEFAULT_MAIN_ATTACK_OPTIONS, Tr as TEXT_AMPLIFIER_FIELDS, Tt as AntitankDitchOptions, U as cloneControlMeasure, Un as DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, Ut as BreachOptions, V as controlMeasureIdFromFeature, Vn as DEFAULT_ENCIRCLEMENT_OPTIONS, Vt as BypassOptions, W as isKind, Wn as FinalProtectiveFireOptions, Wt as DEFAULT_BREACH_OPTIONS, X as OptionsByKind, Xn as DirectionOfMainAttackOptions, Xt as HandoverLineOptions, Y as ControlMeasureKind, Yn as DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, Yt as DEFAULT_HANDOVER_LINE_OPTIONS, Z as getControlMeasureMetadata, Zn as DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, Zt as DEFAULT_PHASE_LINE_OPTIONS, _ as MidpointPerpendicularDrawRuleOptions, _n as BlockArrowHeadStyle, _r as ControlMeasureMetadata, _t as DEFAULT_FRONTAL_ATTACK_OPTIONS, a as supportByFireDrawRule, an as AttackHelicopterOptions, ar as DEFAULT_ENGINEER_WORK_LINE_OPTIONS, at as DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, b as getMidpointPerpendicularSignedDistance, bn as ClassicArrowHeadStyle, br as AmplifierPlacement, bt as FortifiedAreaOptions, c as line23DrawRule, cn as DEFAULT_AIRBORNE_ATTACK_OPTIONS, cr as LightLineOptions, ct as TurnOptions, d as ambushDrawRule, dn as DEFAULT_GENERIC_RECTANGLE_OPTIONS, dr as project, dt as DEFAULT_DISRUPT_OPTIONS, en as FLOTOptions, er as StrongPointOptions, et as listControlMeasureMetadata, f as attackByFireDrawRule, fn as GenericRectangleOptions, fr as unproject, ft as DisruptOptions, g as blockDrawRule, gn as GenericLineOptions, gr as ControlMeasureGeometryType, gt as TurningMovementOptions, h as disruptDrawRule, hn as DEFAULT_GENERIC_LINE_OPTIONS, hr as ControlMeasureGeometry, ht as DEFAULT_TURNING_MOVEMENT_OPTIONS, i as axis1DrawRule, in as SupportByFireOptions, ir as GenericC2LineOptions, it as ObstacleBypassDifficultOptions, j as SimpleStyleProps, jn as DEFAULT_PICKUP_ZONE_OPTIONS, jr as resolveAmplifierPlacement, jt as DEFAULT_DELAY_OPTIONS, k as getMetersPerPixel, kn as AreaOfOperationsOptions, kr as canonicalTextAmplifierKey, kt as DEFAULT_GUARD_OPTIONS, l as turnDrawRule, ln as DEFAULT_GENERIC_CIRCLE_OPTIONS, lr as LabelSizeOptions, lt as DEFAULT_FIX_OPTIONS, m as centerRadiusDrawRule, mn as GenericPolygonOptions, mr as DEFAULT_BOUNDARY_OPTIONS, mt as DEFAULT_BLOCK_OPTIONS, n as DEFAULT_AMBUSH_OPTIONS, nn as DEFAULT_ATTACK_BY_FIRE_OPTIONS, nr as DEFAULT_BATTLE_POSITION_OPTIONS, nt as ObstacleBypassImpossibleOptions, o as line26DrawRule, on as DEFAULT_ATTACK_HELICOPTER_OPTIONS, or as EngineerWorkLineOptions, ot as ObstacleBypassEasyOptions, p as point12DrawRule, pn as DEFAULT_GENERIC_POLYGON_OPTIONS, pr as BoundaryOptions, pt as BlockOptions, q as CONTROL_MEASURE_METADATA, qn as DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, qt as BattleHandoverLineOptions, r as rectangleDrawRule, rn as DEFAULT_SUPPORT_BY_FIRE_OPTIONS, rr as DEFAULT_GENERIC_C2_LINE_OPTIONS, rt as DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, s as line24DrawRule, sn as AirborneAttackOptions, sr as DEFAULT_LIGHT_LINE_OPTIONS, st as DEFAULT_TURN_OPTIONS, t as AmbushOptions, tn as AttackByFireOptions, tr as BattlePositionOptions, tt as DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, u as line1DrawRule, un as GenericCircleOptions, ur as Point2D, ut as FixOptions, v as computeDefaultMidpointPerpendicularPoint, vn as BlockArrowOptions, vr as ParamDescriptor, vt as FrontalAttackOptions, w as BaselineFrameNormal, wn as SupportingAttackOptions, wr as LabelPlacementOverride, wt as DEFAULT_ANTITANK_WALL_OPTIONS, x as pointOnMidpointPerpendicularAxis, xn as ClassicArrowOptions, xr as AmplifierPlacements, xt as DEFAULT_FORTIFIED_LINE_OPTIONS, y as createMidpointPerpendicularDrawRule, yn as DEFAULT_BLOCK_ARROW_OPTIONS, yr as TextAmplifierDescriptor, yt as DEFAULT_FORTIFIED_AREA_OPTIONS, z as FeaturePartProps, zn as AreaDefenseOptions, zt as CanalizeOptions } from "./index-BCn2uBC0.mjs";
2
+ export { type AirborneAttackOptions, type AmbushOptions, type AmplifierPlacement, type AmplifierPlacements, type AnchorTransformEvent, type AntitankDitchOptions, type AntitankWallOptions, type AreaDefenseOptions, type AreaOfOperationsOptions, type AssemblyAreaOptions, type AttackByFireOptions, type AttackHelicopterOptions, type BaselineFrame, type BaselineFrameNormal, type BaselineFrameOptions, type BaselineFrameOrigin, type BattleHandoverLineOptions, type BattlePositionOptions, type BlockArrowHeadStyle, type BlockArrowOptions, type BlockMissionTaskOptions, type BlockOptions, type BoundaryOptions, type BreachOptions, type BypassOptions, CONTROL_MEASURE_IDS, CONTROL_MEASURE_METADATA, type CanalizeOptions, type CanonicalTextAmplifiers, type ClassicArrowHeadStyle, type ClassicArrowOptions, type ClearOptions, type ControlMeasure, type ControlMeasureDrawRule, type ControlMeasureGeometry, type ControlMeasureGeometryType, type ControlMeasureId, type ControlMeasureKind, type ControlMeasureMetadata, type ControlMeasureRender, type ControlMeasureStyle, type CoverOptions, DEFAULT_AIRBORNE_ATTACK_OPTIONS, DEFAULT_AMBUSH_OPTIONS, DEFAULT_ANTITANK_DITCH_OPTIONS, DEFAULT_ANTITANK_WALL_OPTIONS, DEFAULT_AREA_DEFENSE_OPTIONS, DEFAULT_AREA_OF_OPERATIONS_OPTIONS, DEFAULT_ASSEMBLY_AREA_OPTIONS, DEFAULT_ATTACK_BY_FIRE_OPTIONS, DEFAULT_ATTACK_HELICOPTER_OPTIONS, DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, DEFAULT_BATTLE_POSITION_OPTIONS, DEFAULT_BLOCK_ARROW_OPTIONS, DEFAULT_BLOCK_MISSION_TASK_OPTIONS, DEFAULT_BLOCK_OPTIONS, DEFAULT_BOUNDARY_OPTIONS, DEFAULT_BREACH_OPTIONS, DEFAULT_BYPASS_OPTIONS, DEFAULT_CANALIZE_OPTIONS, DEFAULT_CLASSIC_ARROW_OPTIONS, DEFAULT_CLEAR_OPTIONS, DEFAULT_COVER_OPTIONS, DEFAULT_DELAY_OPTIONS, DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, DEFAULT_DISRUPT_OPTIONS, DEFAULT_ENCIRCLEMENT_OPTIONS, DEFAULT_ENGINEER_WORK_LINE_OPTIONS, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, DEFAULT_FIX_OPTIONS, DEFAULT_FLOT_OPTIONS, DEFAULT_FORTIFIED_AREA_OPTIONS, DEFAULT_FORTIFIED_LINE_OPTIONS, DEFAULT_FRONTAL_ATTACK_OPTIONS, DEFAULT_GENERIC_C2_LINE_OPTIONS, DEFAULT_GENERIC_CIRCLE_OPTIONS, DEFAULT_GENERIC_LINE_OPTIONS, DEFAULT_GENERIC_POLYGON_OPTIONS, DEFAULT_GENERIC_RECTANGLE_OPTIONS, DEFAULT_GUARD_OPTIONS, DEFAULT_HANDOVER_LINE_OPTIONS, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, DEFAULT_LANDING_ZONE_OPTIONS, DEFAULT_LIGHT_LINE_OPTIONS, DEFAULT_MAIN_ATTACK_OPTIONS, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, DEFAULT_PHASE_LINE_OPTIONS, DEFAULT_PICKUP_ZONE_OPTIONS, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_SCREEN_OPTIONS, DEFAULT_STRONG_POINT_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURNING_MOVEMENT_OPTIONS, DEFAULT_TURN_OPTIONS, type DelayOptions, type DirectionOfAttackAviationOptions, type DirectionOfMainAttackOptions, type DirectionOfSupportingAttackOptions, type DisruptOptions, EPSILON, type EncirclementOptions, type EngineerWorkLineOptions, type FLOTOptions, type FeaturePartProps, type FinalProtectiveFireOptions, type FixOptions, type FortifiedAreaOptions, type FortifiedLineOptions, type FrontalAttackOptions, type GeneratedLabelKey, type GenericC2LineOptions, type GenericCircleOptions, type GenericLineOptions, type GenericPolygonOptions, type GenericRectangleOptions, type GuardOptions, type HandoverLineOptions, type JointTacticalActionAreaOptions, type LabelPlacementOverride, type LabelSizeOptions, type LandingZoneOptions, type LightLineOptions, type MainAttackOptions, type MidpointPerpendicularDrawRuleOptions, type ObstacleBypassDifficultOptions, type ObstacleBypassEasyOptions, type ObstacleBypassImpossibleOptions, type OptionsByKind, type ParamDescriptor, type PhaseLineOptions, type PickupZoneOptions, type Point2D, type PrincipalDirectionOfFireOptions, type RenderOptions, type ScreenOptions, type SimpleStyleProps, type SimpleStyleRender, type StrongPointOptions, type StyleHints, type SupportByFireOptions, type SupportingAttackOptions, TEXT_AMPLIFIER_FIELDS, type TacticalArrowOptions, type TextAmplifierDescriptor, type TextAmplifierField, type TextAmplifierKey, type TextAmplifiers, type TurnOptions, type TurningMovementOptions, ambushDrawRule, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, canonicalTextAmplifierKey, centerRadiusDrawRule, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, freezeOrientationOptions, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getMetersPerPixel, getMidpointPerpendicularSignedDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, line26DrawRule, listControlMeasureMetadata, normalizeTextAmplifiers, point12DrawRule, pointOnMidpointPerpendicularAxis, project, rectangleDrawRule, renderControlMeasure, resolveAmplifierPlacement, resolveStyleHints, roundToFixed, snapToMidpointPerpendicular, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as DEFAULT_GENERIC_C2_LINE_OPTIONS, A as DEFAULT_FORTIFIED_LINE_OPTIONS, At as disruptDrawRule, B as DEFAULT_DELAY_OPTIONS, Bt as project, C as DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, Ct as line23DrawRule, D as DEFAULT_SCREEN_OPTIONS, Dt as attackByFireDrawRule, E as DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, Et as ambushDrawRule, F as DEFAULT_FIX_OPTIONS, Ft as pointOnMidpointPerpendicularAxis, G as DEFAULT_GENERIC_POLYGON_OPTIONS, H as DEFAULT_TACTICAL_ARROW_OPTIONS, Ht as EPSILON, I as DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, It as snapToMidpointPerpendicular, J as DEFAULT_CLASSIC_ARROW_OPTIONS, K as DEFAULT_GENERIC_LINE_OPTIONS, L as DEFAULT_ENCIRCLEMENT_OPTIONS, Lt as createBaselineFrame, M as DEFAULT_HANDOVER_LINE_OPTIONS, Mt as computeDefaultMidpointPerpendicularPoint, N as DEFAULT_PHASE_LINE_OPTIONS, Nt as createMidpointPerpendicularDrawRule, O as DEFAULT_FRONTAL_ATTACK_OPTIONS, Ot as point12DrawRule, P as DEFAULT_FLOT_OPTIONS, Pt as getMidpointPerpendicularSignedDistance, Q as DEFAULT_BLOCK_MISSION_TASK_OPTIONS, R as DEFAULT_DISRUPT_OPTIONS, Rt as calculateMetrics, S as DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, St as line24DrawRule, T as DEFAULT_LANDING_ZONE_OPTIONS, Tt as line1DrawRule, U as DEFAULT_CLEAR_OPTIONS, Ut as getMetersPerPixel, V as DEFAULT_COVER_OPTIONS, Vt as unproject, W as DEFAULT_GENERIC_RECTANGLE_OPTIONS, Wt as roundToFixed, X as DEFAULT_BYPASS_OPTIONS, Y as DEFAULT_CANALIZE_OPTIONS, Z as DEFAULT_BREACH_OPTIONS, _ as DEFAULT_SUPPORT_BY_FIRE_OPTIONS, _t as DEFAULT_AIRBORNE_ATTACK_OPTIONS, a as resolveAmplifierPlacement, at as DEFAULT_BATTLE_POSITION_OPTIONS, b as DEFAULT_PICKUP_ZONE_OPTIONS, bt as supportByFireDrawRule, c as CONTROL_MEASURE_METADATA, ct as DEFAULT_ANTITANK_WALL_OPTIONS, d as getControlMeasureMetadataByValue, dt as DEFAULT_AREA_OF_OPERATIONS_OPTIONS, et as DEFAULT_ENGINEER_WORK_LINE_OPTIONS, f as getDefaultOptions, ft as DEFAULT_AREA_DEFENSE_OPTIONS, g as DEFAULT_SUPPORTING_ATTACK_OPTIONS, gt as DEFAULT_AMBUSH_OPTIONS, h as DEFAULT_TURN_OPTIONS, ht as DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, i as normalizeTextAmplifiers, it as DEFAULT_BLOCK_OPTIONS, j as DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, jt as blockDrawRule, k as DEFAULT_FORTIFIED_AREA_OPTIONS, kt as centerRadiusDrawRule, l as DEFINITIONS, lt as DEFAULT_ANTITANK_DITCH_OPTIONS, m as DEFAULT_TURNING_MOVEMENT_OPTIONS, mt as DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, n as TEXT_AMPLIFIER_FIELDS, nt as DEFAULT_BOUNDARY_OPTIONS, o as resolveStyleHints, ot as DEFAULT_ATTACK_HELICOPTER_OPTIONS, p as listControlMeasureMetadata, pt as DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, q as DEFAULT_GENERIC_CIRCLE_OPTIONS, r as canonicalTextAmplifierKey, rt as DEFAULT_BLOCK_ARROW_OPTIONS, s as CONTROL_MEASURE_IDS, st as DEFAULT_ATTACK_BY_FIRE_OPTIONS, t as renderControlMeasure, tt as DEFAULT_LIGHT_LINE_OPTIONS, u as getControlMeasureMetadata, ut as DEFAULT_ASSEMBLY_AREA_OPTIONS, v as DEFAULT_STRONG_POINT_OPTIONS, vt as rectangleDrawRule, w as DEFAULT_MAIN_ATTACK_OPTIONS, wt as turnDrawRule, x as DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, xt as line26DrawRule, y as DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, yt as axis1DrawRule, z as DEFAULT_GUARD_OPTIONS, zt as computeInitialWidthPoint } from "./renderControlMeasure-DWjLu2kT.mjs";
1
+ import { $ as DEFAULT_GENERIC_C2_LINE_OPTIONS, A as DEFAULT_FORTIFIED_LINE_OPTIONS, At as disruptDrawRule, B as DEFAULT_DELAY_OPTIONS, Bt as project, C as DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, Ct as line23DrawRule, D as DEFAULT_SCREEN_OPTIONS, Dt as attackByFireDrawRule, E as DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, Et as ambushDrawRule, F as DEFAULT_FIX_OPTIONS, Ft as pointOnMidpointPerpendicularAxis, G as DEFAULT_GENERIC_POLYGON_OPTIONS, H as DEFAULT_TACTICAL_ARROW_OPTIONS, Ht as EPSILON, I as DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, It as snapToMidpointPerpendicular, J as DEFAULT_CLASSIC_ARROW_OPTIONS, K as DEFAULT_GENERIC_LINE_OPTIONS, L as DEFAULT_ENCIRCLEMENT_OPTIONS, Lt as createBaselineFrame, M as DEFAULT_HANDOVER_LINE_OPTIONS, Mt as computeDefaultMidpointPerpendicularPoint, N as DEFAULT_PHASE_LINE_OPTIONS, Nt as createMidpointPerpendicularDrawRule, O as DEFAULT_FRONTAL_ATTACK_OPTIONS, Ot as point12DrawRule, P as DEFAULT_FLOT_OPTIONS, Pt as getMidpointPerpendicularSignedDistance, Q as DEFAULT_BLOCK_MISSION_TASK_OPTIONS, R as DEFAULT_DISRUPT_OPTIONS, Rt as calculateMetrics, S as DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, St as line24DrawRule, T as DEFAULT_LANDING_ZONE_OPTIONS, Tt as line1DrawRule, U as DEFAULT_CLEAR_OPTIONS, Ut as getMetersPerPixel, V as DEFAULT_COVER_OPTIONS, Vt as unproject, W as DEFAULT_GENERIC_RECTANGLE_OPTIONS, Wt as roundToFixed, X as DEFAULT_BYPASS_OPTIONS, Y as DEFAULT_CANALIZE_OPTIONS, Z as DEFAULT_BREACH_OPTIONS, _ as DEFAULT_SUPPORT_BY_FIRE_OPTIONS, _t as DEFAULT_AIRBORNE_ATTACK_OPTIONS, a as resolveAmplifierPlacement, at as DEFAULT_BATTLE_POSITION_OPTIONS, b as DEFAULT_PICKUP_ZONE_OPTIONS, bt as supportByFireDrawRule, c as CONTROL_MEASURE_METADATA, ct as DEFAULT_ANTITANK_WALL_OPTIONS, d as getControlMeasureMetadataByValue, dt as DEFAULT_AREA_OF_OPERATIONS_OPTIONS, et as DEFAULT_ENGINEER_WORK_LINE_OPTIONS, f as getDefaultOptions, ft as DEFAULT_AREA_DEFENSE_OPTIONS, g as DEFAULT_SUPPORTING_ATTACK_OPTIONS, gt as DEFAULT_AMBUSH_OPTIONS, h as DEFAULT_TURN_OPTIONS, ht as DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, i as normalizeTextAmplifiers, it as DEFAULT_BLOCK_OPTIONS, j as DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, jt as blockDrawRule, k as DEFAULT_FORTIFIED_AREA_OPTIONS, kt as centerRadiusDrawRule, l as DEFINITIONS, lt as DEFAULT_ANTITANK_DITCH_OPTIONS, m as DEFAULT_TURNING_MOVEMENT_OPTIONS, mt as DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, n as TEXT_AMPLIFIER_FIELDS, nt as DEFAULT_BOUNDARY_OPTIONS, o as resolveStyleHints, ot as DEFAULT_ATTACK_HELICOPTER_OPTIONS, p as listControlMeasureMetadata, pt as DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, q as DEFAULT_GENERIC_CIRCLE_OPTIONS, r as canonicalTextAmplifierKey, rt as DEFAULT_BLOCK_ARROW_OPTIONS, s as CONTROL_MEASURE_IDS, st as DEFAULT_ATTACK_BY_FIRE_OPTIONS, t as renderControlMeasure, tt as DEFAULT_LIGHT_LINE_OPTIONS, u as getControlMeasureMetadata, ut as DEFAULT_ASSEMBLY_AREA_OPTIONS, v as DEFAULT_STRONG_POINT_OPTIONS, vt as rectangleDrawRule, w as DEFAULT_MAIN_ATTACK_OPTIONS, wt as turnDrawRule, x as DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, xt as line26DrawRule, y as DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, yt as axis1DrawRule, z as DEFAULT_GUARD_OPTIONS, zt as computeInitialWidthPoint } from "./renderControlMeasure-VOKiZO2O.mjs";
2
2
  //#region src/freeze-orientation.ts
3
3
  /**
4
4
  * Dispatches to a measure kind's `freezeOrientation` hook (see
@@ -21,7 +21,7 @@ function isKind(cm, kind) {
21
21
  /**
22
22
  * Deep-clone a `ControlMeasure` so held references survive mutations to the
23
23
  * original (and vice versa). Used by the session façade to build the
24
- * `measure` half of `ControlMeasureSnapshot`. Nested values inside
24
+ * `graphic` half of TacticalDraw's `GraphicSnapshot`. Nested values inside
25
25
  * `options`, `style`, `properties`, and `textAmplifiers` are cloned too —
26
26
  * `properties` is `Record<string, unknown>` and may carry arbitrary host
27
27
  * metadata, so a shallow copy would leak shared references.
@@ -1,4 +1,4 @@
1
- import { Y as ControlMeasureId, kr as TextAmplifiers } from "../index-CG1Pvd7o.mjs";
1
+ import { J as ControlMeasureId, Or as TextAmplifiers } from "../index-BCn2uBC0.mjs";
2
2
  import { FeatureCollection, Geometry } from "geojson";
3
3
 
4
4
  //#region src/preview/index.d.ts
@@ -1,4 +1,4 @@
1
- import { l as DEFINITIONS, t as renderControlMeasure } from "../renderControlMeasure-DWjLu2kT.mjs";
1
+ import { l as DEFINITIONS, t as renderControlMeasure } from "../renderControlMeasure-VOKiZO2O.mjs";
2
2
  //#region src/preview/index.ts
3
3
  /**
4
4
  * Unitless `previewSample` points (~`[-1, 1]`) are scaled by this degree offset
@@ -4259,7 +4259,7 @@ const DEFAULT_ATTACK_BY_FIRE_OPTIONS = {
4259
4259
  const ATTACK_BY_FIRE_METADATA = {
4260
4260
  id: "attack-by-fire",
4261
4261
  name: "Attack by Fire",
4262
- description: "Attack by fire graphic with base, shaft, and arrowhead.",
4262
+ description: "Uses direct and indirect fires to engage an enemy from a distance without closing, normally to destroy, suppress, fix, or deceive it. Unlike support by fire, it does not support another maneuvering force.",
4263
4263
  entity: "Maneuver Areas",
4264
4264
  entityType: "Attack by Fire",
4265
4265
  value: "152000",
@@ -4733,7 +4733,7 @@ const DEFAULT_STEM_RATIO$1 = 1.5;
4733
4733
  const BLOCK_METADATA = {
4734
4734
  id: "block",
4735
4735
  name: "Block",
4736
- description: "An obstacle effect that integrates fire planning and obstacle effort to stop an attacker along a specific avenue of approach or prevent the attacking force from passing through an engagement area. (FM 3-90)",
4736
+ description: "Integrates fires and obstacles to stop an attacker along an avenue of approach or prevent it from passing through an engagement area. Establishes a limit of enemy advance.",
4737
4737
  entity: "Protection Areas",
4738
4738
  entityType: "Obstacle Effects",
4739
4739
  entitySubtype: "Block",
@@ -5807,7 +5807,7 @@ const DEFAULT_BLOCK_MISSION_TASK_OPTIONS = { labelGapRatio: .2 };
5807
5807
  const BLOCK_MISSION_TASK_METADATA = {
5808
5808
  id: "block-mission-task",
5809
5809
  name: "Block",
5810
- description: "Denies the enemy access to an area or prevents the enemy's advance in a direction or along an avenue of approach.",
5810
+ description: "Denies the enemy access to an area or avenue of approach, normally for a specified time or until a specified event occurs. The enemy may still move in other directions.",
5811
5811
  entity: "Mission Tasks",
5812
5812
  entityType: "Block",
5813
5813
  value: "340100",
@@ -5899,7 +5899,7 @@ const DEFAULT_BREACH_OPTIONS = {
5899
5899
  const BREACH_METADATA = {
5900
5900
  id: "breach",
5901
5901
  name: "Breach",
5902
- description: "Employs all available means to break through or secure a passage through an enemy defense, obstacle, minefield, or fortification.",
5902
+ description: "Breaks through or establishes a passage through enemy defenses, obstacles, minefields, or fortifications using synchronized combined arms.",
5903
5903
  entity: "Mission Tasks",
5904
5904
  entityType: "Breach",
5905
5905
  value: "340200",
@@ -5995,7 +5995,7 @@ const DEFAULT_BYPASS_OPTIONS = {
5995
5995
  const BYPASS_METADATA = {
5996
5996
  id: "bypass",
5997
5997
  name: "Bypass",
5998
- description: "Maneuvers around an obstacle, position, or enemy force to maintain the momentum of the operation.",
5998
+ description: "Deliberately avoids contact with an obstacle or enemy force to maintain momentum and avoid unnecessary combat.",
5999
5999
  entity: "Mission Tasks",
6000
6000
  entityType: "Bypass",
6001
6001
  value: "340300",
@@ -6070,7 +6070,7 @@ const DEFAULT_CANALIZE_OPTIONS = {
6070
6070
  const CANALIZE_METADATA = {
6071
6071
  id: "canalize",
6072
6072
  name: "Canalize",
6073
- description: "Restricts enemy movement to a narrow zone by exploiting terrain coupled with the use of obstacles, fires, or friendly maneuver.",
6073
+ description: "Restricts enemy movement to a narrow zone using terrain, obstacles, fires, or friendly maneuver, making the enemy vulnerable to piecemeal destruction.",
6074
6074
  entity: "Mission Tasks",
6075
6075
  entityType: "Canalize",
6076
6076
  value: "340400",
@@ -6730,7 +6730,7 @@ const DEFAULT_CLEAR_OPTIONS = {
6730
6730
  const CLEAR_METADATA = {
6731
6731
  id: "clear",
6732
6732
  name: "Clear",
6733
- description: "Removes all enemy forces and eliminates organized resistance within an assigned area.",
6733
+ description: "Eliminates enemy forces within an assigned area by destroying, capturing, or forcing their withdrawal so they cannot offer organized resistance.",
6734
6734
  entity: "Mission Tasks",
6735
6735
  entityType: "Clear",
6736
6736
  value: "340500",
@@ -6939,7 +6939,7 @@ const DEFAULT_TACTICAL_ARROW_OPTIONS = {
6939
6939
  const SEARCH_AREA_METADATA = {
6940
6940
  id: "search-area",
6941
6941
  name: "Search Area",
6942
- description: "Search area graphic with paired lightning-style arrows.",
6942
+ description: "Designates an area to examine systematically for specified persons, forces, materiel, or information.",
6943
6943
  entity: "Maneuver Areas",
6944
6944
  entityType: "Search Area",
6945
6945
  value: "152200",
@@ -7460,7 +7460,7 @@ const DEFAULT_DISRUPT_OPTIONS = {
7460
7460
  const DISRUPT_METADATA = {
7461
7461
  id: "disrupt",
7462
7462
  name: "Disrupt",
7463
- description: "Obstacle effect that disrupts enemy tempo, delays movement, forces early breaching, and fragments attacks.",
7463
+ description: "Integrates fires and obstacles to break up an enemy's formation and tempo, interrupt its timetable, commit breaching assets prematurely, and force a piecemeal attack.",
7464
7464
  entity: "Protection Areas",
7465
7465
  entityType: "Obstacle Effects",
7466
7466
  entitySubtype: "Disrupt",
@@ -8077,7 +8077,7 @@ const DEFAULT_FIX_OPTIONS = {
8077
8077
  const FIX_METADATA = {
8078
8078
  id: "fix",
8079
8079
  name: "Fix",
8080
- description: "Fix task symbol with zigzag shaft and open arrowhead.",
8080
+ description: "Slows an attacker within a specified area, giving friendly forces time to acquire, target, and destroy it throughout the area's depth.",
8081
8081
  entity: "Protection Areas",
8082
8082
  entityType: "Obstacle Effects",
8083
8083
  entitySubtype: "Fix",
@@ -9047,7 +9047,7 @@ const DEFAULT_ISOLATE_OPTIONS = {
9047
9047
  const ISOLATE_METADATA = {
9048
9048
  id: "isolate",
9049
9049
  name: "Isolate",
9050
- description: "Seals off an enemy, physically and psychologically, from sources of support, denies it freedom of movement, and prevents it from having contact with other enemy forces.",
9050
+ description: "Seals an enemy off from support, denies freedom of movement, and prevents contact with other enemy forces while offensive action continues against it.",
9051
9051
  entity: "Mission Tasks",
9052
9052
  entityType: "Isolate",
9053
9053
  value: "341500",
@@ -9320,7 +9320,7 @@ const DEFAULT_MAIN_ATTACK_OPTIONS = {
9320
9320
  const MAIN_ATTACK_METADATA = {
9321
9321
  id: "main-attack",
9322
9322
  name: "Main Attack",
9323
- description: "Primary offensive attack graphic.",
9323
+ description: "Receives the preponderance of available combat power to accomplish the operation's primary purpose.",
9324
9324
  entity: "Maneuver Areas",
9325
9325
  entityType: "Axis of Advance",
9326
9326
  entitySubtype: "Main Attack",
@@ -10304,7 +10304,7 @@ const DEFAULT_SUPPORT_BY_FIRE_OPTIONS = {
10304
10304
  const SUPPORT_BY_FIRE_METADATA = {
10305
10305
  id: "support-by-fire",
10306
10306
  name: "Support By Fire",
10307
- description: "Support by fire graphic with paired arrows.",
10307
+ description: "Engages the enemy by direct fire in support of another maneuvering force, normally to fix or suppress the enemy so it cannot effectively fire on that force.",
10308
10308
  entity: "Maneuver Areas",
10309
10309
  entityType: "Support by Fire",
10310
10310
  value: "152100",
@@ -10450,7 +10450,7 @@ const DEFAULT_SUPPORTING_ATTACK_OPTIONS = {
10450
10450
  const SUPPORTING_ATTACK_METADATA = {
10451
10451
  id: "supporting-attack",
10452
10452
  name: "Supporting Attack",
10453
- description: "Secondary attack that supports the main effort.",
10453
+ description: "Supports the main attack by fixing, deceiving, or preventing enemy forces from interfering with it.",
10454
10454
  entity: "Maneuver Areas",
10455
10455
  entityType: "Axis of Advance",
10456
10456
  entitySubtype: "Supporting Attack",
@@ -10511,7 +10511,7 @@ const DEFAULT_TURN_OPTIONS = {
10511
10511
  const TURN_METADATA = {
10512
10512
  id: "turn",
10513
10513
  name: "Turn",
10514
- description: "An obstacle effect that integrates fire planning and obstacle effort to drive an enemy formation from one avenue of approach to an adjacent avenue of approach or into an engagement area. The rear of the symbol identifies the enemy's location and the arrow points in the direction the obstacle should force the enemy to turn.",
10514
+ description: "Diverts an enemy formation from one avenue of approach to another or into an engagement area. The arrow indicates the desired direction of turn.",
10515
10515
  entity: "Protection Areas",
10516
10516
  entityType: "Obstacle Effects",
10517
10517
  entitySubtype: "Turn",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbat-mapper/control-measures",
3
- "version": "0.2.0-alpha.14",
3
+ "version": "0.2.0-alpha.15",
4
4
  "description": "Library for drawing tactical graphics and control measures according to MIL-STD-2525 and APP-6 standards.",
5
5
  "license": "MIT",
6
6
  "author": "Orbat Mapper",