ngx-bimplus-components 0.0.13 → 0.0.14
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/assets/images/eye_active.svg +1 -0
- package/assets/images/eye_inactive.svg +1 -0
- package/assets/images/eye_semiactive.svg +1 -0
- package/assets/images/visibility_active.svg +1 -0
- package/assets/images/visibility_inactive.svg +1 -0
- package/assets/images/visibility_semiactive.svg +1 -0
- package/esm2022/lib/components/bimplus-context-menu/bimplus-context-menu.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-flat-tree/bimplus-flat-tree.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-floating-bar/bimplus-floating-bar.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-floating-bar/bimplus-floating-bar.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-floating-bar-body/bimplus-floating-bar-body.component.mjs +5 -4
- package/esm2022/lib/components/bimplus-floating-bar-dragger/bimplus-floating-bar-dragger.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-floating-bar-header-content/bimplus-floating-bar-header-content.component.mjs +3 -7
- package/esm2022/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.mjs +3 -13
- package/esm2022/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.mjs +3 -13
- package/esm2022/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.mjs +52 -32
- package/esm2022/lib/components/bimplus-object-complex-properties/bimplus-object-complex-properties.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-object-navigator/bimplus-object-navigator.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-object-structure/bimplus-object-structure.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-panel-toolbar/bimplus-panel-toolbar.component.mjs +18 -0
- package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +3 -3
- package/esm2022/lib/components/expansion-panel-header/expansion-panel-header.component.mjs +2 -2
- package/esm2022/lib/components/project-models/project-models.component.mjs +62 -0
- package/esm2022/lib/components/project-models/project-models.interface.mjs +2 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ngx-bimplus-components.mjs +185 -125
- package/fesm2022/ngx-bimplus-components.mjs.map +1 -1
- package/lib/components/bimplus-floating-bar-body/bimplus-floating-bar-body.component.d.ts +1 -1
- package/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.d.ts +0 -2
- package/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.d.ts +0 -2
- package/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.d.ts +15 -8
- package/lib/components/bimplus-panel-toolbar/bimplus-panel-toolbar.component.d.ts +6 -0
- package/lib/components/project-models/project-models.component.d.ts +21 -0
- package/lib/components/project-models/project-models.interface.d.ts +30 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -5,5 +5,5 @@ export declare class BimplusFloatingBarBodyComponent extends BimplusLocalizedWid
|
|
|
5
5
|
constructor(translateService: TranslateService);
|
|
6
6
|
isCollapsed: boolean;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarBodyComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarBodyComponent, "lib-bimplus-floating-bar-body", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; }, {}, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarBodyComponent, "lib-bimplus-floating-bar-body", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
9
|
}
|
|
@@ -14,8 +14,6 @@ export declare class BimplusFloatingBarHideObjectsComponent extends BimplusLocal
|
|
|
14
14
|
focusSelectorId: string;
|
|
15
15
|
left: number;
|
|
16
16
|
top: number;
|
|
17
|
-
onActiveItemChanged(item: string): void;
|
|
18
|
-
onActionClicked(action: string): void;
|
|
19
17
|
onLogoClicked(event: MouseEvent): void;
|
|
20
18
|
onDragElement(event: [number, number]): void;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarHideObjectsComponent, never>;
|
|
@@ -14,8 +14,6 @@ export declare class BimplusFloatingBarIsolationObjectsComponent extends Bimplus
|
|
|
14
14
|
icon: string;
|
|
15
15
|
title: string;
|
|
16
16
|
focusSelectorId: string;
|
|
17
|
-
onActiveItemChanged(item: string): void;
|
|
18
|
-
onActionClicked(action: string): void;
|
|
19
17
|
onLogoClicked(event: MouseEvent): void;
|
|
20
18
|
onDragElement(event: [number, number]): void;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarIsolationObjectsComponent, never>;
|
|
@@ -2,24 +2,31 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
4
4
|
import { FloatingBarItem } from '../bimplus-floating-bar/bimplus-floating-bar.interface';
|
|
5
|
+
import { ProjectNavigatorModel, ProjectNavigatorLayer, ProjectNavigatorProject } from '../project-models/project-models.interface';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class BimplusFloatingBarProjectNavigatorComponent extends BimplusLocalizedWidgetComponent {
|
|
7
8
|
constructor(translateService: TranslateService);
|
|
8
|
-
activeItemChanged: EventEmitter<string>;
|
|
9
|
-
actionClicked: EventEmitter<string>;
|
|
10
9
|
noBody: boolean;
|
|
11
10
|
isCollapsed: boolean;
|
|
12
|
-
isFocused: boolean;
|
|
13
11
|
left: number;
|
|
14
12
|
top: number;
|
|
15
13
|
icon: string;
|
|
16
14
|
title: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
items: Array<FloatingBarItem>;
|
|
16
|
+
activeItemChanged: EventEmitter<string>;
|
|
17
|
+
actionClicked: EventEmitter<string>;
|
|
18
|
+
isPanelToolbarVisible: boolean;
|
|
19
|
+
expandedModelTree: boolean;
|
|
20
|
+
expandedModels: boolean;
|
|
21
|
+
project: ProjectNavigatorProject;
|
|
22
|
+
modelClicked: EventEmitter<ProjectNavigatorModel>;
|
|
23
|
+
layerClicked: EventEmitter<ProjectNavigatorLayer>;
|
|
24
|
+
toggleModelOpacity: EventEmitter<ProjectNavigatorModel>;
|
|
25
|
+
toggleLayerOpacity: EventEmitter<ProjectNavigatorLayer>;
|
|
26
|
+
toggleModelVisibility: EventEmitter<ProjectNavigatorModel>;
|
|
27
|
+
toggleLayerVisibility: EventEmitter<ProjectNavigatorLayer>;
|
|
21
28
|
onLogoClicked(event: MouseEvent): void;
|
|
22
29
|
onDragElement(event: [number, number]): void;
|
|
23
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarProjectNavigatorComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarProjectNavigatorComponent, "lib-bimplus-floating-bar-project-navigator", never, { "noBody": { "alias": "noBody"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarProjectNavigatorComponent, "lib-bimplus-floating-bar-project-navigator", never, { "noBody": { "alias": "noBody"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "items": { "alias": "items"; "required": false; }; "isPanelToolbarVisible": { "alias": "isPanelToolbarVisible"; "required": false; }; "expandedModelTree": { "alias": "expandedModelTree"; "required": false; }; "expandedModels": { "alias": "expandedModels"; "required": false; }; "project": { "alias": "project"; "required": false; }; }, { "activeItemChanged": "activeItemChanged"; "actionClicked": "actionClicked"; "modelClicked": "modelClicked"; "layerClicked": "layerClicked"; "toggleModelOpacity": "toggleModelOpacity"; "toggleLayerOpacity": "toggleLayerOpacity"; "toggleModelVisibility": "toggleModelVisibility"; "toggleLayerVisibility": "toggleLayerVisibility"; }, never, never, true, never>;
|
|
25
32
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BimplusPanelToolbarComponent {
|
|
3
|
+
isPanelToolbarVisible: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusPanelToolbarComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusPanelToolbarComponent, "lib-bimplus-panel-toolbar", never, { "isPanelToolbarVisible": { "alias": "isPanelToolbarVisible"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
4
|
+
import { ProjectNavigatorModel, ProjectNavigatorLayer } from './project-models.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProjectModelsComponent extends BimplusLocalizedWidgetComponent {
|
|
7
|
+
constructor(translateService: TranslateService);
|
|
8
|
+
modelTreeRootTitle: string;
|
|
9
|
+
modelTreeRootName: string;
|
|
10
|
+
expandedModelTree: boolean;
|
|
11
|
+
expandedModels: boolean;
|
|
12
|
+
models: Array<ProjectNavigatorModel>;
|
|
13
|
+
modelClicked: EventEmitter<ProjectNavigatorModel>;
|
|
14
|
+
layerClicked: EventEmitter<ProjectNavigatorLayer>;
|
|
15
|
+
toggleModelOpacity: EventEmitter<ProjectNavigatorModel>;
|
|
16
|
+
toggleLayerOpacity: EventEmitter<ProjectNavigatorLayer>;
|
|
17
|
+
toggleModelVisibility: EventEmitter<ProjectNavigatorModel>;
|
|
18
|
+
toggleLayerVisibility: EventEmitter<ProjectNavigatorLayer>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProjectModelsComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProjectModelsComponent, "lib-project-models", never, { "modelTreeRootTitle": { "alias": "modelTreeRootTitle"; "required": false; }; "modelTreeRootName": { "alias": "modelTreeRootName"; "required": false; }; "expandedModelTree": { "alias": "expandedModelTree"; "required": false; }; "expandedModels": { "alias": "expandedModels"; "required": false; }; "models": { "alias": "models"; "required": false; }; }, { "modelClicked": "modelClicked"; "layerClicked": "layerClicked"; "toggleModelOpacity": "toggleModelOpacity"; "toggleLayerOpacity": "toggleLayerOpacity"; "toggleModelVisibility": "toggleModelVisibility"; "toggleLayerVisibility": "toggleLayerVisibility"; }, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference path="../../../../../projects/ngx-bimplus-components/src/lib/types/bimplus-websdk.d.ts" />
|
|
2
|
+
import * as WebSdk from 'bimplus-websdk';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
export interface ProjectNavigatorProject {
|
|
5
|
+
id: WebSdk.ProjectId;
|
|
6
|
+
name: string;
|
|
7
|
+
teamSlug: string;
|
|
8
|
+
models: Array<ProjectNavigatorModel>;
|
|
9
|
+
}
|
|
10
|
+
export interface ProjectNavigatorModel {
|
|
11
|
+
id: WebSdk.ModelId;
|
|
12
|
+
name: string;
|
|
13
|
+
isVisible: boolean;
|
|
14
|
+
isSemiVisible: boolean;
|
|
15
|
+
isOpaque: boolean;
|
|
16
|
+
isSemiOpaque: boolean;
|
|
17
|
+
divisionTopologyId: WebSdk.DivisionTopologyId;
|
|
18
|
+
layers: Array<ProjectNavigatorLayer> | null;
|
|
19
|
+
parentProject?: ProjectNavigatorProject | null;
|
|
20
|
+
}
|
|
21
|
+
export interface ProjectNavigatorLayer {
|
|
22
|
+
id: WebSdk.Guid;
|
|
23
|
+
name: string;
|
|
24
|
+
isVisible: boolean;
|
|
25
|
+
isOpaque: boolean;
|
|
26
|
+
opacity: number;
|
|
27
|
+
userColor: THREE.Color | null;
|
|
28
|
+
userOpacity: number | null;
|
|
29
|
+
parentModel?: ProjectNavigatorModel | null;
|
|
30
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './lib/ngx-bimplus-components.service';
|
|
|
2
2
|
export * from './lib/ngx-bimplus-components.component';
|
|
3
3
|
export * from './lib/components/bimplus-contact/bimplus-contact.component';
|
|
4
4
|
export * from './lib/components/bimplus-floating-bar/bimplus-floating-bar.interface';
|
|
5
|
+
export * from './lib/components/project-models/project-models.interface';
|
|
5
6
|
export * from './lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component';
|
|
6
7
|
export * from './lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component';
|
|
7
8
|
export * from './lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component';
|