@orbat-mapper/control-measures 0.7.0 → 0.8.0
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-B3LgMKpn.d.mts → index-QyKWkgNo.d.mts} +37 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/preview/index.d.mts +1 -1
- package/dist/preview/index.mjs +1 -1
- package/dist/{renderControlMeasure-GsV4DV3r.mjs → renderControlMeasure-BHIGHuop.mjs} +444 -46
- package/package.json +1 -1
|
@@ -219,7 +219,7 @@ declare function normalizeTextAmplifiers(input: TextAmplifiers | undefined): Can
|
|
|
219
219
|
//#region src/metadata.d.ts
|
|
220
220
|
type ControlMeasureGeometryType = Geometry["type"];
|
|
221
221
|
type ControlMeasureGeometry = "point" | "line" | "area";
|
|
222
|
-
declare const DRAW_RULE_IDS: readonly ["Area1", "Area7", "Area8", "Area11", "Area12", "Area15", "Area17", "Area21", "Axis1", "Line1", "Line3", "Line9", "Line10", "Line23", "Line24", "Line26", "Line27", "Line29", "Point1", "Point2", "Point12", "Point18", "Rectangle", "Sector"];
|
|
222
|
+
declare const DRAW_RULE_IDS: readonly ["Area1", "Area5", "Area6", "Area7", "Area8", "Area11", "Area12", "Area15", "Area17", "Area21", "Axis1", "Line1", "Line3", "Line9", "Line10", "Line23", "Line24", "Line26", "Line27", "Line29", "Point1", "Point2", "Point12", "Point18", "Rectangle", "Sector"];
|
|
223
223
|
type DrawRuleId = (typeof DRAW_RULE_IDS)[number];
|
|
224
224
|
declare const PARAMETER_PRESENTATION_TIERS: readonly ["primary", "standard", "advanced"];
|
|
225
225
|
type ParameterPresentationTier = (typeof PARAMETER_PRESENTATION_TIERS)[number];
|
|
@@ -932,6 +932,17 @@ declare const DEFAULT_BATTLE_POSITION_OPTIONS: BattlePositionOptions;
|
|
|
932
932
|
*/
|
|
933
933
|
declare function createBattlePosition(positions: Position[], options?: BattlePositionOptions, textAmplifiers?: CanonicalTextAmplifiers, context?: ControlMeasureGeneratorContext): FeatureCollection<MultiLineString | MultiPolygon | Point>;
|
|
934
934
|
//#endregion
|
|
935
|
+
//#region src/generators/cm15-maneuver-areas/contain.d.ts
|
|
936
|
+
interface ContainOptions extends LabelSizeOptions {
|
|
937
|
+
/** Extra clearance around the C and ENY labels, as a ratio of text height. */
|
|
938
|
+
labelPadding?: number;
|
|
939
|
+
/** Number of line segments used to approximate the complete semicircle. */
|
|
940
|
+
resolution?: number;
|
|
941
|
+
}
|
|
942
|
+
declare const DEFAULT_CONTAIN_OPTIONS: Required<Pick<ContainOptions, "labelPadding" | "resolution">>;
|
|
943
|
+
/** Creates the Contain semicircle, inward tics, center-pointing arrow, and C label. */
|
|
944
|
+
declare function createContain(coordinates: Position[], options?: ContainOptions, textAmplifiers?: CanonicalTextAmplifiers, context?: ControlMeasureGeneratorContext): FeatureCollection<MultiLineString | Point>;
|
|
945
|
+
//#endregion
|
|
935
946
|
//#region src/generators/cm15-maneuver-areas/strongPoint.d.ts
|
|
936
947
|
/** Configuration options for the Strong Point control measure. */
|
|
937
948
|
type StrongPointOptions = BattlePositionOptions;
|
|
@@ -952,6 +963,21 @@ declare const DEFAULT_STRONG_POINT_OPTIONS: StrongPointOptions;
|
|
|
952
963
|
*/
|
|
953
964
|
declare function createStrongPoint(positions: Position[], options?: StrongPointOptions, textAmplifiers?: CanonicalTextAmplifiers, context?: ControlMeasureGeneratorContext): FeatureCollection<MultiLineString | MultiPolygon | Point>;
|
|
954
965
|
//#endregion
|
|
966
|
+
//#region src/generators/cm15-maneuver-areas/retain.d.ts
|
|
967
|
+
interface RetainOptions extends LabelSizeOptions {
|
|
968
|
+
/** Angular opening on the friendly side, in degrees. */
|
|
969
|
+
openingAngle?: number;
|
|
970
|
+
/** Open-arrowhead length as a ratio of the radius. */
|
|
971
|
+
arrowheadLengthRatio?: number;
|
|
972
|
+
/** Open-arrowhead base width as a ratio of the radius. */
|
|
973
|
+
arrowheadWidthRatio?: number;
|
|
974
|
+
/** Extra clearance around R, on each side, as a ratio of its height. */
|
|
975
|
+
labelPadding?: number;
|
|
976
|
+
}
|
|
977
|
+
declare const DEFAULT_RETAIN_OPTIONS: Required<Pick<RetainOptions, "openingAngle" | "arrowheadLengthRatio" | "arrowheadWidthRatio" | "labelPadding">>;
|
|
978
|
+
/** Creates the Retain boundary, outward tics, and intrinsic R label. */
|
|
979
|
+
declare function createRetain(coordinates: Position[], options?: RetainOptions): FeatureCollection<MultiLineString | Point>;
|
|
980
|
+
//#endregion
|
|
955
981
|
//#region src/generators/cm14-maneuver-lines/direction-of-attack-aviation.d.ts
|
|
956
982
|
interface DirectionOfAttackAviationOptions extends LabelSizeOptions, SmoothLineOptions {
|
|
957
983
|
/** Arrowhead length as a ratio of the route's total length. @default 0.12 */
|
|
@@ -2791,7 +2817,9 @@ declare const DEFINITIONS: {
|
|
|
2791
2817
|
"engineer-work-line": ControlMeasureDefinition<"engineer-work-line", typeof createEngineerWorkLine>;
|
|
2792
2818
|
"generic-c2-line": ControlMeasureDefinition<"generic-c2-line", typeof createGenericC2Line>;
|
|
2793
2819
|
"battle-position": ControlMeasureDefinition<"battle-position", typeof createBattlePosition>;
|
|
2820
|
+
contain: ControlMeasureDefinition<"contain", typeof createContain>;
|
|
2794
2821
|
"strong-point": ControlMeasureDefinition<"strong-point", typeof createStrongPoint>;
|
|
2822
|
+
retain: ControlMeasureDefinition<"retain", typeof createRetain>;
|
|
2795
2823
|
ambush: ControlMeasureDefinition<"ambush", (controlPoints: import("geojson").Position[], options?: AmbushOptions) => import("geojson").FeatureCollection<import("geojson").MultiLineString, Record<string, never>>>;
|
|
2796
2824
|
"direction-of-attack-aviation": ControlMeasureDefinition<"direction-of-attack-aviation", typeof createDirectionOfAttackAviation>;
|
|
2797
2825
|
"direction-of-main-attack": ControlMeasureDefinition<"direction-of-main-attack", typeof createDirectionOfMainAttack>;
|
|
@@ -3131,6 +3159,13 @@ declare function getMidpointPerpendicularSignedDistance(p1: Position, p2: Positi
|
|
|
3131
3159
|
declare function pointOnMidpointPerpendicularAxis(p1: Position, p2: Position, distance: number | null): Position | null;
|
|
3132
3160
|
declare function snapToMidpointPerpendicular(p1: Position, p2: Position, controlPoint: Position): Position | null;
|
|
3133
3161
|
//#endregion
|
|
3162
|
+
//#region src/draw-rules/area5.d.ts
|
|
3163
|
+
/**
|
|
3164
|
+
* Area5 — PT. 1/PT. 2 define the open diameter and PT. 3 defines the arrow end.
|
|
3165
|
+
* The arrow stays on the perpendicular bisector of the diameter.
|
|
3166
|
+
*/
|
|
3167
|
+
declare const containDrawRule: ControlMeasureDrawRule;
|
|
3168
|
+
//#endregion
|
|
3134
3169
|
//#region src/draw-rules/area11.d.ts
|
|
3135
3170
|
declare const blockDrawRule: ControlMeasureDrawRule;
|
|
3136
3171
|
//#endregion
|
|
@@ -3298,4 +3333,4 @@ interface AmbushOptions {
|
|
|
3298
3333
|
}
|
|
3299
3334
|
declare const DEFAULT_AMBUSH_OPTIONS: Required<AmbushOptions>;
|
|
3300
3335
|
//#endregion
|
|
3301
|
-
export {
|
|
3336
|
+
export { OptionsByKind as $, normalizeTextAmplifiers as $i, GenericCircleOptions as $n, StrongPointOptions as $r, DisengageOptions as $t, BaselineFrameNormal as A, ControlMeasureFillCapability as Ai, DEFAULT_FORWARD_EDGE_OF_BATTLE_AREA_OPTIONS as An, DEFAULT_AREA_DEFENSE_OPTIONS as Ar, AntitankWallOptions as At, resolveStyleHints as B, parameterPresentationTierRank as Bi, AttackHelicopterOptions as Bn, SECONDARY_DIRECTION_OF_FIRE_DASH as Br, DEFAULT_SCREEN_OPTIONS as Bt, MidpointPerpendicularDrawRuleOptions as C, DEFAULT_LINE_JOIN as Ci, HandoverLineOptions as Cn, DEFAULT_LANDING_ZONE_OPTIONS as Cr, TurningMovementOptions as Ct, pointOnMidpointPerpendicularAxis as D, LogicalTextStyle as Di, HoldingLineOptions as Dn, AssemblyAreaOptions as Dr, FortifiedAreaOptions as Dt, getMidpointPerpendicularSignedDistance as E, DEFAULT_STROKE_WIDTH_CSS_PIXELS as Ei, DEFAULT_HOLDING_LINE_OPTIONS as En, JointTacticalActionAreaOptions as Er, DEFAULT_FORTIFIED_AREA_OPTIONS as Et, getMetersPerPixel as F, PARAMETER_PRESENTATION_TIERS as Fi, FLOTOptions as Fn, ControlMeasureRender as Fr, WithdrawUnderPressureOptions as Ft, renderControlMeasure as G, CanonicalTextAmplifiers as Gi, RADAR_SEARCH_DOCTRINE_FILL_COLOR as Gn, DirectionOfSupportingAttackOptions as Gr, RearwardPassageOfLinesOptions as Gt, foldsBoxTransformOptions as H, resolveParameterSemanticRole as Hi, AirborneAttackOptions as Hn, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS as Hr, DEFAULT_RETIRE_OPTIONS as Ht, roundToFixed as I, ParamDescriptor as Ii, AttackByFireOptions as In, FeaturePartProps as Ir, DEFAULT_WITHDRAW_OPTIONS as It, isKind as J, TEXT_AMPLIFIER_FIELDS as Ji, DEFAULT_GENERIC_TEXT_OPTIONS as Jn, DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS as Jr, DEFAULT_GUARD_OPTIONS as Jt, ControlMeasure as K, GeneratedLabelKey as Ki, RADAR_SEARCH_DOCTRINE_STROKE_COLOR as Kn, DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS as Kr, DEFAULT_PENETRATE_OPTIONS as Kt, SimpleStyleProps as L, ParameterPresentationTier as Li, DEFAULT_ATTACK_BY_FIRE_OPTIONS as Ln, StyleHints as Lr, WithdrawOptions as Lt, BaselineFrameOrigin as M, ControlMeasureGeometryType as Mi, DEFAULT_PHASE_LINE_OPTIONS as Mn, EncirclementOptions as Mr, AntitankDitchOptions as Mt, createBaselineFrame as N, ControlMeasureMetadata as Ni, PhaseLineOptions as Nn, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS as Nr, DEFAULT_ANTITANK_DITCH_OPTIONS as Nt, snapToMidpointPerpendicular as O, MeasureTextRequest as Oi, BridgeheadLineOptions as On, DEFAULT_ASSEMBLY_AREA_OPTIONS as Or, DEFAULT_FORTIFIED_LINE_OPTIONS as Ot, EPSILON as P, ControlMeasurePaintCapability as Pi, DEFAULT_FLOT_OPTIONS as Pn, FinalProtectiveFireOptions as Pr, DEFAULT_WITHDRAW_UNDER_PRESSURE_OPTIONS as Pt, ControlMeasureKind as Q, canonicalTextAmplifierKey as Qi, DEFAULT_GENERIC_CIRCLE_OPTIONS as Qn, DEFAULT_STRONG_POINT_OPTIONS as Qr, DEFAULT_DISENGAGE_OPTIONS as Qt, SimpleStyleRender as R, ParameterSemanticRole as Ri, DEFAULT_SUPPORT_BY_FIRE_OPTIONS as Rn, controlMeasureIdFromFeature as Rr, DEFAULT_SEIZE_OPTIONS as Rt, containDrawRule as S, DEFAULT_LINE_CAP as Si, DEFAULT_HANDOVER_LINE_OPTIONS as Sn, MineType as Sr, DEFAULT_TURNING_MOVEMENT_OPTIONS as St, createMidpointPerpendicularDrawRule as T, DEFAULT_STROKE_DASH_CSS_PIXELS as Ti, ReleaseLineOptions as Tn, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS as Tr, FrontalAttackOptions as Tt, freezeOrientationOptions as U, AmplifierPlacement as Ui, DEFAULT_AIRBORNE_ATTACK_OPTIONS as Un, PrincipalDirectionOfFireOptions as Ur, RetireOptions as Ut, applyBoxTransformOptions as V, resolveParameterPresentationTier as Vi, DEFAULT_ATTACK_HELICOPTER_OPTIONS as Vn, SecondaryDirectionOfFireOptions as Vr, ScreenOptions as Vt, RenderOptions as W, AmplifierPlacements as Wi, DEFAULT_RADAR_SEARCH_DOCTRINE_OPTIONS as Wn, DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS as Wr, DEFAULT_REARWARD_PASSAGE_OF_LINES_OPTIONS as Wt, CONTROL_MEASURE_METADATA as X, TextAmplifierKey as Xi, DEFAULT_GENERIC_SECTOR_OPTIONS as Xn, DEFAULT_RETAIN_OPTIONS as Xr, DEFAULT_DISRUPT_MISSION_TASK_OPTIONS as Xt, CONTROL_MEASURE_IDS as Y, TextAmplifierField as Yi, GenericTextOptions as Yn, DirectionOfAttackAviationOptions as Yr, GuardOptions as Yt, ControlMeasureId as Z, TextAmplifiers as Zi, GenericSectorOptions as Zn, RetainOptions as Zr, DisruptMissionTaskOptions as Zt, point12DrawRule as _, DEFAULT_BOUNDARY_OPTIONS as _i, DEFAULT_BREACH_OPTIONS as _n, computeInitialWidthPoint as _r, FixOptions as _t, axis1DrawRule as a, GenericC2LineOptions as ai, TacticalArrowOptions as an, GenericLineOptions as ar, ObstacleBypassImpossibleOptions as at, disruptDrawRule as b, DEFAULT_LABEL_HEIGHT_CSS_PIXELS as bi, BattleHandoverLineOptions as bn, DEFAULT_PICKUP_ZONE_OPTIONS as br, BlockOptions as bt, line26DrawRule as c, DEFAULT_LIGHT_LINE_OPTIONS as ci, CounterattackOptions as cn, DEFAULT_BLOCK_ARROW_OPTIONS as cr, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS as ct, turnDrawRule as d, Point2D as di, DEFAULT_CLEAR_OPTIONS as dn, DEFAULT_CLASSIC_ARROW_OPTIONS as dr, MinefieldOptions as dt, resolveAmplifierPlacement as ea, ContainOptions as ei, DEFAULT_DELAY_OPTIONS as en, DEFAULT_GENERIC_RECTANGLE_OPTIONS as er, getControlMeasureMetadata as et, line1DrawRule as f, haversineDistance as fi, CanalizeOptions as fn, DEFAULT_SUPPORTING_ATTACK_OPTIONS as fr, DEFAULT_TURN_OPTIONS as ft, staticPointDrawRule as g, BoundaryOptions as gi, BreachOptions as gn, calculateMetrics as gr, DEFAULT_FIX_OPTIONS as gt, dynamicPointDrawRule as h, unproject as hi, DEFAULT_BYPASS_OPTIONS as hn, MainAttackOptions as hr, FixMissionTaskOptions as ht, rectangleDrawRule as i, DEFAULT_GENERIC_C2_LINE_OPTIONS as ii, DEFAULT_TACTICAL_ARROW_OPTIONS as in, DEFAULT_GENERIC_LINE_OPTIONS as ir, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS as it, BaselineFrameOptions as j, ControlMeasureGeometry as ji, ForwardEdgeOfBattleAreaOptions as jn, DEFAULT_ENCIRCLEMENT_OPTIONS as jr, DEFAULT_ANTITANK_WALL_OPTIONS as jt, BaselineFrame as k, MeasuredText as ki, DEFAULT_BRIDGEHEAD_LINE_OPTIONS as kn, AreaDefenseOptions as kr, FortifiedLineOptions as kt, line24DrawRule as l, LightLineOptions as li, DEFAULT_COUNTERATTACK_OPTIONS as ln, ClassicArrowHeadStyle as lr, ObstacleBypassEasyOptions as lt, attackByFireDrawRule as m, sphericalBearing as mi, BypassOptions as mn, DEFAULT_MAIN_ATTACK_OPTIONS as mr, DEFAULT_FIX_MISSION_TASK_OPTIONS as mt, DEFAULT_AMBUSH_OPTIONS as n, ControlMeasureDrawRule as na, BattlePositionOptions as ni, CoverOptions as nn, DEFAULT_GENERIC_POLYGON_OPTIONS as nr, getDefaultOptions as nt, supportByFireDrawRule as o, DEFAULT_ENGINEER_WORK_LINE_OPTIONS as oi, CounterattackByFireOptions as on, BlockArrowHeadStyle as or, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS as ot, ambushDrawRule as p, project as pi, DEFAULT_CANALIZE_OPTIONS as pn, SupportingAttackOptions as pr, TurnOptions as pt, cloneControlMeasure as q, LabelPlacementOverride as qi, RadarSearchDoctrineOptions as qn, DirectionOfMainAttackOptions as qr, PenetrateOptions as qt, sectorDrawRule as r, DEFAULT_BATTLE_POSITION_OPTIONS as ri, DEFAULT_COVER_OPTIONS as rn, GenericPolygonOptions as rr, listControlMeasureMetadata as rt, line27DrawRule as s, EngineerWorkLineOptions as si, DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS as sn, BlockArrowOptions as sr, ObstacleBypassDifficultOptions as st, AmbushOptions as t, AnchorTransformEvent as ta, DEFAULT_CONTAIN_OPTIONS as ti, DelayOptions as tn, GenericRectangleOptions as tr, getControlMeasureMetadataByValue as tt, line23DrawRule as u, LabelSizeOptions as ui, ClearOptions as un, ClassicArrowOptions as ur, DEFAULT_MINEFIELD_OPTIONS as ut, penetrateDrawRule as v, BoxTransformDelta as vi, BlockMissionTaskOptions as vn, AreaOfOperationsOptions as vr, DEFAULT_DISRUPT_OPTIONS as vt, computeDefaultMidpointPerpendicularPoint as w, DEFAULT_PORTRAYAL as wi, DEFAULT_RELEASE_LINE_OPTIONS as wn, LandingZoneOptions as wr, DEFAULT_FRONTAL_ATTACK_OPTIONS as wt, blockDrawRule as x, DEFAULT_LABEL_SIZE_CLAMP_CSS_PIXELS as xi, DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS as xn, PickupZoneOptions as xr, DEFAULT_BLOCK_OPTIONS as xt, centerRadiusDrawRule as y, ControlMeasureRenderContext as yi, DEFAULT_BLOCK_MISSION_TASK_OPTIONS as yn, DEFAULT_AREA_OF_OPERATIONS_OPTIONS as yr, DisruptOptions as yt, toSimpleStyle as z, TextAmplifierDescriptor as zi, SupportByFireOptions as zn, DEFAULT_SECONDARY_DIRECTION_OF_FIRE_OPTIONS as zr, SeizeOptions as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as OptionsByKind, $i as normalizeTextAmplifiers, $n as GenericCircleOptions, $r as StrongPointOptions, $t as DisengageOptions, A as BaselineFrameNormal, Ai as ControlMeasureFillCapability, An as DEFAULT_FORWARD_EDGE_OF_BATTLE_AREA_OPTIONS, Ar as DEFAULT_AREA_DEFENSE_OPTIONS, At as AntitankWallOptions, B as resolveStyleHints, Bi as parameterPresentationTierRank, Bn as AttackHelicopterOptions, Br as SECONDARY_DIRECTION_OF_FIRE_DASH, Bt as DEFAULT_SCREEN_OPTIONS, C as MidpointPerpendicularDrawRuleOptions, Ci as DEFAULT_LINE_JOIN, Cn as HandoverLineOptions, Cr as DEFAULT_LANDING_ZONE_OPTIONS, Ct as TurningMovementOptions, D as pointOnMidpointPerpendicularAxis, Di as LogicalTextStyle, Dn as HoldingLineOptions, Dr as AssemblyAreaOptions, Dt as FortifiedAreaOptions, E as getMidpointPerpendicularSignedDistance, Ei as DEFAULT_STROKE_WIDTH_CSS_PIXELS, En as DEFAULT_HOLDING_LINE_OPTIONS, Er as JointTacticalActionAreaOptions, Et as DEFAULT_FORTIFIED_AREA_OPTIONS, F as getMetersPerPixel, Fi as PARAMETER_PRESENTATION_TIERS, Fn as FLOTOptions, Fr as ControlMeasureRender, Ft as WithdrawUnderPressureOptions, G as renderControlMeasure, Gi as CanonicalTextAmplifiers, Gn as RADAR_SEARCH_DOCTRINE_FILL_COLOR, Gr as DirectionOfSupportingAttackOptions, Gt as RearwardPassageOfLinesOptions, H as foldsBoxTransformOptions, Hi as resolveParameterSemanticRole, Hn as AirborneAttackOptions, Hr as DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, Ht as DEFAULT_RETIRE_OPTIONS, I as roundToFixed, Ii as ParamDescriptor, In as AttackByFireOptions, Ir as FeaturePartProps, It as DEFAULT_WITHDRAW_OPTIONS, J as isKind, Ji as TEXT_AMPLIFIER_FIELDS, Jn as DEFAULT_GENERIC_TEXT_OPTIONS, Jr as DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, Jt as DEFAULT_GUARD_OPTIONS, K as ControlMeasure, Ki as GeneratedLabelKey, Kn as RADAR_SEARCH_DOCTRINE_STROKE_COLOR, Kr as DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, Kt as DEFAULT_PENETRATE_OPTIONS, L as SimpleStyleProps, Li as ParameterPresentationTier, Ln as DEFAULT_ATTACK_BY_FIRE_OPTIONS, Lr as StyleHints, Lt as WithdrawOptions, M as BaselineFrameOrigin, Mi as ControlMeasureGeometryType, Mn as DEFAULT_PHASE_LINE_OPTIONS, Mr as EncirclementOptions, Mt as AntitankDitchOptions, N as createBaselineFrame, Ni as ControlMeasureMetadata, Nn as PhaseLineOptions, Nr as DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, Nt as DEFAULT_ANTITANK_DITCH_OPTIONS, O as snapToMidpointPerpendicular, Oi as MeasureTextRequest, On as BridgeheadLineOptions, Or as DEFAULT_ASSEMBLY_AREA_OPTIONS, Ot as DEFAULT_FORTIFIED_LINE_OPTIONS, P as EPSILON, Pi as ControlMeasurePaintCapability, Pn as DEFAULT_FLOT_OPTIONS, Pr as FinalProtectiveFireOptions, Pt as DEFAULT_WITHDRAW_UNDER_PRESSURE_OPTIONS, Q as ControlMeasureKind, Qi as canonicalTextAmplifierKey, Qn as DEFAULT_GENERIC_CIRCLE_OPTIONS, Qr as DEFAULT_STRONG_POINT_OPTIONS, Qt as DEFAULT_DISENGAGE_OPTIONS, R as SimpleStyleRender, Ri as ParameterSemanticRole, Rn as DEFAULT_SUPPORT_BY_FIRE_OPTIONS, Rr as controlMeasureIdFromFeature, Rt as DEFAULT_SEIZE_OPTIONS, S as containDrawRule, Si as DEFAULT_LINE_CAP, Sn as DEFAULT_HANDOVER_LINE_OPTIONS, Sr as MineType, St as DEFAULT_TURNING_MOVEMENT_OPTIONS, T as createMidpointPerpendicularDrawRule, Ti as DEFAULT_STROKE_DASH_CSS_PIXELS, Tn as ReleaseLineOptions, Tr as DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, Tt as FrontalAttackOptions, U as freezeOrientationOptions, Ui as AmplifierPlacement, Un as DEFAULT_AIRBORNE_ATTACK_OPTIONS, Ur as PrincipalDirectionOfFireOptions, Ut as RetireOptions, V as applyBoxTransformOptions, Vi as resolveParameterPresentationTier, Vn as DEFAULT_ATTACK_HELICOPTER_OPTIONS, Vr as SecondaryDirectionOfFireOptions, Vt as ScreenOptions, W as RenderOptions, Wi as AmplifierPlacements, Wn as DEFAULT_RADAR_SEARCH_DOCTRINE_OPTIONS, Wr as DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, Wt as DEFAULT_REARWARD_PASSAGE_OF_LINES_OPTIONS, X as CONTROL_MEASURE_METADATA, Xi as TextAmplifierKey, Xn as DEFAULT_GENERIC_SECTOR_OPTIONS, Xr as DEFAULT_RETAIN_OPTIONS, Xt as DEFAULT_DISRUPT_MISSION_TASK_OPTIONS, Y as CONTROL_MEASURE_IDS, Yi as TextAmplifierField, Yn as GenericTextOptions, Yr as DirectionOfAttackAviationOptions, Yt as GuardOptions, Z as ControlMeasureId, Zi as TextAmplifiers, Zn as GenericSectorOptions, Zr as RetainOptions, Zt as DisruptMissionTaskOptions, _ as point12DrawRule, _i as DEFAULT_BOUNDARY_OPTIONS, _n as DEFAULT_BREACH_OPTIONS, _r as computeInitialWidthPoint, _t as FixOptions, a as axis1DrawRule, ai as GenericC2LineOptions, an as TacticalArrowOptions, ar as GenericLineOptions, at as ObstacleBypassImpossibleOptions, b as disruptDrawRule, bi as DEFAULT_LABEL_HEIGHT_CSS_PIXELS, bn as BattleHandoverLineOptions, br as DEFAULT_PICKUP_ZONE_OPTIONS, bt as BlockOptions, c as line26DrawRule, ci as DEFAULT_LIGHT_LINE_OPTIONS, cn as CounterattackOptions, cr as DEFAULT_BLOCK_ARROW_OPTIONS, ct as DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, d as turnDrawRule, di as Point2D, dn as DEFAULT_CLEAR_OPTIONS, dr as DEFAULT_CLASSIC_ARROW_OPTIONS, dt as MinefieldOptions, ea as resolveAmplifierPlacement, ei as ContainOptions, en as DEFAULT_DELAY_OPTIONS, er as DEFAULT_GENERIC_RECTANGLE_OPTIONS, et as getControlMeasureMetadata, f as line1DrawRule, fi as haversineDistance, fn as CanalizeOptions, fr as DEFAULT_SUPPORTING_ATTACK_OPTIONS, ft as DEFAULT_TURN_OPTIONS, g as staticPointDrawRule, gi as BoundaryOptions, gn as BreachOptions, gr as calculateMetrics, gt as DEFAULT_FIX_OPTIONS, h as dynamicPointDrawRule, hi as unproject, hn as DEFAULT_BYPASS_OPTIONS, hr as MainAttackOptions, ht as FixMissionTaskOptions, i as rectangleDrawRule, ii as DEFAULT_GENERIC_C2_LINE_OPTIONS, in as DEFAULT_TACTICAL_ARROW_OPTIONS, ir as DEFAULT_GENERIC_LINE_OPTIONS, it as DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, j as BaselineFrameOptions, ji as ControlMeasureGeometry, jn as ForwardEdgeOfBattleAreaOptions, jr as DEFAULT_ENCIRCLEMENT_OPTIONS, jt as DEFAULT_ANTITANK_WALL_OPTIONS, k as BaselineFrame, ki as MeasuredText, kn as DEFAULT_BRIDGEHEAD_LINE_OPTIONS, kr as AreaDefenseOptions, kt as FortifiedLineOptions, l as line24DrawRule, li as LightLineOptions, ln as DEFAULT_COUNTERATTACK_OPTIONS, lr as ClassicArrowHeadStyle, lt as ObstacleBypassEasyOptions, m as attackByFireDrawRule, mi as sphericalBearing, mn as BypassOptions, mr as DEFAULT_MAIN_ATTACK_OPTIONS, mt as DEFAULT_FIX_MISSION_TASK_OPTIONS, n as DEFAULT_AMBUSH_OPTIONS, na as ControlMeasureDrawRule, ni as BattlePositionOptions, nn as CoverOptions, nr as DEFAULT_GENERIC_POLYGON_OPTIONS, nt as getDefaultOptions, o as supportByFireDrawRule, oi as DEFAULT_ENGINEER_WORK_LINE_OPTIONS, on as CounterattackByFireOptions, or as BlockArrowHeadStyle, ot as DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, p as ambushDrawRule, pi as project, pn as DEFAULT_CANALIZE_OPTIONS, pr as SupportingAttackOptions, pt as TurnOptions, q as cloneControlMeasure, qi as LabelPlacementOverride, qn as RadarSearchDoctrineOptions, qr as DirectionOfMainAttackOptions, qt as PenetrateOptions, r as sectorDrawRule, ri as DEFAULT_BATTLE_POSITION_OPTIONS, rn as DEFAULT_COVER_OPTIONS, rr as GenericPolygonOptions, rt as listControlMeasureMetadata, s as line27DrawRule, si as EngineerWorkLineOptions, sn as DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS, sr as BlockArrowOptions, st as ObstacleBypassDifficultOptions, t as AmbushOptions, ta as AnchorTransformEvent, ti as DEFAULT_CONTAIN_OPTIONS, tn as DelayOptions, tr as GenericRectangleOptions, tt as getControlMeasureMetadataByValue, u as line23DrawRule, ui as LabelSizeOptions, un as ClearOptions, ur as ClassicArrowOptions, ut as DEFAULT_MINEFIELD_OPTIONS, v as penetrateDrawRule, vi as BoxTransformDelta, vn as BlockMissionTaskOptions, vr as AreaOfOperationsOptions, vt as DEFAULT_DISRUPT_OPTIONS, w as computeDefaultMidpointPerpendicularPoint, wi as DEFAULT_PORTRAYAL, wn as DEFAULT_RELEASE_LINE_OPTIONS, wr as LandingZoneOptions, wt as DEFAULT_FRONTAL_ATTACK_OPTIONS, x as blockDrawRule, xi as DEFAULT_LABEL_SIZE_CLAMP_CSS_PIXELS, xn as DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, xr as PickupZoneOptions, xt as DEFAULT_BLOCK_OPTIONS, y as centerRadiusDrawRule, yi as ControlMeasureRenderContext, yn as DEFAULT_BLOCK_MISSION_TASK_OPTIONS, yr as DEFAULT_AREA_OF_OPERATIONS_OPTIONS, yt as DisruptOptions, z as toSimpleStyle, zi as TextAmplifierDescriptor, zn as SupportByFireOptions, zr as DEFAULT_SECONDARY_DIRECTION_OF_FIRE_OPTIONS, zt as SeizeOptions } from "./index-QyKWkgNo.mjs";
|
|
2
2
|
import { a as PatternId, c as PatternPoint, d as ControlMeasureStyle, f as FillPattern, i as NON_SOLID_FILL_PATTERNS, l as PatternStroke, n as FillPatternCommand, o as PatternPaint, r as FillPatternDefinition, s as PatternPathOperation, t as FILL_PATTERN_DEFINITIONS, u as getFillPatternDefinition } from "./patterns-CcQmmOuJ.mjs";
|
|
3
|
-
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 BoxTransformDelta, type BreachOptions, type BridgeheadLineOptions, type BypassOptions, CONTROL_MEASURE_IDS, CONTROL_MEASURE_METADATA, type CanalizeOptions, type CanonicalTextAmplifiers, type ClassicArrowHeadStyle, type ClassicArrowOptions, type ClearOptions, type ControlMeasure, type ControlMeasureDrawRule, type ControlMeasureFillCapability, type ControlMeasureGeometry, type ControlMeasureGeometryType, type ControlMeasureId, type ControlMeasureKind, type ControlMeasureMetadata, type ControlMeasurePaintCapability, type ControlMeasureRender, type ControlMeasureRenderContext, type ControlMeasureStyle, type CounterattackByFireOptions, type CounterattackOptions, 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_BRIDGEHEAD_LINE_OPTIONS, DEFAULT_BYPASS_OPTIONS, DEFAULT_CANALIZE_OPTIONS, DEFAULT_CLASSIC_ARROW_OPTIONS, DEFAULT_CLEAR_OPTIONS, DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS, DEFAULT_COUNTERATTACK_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_DISENGAGE_OPTIONS, DEFAULT_DISRUPT_MISSION_TASK_OPTIONS, DEFAULT_DISRUPT_OPTIONS, DEFAULT_ENCIRCLEMENT_OPTIONS, DEFAULT_ENGINEER_WORK_LINE_OPTIONS, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, DEFAULT_FIX_MISSION_TASK_OPTIONS, DEFAULT_FIX_OPTIONS, DEFAULT_FLOT_OPTIONS, DEFAULT_FORTIFIED_AREA_OPTIONS, DEFAULT_FORTIFIED_LINE_OPTIONS, DEFAULT_FORWARD_EDGE_OF_BATTLE_AREA_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_GENERIC_SECTOR_OPTIONS, DEFAULT_GENERIC_TEXT_OPTIONS, DEFAULT_GUARD_OPTIONS, DEFAULT_HANDOVER_LINE_OPTIONS, DEFAULT_HOLDING_LINE_OPTIONS, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, DEFAULT_LABEL_HEIGHT_CSS_PIXELS, DEFAULT_LABEL_SIZE_CLAMP_CSS_PIXELS, DEFAULT_LANDING_ZONE_OPTIONS, DEFAULT_LIGHT_LINE_OPTIONS, DEFAULT_LINE_CAP, DEFAULT_LINE_JOIN, DEFAULT_MAIN_ATTACK_OPTIONS, DEFAULT_MINEFIELD_OPTIONS, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, DEFAULT_PENETRATE_OPTIONS, DEFAULT_PHASE_LINE_OPTIONS, DEFAULT_PICKUP_ZONE_OPTIONS, DEFAULT_PORTRAYAL, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_RADAR_SEARCH_DOCTRINE_OPTIONS, DEFAULT_REARWARD_PASSAGE_OF_LINES_OPTIONS, DEFAULT_RELEASE_LINE_OPTIONS, DEFAULT_RETIRE_OPTIONS, DEFAULT_SCREEN_OPTIONS, DEFAULT_SECONDARY_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_SEIZE_OPTIONS, DEFAULT_STROKE_DASH_CSS_PIXELS, DEFAULT_STROKE_WIDTH_CSS_PIXELS, DEFAULT_STRONG_POINT_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURNING_MOVEMENT_OPTIONS, DEFAULT_TURN_OPTIONS, DEFAULT_WITHDRAW_OPTIONS, DEFAULT_WITHDRAW_UNDER_PRESSURE_OPTIONS, type DelayOptions, type DirectionOfAttackAviationOptions, type DirectionOfMainAttackOptions, type DirectionOfSupportingAttackOptions, type DisengageOptions, type DisruptMissionTaskOptions, type DisruptOptions, EPSILON, type EncirclementOptions, type EngineerWorkLineOptions, FILL_PATTERN_DEFINITIONS, type FLOTOptions, type FeaturePartProps, type FillPattern, type FillPatternCommand, type FillPatternDefinition, type FinalProtectiveFireOptions, type FixMissionTaskOptions, type FixOptions, type FortifiedAreaOptions, type FortifiedLineOptions, type ForwardEdgeOfBattleAreaOptions, type FrontalAttackOptions, type GeneratedLabelKey, type GenericC2LineOptions, type GenericCircleOptions, type GenericLineOptions, type GenericPolygonOptions, type GenericRectangleOptions, type GenericSectorOptions, type GenericTextOptions, type GuardOptions, type HandoverLineOptions, type HoldingLineOptions, type JointTacticalActionAreaOptions, type LabelPlacementOverride, type LabelSizeOptions, type LandingZoneOptions, type LightLineOptions, type LogicalTextStyle, type MainAttackOptions, type MeasureTextRequest, type MeasuredText, type MidpointPerpendicularDrawRuleOptions, type MineType, type MinefieldOptions, NON_SOLID_FILL_PATTERNS, type ObstacleBypassDifficultOptions, type ObstacleBypassEasyOptions, type ObstacleBypassImpossibleOptions, type OptionsByKind, PARAMETER_PRESENTATION_TIERS, type ParamDescriptor, type ParameterPresentationTier, type ParameterSemanticRole, type PatternId, type PatternPaint, type PatternPathOperation, type PatternPoint, type PatternStroke, type PenetrateOptions, type PhaseLineOptions, type PickupZoneOptions, type Point2D, type PrincipalDirectionOfFireOptions, RADAR_SEARCH_DOCTRINE_FILL_COLOR, RADAR_SEARCH_DOCTRINE_STROKE_COLOR, type RadarSearchDoctrineOptions, type RearwardPassageOfLinesOptions, type ReleaseLineOptions, type RenderOptions, type RetireOptions, SECONDARY_DIRECTION_OF_FIRE_DASH, type ScreenOptions, type SecondaryDirectionOfFireOptions, type SeizeOptions, 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, type WithdrawOptions, type WithdrawUnderPressureOptions, ambushDrawRule, applyBoxTransformOptions, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, canonicalTextAmplifierKey, centerRadiusDrawRule, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, dynamicPointDrawRule, foldsBoxTransformOptions, freezeOrientationOptions, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getFillPatternDefinition, getMetersPerPixel, getMidpointPerpendicularSignedDistance, haversineDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, line26DrawRule, line27DrawRule, listControlMeasureMetadata, normalizeTextAmplifiers, parameterPresentationTierRank, penetrateDrawRule, point12DrawRule, pointOnMidpointPerpendicularAxis, project, rectangleDrawRule, renderControlMeasure, resolveAmplifierPlacement, resolveParameterPresentationTier, resolveParameterSemanticRole, resolveStyleHints, roundToFixed, sectorDrawRule, snapToMidpointPerpendicular, sphericalBearing, staticPointDrawRule, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
|
|
3
|
+
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 BoxTransformDelta, type BreachOptions, type BridgeheadLineOptions, type BypassOptions, CONTROL_MEASURE_IDS, CONTROL_MEASURE_METADATA, type CanalizeOptions, type CanonicalTextAmplifiers, type ClassicArrowHeadStyle, type ClassicArrowOptions, type ClearOptions, type ContainOptions, type ControlMeasure, type ControlMeasureDrawRule, type ControlMeasureFillCapability, type ControlMeasureGeometry, type ControlMeasureGeometryType, type ControlMeasureId, type ControlMeasureKind, type ControlMeasureMetadata, type ControlMeasurePaintCapability, type ControlMeasureRender, type ControlMeasureRenderContext, type ControlMeasureStyle, type CounterattackByFireOptions, type CounterattackOptions, 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_BRIDGEHEAD_LINE_OPTIONS, DEFAULT_BYPASS_OPTIONS, DEFAULT_CANALIZE_OPTIONS, DEFAULT_CLASSIC_ARROW_OPTIONS, DEFAULT_CLEAR_OPTIONS, DEFAULT_CONTAIN_OPTIONS, DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS, DEFAULT_COUNTERATTACK_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_DISENGAGE_OPTIONS, DEFAULT_DISRUPT_MISSION_TASK_OPTIONS, DEFAULT_DISRUPT_OPTIONS, DEFAULT_ENCIRCLEMENT_OPTIONS, DEFAULT_ENGINEER_WORK_LINE_OPTIONS, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, DEFAULT_FIX_MISSION_TASK_OPTIONS, DEFAULT_FIX_OPTIONS, DEFAULT_FLOT_OPTIONS, DEFAULT_FORTIFIED_AREA_OPTIONS, DEFAULT_FORTIFIED_LINE_OPTIONS, DEFAULT_FORWARD_EDGE_OF_BATTLE_AREA_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_GENERIC_SECTOR_OPTIONS, DEFAULT_GENERIC_TEXT_OPTIONS, DEFAULT_GUARD_OPTIONS, DEFAULT_HANDOVER_LINE_OPTIONS, DEFAULT_HOLDING_LINE_OPTIONS, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, DEFAULT_LABEL_HEIGHT_CSS_PIXELS, DEFAULT_LABEL_SIZE_CLAMP_CSS_PIXELS, DEFAULT_LANDING_ZONE_OPTIONS, DEFAULT_LIGHT_LINE_OPTIONS, DEFAULT_LINE_CAP, DEFAULT_LINE_JOIN, DEFAULT_MAIN_ATTACK_OPTIONS, DEFAULT_MINEFIELD_OPTIONS, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, DEFAULT_PENETRATE_OPTIONS, DEFAULT_PHASE_LINE_OPTIONS, DEFAULT_PICKUP_ZONE_OPTIONS, DEFAULT_PORTRAYAL, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_RADAR_SEARCH_DOCTRINE_OPTIONS, DEFAULT_REARWARD_PASSAGE_OF_LINES_OPTIONS, DEFAULT_RELEASE_LINE_OPTIONS, DEFAULT_RETAIN_OPTIONS, DEFAULT_RETIRE_OPTIONS, DEFAULT_SCREEN_OPTIONS, DEFAULT_SECONDARY_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_SEIZE_OPTIONS, DEFAULT_STROKE_DASH_CSS_PIXELS, DEFAULT_STROKE_WIDTH_CSS_PIXELS, DEFAULT_STRONG_POINT_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURNING_MOVEMENT_OPTIONS, DEFAULT_TURN_OPTIONS, DEFAULT_WITHDRAW_OPTIONS, DEFAULT_WITHDRAW_UNDER_PRESSURE_OPTIONS, type DelayOptions, type DirectionOfAttackAviationOptions, type DirectionOfMainAttackOptions, type DirectionOfSupportingAttackOptions, type DisengageOptions, type DisruptMissionTaskOptions, type DisruptOptions, EPSILON, type EncirclementOptions, type EngineerWorkLineOptions, FILL_PATTERN_DEFINITIONS, type FLOTOptions, type FeaturePartProps, type FillPattern, type FillPatternCommand, type FillPatternDefinition, type FinalProtectiveFireOptions, type FixMissionTaskOptions, type FixOptions, type FortifiedAreaOptions, type FortifiedLineOptions, type ForwardEdgeOfBattleAreaOptions, type FrontalAttackOptions, type GeneratedLabelKey, type GenericC2LineOptions, type GenericCircleOptions, type GenericLineOptions, type GenericPolygonOptions, type GenericRectangleOptions, type GenericSectorOptions, type GenericTextOptions, type GuardOptions, type HandoverLineOptions, type HoldingLineOptions, type JointTacticalActionAreaOptions, type LabelPlacementOverride, type LabelSizeOptions, type LandingZoneOptions, type LightLineOptions, type LogicalTextStyle, type MainAttackOptions, type MeasureTextRequest, type MeasuredText, type MidpointPerpendicularDrawRuleOptions, type MineType, type MinefieldOptions, NON_SOLID_FILL_PATTERNS, type ObstacleBypassDifficultOptions, type ObstacleBypassEasyOptions, type ObstacleBypassImpossibleOptions, type OptionsByKind, PARAMETER_PRESENTATION_TIERS, type ParamDescriptor, type ParameterPresentationTier, type ParameterSemanticRole, type PatternId, type PatternPaint, type PatternPathOperation, type PatternPoint, type PatternStroke, type PenetrateOptions, type PhaseLineOptions, type PickupZoneOptions, type Point2D, type PrincipalDirectionOfFireOptions, RADAR_SEARCH_DOCTRINE_FILL_COLOR, RADAR_SEARCH_DOCTRINE_STROKE_COLOR, type RadarSearchDoctrineOptions, type RearwardPassageOfLinesOptions, type ReleaseLineOptions, type RenderOptions, type RetainOptions, type RetireOptions, SECONDARY_DIRECTION_OF_FIRE_DASH, type ScreenOptions, type SecondaryDirectionOfFireOptions, type SeizeOptions, 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, type WithdrawOptions, type WithdrawUnderPressureOptions, ambushDrawRule, applyBoxTransformOptions, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, canonicalTextAmplifierKey, centerRadiusDrawRule, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, containDrawRule, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, dynamicPointDrawRule, foldsBoxTransformOptions, freezeOrientationOptions, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getFillPatternDefinition, getMetersPerPixel, getMidpointPerpendicularSignedDistance, haversineDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, line26DrawRule, line27DrawRule, listControlMeasureMetadata, normalizeTextAmplifiers, parameterPresentationTierRank, penetrateDrawRule, point12DrawRule, pointOnMidpointPerpendicularAxis, project, rectangleDrawRule, renderControlMeasure, resolveAmplifierPlacement, resolveParameterPresentationTier, resolveParameterSemanticRole, resolveStyleHints, roundToFixed, sectorDrawRule, snapToMidpointPerpendicular, sphericalBearing, staticPointDrawRule, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DEFAULT_COVER_OPTIONS, $t as supportByFireDrawRule, A as DEFAULT_RETIRE_OPTIONS, An as getMetersPerPixel, At as DEFAULT_ANTITANK_DITCH_OPTIONS, B as DEFAULT_HOLDING_LINE_OPTIONS, Bt as resolveAmplifierPlacement, C as DEFAULT_MAIN_ATTACK_OPTIONS, Cn as calculateMetrics, Ct as DEFAULT_BLOCK_ARROW_OPTIONS, D as DEFAULT_WITHDRAW_OPTIONS, Dn as sphericalBearing, Dt as DEFAULT_ATTACK_HELICOPTER_OPTIONS, E as DEFAULT_WITHDRAW_UNDER_PRESSURE_OPTIONS, En as project, Et as DEFAULT_BATTLE_POSITION_OPTIONS, F as DEFAULT_FORTIFIED_LINE_OPTIONS, Ft as DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, G as DEFAULT_FIX_OPTIONS, Gt as DEFAULT_PORTRAYAL, H as DEFAULT_PHASE_LINE_OPTIONS, Ht as DEFAULT_LABEL_SIZE_CLAMP_CSS_PIXELS, I as DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, It as DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, J as DEFAULT_DISRUPT_OPTIONS, K as DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, Kt as DEFAULT_STROKE_DASH_CSS_PIXELS, L as DEFAULT_HANDOVER_LINE_OPTIONS, Lt as TEXT_AMPLIFIER_FIELDS, M as DEFAULT_PENETRATE_OPTIONS, Mt as DEFAULT_AREA_OF_OPERATIONS_OPTIONS, N as DEFAULT_FRONTAL_ATTACK_OPTIONS, Nt as DEFAULT_AREA_DEFENSE_OPTIONS, O as DEFAULT_SEIZE_OPTIONS, On as unproject, Ot as DEFAULT_ATTACK_BY_FIRE_OPTIONS, P as DEFAULT_FORTIFIED_AREA_OPTIONS, Pt as DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, Q as DEFAULT_DELAY_OPTIONS, Qt as axis1DrawRule, R as DEFAULT_FORWARD_EDGE_OF_BATTLE_AREA_OPTIONS, Rt as canonicalTextAmplifierKey, S as DEFAULT_MINEFIELD_OPTIONS, Sn as createBaselineFrame, St as DEFAULT_BOUNDARY_OPTIONS, T as DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, Tn as haversineDistance, Tt as DEFAULT_CONTAIN_OPTIONS, U as DEFAULT_FLOT_OPTIONS, Ut as DEFAULT_LINE_CAP, V as DEFAULT_BRIDGEHEAD_LINE_OPTIONS, Vt as DEFAULT_LABEL_HEIGHT_CSS_PIXELS, W as DEFAULT_FIX_MISSION_TASK_OPTIONS, Wt as DEFAULT_LINE_JOIN, X as DEFAULT_DISRUPT_MISSION_TASK_OPTIONS, Xt as DEFAULT_AIRBORNE_ATTACK_OPTIONS, Y as DEFAULT_GUARD_OPTIONS, Yt as DEFAULT_AMBUSH_OPTIONS, Z as DEFAULT_DISENGAGE_OPTIONS, Zt as rectangleDrawRule, _ as DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, _n as computeDefaultMidpointPerpendicularPoint, _t as DEFAULT_BREACH_OPTIONS, a as DEFINITIONS, an as line1DrawRule, at as DEFAULT_RADAR_SEARCH_DOCTRINE_OPTIONS, b as DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, bn as pointOnMidpointPerpendicularAxis, bt as DEFAULT_ENGINEER_WORK_LINE_OPTIONS, c as getDefaultOptions, cn as dynamicPointDrawRule, ct as DEFAULT_GENERIC_TEXT_OPTIONS, d as DEFAULT_TURN_OPTIONS, dn as point12DrawRule, dt as DEFAULT_GENERIC_POLYGON_OPTIONS, en as line27DrawRule, et as DEFAULT_TACTICAL_ARROW_OPTIONS, f as DEFAULT_SUPPORT_BY_FIRE_OPTIONS, fn as penetrateDrawRule, ft as DEFAULT_GENERIC_LINE_OPTIONS, g as SECONDARY_DIRECTION_OF_FIRE_DASH, gn as containDrawRule, gt as DEFAULT_BYPASS_OPTIONS, h as DEFAULT_SECONDARY_DIRECTION_OF_FIRE_OPTIONS, hn as centerRadiusDrawRule, ht as DEFAULT_CANALIZE_OPTIONS, i as CONTROL_MEASURE_METADATA, in as turnDrawRule, it as DEFAULT_CLEAR_OPTIONS, j as DEFAULT_REARWARD_PASSAGE_OF_LINES_OPTIONS, jn as roundToFixed, jt as DEFAULT_ASSEMBLY_AREA_OPTIONS, k as DEFAULT_SCREEN_OPTIONS, kn as EPSILON, kt as DEFAULT_ANTITANK_WALL_OPTIONS, l as listControlMeasureMetadata, ln as sectorDrawRule, lt as DEFAULT_GENERIC_SECTOR_OPTIONS, m as DEFAULT_STRONG_POINT_OPTIONS, mn as blockDrawRule, mt as DEFAULT_CLASSIC_ARROW_OPTIONS, n as resolveStyleHints, nn as line24DrawRule, nt as DEFAULT_COUNTERATTACK_OPTIONS, o as getControlMeasureMetadata, on as ambushDrawRule, ot as RADAR_SEARCH_DOCTRINE_FILL_COLOR, p as DEFAULT_RETAIN_OPTIONS, pn as disruptDrawRule, pt as DEFAULT_GENERIC_CIRCLE_OPTIONS, q as DEFAULT_ENCIRCLEMENT_OPTIONS, qt as DEFAULT_STROKE_WIDTH_CSS_PIXELS, r as CONTROL_MEASURE_IDS, rn as line23DrawRule, rt as DEFAULT_SUPPORTING_ATTACK_OPTIONS, s as getControlMeasureMetadataByValue, sn as attackByFireDrawRule, st as RADAR_SEARCH_DOCTRINE_STROKE_COLOR, t as renderControlMeasure, tn as line26DrawRule, tt as DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS, u as DEFAULT_TURNING_MOVEMENT_OPTIONS, un as staticPointDrawRule, ut as DEFAULT_GENERIC_RECTANGLE_OPTIONS, v as DEFAULT_PICKUP_ZONE_OPTIONS, vn as createMidpointPerpendicularDrawRule, vt as DEFAULT_BLOCK_MISSION_TASK_OPTIONS, w as DEFAULT_LANDING_ZONE_OPTIONS, wn as computeInitialWidthPoint, wt as DEFAULT_BLOCK_OPTIONS, x as DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, xn as snapToMidpointPerpendicular, xt as DEFAULT_LIGHT_LINE_OPTIONS, y as DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, yn as getMidpointPerpendicularSignedDistance, yt as DEFAULT_GENERIC_C2_LINE_OPTIONS, z as DEFAULT_RELEASE_LINE_OPTIONS, zt as normalizeTextAmplifiers } from "./renderControlMeasure-BHIGHuop.mjs";
|
|
2
2
|
import { FILL_PATTERN_DEFINITIONS, NON_SOLID_FILL_PATTERNS, getFillPatternDefinition } from "./patterns.mjs";
|
|
3
3
|
//#region src/metadata.ts
|
|
4
4
|
const PARAMETER_PRESENTATION_TIERS = [
|
|
@@ -157,4 +157,4 @@ function toHexChannel(value) {
|
|
|
157
157
|
return Math.max(0, Math.min(255, Math.round(value))).toString(16).padStart(2, "0");
|
|
158
158
|
}
|
|
159
159
|
//#endregion
|
|
160
|
-
export { CONTROL_MEASURE_IDS, CONTROL_MEASURE_METADATA, 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_BRIDGEHEAD_LINE_OPTIONS, DEFAULT_BYPASS_OPTIONS, DEFAULT_CANALIZE_OPTIONS, DEFAULT_CLASSIC_ARROW_OPTIONS, DEFAULT_CLEAR_OPTIONS, DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS, DEFAULT_COUNTERATTACK_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_DISENGAGE_OPTIONS, DEFAULT_DISRUPT_MISSION_TASK_OPTIONS, DEFAULT_DISRUPT_OPTIONS, DEFAULT_ENCIRCLEMENT_OPTIONS, DEFAULT_ENGINEER_WORK_LINE_OPTIONS, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, DEFAULT_FIX_MISSION_TASK_OPTIONS, DEFAULT_FIX_OPTIONS, DEFAULT_FLOT_OPTIONS, DEFAULT_FORTIFIED_AREA_OPTIONS, DEFAULT_FORTIFIED_LINE_OPTIONS, DEFAULT_FORWARD_EDGE_OF_BATTLE_AREA_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_GENERIC_SECTOR_OPTIONS, DEFAULT_GENERIC_TEXT_OPTIONS, DEFAULT_GUARD_OPTIONS, DEFAULT_HANDOVER_LINE_OPTIONS, DEFAULT_HOLDING_LINE_OPTIONS, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, DEFAULT_LABEL_HEIGHT_CSS_PIXELS, DEFAULT_LABEL_SIZE_CLAMP_CSS_PIXELS, DEFAULT_LANDING_ZONE_OPTIONS, DEFAULT_LIGHT_LINE_OPTIONS, DEFAULT_LINE_CAP, DEFAULT_LINE_JOIN, DEFAULT_MAIN_ATTACK_OPTIONS, DEFAULT_MINEFIELD_OPTIONS, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, DEFAULT_PENETRATE_OPTIONS, DEFAULT_PHASE_LINE_OPTIONS, DEFAULT_PICKUP_ZONE_OPTIONS, DEFAULT_PORTRAYAL, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_RADAR_SEARCH_DOCTRINE_OPTIONS, DEFAULT_REARWARD_PASSAGE_OF_LINES_OPTIONS, DEFAULT_RELEASE_LINE_OPTIONS, DEFAULT_RETIRE_OPTIONS, DEFAULT_SCREEN_OPTIONS, DEFAULT_SECONDARY_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_SEIZE_OPTIONS, DEFAULT_STROKE_DASH_CSS_PIXELS, DEFAULT_STROKE_WIDTH_CSS_PIXELS, DEFAULT_STRONG_POINT_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURNING_MOVEMENT_OPTIONS, DEFAULT_TURN_OPTIONS, DEFAULT_WITHDRAW_OPTIONS, DEFAULT_WITHDRAW_UNDER_PRESSURE_OPTIONS, EPSILON, FILL_PATTERN_DEFINITIONS, NON_SOLID_FILL_PATTERNS, PARAMETER_PRESENTATION_TIERS, RADAR_SEARCH_DOCTRINE_FILL_COLOR, RADAR_SEARCH_DOCTRINE_STROKE_COLOR, SECONDARY_DIRECTION_OF_FIRE_DASH, TEXT_AMPLIFIER_FIELDS, ambushDrawRule, applyBoxTransformOptions, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, canonicalTextAmplifierKey, centerRadiusDrawRule, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, dynamicPointDrawRule, foldsBoxTransformOptions, freezeOrientationOptions, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getFillPatternDefinition, getMetersPerPixel, getMidpointPerpendicularSignedDistance, haversineDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, line26DrawRule, line27DrawRule, listControlMeasureMetadata, normalizeTextAmplifiers, parameterPresentationTierRank, penetrateDrawRule, point12DrawRule, pointOnMidpointPerpendicularAxis, project, rectangleDrawRule, renderControlMeasure, resolveAmplifierPlacement, resolveParameterPresentationTier, resolveParameterSemanticRole, resolveStyleHints, roundToFixed, sectorDrawRule, snapToMidpointPerpendicular, sphericalBearing, staticPointDrawRule, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
|
|
160
|
+
export { CONTROL_MEASURE_IDS, CONTROL_MEASURE_METADATA, 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_BRIDGEHEAD_LINE_OPTIONS, DEFAULT_BYPASS_OPTIONS, DEFAULT_CANALIZE_OPTIONS, DEFAULT_CLASSIC_ARROW_OPTIONS, DEFAULT_CLEAR_OPTIONS, DEFAULT_CONTAIN_OPTIONS, DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS, DEFAULT_COUNTERATTACK_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_DISENGAGE_OPTIONS, DEFAULT_DISRUPT_MISSION_TASK_OPTIONS, DEFAULT_DISRUPT_OPTIONS, DEFAULT_ENCIRCLEMENT_OPTIONS, DEFAULT_ENGINEER_WORK_LINE_OPTIONS, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, DEFAULT_FIX_MISSION_TASK_OPTIONS, DEFAULT_FIX_OPTIONS, DEFAULT_FLOT_OPTIONS, DEFAULT_FORTIFIED_AREA_OPTIONS, DEFAULT_FORTIFIED_LINE_OPTIONS, DEFAULT_FORWARD_EDGE_OF_BATTLE_AREA_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_GENERIC_SECTOR_OPTIONS, DEFAULT_GENERIC_TEXT_OPTIONS, DEFAULT_GUARD_OPTIONS, DEFAULT_HANDOVER_LINE_OPTIONS, DEFAULT_HOLDING_LINE_OPTIONS, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, DEFAULT_LABEL_HEIGHT_CSS_PIXELS, DEFAULT_LABEL_SIZE_CLAMP_CSS_PIXELS, DEFAULT_LANDING_ZONE_OPTIONS, DEFAULT_LIGHT_LINE_OPTIONS, DEFAULT_LINE_CAP, DEFAULT_LINE_JOIN, DEFAULT_MAIN_ATTACK_OPTIONS, DEFAULT_MINEFIELD_OPTIONS, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, DEFAULT_PENETRATE_OPTIONS, DEFAULT_PHASE_LINE_OPTIONS, DEFAULT_PICKUP_ZONE_OPTIONS, DEFAULT_PORTRAYAL, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_RADAR_SEARCH_DOCTRINE_OPTIONS, DEFAULT_REARWARD_PASSAGE_OF_LINES_OPTIONS, DEFAULT_RELEASE_LINE_OPTIONS, DEFAULT_RETAIN_OPTIONS, DEFAULT_RETIRE_OPTIONS, DEFAULT_SCREEN_OPTIONS, DEFAULT_SECONDARY_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_SEIZE_OPTIONS, DEFAULT_STROKE_DASH_CSS_PIXELS, DEFAULT_STROKE_WIDTH_CSS_PIXELS, DEFAULT_STRONG_POINT_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURNING_MOVEMENT_OPTIONS, DEFAULT_TURN_OPTIONS, DEFAULT_WITHDRAW_OPTIONS, DEFAULT_WITHDRAW_UNDER_PRESSURE_OPTIONS, EPSILON, FILL_PATTERN_DEFINITIONS, NON_SOLID_FILL_PATTERNS, PARAMETER_PRESENTATION_TIERS, RADAR_SEARCH_DOCTRINE_FILL_COLOR, RADAR_SEARCH_DOCTRINE_STROKE_COLOR, SECONDARY_DIRECTION_OF_FIRE_DASH, TEXT_AMPLIFIER_FIELDS, ambushDrawRule, applyBoxTransformOptions, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, canonicalTextAmplifierKey, centerRadiusDrawRule, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, containDrawRule, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, dynamicPointDrawRule, foldsBoxTransformOptions, freezeOrientationOptions, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getFillPatternDefinition, getMetersPerPixel, getMidpointPerpendicularSignedDistance, haversineDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, line26DrawRule, line27DrawRule, listControlMeasureMetadata, normalizeTextAmplifiers, parameterPresentationTierRank, penetrateDrawRule, point12DrawRule, pointOnMidpointPerpendicularAxis, project, rectangleDrawRule, renderControlMeasure, resolveAmplifierPlacement, resolveParameterPresentationTier, resolveParameterSemanticRole, resolveStyleHints, roundToFixed, sectorDrawRule, snapToMidpointPerpendicular, sphericalBearing, staticPointDrawRule, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
|
package/dist/preview/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Z as ControlMeasureId, Zi as TextAmplifiers } from "../index-QyKWkgNo.mjs";
|
|
2
2
|
import { f as FillPattern } from "../patterns-CcQmmOuJ.mjs";
|
|
3
3
|
import { FeatureCollection, Geometry } from "geojson";
|
|
4
4
|
|
package/dist/preview/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DEFINITIONS, t as renderControlMeasure } from "../renderControlMeasure-
|
|
1
|
+
import { a as DEFINITIONS, t as renderControlMeasure } from "../renderControlMeasure-BHIGHuop.mjs";
|
|
2
2
|
import { FILL_PATTERN_DEFINITIONS, NON_SOLID_FILL_PATTERNS } from "../patterns.mjs";
|
|
3
3
|
//#region src/preview/index.ts
|
|
4
4
|
/** Side length (SVG units) of the repeating non-mine tile in {@link PREVIEW_FILL_PATTERNS}. */
|
|
@@ -586,20 +586,16 @@ const area1DrawRule = {
|
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
588
|
//#endregion
|
|
589
|
-
//#region src/draw-rules/
|
|
590
|
-
const blockDrawRule = createMidpointPerpendicularDrawRule({ id: "area11:block" });
|
|
591
|
-
//#endregion
|
|
592
|
-
//#region src/draw-rules/area12.ts
|
|
589
|
+
//#region src/draw-rules/area5.ts
|
|
593
590
|
/**
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
* P1/P2 are the free spine endpoints. P3 is the longest-arrow tip, constrained
|
|
597
|
-
* to the perpendicular axis through P1 (not the baseline midpoint).
|
|
591
|
+
* Area5 — PT. 1/PT. 2 define the open diameter and PT. 3 defines the arrow end.
|
|
592
|
+
* The arrow stays on the perpendicular bisector of the diameter.
|
|
598
593
|
*/
|
|
599
|
-
const
|
|
600
|
-
id: "
|
|
601
|
-
|
|
602
|
-
|
|
594
|
+
const containDrawRule = createMidpointPerpendicularDrawRule({
|
|
595
|
+
id: "area5:contain",
|
|
596
|
+
minimumUserPoints: 3,
|
|
597
|
+
defaultDistanceRatio: -1.5,
|
|
598
|
+
minimumPreviewPoints: 2
|
|
603
599
|
});
|
|
604
600
|
//#endregion
|
|
605
601
|
//#region src/draw-rules/area15.ts
|
|
@@ -630,6 +626,34 @@ const centerRadiusDrawRule = {
|
|
|
630
626
|
/** Backward-compatible doctrinal name for Area15's shared center-radius rule. */
|
|
631
627
|
const isolateDrawRule = centerRadiusDrawRule;
|
|
632
628
|
//#endregion
|
|
629
|
+
//#region src/draw-rules/area6.ts
|
|
630
|
+
/**
|
|
631
|
+
* Area6 — center + start point, mechanically identical to Area15. It re-labels
|
|
632
|
+
* the shared behaviour rather than aliasing it because a definition's `rule.id`
|
|
633
|
+
* must carry its `metadata.drawRule` as a prefix (see the registry invariant in
|
|
634
|
+
* `__tests__/metadata-registry.spec.ts`, ADR-0013).
|
|
635
|
+
*/
|
|
636
|
+
const retainDrawRule = {
|
|
637
|
+
...centerRadiusDrawRule,
|
|
638
|
+
id: "area6:center-radius"
|
|
639
|
+
};
|
|
640
|
+
//#endregion
|
|
641
|
+
//#region src/draw-rules/area11.ts
|
|
642
|
+
const blockDrawRule = createMidpointPerpendicularDrawRule({ id: "area11:block" });
|
|
643
|
+
//#endregion
|
|
644
|
+
//#region src/draw-rules/area12.ts
|
|
645
|
+
/**
|
|
646
|
+
* Area12 anchor draw rule for Disrupt.
|
|
647
|
+
*
|
|
648
|
+
* P1/P2 are the free spine endpoints. P3 is the longest-arrow tip, constrained
|
|
649
|
+
* to the perpendicular axis through P1 (not the baseline midpoint).
|
|
650
|
+
*/
|
|
651
|
+
const disruptDrawRule = createMidpointPerpendicularDrawRule({
|
|
652
|
+
id: "area12:disrupt",
|
|
653
|
+
origin: "p1",
|
|
654
|
+
normal: "left"
|
|
655
|
+
});
|
|
656
|
+
//#endregion
|
|
633
657
|
//#region src/draw-rules/area17.ts
|
|
634
658
|
/**
|
|
635
659
|
* Area17 anchor draw rule for Penetrate.
|
|
@@ -2674,6 +2698,13 @@ function pushEndLabels(out, verts, textForEnd, options = {}) {
|
|
|
2674
2698
|
* measurement is available at generator time.
|
|
2675
2699
|
*/
|
|
2676
2700
|
const LABEL_CHAR_ASPECT_RATIO = .6;
|
|
2701
|
+
/**
|
|
2702
|
+
* Half a single glyph's width, as a ratio of its height — the base boundary
|
|
2703
|
+
* gap a measure reserves for one intrinsic capital letter (Retain's R,
|
|
2704
|
+
* Contain's C). Wider than half `LABEL_CHAR_ASPECT_RATIO` because these
|
|
2705
|
+
* glyphs are stamped alone rather than averaged over a word.
|
|
2706
|
+
*/
|
|
2707
|
+
const LABEL_HALF_GLYPH_RATIO = .45;
|
|
2677
2708
|
/** Estimated rendered width of `text` given its resolved label height in meters. */
|
|
2678
2709
|
function estimatedTextWidth(text, textHeightMeters) {
|
|
2679
2710
|
return text.length * LABEL_CHAR_ASPECT_RATIO * textHeightMeters;
|
|
@@ -4205,13 +4236,13 @@ const AREA_DEFENSE_METADATA = {
|
|
|
4205
4236
|
}
|
|
4206
4237
|
]
|
|
4207
4238
|
};
|
|
4208
|
-
function pointOnCircle(center, radius, angle) {
|
|
4239
|
+
function pointOnCircle$1(center, radius, angle) {
|
|
4209
4240
|
return vecAdd(center, [radius * Math.cos(angle), radius * Math.sin(angle)]);
|
|
4210
4241
|
}
|
|
4211
|
-
function sampleArc$
|
|
4242
|
+
function sampleArc$2(center, radius, start, end) {
|
|
4212
4243
|
const span = end - start;
|
|
4213
4244
|
const segments = Math.max(8, Math.round(48 * Math.abs(span) / Math.PI));
|
|
4214
|
-
return Array.from({ length: segments + 1 }, (_, index) => pointOnCircle(center, radius, start + span * index / segments));
|
|
4245
|
+
return Array.from({ length: segments + 1 }, (_, index) => pointOnCircle$1(center, radius, start + span * index / segments));
|
|
4215
4246
|
}
|
|
4216
4247
|
function openArrowhead(tip, direction, length) {
|
|
4217
4248
|
const base = vecSub(tip, [direction[0] * length, direction[1] * length]);
|
|
@@ -4242,8 +4273,8 @@ function createAreaDefense(coordinates, options = {}) {
|
|
|
4242
4273
|
const upperEnd = upperTipAngle;
|
|
4243
4274
|
const lowerStart = labelCenter - labelHalf;
|
|
4244
4275
|
const lowerEnd = upperTipAngle + arrowHalf * 2 - Math.PI * 2;
|
|
4245
|
-
const upperArc = sampleArc$
|
|
4246
|
-
const lowerArc = sampleArc$
|
|
4276
|
+
const upperArc = sampleArc$2(center, radius, upperStart, upperEnd);
|
|
4277
|
+
const lowerArc = sampleArc$2(center, radius, lowerStart, lowerEnd);
|
|
4247
4278
|
const arrowLength = radius * Math.max(0, resolved.arrowheadLengthRatio);
|
|
4248
4279
|
const upperDirection = [-Math.sin(upperEnd), Math.cos(upperEnd)];
|
|
4249
4280
|
const lowerDirection = [Math.sin(lowerEnd), -Math.cos(lowerEnd)];
|
|
@@ -4268,17 +4299,17 @@ function createAreaDefense(coordinates, options = {}) {
|
|
|
4268
4299
|
const barbPolygons = [];
|
|
4269
4300
|
for (const arc of barbArcs) for (let ordinal = 1; ordinal <= arc.count; ordinal++) {
|
|
4270
4301
|
const angle = arc.start + (arc.end - arc.start) * ordinal / (arc.count + 1);
|
|
4271
|
-
const left = pointOnCircle(center, radius, angle - barbHalfAngle);
|
|
4272
|
-
const right = pointOnCircle(center, radius, angle + barbHalfAngle);
|
|
4302
|
+
const left = pointOnCircle$1(center, radius, angle - barbHalfAngle);
|
|
4303
|
+
const right = pointOnCircle$1(center, radius, angle + barbHalfAngle);
|
|
4273
4304
|
const ring = [
|
|
4274
4305
|
left,
|
|
4275
|
-
pointOnCircle(center, radius + barbLength, angle),
|
|
4306
|
+
pointOnCircle$1(center, radius + barbLength, angle),
|
|
4276
4307
|
right,
|
|
4277
4308
|
left
|
|
4278
4309
|
].map((point) => unproject(point[0], point[1]));
|
|
4279
4310
|
barbPolygons.push([ring]);
|
|
4280
4311
|
}
|
|
4281
|
-
const labelPoint = pointOnCircle(center, radius, labelCenter);
|
|
4312
|
+
const labelPoint = pointOnCircle$1(center, radius, labelCenter);
|
|
4282
4313
|
return {
|
|
4283
4314
|
type: "FeatureCollection",
|
|
4284
4315
|
features: [
|
|
@@ -5749,6 +5780,218 @@ const BATTLE_POSITION = defineControlMeasure({
|
|
|
5749
5780
|
}
|
|
5750
5781
|
});
|
|
5751
5782
|
//#endregion
|
|
5783
|
+
//#region src/internal/arrowhead.ts
|
|
5784
|
+
/**
|
|
5785
|
+
* Builds a closed, filled arrowhead triangle ring in unprojected coordinates.
|
|
5786
|
+
*
|
|
5787
|
+
* `tip` is the point of the arrow, `dir` the unit direction the arrow points,
|
|
5788
|
+
* `length` the distance from tip back to the base, and `width` the base width.
|
|
5789
|
+
* The returned ring is `[left, tip, right, left]`.
|
|
5790
|
+
*/
|
|
5791
|
+
function createArrowHeadRing(tip, dir, length, width) {
|
|
5792
|
+
const perp = [-dir[1], dir[0]];
|
|
5793
|
+
const base = vecSub(tip, vecScale(dir, length));
|
|
5794
|
+
const left = vecAdd(base, vecScale(perp, width / 2));
|
|
5795
|
+
const right = vecSub(base, vecScale(perp, width / 2));
|
|
5796
|
+
return [
|
|
5797
|
+
unproject(left[0], left[1]),
|
|
5798
|
+
unproject(tip[0], tip[1]),
|
|
5799
|
+
unproject(right[0], right[1]),
|
|
5800
|
+
unproject(left[0], left[1])
|
|
5801
|
+
];
|
|
5802
|
+
}
|
|
5803
|
+
//#endregion
|
|
5804
|
+
//#region src/internal/projected-arc.ts
|
|
5805
|
+
/** The arc point at `angle`, in projected meters. */
|
|
5806
|
+
function arcPointAt(center, startRadius, bulgeRadius, angle) {
|
|
5807
|
+
return vecAdd(center, vecAdd(vecScale(startRadius, Math.cos(angle)), vecScale(bulgeRadius, Math.sin(angle))));
|
|
5808
|
+
}
|
|
5809
|
+
/**
|
|
5810
|
+
* Samples the arc from `start` to `end` radians as unprojected positions.
|
|
5811
|
+
* `resolution` is the segment count a full half-turn would use, so the density
|
|
5812
|
+
* of a partial arc stays proportional to how much of the circle it covers.
|
|
5813
|
+
*/
|
|
5814
|
+
function sampleProjectedArc(center, startRadius, bulgeRadius, start, end, resolution) {
|
|
5815
|
+
const segments = Math.max(2, Math.ceil(resolution * Math.abs(end - start) / Math.PI));
|
|
5816
|
+
return Array.from({ length: segments + 1 }, (_, index) => {
|
|
5817
|
+
const point = arcPointAt(center, startRadius, bulgeRadius, start + (end - start) * index / segments);
|
|
5818
|
+
return unproject(point[0], point[1]);
|
|
5819
|
+
});
|
|
5820
|
+
}
|
|
5821
|
+
//#endregion
|
|
5822
|
+
//#region src/generators/cm15-maneuver-areas/contain.ts
|
|
5823
|
+
const DEFAULT_CONTAIN_OPTIONS = {
|
|
5824
|
+
labelPadding: .2,
|
|
5825
|
+
resolution: 32
|
|
5826
|
+
};
|
|
5827
|
+
const CONTAIN_METADATA = {
|
|
5828
|
+
id: "contain",
|
|
5829
|
+
name: "Contain",
|
|
5830
|
+
description: "Stops, holds, or surrounds enemy forces and prevents them from withdrawing or using them elsewhere.",
|
|
5831
|
+
entity: "Maneuver Areas",
|
|
5832
|
+
entityType: "Battle Position",
|
|
5833
|
+
entitySubtype: "Contain",
|
|
5834
|
+
value: "151204",
|
|
5835
|
+
minCoordinates: 3,
|
|
5836
|
+
maxCoordinates: 3,
|
|
5837
|
+
geometry: "area",
|
|
5838
|
+
geometryTypes: ["MultiLineString", "Point"],
|
|
5839
|
+
paints: {
|
|
5840
|
+
stroke: true,
|
|
5841
|
+
fill: "none",
|
|
5842
|
+
text: true
|
|
5843
|
+
},
|
|
5844
|
+
drawRule: "Area5",
|
|
5845
|
+
capturesLabelSize: true,
|
|
5846
|
+
textAmplifiers: [AREA_HOSTILE_AMPLIFIER],
|
|
5847
|
+
params: [{
|
|
5848
|
+
key: "labelPadding",
|
|
5849
|
+
presentationTier: "advanced",
|
|
5850
|
+
label: "Label padding",
|
|
5851
|
+
description: "Extra clearance around C and ENY, as a ratio of label height",
|
|
5852
|
+
type: "number",
|
|
5853
|
+
min: 0,
|
|
5854
|
+
max: 2,
|
|
5855
|
+
step: .05
|
|
5856
|
+
}, {
|
|
5857
|
+
key: "resolution",
|
|
5858
|
+
presentationTier: "advanced",
|
|
5859
|
+
label: "Resolution",
|
|
5860
|
+
description: "Number of segments used to approximate the semicircle",
|
|
5861
|
+
type: "number",
|
|
5862
|
+
min: 8,
|
|
5863
|
+
max: 128,
|
|
5864
|
+
step: 1
|
|
5865
|
+
}]
|
|
5866
|
+
};
|
|
5867
|
+
/** Where the ENY label sits along the arrow, as a ratio of its full length. */
|
|
5868
|
+
const HOSTILE_LABEL_POSITION_RATIO = .55;
|
|
5869
|
+
/** Creates the Contain semicircle, inward tics, center-pointing arrow, and C label. */
|
|
5870
|
+
function createContain(coordinates, options = {}, textAmplifiers = {}, context = {}) {
|
|
5871
|
+
const p1 = project(coordinates[0][0], coordinates[0][1]);
|
|
5872
|
+
const p2 = project(coordinates[1][0], coordinates[1][1]);
|
|
5873
|
+
const p3 = project(coordinates[2][0], coordinates[2][1]);
|
|
5874
|
+
const diameterLength = vecMag(vecSub(p2, p1));
|
|
5875
|
+
if (diameterLength < 1e-6) return {
|
|
5876
|
+
type: "FeatureCollection",
|
|
5877
|
+
features: []
|
|
5878
|
+
};
|
|
5879
|
+
const center = [(p1[0] + p2[0]) / 2, (p1[1] + p2[1]) / 2];
|
|
5880
|
+
const arrowVector = vecSub(p3, center);
|
|
5881
|
+
const arrowLength = vecMag(arrowVector);
|
|
5882
|
+
if (arrowLength < 1e-6) return {
|
|
5883
|
+
type: "FeatureCollection",
|
|
5884
|
+
features: []
|
|
5885
|
+
};
|
|
5886
|
+
const radius = diameterLength / 2;
|
|
5887
|
+
const openingDirection = vecNorm(arrowVector);
|
|
5888
|
+
const labelRotation = labelRotationAlong(openingDirection);
|
|
5889
|
+
const startRadius = vecSub(p1, center);
|
|
5890
|
+
const bulgeRadius = vecScale(openingDirection, -radius);
|
|
5891
|
+
const h = Math.min(radius * .45, Math.max(EPSILON, resolveLabelOffsetMeters(options, 1, radius * .12)));
|
|
5892
|
+
const labelPadding = Math.max(0, options.labelPadding ?? DEFAULT_CONTAIN_OPTIONS.labelPadding);
|
|
5893
|
+
const resolution = Math.round(Math.min(128, Math.max(8, options.resolution ?? DEFAULT_CONTAIN_OPTIONS.resolution)));
|
|
5894
|
+
const hostileText = textAmplifiers.N ?? "ENY";
|
|
5895
|
+
const labelHalfAngle = Math.min(Math.PI / 3, h * (LABEL_HALF_GLYPH_RATIO + labelPadding) / radius);
|
|
5896
|
+
const labelAngle = Math.PI / 2;
|
|
5897
|
+
const boundary = [sampleProjectedArc(center, startRadius, bulgeRadius, 0, labelAngle - labelHalfAngle, resolution), sampleProjectedArc(center, startRadius, bulgeRadius, labelAngle + labelHalfAngle, Math.PI, resolution)];
|
|
5898
|
+
const tics = [];
|
|
5899
|
+
const spacingAngle = h / radius;
|
|
5900
|
+
for (let angle = spacingAngle / 2; angle < Math.PI; angle += spacingAngle) {
|
|
5901
|
+
if (Math.abs(angle - labelAngle) <= labelHalfAngle) continue;
|
|
5902
|
+
const outer = arcPointAt(center, startRadius, bulgeRadius, angle);
|
|
5903
|
+
const inner = vecAdd(outer, vecScale(vecNorm(vecSub(center, outer)), h));
|
|
5904
|
+
tics.push([unproject(outer[0], outer[1]), unproject(inner[0], inner[1])]);
|
|
5905
|
+
}
|
|
5906
|
+
const arrowhead = createArrowHeadRing(center, vecScale(openingDirection, -1), h, h).slice(0, 3);
|
|
5907
|
+
const arrow = [];
|
|
5908
|
+
const hostilePoint = vecAdd(center, vecScale(arrowVector, HOSTILE_LABEL_POSITION_RATIO));
|
|
5909
|
+
if (hostileText) {
|
|
5910
|
+
const metrics = resolveTextMetrics(hostileText, options, context);
|
|
5911
|
+
const maximumHalfGap = arrowLength * Math.min(HOSTILE_LABEL_POSITION_RATIO, 1 - HOSTILE_LABEL_POSITION_RATIO);
|
|
5912
|
+
const halfGap = Math.min(maximumHalfGap, metrics.width / 2 + labelPadding * metrics.height);
|
|
5913
|
+
const farGapEdge = vecAdd(hostilePoint, vecScale(openingDirection, halfGap));
|
|
5914
|
+
const nearGapEdge = vecAdd(hostilePoint, vecScale(openingDirection, -halfGap));
|
|
5915
|
+
arrow.push([unproject(p3[0], p3[1]), unproject(farGapEdge[0], farGapEdge[1])], [unproject(nearGapEdge[0], nearGapEdge[1]), unproject(center[0], center[1])]);
|
|
5916
|
+
} else arrow.push([unproject(p3[0], p3[1]), unproject(center[0], center[1])]);
|
|
5917
|
+
arrow.push(arrowhead);
|
|
5918
|
+
const labelPoint = arcPointAt(center, startRadius, bulgeRadius, labelAngle);
|
|
5919
|
+
const sizeProps = labelSizeProps(options);
|
|
5920
|
+
const features = [
|
|
5921
|
+
{
|
|
5922
|
+
type: "Feature",
|
|
5923
|
+
properties: { part: "boundary" },
|
|
5924
|
+
geometry: {
|
|
5925
|
+
type: "MultiLineString",
|
|
5926
|
+
coordinates: boundary
|
|
5927
|
+
}
|
|
5928
|
+
},
|
|
5929
|
+
{
|
|
5930
|
+
type: "Feature",
|
|
5931
|
+
properties: { part: "tics" },
|
|
5932
|
+
geometry: {
|
|
5933
|
+
type: "MultiLineString",
|
|
5934
|
+
coordinates: tics
|
|
5935
|
+
}
|
|
5936
|
+
},
|
|
5937
|
+
{
|
|
5938
|
+
type: "Feature",
|
|
5939
|
+
properties: { part: "arrow" },
|
|
5940
|
+
geometry: {
|
|
5941
|
+
type: "MultiLineString",
|
|
5942
|
+
coordinates: arrow
|
|
5943
|
+
}
|
|
5944
|
+
},
|
|
5945
|
+
{
|
|
5946
|
+
type: "Feature",
|
|
5947
|
+
properties: {
|
|
5948
|
+
part: "label",
|
|
5949
|
+
labelPlacement: false,
|
|
5950
|
+
text: "C",
|
|
5951
|
+
rotation: labelRotation,
|
|
5952
|
+
...sizeProps
|
|
5953
|
+
},
|
|
5954
|
+
geometry: {
|
|
5955
|
+
type: "Point",
|
|
5956
|
+
coordinates: unproject(labelPoint[0], labelPoint[1])
|
|
5957
|
+
}
|
|
5958
|
+
}
|
|
5959
|
+
];
|
|
5960
|
+
if (hostileText) features.push({
|
|
5961
|
+
type: "Feature",
|
|
5962
|
+
properties: {
|
|
5963
|
+
part: "label",
|
|
5964
|
+
labelPlacement: false,
|
|
5965
|
+
amplifierField: "N",
|
|
5966
|
+
text: hostileText,
|
|
5967
|
+
rotation: labelRotation,
|
|
5968
|
+
...sizeProps
|
|
5969
|
+
},
|
|
5970
|
+
geometry: {
|
|
5971
|
+
type: "Point",
|
|
5972
|
+
coordinates: unproject(hostilePoint[0], hostilePoint[1])
|
|
5973
|
+
}
|
|
5974
|
+
});
|
|
5975
|
+
return {
|
|
5976
|
+
type: "FeatureCollection",
|
|
5977
|
+
features
|
|
5978
|
+
};
|
|
5979
|
+
}
|
|
5980
|
+
const CONTAIN = defineControlMeasure({
|
|
5981
|
+
metadata: CONTAIN_METADATA,
|
|
5982
|
+
generator: createContain,
|
|
5983
|
+
defaultOptions: DEFAULT_CONTAIN_OPTIONS,
|
|
5984
|
+
rule: containDrawRule,
|
|
5985
|
+
previewSample: {
|
|
5986
|
+
controlPoints: [
|
|
5987
|
+
[0, .7],
|
|
5988
|
+
[0, -.7],
|
|
5989
|
+
[1.5, 0]
|
|
5990
|
+
],
|
|
5991
|
+
options: { labelSize: 90 }
|
|
5992
|
+
}
|
|
5993
|
+
});
|
|
5994
|
+
//#endregion
|
|
5752
5995
|
//#region src/generators/cm27-protection-areas/block.ts
|
|
5753
5996
|
const DEFAULT_STEM_RATIO$1 = 1.5;
|
|
5754
5997
|
const BLOCK_METADATA = {
|
|
@@ -7965,7 +8208,7 @@ function clockwiseSweepDegrees(leftAzimuth, rightAzimuth, collapseToleranceDegre
|
|
|
7965
8208
|
return sweep === 0 && rawSweep !== 0 ? 360 : sweep;
|
|
7966
8209
|
}
|
|
7967
8210
|
/** Samples an arc of `sweepDegrees` at `radius`, starting from `leftAzimuth`. */
|
|
7968
|
-
function sampleArc(anchor, radius, leftAzimuth, sweepDegrees, resolution) {
|
|
8211
|
+
function sampleArc$1(anchor, radius, leftAzimuth, sweepDegrees, resolution) {
|
|
7969
8212
|
const segmentCount = Math.max(1, Math.ceil(sweepDegrees / 360 * resolution));
|
|
7970
8213
|
return Array.from({ length: segmentCount + 1 }, (_, index) => {
|
|
7971
8214
|
return destinationPoint(anchor, radius, (leftAzimuth + index / segmentCount * sweepDegrees) * Math.PI / 180);
|
|
@@ -7973,8 +8216,8 @@ function sampleArc(anchor, radius, leftAzimuth, sweepDegrees, resolution) {
|
|
|
7973
8216
|
}
|
|
7974
8217
|
/** Closed ring tracing the outer arc, back along the inner arc, and closed. */
|
|
7975
8218
|
function annularSectorRing(anchor, innerRadius, outerRadius, leftAzimuth, sweepDegrees, resolution) {
|
|
7976
|
-
const outerArc = sampleArc(anchor, outerRadius, leftAzimuth, sweepDegrees, resolution);
|
|
7977
|
-
const innerArc = sampleArc(anchor, innerRadius, leftAzimuth, sweepDegrees, resolution).reverse();
|
|
8219
|
+
const outerArc = sampleArc$1(anchor, outerRadius, leftAzimuth, sweepDegrees, resolution);
|
|
8220
|
+
const innerArc = sampleArc$1(anchor, innerRadius, leftAzimuth, sweepDegrees, resolution).reverse();
|
|
7978
8221
|
return [
|
|
7979
8222
|
...outerArc,
|
|
7980
8223
|
...innerArc,
|
|
@@ -8680,27 +8923,6 @@ const COUNTERATTACK = defineControlMeasure({
|
|
|
8680
8923
|
}
|
|
8681
8924
|
});
|
|
8682
8925
|
//#endregion
|
|
8683
|
-
//#region src/internal/arrowhead.ts
|
|
8684
|
-
/**
|
|
8685
|
-
* Builds a closed, filled arrowhead triangle ring in unprojected coordinates.
|
|
8686
|
-
*
|
|
8687
|
-
* `tip` is the point of the arrow, `dir` the unit direction the arrow points,
|
|
8688
|
-
* `length` the distance from tip back to the base, and `width` the base width.
|
|
8689
|
-
* The returned ring is `[left, tip, right, left]`.
|
|
8690
|
-
*/
|
|
8691
|
-
function createArrowHeadRing(tip, dir, length, width) {
|
|
8692
|
-
const perp = [-dir[1], dir[0]];
|
|
8693
|
-
const base = vecSub(tip, vecScale(dir, length));
|
|
8694
|
-
const left = vecAdd(base, vecScale(perp, width / 2));
|
|
8695
|
-
const right = vecSub(base, vecScale(perp, width / 2));
|
|
8696
|
-
return [
|
|
8697
|
-
unproject(left[0], left[1]),
|
|
8698
|
-
unproject(tip[0], tip[1]),
|
|
8699
|
-
unproject(right[0], right[1]),
|
|
8700
|
-
unproject(left[0], left[1])
|
|
8701
|
-
];
|
|
8702
|
-
}
|
|
8703
|
-
//#endregion
|
|
8704
8926
|
//#region src/generators/cm34-mission-tasks/counterattack-by-fire.ts
|
|
8705
8927
|
const DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS = { ...DEFAULT_COUNTERATTACK_OPTIONS };
|
|
8706
8928
|
/** Length of the solid fire arrowhead relative to the recessed P1 extension. */
|
|
@@ -14379,6 +14601,180 @@ const STRONG_POINT = defineControlMeasure({
|
|
|
14379
14601
|
}
|
|
14380
14602
|
});
|
|
14381
14603
|
//#endregion
|
|
14604
|
+
//#region src/generators/cm15-maneuver-areas/retain.ts
|
|
14605
|
+
const DEFAULT_RETAIN_OPTIONS = {
|
|
14606
|
+
openingAngle: 30,
|
|
14607
|
+
arrowheadLengthRatio: .1,
|
|
14608
|
+
arrowheadWidthRatio: .12,
|
|
14609
|
+
labelPadding: 0
|
|
14610
|
+
};
|
|
14611
|
+
const RETAIN_METADATA = {
|
|
14612
|
+
id: "retain",
|
|
14613
|
+
name: "Retain",
|
|
14614
|
+
description: "Ensures that a terrain feature controlled by a friendly force remains secure.",
|
|
14615
|
+
entity: "Maneuver Areas",
|
|
14616
|
+
entityType: "Battle Position",
|
|
14617
|
+
entitySubtype: "Retain",
|
|
14618
|
+
value: "151205",
|
|
14619
|
+
minCoordinates: 2,
|
|
14620
|
+
maxCoordinates: 2,
|
|
14621
|
+
geometry: "area",
|
|
14622
|
+
geometryTypes: ["MultiLineString", "Point"],
|
|
14623
|
+
paints: {
|
|
14624
|
+
stroke: true,
|
|
14625
|
+
fill: "none",
|
|
14626
|
+
text: true
|
|
14627
|
+
},
|
|
14628
|
+
drawRule: "Area6",
|
|
14629
|
+
capturesLabelSize: true,
|
|
14630
|
+
params: [
|
|
14631
|
+
{
|
|
14632
|
+
key: "openingAngle",
|
|
14633
|
+
presentationTier: "advanced",
|
|
14634
|
+
label: "Opening",
|
|
14635
|
+
description: "Angular opening on the friendly side, in degrees",
|
|
14636
|
+
type: "number",
|
|
14637
|
+
min: 5,
|
|
14638
|
+
max: 120,
|
|
14639
|
+
step: 1
|
|
14640
|
+
},
|
|
14641
|
+
{
|
|
14642
|
+
key: "arrowheadLengthRatio",
|
|
14643
|
+
presentationTier: "advanced",
|
|
14644
|
+
label: "Arrowhead length",
|
|
14645
|
+
description: "Open-arrowhead length as a ratio of the symbol radius",
|
|
14646
|
+
type: "number",
|
|
14647
|
+
min: .02,
|
|
14648
|
+
max: .5,
|
|
14649
|
+
step: .01
|
|
14650
|
+
},
|
|
14651
|
+
{
|
|
14652
|
+
key: "arrowheadWidthRatio",
|
|
14653
|
+
presentationTier: "advanced",
|
|
14654
|
+
label: "Arrowhead width",
|
|
14655
|
+
description: "Open-arrowhead base width as a ratio of the symbol radius",
|
|
14656
|
+
type: "number",
|
|
14657
|
+
min: .02,
|
|
14658
|
+
max: .5,
|
|
14659
|
+
step: .01
|
|
14660
|
+
},
|
|
14661
|
+
{
|
|
14662
|
+
key: "labelPadding",
|
|
14663
|
+
presentationTier: "advanced",
|
|
14664
|
+
label: "R padding",
|
|
14665
|
+
description: "Extra boundary clearance on each side of R, as a ratio of its height",
|
|
14666
|
+
type: "number",
|
|
14667
|
+
min: 0,
|
|
14668
|
+
max: 2,
|
|
14669
|
+
step: .05
|
|
14670
|
+
}
|
|
14671
|
+
]
|
|
14672
|
+
};
|
|
14673
|
+
const TAU = Math.PI * 2;
|
|
14674
|
+
/** Smallest visible boundary gap, in projected meters, for tiny label heights. */
|
|
14675
|
+
const MIN_LABEL_GAP_METERS = 1;
|
|
14676
|
+
function pointOnCircle(center, radius, angle) {
|
|
14677
|
+
return vecAdd(center, [radius * Math.cos(angle), radius * Math.sin(angle)]);
|
|
14678
|
+
}
|
|
14679
|
+
function sampleArc(center, radius, start, end) {
|
|
14680
|
+
const segments = Math.max(8, Math.ceil(48 * Math.abs(end - start) / Math.PI));
|
|
14681
|
+
return Array.from({ length: segments + 1 }, (_, index) => {
|
|
14682
|
+
const point = pointOnCircle(center, radius, start + (end - start) * index / segments);
|
|
14683
|
+
return unproject(point[0], point[1]);
|
|
14684
|
+
});
|
|
14685
|
+
}
|
|
14686
|
+
/** Creates the Retain boundary, outward tics, and intrinsic R label. */
|
|
14687
|
+
function createRetain(coordinates, options = {}) {
|
|
14688
|
+
const center = project(coordinates[0][0], coordinates[0][1]);
|
|
14689
|
+
const radiusVector = vecSub(project(coordinates[1][0], coordinates[1][1]), center);
|
|
14690
|
+
const radius = vecMag(radiusVector);
|
|
14691
|
+
if (radius < 1e-6) return {
|
|
14692
|
+
type: "FeatureCollection",
|
|
14693
|
+
features: []
|
|
14694
|
+
};
|
|
14695
|
+
const resolved = {
|
|
14696
|
+
...DEFAULT_RETAIN_OPTIONS,
|
|
14697
|
+
...options
|
|
14698
|
+
};
|
|
14699
|
+
const startAngle = Math.atan2(radiusVector[1], radiusVector[0]);
|
|
14700
|
+
const opening = Math.min(120, Math.max(5, resolved.openingAngle)) * Math.PI / 180;
|
|
14701
|
+
const h = resolveLabelOffsetMeters(options, 1, radius * .1);
|
|
14702
|
+
const labelPadding = Math.max(0, resolved.labelPadding);
|
|
14703
|
+
const boundarySpan = TAU - opening;
|
|
14704
|
+
const labelDistance = Math.PI - opening / 2;
|
|
14705
|
+
const labelCenter = startAngle - labelDistance;
|
|
14706
|
+
const labelHalfGap = Math.min(Math.PI / 2, Math.max(h * (LABEL_HALF_GLYPH_RATIO + labelPadding), MIN_LABEL_GAP_METERS) / radius);
|
|
14707
|
+
const labelStart = startAngle - labelDistance + labelHalfGap;
|
|
14708
|
+
const labelEnd = startAngle - labelDistance - labelHalfGap;
|
|
14709
|
+
const boundaryEnd = startAngle - boundarySpan;
|
|
14710
|
+
const arrowTip = pointOnCircle(center, radius, boundaryEnd);
|
|
14711
|
+
const arrowheadLength = radius * Math.max(0, resolved.arrowheadLengthRatio);
|
|
14712
|
+
const arrowheadWidth = radius * Math.max(0, resolved.arrowheadWidthRatio);
|
|
14713
|
+
const boundary = [
|
|
14714
|
+
sampleArc(center, radius, startAngle, labelStart),
|
|
14715
|
+
sampleArc(center, radius, labelEnd, boundaryEnd),
|
|
14716
|
+
createArrowHeadRing(arrowTip, [Math.sin(boundaryEnd), -Math.cos(boundaryEnd)], arrowheadLength, arrowheadWidth).slice(0, 3)
|
|
14717
|
+
];
|
|
14718
|
+
const tics = [];
|
|
14719
|
+
const spacingAngle = Math.max(h / radius, Math.PI / 180);
|
|
14720
|
+
const arrowClearanceAngle = (arrowheadLength + arrowheadWidth / 2 + h / 2) / radius;
|
|
14721
|
+
for (let distance = spacingAngle / 2; distance < boundarySpan - arrowClearanceAngle; distance += spacingAngle) {
|
|
14722
|
+
if (distance > labelDistance - labelHalfGap && distance < labelDistance + labelHalfGap) continue;
|
|
14723
|
+
const angle = startAngle - distance;
|
|
14724
|
+
const cos = Math.cos(angle);
|
|
14725
|
+
const sin = Math.sin(angle);
|
|
14726
|
+
const innerX = center[0] + radius * cos;
|
|
14727
|
+
const innerY = center[1] + radius * sin;
|
|
14728
|
+
tics.push([unproject(innerX, innerY), unproject(innerX + h * cos, innerY + h * sin)]);
|
|
14729
|
+
}
|
|
14730
|
+
const labelPoint = pointOnCircle(center, radius, labelCenter);
|
|
14731
|
+
return {
|
|
14732
|
+
type: "FeatureCollection",
|
|
14733
|
+
features: [
|
|
14734
|
+
{
|
|
14735
|
+
type: "Feature",
|
|
14736
|
+
properties: { part: "boundary" },
|
|
14737
|
+
geometry: {
|
|
14738
|
+
type: "MultiLineString",
|
|
14739
|
+
coordinates: boundary
|
|
14740
|
+
}
|
|
14741
|
+
},
|
|
14742
|
+
{
|
|
14743
|
+
type: "Feature",
|
|
14744
|
+
properties: { part: "tics" },
|
|
14745
|
+
geometry: {
|
|
14746
|
+
type: "MultiLineString",
|
|
14747
|
+
coordinates: tics
|
|
14748
|
+
}
|
|
14749
|
+
},
|
|
14750
|
+
{
|
|
14751
|
+
type: "Feature",
|
|
14752
|
+
properties: {
|
|
14753
|
+
part: "label",
|
|
14754
|
+
labelPlacement: false,
|
|
14755
|
+
text: "R",
|
|
14756
|
+
rotation: Math.PI,
|
|
14757
|
+
...labelSizeProps(options)
|
|
14758
|
+
},
|
|
14759
|
+
geometry: {
|
|
14760
|
+
type: "Point",
|
|
14761
|
+
coordinates: unproject(labelPoint[0], labelPoint[1])
|
|
14762
|
+
}
|
|
14763
|
+
}
|
|
14764
|
+
]
|
|
14765
|
+
};
|
|
14766
|
+
}
|
|
14767
|
+
const RETAIN = defineControlMeasure({
|
|
14768
|
+
metadata: RETAIN_METADATA,
|
|
14769
|
+
generator: createRetain,
|
|
14770
|
+
defaultOptions: DEFAULT_RETAIN_OPTIONS,
|
|
14771
|
+
rule: retainDrawRule,
|
|
14772
|
+
previewSample: {
|
|
14773
|
+
controlPoints: [[0, 0], [-.8, .2]],
|
|
14774
|
+
options: { labelSize: 90 }
|
|
14775
|
+
}
|
|
14776
|
+
});
|
|
14777
|
+
//#endregion
|
|
14382
14778
|
//#region src/generators/cm15-maneuver-areas/submarineActionArea.ts
|
|
14383
14779
|
/** Default options for the Submarine action area control measure. */
|
|
14384
14780
|
const DEFAULT_SUBMARINE_ACTION_AREA_OPTIONS = {
|
|
@@ -14837,7 +15233,9 @@ const DEFINITIONS = {
|
|
|
14837
15233
|
"engineer-work-line": ENGINEER_WORK_LINE,
|
|
14838
15234
|
"generic-c2-line": GENERIC_C2_LINE,
|
|
14839
15235
|
"battle-position": BATTLE_POSITION,
|
|
15236
|
+
contain: CONTAIN,
|
|
14840
15237
|
"strong-point": STRONG_POINT,
|
|
15238
|
+
retain: RETAIN,
|
|
14841
15239
|
ambush: AMBUSH,
|
|
14842
15240
|
"direction-of-attack-aviation": DIRECTION_OF_ATTACK_AVIATION,
|
|
14843
15241
|
"direction-of-main-attack": DIRECTION_OF_MAIN_ATTACK,
|
|
@@ -15337,4 +15735,4 @@ function assertNever(value) {
|
|
|
15337
15735
|
throw new Error(`Unhandled control measure kind: ${String(value)}`);
|
|
15338
15736
|
}
|
|
15339
15737
|
//#endregion
|
|
15340
|
-
export {
|
|
15738
|
+
export { DEFAULT_COVER_OPTIONS as $, supportByFireDrawRule as $t, DEFAULT_RETIRE_OPTIONS as A, getMetersPerPixel as An, DEFAULT_ANTITANK_DITCH_OPTIONS as At, DEFAULT_HOLDING_LINE_OPTIONS as B, resolveAmplifierPlacement as Bt, DEFAULT_MAIN_ATTACK_OPTIONS as C, calculateMetrics as Cn, DEFAULT_BLOCK_ARROW_OPTIONS as Ct, DEFAULT_WITHDRAW_OPTIONS as D, sphericalBearing as Dn, DEFAULT_ATTACK_HELICOPTER_OPTIONS as Dt, DEFAULT_WITHDRAW_UNDER_PRESSURE_OPTIONS as E, project as En, DEFAULT_BATTLE_POSITION_OPTIONS as Et, DEFAULT_FORTIFIED_LINE_OPTIONS as F, DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS as Ft, DEFAULT_FIX_OPTIONS as G, DEFAULT_PORTRAYAL as Gt, DEFAULT_PHASE_LINE_OPTIONS as H, DEFAULT_LABEL_SIZE_CLAMP_CSS_PIXELS as Ht, DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS as I, DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS as It, DEFAULT_DISRUPT_OPTIONS as J, DEFAULT_SYMBOL_COLOR as Jt, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS as K, DEFAULT_STROKE_DASH_CSS_PIXELS as Kt, DEFAULT_HANDOVER_LINE_OPTIONS as L, TEXT_AMPLIFIER_FIELDS as Lt, DEFAULT_PENETRATE_OPTIONS as M, DEFAULT_AREA_OF_OPERATIONS_OPTIONS as Mt, DEFAULT_FRONTAL_ATTACK_OPTIONS as N, DEFAULT_AREA_DEFENSE_OPTIONS as Nt, DEFAULT_SEIZE_OPTIONS as O, unproject as On, DEFAULT_ATTACK_BY_FIRE_OPTIONS as Ot, DEFAULT_FORTIFIED_AREA_OPTIONS as P, DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS as Pt, DEFAULT_DELAY_OPTIONS as Q, axis1DrawRule as Qt, DEFAULT_FORWARD_EDGE_OF_BATTLE_AREA_OPTIONS as R, canonicalTextAmplifierKey as Rt, DEFAULT_MINEFIELD_OPTIONS as S, createBaselineFrame as Sn, DEFAULT_BOUNDARY_OPTIONS as St, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS as T, haversineDistance as Tn, DEFAULT_CONTAIN_OPTIONS as Tt, DEFAULT_FLOT_OPTIONS as U, DEFAULT_LINE_CAP as Ut, DEFAULT_BRIDGEHEAD_LINE_OPTIONS as V, DEFAULT_LABEL_HEIGHT_CSS_PIXELS as Vt, DEFAULT_FIX_MISSION_TASK_OPTIONS as W, DEFAULT_LINE_JOIN as Wt, DEFAULT_DISRUPT_MISSION_TASK_OPTIONS as X, DEFAULT_AIRBORNE_ATTACK_OPTIONS as Xt, DEFAULT_GUARD_OPTIONS as Y, DEFAULT_AMBUSH_OPTIONS as Yt, DEFAULT_DISENGAGE_OPTIONS as Z, rectangleDrawRule as Zt, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS as _, computeDefaultMidpointPerpendicularPoint as _n, DEFAULT_BREACH_OPTIONS as _t, DEFINITIONS as a, line1DrawRule as an, DEFAULT_RADAR_SEARCH_DOCTRINE_OPTIONS as at, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS as b, pointOnMidpointPerpendicularAxis as bn, DEFAULT_ENGINEER_WORK_LINE_OPTIONS as bt, getDefaultOptions as c, dynamicPointDrawRule as cn, DEFAULT_GENERIC_TEXT_OPTIONS as ct, DEFAULT_TURN_OPTIONS as d, point12DrawRule as dn, DEFAULT_GENERIC_POLYGON_OPTIONS as dt, line27DrawRule as en, DEFAULT_TACTICAL_ARROW_OPTIONS as et, DEFAULT_SUPPORT_BY_FIRE_OPTIONS as f, penetrateDrawRule as fn, DEFAULT_GENERIC_LINE_OPTIONS as ft, SECONDARY_DIRECTION_OF_FIRE_DASH as g, containDrawRule as gn, DEFAULT_BYPASS_OPTIONS as gt, DEFAULT_SECONDARY_DIRECTION_OF_FIRE_OPTIONS as h, centerRadiusDrawRule as hn, DEFAULT_CANALIZE_OPTIONS as ht, CONTROL_MEASURE_METADATA as i, turnDrawRule as in, DEFAULT_CLEAR_OPTIONS as it, DEFAULT_REARWARD_PASSAGE_OF_LINES_OPTIONS as j, roundToFixed as jn, DEFAULT_ASSEMBLY_AREA_OPTIONS as jt, DEFAULT_SCREEN_OPTIONS as k, EPSILON as kn, DEFAULT_ANTITANK_WALL_OPTIONS as kt, listControlMeasureMetadata as l, sectorDrawRule as ln, DEFAULT_GENERIC_SECTOR_OPTIONS as lt, DEFAULT_STRONG_POINT_OPTIONS as m, blockDrawRule as mn, DEFAULT_CLASSIC_ARROW_OPTIONS as mt, resolveStyleHints as n, line24DrawRule as nn, DEFAULT_COUNTERATTACK_OPTIONS as nt, getControlMeasureMetadata as o, ambushDrawRule as on, RADAR_SEARCH_DOCTRINE_FILL_COLOR as ot, DEFAULT_RETAIN_OPTIONS as p, disruptDrawRule as pn, DEFAULT_GENERIC_CIRCLE_OPTIONS as pt, DEFAULT_ENCIRCLEMENT_OPTIONS as q, DEFAULT_STROKE_WIDTH_CSS_PIXELS as qt, CONTROL_MEASURE_IDS as r, line23DrawRule as rn, DEFAULT_SUPPORTING_ATTACK_OPTIONS as rt, getControlMeasureMetadataByValue as s, attackByFireDrawRule as sn, RADAR_SEARCH_DOCTRINE_STROKE_COLOR as st, renderControlMeasure as t, line26DrawRule as tn, DEFAULT_COUNTERATTACK_BY_FIRE_OPTIONS as tt, DEFAULT_TURNING_MOVEMENT_OPTIONS as u, staticPointDrawRule as un, DEFAULT_GENERIC_RECTANGLE_OPTIONS as ut, DEFAULT_PICKUP_ZONE_OPTIONS as v, createMidpointPerpendicularDrawRule as vn, DEFAULT_BLOCK_MISSION_TASK_OPTIONS as vt, DEFAULT_LANDING_ZONE_OPTIONS as w, computeInitialWidthPoint as wn, DEFAULT_BLOCK_OPTIONS as wt, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS as x, snapToMidpointPerpendicular as xn, DEFAULT_LIGHT_LINE_OPTIONS as xt, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS as y, getMidpointPerpendicularSignedDistance as yn, DEFAULT_GENERIC_C2_LINE_OPTIONS as yt, DEFAULT_RELEASE_LINE_OPTIONS as z, normalizeTextAmplifiers as zt };
|
package/package.json
CHANGED