bruce-cesium 7.7.9 → 7.8.1

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.
@@ -77,7 +77,7 @@ export * from "./widgets/widget-info-view";
77
77
  export * from "./widgets/widget-left-panel";
78
78
  export * from "./widgets/widget-nav-compass";
79
79
  export * from "./widgets/widget-view-bar";
80
- export declare const VERSION = "7.7.9";
80
+ export declare const VERSION = "7.8.1";
81
81
  /**
82
82
  * Updates the environment instance used by bruce-cesium to one specified.
83
83
  * This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.
@@ -10,7 +10,7 @@ export declare namespace EntityLabelGroup {
10
10
  iconUrl?: string | Calculator.IField[];
11
11
  iconClass?: string | Calculator.IField[];
12
12
  iconColor?: string | Calculator.IField[];
13
- iconBackground?: boolean;
13
+ iconBackground?: boolean | string | Calculator.IField[];
14
14
  iconPriority?: number | Calculator.IField[];
15
15
  iconStatus?: string | Calculator.IField[];
16
16
  }
@@ -14,7 +14,7 @@ export declare namespace EntityLabel {
14
14
  iconUrl?: string;
15
15
  iconClass?: string | Calculator.IField[];
16
16
  iconColor?: string | Calculator.IField[];
17
- iconBackground?: boolean;
17
+ iconBackground?: boolean | string;
18
18
  iconSize?: number;
19
19
  iconScale?: number;
20
20
  iconPriority?: number;
@@ -22,7 +22,7 @@ export declare namespace EntityLabel {
22
22
  photo?: string;
23
23
  iconPhoto?: boolean;
24
24
  leader?: boolean;
25
- leaderStyle?: "default" | "angled";
25
+ leaderStyle?: "default" | "angled" | "pin";
26
26
  leaderLength?: number;
27
27
  leaderColor?: string;
28
28
  attributes?: string[];
@@ -135,6 +135,10 @@ export declare namespace EntityLabel {
135
135
  }>;
136
136
  }
137
137
  export const IconPriority: typeof GetClusterIconPriority;
138
+ export function IconColors(options: Pick<IOptions, "iconColor" | "iconBackground">): {
139
+ icon?: string;
140
+ background?: string;
141
+ };
138
142
  export function Layout(input: IFrame[], memory?: PlacementMemory): IPlacement[];
139
143
  export function compatibleMembers<T>(seed: T, nearby: T[], group: (item: T) => string, look: (item: T) => string): T[];
140
144
  interface IParticipant {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-cesium",
3
- "version": "7.7.9",
3
+ "version": "7.8.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-cesium.umd.js",