@equinor/videx-map 1.12.3 → 1.12.5

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.
@@ -2,8 +2,9 @@ import { Colors, InputColors } from '../Colors';
2
2
  import { WellboreData } from './WellboreData';
3
3
  import { SourceData } from './SourceData';
4
4
  export interface GroupOptions {
5
- colors?: InputColors;
6
5
  order?: number;
6
+ mirrorLabels?: boolean;
7
+ colors?: InputColors;
7
8
  }
8
9
  interface WellboreState {
9
10
  completionVisible: boolean;
@@ -13,9 +14,10 @@ declare type Filter = (data: SourceData) => boolean;
13
14
  export declare class Group {
14
15
  key: string;
15
16
  colors: Colors;
17
+ order: number;
18
+ mirrorLabels: boolean;
16
19
  wellbores: WellboreData[];
17
20
  active: boolean;
18
- order: number;
19
21
  activeFilter: Filter;
20
22
  /** Is active filter soft or hard (Ghost) */
21
23
  isHardFilter: boolean;
@@ -15,7 +15,8 @@ export declare class Label {
15
15
  private static style;
16
16
  static config: Common;
17
17
  static height: number;
18
- text: PIXI.Text;
18
+ container: PIXI.Container;
19
+ private text;
19
20
  background: PIXI.Graphics;
20
21
  metrics: PIXI.TextMetrics;
21
22
  private _attachToRoot;
@@ -30,6 +31,7 @@ export declare class Label {
30
31
  constructor(label: string, fontColor: number, bgColor: number);
31
32
  get visible(): boolean;
32
33
  set visible(flag: boolean);
34
+ set fontColor(color: number);
33
35
  get attachToRoot(): boolean;
34
36
  set attachToRoot(val: boolean);
35
37
  getBoundingBox(): PIXI.Rectangle;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/videx-map",
3
- "version": "1.12.3",
3
+ "version": "1.12.5",
4
4
  "description": "Component for Pixi-overlay in Leaflet.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",