@orbat-mapper/control-measures 0.2.0-alpha.11 → 0.2.0-alpha.13
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-C6nqkw1A.d.mts → index-h8S1sTjc.d.mts} +169 -23
- 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-NKEYq3Fg.mjs → renderControlMeasure-CoBRpbJT.mjs} +1952 -628
- package/package.json +1 -1
|
@@ -145,6 +145,18 @@ type FriendlyKey = `${FriendlyName}${Suffix}`;
|
|
|
145
145
|
* this is resolved to canonical form.
|
|
146
146
|
*/
|
|
147
147
|
type TextAmplifiers = Partial<Record<TextAmplifierKey | FriendlyKey, string>>;
|
|
148
|
+
/**
|
|
149
|
+
* Stable key for a non-amplifier generated label. The renderer assigns these
|
|
150
|
+
* from the label's part and per-part label ordinal when a generator has not
|
|
151
|
+
* supplied a doctrinal field key. Generators that can change a label's order
|
|
152
|
+
* should supply an explicit `labelPlacementKey` instead.
|
|
153
|
+
*/
|
|
154
|
+
type GeneratedLabelKey = `label:${string}`;
|
|
155
|
+
/**
|
|
156
|
+
* User-adjusted anchor positions for doctrinal and generated text labels,
|
|
157
|
+
* keyed by a canonical `TextAmplifierKey` or a synthesized `GeneratedLabelKey`.
|
|
158
|
+
*/
|
|
159
|
+
type AmplifierPlacements = Record<string, Position | undefined>;
|
|
148
160
|
/** Amplifier values resolved to canonical doctrinal keys, as generators receive them. */
|
|
149
161
|
type CanonicalTextAmplifiers = Readonly<Partial<Record<TextAmplifierKey, string>>>;
|
|
150
162
|
/**
|
|
@@ -174,7 +186,7 @@ declare function normalizeTextAmplifiers(input: TextAmplifiers | undefined): Can
|
|
|
174
186
|
//#region src/metadata.d.ts
|
|
175
187
|
type ControlMeasureGeometryType = Geometry["type"];
|
|
176
188
|
type ControlMeasureGeometry = "point" | "line" | "area";
|
|
177
|
-
declare const DRAW_RULE_IDS: readonly ["Area1", "Area7", "Area8", "Area11", "Area12", "Area15", "Area21", "Axis1", "Line1", "Line3", "Line9", "Line10", "Line23", "Line24", "Line29", "Point12", "Rectangle"];
|
|
189
|
+
declare const DRAW_RULE_IDS: readonly ["Area1", "Area7", "Area8", "Area11", "Area12", "Area15", "Area21", "Axis1", "Line1", "Line3", "Line9", "Line10", "Line23", "Line24", "Line26", "Line29", "Point12", "Rectangle"];
|
|
178
190
|
type DrawRuleId = (typeof DRAW_RULE_IDS)[number];
|
|
179
191
|
interface BaseParamDescriptor {
|
|
180
192
|
key: string;
|
|
@@ -749,6 +761,49 @@ declare const DEFAULT_STRONG_POINT_OPTIONS: StrongPointOptions;
|
|
|
749
761
|
*/
|
|
750
762
|
declare function createStrongPoint(positions: Position[], options?: StrongPointOptions, textAmplifiers?: CanonicalTextAmplifiers): FeatureCollection<MultiLineString | MultiPolygon | Point>;
|
|
751
763
|
//#endregion
|
|
764
|
+
//#region src/generators/cm14-maneuver-lines/direction-of-attack-aviation.d.ts
|
|
765
|
+
interface DirectionOfAttackAviationOptions extends LabelSizeOptions, SmoothLineOptions {
|
|
766
|
+
/** Arrowhead length as a ratio of the route's total length. @default 0.12 */
|
|
767
|
+
arrowheadLengthRatio?: number;
|
|
768
|
+
/** Arrowhead total width as a ratio of its length. @default 1.15 */
|
|
769
|
+
arrowheadWidthRatio?: number;
|
|
770
|
+
/** Bow-tie length as a ratio of the route's total length. @default 0.1 */
|
|
771
|
+
bowTieLengthRatio?: number;
|
|
772
|
+
/** Bow-tie total width as a ratio of its length. @default 0.5 */
|
|
773
|
+
bowTieWidthRatio?: number;
|
|
774
|
+
/** Bow-tie position as a fraction from tail (0) to tip (1). @default 1/3 */
|
|
775
|
+
bowTiePosition?: number;
|
|
776
|
+
/** Field T/W/W1 group position as a fraction from tail (0) to tip (1). @default 2/3 */
|
|
777
|
+
labelPosition?: number;
|
|
778
|
+
/** Extra spacing between the route and W/W1 rows, in label heights. @default 0 */
|
|
779
|
+
labelPadding?: number;
|
|
780
|
+
}
|
|
781
|
+
declare const DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS: DirectionOfAttackAviationOptions;
|
|
782
|
+
/** Builds the route, aviation bow-tie, arrowhead, and optional T/W/W1 labels. */
|
|
783
|
+
declare function createDirectionOfAttackAviation(coordinates: Position[], options?: DirectionOfAttackAviationOptions, textAmplifiers?: CanonicalTextAmplifiers): FeatureCollection<MultiLineString | Point>;
|
|
784
|
+
//#endregion
|
|
785
|
+
//#region src/generators/cm14-maneuver-lines/direction-of-attack-shared.d.ts
|
|
786
|
+
interface DirectionOfAttackLineOptions extends LabelSizeOptions, SmoothLineOptions {
|
|
787
|
+
arrowheadLengthRatio?: number;
|
|
788
|
+
arrowheadWidthRatio?: number;
|
|
789
|
+
/** Field T/W/W1 group position as a fraction from tail (0) to tip (1). */
|
|
790
|
+
labelPosition?: number;
|
|
791
|
+
labelPadding?: number;
|
|
792
|
+
}
|
|
793
|
+
//#endregion
|
|
794
|
+
//#region src/generators/cm14-maneuver-lines/direction-of-main-attack.d.ts
|
|
795
|
+
interface DirectionOfMainAttackOptions extends DirectionOfAttackLineOptions {
|
|
796
|
+
/** Thickness of the outlined arrowhead as a ratio of its length. @default 0.3 */
|
|
797
|
+
arrowheadOutlineRatio?: number;
|
|
798
|
+
}
|
|
799
|
+
declare const DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS: DirectionOfMainAttackOptions;
|
|
800
|
+
declare function createDirectionOfMainAttack(coordinates: Position[], options?: DirectionOfMainAttackOptions, textAmplifiers?: CanonicalTextAmplifiers): FeatureCollection<MultiLineString | Point>;
|
|
801
|
+
//#endregion
|
|
802
|
+
//#region src/generators/cm14-maneuver-lines/direction-of-supporting-attack.d.ts
|
|
803
|
+
type DirectionOfSupportingAttackOptions = DirectionOfAttackLineOptions;
|
|
804
|
+
declare const DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS: DirectionOfSupportingAttackOptions;
|
|
805
|
+
declare function createDirectionOfSupportingAttack(coordinates: Position[], options?: DirectionOfSupportingAttackOptions, textAmplifiers?: CanonicalTextAmplifiers): FeatureCollection<MultiLineString | Point>;
|
|
806
|
+
//#endregion
|
|
752
807
|
//#region src/generators/cm14-maneuver-lines/principalDirectionOfFire.d.ts
|
|
753
808
|
/**
|
|
754
809
|
* Configuration options for the Principal Direction of Fire tactical symbol.
|
|
@@ -866,6 +921,22 @@ type AreaOptions = LabeledAreaOptions;
|
|
|
866
921
|
*/
|
|
867
922
|
declare function createArea(positions: Position[], options?: AreaOptions, textAmplifiers?: CanonicalTextAmplifiers): FeatureCollection<Polygon | MultiLineString | Point>;
|
|
868
923
|
//#endregion
|
|
924
|
+
//#region src/generators/cm15-maneuver-areas/area-defense.d.ts
|
|
925
|
+
interface AreaDefenseOptions extends LabelSizeOptions {
|
|
926
|
+
/** Angular opening between the two arrow tips, in degrees. */
|
|
927
|
+
arrowOpeningAngle?: number;
|
|
928
|
+
/** Angular opening occupied by the AD label, in degrees. */
|
|
929
|
+
labelOpeningAngle?: number;
|
|
930
|
+
/** Number of filled outward barbs distributed over both arcs. */
|
|
931
|
+
barbCount?: number;
|
|
932
|
+
/** Barb height as a ratio of the radius. */
|
|
933
|
+
barbLengthRatio?: number;
|
|
934
|
+
/** Open-arrowhead length as a ratio of the radius. */
|
|
935
|
+
arrowheadLengthRatio?: number;
|
|
936
|
+
}
|
|
937
|
+
declare const DEFAULT_AREA_DEFENSE_OPTIONS: Required<Omit<AreaDefenseOptions, keyof LabelSizeOptions>>;
|
|
938
|
+
declare function createAreaDefense(coordinates: Position[], options?: AreaDefenseOptions): FeatureCollection<MultiLineString | MultiPolygon | Point>;
|
|
939
|
+
//#endregion
|
|
869
940
|
//#region src/generators/cm15-maneuver-areas/assemblyArea.d.ts
|
|
870
941
|
/** Configuration options for the Assembly area control measure. */
|
|
871
942
|
type AssemblyAreaOptions = LabeledAreaOptions;
|
|
@@ -1697,6 +1768,42 @@ declare const DEFAULT_CLEAR_OPTIONS: Required<Omit<ClearOptions, "labelSize" | "
|
|
|
1697
1768
|
*/
|
|
1698
1769
|
declare function createClearSymbol(coordinates: Position[], options?: ClearOptions): FeatureCollection<MultiLineString | Point>;
|
|
1699
1770
|
//#endregion
|
|
1771
|
+
//#region src/generators/cm15-maneuver-areas/searchArea.d.ts
|
|
1772
|
+
/**
|
|
1773
|
+
* Configuration options to tweak the tactical arrow's geometry.
|
|
1774
|
+
*/
|
|
1775
|
+
interface TacticalArrowOptions {
|
|
1776
|
+
/** Ratio of arrowhead length to total leg length (default: 0.12) */
|
|
1777
|
+
arrowheadLengthRatio?: number;
|
|
1778
|
+
/** Width multiplier for the arrowhead wings (default: 0.5) */
|
|
1779
|
+
arrowheadWidthRatio?: number;
|
|
1780
|
+
/** Percentage along the leg where the zigzag begins, 0.0-1.0 (default: 0.55) */
|
|
1781
|
+
zigzagStart?: number;
|
|
1782
|
+
/** Percentage along the leg where the zigzag returns, 0.0-1.0 (default: 0.45) */
|
|
1783
|
+
zigzagEnd?: number;
|
|
1784
|
+
/** Perpendicular offset for the lightning "kink", relative to leg length (default: 0.07) */
|
|
1785
|
+
zigzagAmplitudeRatio?: number;
|
|
1786
|
+
}
|
|
1787
|
+
/**
|
|
1788
|
+
* Default options for the tactical arrow.
|
|
1789
|
+
*/
|
|
1790
|
+
declare const DEFAULT_TACTICAL_ARROW_OPTIONS: Required<TacticalArrowOptions>;
|
|
1791
|
+
//#endregion
|
|
1792
|
+
//#region src/generators/cm34-mission-tasks/security-task-shared.d.ts
|
|
1793
|
+
interface SecurityTaskOptions extends TacticalArrowOptions {
|
|
1794
|
+
/** Position of each task letter inward from PT. 2/PT. 3 as a ratio of the opening. */
|
|
1795
|
+
labelInsetRatio?: number;
|
|
1796
|
+
/** Text height in projected meters — ground-anchored label size (ADR-0028). */
|
|
1797
|
+
labelSize?: number;
|
|
1798
|
+
/** Text height in CSS pixels — screen-anchored label size (ADR-0028). */
|
|
1799
|
+
labelSizePixels?: number;
|
|
1800
|
+
}
|
|
1801
|
+
//#endregion
|
|
1802
|
+
//#region src/generators/cm34-mission-tasks/cover.d.ts
|
|
1803
|
+
type CoverOptions = SecurityTaskOptions;
|
|
1804
|
+
declare const DEFAULT_COVER_OPTIONS: Required<Omit<SecurityTaskOptions, "labelSize" | "labelSizePixels">>;
|
|
1805
|
+
declare function createCoverSymbol(coordinates: Position[], options?: CoverOptions): FeatureCollection<MultiLineString | Point>;
|
|
1806
|
+
//#endregion
|
|
1700
1807
|
//#region src/generators/cm34-mission-tasks/delay.d.ts
|
|
1701
1808
|
interface DelayOptions {
|
|
1702
1809
|
/** Arrowhead depth as a ratio of the straight-line length (default: 0.12). */
|
|
@@ -1715,6 +1822,11 @@ interface DelayOptions {
|
|
|
1715
1822
|
declare const DEFAULT_DELAY_OPTIONS: Required<Omit<DelayOptions, "labelSize" | "labelSizePixels">>;
|
|
1716
1823
|
declare function createDelaySymbol(coordinates: Position[], options?: DelayOptions): FeatureCollection<MultiLineString | Point>;
|
|
1717
1824
|
//#endregion
|
|
1825
|
+
//#region src/generators/cm34-mission-tasks/guard.d.ts
|
|
1826
|
+
type GuardOptions = SecurityTaskOptions;
|
|
1827
|
+
declare const DEFAULT_GUARD_OPTIONS: Required<Omit<SecurityTaskOptions, "labelSize" | "labelSizePixels">>;
|
|
1828
|
+
declare function createGuardSymbol(coordinates: Position[], options?: GuardOptions): FeatureCollection<MultiLineString | Point>;
|
|
1829
|
+
//#endregion
|
|
1718
1830
|
//#region src/generators/cm34-mission-tasks/isolate.d.ts
|
|
1719
1831
|
/**
|
|
1720
1832
|
* Configuration options for the ISOLATE tactical mission task symbol.
|
|
@@ -1749,6 +1861,11 @@ interface IsolateOptions {
|
|
|
1749
1861
|
*/
|
|
1750
1862
|
declare function createIsolateSymbol(coordinates: Position[], options?: IsolateOptions): FeatureCollection<MultiLineString>;
|
|
1751
1863
|
//#endregion
|
|
1864
|
+
//#region src/generators/cm34-mission-tasks/screen.d.ts
|
|
1865
|
+
type ScreenOptions = SecurityTaskOptions;
|
|
1866
|
+
declare const DEFAULT_SCREEN_OPTIONS: Required<Omit<SecurityTaskOptions, "labelSize" | "labelSizePixels">>;
|
|
1867
|
+
declare function createScreenSymbol(coordinates: Position[], options?: ScreenOptions): FeatureCollection<MultiLineString | Point>;
|
|
1868
|
+
//#endregion
|
|
1752
1869
|
//#region src/generators/cm29-protection-lines/antitankDitch.d.ts
|
|
1753
1870
|
interface AntitankDitchOptions extends SmoothLineOptions {
|
|
1754
1871
|
/**
|
|
@@ -1886,6 +2003,28 @@ declare const DEFAULT_FORTIFIED_AREA_OPTIONS: FortifiedAreaOptions;
|
|
|
1886
2003
|
*/
|
|
1887
2004
|
declare function createFortifiedArea(positions: Position[], options?: FortifiedAreaOptions, textAmplifiers?: CanonicalTextAmplifiers): FeatureCollection<Polygon | Point>;
|
|
1888
2005
|
//#endregion
|
|
2006
|
+
//#region src/generators/cm15-maneuver-areas/maneuver-arrow-task-shared.d.ts
|
|
2007
|
+
interface ManeuverArrowTaskOptions extends AttackOptions, LabelSizeOptions {
|
|
2008
|
+
/** Straight crossbar length as a multiple of the arrowhead base width. */
|
|
2009
|
+
crossbarLengthRatio?: number;
|
|
2010
|
+
/** Field T position along the shaft, from tail (0) to head (1). */
|
|
2011
|
+
labelPosition?: number;
|
|
2012
|
+
/** W/W1 position along the shaft, from tail (0) to head (1). */
|
|
2013
|
+
dtgPosition?: number;
|
|
2014
|
+
/** Extra W/W1 row spacing, in label heights. */
|
|
2015
|
+
labelPadding?: number;
|
|
2016
|
+
}
|
|
2017
|
+
//#endregion
|
|
2018
|
+
//#region src/generators/cm15-maneuver-areas/frontal-attack.d.ts
|
|
2019
|
+
type FrontalAttackOptions = ManeuverArrowTaskOptions;
|
|
2020
|
+
declare const DEFAULT_FRONTAL_ATTACK_OPTIONS: FrontalAttackOptions;
|
|
2021
|
+
declare function createFrontalAttack(coordinates: Position[], options?: FrontalAttackOptions, textAmplifiers?: CanonicalTextAmplifiers): FeatureCollection<MultiLineString | Point>;
|
|
2022
|
+
//#endregion
|
|
2023
|
+
//#region src/generators/cm15-maneuver-areas/turning-movement.d.ts
|
|
2024
|
+
type TurningMovementOptions = ManeuverArrowTaskOptions;
|
|
2025
|
+
declare const DEFAULT_TURNING_MOVEMENT_OPTIONS: TurningMovementOptions;
|
|
2026
|
+
declare function createTurningMovement(coordinates: Position[], options?: TurningMovementOptions, textAmplifiers?: CanonicalTextAmplifiers): FeatureCollection<MultiLineString | Point>;
|
|
2027
|
+
//#endregion
|
|
1889
2028
|
//#region src/generators/cm27-protection-areas/block.d.ts
|
|
1890
2029
|
type BlockOptions = Record<never, never>;
|
|
1891
2030
|
declare const DEFAULT_BLOCK_OPTIONS: BlockOptions;
|
|
@@ -2036,6 +2175,9 @@ declare const DEFINITIONS: {
|
|
|
2036
2175
|
"battle-position": ControlMeasureDefinition<"battle-position", typeof createBattlePosition>;
|
|
2037
2176
|
"strong-point": ControlMeasureDefinition<"strong-point", typeof createStrongPoint>;
|
|
2038
2177
|
ambush: ControlMeasureDefinition<"ambush", (controlPoints: import("geojson").Position[], options?: AmbushOptions) => import("geojson").FeatureCollection<import("geojson").MultiLineString, Record<string, never>>>;
|
|
2178
|
+
"direction-of-attack-aviation": ControlMeasureDefinition<"direction-of-attack-aviation", typeof createDirectionOfAttackAviation>;
|
|
2179
|
+
"direction-of-main-attack": ControlMeasureDefinition<"direction-of-main-attack", typeof createDirectionOfMainAttack>;
|
|
2180
|
+
"direction-of-supporting-attack": ControlMeasureDefinition<"direction-of-supporting-attack", typeof createDirectionOfSupportingAttack>;
|
|
2039
2181
|
"principal-direction-of-fire": ControlMeasureDefinition<"principal-direction-of-fire", typeof createPrincipalDirectionOfFire>;
|
|
2040
2182
|
"final-protective-fire-left": ControlMeasureDefinition<"final-protective-fire-left", typeof createFinalProtectiveFireLeft>;
|
|
2041
2183
|
"final-protective-fire-right": ControlMeasureDefinition<"final-protective-fire-right", typeof createFinalProtectiveFireRight>;
|
|
@@ -2045,6 +2187,7 @@ declare const DEFINITIONS: {
|
|
|
2045
2187
|
}>>;
|
|
2046
2188
|
encirclement: ControlMeasureDefinition<"encirclement", typeof createEncirclement>;
|
|
2047
2189
|
area: ControlMeasureDefinition<"area", typeof createArea>;
|
|
2190
|
+
"area-defense": ControlMeasureDefinition<"area-defense", typeof createAreaDefense>;
|
|
2048
2191
|
"assembly-area": ControlMeasureDefinition<"assembly-area", typeof createAssemblyArea>;
|
|
2049
2192
|
"joint-tactical-action-area": ControlMeasureDefinition<"joint-tactical-action-area", typeof createJointTacticalActionArea>;
|
|
2050
2193
|
"submarine-action-area": ControlMeasureDefinition<"submarine-action-area", typeof createSubmarineActionArea>;
|
|
@@ -2084,13 +2227,18 @@ declare const DEFINITIONS: {
|
|
|
2084
2227
|
bypass: ControlMeasureDefinition<"bypass", typeof createBypassSymbol>;
|
|
2085
2228
|
canalize: ControlMeasureDefinition<"canalize", typeof createCanalizeSymbol>;
|
|
2086
2229
|
clear: ControlMeasureDefinition<"clear", typeof createClearSymbol>;
|
|
2230
|
+
cover: ControlMeasureDefinition<"cover", typeof createCoverSymbol>;
|
|
2087
2231
|
delay: ControlMeasureDefinition<"delay", typeof createDelaySymbol>;
|
|
2232
|
+
guard: ControlMeasureDefinition<"guard", typeof createGuardSymbol>;
|
|
2088
2233
|
isolate: ControlMeasureDefinition<"isolate", typeof createIsolateSymbol>;
|
|
2234
|
+
screen: ControlMeasureDefinition<"screen", typeof createScreenSymbol>;
|
|
2089
2235
|
"antitank-ditch-under-construction": ControlMeasureDefinition<"antitank-ditch-under-construction", typeof createAntitankDitchUnderConstruction>;
|
|
2090
2236
|
"antitank-ditch-completed": ControlMeasureDefinition<"antitank-ditch-completed", typeof createAntitankDitchCompleted>;
|
|
2091
2237
|
"antitank-wall": ControlMeasureDefinition<"antitank-wall", typeof createAntitankWall>;
|
|
2092
2238
|
"fortified-line": ControlMeasureDefinition<"fortified-line", typeof createFortifiedLine>;
|
|
2093
2239
|
"fortified-area": ControlMeasureDefinition<"fortified-area", typeof createFortifiedArea>;
|
|
2240
|
+
"frontal-attack": ControlMeasureDefinition<"frontal-attack", typeof createFrontalAttack>;
|
|
2241
|
+
"turning-movement": ControlMeasureDefinition<"turning-movement", typeof createTurningMovement>;
|
|
2094
2242
|
block: ControlMeasureDefinition<"block", typeof createBlock>;
|
|
2095
2243
|
disrupt: ControlMeasureDefinition<"disrupt", typeof createDisrupt>;
|
|
2096
2244
|
fix: ControlMeasureDefinition<"fix", typeof createFix>;
|
|
@@ -2158,6 +2306,8 @@ interface ControlMeasure<K extends ControlMeasureKind = ControlMeasureKind> {
|
|
|
2158
2306
|
properties?: Record<string, unknown>;
|
|
2159
2307
|
/** Free-text amplifier fields (MIL-STD-2525E Appendix L Table L-II); see `./text-amplifiers`. */
|
|
2160
2308
|
textAmplifiers?: TextAmplifiers;
|
|
2309
|
+
/** Optional user-adjusted anchors for independently rendered text amplifiers. */
|
|
2310
|
+
amplifierPlacements?: AmplifierPlacements;
|
|
2161
2311
|
schemaVersion?: 1;
|
|
2162
2312
|
}
|
|
2163
2313
|
declare function isKind<K extends ControlMeasureKind>(cm: ControlMeasure, kind: K): cm is ControlMeasure<K>;
|
|
@@ -2216,6 +2366,10 @@ interface FeaturePartProps {
|
|
|
2216
2366
|
* text begins at the point, `"end"` = it ends there. Absent = centered.
|
|
2217
2367
|
*/
|
|
2218
2368
|
textAnchor?: "start" | "end";
|
|
2369
|
+
/** Canonical field key for a text-amplifier label that may be repositioned. */
|
|
2370
|
+
amplifierField?: TextAmplifierKey;
|
|
2371
|
+
/** Stable key used to persist a user-adjusted anchor for any rendered label. */
|
|
2372
|
+
labelPlacementKey?: string;
|
|
2219
2373
|
/**
|
|
2220
2374
|
* Screen-anchored label size in CSS pixels — held constant on screen
|
|
2221
2375
|
* (ADR-0028). Mutually exclusive with `textSizeMeters`; absent both,
|
|
@@ -2499,6 +2653,19 @@ declare const line23DrawRule: ControlMeasureDrawRule;
|
|
|
2499
2653
|
*/
|
|
2500
2654
|
declare const line24DrawRule: ControlMeasureDrawRule;
|
|
2501
2655
|
//#endregion
|
|
2656
|
+
//#region src/draw-rules/line26.d.ts
|
|
2657
|
+
/**
|
|
2658
|
+
* Line26 anchor draw rule for the Cover, Guard, and Screen security tasks.
|
|
2659
|
+
*
|
|
2660
|
+
* PT. 1/PT. 4 are the outward arrow tips and PT. 2/PT. 3 bound the opening
|
|
2661
|
+
* reserved for the supported tactical symbol. All four anchors are free: the
|
|
2662
|
+
* two sides may independently touch the symbols that define the task limits.
|
|
2663
|
+
* During drawing, the cursor after PT. 1 supplies a provisional PT. 2 and the
|
|
2664
|
+
* rule mirrors that first leg across a temporary center opening, so the full
|
|
2665
|
+
* symbol is visible before PT. 2 is committed.
|
|
2666
|
+
*/
|
|
2667
|
+
declare const line26DrawRule: ControlMeasureDrawRule;
|
|
2668
|
+
//#endregion
|
|
2502
2669
|
//#region src/draw-rules/area8.d.ts
|
|
2503
2670
|
declare const supportByFireDrawRule: ControlMeasureDrawRule;
|
|
2504
2671
|
//#endregion
|
|
@@ -2528,25 +2695,4 @@ interface AmbushOptions {
|
|
|
2528
2695
|
}
|
|
2529
2696
|
declare const DEFAULT_AMBUSH_OPTIONS: Required<AmbushOptions>;
|
|
2530
2697
|
//#endregion
|
|
2531
|
-
|
|
2532
|
-
/**
|
|
2533
|
-
* Configuration options to tweak the tactical arrow's geometry.
|
|
2534
|
-
*/
|
|
2535
|
-
interface TacticalArrowOptions {
|
|
2536
|
-
/** Ratio of arrowhead length to total leg length (default: 0.12) */
|
|
2537
|
-
arrowheadLengthRatio?: number;
|
|
2538
|
-
/** Width multiplier for the arrowhead wings (default: 0.5) */
|
|
2539
|
-
arrowheadWidthRatio?: number;
|
|
2540
|
-
/** Percentage along the leg where the zigzag begins, 0.0-1.0 (default: 0.55) */
|
|
2541
|
-
zigzagStart?: number;
|
|
2542
|
-
/** Percentage along the leg where the zigzag returns, 0.0-1.0 (default: 0.45) */
|
|
2543
|
-
zigzagEnd?: number;
|
|
2544
|
-
/** Perpendicular offset for the lightning "kink", relative to leg length (default: 0.07) */
|
|
2545
|
-
zigzagAmplitudeRatio?: number;
|
|
2546
|
-
}
|
|
2547
|
-
/**
|
|
2548
|
-
* Default options for the tactical arrow.
|
|
2549
|
-
*/
|
|
2550
|
-
declare const DEFAULT_TACTICAL_ARROW_OPTIONS: Required<TacticalArrowOptions>;
|
|
2551
|
-
//#endregion
|
|
2552
|
-
export { getControlMeasureMetadata as $, ControlMeasureMetadata as $n, DEFAULT_GENERIC_CIRCLE_OPTIONS as $t, getMetersPerPixel as A, EncirclementOptions as An, DEFAULT_CANALIZE_OPTIONS as At, ControlMeasureSnapshot as B, GenericC2LineOptions as Bn, HandoverLineOptions as Bt, snapToMidpointPerpendicular as C, DEFAULT_LANDING_ZONE_OPTIONS as Cn, AntitankDitchOptions as Ct, BaselineFrameOrigin as D, AssemblyAreaOptions as Dn, ClearOptions as Dt, BaselineFrameOptions as E, JointTacticalActionAreaOptions as En, DelayOptions as Et, resolveStyleHints as F, DEFAULT_STRONG_POINT_OPTIONS as Fn, BlockMissionTaskOptions as Ft, cloneControlMeasure as G, LabelSizeOptions as Gn, AttackByFireOptions as Gt, StyleHints as H, EngineerWorkLineOptions as Hn, PhaseLineOptions as Ht, freezeOrientationOptions as I, StrongPointOptions as In, DEFAULT_BLOCK_MISSION_TASK_OPTIONS as It, CONTROL_MEASURE_IDS as J, unproject as Jn, SupportByFireOptions as Jt, isKind as K, Point2D as Kn, DEFAULT_ATTACK_BY_FIRE_OPTIONS as Kt, RenderOptions as L, BattlePositionOptions as Ln, BattleHandoverLineOptions as Lt, SimpleStyleProps as M, FinalProtectiveFireOptions as Mn, DEFAULT_BYPASS_OPTIONS as Mt, SimpleStyleRender as N, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS as Nn, BreachOptions as Nt, createBaselineFrame as O, DEFAULT_ASSEMBLY_AREA_OPTIONS as On, DEFAULT_CLEAR_OPTIONS as Ot, toSimpleStyle as P, PrincipalDirectionOfFireOptions as Pn, DEFAULT_BREACH_OPTIONS as Pt, OptionsByKind as Q, ControlMeasureGeometryType as Qn, DEFAULT_AIRBORNE_ATTACK_OPTIONS as Qt, renderControlMeasure as R, DEFAULT_BATTLE_POSITION_OPTIONS as Rn, DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS as Rt, pointOnMidpointPerpendicularAxis as S, PickupZoneOptions as Sn, DEFAULT_ANTITANK_WALL_OPTIONS as St, BaselineFrameNormal as T, DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS as Tn, DEFAULT_DELAY_OPTIONS as Tt, controlMeasureIdFromFeature as U, DEFAULT_LIGHT_LINE_OPTIONS as Un, DEFAULT_FLOT_OPTIONS as Ut, FeaturePartProps as V, DEFAULT_ENGINEER_WORK_LINE_OPTIONS as Vn, DEFAULT_PHASE_LINE_OPTIONS as Vt, ControlMeasure as W, LightLineOptions as Wn, FLOTOptions as Wt, ControlMeasureId as X, DEFAULT_BOUNDARY_OPTIONS as Xn, DEFAULT_ATTACK_HELICOPTER_OPTIONS as Xt, CONTROL_MEASURE_METADATA as Y, BoundaryOptions as Yn, AttackHelicopterOptions as Yt, ControlMeasureKind as Z, ControlMeasureGeometry as Zn, AirborneAttackOptions as Zt, blockDrawRule as _, calculateMetrics as _n, DEFAULT_FORTIFIED_AREA_OPTIONS as _t, rectangleDrawRule as a, DEFAULT_GENERIC_LINE_OPTIONS as an, TextAmplifierKey as ar, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS as at, createMidpointPerpendicularDrawRule as b, DEFAULT_AREA_OF_OPERATIONS_OPTIONS as bn, FortifiedLineOptions as bt, line24DrawRule as c, BlockArrowOptions as cn, normalizeTextAmplifiers as cr, ObstacleBypassEasyOptions as ct, line1DrawRule as d, ClassicArrowOptions as dn, DEFAULT_FIX_OPTIONS as dt, GenericCircleOptions as en, ParamDescriptor as er, getControlMeasureMetadataByValue as et, ambushDrawRule as f, DEFAULT_CLASSIC_ARROW_OPTIONS as fn, FixOptions as ft, disruptDrawRule as g, MainAttackOptions as gn, DEFAULT_BLOCK_OPTIONS as gt, centerRadiusDrawRule as h, DEFAULT_MAIN_ATTACK_OPTIONS as hn, BlockOptions as ht, DEFAULT_AMBUSH_OPTIONS as i, GenericPolygonOptions as in, TextAmplifierField as ir, ObstacleBypassImpossibleOptions as it, roundToFixed as j, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS as jn, BypassOptions as jt, EPSILON as k, DEFAULT_ENCIRCLEMENT_OPTIONS as kn, CanalizeOptions as kt, line23DrawRule as l, DEFAULT_BLOCK_ARROW_OPTIONS as ln, AnchorTransformEvent as lr, DEFAULT_TURN_OPTIONS as lt, point12DrawRule as m, SupportingAttackOptions as mn, DisruptOptions as mt, TacticalArrowOptions as n, GenericRectangleOptions as nn, CanonicalTextAmplifiers as nr, listControlMeasureMetadata as nt, axis1DrawRule as o, GenericLineOptions as on, TextAmplifiers as or, ObstacleBypassDifficultOptions as ot, attackByFireDrawRule as p, DEFAULT_SUPPORTING_ATTACK_OPTIONS as pn, DEFAULT_DISRUPT_OPTIONS as pt, ControlMeasureStyle as q, project as qn, DEFAULT_SUPPORT_BY_FIRE_OPTIONS as qt, AmbushOptions as r, DEFAULT_GENERIC_POLYGON_OPTIONS as rn, TEXT_AMPLIFIER_FIELDS as rr, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS as rt, supportByFireDrawRule as s, BlockArrowHeadStyle as sn, canonicalTextAmplifierKey as sr, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS as st, DEFAULT_TACTICAL_ARROW_OPTIONS as t, DEFAULT_GENERIC_RECTANGLE_OPTIONS as tn, TextAmplifierDescriptor as tr, getDefaultOptions as tt, turnDrawRule as u, ClassicArrowHeadStyle as un, ControlMeasureDrawRule as ur, TurnOptions as ut, MidpointPerpendicularDrawRuleOptions as v, computeInitialWidthPoint as vn, FortifiedAreaOptions as vt, BaselineFrame as w, LandingZoneOptions as wn, DEFAULT_ANTITANK_DITCH_OPTIONS as wt, getMidpointPerpendicularSignedDistance as x, DEFAULT_PICKUP_ZONE_OPTIONS as xn, AntitankWallOptions as xt, computeDefaultMidpointPerpendicularPoint as y, AreaOfOperationsOptions as yn, DEFAULT_FORTIFIED_LINE_OPTIONS as yt, ControlMeasureRender as z, DEFAULT_GENERIC_C2_LINE_OPTIONS as zn, DEFAULT_HANDOVER_LINE_OPTIONS as zt };
|
|
2698
|
+
export { getControlMeasureMetadataByValue as $, DirectionOfAttackAviationOptions as $n, PhaseLineOptions as $t, roundToFixed as A, AreaOfOperationsOptions as An, AnchorTransformEvent 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, GeneratedLabelKey as Cr, FortifiedLineOptions as Ct, createBaselineFrame as D, MainAttackOptions as Dn, TextAmplifiers as Dr, DEFAULT_ANTITANK_DITCH_OPTIONS as Dt, BaselineFrameOrigin as E, DEFAULT_MAIN_ATTACK_OPTIONS as En, TextAmplifierKey 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, DEFAULT_DELAY_OPTIONS as Mt, toSimpleStyle as N, PickupZoneOptions as Nn, DelayOptions as Nt, EPSILON as O, calculateMetrics as On, canonicalTextAmplifierKey as Or, DEFAULT_SCREEN_OPTIONS as Ot, resolveStyleHints as P, DEFAULT_LANDING_ZONE_OPTIONS as Pn, 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, CanonicalTextAmplifiers as Sr, DEFAULT_FORTIFIED_LINE_OPTIONS as St, BaselineFrameOptions as T, SupportingAttackOptions as Tn, TextAmplifierField 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, ControlMeasureDrawRule as jr, GuardOptions as jt, getMetersPerPixel as k, computeInitialWidthPoint as kn, normalizeTextAmplifiers 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, TEXT_AMPLIFIER_FIELDS as wr, AntitankWallOptions as wt, pointOnMidpointPerpendicularAxis as x, ClassicArrowHeadStyle as xn, AmplifierPlacements 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 };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { type AirborneAttackOptions, type AmbushOptions, type AnchorTransformEvent, type AntitankDitchOptions, type AntitankWallOptions, 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, DEFAULT_AIRBORNE_ATTACK_OPTIONS, DEFAULT_AMBUSH_OPTIONS, DEFAULT_ANTITANK_DITCH_OPTIONS, DEFAULT_ANTITANK_WALL_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_DELAY_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_GENERIC_C2_LINE_OPTIONS, DEFAULT_GENERIC_CIRCLE_OPTIONS, DEFAULT_GENERIC_LINE_OPTIONS, DEFAULT_GENERIC_POLYGON_OPTIONS, DEFAULT_GENERIC_RECTANGLE_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_STRONG_POINT_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURN_OPTIONS, type DelayOptions, type DisruptOptions, EPSILON, type EncirclementOptions, type EngineerWorkLineOptions, type FLOTOptions, type FeaturePartProps, type FinalProtectiveFireOptions, type FixOptions, type FortifiedAreaOptions, type FortifiedLineOptions, type GenericC2LineOptions, type GenericCircleOptions, type GenericLineOptions, type GenericPolygonOptions, type GenericRectangleOptions, type HandoverLineOptions, type JointTacticalActionAreaOptions, 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 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, ambushDrawRule, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, canonicalTextAmplifierKey, centerRadiusDrawRule, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, freezeOrientationOptions, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getMetersPerPixel, getMidpointPerpendicularSignedDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, listControlMeasureMetadata, normalizeTextAmplifiers, point12DrawRule, pointOnMidpointPerpendicularAxis, project, rectangleDrawRule, renderControlMeasure, resolveStyleHints, roundToFixed, snapToMidpointPerpendicular, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
|
|
1
|
+
import { $ as getControlMeasureMetadataByValue, $n as DirectionOfAttackAviationOptions, $t as PhaseLineOptions, A as roundToFixed, An as AreaOfOperationsOptions, Ar as AnchorTransformEvent, 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 GeneratedLabelKey, Ct as FortifiedLineOptions, D as createBaselineFrame, Dn as MainAttackOptions, Dr as TextAmplifiers, Dt as DEFAULT_ANTITANK_DITCH_OPTIONS, E as BaselineFrameOrigin, En as DEFAULT_MAIN_ATTACK_OPTIONS, Er as TextAmplifierKey, 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, Mt as DEFAULT_DELAY_OPTIONS, N as toSimpleStyle, Nn as PickupZoneOptions, Nt as DelayOptions, O as EPSILON, On as calculateMetrics, Or as canonicalTextAmplifierKey, Ot as DEFAULT_SCREEN_OPTIONS, P as resolveStyleHints, Pn as DEFAULT_LANDING_ZONE_OPTIONS, 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 CanonicalTextAmplifiers, St as DEFAULT_FORTIFIED_LINE_OPTIONS, T as BaselineFrameOptions, Tn as SupportingAttackOptions, Tr as TextAmplifierField, 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 ControlMeasureDrawRule, jt as GuardOptions, k as getMetersPerPixel, kn as computeInitialWidthPoint, kr as normalizeTextAmplifiers, 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 TEXT_AMPLIFIER_FIELDS, wt as AntitankWallOptions, x as pointOnMidpointPerpendicularAxis, xn as ClassicArrowHeadStyle, xr as AmplifierPlacements, 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-h8S1sTjc.mjs";
|
|
2
|
+
export { type AirborneAttackOptions, type AmbushOptions, 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 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, resolveStyleHints, roundToFixed, snapToMidpointPerpendicular, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DEFAULT_ENGINEER_WORK_LINE_OPTIONS, A as DEFAULT_BATTLE_HANDOVER_LINE_OPTIONS, At as blockDrawRule, B as DEFAULT_COVER_OPTIONS, Bt as unproject, C as DEFAULT_MAIN_ATTACK_OPTIONS, Ct as turnDrawRule, D as DEFAULT_FRONTAL_ATTACK_OPTIONS, Dt as point12DrawRule, E as DEFAULT_SCREEN_OPTIONS, Et as attackByFireDrawRule, F as DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, Ft as snapToMidpointPerpendicular, G as DEFAULT_GENERIC_LINE_OPTIONS, H as DEFAULT_CLEAR_OPTIONS, Ht as getMetersPerPixel, I as DEFAULT_ENCIRCLEMENT_OPTIONS, It as createBaselineFrame, J as DEFAULT_CANALIZE_OPTIONS, K as DEFAULT_GENERIC_CIRCLE_OPTIONS, L as DEFAULT_DISRUPT_OPTIONS, Lt as calculateMetrics, M as DEFAULT_PHASE_LINE_OPTIONS, Mt as createMidpointPerpendicularDrawRule, N as DEFAULT_FLOT_OPTIONS, Nt as getMidpointPerpendicularSignedDistance, O as DEFAULT_FORTIFIED_AREA_OPTIONS, Ot as centerRadiusDrawRule, P as DEFAULT_FIX_OPTIONS, Pt as pointOnMidpointPerpendicularAxis, Q as DEFAULT_GENERIC_C2_LINE_OPTIONS, R as DEFAULT_GUARD_OPTIONS, Rt as computeInitialWidthPoint, S as DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, St as line23DrawRule, T as DEFAULT_JOINT_TACTICAL_ACTION_AREA_OPTIONS, Tt as ambushDrawRule, U as DEFAULT_GENERIC_RECTANGLE_OPTIONS, Ut as roundToFixed, V as DEFAULT_TACTICAL_ARROW_OPTIONS, Vt as EPSILON, W as DEFAULT_GENERIC_POLYGON_OPTIONS, X as DEFAULT_BREACH_OPTIONS, Y as DEFAULT_BYPASS_OPTIONS, Z as DEFAULT_BLOCK_MISSION_TASK_OPTIONS, _ as DEFAULT_STRONG_POINT_OPTIONS, _t as rectangleDrawRule, a as resolveStyleHints, at as DEFAULT_ATTACK_HELICOPTER_OPTIONS, b as DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, bt as line26DrawRule, c as DEFINITIONS, ct as DEFAULT_ANTITANK_DITCH_OPTIONS, d as getDefaultOptions, dt as DEFAULT_AREA_DEFENSE_OPTIONS, et as DEFAULT_LIGHT_LINE_OPTIONS, f as listControlMeasureMetadata, ft as DEFAULT_DIRECTION_OF_SUPPORTING_ATTACK_OPTIONS, g as DEFAULT_SUPPORT_BY_FIRE_OPTIONS, gt as DEFAULT_AIRBORNE_ATTACK_OPTIONS, h as DEFAULT_SUPPORTING_ATTACK_OPTIONS, ht as DEFAULT_AMBUSH_OPTIONS, i as normalizeTextAmplifiers, it as DEFAULT_BATTLE_POSITION_OPTIONS, j as DEFAULT_HANDOVER_LINE_OPTIONS, jt as computeDefaultMidpointPerpendicularPoint, k as DEFAULT_FORTIFIED_LINE_OPTIONS, kt as disruptDrawRule, l as getControlMeasureMetadata, lt as DEFAULT_ASSEMBLY_AREA_OPTIONS, m as DEFAULT_TURN_OPTIONS, mt as DEFAULT_DIRECTION_OF_ATTACK_AVIATION_OPTIONS, n as TEXT_AMPLIFIER_FIELDS, nt as DEFAULT_BLOCK_ARROW_OPTIONS, o as CONTROL_MEASURE_IDS, ot as DEFAULT_ATTACK_BY_FIRE_OPTIONS, p as DEFAULT_TURNING_MOVEMENT_OPTIONS, pt as DEFAULT_DIRECTION_OF_MAIN_ATTACK_OPTIONS, q as DEFAULT_CLASSIC_ARROW_OPTIONS, r as canonicalTextAmplifierKey, rt as DEFAULT_BLOCK_OPTIONS, s as CONTROL_MEASURE_METADATA, st as DEFAULT_ANTITANK_WALL_OPTIONS, t as renderControlMeasure, tt as DEFAULT_BOUNDARY_OPTIONS, u as getControlMeasureMetadataByValue, ut as DEFAULT_AREA_OF_OPERATIONS_OPTIONS, v as DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, vt as axis1DrawRule, w as DEFAULT_LANDING_ZONE_OPTIONS, wt as line1DrawRule, x as DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, xt as line24DrawRule, y as DEFAULT_PICKUP_ZONE_OPTIONS, yt as supportByFireDrawRule, z as DEFAULT_DELAY_OPTIONS, zt as project } from "./renderControlMeasure-CoBRpbJT.mjs";
|
|
2
2
|
//#region src/freeze-orientation.ts
|
|
3
3
|
/**
|
|
4
4
|
* Dispatches to a measure kind's `freezeOrientation` hook (see
|
|
@@ -114,4 +114,4 @@ function toHexChannel(value) {
|
|
|
114
114
|
return Math.max(0, Math.min(255, Math.round(value))).toString(16).padStart(2, "0");
|
|
115
115
|
}
|
|
116
116
|
//#endregion
|
|
117
|
-
export { CONTROL_MEASURE_IDS, CONTROL_MEASURE_METADATA, DEFAULT_AIRBORNE_ATTACK_OPTIONS, DEFAULT_AMBUSH_OPTIONS, DEFAULT_ANTITANK_DITCH_OPTIONS, DEFAULT_ANTITANK_WALL_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_DELAY_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_GENERIC_C2_LINE_OPTIONS, DEFAULT_GENERIC_CIRCLE_OPTIONS, DEFAULT_GENERIC_LINE_OPTIONS, DEFAULT_GENERIC_POLYGON_OPTIONS, DEFAULT_GENERIC_RECTANGLE_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_STRONG_POINT_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURN_OPTIONS, EPSILON, TEXT_AMPLIFIER_FIELDS, ambushDrawRule, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, canonicalTextAmplifierKey, centerRadiusDrawRule, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, freezeOrientationOptions, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getMetersPerPixel, getMidpointPerpendicularSignedDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, listControlMeasureMetadata, normalizeTextAmplifiers, point12DrawRule, pointOnMidpointPerpendicularAxis, project, rectangleDrawRule, renderControlMeasure, resolveStyleHints, roundToFixed, snapToMidpointPerpendicular, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
|
|
117
|
+
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_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, EPSILON, TEXT_AMPLIFIER_FIELDS, 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, resolveStyleHints, roundToFixed, snapToMidpointPerpendicular, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };
|
package/dist/preview/index.d.mts
CHANGED
package/dist/preview/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as DEFINITIONS, t as renderControlMeasure } from "../renderControlMeasure-
|
|
1
|
+
import { c as DEFINITIONS, t as renderControlMeasure } from "../renderControlMeasure-CoBRpbJT.mjs";
|
|
2
2
|
//#region src/preview/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* Unitless `previewSample` points (~`[-1, 1]`) are scaled by this degree offset
|