ngx-bimplus-components 0.0.194 → 0.0.196-angular20
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/fesm2022/ngx-bimplus-components.mjs +568 -579
- package/fesm2022/ngx-bimplus-components.mjs.map +1 -1
- package/index.d.ts +2350 -5
- package/package.json +14 -14
- package/lib/components/bimplus-attachments/bimplus-attachments.component.d.ts +0 -39
- package/lib/components/bimplus-attachments/bimplus-attachments.interface.d.ts +0 -33
- package/lib/components/bimplus-attachments/components/bimplus-attachment-item/bimplus-attachment-item.component.d.ts +0 -30
- package/lib/components/bimplus-attachments/services/bimplus-attachments.service.d.ts +0 -8
- package/lib/components/bimplus-buttons-row/bimplus-buttons-row.component.d.ts +0 -21
- package/lib/components/bimplus-buttons-row/bimplus-buttons-row.interface.d.ts +0 -19
- package/lib/components/bimplus-comment/bimplus-comment.component.d.ts +0 -39
- package/lib/components/bimplus-connection-designer/bimplus-connection-designer.component.d.ts +0 -29
- package/lib/components/bimplus-connection-designer/bimplus-connection-designer.interface.d.ts +0 -6
- package/lib/components/bimplus-connection-designer/bimplus-connection-designer.service.d.ts +0 -11
- package/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.component.d.ts +0 -39
- package/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.interface.d.ts +0 -22
- package/lib/components/bimplus-contact/bimplus-contact.component.d.ts +0 -11
- package/lib/components/bimplus-context-menu/bimplus-context-menu.component.d.ts +0 -28
- package/lib/components/bimplus-context-menu/bimplus-context-menu.interface.d.ts +0 -13
- package/lib/components/bimplus-flat-tree/bimplus-flat-tree.component.d.ts +0 -77
- package/lib/components/bimplus-flat-tree/bimplus-flat-tree.interface.d.ts +0 -25
- package/lib/components/bimplus-floating-bar/bimplus-floating-bar.component.d.ts +0 -33
- package/lib/components/bimplus-floating-bar/bimplus-floating-bar.interface.d.ts +0 -9
- package/lib/components/bimplus-floating-bar-body/bimplus-floating-bar-body.component.d.ts +0 -14
- package/lib/components/bimplus-floating-bar-dragger/bimplus-floating-bar-dragger.component.d.ts +0 -13
- package/lib/components/bimplus-floating-bar-header-content/bimplus-floating-bar-header-content.component.d.ts +0 -20
- package/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.d.ts +0 -19
- package/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.d.ts +0 -22
- package/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.d.ts +0 -25
- package/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.d.ts +0 -39
- package/lib/components/bimplus-general-overlay-dialog/bimplus-general-dialog-config-settings.d.ts +0 -24
- package/lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.component.d.ts +0 -25
- package/lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service.d.ts +0 -26
- package/lib/components/bimplus-input-checkbox/bimplus-input-checkbox.component.d.ts +0 -18
- package/lib/components/bimplus-input-combobox/bimplus-input-combobox.component.d.ts +0 -41
- package/lib/components/bimplus-input-date/bimplus-input-date.component.d.ts +0 -46
- package/lib/components/bimplus-input-number/bimplus-input-number.component.d.ts +0 -26
- package/lib/components/bimplus-input-text-field/bimplus-input-text-field.component.d.ts +0 -28
- package/lib/components/bimplus-language-menu/bimplus-language-menu.component.d.ts +0 -19
- package/lib/components/bimplus-link-tooltip-message/bimplus-link-tooltip-message.component.d.ts +0 -22
- package/lib/components/bimplus-localized-widget/bimplus-localized-widget.component.d.ts +0 -16
- package/lib/components/bimplus-main-menu/bimplus-main-menu.component.d.ts +0 -154
- package/lib/components/bimplus-navbar/bimplus-navbar.component.d.ts +0 -37
- package/lib/components/bimplus-navbar/logo-state.enum.d.ts +0 -7
- package/lib/components/bimplus-notify/bimplus-notify.component.d.ts +0 -101
- package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.component.d.ts +0 -88
- package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.interface.d.ts +0 -21
- package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.service.d.ts +0 -20
- package/lib/components/bimplus-object-complex-properties/bimplus-object-complex-properties.component.d.ts +0 -17
- package/lib/components/bimplus-object-complex-properties/bimplus-object-complex-properties.interface.d.ts +0 -10
- package/lib/components/bimplus-object-navigator/bimplus-object-navigator.component.d.ts +0 -67
- package/lib/components/bimplus-object-navigator/bimplus-object-navigator.interface.d.ts +0 -17
- package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.d.ts +0 -55
- package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.interface.d.ts +0 -21
- package/lib/components/bimplus-object-navigator/filter-criterium/filter-criterium.component.d.ts +0 -14
- package/lib/components/bimplus-object-navigator/object-filter-result/object-filter-result.component.d.ts +0 -40
- package/lib/components/bimplus-object-structure/bimplus-object-structure.component.d.ts +0 -23
- package/lib/components/bimplus-object-structure/bimplus-object-structure.interface.d.ts +0 -12
- package/lib/components/bimplus-overlay-dialog-confirm/bimplus-overlay-dialog-confirm.component.d.ts +0 -33
- package/lib/components/bimplus-overlay-dialog-delete/bimplus-overlay-dialog-delete.component.d.ts +0 -29
- package/lib/components/bimplus-overlay-dialog-error/bimplus-overlay-dialog-error.component.d.ts +0 -28
- package/lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-dialog-warning.component.d.ts +0 -31
- package/lib/components/bimplus-overlay-message/bimplus-overlay-message.component.d.ts +0 -11
- package/lib/components/bimplus-panel-toolbar/bimplus-panel-toolbar.component.d.ts +0 -6
- package/lib/components/bimplus-project-menu/bimplus-project-menu.component.d.ts +0 -78
- package/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.d.ts +0 -16
- package/lib/components/bimplus-sidenav/bimplus-sidenav.component.d.ts +0 -32
- package/lib/components/bimplus-sidenav-drawer-content/bimplus-sidenav-drawer-content.component.d.ts +0 -8
- package/lib/components/bimplus-status-bar/bimplus-status-bar.component.d.ts +0 -14
- package/lib/components/bimplus-status-bar/bimplus-status-bar.service.d.ts +0 -14
- package/lib/components/bimplus-status-bar/statusBar.d.ts +0 -4
- package/lib/components/bimplus-storage-info/bimplus-storage-info.component.d.ts +0 -18
- package/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.component.d.ts +0 -16
- package/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.interface.d.ts +0 -18
- package/lib/components/bimplus-tabs-switcher/components/bimplus-tab/bimplus-tab.component.d.ts +0 -36
- package/lib/components/bimplus-tabs-switcher/services/bimplus-tabs-switcher.service.d.ts +0 -15
- package/lib/components/bimplus-text-message/bimplus-text-message.component.d.ts +0 -6
- package/lib/components/bimplus-textarea/auto-resize-textarea.directive.d.ts +0 -24
- package/lib/components/bimplus-textarea/bimplus-textarea.component.d.ts +0 -42
- package/lib/components/bimplus-tool-hub/bimplus-tool-hub.component.d.ts +0 -78
- package/lib/components/bimplus-tool-hub/bimplus-tool-hub.interface.d.ts +0 -50
- package/lib/components/bimplus-tool-hub/svg-generator.d.ts +0 -32
- package/lib/components/bimplus-tool-hub/tool-hub-item/tool-hub-item.component.d.ts +0 -10
- package/lib/components/bimplus-tool-hub/tool-hub-sub-item/tool-hub-sub-item.component.d.ts +0 -11
- package/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.component.d.ts +0 -27
- package/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.interface.d.ts +0 -15
- package/lib/components/bimplus-touch-menu/bimplus-touch-menu.component.d.ts +0 -49
- package/lib/components/bimplus-user-menu/bimplus-user-menu.component.d.ts +0 -108
- package/lib/components/bimplus-zoom/bimplus-zoom.component.d.ts +0 -45
- package/lib/components/expansion-panel/expansion-panel.component.d.ts +0 -7
- package/lib/components/expansion-panel-header/expansion-panel-header.component.d.ts +0 -6
- package/lib/components/expansion-panel-header-actions/expansion-panel-header-actions.component.d.ts +0 -5
- package/lib/components/links-to-documents/links-to-documents.component.d.ts +0 -69
- package/lib/components/loading-spinner/loading-spinner.component.d.ts +0 -17
- package/lib/components/object-hyperlinks/object-hyperlinks.component.d.ts +0 -32
- package/lib/components/object-hyperlinks-item/object-hyperlinks-item.component.d.ts +0 -15
- package/lib/components/object-preview/object-preview.component.d.ts +0 -45
- package/lib/components/object-preview/object-preview.interface.d.ts +0 -5
- package/lib/components/object-properties/object-properties.component.d.ts +0 -79
- package/lib/components/object-properties/object-properties.interface.d.ts +0 -22
- package/lib/components/object-properties/object-properties.service.d.ts +0 -12
- package/lib/components/object-properties-group/object-properties-group.component.d.ts +0 -30
- package/lib/components/object-properties-group/object-property-value/object-property-value.component.d.ts +0 -14
- package/lib/components/object-properties-header/object-properties-header.component.d.ts +0 -25
- package/lib/components/object-properties-header/object-properties-header.interface.d.ts +0 -12
- package/lib/components/project-models/project-models.component.d.ts +0 -20
- package/lib/components/project-models/project-models.interface.d.ts +0 -26
- package/lib/components/resizable-panel/resizable-panel.component.d.ts +0 -21
- package/lib/directives/click-outside/click-outside.directive.d.ts +0 -10
- package/lib/directives/component-draggable/componentsDraggable.directive.d.ts +0 -20
- package/lib/directives/draggable.directive.d.ts +0 -18
- package/lib/directives/resizable.directive.d.ts +0 -79
- package/lib/directives/x-draggable.directive.d.ts +0 -16
- package/lib/interfaces/bimplus-opacity-properties.interface.d.ts +0 -4
- package/lib/interfaces/bimplus-visibility-properties.interface.d.ts +0 -4
- package/lib/ngx-bimplus-components.component.d.ts +0 -5
- package/lib/ngx-bimplus-components.service.d.ts +0 -5
- package/lib/pipes/bit-converter.pipe.d.ts +0 -17
- package/lib/pipes/datetime.pipe.d.ts +0 -7
- package/lib/pipes/format-value.pipe.d.ts +0 -7
- package/lib/pipes/get-attribute-value-as-string.pipe.d.ts +0 -35
- package/lib/pipes/get-attribute-value.pipe.d.ts +0 -35
- package/lib/pipes/pxsuffix.pipe.d.ts +0 -7
- package/lib/pipes/round.pipe.d.ts +0 -7
- package/lib/services/cursors.service.d.ts +0 -17
- package/lib/services/decorators.service.d.ts +0 -12
- package/lib/services/language-strings.service.d.ts +0 -18
- package/lib/services/layout-manager.service.d.ts +0 -96
- package/lib/services/local-storage.service.d.ts +0 -18
- package/lib/services/resize-observer.service.d.ts +0 -12
- package/lib/types/types.d.ts +0 -15
- package/lib/utils/filterString.d.ts +0 -11
- package/lib/utils/filterStructureFetcher.d.ts +0 -5
- package/lib/utils/objectProperties.d.ts +0 -2
- package/lib/utils/utils.d.ts +0 -22
- package/lib/validators/double-enum.validator.d.ts +0 -2
- package/lib/validators/double.validator.d.ts +0 -2
- package/lib/validators/guid-enum.validator.d.ts +0 -2
- package/lib/validators/guid.validator.d.ts +0 -2
- package/lib/validators/integer.validator.d.ts +0 -2
- package/lib/validators/string-combobox.validator.d.ts +0 -2
- package/lib/validators/string-enum.validator.d.ts +0 -2
- package/public-api.d.ts +0 -72
package/index.d.ts
CHANGED
|
@@ -1,5 +1,2350 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { WritableSignal, OnInit, EventEmitter, OnChanges, SimpleChanges, ElementRef, AfterViewInit, AfterViewChecked, DestroyRef, TemplateRef, SimpleChange, OnDestroy, AfterContentInit, ComponentRef, Type, InjectionToken, Signal } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import { Subject, Observable, BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
+
import * as WebSdk from 'bimplus-websdk';
|
|
7
|
+
import { MatTreeFlattener, MatTreeFlatDataSource } from '@angular/material/tree';
|
|
8
|
+
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
9
|
+
import SimpleBar from 'simplebar';
|
|
10
|
+
import { BehaviorSubject as BehaviorSubject$1 } from 'rxjs/internal/BehaviorSubject';
|
|
11
|
+
import { FormGroup, ControlValueAccessor, FormControl } from '@angular/forms';
|
|
12
|
+
import * as ngx_bimplus_components from 'ngx-bimplus-components';
|
|
13
|
+
|
|
14
|
+
declare class NgxBimplusComponentsService {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxBimplusComponentsService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NgxBimplusComponentsService>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class NgxBimplusComponentsComponent {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxBimplusComponentsComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxBimplusComponentsComponent, "lib-ngx-bimplus-components", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
interface OpacityProperties {
|
|
25
|
+
isOpaque: boolean;
|
|
26
|
+
isSemiOpaque: boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface VisibilityProperties {
|
|
30
|
+
isVisible: boolean;
|
|
31
|
+
isSemiVisible: boolean;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare class BimplusConnectionDesignerService {
|
|
35
|
+
private _activeStep;
|
|
36
|
+
activeStepChange$: Subject<number>;
|
|
37
|
+
set activeStep(activeStep: number);
|
|
38
|
+
get activeStep(): number;
|
|
39
|
+
constructor();
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusConnectionDesignerService, never>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BimplusConnectionDesignerService>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
type LocalizedStrings = {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
interface MenuListType {
|
|
48
|
+
'action': string;
|
|
49
|
+
'id': string;
|
|
50
|
+
'type': string;
|
|
51
|
+
'class': string;
|
|
52
|
+
'textId': string;
|
|
53
|
+
'textIdDisabled': string;
|
|
54
|
+
'disabledTitle': string;
|
|
55
|
+
'checkSubscription': boolean;
|
|
56
|
+
'devOrStageOnly': boolean;
|
|
57
|
+
'clickPolicy': string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class BimplusLocalizedWidgetComponent {
|
|
61
|
+
translateService: TranslateService;
|
|
62
|
+
_selectedLanguage: WritableSignal<string>;
|
|
63
|
+
get selectedLanguage(): string;
|
|
64
|
+
set selectedLanguage(value: string);
|
|
65
|
+
_localizedStrings: WritableSignal<LocalizedStrings>;
|
|
66
|
+
get localizedStrings(): LocalizedStrings;
|
|
67
|
+
set localizedStrings(value: LocalizedStrings);
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusLocalizedWidgetComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusLocalizedWidgetComponent, "lib-bimplus-localized-widget", never, { "selectedLanguage": { "alias": "selectedLanguage"; "required": false; }; "localizedStrings": { "alias": "localizedStrings"; "required": false; }; }, {}, never, never, true, never>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface BimplusButtonRowItem {
|
|
73
|
+
id: string;
|
|
74
|
+
iconClass?: string;
|
|
75
|
+
icon?: string;
|
|
76
|
+
title?: string;
|
|
77
|
+
tooltip?: string;
|
|
78
|
+
disabled?: boolean | Observable<boolean>;
|
|
79
|
+
buttonStyle?: 'primary' | 'secondary';
|
|
80
|
+
buttonType?: 'text' | 'icon' | 'combined';
|
|
81
|
+
type?: typeof BimplusButtonType['FILE' | 'TEXT'];
|
|
82
|
+
}
|
|
83
|
+
interface BimplusButtonClickEvent {
|
|
84
|
+
id: string;
|
|
85
|
+
}
|
|
86
|
+
declare const BimplusButtonType: {
|
|
87
|
+
readonly FILE: "file";
|
|
88
|
+
readonly TEXT: "text";
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
interface DesignCode {
|
|
92
|
+
id: string;
|
|
93
|
+
name: string;
|
|
94
|
+
code: string;
|
|
95
|
+
codeNumber: number;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
declare class BimplusConnectionDesignerComponent extends BimplusLocalizedWidgetComponent implements OnInit {
|
|
99
|
+
protected connectionDesignerService: BimplusConnectionDesignerService;
|
|
100
|
+
buttonRowItems: Array<BimplusButtonRowItem>;
|
|
101
|
+
config: Array<BimplusButtonRowItem>;
|
|
102
|
+
constructor();
|
|
103
|
+
ngOnInit(): void;
|
|
104
|
+
chooseCode: string;
|
|
105
|
+
designCodes: Array<DesignCode>;
|
|
106
|
+
currentDesignCode: DesignCode | null;
|
|
107
|
+
designCodeChanged: EventEmitter<DesignCode | null>;
|
|
108
|
+
set activeDesignCode(value: DesignCode | null);
|
|
109
|
+
get activeDesignCode(): DesignCode | null;
|
|
110
|
+
private _updateButtonState;
|
|
111
|
+
private _calculationCanBeStarted;
|
|
112
|
+
set calculationCanBeStarted(value: boolean);
|
|
113
|
+
get calculationCanBeStarted(): boolean;
|
|
114
|
+
startCalculationClicked: EventEmitter<void>;
|
|
115
|
+
buttonClicked($event: BimplusButtonClickEvent): void;
|
|
116
|
+
resetDesignCode(): void;
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusConnectionDesignerComponent, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusConnectionDesignerComponent, "lib-bimplus-connection-designer", never, { "designCodes": { "alias": "designCodes"; "required": false; }; "currentDesignCode": { "alias": "currentDesignCode"; "required": false; }; "calculationCanBeStarted": { "alias": "calculationCanBeStarted"; "required": false; }; }, { "designCodeChanged": "designCodeChanged"; "startCalculationClicked": "startCalculationClicked"; }, never, ["lib-bimplus-connection-designer-results"], true, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
interface ConnexisResultsRoot extends VisibilityProperties {
|
|
122
|
+
id: string;
|
|
123
|
+
name: string;
|
|
124
|
+
resultList: Array<ConnexisResultList>;
|
|
125
|
+
}
|
|
126
|
+
interface ConnexisResultList extends VisibilityProperties {
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
colorHexCode: string;
|
|
130
|
+
results: Array<ConnexisResult>;
|
|
131
|
+
parent: ConnexisResultsRoot;
|
|
132
|
+
}
|
|
133
|
+
interface ConnexisResult extends VisibilityProperties {
|
|
134
|
+
id: string;
|
|
135
|
+
name: string;
|
|
136
|
+
message: string;
|
|
137
|
+
isValid: boolean;
|
|
138
|
+
unityRatio: string;
|
|
139
|
+
isSelected: boolean;
|
|
140
|
+
parent: ConnexisResultList;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare class BimplusConnectionDesignerResultsComponent extends BimplusLocalizedWidgetComponent implements OnInit, OnChanges {
|
|
144
|
+
protected connectionDesignerService: BimplusConnectionDesignerService;
|
|
145
|
+
buttonRowItems: Array<BimplusButtonRowItem>;
|
|
146
|
+
errorMessage: string;
|
|
147
|
+
constructor();
|
|
148
|
+
ngOnInit(): void;
|
|
149
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
150
|
+
doneClicked: EventEmitter<void>;
|
|
151
|
+
buttonClicked($event: BimplusButtonClickEvent): void;
|
|
152
|
+
resultTreeRootTitle: string;
|
|
153
|
+
resultTreeRootName: string;
|
|
154
|
+
expandedTreeRoot: boolean;
|
|
155
|
+
expandedResultTrees: boolean;
|
|
156
|
+
results: ConnexisResultsRoot | null;
|
|
157
|
+
toggleVisibilityResultsRoot: EventEmitter<ConnexisResultsRoot>;
|
|
158
|
+
toggleVisibilityResultList: EventEmitter<ConnexisResultList>;
|
|
159
|
+
toggleVisibilityResult: EventEmitter<ConnexisResult>;
|
|
160
|
+
clickedResultsRoot: EventEmitter<ConnexisResultsRoot>;
|
|
161
|
+
clickedResultList: EventEmitter<ConnexisResultList>;
|
|
162
|
+
clickedResult: EventEmitter<ConnexisResult>;
|
|
163
|
+
doubleClickedResultsRoot: EventEmitter<ConnexisResultsRoot>;
|
|
164
|
+
doubleClickedResultList: EventEmitter<ConnexisResultList>;
|
|
165
|
+
doubleClickedResult: EventEmitter<ConnexisResult>;
|
|
166
|
+
mouseEnteredResult: EventEmitter<ConnexisResult>;
|
|
167
|
+
mouseLeftResult: EventEmitter<ConnexisResult>;
|
|
168
|
+
totalResults(): number;
|
|
169
|
+
private statusMessage;
|
|
170
|
+
private infoMessage;
|
|
171
|
+
getTitle(result: ConnexisResult): string;
|
|
172
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusConnectionDesignerResultsComponent, never>;
|
|
173
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusConnectionDesignerResultsComponent, "lib-bimplus-connection-designer-results", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "resultTreeRootTitle": { "alias": "resultTreeRootTitle"; "required": false; }; "resultTreeRootName": { "alias": "resultTreeRootName"; "required": false; }; "expandedTreeRoot": { "alias": "expandedTreeRoot"; "required": false; }; "expandedResultTrees": { "alias": "expandedResultTrees"; "required": false; }; "results": { "alias": "results"; "required": false; }; }, { "doneClicked": "doneClicked"; "toggleVisibilityResultsRoot": "toggleVisibilityResultsRoot"; "toggleVisibilityResultList": "toggleVisibilityResultList"; "toggleVisibilityResult": "toggleVisibilityResult"; "clickedResultsRoot": "clickedResultsRoot"; "clickedResultList": "clickedResultList"; "clickedResult": "clickedResult"; "doubleClickedResultsRoot": "doubleClickedResultsRoot"; "doubleClickedResultList": "doubleClickedResultList"; "doubleClickedResult": "doubleClickedResult"; "mouseEnteredResult": "mouseEnteredResult"; "mouseLeftResult": "mouseLeftResult"; }, never, never, true, never>;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare class BimplusContactComponent extends BimplusLocalizedWidgetComponent {
|
|
177
|
+
constructor();
|
|
178
|
+
bimplusContactClicked: EventEmitter<string>;
|
|
179
|
+
_contactClicked(): void;
|
|
180
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusContactComponent, never>;
|
|
181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusContactComponent, "lib-bimplus-contact", never, {}, { "bimplusContactClicked": "bimplusContactClicked"; }, never, never, true, never>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
interface FloatingBarItem {
|
|
185
|
+
buttonId: string;
|
|
186
|
+
iconClass: string;
|
|
187
|
+
title: string;
|
|
188
|
+
active: boolean;
|
|
189
|
+
disabled?: boolean;
|
|
190
|
+
iconActive?: string;
|
|
191
|
+
iconDisabled?: string;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
interface ProjectNavigatorProject {
|
|
195
|
+
id: WebSdk.ProjectId;
|
|
196
|
+
name: string;
|
|
197
|
+
teamSlug: string;
|
|
198
|
+
models: Array<ProjectNavigatorModel>;
|
|
199
|
+
}
|
|
200
|
+
interface ProjectNavigatorModel extends VisibilityProperties, OpacityProperties {
|
|
201
|
+
id: WebSdk.ModelId;
|
|
202
|
+
name: string;
|
|
203
|
+
currentRevision: number;
|
|
204
|
+
latestRevision: number;
|
|
205
|
+
isExpanded: boolean;
|
|
206
|
+
divisionTopologyId: WebSdk.DivisionTopologyId;
|
|
207
|
+
layers: Array<ProjectNavigatorLayer> | null;
|
|
208
|
+
parentProject?: ProjectNavigatorProject | null;
|
|
209
|
+
}
|
|
210
|
+
interface ProjectNavigatorLayer extends VisibilityProperties, OpacityProperties {
|
|
211
|
+
id: WebSdk.Guid;
|
|
212
|
+
name: string;
|
|
213
|
+
opacity: number;
|
|
214
|
+
userOpacity: number | null;
|
|
215
|
+
parentModel?: ProjectNavigatorModel | null;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
interface LayoutManagerItem {
|
|
219
|
+
element: ElementRef;
|
|
220
|
+
id: string;
|
|
221
|
+
selector?: string;
|
|
222
|
+
isCollapsed: boolean;
|
|
223
|
+
rememberPosition?: boolean;
|
|
224
|
+
left?: number;
|
|
225
|
+
top?: number;
|
|
226
|
+
width?: number;
|
|
227
|
+
height?: number;
|
|
228
|
+
}
|
|
229
|
+
interface LayoutManagerConfigItem {
|
|
230
|
+
id: string;
|
|
231
|
+
isCollapsed: boolean;
|
|
232
|
+
left?: number;
|
|
233
|
+
top?: number;
|
|
234
|
+
width?: number;
|
|
235
|
+
height?: number;
|
|
236
|
+
}
|
|
237
|
+
declare class LayoutManagerService {
|
|
238
|
+
private resizeObserverService;
|
|
239
|
+
private localStorageService;
|
|
240
|
+
registeredItems$: BehaviorSubject<LayoutManagerItem[]>;
|
|
241
|
+
private registeredItems;
|
|
242
|
+
get RegisteredItems(): LayoutManagerItem[];
|
|
243
|
+
CONFIG: string;
|
|
244
|
+
/**--------------------------------------------------------------------------
|
|
245
|
+
* register object. object must have unique id or elementId
|
|
246
|
+
--------------------------------------------------------------------------*/
|
|
247
|
+
registerObject(obj: ElementRef, id: string, selector: string | undefined, rememberPosition: boolean, left?: number, top?: number, width?: number, height?: number): void;
|
|
248
|
+
_initObject(obj: LayoutManagerItem): void;
|
|
249
|
+
/**--------------------------------------------------------------------------
|
|
250
|
+
* get object configuration
|
|
251
|
+
* return {left, top, width, heigth}
|
|
252
|
+
--------------------------------------------------------------------------*/
|
|
253
|
+
_getObjectConfig(obj: LayoutManagerItem): LayoutManagerConfigItem | null;
|
|
254
|
+
_adjustObjectByConfig(obj: LayoutManagerItem): void;
|
|
255
|
+
_adjustObjectByWindowSize(obj: LayoutManagerItem): void;
|
|
256
|
+
/**--------------------------------------------------------------------------
|
|
257
|
+
* returns object registered in the layout manager
|
|
258
|
+
--------------------------------------------------------------------------*/
|
|
259
|
+
getItem(id: string): LayoutManagerItem | null;
|
|
260
|
+
/**--------------------------------------------------------------------------
|
|
261
|
+
* set object configuration
|
|
262
|
+
--------------------------------------------------------------------------*/
|
|
263
|
+
_setObjectConfig(obj: LayoutManagerItem, left: number, top: number, width: number, height: number): void;
|
|
264
|
+
getDomParentElement(id: string): HTMLElement | null;
|
|
265
|
+
_getDomParentElement(item: LayoutManagerItem): HTMLElement | null;
|
|
266
|
+
_getDomInternalElement(item: LayoutManagerItem, selector: string | undefined): HTMLElement | null;
|
|
267
|
+
_getElementRect(item: LayoutManagerItem, selector: string | undefined, parentRectangle: DOMRect | undefined): DOMRect | null;
|
|
268
|
+
checkPosition(id: string, selector: string, parentRectangle: DOMRect | undefined, deltaX: number, deltaY: number, forceCheck?: boolean): {
|
|
269
|
+
deltaX: number;
|
|
270
|
+
deltaY: number;
|
|
271
|
+
} | undefined;
|
|
272
|
+
/**--------------------------------------------------------------------------
|
|
273
|
+
* find if rectangle 1 is inside rectangle 2
|
|
274
|
+
--------------------------------------------------------------------------*/
|
|
275
|
+
_isInsideRect(r1: DOMRect, r2: DOMRect): boolean;
|
|
276
|
+
/**--------------------------------------------------------------------------
|
|
277
|
+
* find if rectangles do not overlap the left and top sides
|
|
278
|
+
--------------------------------------------------------------------------*/
|
|
279
|
+
_isInsideLeftTopRect(r1: DOMRect, r2: DOMRect): boolean;
|
|
280
|
+
/**--------------------------------------------------------------------------
|
|
281
|
+
* get position of r1 aligned with the r2 sides
|
|
282
|
+
--------------------------------------------------------------------------*/
|
|
283
|
+
getAlignedPosition(r1: DOMRect, r2: DOMRect): {
|
|
284
|
+
x: number;
|
|
285
|
+
y: number;
|
|
286
|
+
};
|
|
287
|
+
/**--------------------------------------------------------------------------
|
|
288
|
+
* get position of r1 aligned with the r2 left, top sides
|
|
289
|
+
--------------------------------------------------------------------------*/
|
|
290
|
+
_getAlignedLeftTopPosition(r1: DOMRect, r2: DOMRect): {
|
|
291
|
+
x: number;
|
|
292
|
+
y: number;
|
|
293
|
+
};
|
|
294
|
+
/**--------------------------------------------------------------------------
|
|
295
|
+
* translate rectangle by x, y
|
|
296
|
+
--------------------------------------------------------------------------*/
|
|
297
|
+
_translateRectangle(rect: DOMRect, translateX: number, translateY: number): DOMRect | undefined;
|
|
298
|
+
updateCollapsed(value: boolean, id?: string): void;
|
|
299
|
+
handleDragEnd(id: string): void;
|
|
300
|
+
/**--------------------------------------------------------------------------
|
|
301
|
+
* finalize object changes (position). object must be registered in the layout manager
|
|
302
|
+
* object: object to finalize
|
|
303
|
+
--------------------------------------------------------------------------*/
|
|
304
|
+
finalizeObjectChanges(id: string): void;
|
|
305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutManagerService, never>;
|
|
306
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LayoutManagerService>;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
declare class BimplusFloatingBarHideObjectsComponent extends BimplusLocalizedWidgetComponent implements AfterViewInit {
|
|
310
|
+
private readonly element;
|
|
311
|
+
actionClicked: EventEmitter<string>;
|
|
312
|
+
noBody: boolean;
|
|
313
|
+
isFocused: boolean;
|
|
314
|
+
items: i0.ModelSignal<FloatingBarItem[]>;
|
|
315
|
+
protected layoutManagerService: LayoutManagerService;
|
|
316
|
+
componentId: string;
|
|
317
|
+
icon: string;
|
|
318
|
+
title: string;
|
|
319
|
+
focusSelectorId: string;
|
|
320
|
+
constructor();
|
|
321
|
+
ngAfterViewInit(): void;
|
|
322
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarHideObjectsComponent, never>;
|
|
323
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHideObjectsComponent, "lib-bimplus-floating-bar-hide-objects", never, { "noBody": { "alias": "noBody"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "actionClicked": "actionClicked"; "items": "itemsChange"; }, never, never, true, never>;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
declare class BimplusFloatingBarIsolationObjectsComponent extends BimplusLocalizedWidgetComponent implements AfterViewInit, AfterViewChecked {
|
|
327
|
+
private layoutManagerService;
|
|
328
|
+
private element;
|
|
329
|
+
private cdr;
|
|
330
|
+
constructor();
|
|
331
|
+
private hasViewChecked;
|
|
332
|
+
actionClicked: EventEmitter<string>;
|
|
333
|
+
noBody: boolean;
|
|
334
|
+
isFocused: boolean;
|
|
335
|
+
items: Array<FloatingBarItem>;
|
|
336
|
+
icon: string;
|
|
337
|
+
title: string;
|
|
338
|
+
focusSelectorId: string;
|
|
339
|
+
componentId: string;
|
|
340
|
+
ngAfterViewInit(): void;
|
|
341
|
+
ngAfterViewChecked(): void;
|
|
342
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarIsolationObjectsComponent, never>;
|
|
343
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarIsolationObjectsComponent, "lib-bimplus-floating-bar-isolation-objects", never, { "noBody": { "alias": "noBody"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "actionClicked": "actionClicked"; }, never, never, true, never>;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
declare class BimplusFloatingBarProjectNavigatorComponent extends BimplusLocalizedWidgetComponent implements AfterViewInit, AfterViewChecked {
|
|
347
|
+
private readonly layoutManagerService;
|
|
348
|
+
private readonly element;
|
|
349
|
+
private readonly cdr;
|
|
350
|
+
constructor();
|
|
351
|
+
private hasViewChecked;
|
|
352
|
+
noBody: boolean;
|
|
353
|
+
isCollapsed: boolean;
|
|
354
|
+
noModelsMessage: string | undefined;
|
|
355
|
+
isLoading: boolean;
|
|
356
|
+
loadingDataMessage: string | undefined;
|
|
357
|
+
icon: string;
|
|
358
|
+
title: string;
|
|
359
|
+
componentId: string;
|
|
360
|
+
items: Array<FloatingBarItem>;
|
|
361
|
+
actionClicked: EventEmitter<string>;
|
|
362
|
+
isPanelToolbarVisible: boolean;
|
|
363
|
+
expandedModelTree: boolean;
|
|
364
|
+
project: ProjectNavigatorProject;
|
|
365
|
+
clickedModel: EventEmitter<ProjectNavigatorModel>;
|
|
366
|
+
clickedLayer: EventEmitter<ProjectNavigatorLayer>;
|
|
367
|
+
toggleOpacityOfModel: EventEmitter<ProjectNavigatorModel>;
|
|
368
|
+
toggleOpacityOfLayer: EventEmitter<ProjectNavigatorLayer>;
|
|
369
|
+
toggleVisibilityOfModel: EventEmitter<ProjectNavigatorModel>;
|
|
370
|
+
toggleVisibilityOfLayer: EventEmitter<ProjectNavigatorLayer>;
|
|
371
|
+
logoClicked: EventEmitter<MouseEvent>;
|
|
372
|
+
destroyRef: DestroyRef;
|
|
373
|
+
ngAfterViewInit(): void;
|
|
374
|
+
ngAfterViewChecked(): void;
|
|
375
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarProjectNavigatorComponent, never>;
|
|
376
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarProjectNavigatorComponent, "lib-bimplus-floating-bar-project-navigator", never, { "noBody": { "alias": "noBody"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "noModelsMessage": { "alias": "noModelsMessage"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "loadingDataMessage": { "alias": "loadingDataMessage"; "required": false; }; "items": { "alias": "items"; "required": false; }; "isPanelToolbarVisible": { "alias": "isPanelToolbarVisible"; "required": false; }; "expandedModelTree": { "alias": "expandedModelTree"; "required": false; }; "project": { "alias": "project"; "required": false; }; }, { "actionClicked": "actionClicked"; "clickedModel": "clickedModel"; "clickedLayer": "clickedLayer"; "toggleOpacityOfModel": "toggleOpacityOfModel"; "toggleOpacityOfLayer": "toggleOpacityOfLayer"; "toggleVisibilityOfModel": "toggleVisibilityOfModel"; "toggleVisibilityOfLayer": "toggleVisibilityOfLayer"; "logoClicked": "logoClicked"; }, never, never, true, never>;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
declare class BimplusLanguageMenuComponent {
|
|
380
|
+
_languagesList: {
|
|
381
|
+
symbol: string;
|
|
382
|
+
text: string;
|
|
383
|
+
}[];
|
|
384
|
+
isTouch: boolean;
|
|
385
|
+
selectedLanguage: string;
|
|
386
|
+
expandUp: boolean;
|
|
387
|
+
_menuOpened: boolean;
|
|
388
|
+
bimplusLanguageSelected: EventEmitter<string>;
|
|
389
|
+
_switchLanguage(language: string): void;
|
|
390
|
+
_toggleOpened(): void;
|
|
391
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusLanguageMenuComponent, never>;
|
|
392
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusLanguageMenuComponent, "lib-bimplus-language-menu", never, { "isTouch": { "alias": "isTouch"; "required": false; }; "selectedLanguage": { "alias": "selectedLanguage"; "required": false; }; "expandUp": { "alias": "expandUp"; "required": false; }; }, { "bimplusLanguageSelected": "bimplusLanguageSelected"; }, never, never, true, never>;
|
|
393
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
394
|
+
static ngAcceptInputType_expandUp: unknown;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
interface BimplusMainMenuComponentAttribute {
|
|
398
|
+
[key: string]: unknown;
|
|
399
|
+
}
|
|
400
|
+
declare class BimplusMainMenuComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
|
|
401
|
+
constructor();
|
|
402
|
+
isEmbedded: boolean;
|
|
403
|
+
isTouch: boolean;
|
|
404
|
+
isIpadApp: boolean;
|
|
405
|
+
isDev: boolean;
|
|
406
|
+
isStage: boolean;
|
|
407
|
+
hideProjectMenuIcons: boolean;
|
|
408
|
+
showHorizontalMenuIcons: boolean;
|
|
409
|
+
projectName: string;
|
|
410
|
+
projectImageUrl: string;
|
|
411
|
+
projectExplorerUrl: string;
|
|
412
|
+
projectActiveItem: string;
|
|
413
|
+
projectmembersDisabled: boolean;
|
|
414
|
+
modelsDisabled: boolean;
|
|
415
|
+
documentsDisabled: boolean;
|
|
416
|
+
projectsettingsDisabled: boolean;
|
|
417
|
+
processesDisabled: boolean;
|
|
418
|
+
footerActiveItem: string;
|
|
419
|
+
menuActiveItem: string;
|
|
420
|
+
isCollapsed: boolean;
|
|
421
|
+
showOverlay: boolean;
|
|
422
|
+
teammembersSubscribed: boolean;
|
|
423
|
+
propertymanagerSubscribed: boolean;
|
|
424
|
+
autoconverterSubscribed: boolean;
|
|
425
|
+
connexisSubscribed: boolean;
|
|
426
|
+
openProjectDisabled: boolean;
|
|
427
|
+
bimexplorerDisabled: boolean;
|
|
428
|
+
autoconverterDisabled: boolean;
|
|
429
|
+
connexisDisabled: boolean;
|
|
430
|
+
teammembersDisabled: boolean;
|
|
431
|
+
propertymanagerDisabled: boolean;
|
|
432
|
+
shopDisabled: boolean;
|
|
433
|
+
addinsDisabled: boolean;
|
|
434
|
+
openProjectVisible: boolean;
|
|
435
|
+
bimplusProjectMenuVisible: boolean;
|
|
436
|
+
projectmembersVisible: boolean;
|
|
437
|
+
modelsVisible: boolean;
|
|
438
|
+
documentsVisible: boolean;
|
|
439
|
+
projectsettingsVisible: boolean;
|
|
440
|
+
processesVisible: boolean;
|
|
441
|
+
bimexplorerVisible: boolean;
|
|
442
|
+
autoconverterVisible: boolean;
|
|
443
|
+
connexisVisible: boolean;
|
|
444
|
+
teammembersVisible: boolean;
|
|
445
|
+
propertymanagerVisible: boolean;
|
|
446
|
+
shopVisible: boolean;
|
|
447
|
+
addinsVisible: boolean;
|
|
448
|
+
dividerprojectmanagementVisible: boolean;
|
|
449
|
+
dividerappsVisible: boolean;
|
|
450
|
+
getYourTeamVisible: boolean;
|
|
451
|
+
tryBimplusProVisible: boolean;
|
|
452
|
+
appsWithInfo: string[];
|
|
453
|
+
appsOrder: string[];
|
|
454
|
+
menuItemsOrder: string[];
|
|
455
|
+
bimplusMainMenuClicked: EventEmitter<{
|
|
456
|
+
action: string;
|
|
457
|
+
type: string;
|
|
458
|
+
}>;
|
|
459
|
+
bimplusMainMenuOverlayClicked: EventEmitter<void>;
|
|
460
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
461
|
+
get apps(): MenuListType[];
|
|
462
|
+
get footerList(): MenuListType[];
|
|
463
|
+
/**--------------------------------------------------------------------------
|
|
464
|
+
* check if app is subscribed
|
|
465
|
+
--------------------------------------------------------------------------*/
|
|
466
|
+
_isSubscribed(item: MenuListType): boolean;
|
|
467
|
+
/**--------------------------------------------------------------------------
|
|
468
|
+
* check if app is clickable
|
|
469
|
+
--------------------------------------------------------------------------*/
|
|
470
|
+
_isClickable(item: MenuListType): boolean;
|
|
471
|
+
/**--------------------------------------------------------------------------
|
|
472
|
+
* check if app is subscribed/visible
|
|
473
|
+
--------------------------------------------------------------------------*/
|
|
474
|
+
_isHidden(item: MenuListType): boolean;
|
|
475
|
+
/**--------------------------------------------------------------------------
|
|
476
|
+
* check if app is disabled
|
|
477
|
+
--------------------------------------------------------------------------*/
|
|
478
|
+
_isDisabled(item: MenuListType): boolean;
|
|
479
|
+
_getContextData(item: MenuListType, active: boolean, disabled: boolean, clickable: boolean, selected: boolean): {
|
|
480
|
+
item: MenuListType;
|
|
481
|
+
active: boolean;
|
|
482
|
+
disabled: boolean;
|
|
483
|
+
clickable: boolean;
|
|
484
|
+
selected: boolean;
|
|
485
|
+
showInfoIcon: boolean;
|
|
486
|
+
};
|
|
487
|
+
_openPrjBtn: MenuListType;
|
|
488
|
+
contextData: {
|
|
489
|
+
item: string;
|
|
490
|
+
active: boolean;
|
|
491
|
+
disabled: boolean;
|
|
492
|
+
clickable: boolean;
|
|
493
|
+
selected: boolean;
|
|
494
|
+
};
|
|
495
|
+
appsList: MenuListType[];
|
|
496
|
+
_menuFooterList: MenuListType[];
|
|
497
|
+
_overlayClicked(): void;
|
|
498
|
+
_mainMenuItemClicked(item: MenuListType, type: string, event: Event | undefined): void;
|
|
499
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusMainMenuComponent, never>;
|
|
500
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusMainMenuComponent, "lib-bimplus-main-menu", never, { "isEmbedded": { "alias": "isEmbedded"; "required": false; }; "isTouch": { "alias": "isTouch"; "required": false; }; "isIpadApp": { "alias": "isIpadApp"; "required": false; }; "isDev": { "alias": "isDev"; "required": false; }; "isStage": { "alias": "isStage"; "required": false; }; "hideProjectMenuIcons": { "alias": "hideProjectMenuIcons"; "required": false; }; "showHorizontalMenuIcons": { "alias": "showHorizontalMenuIcons"; "required": false; }; "projectName": { "alias": "projectName"; "required": false; }; "projectImageUrl": { "alias": "projectImageUrl"; "required": false; }; "projectExplorerUrl": { "alias": "projectExplorerUrl"; "required": false; }; "projectActiveItem": { "alias": "projectActiveItem"; "required": false; }; "projectmembersDisabled": { "alias": "projectmembersDisabled"; "required": false; }; "modelsDisabled": { "alias": "modelsDisabled"; "required": false; }; "documentsDisabled": { "alias": "documentsDisabled"; "required": false; }; "projectsettingsDisabled": { "alias": "projectsettingsDisabled"; "required": false; }; "processesDisabled": { "alias": "processesDisabled"; "required": false; }; "footerActiveItem": { "alias": "footerActiveItem"; "required": false; }; "menuActiveItem": { "alias": "menuActiveItem"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "showOverlay": { "alias": "showOverlay"; "required": false; }; "teammembersSubscribed": { "alias": "teammembersSubscribed"; "required": false; }; "propertymanagerSubscribed": { "alias": "propertymanagerSubscribed"; "required": false; }; "autoconverterSubscribed": { "alias": "autoconverterSubscribed"; "required": false; }; "connexisSubscribed": { "alias": "connexisSubscribed"; "required": false; }; "openProjectDisabled": { "alias": "openProjectDisabled"; "required": false; }; "bimexplorerDisabled": { "alias": "bimexplorerDisabled"; "required": false; }; "autoconverterDisabled": { "alias": "autoconverterDisabled"; "required": false; }; "connexisDisabled": { "alias": "connexisDisabled"; "required": false; }; "teammembersDisabled": { "alias": "teammembersDisabled"; "required": false; }; "propertymanagerDisabled": { "alias": "propertymanagerDisabled"; "required": false; }; "shopDisabled": { "alias": "shopDisabled"; "required": false; }; "addinsDisabled": { "alias": "addinsDisabled"; "required": false; }; "openProjectVisible": { "alias": "openProjectVisible"; "required": false; }; "bimplusProjectMenuVisible": { "alias": "bimplusProjectMenuVisible"; "required": false; }; "projectmembersVisible": { "alias": "projectmembersVisible"; "required": false; }; "modelsVisible": { "alias": "modelsVisible"; "required": false; }; "documentsVisible": { "alias": "documentsVisible"; "required": false; }; "projectsettingsVisible": { "alias": "projectsettingsVisible"; "required": false; }; "processesVisible": { "alias": "processesVisible"; "required": false; }; "bimexplorerVisible": { "alias": "bimexplorerVisible"; "required": false; }; "autoconverterVisible": { "alias": "autoconverterVisible"; "required": false; }; "connexisVisible": { "alias": "connexisVisible"; "required": false; }; "teammembersVisible": { "alias": "teammembersVisible"; "required": false; }; "propertymanagerVisible": { "alias": "propertymanagerVisible"; "required": false; }; "shopVisible": { "alias": "shopVisible"; "required": false; }; "addinsVisible": { "alias": "addinsVisible"; "required": false; }; "dividerprojectmanagementVisible": { "alias": "dividerprojectmanagementVisible"; "required": false; }; "dividerappsVisible": { "alias": "dividerappsVisible"; "required": false; }; "getYourTeamVisible": { "alias": "getYourTeamVisible"; "required": false; }; "tryBimplusProVisible": { "alias": "tryBimplusProVisible"; "required": false; }; "appsWithInfo": { "alias": "appsWithInfo"; "required": false; }; "appsOrder": { "alias": "appsOrder"; "required": false; }; "menuItemsOrder": { "alias": "menuItemsOrder"; "required": false; }; }, { "bimplusMainMenuClicked": "bimplusMainMenuClicked"; "bimplusMainMenuOverlayClicked": "bimplusMainMenuOverlayClicked"; }, never, never, true, never>;
|
|
501
|
+
static ngAcceptInputType_isEmbedded: unknown;
|
|
502
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
503
|
+
static ngAcceptInputType_isIpadApp: unknown;
|
|
504
|
+
static ngAcceptInputType_isDev: unknown;
|
|
505
|
+
static ngAcceptInputType_isStage: unknown;
|
|
506
|
+
static ngAcceptInputType_hideProjectMenuIcons: unknown;
|
|
507
|
+
static ngAcceptInputType_showHorizontalMenuIcons: unknown;
|
|
508
|
+
static ngAcceptInputType_projectmembersDisabled: unknown;
|
|
509
|
+
static ngAcceptInputType_modelsDisabled: unknown;
|
|
510
|
+
static ngAcceptInputType_documentsDisabled: unknown;
|
|
511
|
+
static ngAcceptInputType_projectsettingsDisabled: unknown;
|
|
512
|
+
static ngAcceptInputType_processesDisabled: unknown;
|
|
513
|
+
static ngAcceptInputType_isCollapsed: unknown;
|
|
514
|
+
static ngAcceptInputType_showOverlay: unknown;
|
|
515
|
+
static ngAcceptInputType_teammembersSubscribed: unknown;
|
|
516
|
+
static ngAcceptInputType_propertymanagerSubscribed: unknown;
|
|
517
|
+
static ngAcceptInputType_autoconverterSubscribed: unknown;
|
|
518
|
+
static ngAcceptInputType_connexisSubscribed: unknown;
|
|
519
|
+
static ngAcceptInputType_openProjectDisabled: unknown;
|
|
520
|
+
static ngAcceptInputType_bimexplorerDisabled: unknown;
|
|
521
|
+
static ngAcceptInputType_autoconverterDisabled: unknown;
|
|
522
|
+
static ngAcceptInputType_connexisDisabled: unknown;
|
|
523
|
+
static ngAcceptInputType_teammembersDisabled: unknown;
|
|
524
|
+
static ngAcceptInputType_propertymanagerDisabled: unknown;
|
|
525
|
+
static ngAcceptInputType_shopDisabled: unknown;
|
|
526
|
+
static ngAcceptInputType_addinsDisabled: unknown;
|
|
527
|
+
static ngAcceptInputType_openProjectVisible: unknown;
|
|
528
|
+
static ngAcceptInputType_bimplusProjectMenuVisible: unknown;
|
|
529
|
+
static ngAcceptInputType_projectmembersVisible: unknown;
|
|
530
|
+
static ngAcceptInputType_modelsVisible: unknown;
|
|
531
|
+
static ngAcceptInputType_documentsVisible: unknown;
|
|
532
|
+
static ngAcceptInputType_projectsettingsVisible: unknown;
|
|
533
|
+
static ngAcceptInputType_processesVisible: unknown;
|
|
534
|
+
static ngAcceptInputType_bimexplorerVisible: unknown;
|
|
535
|
+
static ngAcceptInputType_autoconverterVisible: unknown;
|
|
536
|
+
static ngAcceptInputType_connexisVisible: unknown;
|
|
537
|
+
static ngAcceptInputType_teammembersVisible: unknown;
|
|
538
|
+
static ngAcceptInputType_propertymanagerVisible: unknown;
|
|
539
|
+
static ngAcceptInputType_shopVisible: unknown;
|
|
540
|
+
static ngAcceptInputType_addinsVisible: unknown;
|
|
541
|
+
static ngAcceptInputType_dividerprojectmanagementVisible: unknown;
|
|
542
|
+
static ngAcceptInputType_dividerappsVisible: unknown;
|
|
543
|
+
static ngAcceptInputType_getYourTeamVisible: unknown;
|
|
544
|
+
static ngAcceptInputType_tryBimplusProVisible: unknown;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
declare enum LogoState {
|
|
548
|
+
BimplusViewer = "bimplusViewer",// Bimplus logo
|
|
549
|
+
ModelViewerBlack = "modelViewerBlack",// Model viewer black logo
|
|
550
|
+
ModelViewer = "modelViewer",// Cloud viewer logo
|
|
551
|
+
ConnexisViewer = "connexisViewer",// Connexis viewer logo
|
|
552
|
+
ConnexisViewerBlack = "connexisViewerBlack"
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
declare class BimplusNavbarComponent {
|
|
556
|
+
projectInfo: string;
|
|
557
|
+
teamInfo: string;
|
|
558
|
+
isDev: boolean;
|
|
559
|
+
isStage: boolean;
|
|
560
|
+
teamInfoOffset: string;
|
|
561
|
+
isNavbarMenuVisible: boolean;
|
|
562
|
+
isNavbarInfoVisible: boolean;
|
|
563
|
+
logoState: i0.InputSignal<LogoState>;
|
|
564
|
+
isModelViewerActive: i0.InputSignalWithTransform<boolean, unknown>;
|
|
565
|
+
isNavbarMessageVisible: boolean;
|
|
566
|
+
isNavbarMenuActive: boolean;
|
|
567
|
+
isNavbarMenuEnabled: boolean;
|
|
568
|
+
isTouch: boolean;
|
|
569
|
+
isDashboardTooltipEnabled: boolean;
|
|
570
|
+
selectedLanguage: string;
|
|
571
|
+
bimplusNavbarClicked: EventEmitter<string>;
|
|
572
|
+
LogoState: typeof LogoState;
|
|
573
|
+
protected readonly logoStateSignal: i0.Signal<LogoState>;
|
|
574
|
+
_menuClicked(): void;
|
|
575
|
+
_logoClicked(): void;
|
|
576
|
+
_projectInfoClicked(): void;
|
|
577
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusNavbarComponent, never>;
|
|
578
|
+
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; "isSignal": true; }; "isModelViewerActive": { "alias": "isModelViewerActive"; "required": false; "isSignal": true; }; "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>;
|
|
579
|
+
static ngAcceptInputType_isDev: unknown;
|
|
580
|
+
static ngAcceptInputType_isStage: unknown;
|
|
581
|
+
static ngAcceptInputType_isNavbarMenuVisible: unknown;
|
|
582
|
+
static ngAcceptInputType_isNavbarInfoVisible: unknown;
|
|
583
|
+
static ngAcceptInputType_isNavbarMessageVisible: unknown;
|
|
584
|
+
static ngAcceptInputType_isNavbarMenuActive: unknown;
|
|
585
|
+
static ngAcceptInputType_isNavbarMenuEnabled: unknown;
|
|
586
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
587
|
+
static ngAcceptInputType_isDashboardTooltipEnabled: unknown;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
interface MessageModel {
|
|
591
|
+
'id': string | undefined;
|
|
592
|
+
'type': string | undefined;
|
|
593
|
+
'title': string | undefined;
|
|
594
|
+
'text': string | undefined;
|
|
595
|
+
'link': string | undefined;
|
|
596
|
+
'linkText': string | string[] | undefined;
|
|
597
|
+
'links': string[] | undefined;
|
|
598
|
+
'actionId': number | undefined;
|
|
599
|
+
'capitalizedTitle': string | boolean | undefined;
|
|
600
|
+
}
|
|
601
|
+
declare class BimplusNotifyComponent extends BimplusLocalizedWidgetComponent implements OnChanges, OnInit {
|
|
602
|
+
constructor();
|
|
603
|
+
Array: ArrayConstructor;
|
|
604
|
+
get newMessages(): boolean;
|
|
605
|
+
get bimNotify(): boolean;
|
|
606
|
+
/**--------------------------------------------------------------------------
|
|
607
|
+
* List of messages
|
|
608
|
+
--------------------------------------------------------------------------*/
|
|
609
|
+
_messagesList: MessageModel[];
|
|
610
|
+
/**--------------------------------------------------------------------------
|
|
611
|
+
* properties
|
|
612
|
+
--------------------------------------------------------------------------*/
|
|
613
|
+
messagePreviewTime: number;
|
|
614
|
+
/**--------------------------------------------------------------------------
|
|
615
|
+
* properties
|
|
616
|
+
--------------------------------------------------------------------------*/
|
|
617
|
+
showMessagePreview: boolean;
|
|
618
|
+
/**--------------------------------------------------------------------------
|
|
619
|
+
* properties
|
|
620
|
+
--------------------------------------------------------------------------*/
|
|
621
|
+
previewMessagesLimit: number;
|
|
622
|
+
/**--------------------------------------------------------------------------
|
|
623
|
+
* offset of preview messages from main icon
|
|
624
|
+
--------------------------------------------------------------------------*/
|
|
625
|
+
previewMessagesOffsetY: string;
|
|
626
|
+
/**--------------------------------------------------------------------------
|
|
627
|
+
* properties
|
|
628
|
+
--------------------------------------------------------------------------*/
|
|
629
|
+
messages: string;
|
|
630
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
631
|
+
updateMessages(newValue: string): void;
|
|
632
|
+
/**--------------------------------------------------------------------------
|
|
633
|
+
* States
|
|
634
|
+
--------------------------------------------------------------------------*/
|
|
635
|
+
_menuOpened: boolean;
|
|
636
|
+
_alertActive: boolean;
|
|
637
|
+
_oldMessagesList: MessageModel[];
|
|
638
|
+
_previewMessagesList: MessageModel[];
|
|
639
|
+
/**--------------------------------------------------------------------------
|
|
640
|
+
* Delete item event
|
|
641
|
+
--------------------------------------------------------------------------*/
|
|
642
|
+
bimplusNotifyDeleteMessage: EventEmitter<string>;
|
|
643
|
+
/**--------------------------------------------------------------------------
|
|
644
|
+
* Delete all item event
|
|
645
|
+
--------------------------------------------------------------------------*/
|
|
646
|
+
bimplusNotifyDeleteAllMessages: EventEmitter<string>;
|
|
647
|
+
/**--------------------------------------------------------------------------
|
|
648
|
+
* Message action event
|
|
649
|
+
--------------------------------------------------------------------------*/
|
|
650
|
+
bimplusNotifyMessageAction: EventEmitter<string>;
|
|
651
|
+
/**--------------------------------------------------------------------------
|
|
652
|
+
* initial component load
|
|
653
|
+
--------------------------------------------------------------------------*/
|
|
654
|
+
ngOnInit(): void;
|
|
655
|
+
/**--------------------------------------------------------------------------
|
|
656
|
+
* close single message
|
|
657
|
+
--------------------------------------------------------------------------*/
|
|
658
|
+
_closeMessage(item: MessageModel, preview: boolean, event: Event | undefined): void;
|
|
659
|
+
/**--------------------------------------------------------------------------
|
|
660
|
+
* close preview message
|
|
661
|
+
--------------------------------------------------------------------------*/
|
|
662
|
+
_closePreviewMessage(msgId: string | undefined, closedByUser?: boolean): void;
|
|
663
|
+
/**--------------------------------------------------------------------------
|
|
664
|
+
* close all messages
|
|
665
|
+
--------------------------------------------------------------------------*/
|
|
666
|
+
_deleteAllMessages(): void;
|
|
667
|
+
/**--------------------------------------------------------------------------
|
|
668
|
+
* message clicked
|
|
669
|
+
--------------------------------------------------------------------------*/
|
|
670
|
+
_messageAction(item: MessageModel, index: number): void;
|
|
671
|
+
/**--------------------------------------------------------------------------
|
|
672
|
+
* toggle menu open
|
|
673
|
+
--------------------------------------------------------------------------*/
|
|
674
|
+
_toggleOpened(): void;
|
|
675
|
+
_messageNotReadYet(message: MessageModel): boolean;
|
|
676
|
+
storeMessagesAsRead(messageList: string[]): void;
|
|
677
|
+
clearAllLocalStorageMessages(): void;
|
|
678
|
+
/**--------------------------------------------------------------------------
|
|
679
|
+
* get item link title
|
|
680
|
+
--------------------------------------------------------------------------*/
|
|
681
|
+
_getItemLinkTitle(item: MessageModel, index: number): string;
|
|
682
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusNotifyComponent, never>;
|
|
683
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusNotifyComponent, "lib-bimplus-notify", never, { "messagePreviewTime": { "alias": "messagePreviewTime"; "required": false; }; "showMessagePreview": { "alias": "showMessagePreview"; "required": false; }; "previewMessagesLimit": { "alias": "previewMessagesLimit"; "required": false; }; "previewMessagesOffsetY": { "alias": "previewMessagesOffsetY"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; }, { "bimplusNotifyDeleteMessage": "bimplusNotifyDeleteMessage"; "bimplusNotifyDeleteAllMessages": "bimplusNotifyDeleteAllMessages"; "bimplusNotifyMessageAction": "bimplusNotifyMessageAction"; }, never, never, true, never>;
|
|
684
|
+
static ngAcceptInputType_showMessagePreview: unknown;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
declare class BimplusOverlayMessageComponent {
|
|
688
|
+
title: i0.InputSignal<string>;
|
|
689
|
+
message: i0.InputSignal<string>;
|
|
690
|
+
closeMessage: EventEmitter<void>;
|
|
691
|
+
closeButton(): void;
|
|
692
|
+
closeKeypressed(event: KeyboardEvent): void;
|
|
693
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayMessageComponent, never>;
|
|
694
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusOverlayMessageComponent, "lib-bimplus-overlay-message", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "closeMessage": "closeMessage"; }, never, never, true, never>;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
interface SidenavItem {
|
|
698
|
+
id: string;
|
|
699
|
+
icon?: string;
|
|
700
|
+
iconActive?: string;
|
|
701
|
+
iconDisabled?: string;
|
|
702
|
+
text: string;
|
|
703
|
+
disabled?: boolean;
|
|
704
|
+
}
|
|
705
|
+
declare class BimplusSidenavComponent extends BimplusLocalizedWidgetComponent {
|
|
706
|
+
constructor();
|
|
707
|
+
readonly activeItem: i0.WritableSignal<string>;
|
|
708
|
+
readonly drawerWidth: i0.WritableSignal<number>;
|
|
709
|
+
readonly drawerExpanded: i0.WritableSignal<boolean>;
|
|
710
|
+
activeItemChanged: EventEmitter<string>;
|
|
711
|
+
actionClicked: EventEmitter<string>;
|
|
712
|
+
footerClicked: EventEmitter<string>;
|
|
713
|
+
items: i0.InputSignal<SidenavItem[]>;
|
|
714
|
+
private readonly activateItemEffectRef;
|
|
715
|
+
actionItems: i0.InputSignal<SidenavItem[]>;
|
|
716
|
+
footerItem: i0.InputSignal<SidenavItem | null>;
|
|
717
|
+
_activateItem(item: string): void;
|
|
718
|
+
_clickAction(item: string): void;
|
|
719
|
+
_clickFooter(item: string): void;
|
|
720
|
+
_toggleDrawer(): void;
|
|
721
|
+
_onResizeWidth(event: number): void;
|
|
722
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusSidenavComponent, never>;
|
|
723
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusSidenavComponent, "lib-bimplus-sidenav", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "actionItems": { "alias": "actionItems"; "required": false; "isSignal": true; }; "footerItem": { "alias": "footerItem"; "required": false; "isSignal": true; }; }, { "activeItemChanged": "activeItemChanged"; "actionClicked": "actionClicked"; "footerClicked": "footerClicked"; }, never, never, true, never>;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
declare class BimplusSidenavDrawerContentComponent {
|
|
727
|
+
header: i0.InputSignal<string>;
|
|
728
|
+
isLoading: i0.InputSignal<boolean>;
|
|
729
|
+
loadingSpinnerText: string;
|
|
730
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusSidenavDrawerContentComponent, never>;
|
|
731
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusSidenavDrawerContentComponent, "lib-bimplus-sidenav-drawer-content", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "loadingSpinnerText": { "alias": "loadingSpinnerText"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
declare class BimplusStorageInfoComponent extends BimplusLocalizedWidgetComponent {
|
|
735
|
+
constructor();
|
|
736
|
+
/**--------------------------------------------------------------------------
|
|
737
|
+
* properties
|
|
738
|
+
--------------------------------------------------------------------------*/
|
|
739
|
+
usedStorage: i0.InputSignal<number>;
|
|
740
|
+
bimplusStorageInfoClicked: EventEmitter<string>;
|
|
741
|
+
/**--------------------------------------------------------------------------
|
|
742
|
+
* clicked storage info container
|
|
743
|
+
--------------------------------------------------------------------------*/
|
|
744
|
+
_infoClicked(action: string): void;
|
|
745
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusStorageInfoComponent, never>;
|
|
746
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusStorageInfoComponent, "lib-bimplus-storage-info", never, { "usedStorage": { "alias": "usedStorage"; "required": false; "isSignal": true; }; }, { "bimplusStorageInfoClicked": "bimplusStorageInfoClicked"; }, never, never, true, never>;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
interface ToolHubSubItem {
|
|
750
|
+
buttonId: string;
|
|
751
|
+
type: string;
|
|
752
|
+
iconClass: string;
|
|
753
|
+
text: string;
|
|
754
|
+
tooltip: string;
|
|
755
|
+
tooltipDisabled: string;
|
|
756
|
+
actionClick: string;
|
|
757
|
+
}
|
|
758
|
+
interface ToolHubItem {
|
|
759
|
+
buttonId: string;
|
|
760
|
+
iconClass: string;
|
|
761
|
+
text: string;
|
|
762
|
+
tooltip: string;
|
|
763
|
+
tooltipDisabled: string;
|
|
764
|
+
subMenuId?: string;
|
|
765
|
+
subItems?: Array<ToolHubSubItem>;
|
|
766
|
+
active?: boolean;
|
|
767
|
+
disabled?: boolean;
|
|
768
|
+
}
|
|
769
|
+
interface ToolHubItemStates {
|
|
770
|
+
buttonId: string;
|
|
771
|
+
active?: boolean;
|
|
772
|
+
disabled?: boolean;
|
|
773
|
+
}
|
|
774
|
+
interface ToolHubVisualSettings {
|
|
775
|
+
subMenuStartAngle: number;
|
|
776
|
+
subMenuEndAngle: number;
|
|
777
|
+
svgRadiusInner: number;
|
|
778
|
+
svgRadius: number;
|
|
779
|
+
subMenuCenter: [number, number];
|
|
780
|
+
subMenuRadius: number;
|
|
781
|
+
subMenuWidth: number;
|
|
782
|
+
deadZoneCenter: [number, number];
|
|
783
|
+
deadZoneWidth: number;
|
|
784
|
+
deadZoneRadius: number;
|
|
785
|
+
deadZoneStartAngle: number;
|
|
786
|
+
deadZoneEndAngle: number;
|
|
787
|
+
}
|
|
788
|
+
interface ToolHubItemUnits {
|
|
789
|
+
radius: number;
|
|
790
|
+
radiusInner: number;
|
|
791
|
+
width: number;
|
|
792
|
+
thick: number;
|
|
793
|
+
innerEdgeRight: number;
|
|
794
|
+
leftX: number;
|
|
795
|
+
leftY: number;
|
|
796
|
+
rightX: number;
|
|
797
|
+
rightY: number;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
declare class BimplusToolHubComponent extends BimplusLocalizedWidgetComponent implements OnInit, AfterViewInit {
|
|
801
|
+
private layoutManagerService;
|
|
802
|
+
private resizeObserverService;
|
|
803
|
+
private element;
|
|
804
|
+
constructor();
|
|
805
|
+
get itemStates(): Array<ToolHubItemStates>;
|
|
806
|
+
set itemStates(value: Array<ToolHubItemStates>);
|
|
807
|
+
setItemStates(itemStates: Array<ToolHubItemStates>): void;
|
|
808
|
+
get items(): Array<ToolHubItem>;
|
|
809
|
+
set items(value: Array<ToolHubItem>);
|
|
810
|
+
get activeSubItems(): Array<ToolHubSubItem> | null;
|
|
811
|
+
get isCollapsed(): boolean;
|
|
812
|
+
set isCollapsed(value: boolean);
|
|
813
|
+
get isPerspectiveProjection(): boolean;
|
|
814
|
+
set isPerspectiveProjection(value: boolean);
|
|
815
|
+
get units(): ToolHubItemUnits;
|
|
816
|
+
get subMenuUnits(): ToolHubItemUnits;
|
|
817
|
+
get annularSector(): string;
|
|
818
|
+
get annularSectorBorder(): string;
|
|
819
|
+
get deadZoneAnnularSector(): string;
|
|
820
|
+
isEmbedded: boolean;
|
|
821
|
+
isFocused: boolean;
|
|
822
|
+
isActive: boolean;
|
|
823
|
+
itemClicked: EventEmitter<string>;
|
|
824
|
+
subItemClicked: EventEmitter<string>;
|
|
825
|
+
private componentId;
|
|
826
|
+
private subscription;
|
|
827
|
+
ngOnInit(): void;
|
|
828
|
+
ngAfterViewInit(): void;
|
|
829
|
+
getSVGViewBox(): string;
|
|
830
|
+
getSVGCenterMenuPath(): string;
|
|
831
|
+
getSVGCenterMenuItemPath(): string;
|
|
832
|
+
getSVGCenterSubMenuItemPath(): string;
|
|
833
|
+
toggleMenu(): void;
|
|
834
|
+
findToolHubItemById(id: string): ToolHubItem | undefined;
|
|
835
|
+
clickToolHubItem(action: string): void;
|
|
836
|
+
clickToolHubSubItem(action: string): void;
|
|
837
|
+
toggleToolHubItemActive(buttonId: string): void;
|
|
838
|
+
toggleSubItemsView(buttonId: string): void;
|
|
839
|
+
toggleCameraProjection(buttonId: string): void;
|
|
840
|
+
closeActiveSubItemsView(): void;
|
|
841
|
+
setHoveredState(element: string, hovered: boolean): void;
|
|
842
|
+
private getSelector;
|
|
843
|
+
dragElement(event: [number, number]): void;
|
|
844
|
+
onDragEnd(): void;
|
|
845
|
+
private _isCollapsed;
|
|
846
|
+
private _itemStates;
|
|
847
|
+
private _items;
|
|
848
|
+
private _activeSubItemsView;
|
|
849
|
+
private _activeSubItems;
|
|
850
|
+
private _isPerspectiveProjection;
|
|
851
|
+
private _visualSettings;
|
|
852
|
+
private _units;
|
|
853
|
+
private _subMenuUnits;
|
|
854
|
+
private _annularSector;
|
|
855
|
+
private _annularSectorBorder;
|
|
856
|
+
private _deadZoneAnnularSector;
|
|
857
|
+
private _hoveredElements;
|
|
858
|
+
private calculateCurrentMenuItemUnits;
|
|
859
|
+
private calculateCurrentSubMenuItemUnits;
|
|
860
|
+
private handleParentAppRectSizeChange;
|
|
861
|
+
private _oneOrMoreItemsActive;
|
|
862
|
+
private _updateActivationState;
|
|
863
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusToolHubComponent, never>;
|
|
864
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusToolHubComponent, "lib-bimplus-tool-hub", never, { "itemStates": { "alias": "itemStates"; "required": false; }; "items": { "alias": "items"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "isPerspectiveProjection": { "alias": "isPerspectiveProjection"; "required": false; }; "isEmbedded": { "alias": "isEmbedded"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, { "itemClicked": "itemClicked"; "subItemClicked": "subItemClicked"; }, never, never, true, never>;
|
|
865
|
+
static ngAcceptInputType_isCollapsed: unknown;
|
|
866
|
+
static ngAcceptInputType_isPerspectiveProjection: unknown;
|
|
867
|
+
static ngAcceptInputType_isEmbedded: unknown;
|
|
868
|
+
static ngAcceptInputType_isFocused: unknown;
|
|
869
|
+
static ngAcceptInputType_isActive: unknown;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
interface MenuItem {
|
|
873
|
+
id: string;
|
|
874
|
+
action: string;
|
|
875
|
+
class: string;
|
|
876
|
+
textId: string;
|
|
877
|
+
type: string;
|
|
878
|
+
checkState: string;
|
|
879
|
+
url: string;
|
|
880
|
+
_url?: () => string;
|
|
881
|
+
textClass: string;
|
|
882
|
+
queryParams: string;
|
|
883
|
+
}
|
|
884
|
+
interface MenuItemEventData {
|
|
885
|
+
index: number;
|
|
886
|
+
action: string;
|
|
887
|
+
}
|
|
888
|
+
interface LangItem {
|
|
889
|
+
symbol: string;
|
|
890
|
+
text: string;
|
|
891
|
+
lCode: string | undefined;
|
|
892
|
+
}
|
|
893
|
+
declare class BimplusUserMenuComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
|
|
894
|
+
constructor();
|
|
895
|
+
_languagesList: LangItem[];
|
|
896
|
+
/**--------------------------------------------------------------------------
|
|
897
|
+
* States
|
|
898
|
+
--------------------------------------------------------------------------*/
|
|
899
|
+
_menuOpened: boolean;
|
|
900
|
+
_languagesMenuOpened: boolean;
|
|
901
|
+
/**--------------------------------------------------------------------------
|
|
902
|
+
* properties
|
|
903
|
+
--------------------------------------------------------------------------*/
|
|
904
|
+
accountSettingsVisible: boolean;
|
|
905
|
+
removeConnectedAppsVisible: boolean;
|
|
906
|
+
userGuideVisible: boolean;
|
|
907
|
+
supportVisible: boolean;
|
|
908
|
+
forumVisible: boolean;
|
|
909
|
+
releaseNotesVisible: boolean;
|
|
910
|
+
submenuVisible: boolean;
|
|
911
|
+
clearCacheVisible: boolean;
|
|
912
|
+
dividerLoggedInVisible: boolean;
|
|
913
|
+
logoutVisible: boolean;
|
|
914
|
+
isEmbedded: boolean;
|
|
915
|
+
isTouch: boolean;
|
|
916
|
+
allowRcaItem: boolean;
|
|
917
|
+
/**--------------------------------------------------------------------------
|
|
918
|
+
* properties
|
|
919
|
+
--------------------------------------------------------------------------*/
|
|
920
|
+
buttonTitle: string;
|
|
921
|
+
userName: string;
|
|
922
|
+
userPhotoUrl: string;
|
|
923
|
+
userGuideLinkUrl: string;
|
|
924
|
+
supportLinkUrl: string;
|
|
925
|
+
forumLinkUrl: string;
|
|
926
|
+
/**--------------------------------------------------------------------------
|
|
927
|
+
* Component events
|
|
928
|
+
--------------------------------------------------------------------------*/
|
|
929
|
+
bimplusUserMenuClicked: EventEmitter<MenuItemEventData>;
|
|
930
|
+
bimplusLanguageSelected: EventEmitter<string>;
|
|
931
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
932
|
+
/**--------------------------------------------------------------------------
|
|
933
|
+
* List of menu items
|
|
934
|
+
* Note : action is used to identify action which should be executed
|
|
935
|
+
--------------------------------------------------------------------------*/
|
|
936
|
+
_menuItemsList: MenuItem[];
|
|
937
|
+
/**--------------------------------------------------------------------------
|
|
938
|
+
* Item clicked
|
|
939
|
+
--------------------------------------------------------------------------*/
|
|
940
|
+
_menuItemClicked(item: MenuItem, index: number): void;
|
|
941
|
+
/**--------------------------------------------------------------------------
|
|
942
|
+
* language submenu item clicked
|
|
943
|
+
--------------------------------------------------------------------------*/
|
|
944
|
+
_switchLanguage(language: string): void;
|
|
945
|
+
/**--------------------------------------------------------------------------
|
|
946
|
+
* toggle menu open
|
|
947
|
+
--------------------------------------------------------------------------*/
|
|
948
|
+
_toggleOpened(): void;
|
|
949
|
+
/**--------------------------------------------------------------------------
|
|
950
|
+
* toggle language submenu open
|
|
951
|
+
--------------------------------------------------------------------------*/
|
|
952
|
+
_toggleLanguagesSubmenuOpened(): void;
|
|
953
|
+
/**--------------------------------------------------------------------------
|
|
954
|
+
* check if item is visible
|
|
955
|
+
--------------------------------------------------------------------------*/
|
|
956
|
+
_isHidden(item: MenuItem): boolean;
|
|
957
|
+
_buildUrl(item: MenuItem | undefined): string | undefined;
|
|
958
|
+
_getMenuItems(): (MenuItem | undefined)[];
|
|
959
|
+
_getLangId(lang: LangItem | undefined): string;
|
|
960
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusUserMenuComponent, never>;
|
|
961
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusUserMenuComponent, "lib-bimplus-user-menu", never, { "accountSettingsVisible": { "alias": "accountSettingsVisible"; "required": false; }; "removeConnectedAppsVisible": { "alias": "removeConnectedAppsVisible"; "required": false; }; "userGuideVisible": { "alias": "userGuideVisible"; "required": false; }; "supportVisible": { "alias": "supportVisible"; "required": false; }; "forumVisible": { "alias": "forumVisible"; "required": false; }; "releaseNotesVisible": { "alias": "releaseNotesVisible"; "required": false; }; "submenuVisible": { "alias": "submenuVisible"; "required": false; }; "clearCacheVisible": { "alias": "clearCacheVisible"; "required": false; }; "dividerLoggedInVisible": { "alias": "dividerLoggedInVisible"; "required": false; }; "logoutVisible": { "alias": "logoutVisible"; "required": false; }; "isEmbedded": { "alias": "isEmbedded"; "required": false; }; "isTouch": { "alias": "isTouch"; "required": false; }; "allowRcaItem": { "alias": "allowRcaItem"; "required": false; }; "buttonTitle": { "alias": "buttonTitle"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "userPhotoUrl": { "alias": "userPhotoUrl"; "required": false; }; "userGuideLinkUrl": { "alias": "userGuideLinkUrl"; "required": false; }; "supportLinkUrl": { "alias": "supportLinkUrl"; "required": false; }; "forumLinkUrl": { "alias": "forumLinkUrl"; "required": false; }; }, { "bimplusUserMenuClicked": "bimplusUserMenuClicked"; "bimplusLanguageSelected": "bimplusLanguageSelected"; }, never, never, true, never>;
|
|
962
|
+
static ngAcceptInputType_accountSettingsVisible: unknown;
|
|
963
|
+
static ngAcceptInputType_removeConnectedAppsVisible: unknown;
|
|
964
|
+
static ngAcceptInputType_userGuideVisible: unknown;
|
|
965
|
+
static ngAcceptInputType_supportVisible: unknown;
|
|
966
|
+
static ngAcceptInputType_forumVisible: unknown;
|
|
967
|
+
static ngAcceptInputType_releaseNotesVisible: unknown;
|
|
968
|
+
static ngAcceptInputType_submenuVisible: unknown;
|
|
969
|
+
static ngAcceptInputType_clearCacheVisible: unknown;
|
|
970
|
+
static ngAcceptInputType_dividerLoggedInVisible: unknown;
|
|
971
|
+
static ngAcceptInputType_logoutVisible: unknown;
|
|
972
|
+
static ngAcceptInputType_isEmbedded: unknown;
|
|
973
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
974
|
+
static ngAcceptInputType_allowRcaItem: unknown;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
declare class BimplusZoomComponent {
|
|
978
|
+
/**--------------------------------------------------------------------------
|
|
979
|
+
* List of available zoom
|
|
980
|
+
--------------------------------------------------------------------------*/
|
|
981
|
+
_zoomList: {
|
|
982
|
+
symbol: string;
|
|
983
|
+
text: string;
|
|
984
|
+
}[];
|
|
985
|
+
/**--------------------------------------------------------------------------
|
|
986
|
+
* States
|
|
987
|
+
--------------------------------------------------------------------------*/
|
|
988
|
+
_menuOpened: boolean;
|
|
989
|
+
/**--------------------------------------------------------------------------
|
|
990
|
+
* properties
|
|
991
|
+
--------------------------------------------------------------------------*/
|
|
992
|
+
isTouch: boolean;
|
|
993
|
+
/**--------------------------------------------------------------------------
|
|
994
|
+
* properties
|
|
995
|
+
--------------------------------------------------------------------------*/
|
|
996
|
+
selectedZoom: string;
|
|
997
|
+
/**--------------------------------------------------------------------------
|
|
998
|
+
* Zoom selected event
|
|
999
|
+
--------------------------------------------------------------------------*/
|
|
1000
|
+
bimplusZoomSelected: EventEmitter<string>;
|
|
1001
|
+
/**--------------------------------------------------------------------------
|
|
1002
|
+
* Zoom selection
|
|
1003
|
+
--------------------------------------------------------------------------*/
|
|
1004
|
+
_switchZoom(zoom: string): void;
|
|
1005
|
+
/**--------------------------------------------------------------------------
|
|
1006
|
+
* toggle menu open
|
|
1007
|
+
--------------------------------------------------------------------------*/
|
|
1008
|
+
_toggleOpened(): void;
|
|
1009
|
+
/**--------------------------------------------------------------------------
|
|
1010
|
+
* setup dynamic classes for zoom item
|
|
1011
|
+
--------------------------------------------------------------------------*/
|
|
1012
|
+
_getZoomClassObject(symbol: string): {
|
|
1013
|
+
[x: string]: boolean;
|
|
1014
|
+
selected: boolean;
|
|
1015
|
+
};
|
|
1016
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusZoomComponent, never>;
|
|
1017
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusZoomComponent, "lib-bimplus-zoom", never, { "isTouch": { "alias": "isTouch"; "required": false; }; "selectedZoom": { "alias": "selectedZoom"; "required": false; }; }, { "bimplusZoomSelected": "bimplusZoomSelected"; }, never, never, true, never>;
|
|
1018
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
interface BimplusContextMenuItem {
|
|
1022
|
+
id: string;
|
|
1023
|
+
iconClass?: string;
|
|
1024
|
+
icon?: string;
|
|
1025
|
+
title?: string;
|
|
1026
|
+
tooltip?: string;
|
|
1027
|
+
disabled?: (data: object | undefined) => boolean;
|
|
1028
|
+
action?: (data: object | undefined) => void;
|
|
1029
|
+
}
|
|
1030
|
+
interface BimplusContextMenuPosition {
|
|
1031
|
+
posX: number;
|
|
1032
|
+
posY: number;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
interface TreeNode {
|
|
1036
|
+
name: string;
|
|
1037
|
+
children?: Array<TreeNode>;
|
|
1038
|
+
id: string;
|
|
1039
|
+
parent?: string;
|
|
1040
|
+
nodeType?: string;
|
|
1041
|
+
}
|
|
1042
|
+
interface FlatNode {
|
|
1043
|
+
expandable: boolean;
|
|
1044
|
+
children_count: number | undefined;
|
|
1045
|
+
name: string;
|
|
1046
|
+
level: number;
|
|
1047
|
+
id: string;
|
|
1048
|
+
parent?: string;
|
|
1049
|
+
nodeType?: string;
|
|
1050
|
+
isChecked1: boolean;
|
|
1051
|
+
isChecked2: boolean;
|
|
1052
|
+
isUndetermined1: boolean;
|
|
1053
|
+
isUndetermined2: boolean;
|
|
1054
|
+
}
|
|
1055
|
+
interface FlatTreeContextMenus {
|
|
1056
|
+
objectContextMenuitems?: Array<BimplusContextMenuItem>;
|
|
1057
|
+
folderContextMenuitems?: Array<BimplusContextMenuItem>;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
declare class BimplusFlatTreeComponent implements OnInit, OnChanges {
|
|
1061
|
+
private readonly el;
|
|
1062
|
+
treeDataStringified: string | null;
|
|
1063
|
+
treeTitle: i0.InputSignal<string | undefined>;
|
|
1064
|
+
paddingIndent: string;
|
|
1065
|
+
multiSelect: boolean;
|
|
1066
|
+
oneLevelMultiSelect: boolean;
|
|
1067
|
+
showFoldersIcons: boolean;
|
|
1068
|
+
showObjectsIcons: boolean;
|
|
1069
|
+
enableSelect: boolean;
|
|
1070
|
+
enableParentHighlighting: boolean;
|
|
1071
|
+
enableDragAndDrop: boolean;
|
|
1072
|
+
dataTestPrefix: string;
|
|
1073
|
+
contextMenus: FlatTreeContextMenus | null | undefined;
|
|
1074
|
+
hasCheckBox1: boolean;
|
|
1075
|
+
hasCheckBox2: boolean;
|
|
1076
|
+
get treeData(): Array<TreeNode>;
|
|
1077
|
+
set treeData(data: Array<TreeNode>);
|
|
1078
|
+
customNodeTemplate: i0.InputSignal<TemplateRef<unknown> | null>;
|
|
1079
|
+
selectedNodes: EventEmitter<FlatNode[]>;
|
|
1080
|
+
checked1Nodes: EventEmitter<FlatNode[]>;
|
|
1081
|
+
checked2Nodes: EventEmitter<FlatNode[]>;
|
|
1082
|
+
private _selectionList;
|
|
1083
|
+
ngOnInit(): void;
|
|
1084
|
+
expandTree(): void;
|
|
1085
|
+
private _getNode;
|
|
1086
|
+
get_node(id: {
|
|
1087
|
+
id: string;
|
|
1088
|
+
} | string, getDOMElement?: boolean): TreeNode | Element | null;
|
|
1089
|
+
select_node(id: string, skipEvent?: boolean): void;
|
|
1090
|
+
reset_selection(): void;
|
|
1091
|
+
expand_node(id: string): void;
|
|
1092
|
+
is_expanded(id: string): boolean;
|
|
1093
|
+
is_selected(id: string): boolean | undefined;
|
|
1094
|
+
private _setNewData;
|
|
1095
|
+
private _changedTreeData;
|
|
1096
|
+
ngOnChanges(changes: {
|
|
1097
|
+
[propKey: string]: SimpleChange;
|
|
1098
|
+
}): void;
|
|
1099
|
+
private _transformer;
|
|
1100
|
+
protected _treeControl: FlatTreeControl<FlatNode, FlatNode>;
|
|
1101
|
+
protected _treeFlattener: MatTreeFlattener<TreeNode, FlatNode, FlatNode>;
|
|
1102
|
+
protected _dataSource: MatTreeFlatDataSource<TreeNode, FlatNode, FlatNode>;
|
|
1103
|
+
protected _isExpandable: (_: number, node: FlatNode) => boolean;
|
|
1104
|
+
protected _isCustomNodeType(node: FlatNode): boolean;
|
|
1105
|
+
protected _hasChildren(node: FlatNode): boolean;
|
|
1106
|
+
protected _descendantsAllSelected(node: FlatNode): boolean;
|
|
1107
|
+
protected _descendantsPartiallySelected(node: FlatNode): boolean;
|
|
1108
|
+
private _toggleDescendantsNodes;
|
|
1109
|
+
private _updateParentSelections;
|
|
1110
|
+
protected _toggleNode(event: Event, node: FlatNode): void;
|
|
1111
|
+
protected _isSelected(node: FlatNode): boolean;
|
|
1112
|
+
protected _toggleCheckBox1(event: Event, node: FlatNode): void;
|
|
1113
|
+
protected _toggleCheckBox2(event: Event, node: FlatNode): void;
|
|
1114
|
+
checkUndetermined(node: FlatNode, checkbox: number): void;
|
|
1115
|
+
protected _isUndetermined1(node: FlatNode): boolean;
|
|
1116
|
+
protected _isUndetermined2(node: FlatNode): boolean;
|
|
1117
|
+
protected _isChecked1(node: FlatNode): boolean;
|
|
1118
|
+
protected _isChecked2(node: FlatNode): boolean;
|
|
1119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFlatTreeComponent, never>;
|
|
1120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFlatTreeComponent, "lib-bimplus-flat-tree", never, { "treeDataStringified": { "alias": "treeDataStringified"; "required": false; }; "treeTitle": { "alias": "treeTitle"; "required": false; "isSignal": true; }; "paddingIndent": { "alias": "paddingIndent"; "required": false; }; "multiSelect": { "alias": "multiSelect"; "required": false; }; "oneLevelMultiSelect": { "alias": "oneLevelMultiSelect"; "required": false; }; "showFoldersIcons": { "alias": "showFoldersIcons"; "required": false; }; "showObjectsIcons": { "alias": "showObjectsIcons"; "required": false; }; "enableSelect": { "alias": "enableSelect"; "required": false; }; "enableParentHighlighting": { "alias": "enableParentHighlighting"; "required": false; }; "enableDragAndDrop": { "alias": "enableDragAndDrop"; "required": false; }; "dataTestPrefix": { "alias": "dataTestPrefix"; "required": false; }; "contextMenus": { "alias": "contextMenus"; "required": false; }; "hasCheckBox1": { "alias": "hasCheckBox1"; "required": false; }; "hasCheckBox2": { "alias": "hasCheckBox2"; "required": false; }; "treeData": { "alias": "treeData"; "required": false; }; "customNodeTemplate": { "alias": "customNodeTemplate"; "required": false; "isSignal": true; }; }, { "selectedNodes": "selectedNodes"; "checked1Nodes": "checked1Nodes"; "checked2Nodes": "checked2Nodes"; }, never, never, true, never>;
|
|
1121
|
+
static ngAcceptInputType_multiSelect: unknown;
|
|
1122
|
+
static ngAcceptInputType_oneLevelMultiSelect: unknown;
|
|
1123
|
+
static ngAcceptInputType_showFoldersIcons: unknown;
|
|
1124
|
+
static ngAcceptInputType_showObjectsIcons: unknown;
|
|
1125
|
+
static ngAcceptInputType_enableSelect: unknown;
|
|
1126
|
+
static ngAcceptInputType_enableParentHighlighting: unknown;
|
|
1127
|
+
static ngAcceptInputType_enableDragAndDrop: unknown;
|
|
1128
|
+
static ngAcceptInputType_hasCheckBox1: unknown;
|
|
1129
|
+
static ngAcceptInputType_hasCheckBox2: unknown;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
declare class BimplusContextMenuComponent {
|
|
1133
|
+
private readonly el;
|
|
1134
|
+
triggerSelected: EventEmitter<any>;
|
|
1135
|
+
showIcons: boolean;
|
|
1136
|
+
triggerTitle: string;
|
|
1137
|
+
protected readonly _showDropdown: i0.WritableSignal<boolean>;
|
|
1138
|
+
protected _data?: object;
|
|
1139
|
+
protected readonly _position: i0.WritableSignal<BimplusContextMenuPosition>;
|
|
1140
|
+
private readonly _element;
|
|
1141
|
+
private _interval;
|
|
1142
|
+
items: i0.ModelSignal<BimplusContextMenuItem[] | null | undefined>;
|
|
1143
|
+
constructor();
|
|
1144
|
+
get data(): undefined | object;
|
|
1145
|
+
set data(data: object);
|
|
1146
|
+
protected _clickOutside(): void;
|
|
1147
|
+
protected _actionClick(item: BimplusContextMenuItem): void;
|
|
1148
|
+
protected _disabled(item: BimplusContextMenuItem): boolean;
|
|
1149
|
+
protected _calculateContextMenuPosition(): void;
|
|
1150
|
+
protected _stopTriggerPositionTracking(): void;
|
|
1151
|
+
protected _startTriggerPositionTracking(): void;
|
|
1152
|
+
protected _toggleDropdown(event: Event): void;
|
|
1153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusContextMenuComponent, never>;
|
|
1154
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusContextMenuComponent, "lib-bimplus-context-menu", never, { "showIcons": { "alias": "showIcons"; "required": false; }; "triggerTitle": { "alias": "triggerTitle"; "required": false; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; }; }, { "triggerSelected": "triggerSelected"; "items": "itemsChange"; }, never, never, true, never>;
|
|
1155
|
+
static ngAcceptInputType_showIcons: unknown;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
type SpinnerTexts = string[] | null | undefined;
|
|
1159
|
+
type SpinnerText = string | null | undefined;
|
|
1160
|
+
declare class LoadingSpinnerComponent {
|
|
1161
|
+
spinnerSpinActive: boolean;
|
|
1162
|
+
spinnerHoverEnabled: boolean;
|
|
1163
|
+
spinnerDisabled: boolean;
|
|
1164
|
+
spinnerText: i0.InputSignal<SpinnerText>;
|
|
1165
|
+
spinnerTexts: i0.InputSignal<SpinnerTexts>;
|
|
1166
|
+
protected readonly isSpinnerTextsArray: i0.Signal<boolean>;
|
|
1167
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingSpinnerComponent, never>;
|
|
1168
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingSpinnerComponent, "lib-loading-spinner", never, { "spinnerSpinActive": { "alias": "spinnerSpinActive"; "required": false; }; "spinnerHoverEnabled": { "alias": "spinnerHoverEnabled"; "required": false; }; "spinnerDisabled": { "alias": "spinnerDisabled"; "required": false; }; "spinnerText": { "alias": "spinnerText"; "required": false; "isSignal": true; }; "spinnerTexts": { "alias": "spinnerTexts"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1169
|
+
static ngAcceptInputType_spinnerSpinActive: unknown;
|
|
1170
|
+
static ngAcceptInputType_spinnerHoverEnabled: unknown;
|
|
1171
|
+
static ngAcceptInputType_spinnerDisabled: unknown;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
interface FilterType {
|
|
1175
|
+
id: string;
|
|
1176
|
+
name: string;
|
|
1177
|
+
}
|
|
1178
|
+
interface FilterCriterium {
|
|
1179
|
+
name: string;
|
|
1180
|
+
value?: string | number | boolean | null | undefined;
|
|
1181
|
+
namedValue?: string;
|
|
1182
|
+
id?: string;
|
|
1183
|
+
subString: string;
|
|
1184
|
+
}
|
|
1185
|
+
declare enum FilterCriteriaSelectionMode {
|
|
1186
|
+
None = 0,
|
|
1187
|
+
SelectObjectProperties = 1,
|
|
1188
|
+
SelectAttributes = 2
|
|
1189
|
+
}
|
|
1190
|
+
declare const MaxFilterCriteria = 5;
|
|
1191
|
+
|
|
1192
|
+
declare class ObjectFilterResultComponent implements AfterViewInit {
|
|
1193
|
+
treeComponent: BimplusFlatTreeComponent | null;
|
|
1194
|
+
set filterResult(res: WebSdk.ObjectFilterStructureResponse | null);
|
|
1195
|
+
set selectedObjects(selectedObjects: string[]);
|
|
1196
|
+
isFilterResultInvalid: i0.ModelSignal<boolean>;
|
|
1197
|
+
setFilterResultValid(): void;
|
|
1198
|
+
filterResultInvalidTitle: string;
|
|
1199
|
+
filterResultInvalidText: string;
|
|
1200
|
+
get treeData(): TreeNode[];
|
|
1201
|
+
nodeSelectionChanged: EventEmitter<string[]>;
|
|
1202
|
+
nodeDoubleClicked: EventEmitter<string>;
|
|
1203
|
+
nodeMouseEntered: EventEmitter<string>;
|
|
1204
|
+
nodeMouseLeft: EventEmitter<string>;
|
|
1205
|
+
ngAfterViewInit(): void;
|
|
1206
|
+
handleSelectedNodes(nodes: FlatNode[]): void;
|
|
1207
|
+
getNodeObjectCounter(id: string): number;
|
|
1208
|
+
dblClickedObjectNode(node: TreeNode): void;
|
|
1209
|
+
mouseEnterObjectNode(node: TreeNode): void;
|
|
1210
|
+
mouseLeaveObjectNode(node: TreeNode): void;
|
|
1211
|
+
expandToObjectLevel(): void;
|
|
1212
|
+
clearFilterResult(): void;
|
|
1213
|
+
private _filterResult;
|
|
1214
|
+
private _treeData;
|
|
1215
|
+
private _treeNodesLookup;
|
|
1216
|
+
private _treeNodeObjectCounts;
|
|
1217
|
+
private _selectedObjects;
|
|
1218
|
+
private _syncSelectedObjects;
|
|
1219
|
+
private _updateObjectCounters;
|
|
1220
|
+
private _countObjects;
|
|
1221
|
+
private _updateTreeData;
|
|
1222
|
+
private _convertFilterResultToTreeNode;
|
|
1223
|
+
private _expandToObjectLevel;
|
|
1224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectFilterResultComponent, never>;
|
|
1225
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectFilterResultComponent, "lib-object-filter-result", never, { "filterResult": { "alias": "filterResult"; "required": false; }; "selectedObjects": { "alias": "selectedObjects"; "required": false; }; "isFilterResultInvalid": { "alias": "isFilterResultInvalid"; "required": false; "isSignal": true; }; "filterResultInvalidTitle": { "alias": "filterResultInvalidTitle"; "required": false; }; "filterResultInvalidText": { "alias": "filterResultInvalidText"; "required": false; }; }, { "isFilterResultInvalid": "isFilterResultInvalidChange"; "nodeSelectionChanged": "nodeSelectionChanged"; "nodeDoubleClicked": "nodeDoubleClicked"; "nodeMouseEntered": "nodeMouseEntered"; "nodeMouseLeft": "nodeMouseLeft"; }, never, never, true, never>;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
declare class BimplusObjectNavigatorComponent extends BimplusLocalizedWidgetComponent implements OnInit {
|
|
1229
|
+
constructor();
|
|
1230
|
+
objectFilterResult: ObjectFilterResultComponent | null;
|
|
1231
|
+
hideFilterContextMenu: boolean;
|
|
1232
|
+
filterContextMenu: Array<BimplusContextMenuItem>;
|
|
1233
|
+
set filterTypes(types: Array<FilterType>);
|
|
1234
|
+
get filterTypes(): Array<FilterType>;
|
|
1235
|
+
set activeFilterType(value: FilterType | null);
|
|
1236
|
+
get activeFilterType(): FilterType | null;
|
|
1237
|
+
activeFilterTypeSubject$: BehaviorSubject<FilterType | null>;
|
|
1238
|
+
activeFilterSubject$: BehaviorSubject<WebSdk.ObjectFilter | null>;
|
|
1239
|
+
set activeFilter(filter: WebSdk.ObjectFilter | null);
|
|
1240
|
+
get activeFilter(): WebSdk.ObjectFilter | null;
|
|
1241
|
+
filters: WebSdk.ObjectFiltersResponse | null;
|
|
1242
|
+
filterCriteria: FilterCriterium[];
|
|
1243
|
+
filterCriteriaChanged: boolean;
|
|
1244
|
+
maxFilterCriteria: number;
|
|
1245
|
+
api: WebSdk.Api | null;
|
|
1246
|
+
projectId: string;
|
|
1247
|
+
objNavClassClass: boolean;
|
|
1248
|
+
filterCriteriaSelectionMode$: BehaviorSubject<FilterCriteriaSelectionMode>;
|
|
1249
|
+
filterCriteriaSelectionModeChanged: EventEmitter<FilterCriteriaSelectionMode>;
|
|
1250
|
+
selectedObjectId: string | null;
|
|
1251
|
+
selectedRevision: number | undefined;
|
|
1252
|
+
selectedObjects: string[];
|
|
1253
|
+
selectionObject: WebSdk.ExportObject | null;
|
|
1254
|
+
get filterResult(): WebSdk.ObjectFilterStructureResponse | null;
|
|
1255
|
+
filterResultObjectSelectionChanged: EventEmitter<string[]>;
|
|
1256
|
+
filterResultObjectDoubleClicked: EventEmitter<string>;
|
|
1257
|
+
filterResultObjectMouseEntered: EventEmitter<string>;
|
|
1258
|
+
filterResultObjectMouseLeft: EventEmitter<string>;
|
|
1259
|
+
pipetteActiveStatus: EventEmitter<boolean>;
|
|
1260
|
+
FilterCriteriaSelectionMode: typeof FilterCriteriaSelectionMode;
|
|
1261
|
+
isLoadingResults: boolean;
|
|
1262
|
+
filterResultInvalidated: boolean;
|
|
1263
|
+
private _filterResult;
|
|
1264
|
+
private _filterTypes;
|
|
1265
|
+
ngOnInit(): void;
|
|
1266
|
+
loadCurrentLayerFilters(projectId: string, layerId: string): rxjs.Observable<WebSdk.ObjectFiltersResponse> | undefined;
|
|
1267
|
+
parseFilterString(filter: WebSdk.ObjectFilter): FilterCriterium[];
|
|
1268
|
+
deleteFilterCriterium(index: number): void;
|
|
1269
|
+
setFilterCriteriaSelectionMode(mode: FilterCriteriaSelectionMode): void;
|
|
1270
|
+
applyFilterDisabled(): boolean;
|
|
1271
|
+
applyFilter(): void;
|
|
1272
|
+
handleFilterResultSelectionChanged(selection: string[]): void;
|
|
1273
|
+
handleFilterResultObjectDoubleClicked(selection: string): void;
|
|
1274
|
+
handleFilterResultObjectMouseEntered(selection: string): void;
|
|
1275
|
+
handleFilterResultObjectMouseLeft(selection: string): void;
|
|
1276
|
+
handlePipetteActiveStatus(status: boolean): void;
|
|
1277
|
+
filterCriteriaWasChanged(): void;
|
|
1278
|
+
activateModifiedCustomFilter(): void;
|
|
1279
|
+
private _applySelectionObjectFilter;
|
|
1280
|
+
private _setDefaultCustomFilterString;
|
|
1281
|
+
private _createDefaultCustomFilter;
|
|
1282
|
+
private _applyCustomOrStoredFilter;
|
|
1283
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusObjectNavigatorComponent, never>;
|
|
1284
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusObjectNavigatorComponent, "lib-bimplus-object-navigator", never, { "hideFilterContextMenu": { "alias": "hideFilterContextMenu"; "required": false; }; "filterContextMenu": { "alias": "filterContextMenu"; "required": false; }; "filterTypes": { "alias": "filterTypes"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "api": { "alias": "api"; "required": false; }; "projectId": { "alias": "projectId"; "required": false; }; "selectedObjectId": { "alias": "selectedObjectId"; "required": false; }; "selectedRevision": { "alias": "selectedRevision"; "required": false; }; "selectedObjects": { "alias": "selectedObjects"; "required": false; }; "selectionObject": { "alias": "selectionObject"; "required": false; }; }, { "filterCriteriaSelectionModeChanged": "filterCriteriaSelectionModeChanged"; "filterResultObjectSelectionChanged": "filterResultObjectSelectionChanged"; "filterResultObjectDoubleClicked": "filterResultObjectDoubleClicked"; "filterResultObjectMouseEntered": "filterResultObjectMouseEntered"; "filterResultObjectMouseLeft": "filterResultObjectMouseLeft"; "pipetteActiveStatus": "pipetteActiveStatus"; }, never, never, true, never>;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
interface TooltipMessagePosition {
|
|
1288
|
+
posX: number;
|
|
1289
|
+
posY: number;
|
|
1290
|
+
}
|
|
1291
|
+
interface TooltipMessageItem {
|
|
1292
|
+
label?: string;
|
|
1293
|
+
value?: string;
|
|
1294
|
+
type?: "success" | "failed";
|
|
1295
|
+
separatingLine?: boolean;
|
|
1296
|
+
}
|
|
1297
|
+
interface TooltipMessageData {
|
|
1298
|
+
title?: string;
|
|
1299
|
+
footer?: string;
|
|
1300
|
+
messages?: Array<TooltipMessageItem>;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
declare class BimplusTooltipMessageComponent implements OnChanges {
|
|
1304
|
+
private el;
|
|
1305
|
+
private _element;
|
|
1306
|
+
constructor();
|
|
1307
|
+
get element(): HTMLElement;
|
|
1308
|
+
messagePosition: TooltipMessagePosition;
|
|
1309
|
+
messageData: TooltipMessageData;
|
|
1310
|
+
messageVisibility: boolean;
|
|
1311
|
+
messageVisibilityChange: EventEmitter<boolean>;
|
|
1312
|
+
protected _clickOutside(): void;
|
|
1313
|
+
private _resizeObserver;
|
|
1314
|
+
protected _messageParentElement: ElementRef;
|
|
1315
|
+
protected _parentWidth: number;
|
|
1316
|
+
protected _parentHeight: number;
|
|
1317
|
+
get messageParent(): ElementRef;
|
|
1318
|
+
set messageParent(element: ElementRef);
|
|
1319
|
+
tooltipRectangleIsOutOfParentRectangleX(tooltipRectangle: DOMRect, parentRectangle: DOMRect): boolean;
|
|
1320
|
+
tooltipRectangleIsOutOfParentRectangleY(tooltipRectangle: DOMRect, parentRectangle: DOMRect): boolean;
|
|
1321
|
+
correctTooltipPositionX(oldPosX: number, flippedX: boolean, oldPosY: number, flippedY: boolean): void;
|
|
1322
|
+
correctTooltipPositionY(oldPosX: number, flippedX: boolean, oldPosY: number, flippedY: boolean): void;
|
|
1323
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1324
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTooltipMessageComponent, never>;
|
|
1325
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTooltipMessageComponent, "lib-bimplus-tooltip-message", never, { "messagePosition": { "alias": "messagePosition"; "required": false; }; "messageData": { "alias": "messageData"; "required": false; }; "messageVisibility": { "alias": "messageVisibility"; "required": false; }; "messageParent": { "alias": "messageParent"; "required": false; }; }, { "messageVisibilityChange": "messageVisibilityChange"; }, never, [".tooltip-message-title-content", ".tooltip-message-messages-content", ".tooltip-message-footer-content"], true, never>;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
declare class BimplusScrollableContainerComponent implements AfterViewInit, AfterViewChecked {
|
|
1329
|
+
private readonly elementRef;
|
|
1330
|
+
_simpleBar: SimpleBar;
|
|
1331
|
+
_element: HTMLElement;
|
|
1332
|
+
protected _scrollableContainerClassName: string;
|
|
1333
|
+
constructor();
|
|
1334
|
+
private _initializationSimpleScrollBar;
|
|
1335
|
+
ngAfterViewInit(): void;
|
|
1336
|
+
private _recalculateScrollbar;
|
|
1337
|
+
ngAfterViewChecked(): void;
|
|
1338
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusScrollableContainerComponent, never>;
|
|
1339
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusScrollableContainerComponent, "lib-bimplus-scrollable-container", never, {}, {}, never, ["*"], true, never>;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
declare class BimplusTouchMenuComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
|
|
1343
|
+
constructor();
|
|
1344
|
+
/**--------------------------------------------------------------------------
|
|
1345
|
+
* List of menu items
|
|
1346
|
+
* Note : action is used to identify action which should be executed
|
|
1347
|
+
--------------------------------------------------------------------------*/
|
|
1348
|
+
_menuItemsList: {
|
|
1349
|
+
mode: string;
|
|
1350
|
+
class: string;
|
|
1351
|
+
textId: string;
|
|
1352
|
+
}[];
|
|
1353
|
+
get _selectedItem(): {
|
|
1354
|
+
mode: string;
|
|
1355
|
+
class: string;
|
|
1356
|
+
textId: string;
|
|
1357
|
+
} | undefined;
|
|
1358
|
+
/**--------------------------------------------------------------------------
|
|
1359
|
+
* States
|
|
1360
|
+
--------------------------------------------------------------------------*/
|
|
1361
|
+
_menuOpened: boolean;
|
|
1362
|
+
/**--------------------------------------------------------------------------
|
|
1363
|
+
* properties
|
|
1364
|
+
--------------------------------------------------------------------------*/
|
|
1365
|
+
isTouch: boolean;
|
|
1366
|
+
/**--------------------------------------------------------------------------
|
|
1367
|
+
* properties
|
|
1368
|
+
--------------------------------------------------------------------------*/
|
|
1369
|
+
selectedMode: string;
|
|
1370
|
+
/**--------------------------------------------------------------------------
|
|
1371
|
+
* Zoom selected event
|
|
1372
|
+
--------------------------------------------------------------------------*/
|
|
1373
|
+
bimplusTouchModeSelected: EventEmitter<string>;
|
|
1374
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1375
|
+
/**--------------------------------------------------------------------------
|
|
1376
|
+
* Item clicked
|
|
1377
|
+
--------------------------------------------------------------------------*/
|
|
1378
|
+
_menuItemClicked(mode: string): void;
|
|
1379
|
+
/**--------------------------------------------------------------------------
|
|
1380
|
+
* toggle menu open
|
|
1381
|
+
--------------------------------------------------------------------------*/
|
|
1382
|
+
_toggleOpened(): void;
|
|
1383
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTouchMenuComponent, never>;
|
|
1384
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTouchMenuComponent, "lib-bimplus-touch-menu", never, { "isTouch": { "alias": "isTouch"; "required": false; }; "selectedMode": { "alias": "selectedMode"; "required": false; }; }, { "bimplusTouchModeSelected": "bimplusTouchModeSelected"; }, never, never, true, never>;
|
|
1385
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
interface BimplusProjectMenuComponentAttribute {
|
|
1389
|
+
[key: string]: unknown;
|
|
1390
|
+
}
|
|
1391
|
+
declare class BimplusProjectMenuComponent extends BimplusLocalizedWidgetComponent {
|
|
1392
|
+
constructor();
|
|
1393
|
+
projectName: string;
|
|
1394
|
+
projectImageUrl: string;
|
|
1395
|
+
projectExplorerUrl: string;
|
|
1396
|
+
projectActiveItem: string;
|
|
1397
|
+
projectmembersDisabled: boolean;
|
|
1398
|
+
modelsDisabled: boolean;
|
|
1399
|
+
documentsDisabled: boolean;
|
|
1400
|
+
projectsettingsDisabled: boolean;
|
|
1401
|
+
processesDisabled: boolean;
|
|
1402
|
+
projectmembersVisible: boolean;
|
|
1403
|
+
modelsVisible: boolean;
|
|
1404
|
+
documentsVisible: boolean;
|
|
1405
|
+
projectsettingsVisible: boolean;
|
|
1406
|
+
processesVisible: boolean;
|
|
1407
|
+
isCollapsed: boolean;
|
|
1408
|
+
isMiniMode: boolean;
|
|
1409
|
+
isTouch: boolean;
|
|
1410
|
+
hideMenuIcons: boolean;
|
|
1411
|
+
showHorizontalMenuIcons: boolean;
|
|
1412
|
+
menuItemsOrder: string[];
|
|
1413
|
+
get prjImgUrl(): string;
|
|
1414
|
+
get backgroundValue(): string;
|
|
1415
|
+
get prjImageOverlayStyle(): {
|
|
1416
|
+
background: string;
|
|
1417
|
+
};
|
|
1418
|
+
get prjImageStyle(): {
|
|
1419
|
+
background: string;
|
|
1420
|
+
};
|
|
1421
|
+
/**--------------------------------------------------------------------------
|
|
1422
|
+
* List of menu items
|
|
1423
|
+
* Note : action is used to identify action which should be executed
|
|
1424
|
+
* and also it serves as info topic id
|
|
1425
|
+
--------------------------------------------------------------------------*/
|
|
1426
|
+
_menuPrjList: MenuListType[];
|
|
1427
|
+
get menuItems(): MenuListType[];
|
|
1428
|
+
/**--------------------------------------------------------------------------
|
|
1429
|
+
* check if app is subscribed/visible
|
|
1430
|
+
--------------------------------------------------------------------------*/
|
|
1431
|
+
_isHidden(item: MenuListType): boolean;
|
|
1432
|
+
/**--------------------------------------------------------------------------
|
|
1433
|
+
* check if app is subscribed/visible
|
|
1434
|
+
--------------------------------------------------------------------------*/
|
|
1435
|
+
_isDisabled(item: MenuListType): boolean;
|
|
1436
|
+
_projectMenuItemClicked(action: string, param: string): void;
|
|
1437
|
+
/**--------------------------------------------------------------------------
|
|
1438
|
+
* item clicked
|
|
1439
|
+
--------------------------------------------------------------------------*/
|
|
1440
|
+
_menuItemClicked(item: MenuListType, type: string, event: Event): void;
|
|
1441
|
+
_menuItemIgnoreAction(event: Event): void;
|
|
1442
|
+
_getPrjItemClassAttributes(item: MenuListType, isTouch: boolean): string;
|
|
1443
|
+
_getPrjIconClassAttributes(item: MenuListType): string;
|
|
1444
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusProjectMenuComponent, never>;
|
|
1445
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusProjectMenuComponent, "lib-bimplus-project-menu", never, { "projectName": { "alias": "projectName"; "required": false; }; "projectImageUrl": { "alias": "projectImageUrl"; "required": false; }; "projectExplorerUrl": { "alias": "projectExplorerUrl"; "required": false; }; "projectActiveItem": { "alias": "projectActiveItem"; "required": false; }; "projectmembersDisabled": { "alias": "projectmembersDisabled"; "required": false; }; "modelsDisabled": { "alias": "modelsDisabled"; "required": false; }; "documentsDisabled": { "alias": "documentsDisabled"; "required": false; }; "projectsettingsDisabled": { "alias": "projectsettingsDisabled"; "required": false; }; "processesDisabled": { "alias": "processesDisabled"; "required": false; }; "projectmembersVisible": { "alias": "projectmembersVisible"; "required": false; }; "modelsVisible": { "alias": "modelsVisible"; "required": false; }; "documentsVisible": { "alias": "documentsVisible"; "required": false; }; "projectsettingsVisible": { "alias": "projectsettingsVisible"; "required": false; }; "processesVisible": { "alias": "processesVisible"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "isMiniMode": { "alias": "isMiniMode"; "required": false; }; "isTouch": { "alias": "isTouch"; "required": false; }; "hideMenuIcons": { "alias": "hideMenuIcons"; "required": false; }; "showHorizontalMenuIcons": { "alias": "showHorizontalMenuIcons"; "required": false; }; "menuItemsOrder": { "alias": "menuItemsOrder"; "required": false; }; }, {}, never, never, true, never>;
|
|
1446
|
+
static ngAcceptInputType_projectmembersDisabled: unknown;
|
|
1447
|
+
static ngAcceptInputType_modelsDisabled: unknown;
|
|
1448
|
+
static ngAcceptInputType_documentsDisabled: unknown;
|
|
1449
|
+
static ngAcceptInputType_projectsettingsDisabled: unknown;
|
|
1450
|
+
static ngAcceptInputType_processesDisabled: unknown;
|
|
1451
|
+
static ngAcceptInputType_projectmembersVisible: unknown;
|
|
1452
|
+
static ngAcceptInputType_modelsVisible: unknown;
|
|
1453
|
+
static ngAcceptInputType_documentsVisible: unknown;
|
|
1454
|
+
static ngAcceptInputType_projectsettingsVisible: unknown;
|
|
1455
|
+
static ngAcceptInputType_processesVisible: unknown;
|
|
1456
|
+
static ngAcceptInputType_isCollapsed: unknown;
|
|
1457
|
+
static ngAcceptInputType_isMiniMode: unknown;
|
|
1458
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
1459
|
+
static ngAcceptInputType_hideMenuIcons: unknown;
|
|
1460
|
+
static ngAcceptInputType_showHorizontalMenuIcons: unknown;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
declare class LanguageStringsService {
|
|
1464
|
+
set languageFilesUri(uri: string);
|
|
1465
|
+
private readonly defaultLang;
|
|
1466
|
+
currentLanguage$: BehaviorSubject$1<string>;
|
|
1467
|
+
currentLanguageStrings$: BehaviorSubject$1<LocalizedStrings>;
|
|
1468
|
+
get currentLanguage(): string;
|
|
1469
|
+
set currentLanguageStrings(langStrings: LocalizedStrings);
|
|
1470
|
+
get currentLanguageStrings(): LocalizedStrings;
|
|
1471
|
+
setCurrentLanguage(lang: string): Promise<void>;
|
|
1472
|
+
extractLocalizedStrings(stringIds: Array<string>): LocalizedStrings;
|
|
1473
|
+
fetchLanguageStrings(lang: string): Promise<void>;
|
|
1474
|
+
private _languageFilesUri;
|
|
1475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageStringsService, never>;
|
|
1476
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageStringsService>;
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
declare class ResizeObserverService {
|
|
1480
|
+
private rectSize$;
|
|
1481
|
+
private internalRectSize;
|
|
1482
|
+
parentAppRect$: Observable<DOMRect | undefined>;
|
|
1483
|
+
constructor();
|
|
1484
|
+
setSize(newValue: DOMRect): void;
|
|
1485
|
+
getParentAppRect(): DOMRect;
|
|
1486
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverService, never>;
|
|
1487
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResizeObserverService>;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
declare enum CursorType {
|
|
1491
|
+
Pick = "cursor-pick",
|
|
1492
|
+
Hide = "cursor-hide"
|
|
1493
|
+
}
|
|
1494
|
+
declare class CursorsService {
|
|
1495
|
+
private _cursorElement;
|
|
1496
|
+
private getCursorElement;
|
|
1497
|
+
private getMainViewportContainer;
|
|
1498
|
+
private addCursor;
|
|
1499
|
+
private removeCursor;
|
|
1500
|
+
setCursorElement(cursorElement: HTMLElement | null): void;
|
|
1501
|
+
showPickCursor(show: boolean): void;
|
|
1502
|
+
showHideCursor(show: boolean): void;
|
|
1503
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CursorsService, never>;
|
|
1504
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CursorsService>;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
interface WarningDialogInputData {
|
|
1508
|
+
title: string;
|
|
1509
|
+
message: string;
|
|
1510
|
+
buttonsRef?: TemplateRef<unknown>;
|
|
1511
|
+
}
|
|
1512
|
+
declare class BimplusOverlayDialogWarningComponent {
|
|
1513
|
+
private readonly dialogService;
|
|
1514
|
+
private readonly translateService;
|
|
1515
|
+
private _title;
|
|
1516
|
+
private _message;
|
|
1517
|
+
private readonly _data;
|
|
1518
|
+
protected readonly buttonsRef: TemplateRef<unknown> | null;
|
|
1519
|
+
acceptCallback: (() => void) | undefined;
|
|
1520
|
+
protected readonly buttons: BimplusButtonRowItem[];
|
|
1521
|
+
get title(): string;
|
|
1522
|
+
set title(value: string);
|
|
1523
|
+
get message(): string;
|
|
1524
|
+
set message(value: string);
|
|
1525
|
+
constructor();
|
|
1526
|
+
close(): void;
|
|
1527
|
+
keypressClose(event: KeyboardEvent): void;
|
|
1528
|
+
buttonRowButtonClicked(): void;
|
|
1529
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
1530
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayDialogWarningComponent, never>;
|
|
1531
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusOverlayDialogWarningComponent, "lib-bimplus-overlay-dialog-warning", never, { "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
declare class ResizablePanelComponent implements OnInit, OnDestroy {
|
|
1535
|
+
position: 'left' | 'right';
|
|
1536
|
+
hasDraggableHandle: boolean;
|
|
1537
|
+
hasDraggableBorder: boolean;
|
|
1538
|
+
minWidth: number | (() => number) | undefined;
|
|
1539
|
+
maxWidth: number | (() => number) | undefined;
|
|
1540
|
+
defaultWidth: number;
|
|
1541
|
+
canResize: (currentWidth: number, deltaX: number) => boolean;
|
|
1542
|
+
drawerWidth: number;
|
|
1543
|
+
drawerExpanded: boolean;
|
|
1544
|
+
ngOnInit(): void;
|
|
1545
|
+
ngOnDestroy(): void;
|
|
1546
|
+
applyWidthConstraints(): void;
|
|
1547
|
+
handleWindowResize: () => void;
|
|
1548
|
+
_toggleDrawer(): void;
|
|
1549
|
+
_onResizeWidth(event: number): void;
|
|
1550
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizablePanelComponent, never>;
|
|
1551
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResizablePanelComponent, "lib-resizable-panel", never, { "position": { "alias": "position"; "required": false; }; "hasDraggableHandle": { "alias": "hasDraggableHandle"; "required": false; }; "hasDraggableBorder": { "alias": "hasDraggableBorder"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "defaultWidth": { "alias": "defaultWidth"; "required": false; }; "canResize": { "alias": "canResize"; "required": false; }; }, {}, never, never, true, never>;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
interface SelectedObject {
|
|
1555
|
+
id: string;
|
|
1556
|
+
name?: string;
|
|
1557
|
+
revision?: number;
|
|
1558
|
+
type?: string;
|
|
1559
|
+
}
|
|
1560
|
+
interface CreateLinkData {
|
|
1561
|
+
link: string;
|
|
1562
|
+
titleHeader: string;
|
|
1563
|
+
linkMessageVisible: boolean;
|
|
1564
|
+
enableCopyPressKeys: boolean;
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
declare class ObjectPropertiesHeaderComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
|
|
1568
|
+
constructor();
|
|
1569
|
+
selectedObject: EventEmitter<SelectedObject>;
|
|
1570
|
+
closePropertiesPanel: EventEmitter<any>;
|
|
1571
|
+
selectedObjects: Array<SelectedObject>;
|
|
1572
|
+
_activeObject: SelectedObject | null;
|
|
1573
|
+
openLinkMessage: boolean;
|
|
1574
|
+
onOpenLink?: () => void;
|
|
1575
|
+
set activeObject(value: SelectedObject | null);
|
|
1576
|
+
get activeObject(): SelectedObject | null;
|
|
1577
|
+
private _linkData;
|
|
1578
|
+
get linkData(): CreateLinkData;
|
|
1579
|
+
set linkData(value: CreateLinkData);
|
|
1580
|
+
_closePropertiesPanel(event: Event): void;
|
|
1581
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1582
|
+
openLink(): void;
|
|
1583
|
+
closeLink: () => void;
|
|
1584
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesHeaderComponent, never>;
|
|
1585
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesHeaderComponent, "lib-object-properties-header", never, { "selectedObjects": { "alias": "selectedObjects"; "required": false; }; "onOpenLink": { "alias": "onOpenLink"; "required": false; }; "linkData": { "alias": "linkData"; "required": false; }; }, { "selectedObject": "selectedObject"; "closePropertiesPanel": "closePropertiesPanel"; }, never, never, true, never>;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
interface ObjectStructureNode {
|
|
1589
|
+
id: string;
|
|
1590
|
+
children?: ObjectStructureNode[];
|
|
1591
|
+
name: string;
|
|
1592
|
+
parent: string;
|
|
1593
|
+
visible: boolean;
|
|
1594
|
+
opaque: boolean;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
interface PreviewObject {
|
|
1598
|
+
id: string;
|
|
1599
|
+
visible: boolean;
|
|
1600
|
+
opaque: boolean;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
interface ComplexPropertiesNode {
|
|
1604
|
+
id: string;
|
|
1605
|
+
children?: ComplexPropertiesNode[];
|
|
1606
|
+
name: string;
|
|
1607
|
+
parent: string;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
interface ObjectAttribute {
|
|
1611
|
+
id: string;
|
|
1612
|
+
name: string;
|
|
1613
|
+
description: string;
|
|
1614
|
+
group: string;
|
|
1615
|
+
type: string;
|
|
1616
|
+
value: string;
|
|
1617
|
+
isChangeable: boolean;
|
|
1618
|
+
tooltip: string;
|
|
1619
|
+
minValue: string;
|
|
1620
|
+
maxValue: string;
|
|
1621
|
+
defaultValue?: string;
|
|
1622
|
+
unit?: string;
|
|
1623
|
+
decimal?: number;
|
|
1624
|
+
control?: string;
|
|
1625
|
+
enumdefinition?: Record<number | string, string> | Array<string>;
|
|
1626
|
+
}
|
|
1627
|
+
interface ObjectAttributeGroup {
|
|
1628
|
+
name: string;
|
|
1629
|
+
attributes: ObjectAttribute[];
|
|
1630
|
+
expanded: boolean;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
declare class ObjectPropertiesComponent extends BimplusLocalizedWidgetComponent implements OnInit {
|
|
1634
|
+
private readonly formBuilder;
|
|
1635
|
+
private readonly cdr;
|
|
1636
|
+
private readonly objectPropertiesService;
|
|
1637
|
+
protected _objectPropertiesForm: FormGroup<{}>;
|
|
1638
|
+
protected _objectPropertiesGroupForm(group_name: string): FormGroup;
|
|
1639
|
+
constructor();
|
|
1640
|
+
protected _editMode: WritableSignal<boolean>;
|
|
1641
|
+
private _objectStructure;
|
|
1642
|
+
get objectStructure(): ObjectStructureNode | null;
|
|
1643
|
+
private _complexProperties;
|
|
1644
|
+
get complexProperties(): ComplexPropertiesNode | null;
|
|
1645
|
+
api: WebSdk.Api | null;
|
|
1646
|
+
revision: number | undefined;
|
|
1647
|
+
protected _canUpdateObject: WritableSignal<boolean>;
|
|
1648
|
+
set canUpdateObject(canUpdateObject: boolean);
|
|
1649
|
+
private _rootObjectId;
|
|
1650
|
+
set rootObjectId(id: string);
|
|
1651
|
+
get rootObjectId(): string;
|
|
1652
|
+
private readonly isSaveButtonDisabled$;
|
|
1653
|
+
protected readonly visibleNodeSignal: WritableSignal<PreviewObject>;
|
|
1654
|
+
protected readonly opaqueNodeSignal: WritableSignal<PreviewObject>;
|
|
1655
|
+
private readonly _currentObjectId$;
|
|
1656
|
+
private readonly _currentPropertiesObjectId$;
|
|
1657
|
+
buttonRowItems: Array<BimplusButtonRowItem>;
|
|
1658
|
+
configEditProperties: Array<BimplusButtonRowItem>;
|
|
1659
|
+
configEditedProperties: Array<BimplusButtonRowItem>;
|
|
1660
|
+
updatedObjectProperties: EventEmitter<{
|
|
1661
|
+
[key: string]: unknown;
|
|
1662
|
+
}>;
|
|
1663
|
+
_editPropertiesButtonsConfiguration(): void;
|
|
1664
|
+
_editedPropertiesButtonsConfiguration(): void;
|
|
1665
|
+
ngOnInit(): void;
|
|
1666
|
+
subscribeProperties(): void;
|
|
1667
|
+
handleObjectStructureNodeSelected(node: ObjectStructureNode): void;
|
|
1668
|
+
handleObjectStructureNodeVisible(node: ObjectStructureNode): void;
|
|
1669
|
+
handleObjectStructureNodeOpaque(node: ObjectStructureNode): void;
|
|
1670
|
+
handleComplexPropertyNodeSelected(node: ComplexPropertiesNode): void;
|
|
1671
|
+
private _loadObjectStructure;
|
|
1672
|
+
private _createObjectStructure;
|
|
1673
|
+
private _loadObjectComplexPropertiesStructure;
|
|
1674
|
+
private _createComplexPropertiestructure;
|
|
1675
|
+
protected objectAttributeGroups: WritableSignal<ObjectAttributeGroup[]>;
|
|
1676
|
+
private _loadObjectProperties;
|
|
1677
|
+
private _createObjectProperties;
|
|
1678
|
+
private _tooltip;
|
|
1679
|
+
private _createAttributeGroupsFromResponse;
|
|
1680
|
+
_deleteForm(): void;
|
|
1681
|
+
private initialFormValues;
|
|
1682
|
+
_createForm(): void;
|
|
1683
|
+
private _getPropertyName;
|
|
1684
|
+
private _getPropertyType;
|
|
1685
|
+
private _getPropertyControl;
|
|
1686
|
+
private _convertValueToBoolean;
|
|
1687
|
+
private _convertValueToDouble;
|
|
1688
|
+
private _hasBeenValueChanged;
|
|
1689
|
+
private _getChangedData;
|
|
1690
|
+
private _saveObjectProperties;
|
|
1691
|
+
private _cancelEditingProperties;
|
|
1692
|
+
protected buttonClicked($event: BimplusButtonClickEvent): void;
|
|
1693
|
+
hasSetAnyAttribute(objectAttributeGroup: ObjectAttributeGroup): boolean;
|
|
1694
|
+
protected saveObjectProperties(data: {
|
|
1695
|
+
[key: string]: unknown;
|
|
1696
|
+
}): void;
|
|
1697
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesComponent, never>;
|
|
1698
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesComponent, "lib-object-properties", never, { "api": { "alias": "api"; "required": false; }; "revision": { "alias": "revision"; "required": false; }; "canUpdateObject": { "alias": "canUpdateObject"; "required": false; }; "rootObjectId": { "alias": "rootObjectId"; "required": false; }; }, { "updatedObjectProperties": "updatedObjectProperties"; }, never, never, true, never>;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
interface NewAttachInfo {
|
|
1702
|
+
id: string;
|
|
1703
|
+
type: string;
|
|
1704
|
+
nameShort: string;
|
|
1705
|
+
name: string;
|
|
1706
|
+
url: string;
|
|
1707
|
+
iconClass: string;
|
|
1708
|
+
iconTitle: string;
|
|
1709
|
+
deleteButtonTitle: string;
|
|
1710
|
+
}
|
|
1711
|
+
interface IDialogConfirmClose {
|
|
1712
|
+
componentDialogName: string;
|
|
1713
|
+
actionButton: string;
|
|
1714
|
+
}
|
|
1715
|
+
interface CommentOutputData {
|
|
1716
|
+
action: string;
|
|
1717
|
+
data: unknown;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
declare const EMBEDDED_MODAL_DIALOGE_TYPE_FILE = "file";
|
|
1721
|
+
declare const postAttachmentLinks: (newAttachmentIDs: string[], objectId: string, api: WebSdk.Api) => rxjs.Observable<WebSdk.AttachmentLinksResponse>;
|
|
1722
|
+
declare class LinksToDocumentsComponent extends BimplusLocalizedWidgetComponent implements OnInit, OnDestroy {
|
|
1723
|
+
private readonly dialogService;
|
|
1724
|
+
private readonly renderer;
|
|
1725
|
+
private readonly el;
|
|
1726
|
+
private readonly decorators;
|
|
1727
|
+
constructor();
|
|
1728
|
+
private readonly shadowRootElement;
|
|
1729
|
+
private _rootObjectId;
|
|
1730
|
+
isDestroyed: boolean;
|
|
1731
|
+
localWormHole: boolean;
|
|
1732
|
+
inProgress: boolean;
|
|
1733
|
+
api: WebSdk.Api | null;
|
|
1734
|
+
canCreateAttachmentLink: boolean;
|
|
1735
|
+
/** Input Attribute to specify if should show only list of attachments. */
|
|
1736
|
+
listOnly: boolean;
|
|
1737
|
+
/** Input Attribute to specify if should show message when no attachments found. */
|
|
1738
|
+
showEmptyMessage: boolean;
|
|
1739
|
+
/** Input Attribute to tell if show/hide attachemt size information. */
|
|
1740
|
+
hideAttachmentSize: boolean;
|
|
1741
|
+
inputBaseUrl: string;
|
|
1742
|
+
_attachments: WebSdk.AttachmentLink[];
|
|
1743
|
+
set attachments(value: WebSdk.AttachmentLink[]);
|
|
1744
|
+
get attachments(): WebSdk.AttachmentLink[];
|
|
1745
|
+
onAttachmentsChange(): void;
|
|
1746
|
+
attachmentsChange: EventEmitter<string[]>;
|
|
1747
|
+
attachmentsLinkChange: EventEmitter<NewAttachInfo[]>;
|
|
1748
|
+
canDeleteAttachmentLink: boolean;
|
|
1749
|
+
project: ProjectNavigatorProject | null;
|
|
1750
|
+
wormholeSelector: string | undefined;
|
|
1751
|
+
env: string;
|
|
1752
|
+
set rootObjectId(id: string | undefined);
|
|
1753
|
+
get rootObjectId(): string;
|
|
1754
|
+
private readonly _currentObjectId$;
|
|
1755
|
+
_attachmentCount: number;
|
|
1756
|
+
buttonRowItems: Array<BimplusButtonRowItem>;
|
|
1757
|
+
ngOnInit(): void;
|
|
1758
|
+
ngOnDestroy(): void;
|
|
1759
|
+
private decorateAttachmentId;
|
|
1760
|
+
private decorateAttachmentLinks;
|
|
1761
|
+
private _createAttachmentLinkStructure;
|
|
1762
|
+
private _loadAttachmentLinkStructure;
|
|
1763
|
+
documentSelection: string[] | null;
|
|
1764
|
+
isOpened: boolean;
|
|
1765
|
+
embeddedModalContainer: string;
|
|
1766
|
+
setModalVisibility(opened?: boolean): void;
|
|
1767
|
+
closeEmbeddedModalFileSelection(): void;
|
|
1768
|
+
_addLink(api: WebSdk.Api, ids: string[]): void;
|
|
1769
|
+
createAttachmentLink(api: WebSdk.Api): void;
|
|
1770
|
+
_deleteAttachmentLink(api: WebSdk.Api, id: string, $event: Event): void;
|
|
1771
|
+
deleteAttachmentLink(attachment: WebSdk.AttachmentLink, $event: Event): void;
|
|
1772
|
+
buttonClicked($event: BimplusButtonClickEvent): void;
|
|
1773
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinksToDocumentsComponent, never>;
|
|
1774
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinksToDocumentsComponent, "lib-links-to-documents", never, { "api": { "alias": "api"; "required": true; }; "canCreateAttachmentLink": { "alias": "canCreateAttachmentLink"; "required": false; }; "listOnly": { "alias": "listOnly"; "required": false; }; "showEmptyMessage": { "alias": "showEmptyMessage"; "required": false; }; "hideAttachmentSize": { "alias": "hideAttachmentSize"; "required": false; }; "inputBaseUrl": { "alias": "inputBaseUrl"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "canDeleteAttachmentLink": { "alias": "canDeleteAttachmentLink"; "required": false; }; "project": { "alias": "project"; "required": false; }; "wormholeSelector": { "alias": "wormholeSelector"; "required": false; }; "env": { "alias": "env"; "required": false; }; "rootObjectId": { "alias": "rootObjectId"; "required": false; }; }, { "attachmentsChange": "attachmentsChange"; "attachmentsLinkChange": "attachmentsLinkChange"; }, never, never, true, never>;
|
|
1775
|
+
static ngAcceptInputType_listOnly: unknown;
|
|
1776
|
+
static ngAcceptInputType_showEmptyMessage: unknown;
|
|
1777
|
+
static ngAcceptInputType_hideAttachmentSize: unknown;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
declare class ObjectHyperlinksComponent extends BimplusLocalizedWidgetComponent implements OnInit {
|
|
1781
|
+
private readonly dialogService;
|
|
1782
|
+
private readonly formBuilder;
|
|
1783
|
+
hyperlinkForm: FormGroup;
|
|
1784
|
+
constructor();
|
|
1785
|
+
api: WebSdk.Api | null;
|
|
1786
|
+
set rootObjectId(id: string);
|
|
1787
|
+
get rootObjectId(): string;
|
|
1788
|
+
private readonly _currentObjectId$;
|
|
1789
|
+
private readonly _currentPropertiesObjectId$;
|
|
1790
|
+
private _rootObjectId;
|
|
1791
|
+
buttonRowItems: Array<BimplusButtonRowItem>;
|
|
1792
|
+
canCreateHyperlinks: boolean;
|
|
1793
|
+
canDeleteHyperlinks: boolean;
|
|
1794
|
+
hyperlinks: Array<WebSdk.Hyperlink>;
|
|
1795
|
+
ngOnInit(): void;
|
|
1796
|
+
buttonRowButtonClicked($event: BimplusButtonClickEvent): void;
|
|
1797
|
+
private loadHyperlinks;
|
|
1798
|
+
private addHyperlink;
|
|
1799
|
+
onHyperlinkItemDeleteButtonClicked(hyperlink: WebSdk.Hyperlink): void;
|
|
1800
|
+
private deleteHyperlink;
|
|
1801
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectHyperlinksComponent, never>;
|
|
1802
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectHyperlinksComponent, "lib-object-hyperlinks", never, { "api": { "alias": "api"; "required": false; }; "rootObjectId": { "alias": "rootObjectId"; "required": false; }; "canCreateHyperlinks": { "alias": "canCreateHyperlinks"; "required": false; }; "canDeleteHyperlinks": { "alias": "canDeleteHyperlinks"; "required": false; }; }, {}, never, never, true, never>;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
type DialogPosition = 'middle' | 'unset';
|
|
1806
|
+
interface IDialogOptions {
|
|
1807
|
+
width?: string;
|
|
1808
|
+
height?: string;
|
|
1809
|
+
position?: DialogPosition;
|
|
1810
|
+
positionOptions?: DialogPositionOptions;
|
|
1811
|
+
overlayClickEnabled?: boolean;
|
|
1812
|
+
overlayVisibilityEnabled?: boolean;
|
|
1813
|
+
draggable?: boolean;
|
|
1814
|
+
}
|
|
1815
|
+
interface DialogPositionOptions {
|
|
1816
|
+
top?: string;
|
|
1817
|
+
bottom?: string;
|
|
1818
|
+
left?: string;
|
|
1819
|
+
right?: string;
|
|
1820
|
+
}
|
|
1821
|
+
interface IDialogInputData {
|
|
1822
|
+
options: IDialogOptions;
|
|
1823
|
+
data?: unknown;
|
|
1824
|
+
}
|
|
1825
|
+
interface IDialogOutputData {
|
|
1826
|
+
data: unknown;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
declare class BimportalGeneralOverlayDialogComponent implements OnInit, AfterContentInit {
|
|
1830
|
+
private readonly dialogService;
|
|
1831
|
+
private readonly cdref;
|
|
1832
|
+
genDialogRefContainer: ElementRef<HTMLDivElement>;
|
|
1833
|
+
dialogOverlay: ElementRef<HTMLDivElement>;
|
|
1834
|
+
options: IDialogOptions | undefined;
|
|
1835
|
+
units: string;
|
|
1836
|
+
ngOnInit(): void;
|
|
1837
|
+
onClose(): void;
|
|
1838
|
+
ngAfterContentInit(): void;
|
|
1839
|
+
setOptions(): void;
|
|
1840
|
+
private setDimensions;
|
|
1841
|
+
private setPosition;
|
|
1842
|
+
setPositionsUnset(): void;
|
|
1843
|
+
setPositionsMiddle(): void;
|
|
1844
|
+
private setOverlay;
|
|
1845
|
+
onKeyPress(event: KeyboardEvent): void;
|
|
1846
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimportalGeneralOverlayDialogComponent, never>;
|
|
1847
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimportalGeneralOverlayDialogComponent, "app-general-overlay-dialog", never, {}, {}, never, ["*"], true, never>;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
interface ErrorDialogInputData {
|
|
1851
|
+
title: string;
|
|
1852
|
+
message: string;
|
|
1853
|
+
}
|
|
1854
|
+
declare class BimplusOverlayDialogErrorComponent {
|
|
1855
|
+
private readonly dialogService;
|
|
1856
|
+
private readonly translateService;
|
|
1857
|
+
private _title;
|
|
1858
|
+
private _message;
|
|
1859
|
+
private readonly _data;
|
|
1860
|
+
acceptCallback: (() => void) | undefined;
|
|
1861
|
+
protected readonly buttons: BimplusButtonRowItem[];
|
|
1862
|
+
get title(): string;
|
|
1863
|
+
set title(value: string);
|
|
1864
|
+
get message(): string;
|
|
1865
|
+
set message(value: string);
|
|
1866
|
+
constructor();
|
|
1867
|
+
close(): void;
|
|
1868
|
+
keypressClose(event: KeyboardEvent): void;
|
|
1869
|
+
buttonRowButtonClicked(): void;
|
|
1870
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
1871
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayDialogErrorComponent, never>;
|
|
1872
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusOverlayDialogErrorComponent, "lib-bimplus-overlay-dialog-error", never, { "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
interface ConfirmDialogInputData {
|
|
1876
|
+
title: string;
|
|
1877
|
+
message: string;
|
|
1878
|
+
acceptButtonLocalizedString: string;
|
|
1879
|
+
cancelButtonLocalizedString: string;
|
|
1880
|
+
acceptCallback: () => void;
|
|
1881
|
+
}
|
|
1882
|
+
declare class BimplusOverlayDialogConfirmComponent {
|
|
1883
|
+
private readonly dialogService;
|
|
1884
|
+
private readonly translateService;
|
|
1885
|
+
private _title;
|
|
1886
|
+
private _message;
|
|
1887
|
+
acceptButtonLocalizedString: string;
|
|
1888
|
+
cancelButtonLocalizedString: string;
|
|
1889
|
+
acceptCallback: (() => void) | undefined;
|
|
1890
|
+
protected buttons: BimplusButtonRowItem[];
|
|
1891
|
+
get title(): string;
|
|
1892
|
+
set title(value: string);
|
|
1893
|
+
get message(): string;
|
|
1894
|
+
set message(value: string);
|
|
1895
|
+
constructor();
|
|
1896
|
+
initializeButtons(): void;
|
|
1897
|
+
close(): void;
|
|
1898
|
+
keypressClose(event: KeyboardEvent): void;
|
|
1899
|
+
buttonRowButtonClicked($event: BimplusButtonClickEvent): void;
|
|
1900
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
1901
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayDialogConfirmComponent, never>;
|
|
1902
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusOverlayDialogConfirmComponent, "lib-bimplus-overlay-dialog-confirm", never, { "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
declare class BimplusInputTextFieldComponent implements ControlValueAccessor {
|
|
1906
|
+
inputElement: ElementRef;
|
|
1907
|
+
placeholder: string;
|
|
1908
|
+
enterKeyPressed: EventEmitter<void>;
|
|
1909
|
+
protected _showClearButton: i0.WritableSignal<boolean>;
|
|
1910
|
+
set showClearButton(show_clear_button: boolean);
|
|
1911
|
+
protected _validValue: i0.WritableSignal<boolean>;
|
|
1912
|
+
set validValue(valid_value: boolean);
|
|
1913
|
+
value: string;
|
|
1914
|
+
isDisabled: boolean;
|
|
1915
|
+
onChange: (value: string) => void;
|
|
1916
|
+
onTouched: () => void;
|
|
1917
|
+
writeValue(value: string): void;
|
|
1918
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
1919
|
+
registerOnTouched(fn: () => void): void;
|
|
1920
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1921
|
+
handleInput(event: Event): void;
|
|
1922
|
+
handleBlur(): void;
|
|
1923
|
+
protected _clearValue(event: Event): void;
|
|
1924
|
+
protected handleKeyDown(event: KeyboardEvent): void;
|
|
1925
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusInputTextFieldComponent, never>;
|
|
1926
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusInputTextFieldComponent, "lib-bimplus-input-text-field", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "validValue": { "alias": "validValue"; "required": false; }; }, { "enterKeyPressed": "enterKeyPressed"; }, never, never, true, never>;
|
|
1927
|
+
static ngAcceptInputType_showClearButton: unknown;
|
|
1928
|
+
static ngAcceptInputType_validValue: unknown;
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
declare class DialogService {
|
|
1932
|
+
private readonly appRef;
|
|
1933
|
+
private readonly injector;
|
|
1934
|
+
generalDialogComponentBody: ComponentRef<unknown>;
|
|
1935
|
+
generalDialog: ComponentRef<BimportalGeneralOverlayDialogComponent>;
|
|
1936
|
+
private _isDialogOpen;
|
|
1937
|
+
inputData: unknown;
|
|
1938
|
+
private readonly outputData;
|
|
1939
|
+
options: IDialogOptions | undefined;
|
|
1940
|
+
open(componentBody: Type<unknown>, data: IDialogInputData): void;
|
|
1941
|
+
initializeSettings(data: IDialogInputData): void;
|
|
1942
|
+
createComponentsRef(componentBody: Type<unknown>): void;
|
|
1943
|
+
close(outputData?: unknown): void;
|
|
1944
|
+
resetSettings(): void;
|
|
1945
|
+
isDialogOpened(): boolean;
|
|
1946
|
+
setOutputData(data: unknown): void;
|
|
1947
|
+
getOutputData(): Subject<unknown>;
|
|
1948
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
1949
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
type BimplusTabComponentModel = {
|
|
1953
|
+
id: string;
|
|
1954
|
+
title: string;
|
|
1955
|
+
img: {
|
|
1956
|
+
default: string;
|
|
1957
|
+
active: string;
|
|
1958
|
+
};
|
|
1959
|
+
};
|
|
1960
|
+
declare const DEFAULT_TAB_SWITCHER_ELEMENTS: BimplusTabComponentModel[];
|
|
1961
|
+
type BimplusTabsSwitcherConfig = {
|
|
1962
|
+
defaultTabsSwitcherElements?: BimplusTabComponentModel[];
|
|
1963
|
+
disabled: Partial<{
|
|
1964
|
+
all: boolean;
|
|
1965
|
+
id: string;
|
|
1966
|
+
}>;
|
|
1967
|
+
};
|
|
1968
|
+
declare const BIMPLUS_TABS_SWITCHER_CONFIG: InjectionToken<BimplusTabsSwitcherConfig>;
|
|
1969
|
+
|
|
1970
|
+
declare class BimplusTabsSwitcherService {
|
|
1971
|
+
private readonly bimplusTabsSwitcherConfig;
|
|
1972
|
+
/** Default tab switcher elements. */
|
|
1973
|
+
private readonly tabSwitcherElements;
|
|
1974
|
+
readonly tabSwitcherElements$: rxjs.Observable<BimplusTabComponentModel[]>;
|
|
1975
|
+
/** Attribute to indicate active tab. (only for BimplusTabComponent) */
|
|
1976
|
+
private readonly activeTab;
|
|
1977
|
+
readonly activeTab$: rxjs.Observable<string>;
|
|
1978
|
+
setActiveTab(key: string): void;
|
|
1979
|
+
constructor();
|
|
1980
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherService, never>;
|
|
1981
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BimplusTabsSwitcherService>;
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
declare class BimplusTabComponent implements OnInit {
|
|
1985
|
+
private readonly bimplusTabsSwitcherConfig;
|
|
1986
|
+
protected readonly bimplusTabsSwitcherService: BimplusTabsSwitcherService;
|
|
1987
|
+
bimplusTabComponentModel: BimplusTabComponentModel;
|
|
1988
|
+
imageBaseSrc?: string | null;
|
|
1989
|
+
/** Currently active tab. */
|
|
1990
|
+
set activeTab(value: string | undefined);
|
|
1991
|
+
activeTabChange: EventEmitter<string>;
|
|
1992
|
+
/** Attribute indicating active tab. */
|
|
1993
|
+
protected readonly activeTabSignal: i0.Signal<string | undefined>;
|
|
1994
|
+
/** Indicate that tab is active or not. */
|
|
1995
|
+
protected readonly isActive: i0.Signal<boolean>;
|
|
1996
|
+
/** Indicate that tab is disabled or not. */
|
|
1997
|
+
protected readonly isDisabled: i0.WritableSignal<boolean>;
|
|
1998
|
+
/** Computed property for image file name based on active/default state. */
|
|
1999
|
+
protected readonly imgName: i0.Signal<string>;
|
|
2000
|
+
protected readonly onHoverOver: i0.WritableSignal<boolean>;
|
|
2001
|
+
/** Whether all tabs is disabled based on configuration token. */
|
|
2002
|
+
private readonly isAllDisabled;
|
|
2003
|
+
constructor();
|
|
2004
|
+
protected onMouseEnter(): void;
|
|
2005
|
+
protected onMouseLeave(): void;
|
|
2006
|
+
ngOnInit(): void;
|
|
2007
|
+
/**
|
|
2008
|
+
* Will update active tab to service state.
|
|
2009
|
+
* @protected
|
|
2010
|
+
* @returns void
|
|
2011
|
+
*/
|
|
2012
|
+
protected activate(): void;
|
|
2013
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabComponent, never>;
|
|
2014
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTabComponent, "lib-bimplus-tab", never, { "bimplusTabComponentModel": { "alias": "bimplusTabComponentModel"; "required": true; }; "imageBaseSrc": { "alias": "imageBaseSrc"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; }, { "activeTabChange": "activeTabChange"; }, never, never, true, never>;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
declare class BimplusTabsSwitcherComponent {
|
|
2018
|
+
private readonly bimplusTabsSwitcherService;
|
|
2019
|
+
activeTab?: string;
|
|
2020
|
+
activeTabChange: EventEmitter<string>;
|
|
2021
|
+
/** default tab elements, can be chanaged from outside by BimplusTabsSwitcherService */
|
|
2022
|
+
protected readonly tabSwitcherElements: Signal<BimplusTabComponentModel[]>;
|
|
2023
|
+
/** app base href */
|
|
2024
|
+
protected readonly baseHref: string | null;
|
|
2025
|
+
constructor();
|
|
2026
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherComponent, never>;
|
|
2027
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTabsSwitcherComponent, "lib-bimplus-tabs-switcher", never, { "activeTab": { "alias": "activeTab"; "required": false; }; }, { "activeTabChange": "activeTabChange"; }, never, ["*"], true, never>;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
type BimplusAttachmentsConfig = {
|
|
2031
|
+
buttons?: BimplusButtonRowItem[];
|
|
2032
|
+
hideDeleteAttachmentButton?: boolean;
|
|
2033
|
+
showNoAttachmentsFound?: boolean;
|
|
2034
|
+
hideAttachmentSize?: boolean;
|
|
2035
|
+
};
|
|
2036
|
+
declare const BIMPLUS_ATTACHMENTS_CONFIG: InjectionToken<BimplusAttachmentsConfig>;
|
|
2037
|
+
interface IAttachment {
|
|
2038
|
+
id: string;
|
|
2039
|
+
fileName: string;
|
|
2040
|
+
size: number | undefined;
|
|
2041
|
+
file?: File;
|
|
2042
|
+
}
|
|
2043
|
+
declare class Attachment implements Partial<IAttachment> {
|
|
2044
|
+
id: string;
|
|
2045
|
+
fileName: string;
|
|
2046
|
+
size: number | undefined;
|
|
2047
|
+
file?: File;
|
|
2048
|
+
constructor(data: Partial<IAttachment>);
|
|
2049
|
+
}
|
|
2050
|
+
type Builder = typeof AttachmentBuilder;
|
|
2051
|
+
declare abstract class AttachmentBuilder {
|
|
2052
|
+
private static attachment;
|
|
2053
|
+
static create(value: Attachment): Builder;
|
|
2054
|
+
static setId(id: string): Builder;
|
|
2055
|
+
static setFileName(name: string): Builder;
|
|
2056
|
+
static setSize(size: number): Builder;
|
|
2057
|
+
static setFile(file: File): Builder;
|
|
2058
|
+
static build(): Attachment;
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
declare class BimplusAttachmentsComponent extends BimplusLocalizedWidgetComponent implements AfterViewInit, OnDestroy {
|
|
2062
|
+
api: WebSdk.Api | null;
|
|
2063
|
+
/** Attribute for attachments which were saved to server. */
|
|
2064
|
+
attachments: Attachment[];
|
|
2065
|
+
closeIconTemplate?: TemplateRef<unknown>;
|
|
2066
|
+
/** Attribute to set if should button display or no. */
|
|
2067
|
+
listOnly: boolean;
|
|
2068
|
+
attachmentListRef: ElementRef<HTMLElement>;
|
|
2069
|
+
fileInput: ElementRef<HTMLInputElement>;
|
|
2070
|
+
deleteAttachment: EventEmitter<Attachment>;
|
|
2071
|
+
addAttachment: EventEmitter<File>;
|
|
2072
|
+
getAttachment: EventEmitter<Attachment>;
|
|
2073
|
+
private resizeObserver;
|
|
2074
|
+
/** Configuration token. */
|
|
2075
|
+
protected readonly config: ngx_bimplus_components.BimplusAttachmentsConfig | null;
|
|
2076
|
+
/** Attachments buttons. */
|
|
2077
|
+
protected readonly buttons: BimplusButtonRowItem[];
|
|
2078
|
+
/** Width size of file name line. */
|
|
2079
|
+
protected readonly attachmentListWidth: i0.WritableSignal<number | undefined>;
|
|
2080
|
+
/**
|
|
2081
|
+
* Will open window to select File.
|
|
2082
|
+
* @return void
|
|
2083
|
+
* @public
|
|
2084
|
+
*/
|
|
2085
|
+
open(): void;
|
|
2086
|
+
ngAfterViewInit(): void;
|
|
2087
|
+
ngOnDestroy(): void;
|
|
2088
|
+
protected onFileChanged(files: File[] | Event, inputElement?: HTMLInputElement): void;
|
|
2089
|
+
private createResizeObserver;
|
|
2090
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusAttachmentsComponent, never>;
|
|
2091
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusAttachmentsComponent, "lib-bimplus-attachments", never, { "api": { "alias": "api"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "closeIconTemplate": { "alias": "closeIconTemplate"; "required": false; }; "listOnly": { "alias": "listOnly"; "required": false; }; }, { "deleteAttachment": "deleteAttachment"; "addAttachment": "addAttachment"; "getAttachment": "getAttachment"; }, never, never, true, never>;
|
|
2092
|
+
static ngAcceptInputType_listOnly: unknown;
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
declare class BimplusAttachmentsService {
|
|
2096
|
+
getAttachment(value: Attachment | File): Attachment;
|
|
2097
|
+
download(href: string, fileName: string): void;
|
|
2098
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusAttachmentsService, never>;
|
|
2099
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BimplusAttachmentsService>;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
declare class BimplusObjectCommentsListComponent extends BimplusLocalizedWidgetComponent implements OnInit, OnChanges {
|
|
2103
|
+
private readonly dialogService;
|
|
2104
|
+
private readonly datePipe;
|
|
2105
|
+
private readonly formBuilder;
|
|
2106
|
+
protected readonly bimplusAttachmentsService: BimplusAttachmentsService;
|
|
2107
|
+
private readonly bimplusObjectCommentsListService;
|
|
2108
|
+
private statusBarService;
|
|
2109
|
+
hyperlinkForm: FormGroup;
|
|
2110
|
+
api: WebSdk.Api | null;
|
|
2111
|
+
project: ProjectNavigatorProject | null;
|
|
2112
|
+
wormholeSelector: string;
|
|
2113
|
+
env: string;
|
|
2114
|
+
attachmentLinkItems: WebSdk.AttachmentLink[];
|
|
2115
|
+
inputBaseUrl: string;
|
|
2116
|
+
protected readonly commentsList$: BehaviorSubject<WebSdk.CommentResponse[]>;
|
|
2117
|
+
protected readonly loading: i0.WritableSignal<boolean>;
|
|
2118
|
+
protected readonly attachmentsState: i0.WritableSignal<Attachment[]>;
|
|
2119
|
+
buttonRowItems: BimplusButtonRowItem[];
|
|
2120
|
+
hyperlinkButtonRowItems: BimplusButtonRowItem[];
|
|
2121
|
+
textAreaValue: string | null;
|
|
2122
|
+
lastShownDate: string;
|
|
2123
|
+
placeholder: string;
|
|
2124
|
+
name: string;
|
|
2125
|
+
readonly: boolean;
|
|
2126
|
+
autoResizeTextarea: boolean;
|
|
2127
|
+
minRows: number;
|
|
2128
|
+
maxRows: number;
|
|
2129
|
+
clearValue: boolean;
|
|
2130
|
+
statusBarTitleMessage: any;
|
|
2131
|
+
newAttachmentIDs: string[];
|
|
2132
|
+
isAddingHyperlink: boolean;
|
|
2133
|
+
newCommentAttachments: NewAttachInfo[];
|
|
2134
|
+
private _rootObjectId;
|
|
2135
|
+
private _userId;
|
|
2136
|
+
set rootObjectId(id: string);
|
|
2137
|
+
get rootObjectId(): string;
|
|
2138
|
+
set userId(id: string);
|
|
2139
|
+
get userId(): string;
|
|
2140
|
+
constructor();
|
|
2141
|
+
isCreateButtonDisabled(): boolean;
|
|
2142
|
+
checkCreateButtonState(): void;
|
|
2143
|
+
ngOnInit(): void;
|
|
2144
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2145
|
+
protected onAttachmentsLinkChange(newAttachments: NewAttachInfo[]): void;
|
|
2146
|
+
protected onAddAttachment(file: File): void;
|
|
2147
|
+
protected onDeleteAttachment(attachment: Attachment): void;
|
|
2148
|
+
/** Event on click attachment. */
|
|
2149
|
+
protected onGetAttachment(attachment: Attachment): void;
|
|
2150
|
+
onTextareaValueChange(value: string): void;
|
|
2151
|
+
handleActionCommentEvent(event: CommentOutputData): void;
|
|
2152
|
+
actionDialogClose(data: IDialogConfirmClose): void;
|
|
2153
|
+
openDialogDeleteComment(commentId: string): void;
|
|
2154
|
+
isSameDate(date?: string): boolean;
|
|
2155
|
+
buttonRowButtonClicked($event: BimplusButtonClickEvent): void;
|
|
2156
|
+
hyperlinkButtonRowButtonClicked($event: BimplusButtonClickEvent): void;
|
|
2157
|
+
addNewCommentHyperlink(): void;
|
|
2158
|
+
deleteComment(commentId: string): void;
|
|
2159
|
+
addHyperlinkIconClicked(): void;
|
|
2160
|
+
addHyperlinkIconKeypress(event: KeyboardEvent): void;
|
|
2161
|
+
removeNewCommentAttachment(link: NewAttachInfo): void;
|
|
2162
|
+
removeNewCommentAttachmentKeypress(event: KeyboardEvent, link: NewAttachInfo): void;
|
|
2163
|
+
isActUserAuthor(item: WebSdk.CommentResponse): boolean;
|
|
2164
|
+
displayName(item: WebSdk.CommentResponse): string;
|
|
2165
|
+
formatDate(date: string): string;
|
|
2166
|
+
clearTextareaValue(): boolean;
|
|
2167
|
+
private loadComments;
|
|
2168
|
+
private getHyperlinks;
|
|
2169
|
+
onEnterKeyPressedInHyperlinkForm(): void;
|
|
2170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusObjectCommentsListComponent, never>;
|
|
2171
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusObjectCommentsListComponent, "lib-bimplus-object-comments-list", never, { "api": { "alias": "api"; "required": true; }; "project": { "alias": "project"; "required": false; }; "wormholeSelector": { "alias": "wormholeSelector"; "required": false; }; "env": { "alias": "env"; "required": false; }; "attachmentLinkItems": { "alias": "attachmentLinkItems"; "required": false; }; "inputBaseUrl": { "alias": "inputBaseUrl"; "required": false; }; "rootObjectId": { "alias": "rootObjectId"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; }, {}, never, never, true, never>;
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
declare class BimplusObjectCommentsListService {
|
|
2175
|
+
private readonly decorators;
|
|
2176
|
+
api: WebSdk.Api;
|
|
2177
|
+
private readonly bimplusAttachmentsService;
|
|
2178
|
+
deleteComment(commentId: string): Observable<void>;
|
|
2179
|
+
downloadAttachment(attachment: Attachment): void;
|
|
2180
|
+
postComments(rootObjectId: string, dataText: string, hyperlinks: Partial<WebSdk.Hyperlink>[], attachments: Attachment[], newAttachmentIDs: string[]): Observable<string | null>;
|
|
2181
|
+
private decorateComment;
|
|
2182
|
+
private decorateComments;
|
|
2183
|
+
loadComments(objectId: string): Observable<WebSdk.CommentsResponse>;
|
|
2184
|
+
manageHyperLinks(createdCommentId: string, hyperlinks: Partial<WebSdk.Hyperlink>[]): Observable<(void | WebSdk.Hyperlink | undefined)[]>;
|
|
2185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusObjectCommentsListService, never>;
|
|
2186
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BimplusObjectCommentsListService>;
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
interface CommentDialogData {
|
|
2190
|
+
title: string;
|
|
2191
|
+
message: string;
|
|
2192
|
+
acceptCallback: () => void;
|
|
2193
|
+
}
|
|
2194
|
+
declare class BimplusOverlayDialogDeleteComponent {
|
|
2195
|
+
private readonly dialogService;
|
|
2196
|
+
private readonly translateService;
|
|
2197
|
+
private _title;
|
|
2198
|
+
private _message;
|
|
2199
|
+
private readonly data;
|
|
2200
|
+
acceptCallback: (() => void) | undefined;
|
|
2201
|
+
protected readonly buttons: BimplusButtonRowItem[];
|
|
2202
|
+
get title(): string;
|
|
2203
|
+
set title(value: string);
|
|
2204
|
+
get message(): string;
|
|
2205
|
+
set message(value: string);
|
|
2206
|
+
constructor();
|
|
2207
|
+
close(): void;
|
|
2208
|
+
keypressClose(event: KeyboardEvent): void;
|
|
2209
|
+
buttonRowButtonClicked($event: BimplusButtonClickEvent): void;
|
|
2210
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
2211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayDialogDeleteComponent, never>;
|
|
2212
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusOverlayDialogDeleteComponent, "lib-bimplus-overlay-dialog-delete", never, { "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
declare class BimplusCommentComponent {
|
|
2216
|
+
outputActionCommentEvent: EventEmitter<CommentOutputData>;
|
|
2217
|
+
getAttachment: EventEmitter<Attachment>;
|
|
2218
|
+
private _message;
|
|
2219
|
+
api: WebSdk.Api | null;
|
|
2220
|
+
/** Attachments links to particular comment. */
|
|
2221
|
+
attachmentLinkItems: WebSdk.AttachmentLink[];
|
|
2222
|
+
set message(value: string | undefined);
|
|
2223
|
+
get message(): string | undefined;
|
|
2224
|
+
private _date;
|
|
2225
|
+
set date(value: string);
|
|
2226
|
+
get date(): string;
|
|
2227
|
+
private _action;
|
|
2228
|
+
set action(value: string);
|
|
2229
|
+
get action(): string;
|
|
2230
|
+
private _commentId;
|
|
2231
|
+
set commentId(value: string);
|
|
2232
|
+
get commentId(): string;
|
|
2233
|
+
private _isActUserAuthor;
|
|
2234
|
+
set isActUserAuthor(value: boolean);
|
|
2235
|
+
get isActUserAuthor(): boolean;
|
|
2236
|
+
private _displayname;
|
|
2237
|
+
set displayname(value: string);
|
|
2238
|
+
get displayname(): string;
|
|
2239
|
+
hyperlinks: WebSdk.Hyperlink[] | undefined;
|
|
2240
|
+
/** Attachments related to particular comment. */
|
|
2241
|
+
attachments: WebSdk.Attachment[];
|
|
2242
|
+
emitAction(data: CommentOutputData): void;
|
|
2243
|
+
close(): void;
|
|
2244
|
+
onKeyPress(event: KeyboardEvent): void;
|
|
2245
|
+
formatTime(date: string): string;
|
|
2246
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusCommentComponent, never>;
|
|
2247
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusCommentComponent, "lib-bimplus-comment", never, { "api": { "alias": "api"; "required": false; }; "attachmentLinkItems": { "alias": "attachmentLinkItems"; "required": false; }; "message": { "alias": "message"; "required": false; }; "date": { "alias": "date"; "required": false; }; "action": { "alias": "action"; "required": false; }; "commentId": { "alias": "commentId"; "required": false; }; "isActUserAuthor": { "alias": "isActUserAuthor"; "required": false; }; "displayname": { "alias": "displayname"; "required": false; }; "hyperlinks": { "alias": "hyperlinks"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; }, { "outputActionCommentEvent": "outputActionCommentEvent"; "getAttachment": "getAttachment"; }, never, never, true, never>;
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
declare class BimplusTextareaComponent implements OnInit, OnDestroy {
|
|
2251
|
+
textareaControl: FormControl<any>;
|
|
2252
|
+
private _textareaSubscription?;
|
|
2253
|
+
textAreaValueChange: EventEmitter<string>;
|
|
2254
|
+
private _name;
|
|
2255
|
+
private _placeholder;
|
|
2256
|
+
private _readonly;
|
|
2257
|
+
private _required;
|
|
2258
|
+
private _rows;
|
|
2259
|
+
private _activeAutoResizeTextarea;
|
|
2260
|
+
private _minRows;
|
|
2261
|
+
private _maxRows;
|
|
2262
|
+
private _clearValue;
|
|
2263
|
+
set name(value: string);
|
|
2264
|
+
get name(): string;
|
|
2265
|
+
set placeholder(value: string);
|
|
2266
|
+
get placeholder(): string;
|
|
2267
|
+
set readonly(value: boolean);
|
|
2268
|
+
get readonly(): boolean;
|
|
2269
|
+
set required(value: boolean);
|
|
2270
|
+
get required(): boolean;
|
|
2271
|
+
set minRows(value: number);
|
|
2272
|
+
get minRows(): number;
|
|
2273
|
+
set maxRows(value: number);
|
|
2274
|
+
get maxRows(): number;
|
|
2275
|
+
set activeAutoResizeTextarea(value: boolean);
|
|
2276
|
+
get activeAutoResizeTextarea(): boolean;
|
|
2277
|
+
set clearValue(clear: boolean);
|
|
2278
|
+
get clearValue(): boolean;
|
|
2279
|
+
set rows(value: number);
|
|
2280
|
+
get rows(): number;
|
|
2281
|
+
constructor();
|
|
2282
|
+
ngOnInit(): void;
|
|
2283
|
+
getTextareaValue(): any;
|
|
2284
|
+
onKeydown(event: KeyboardEvent): boolean;
|
|
2285
|
+
ngOnDestroy(): void;
|
|
2286
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTextareaComponent, never>;
|
|
2287
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTextareaComponent, "lib-bimplus-textarea", never, { "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "activeAutoResizeTextarea": { "alias": "activeAutoResizeTextarea"; "required": false; }; "clearValue": { "alias": "clearValue"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, { "textAreaValueChange": "textAreaValueChange"; }, never, never, true, never>;
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
declare class BimplusStatusBarComponent implements OnInit {
|
|
2291
|
+
private statusBarService;
|
|
2292
|
+
private _title;
|
|
2293
|
+
get title(): string;
|
|
2294
|
+
ngOnInit(): void;
|
|
2295
|
+
closeClick(): void;
|
|
2296
|
+
closeKeyDown($event: KeyboardEvent): void;
|
|
2297
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusStatusBarComponent, never>;
|
|
2298
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusStatusBarComponent, "lib-bimplus-status-bar", never, {}, {}, never, never, true, never>;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
declare class BimplusLinkTooltipMessageComponent implements AfterViewInit {
|
|
2302
|
+
messageLink: ElementRef<HTMLElement>;
|
|
2303
|
+
private _enableCopyPressKeys;
|
|
2304
|
+
private _titleHeader;
|
|
2305
|
+
private _link;
|
|
2306
|
+
get link(): string;
|
|
2307
|
+
set link(value: string);
|
|
2308
|
+
get titleHeader(): string;
|
|
2309
|
+
set titleHeader(value: string);
|
|
2310
|
+
get enableCopyPressKeys(): boolean;
|
|
2311
|
+
set enableCopyPressKeys(value: boolean);
|
|
2312
|
+
arrowPosition: string;
|
|
2313
|
+
onClose?: () => void;
|
|
2314
|
+
ngAfterViewInit(): void;
|
|
2315
|
+
selectText(node: HTMLElement): void;
|
|
2316
|
+
close(): void;
|
|
2317
|
+
onKeyPress(): void;
|
|
2318
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusLinkTooltipMessageComponent, never>;
|
|
2319
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusLinkTooltipMessageComponent, "lib-bimplus-link-tooltip-message", never, { "link": { "alias": "link"; "required": false; }; "titleHeader": { "alias": "titleHeader"; "required": false; }; "enableCopyPressKeys": { "alias": "enableCopyPressKeys"; "required": false; }; "arrowPosition": { "alias": "arrowPosition"; "required": false; }; "onClose": { "alias": "onClose"; "required": false; }; }, {}, never, never, true, never>;
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
interface StatusBarData {
|
|
2323
|
+
statusBarVisible: boolean;
|
|
2324
|
+
title: string;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
declare class BimplusStatusBarService {
|
|
2328
|
+
_statusBarData: BehaviorSubject<StatusBarData>;
|
|
2329
|
+
constructor();
|
|
2330
|
+
get statusBarVisible(): boolean;
|
|
2331
|
+
get title(): string;
|
|
2332
|
+
get statusBarData(): StatusBarData;
|
|
2333
|
+
get statusBarDataSubscription(): BehaviorSubject<StatusBarData>;
|
|
2334
|
+
setStatusBarData(data: StatusBarData): void;
|
|
2335
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusStatusBarService, never>;
|
|
2336
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BimplusStatusBarService>;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
declare class ObjectPropertiesService {
|
|
2340
|
+
_model: BehaviorSubject<WebSdk.ObjectData | null>;
|
|
2341
|
+
constructor();
|
|
2342
|
+
get modelValue(): WebSdk.ObjectData | null;
|
|
2343
|
+
get model$(): BehaviorSubject<WebSdk.ObjectData | null>;
|
|
2344
|
+
setModel(model: WebSdk.ObjectData): void;
|
|
2345
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesService, never>;
|
|
2346
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ObjectPropertiesService>;
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
export { Attachment, AttachmentBuilder, BIMPLUS_ATTACHMENTS_CONFIG, BIMPLUS_TABS_SWITCHER_CONFIG, BimplusAttachmentsComponent, BimplusAttachmentsService, BimplusCommentComponent, BimplusConnectionDesignerComponent, BimplusConnectionDesignerResultsComponent, BimplusContactComponent, BimplusContextMenuComponent, BimplusFlatTreeComponent, BimplusFloatingBarHideObjectsComponent, BimplusFloatingBarIsolationObjectsComponent, BimplusFloatingBarProjectNavigatorComponent, BimplusInputTextFieldComponent, BimplusLanguageMenuComponent, BimplusLinkTooltipMessageComponent, BimplusLocalizedWidgetComponent, BimplusMainMenuComponent, BimplusNavbarComponent, BimplusNotifyComponent, BimplusObjectCommentsListComponent, BimplusObjectCommentsListService, BimplusObjectNavigatorComponent, BimplusOverlayDialogConfirmComponent, BimplusOverlayDialogDeleteComponent, BimplusOverlayDialogErrorComponent, BimplusOverlayDialogWarningComponent, BimplusOverlayMessageComponent, BimplusProjectMenuComponent, BimplusScrollableContainerComponent, BimplusSidenavComponent, BimplusSidenavDrawerContentComponent, BimplusStatusBarComponent, BimplusStatusBarService, BimplusStorageInfoComponent, BimplusTabComponent, BimplusTabsSwitcherComponent, BimplusTabsSwitcherService, BimplusTextareaComponent, BimplusToolHubComponent, BimplusTooltipMessageComponent, BimplusTouchMenuComponent, BimplusUserMenuComponent, BimplusZoomComponent, BimportalGeneralOverlayDialogComponent, CursorType, CursorsService, DEFAULT_TAB_SWITCHER_ELEMENTS, DialogService, EMBEDDED_MODAL_DIALOGE_TYPE_FILE, FilterCriteriaSelectionMode, LanguageStringsService, LinksToDocumentsComponent, LoadingSpinnerComponent, LogoState, MaxFilterCriteria, NgxBimplusComponentsComponent, NgxBimplusComponentsService, ObjectHyperlinksComponent, ObjectPropertiesComponent, ObjectPropertiesHeaderComponent, ObjectPropertiesService, ResizablePanelComponent, ResizeObserverService, postAttachmentLinks };
|
|
2350
|
+
export type { BimplusAttachmentsConfig, BimplusContextMenuItem, BimplusContextMenuPosition, BimplusMainMenuComponentAttribute, BimplusProjectMenuComponentAttribute, BimplusTabComponentModel, BimplusTabsSwitcherConfig, CommentDialogData, ConfirmDialogInputData, ConnexisResult, ConnexisResultList, ConnexisResultsRoot, CreateLinkData, DesignCode, DialogPositionOptions, ErrorDialogInputData, FilterCriterium, FilterType, FlatNode, FlatTreeContextMenus, FloatingBarItem, IAttachment, IDialogInputData, IDialogOptions, IDialogOutputData, LangItem, LocalizedStrings, MenuItem, MenuItemEventData, MenuListType, OpacityProperties, ProjectNavigatorLayer, ProjectNavigatorModel, ProjectNavigatorProject, SelectedObject, SidenavItem, ToolHubItem, ToolHubItemStates, ToolHubItemUnits, ToolHubSubItem, ToolHubVisualSettings, TooltipMessageData, TooltipMessageItem, TooltipMessagePosition, TreeNode, VisibilityProperties, WarningDialogInputData };
|