ngx-bimplus-components 0.0.135-webcomponents → 0.0.136-dependencies

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.
Files changed (41) hide show
  1. package/esm2022/lib/components/bimplus-buttons-row/bimplus-buttons-row.component.mjs +3 -4
  2. package/esm2022/lib/components/bimplus-connection-designer/bimplus-connection-designer.component.mjs +5 -5
  3. package/esm2022/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.component.mjs +3 -3
  4. package/esm2022/lib/components/bimplus-flat-tree/bimplus-flat-tree.component.mjs +3 -3
  5. package/esm2022/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.mjs +1 -1
  6. package/esm2022/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.mjs +1 -1
  7. package/esm2022/lib/components/bimplus-main-menu/bimplus-main-menu.component.mjs +27 -4
  8. package/esm2022/lib/components/bimplus-navbar/bimplus-navbar.component.mjs +19 -6
  9. package/esm2022/lib/components/bimplus-navbar/logo-state.enum.mjs +2 -1
  10. package/esm2022/lib/components/bimplus-object-complex-properties/bimplus-object-complex-properties.component.mjs +3 -3
  11. package/esm2022/lib/components/bimplus-object-navigator/bimplus-object-navigator.component.mjs +3 -3
  12. package/esm2022/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.mjs +3 -3
  13. package/esm2022/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.interface.mjs +1 -1
  14. package/esm2022/lib/components/bimplus-object-navigator/object-filter-result/object-filter-result.component.mjs +3 -3
  15. package/esm2022/lib/components/bimplus-object-structure/bimplus-object-structure.component.mjs +6 -3
  16. package/esm2022/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.mjs +1 -1
  17. package/esm2022/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.component.mjs +19 -0
  18. package/esm2022/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.interface.mjs +2 -0
  19. package/esm2022/lib/components/object-properties/object-properties.component.mjs +236 -0
  20. package/esm2022/lib/components/object-properties/object-properties.interface.mjs +2 -0
  21. package/esm2022/lib/components/object-properties-header/object-properties-header.component.mjs +19 -4
  22. package/esm2022/lib/components/object-properties-header/object-properties-header.interface.mjs +1 -1
  23. package/esm2022/public-api.mjs +4 -1
  24. package/fesm2022/ngx-bimplus-components.mjs +327 -32
  25. package/fesm2022/ngx-bimplus-components.mjs.map +1 -1
  26. package/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.d.ts +1 -1
  27. package/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.d.ts +3 -3
  28. package/lib/components/bimplus-navbar/bimplus-navbar.component.d.ts +5 -1
  29. package/lib/components/bimplus-navbar/logo-state.enum.d.ts +1 -0
  30. package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.d.ts +7 -7
  31. package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.interface.d.ts +3 -3
  32. package/lib/components/bimplus-object-structure/bimplus-object-structure.component.d.ts +1 -1
  33. package/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.d.ts +1 -1
  34. package/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.component.d.ts +10 -0
  35. package/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.interface.d.ts +3 -0
  36. package/lib/components/object-properties/object-properties.component.d.ts +42 -0
  37. package/lib/components/object-properties/object-properties.interface.d.ts +18 -0
  38. package/lib/components/object-properties-header/object-properties-header.component.d.ts +5 -3
  39. package/lib/components/object-properties-header/object-properties-header.interface.d.ts +1 -0
  40. package/package.json +5 -5
  41. package/public-api.d.ts +3 -0
@@ -4,7 +4,7 @@ import { BimplusLocalizedWidgetComponent } from '../bimplus-localized-widget/bim
4
4
  import { LayoutManagerService } from '../../services/layout-manager.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class BimplusFloatingBarHeaderLogoComponent extends BimplusLocalizedWidgetComponent implements OnInit {
7
- private layoutManagerService;
7
+ private readonly layoutManagerService;
8
8
  constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService);
9
9
  icon: string;
10
10
  isCollapsed: boolean;
@@ -6,9 +6,9 @@ import { ProjectNavigatorModel, ProjectNavigatorLayer, ProjectNavigatorProject }
6
6
  import { LayoutManagerService } from '../../services/layout-manager.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class BimplusFloatingBarProjectNavigatorComponent extends BimplusLocalizedWidgetComponent implements AfterViewInit, AfterViewChecked {
9
- private layoutManagerService;
10
- private element;
11
- private cdr;
9
+ private readonly layoutManagerService;
10
+ private readonly element;
11
+ private readonly cdr;
12
12
  constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef);
13
13
  private hasViewChecked;
14
14
  noBody: boolean;
@@ -10,6 +10,8 @@ export declare class BimplusNavbarComponent {
10
10
  isNavbarMenuVisible: boolean;
11
11
  isNavbarInfoVisible: boolean;
12
12
  logoState: LogoState;
13
+ set isModelViewerActiveValue(value: boolean);
14
+ protected readonly isModelViewerActive: import("@angular/core").WritableSignal<boolean>;
13
15
  isNavbarMessageVisible: boolean;
14
16
  isNavbarMenuActive: boolean;
15
17
  isNavbarMenuEnabled: boolean;
@@ -18,15 +20,17 @@ export declare class BimplusNavbarComponent {
18
20
  selectedLanguage: string;
19
21
  bimplusNavbarClicked: EventEmitter<string>;
20
22
  LogoState: typeof LogoState;
23
+ protected readonly logoStateSignal: import("@angular/core").Signal<LogoState>;
21
24
  _menuClicked(): void;
22
25
  _logoClicked(): void;
23
26
  _projectInfoClicked(): void;
24
27
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusNavbarComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BimplusNavbarComponent, "lib-bimplus-navbar", never, { "projectInfo": { "alias": "projectInfo"; "required": false; }; "teamInfo": { "alias": "teamInfo"; "required": false; }; "isDev": { "alias": "isDev"; "required": false; }; "isStage": { "alias": "isStage"; "required": false; }; "teamInfoOffset": { "alias": "teamInfoOffset"; "required": false; }; "isNavbarMenuVisible": { "alias": "isNavbarMenuVisible"; "required": false; }; "isNavbarInfoVisible": { "alias": "isNavbarInfoVisible"; "required": false; }; "logoState": { "alias": "logoState"; "required": false; }; "isNavbarMessageVisible": { "alias": "isNavbarMessageVisible"; "required": false; }; "isNavbarMenuActive": { "alias": "isNavbarMenuActive"; "required": false; }; "isNavbarMenuEnabled": { "alias": "isNavbarMenuEnabled"; "required": false; }; "isTouch": { "alias": "isTouch"; "required": false; }; "isDashboardTooltipEnabled": { "alias": "isDashboardTooltipEnabled"; "required": false; }; "selectedLanguage": { "alias": "selectedLanguage"; "required": false; }; }, { "bimplusNavbarClicked": "bimplusNavbarClicked"; }, never, never, true, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimplusNavbarComponent, "lib-bimplus-navbar", never, { "projectInfo": { "alias": "projectInfo"; "required": false; }; "teamInfo": { "alias": "teamInfo"; "required": false; }; "isDev": { "alias": "isDev"; "required": false; }; "isStage": { "alias": "isStage"; "required": false; }; "teamInfoOffset": { "alias": "teamInfoOffset"; "required": false; }; "isNavbarMenuVisible": { "alias": "isNavbarMenuVisible"; "required": false; }; "isNavbarInfoVisible": { "alias": "isNavbarInfoVisible"; "required": false; }; "logoState": { "alias": "logoState"; "required": false; }; "isModelViewerActiveValue": { "alias": "isModelViewerActive"; "required": false; }; "isNavbarMessageVisible": { "alias": "isNavbarMessageVisible"; "required": false; }; "isNavbarMenuActive": { "alias": "isNavbarMenuActive"; "required": false; }; "isNavbarMenuEnabled": { "alias": "isNavbarMenuEnabled"; "required": false; }; "isTouch": { "alias": "isTouch"; "required": false; }; "isDashboardTooltipEnabled": { "alias": "isDashboardTooltipEnabled"; "required": false; }; "selectedLanguage": { "alias": "selectedLanguage"; "required": false; }; }, { "bimplusNavbarClicked": "bimplusNavbarClicked"; }, never, never, true, never>;
26
29
  static ngAcceptInputType_isDev: unknown;
27
30
  static ngAcceptInputType_isStage: unknown;
28
31
  static ngAcceptInputType_isNavbarMenuVisible: unknown;
29
32
  static ngAcceptInputType_isNavbarInfoVisible: unknown;
33
+ static ngAcceptInputType_isModelViewerActiveValue: unknown;
30
34
  static ngAcceptInputType_isNavbarMessageVisible: unknown;
31
35
  static ngAcceptInputType_isNavbarMenuActive: unknown;
32
36
  static ngAcceptInputType_isNavbarMenuEnabled: unknown;
@@ -1,5 +1,6 @@
1
1
  export declare enum LogoState {
2
2
  BimplusViewer = "bimplusViewer",// Bimplus logo
3
+ ModelViewerBlack = "modelViewerBlack",// Model viewer black logo
3
4
  ModelViewer = "modelViewer",// Cloud viewer logo
4
5
  ConnexisViewer = "connexisViewer",// Connexis viewer logo
5
6
  ConnexisViewerBlack = "connexisViewerBlack"
@@ -5,7 +5,7 @@ import { TranslateService } from '@ngx-translate/core';
5
5
  import { FilterCriterium } from '../bimplus-object-navigator.interface';
6
6
  import { ObjectStructureNode } from '../../bimplus-object-structure/bimplus-object-structure.interface';
7
7
  import { ComplexPropertiesNode } from '../../bimplus-object-complex-properties/bimplus-object-complex-properties.interface';
8
- import { ObjectAttribute, ObjectAttributeGroup } from './criteria-select-object-properties.interface';
8
+ import { CriteriaSelectObjectAttribute, CriteriaSelectObjectAttributeGroup } from './criteria-select-object-properties.interface';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class CriteriaSelectObjectPropertiesComponent extends BimplusLocalizedWidgetComponent implements OnInit {
11
11
  constructor(translateService: TranslateService);
@@ -14,9 +14,9 @@ export declare class CriteriaSelectObjectPropertiesComponent extends BimplusLoca
14
14
  set rootObjectId(id: string);
15
15
  get rootObjectId(): string;
16
16
  revision: number | undefined;
17
- private _currentObjectId$;
18
- private _currentPropertiesObjectId$;
19
- objectAttributeGroups: ObjectAttributeGroup[];
17
+ private readonly _currentObjectId$;
18
+ private readonly _currentPropertiesObjectId$;
19
+ objectAttributeGroups: CriteriaSelectObjectAttributeGroup[];
20
20
  MaxFilterCriteria: number;
21
21
  private _rootObjectId;
22
22
  set filterCriteria(criteria: FilterCriterium[]);
@@ -27,9 +27,9 @@ export declare class CriteriaSelectObjectPropertiesComponent extends BimplusLoca
27
27
  get objectStructure(): ObjectStructureNode | null;
28
28
  private _complexProperties;
29
29
  get complexProperties(): ComplexPropertiesNode | null;
30
- toggleAttribute(attrib: ObjectAttribute): void;
31
- toggleAttributeValue(attrib: ObjectAttribute): void;
32
- handleFilterCriteriumAttributeStateChange(attrib: ObjectAttribute): void;
30
+ toggleAttribute(attrib: CriteriaSelectObjectAttribute): void;
31
+ toggleAttributeValue(attrib: CriteriaSelectObjectAttribute): void;
32
+ handleFilterCriteriumAttributeStateChange(attrib: CriteriaSelectObjectAttribute): void;
33
33
  handleObjectStructureNodeSelected(node: ObjectStructureNode): void;
34
34
  handleComplexPropertyNodeSelected(node: ComplexPropertiesNode): void;
35
35
  private _createObjectProperties;
@@ -1,4 +1,4 @@
1
- export interface ObjectAttribute {
1
+ export interface CriteriaSelectObjectAttribute {
2
2
  id: string;
3
3
  name: string;
4
4
  description: string;
@@ -7,8 +7,8 @@ export interface ObjectAttribute {
7
7
  checked: boolean;
8
8
  valueChecked: boolean;
9
9
  }
10
- export interface ObjectAttributeGroup {
10
+ export interface CriteriaSelectObjectAttributeGroup {
11
11
  name: string;
12
- attributes: ObjectAttribute[];
12
+ attributes: CriteriaSelectObjectAttribute[];
13
13
  expanded: boolean;
14
14
  }
@@ -4,7 +4,7 @@ import { FlatNode, TreeNode } from '../bimplus-flat-tree/bimplus-flat-tree.inter
4
4
  import { ObjectStructureNode } from './bimplus-object-structure.interface';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class BimplusObjectStructureComponent {
7
- set objectStructure(node: ObjectStructureNode);
7
+ set objectStructure(node: ObjectStructureNode | null);
8
8
  private _objectStructure;
9
9
  treeComponent: BimplusFlatTreeComponent | null;
10
10
  private _convertObjectStructureNodeToTreeNode;
@@ -2,7 +2,7 @@ import { ElementRef, AfterViewInit, AfterViewChecked } from '@angular/core';
2
2
  import SimpleBar from 'simplebar';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BimplusScrollableContainerComponent implements AfterViewInit, AfterViewChecked {
5
- private elementRef;
5
+ private readonly elementRef;
6
6
  _simpleBar: SimpleBar;
7
7
  _element: HTMLElement;
8
8
  protected _scrollableContainerClassName: string;
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ActiveTab } from './bimplus-tabs-switcher.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BimplusTabsSwitcherComponent {
5
+ activeTab: EventEmitter<ActiveTab>;
6
+ constructor();
7
+ activateTab(activeTab: ActiveTab): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTabsSwitcherComponent, "lib-bimplus-tabs-switcher", never, {}, { "activeTab": "activeTab"; }, never, never, true, never>;
10
+ }
@@ -0,0 +1,3 @@
1
+ export interface ActiveTab {
2
+ id: 'object-properties' | 'comments' | 'attachments' | 'hyperlinks' | 'links-to-documents';
3
+ }
@@ -0,0 +1,42 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BimplusLocalizedWidgetComponent } from '../bimplus-localized-widget/bimplus-localized-widget.component';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import { ObjectStructureNode } from '../bimplus-object-structure/bimplus-object-structure.interface';
5
+ import * as WebSdk from 'bimplus-websdk';
6
+ import { ComplexPropertiesNode } from '../bimplus-object-complex-properties/bimplus-object-complex-properties.interface';
7
+ import { ObjectAttributeGroup } from './object-properties.interface';
8
+ import { BimplusButtonRowItem, BimplusButtonClickEvent } from "../bimplus-buttons-row/bimplus-buttons-row.interface";
9
+ import * as i0 from "@angular/core";
10
+ export declare class ObjectPropertiesComponent extends BimplusLocalizedWidgetComponent implements OnInit {
11
+ constructor(translateService: TranslateService);
12
+ private _objectStructure;
13
+ get objectStructure(): ObjectStructureNode | null;
14
+ private _complexProperties;
15
+ get complexProperties(): ComplexPropertiesNode | null;
16
+ api: WebSdk.Api | null;
17
+ revision: number | undefined;
18
+ set rootObjectId(id: string);
19
+ get rootObjectId(): string;
20
+ private readonly _currentObjectId$;
21
+ private readonly _currentPropertiesObjectId$;
22
+ private _rootObjectId;
23
+ buttonRowItems: Array<BimplusButtonRowItem>;
24
+ configEditProperties: Array<BimplusButtonRowItem>;
25
+ configEditedProperties: Array<BimplusButtonRowItem>;
26
+ _editPropertiesButtonsConfiguration(): void;
27
+ _editedPropertiesButtonsConfiguration(): void;
28
+ ngOnInit(): void;
29
+ handleObjectStructureNodeSelected(node: ObjectStructureNode): void;
30
+ handleComplexPropertyNodeSelected(node: ComplexPropertiesNode): void;
31
+ private _loadObjectStructure;
32
+ private _createObjectStructure;
33
+ private _loadObjectComplexPropertiesStructure;
34
+ private _createComplexPropertiestructure;
35
+ objectAttributeGroups: ObjectAttributeGroup[];
36
+ private _loadObjectProperties;
37
+ private _createObjectProperties;
38
+ private _createAttributeGroupsFromResponse;
39
+ buttonClicked($event: BimplusButtonClickEvent): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesComponent, "lib-object-properties", never, { "api": { "alias": "api"; "required": false; }; "revision": { "alias": "revision"; "required": false; }; "rootObjectId": { "alias": "rootObjectId"; "required": false; }; }, {}, never, never, true, never>;
42
+ }
@@ -0,0 +1,18 @@
1
+ export interface ObjectAttribute {
2
+ id: string;
3
+ name: string;
4
+ description: string;
5
+ group: string;
6
+ type: string;
7
+ unit: string;
8
+ value: string;
9
+ decimal: number;
10
+ control: string;
11
+ enumdefinition: object;
12
+ isChangeable: boolean;
13
+ }
14
+ export interface ObjectAttributeGroup {
15
+ name: string;
16
+ attributes: ObjectAttribute[];
17
+ expanded: boolean;
18
+ }
@@ -1,16 +1,18 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, SimpleChanges, OnChanges } from '@angular/core';
2
2
  import { SelectedObject } from './object-properties-header.interface';
3
3
  import { TranslateService } from '@ngx-translate/core';
4
4
  import { BimplusLocalizedWidgetComponent } from '../bimplus-localized-widget/bimplus-localized-widget.component';
5
5
  import * as i0 from "@angular/core";
6
- export declare class ObjectPropertiesHeaderComponent extends BimplusLocalizedWidgetComponent {
6
+ export declare class ObjectPropertiesHeaderComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
7
7
  constructor(translateService: TranslateService);
8
+ selectedObject: EventEmitter<SelectedObject>;
8
9
  closePropertiesPanel: EventEmitter<any>;
9
10
  selectedObjects: Array<SelectedObject>;
10
11
  _activeObject: SelectedObject | null;
11
12
  set activeObject(value: SelectedObject | null);
12
13
  get activeObject(): SelectedObject | null;
13
14
  _closePropertiesPanel(event: Event): void;
15
+ ngOnChanges(changes: SimpleChanges): void;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesHeaderComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesHeaderComponent, "lib-object-properties-header", never, { "selectedObjects": { "alias": "selectedObjects"; "required": false; }; }, { "closePropertiesPanel": "closePropertiesPanel"; }, never, never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesHeaderComponent, "lib-object-properties-header", never, { "selectedObjects": { "alias": "selectedObjects"; "required": false; }; }, { "selectedObject": "selectedObject"; "closePropertiesPanel": "closePropertiesPanel"; }, never, never, true, never>;
16
18
  }
@@ -1,4 +1,5 @@
1
1
  export interface SelectedObject {
2
2
  id: string;
3
3
  name?: string;
4
+ revision?: number;
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-bimplus-components",
3
- "version": "0.0.135-webcomponents",
3
+ "version": "0.0.136-dependencies",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ angular components library",
@@ -22,13 +22,13 @@
22
22
  "peerDependencies": {
23
23
  "@angular/cdk": "18.2.10",
24
24
  "@angular/common": "18.2.9",
25
- "@angular/core": "18.2.9",
25
+ "@angular/core": "18.2.9"
26
+ },
27
+ "dependencies": {
26
28
  "@angular/material": "18.2.10",
27
29
  "@ngx-translate/core": "^15.0.0",
28
30
  "@ngx-translate/http-loader": "^8.0.0",
29
- "simplebar": "^6.2.7"
30
- },
31
- "dependencies": {
31
+ "simplebar": "^6.2.7",
32
32
  "tslib": "^2.8.0"
33
33
  },
34
34
  "sideEffects": false,
package/public-api.d.ts CHANGED
@@ -44,6 +44,9 @@ export * from './lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-d
44
44
  export * from './lib/components/resizable-panel/resizable-panel.component';
45
45
  export * from './lib/components/object-properties-header/object-properties-header.component';
46
46
  export * from './lib/components/object-properties-header/object-properties-header.interface';
47
+ export * from './lib/components/object-properties/object-properties.component';
47
48
  export * from './lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.component';
48
49
  export * from './lib/components/bimplus-overlay-dialog-error/bimplus-overlay-dialog-error.component';
49
50
  export * from './lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service';
51
+ export * from './lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.component';
52
+ export * from './lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.interface';