ngx-bimplus-components 0.0.158 → 0.0.159-28783-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/images/default/Attachment_18_gray.svg +1 -0
- package/assets/images/default/Attachment_18_maincolor.svg +3 -0
- package/assets/images/default/Attachmentlink_18_gray.svg +7 -0
- package/assets/images/default/Attachmentlink_18_maincolor.svg +7 -0
- package/assets/images/default/Comments_18_gray.svg +1 -0
- package/assets/images/default/Comments_18_maincolor.svg +4 -0
- package/assets/images/default/Links_18_gray.svg +1 -0
- package/assets/images/default/Links_18_maincolor.svg +4 -0
- package/assets/images/default/Refresh_18_gray.svg +1 -0
- package/assets/images/default/bimplus_WebIcons_Cross_Disabled.svg +1 -0
- package/assets/images/default/ic_models.svg +3 -0
- package/assets/images/default/ic_models_maincolor.svg +3 -0
- package/assets/images/default/icn_grid_attachments.png +0 -0
- package/assets/images/default/icn_grid_hyperlinks.png +0 -0
- package/assets/images/default/progress-spinner.svg +1 -0
- package/esm2022/lib/components/bimplus-attachments/bimplus-attachments.component.mjs +104 -0
- package/esm2022/lib/components/bimplus-attachments/bimplus-attachments.interface.mjs +38 -0
- package/esm2022/lib/components/bimplus-attachments/components/bimplus-attachment-item/bimplus-attachment-item.component.mjs +92 -0
- package/esm2022/lib/components/bimplus-attachments/services/bimplus-attachments.service.mjs +32 -0
- package/esm2022/lib/components/bimplus-buttons-row/bimplus-buttons-row.component.mjs +37 -5
- package/esm2022/lib/components/bimplus-buttons-row/bimplus-buttons-row.interface.mjs +5 -2
- package/esm2022/lib/components/bimplus-comment/IComment.mjs +2 -0
- package/esm2022/lib/components/bimplus-comment/bimplus-comment.component.mjs +118 -0
- package/esm2022/lib/components/bimplus-connection-designer/bimplus-connection-designer.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-flat-tree/bimplus-flat-tree.component.mjs +115 -7
- package/esm2022/lib/components/bimplus-flat-tree/bimplus-flat-tree.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.mjs +1 -1
- package/esm2022/lib/components/bimplus-general-overlay-dialog/bimplus-general-dialog-config-settings.mjs +1 -1
- package/esm2022/lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-input-checkbox/bimplus-input-checkbox.component.mjs +64 -0
- package/esm2022/lib/components/bimplus-input-combobox/bimplus-input-combobox.component.mjs +161 -0
- package/esm2022/lib/components/bimplus-input-number/bimplus-input-number.component.mjs +85 -0
- package/esm2022/lib/components/bimplus-input-text-field/bimplus-input-text-field.component.mjs +92 -0
- package/esm2022/lib/components/bimplus-link-tooltip-message/bimplus-link-tooltip-message.component.mjs +78 -0
- package/esm2022/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.component.mjs +342 -0
- package/esm2022/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.service.mjs +69 -0
- package/esm2022/lib/components/bimplus-object-comments-list/bimplusObjectCommentsI.mjs +2 -0
- package/esm2022/lib/components/bimplus-object-complex-properties/bimplus-object-complex-properties.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-object-navigator/bimplus-object-navigator.component.mjs +22 -3
- package/esm2022/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-object-navigator/object-filter-result/object-filter-result.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-object-structure/bimplus-object-structure.component.mjs +42 -4
- package/esm2022/lib/components/bimplus-object-structure/bimplus-object-structure.interface.mjs +4 -2
- package/esm2022/lib/components/bimplus-overlay-dialog-confirm/bimplus-overlay-dialog-confirm.component.mjs +77 -0
- package/esm2022/lib/components/bimplus-overlay-dialog-delete/bimplus-overlay-dialog-delete.component.mjs +83 -0
- package/esm2022/lib/components/bimplus-overlay-dialog-error/bimplus-overlay-dialog-error.component.mjs +31 -8
- package/esm2022/lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-dialog-warning.component.mjs +34 -8
- package/esm2022/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.mjs +1 -1
- package/esm2022/lib/components/bimplus-sidenav-drawer-content/bimplus-sidenav-drawer-content.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-status-bar/bimplus-status-bar.component.mjs +35 -0
- package/esm2022/lib/components/bimplus-status-bar/bimplus-status-bar.service.mjs +35 -0
- package/esm2022/lib/components/bimplus-status-bar/statusBar.mjs +2 -0
- package/esm2022/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.component.mjs +38 -0
- package/esm2022/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.interface.mjs +10 -0
- package/esm2022/lib/components/bimplus-tabs-switcher/components/bimplus-tab/bimplus-tab.component.mjs +89 -0
- package/esm2022/lib/components/bimplus-tabs-switcher/services/bimplus-tabs-switcher.service.mjs +33 -0
- package/esm2022/lib/components/bimplus-textarea/autoResizeTextarea.directive.mjs +83 -0
- package/esm2022/lib/components/bimplus-textarea/bimplus-textarea.component.mjs +128 -0
- package/esm2022/lib/components/links-to-documents/links-to-documents.component.mjs +380 -0
- package/esm2022/lib/components/object-hyperlinks/object-hyperlinks.component.mjs +145 -0
- package/esm2022/lib/components/object-hyperlinks-item/object-hyperlinks-item.component.mjs +36 -0
- package/esm2022/lib/components/object-preview/object-preview.component.mjs +285 -0
- package/esm2022/lib/components/object-preview/object-preview.interface.mjs +2 -0
- package/esm2022/lib/components/object-properties/object-properties.component.mjs +536 -0
- package/esm2022/lib/components/object-properties/object-properties.interface.mjs +2 -0
- package/esm2022/lib/components/object-properties/object-properties.service.mjs +26 -0
- package/esm2022/lib/components/object-properties-group/object-properties-group.component.mjs +124 -0
- package/esm2022/lib/components/object-properties-group/object-property-value/object-property-value.component.mjs +55 -0
- package/esm2022/lib/components/object-properties-header/object-properties-header.component.mjs +48 -6
- package/esm2022/lib/components/object-properties-header/object-properties-header.interface.mjs +1 -1
- package/esm2022/lib/components/resizable-panel/resizable-panel.component.mjs +54 -10
- package/esm2022/lib/pipes/bit-converter.pipe.mjs +46 -0
- package/esm2022/lib/pipes/get-attribute-value-as-string.pipe.mjs +173 -0
- package/esm2022/lib/pipes/get-attribute-value.pipe.mjs +162 -0
- package/esm2022/lib/pipes/round.pipe.mjs +20 -0
- package/esm2022/lib/utils/objectProperties.mjs +9 -0
- package/esm2022/lib/validators/double-enum.validator.mjs +17 -0
- package/esm2022/lib/validators/double.validator.mjs +23 -0
- package/esm2022/lib/validators/guid-enum.validator.mjs +17 -0
- package/esm2022/lib/validators/guid.validator.mjs +11 -0
- package/esm2022/lib/validators/integer.validator.mjs +20 -0
- package/esm2022/lib/validators/string-combobox.validator.mjs +17 -0
- package/esm2022/lib/validators/string-enum.validator.mjs +17 -0
- package/esm2022/public-api.mjs +22 -1
- package/fesm2022/ngx-bimplus-components.mjs +4197 -82
- package/fesm2022/ngx-bimplus-components.mjs.map +1 -1
- package/lib/components/bimplus-attachments/bimplus-attachments.component.d.ts +39 -0
- package/lib/components/bimplus-attachments/bimplus-attachments.interface.d.ts +33 -0
- package/lib/components/bimplus-attachments/components/bimplus-attachment-item/bimplus-attachment-item.component.d.ts +30 -0
- package/lib/components/bimplus-attachments/services/bimplus-attachments.service.d.ts +8 -0
- package/lib/components/bimplus-buttons-row/bimplus-buttons-row.component.d.ts +13 -3
- package/lib/components/bimplus-buttons-row/bimplus-buttons-row.interface.d.ts +7 -1
- package/lib/components/bimplus-comment/IComment.d.ts +4 -0
- package/lib/components/bimplus-comment/bimplus-comment.component.d.ts +39 -0
- package/lib/components/bimplus-flat-tree/bimplus-flat-tree.component.d.ts +16 -3
- package/lib/components/bimplus-flat-tree/bimplus-flat-tree.interface.d.ts +4 -0
- package/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.d.ts +1 -1
- package/lib/components/bimplus-general-overlay-dialog/bimplus-general-dialog-config-settings.d.ts +3 -3
- package/lib/components/bimplus-input-checkbox/bimplus-input-checkbox.component.d.ts +18 -0
- package/lib/components/bimplus-input-combobox/bimplus-input-combobox.component.d.ts +41 -0
- package/lib/components/bimplus-input-number/bimplus-input-number.component.d.ts +26 -0
- package/lib/components/bimplus-input-text-field/bimplus-input-text-field.component.d.ts +28 -0
- package/lib/components/bimplus-link-tooltip-message/bimplus-link-tooltip-message.component.d.ts +22 -0
- package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.component.d.ts +84 -0
- package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.service.d.ts +15 -0
- package/lib/components/bimplus-object-comments-list/bimplusObjectCommentsI.d.ts +11 -0
- package/lib/components/bimplus-object-navigator/bimplus-object-navigator.component.d.ts +5 -1
- package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.d.ts +12 -12
- package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.interface.d.ts +3 -3
- package/lib/components/bimplus-object-structure/bimplus-object-structure.component.d.ts +5 -1
- package/lib/components/bimplus-object-structure/bimplus-object-structure.interface.d.ts +2 -0
- package/lib/components/bimplus-overlay-dialog-confirm/bimplus-overlay-dialog-confirm.component.d.ts +29 -0
- package/lib/components/bimplus-overlay-dialog-delete/bimplus-overlay-dialog-delete.component.d.ts +24 -0
- package/lib/components/bimplus-overlay-dialog-error/bimplus-overlay-dialog-error.component.d.ts +8 -1
- package/lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-dialog-warning.component.d.ts +11 -1
- package/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.d.ts +1 -1
- package/lib/components/bimplus-status-bar/bimplus-status-bar.component.d.ts +14 -0
- package/lib/components/bimplus-status-bar/bimplus-status-bar.service.d.ts +14 -0
- package/lib/components/bimplus-status-bar/statusBar.d.ts +4 -0
- package/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.component.d.ts +16 -0
- package/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.interface.d.ts +18 -0
- package/lib/components/bimplus-tabs-switcher/components/bimplus-tab/bimplus-tab.component.d.ts +36 -0
- package/lib/components/bimplus-tabs-switcher/services/bimplus-tabs-switcher.service.d.ts +15 -0
- package/lib/components/bimplus-textarea/autoResizeTextarea.directive.d.ts +24 -0
- package/lib/components/bimplus-textarea/bimplus-textarea.component.d.ts +42 -0
- package/lib/components/links-to-documents/links-to-documents.component.d.ts +68 -0
- package/lib/components/object-hyperlinks/object-hyperlinks.component.d.ts +32 -0
- package/lib/components/object-hyperlinks-item/object-hyperlinks-item.component.d.ts +15 -0
- package/lib/components/object-preview/object-preview.component.d.ts +45 -0
- package/lib/components/object-preview/object-preview.interface.d.ts +5 -0
- package/lib/components/object-properties/object-properties.component.d.ts +78 -0
- package/lib/components/object-properties/object-properties.interface.d.ts +22 -0
- package/lib/components/object-properties/object-properties.service.d.ts +12 -0
- package/lib/components/object-properties-group/object-properties-group.component.d.ts +29 -0
- package/lib/components/object-properties-group/object-property-value/object-property-value.component.d.ts +14 -0
- package/lib/components/object-properties-header/object-properties-header.component.d.ts +13 -4
- package/lib/components/object-properties-header/object-properties-header.interface.d.ts +8 -0
- package/lib/components/resizable-panel/resizable-panel.component.d.ts +12 -3
- package/lib/pipes/bit-converter.pipe.d.ts +17 -0
- package/lib/pipes/get-attribute-value-as-string.pipe.d.ts +35 -0
- package/lib/pipes/get-attribute-value.pipe.d.ts +35 -0
- package/lib/pipes/round.pipe.d.ts +7 -0
- package/lib/utils/objectProperties.d.ts +2 -0
- package/lib/validators/double-enum.validator.d.ts +2 -0
- package/lib/validators/double.validator.d.ts +2 -0
- package/lib/validators/guid-enum.validator.d.ts +2 -0
- package/lib/validators/guid.validator.d.ts +2 -0
- package/lib/validators/integer.validator.d.ts +2 -0
- package/lib/validators/string-combobox.validator.d.ts +2 -0
- package/lib/validators/string-enum.validator.d.ts +2 -0
- package/package.json +12 -4
- package/public-api.d.ts +21 -0
|
@@ -5,7 +5,7 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
5
5
|
import { FilterCriterium } from '../bimplus-object-navigator.interface';
|
|
6
6
|
import { ObjectStructureNode } from '../../bimplus-object-structure/bimplus-object-structure.interface';
|
|
7
7
|
import { ComplexPropertiesNode } from '../../bimplus-object-complex-properties/bimplus-object-complex-properties.interface';
|
|
8
|
-
import {
|
|
8
|
+
import { CriteriaSelectObjectAttribute, CriteriaSelectObjectAttributeGroup } from './criteria-select-object-properties.interface';
|
|
9
9
|
import { FormatValuePipe } from '../../../pipes/format-value.pipe';
|
|
10
10
|
import { DateTimePipe } from '../../../pipes/datetime.pipe';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
@@ -18,9 +18,9 @@ export declare class CriteriaSelectObjectPropertiesComponent extends BimplusLoca
|
|
|
18
18
|
set rootObjectId(id: string);
|
|
19
19
|
get rootObjectId(): string;
|
|
20
20
|
revision: number | undefined;
|
|
21
|
-
private _currentObjectId$;
|
|
22
|
-
private _currentPropertiesObjectId$;
|
|
23
|
-
objectAttributeGroups:
|
|
21
|
+
private readonly _currentObjectId$;
|
|
22
|
+
private readonly _currentPropertiesObjectId$;
|
|
23
|
+
objectAttributeGroups: CriteriaSelectObjectAttributeGroup[];
|
|
24
24
|
MaxFilterCriteria: number;
|
|
25
25
|
private _rootObjectId;
|
|
26
26
|
set filterCriteria(criteria: FilterCriterium[]);
|
|
@@ -31,15 +31,15 @@ export declare class CriteriaSelectObjectPropertiesComponent extends BimplusLoca
|
|
|
31
31
|
get objectStructure(): ObjectStructureNode | null;
|
|
32
32
|
private _complexProperties;
|
|
33
33
|
get complexProperties(): ComplexPropertiesNode | null;
|
|
34
|
-
toggleAttribute(attrib:
|
|
35
|
-
toggleAttributeValue(attrib:
|
|
36
|
-
_defineFilterString(attrib:
|
|
37
|
-
_addFilterCriteria(attrib:
|
|
38
|
-
_updateFilterCriteria(attrib:
|
|
34
|
+
toggleAttribute(attrib: CriteriaSelectObjectAttribute): void;
|
|
35
|
+
toggleAttributeValue(attrib: CriteriaSelectObjectAttribute): void;
|
|
36
|
+
_defineFilterString(attrib: CriteriaSelectObjectAttribute): string;
|
|
37
|
+
_addFilterCriteria(attrib: CriteriaSelectObjectAttribute): void;
|
|
38
|
+
_updateFilterCriteria(attrib: CriteriaSelectObjectAttribute, index: number): void;
|
|
39
39
|
private roundToDecimal;
|
|
40
|
-
titleForAttribute(attribute:
|
|
41
|
-
normalizedValue(attribute:
|
|
42
|
-
handleFilterCriteriumAttributeStateChange(attrib:
|
|
40
|
+
titleForAttribute(attribute: CriteriaSelectObjectAttribute): string;
|
|
41
|
+
normalizedValue(attribute: CriteriaSelectObjectAttribute, forFilterCriteria?: boolean): string;
|
|
42
|
+
handleFilterCriteriumAttributeStateChange(attrib: CriteriaSelectObjectAttribute): void;
|
|
43
43
|
handleObjectStructureNodeSelected(node: ObjectStructureNode): void;
|
|
44
44
|
handleComplexPropertyNodeSelected(node: ComplexPropertiesNode): void;
|
|
45
45
|
private _createObjectProperties;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface CriteriaSelectObjectAttribute {
|
|
2
2
|
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
description: string;
|
|
@@ -14,8 +14,8 @@ export interface ObjectAttribute {
|
|
|
14
14
|
decimal?: number;
|
|
15
15
|
enumValues?: Record<number, string>;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface CriteriaSelectObjectAttributeGroup {
|
|
18
18
|
name: string;
|
|
19
|
-
attributes:
|
|
19
|
+
attributes: CriteriaSelectObjectAttribute[];
|
|
20
20
|
expanded: boolean;
|
|
21
21
|
}
|
|
@@ -12,8 +12,12 @@ export declare class BimplusObjectStructureComponent {
|
|
|
12
12
|
readonly treeData: import("@angular/core").Signal<TreeNode[]>;
|
|
13
13
|
private _findNode;
|
|
14
14
|
handleSelectedNodes(nodes: FlatNode[]): void;
|
|
15
|
+
handleVisibleNodes(nodes: FlatNode[]): void;
|
|
16
|
+
handleOpaqueNodes(nodes: FlatNode[]): void;
|
|
15
17
|
expandTree(): void;
|
|
16
18
|
nodeSelected: EventEmitter<ObjectStructureNode>;
|
|
19
|
+
nodeVisible: EventEmitter<ObjectStructureNode>;
|
|
20
|
+
nodeOpaque: EventEmitter<ObjectStructureNode>;
|
|
17
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusObjectStructureComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusObjectStructureComponent, "lib-bimplus-object-structure", never, { "objectStructureValue": { "alias": "objectStructure"; "required": false; }; }, { "nodeSelected": "nodeSelected"; }, never, never, true, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusObjectStructureComponent, "lib-bimplus-object-structure", never, { "objectStructureValue": { "alias": "objectStructure"; "required": false; }; }, { "nodeSelected": "nodeSelected"; "nodeVisible": "nodeVisible"; "nodeOpaque": "nodeOpaque"; }, never, never, true, never>;
|
|
19
23
|
}
|
|
@@ -4,6 +4,8 @@ export interface ObjectStructureNode {
|
|
|
4
4
|
children?: ObjectStructureNode[];
|
|
5
5
|
name: string;
|
|
6
6
|
parent: string;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
opaque: boolean;
|
|
7
9
|
}
|
|
8
10
|
export declare class ObjectStructureNodeBuilder {
|
|
9
11
|
static createFromResponse(response: WebSdk.ObjectTopologyResponse): ObjectStructureNode;
|
package/lib/components/bimplus-overlay-dialog-confirm/bimplus-overlay-dialog-confirm.component.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
2
|
+
import { DialogService } from "../bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service";
|
|
3
|
+
import { BimplusButtonClickEvent, BimplusButtonRowItem } from "../bimplus-buttons-row/bimplus-buttons-row.interface";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface ConfirmDialogInputData {
|
|
6
|
+
title: string;
|
|
7
|
+
message: string;
|
|
8
|
+
acceptButtonLocalizedString: string;
|
|
9
|
+
cancelButtonLocalizedString: string;
|
|
10
|
+
acceptCallback: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare class BimplusOverlayDialogConfirmComponent {
|
|
13
|
+
private readonly dialogService;
|
|
14
|
+
private readonly translateService;
|
|
15
|
+
title: string;
|
|
16
|
+
message: string;
|
|
17
|
+
acceptButtonLocalizedString: string;
|
|
18
|
+
cancelButtonLocalizedString: string;
|
|
19
|
+
acceptCallback: (() => void) | undefined;
|
|
20
|
+
protected buttons: BimplusButtonRowItem[];
|
|
21
|
+
constructor(dialogService: DialogService, translateService: TranslateService);
|
|
22
|
+
initializeButtons(): void;
|
|
23
|
+
close(): void;
|
|
24
|
+
keypressClose(event: KeyboardEvent): void;
|
|
25
|
+
buttonRowButtonClicked($event: BimplusButtonClickEvent): void;
|
|
26
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayDialogConfirmComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusOverlayDialogConfirmComponent, "lib-bimplus-overlay-dialog-confirm", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
package/lib/components/bimplus-overlay-dialog-delete/bimplus-overlay-dialog-delete.component.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { BimplusButtonClickEvent, BimplusButtonRowItem } from '../bimplus-buttons-row/bimplus-buttons-row.interface';
|
|
3
|
+
import { DialogService } from '../bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BimplusOverlayDialogDeleteComponent {
|
|
6
|
+
private readonly dialogService;
|
|
7
|
+
private readonly translateService;
|
|
8
|
+
private _title;
|
|
9
|
+
private _message;
|
|
10
|
+
private readonly data;
|
|
11
|
+
acceptCallback: (() => void) | undefined;
|
|
12
|
+
protected readonly buttons: BimplusButtonRowItem[];
|
|
13
|
+
get title(): string;
|
|
14
|
+
set title(value: string);
|
|
15
|
+
get message(): string;
|
|
16
|
+
set message(value: string);
|
|
17
|
+
constructor(dialogService: DialogService, translateService: TranslateService);
|
|
18
|
+
close(): void;
|
|
19
|
+
keypressClose(event: KeyboardEvent): void;
|
|
20
|
+
buttonRowButtonClicked($event: BimplusButtonClickEvent): void;
|
|
21
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayDialogDeleteComponent, never>;
|
|
23
|
+
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>;
|
|
24
|
+
}
|
package/lib/components/bimplus-overlay-dialog-error/bimplus-overlay-dialog-error.component.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
1
2
|
import { DialogService } from '../bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service';
|
|
3
|
+
import { BimplusButtonRowItem } from '../bimplus-buttons-row/bimplus-buttons-row.interface';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export interface ErrorDialogInputData {
|
|
4
6
|
title: string;
|
|
@@ -6,16 +8,21 @@ export interface ErrorDialogInputData {
|
|
|
6
8
|
}
|
|
7
9
|
export declare class BimplusOverlayDialogErrorComponent {
|
|
8
10
|
private readonly dialogService;
|
|
11
|
+
private readonly translateService;
|
|
9
12
|
private _title;
|
|
10
13
|
private _message;
|
|
11
14
|
private readonly _data;
|
|
15
|
+
acceptCallback: (() => void) | undefined;
|
|
16
|
+
protected readonly buttons: BimplusButtonRowItem[];
|
|
12
17
|
get title(): string;
|
|
13
18
|
set title(value: string);
|
|
14
19
|
get message(): string;
|
|
15
20
|
set message(value: string);
|
|
16
|
-
constructor(dialogService: DialogService);
|
|
21
|
+
constructor(dialogService: DialogService, translateService: TranslateService);
|
|
17
22
|
close(): void;
|
|
18
23
|
keypressClose(event: KeyboardEvent): void;
|
|
24
|
+
buttonRowButtonClicked(): void;
|
|
25
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
19
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayDialogErrorComponent, never>;
|
|
20
27
|
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>;
|
|
21
28
|
}
|
package/lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-dialog-warning.component.d.ts
CHANGED
|
@@ -1,21 +1,31 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
1
3
|
import { DialogService } from '../bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service';
|
|
4
|
+
import { BimplusButtonRowItem } from '../bimplus-buttons-row/bimplus-buttons-row.interface';
|
|
2
5
|
import * as i0 from "@angular/core";
|
|
3
6
|
export interface WarningDialogInputData {
|
|
4
7
|
title: string;
|
|
5
8
|
message: string;
|
|
9
|
+
buttonsRef?: TemplateRef<unknown>;
|
|
6
10
|
}
|
|
7
11
|
export declare class BimplusOverlayDialogWarningComponent {
|
|
8
12
|
private readonly dialogService;
|
|
13
|
+
private readonly translateService;
|
|
9
14
|
private _title;
|
|
10
15
|
private _message;
|
|
11
16
|
private readonly _data;
|
|
17
|
+
protected readonly buttonsRef: TemplateRef<unknown> | null;
|
|
18
|
+
acceptCallback: (() => void) | undefined;
|
|
19
|
+
protected readonly buttons: BimplusButtonRowItem[];
|
|
12
20
|
get title(): string;
|
|
13
21
|
set title(value: string);
|
|
14
22
|
get message(): string;
|
|
15
23
|
set message(value: string);
|
|
16
|
-
constructor(dialogService: DialogService);
|
|
24
|
+
constructor(dialogService: DialogService, translateService: TranslateService);
|
|
17
25
|
close(): void;
|
|
18
26
|
keypressClose(event: KeyboardEvent): void;
|
|
27
|
+
buttonRowButtonClicked(): void;
|
|
28
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
19
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusOverlayDialogWarningComponent, never>;
|
|
20
30
|
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>;
|
|
21
31
|
}
|
package/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ElementRef, AfterViewInit, AfterViewChecked } from '@angular/core';
|
|
|
2
2
|
import SimpleBar from 'simplebar';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class BimplusScrollableContainerComponent implements AfterViewInit, AfterViewChecked {
|
|
5
|
-
private elementRef;
|
|
5
|
+
private readonly elementRef;
|
|
6
6
|
_simpleBar: SimpleBar;
|
|
7
7
|
_element: HTMLElement;
|
|
8
8
|
protected _scrollableContainerClassName: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BimplusStatusBarService } from './bimplus-status-bar.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BimplusStatusBarComponent implements OnInit {
|
|
5
|
+
private statusBarService;
|
|
6
|
+
private _title;
|
|
7
|
+
get title(): string;
|
|
8
|
+
constructor(statusBarService: BimplusStatusBarService);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
closeClick(): void;
|
|
11
|
+
closeKeyDown($event: KeyboardEvent): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusStatusBarComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusStatusBarComponent, "lib-bimplus-status-bar", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { statusBarData } from './statusBar';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BimplusStatusBarService {
|
|
5
|
+
_statusBarData: BehaviorSubject<statusBarData>;
|
|
6
|
+
constructor();
|
|
7
|
+
get statusBarVisible(): boolean;
|
|
8
|
+
get title(): string;
|
|
9
|
+
get statusBarData(): statusBarData;
|
|
10
|
+
get statusBarDataSubscription(): BehaviorSubject<statusBarData>;
|
|
11
|
+
setStatusBarData(data: statusBarData): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusStatusBarService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BimplusStatusBarService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Signal, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BimplusTabsSwitcherService } from './services/bimplus-tabs-switcher.service';
|
|
3
|
+
import { BimplusTabComponentModel } from './bimplus-tabs-switcher.interface';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BimplusTabsSwitcherComponent {
|
|
6
|
+
private readonly bimplusTabsSwitcherService;
|
|
7
|
+
activeTab?: string;
|
|
8
|
+
activeTabChange: EventEmitter<string>;
|
|
9
|
+
/** default tab elements, can be chanaged from outside by BimplusTabsSwitcherService */
|
|
10
|
+
protected readonly tabSwitcherElements: Signal<BimplusTabComponentModel[]>;
|
|
11
|
+
/** app base href */
|
|
12
|
+
protected readonly baseHref: string | null;
|
|
13
|
+
constructor(bimplusTabsSwitcherService: BimplusTabsSwitcherService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherComponent, [{ optional: true; skipSelf: true; }]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTabsSwitcherComponent, "lib-bimplus-tabs-switcher", never, { "activeTab": { "alias": "activeTab"; "required": false; }; }, { "activeTabChange": "activeTabChange"; }, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
export type BimplusTabComponentModel = {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
img: {
|
|
6
|
+
default: string;
|
|
7
|
+
active: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const DEFAULT_TAB_SWITCHER_ELEMENTS: BimplusTabComponentModel[];
|
|
11
|
+
export type BimplusTabsSwitcherConfig = {
|
|
12
|
+
defaultTabsSwitcherElements?: BimplusTabComponentModel[];
|
|
13
|
+
disabled: Partial<{
|
|
14
|
+
all: boolean;
|
|
15
|
+
id: string;
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
18
|
+
export declare const BIMPLUS_TABS_SWITCHER_CONFIG: InjectionToken<BimplusTabsSwitcherConfig>;
|
package/lib/components/bimplus-tabs-switcher/components/bimplus-tab/bimplus-tab.component.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BimplusTabsSwitcherService } from '../../services/bimplus-tabs-switcher.service';
|
|
3
|
+
import { BimplusTabComponentModel, BimplusTabsSwitcherConfig } from '../../bimplus-tabs-switcher.interface';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BimplusTabComponent implements OnInit {
|
|
6
|
+
private readonly bimplusTabsSwitcherConfig;
|
|
7
|
+
protected readonly bimplusTabsSwitcherService: BimplusTabsSwitcherService;
|
|
8
|
+
bimplusTabComponentModel: BimplusTabComponentModel;
|
|
9
|
+
imageBaseSrc?: string | null;
|
|
10
|
+
/** Currently active tab. */
|
|
11
|
+
set activeTab(value: string | undefined);
|
|
12
|
+
activeTabChange: EventEmitter<string>;
|
|
13
|
+
/** Attribute indicating active tab. */
|
|
14
|
+
protected readonly activeTabSignal: import("@angular/core").Signal<string | undefined>;
|
|
15
|
+
/** Indicate that tab is active or not. */
|
|
16
|
+
protected readonly isActive: import("@angular/core").Signal<boolean>;
|
|
17
|
+
/** Indicate that tab is disabled or not. */
|
|
18
|
+
protected readonly isDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
+
/** Computed property for image file name based on active/default state. */
|
|
20
|
+
protected readonly imgName: import("@angular/core").Signal<string>;
|
|
21
|
+
protected readonly onHoverOver: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
+
/** Whether all tabs is disabled based on configuration token. */
|
|
23
|
+
private readonly isAllDisabled;
|
|
24
|
+
constructor(bimplusTabsSwitcherConfig: BimplusTabsSwitcherConfig, bimplusTabsSwitcherService: BimplusTabsSwitcherService);
|
|
25
|
+
protected onMouseEnter(): void;
|
|
26
|
+
protected onMouseLeave(): void;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
/**
|
|
29
|
+
* Will update active tab to service state.
|
|
30
|
+
* @protected
|
|
31
|
+
* @returns void
|
|
32
|
+
*/
|
|
33
|
+
protected activate(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabComponent, [{ optional: true; }, null]>;
|
|
35
|
+
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>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BimplusTabComponentModel, BimplusTabsSwitcherConfig } from '../bimplus-tabs-switcher.interface';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BimplusTabsSwitcherService {
|
|
4
|
+
private readonly bimplusTabsSwitcherConfig?;
|
|
5
|
+
/** Default tab switcher elements. */
|
|
6
|
+
private readonly tabSwitcherElements;
|
|
7
|
+
readonly tabSwitcherElements$: import("rxjs").Observable<BimplusTabComponentModel[]>;
|
|
8
|
+
/** Attribute to indicate active tab. (only for BimplusTabComponent) */
|
|
9
|
+
private readonly activeTab;
|
|
10
|
+
readonly activeTab$: import("rxjs").Observable<string>;
|
|
11
|
+
setActiveTab(key: string): void;
|
|
12
|
+
constructor(bimplusTabsSwitcherConfig?: Pick<BimplusTabsSwitcherConfig, "defaultTabsSwitcherElements"> | undefined);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherService, [{ optional: true; }]>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BimplusTabsSwitcherService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AutoResizeTextareaDirective {
|
|
4
|
+
private el;
|
|
5
|
+
private _libAutoResizeTextarea;
|
|
6
|
+
private _autoResizeMinRows;
|
|
7
|
+
private _autoResizeMaxRows;
|
|
8
|
+
private currentRows;
|
|
9
|
+
private offsetHeight;
|
|
10
|
+
private readonly input;
|
|
11
|
+
private avgLineHeight;
|
|
12
|
+
set autoResizeMinRows(value: number);
|
|
13
|
+
get autoResizeMinRows(): number;
|
|
14
|
+
set autoResizeMaxRows(value: number);
|
|
15
|
+
get autoResizeMaxRows(): number;
|
|
16
|
+
set libAutoResizeTextarea(condition: boolean);
|
|
17
|
+
get libAutoResizeTextarea(): boolean;
|
|
18
|
+
constructor(el: ElementRef);
|
|
19
|
+
onInput(): void;
|
|
20
|
+
private calculateLineHeight;
|
|
21
|
+
private updateRows;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoResizeTextareaDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoResizeTextareaDirective, "[libAutoResizeTextarea]", never, { "autoResizeMinRows": { "alias": "autoResizeMinRows"; "required": false; }; "autoResizeMaxRows": { "alias": "autoResizeMaxRows"; "required": false; }; "libAutoResizeTextarea": { "alias": "libAutoResizeTextarea"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BimplusTextareaComponent implements OnInit, OnDestroy {
|
|
5
|
+
textareaControl: FormControl<any>;
|
|
6
|
+
private _textareaSubscription?;
|
|
7
|
+
textAreaValueChange: EventEmitter<string>;
|
|
8
|
+
private _name;
|
|
9
|
+
private _placeholder;
|
|
10
|
+
private _readonly;
|
|
11
|
+
private _required;
|
|
12
|
+
private _rows;
|
|
13
|
+
private _activeAutoResizeTextarea;
|
|
14
|
+
private _minRows;
|
|
15
|
+
private _maxRows;
|
|
16
|
+
private _clearValue;
|
|
17
|
+
set name(value: string);
|
|
18
|
+
get name(): string;
|
|
19
|
+
set placeholder(value: string);
|
|
20
|
+
get placeholder(): string;
|
|
21
|
+
set readonly(value: boolean);
|
|
22
|
+
get readonly(): boolean;
|
|
23
|
+
set required(value: boolean);
|
|
24
|
+
get required(): boolean;
|
|
25
|
+
set minRows(value: number);
|
|
26
|
+
get minRows(): number;
|
|
27
|
+
set maxRows(value: number);
|
|
28
|
+
get maxRows(): number;
|
|
29
|
+
set activeAutoResizeTextarea(value: boolean);
|
|
30
|
+
get activeAutoResizeTextarea(): boolean;
|
|
31
|
+
set clearValue(clear: boolean);
|
|
32
|
+
get clearValue(): boolean;
|
|
33
|
+
set rows(value: number);
|
|
34
|
+
get rows(): number;
|
|
35
|
+
constructor();
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
getTextareaValue(): any;
|
|
38
|
+
onKeydown(event: KeyboardEvent): boolean;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTextareaComponent, never>;
|
|
41
|
+
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>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { OnInit, Renderer2, ElementRef, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BimplusLocalizedWidgetComponent } from '../bimplus-localized-widget/bimplus-localized-widget.component';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import * as WebSdk from 'bimplus-websdk';
|
|
5
|
+
import { ProjectNavigatorProject } from '../project-models/project-models.interface';
|
|
6
|
+
import { BimplusButtonClickEvent, BimplusButtonRowItem } from '../bimplus-buttons-row/bimplus-buttons-row.interface';
|
|
7
|
+
import { DialogService } from "../bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare const EMBEDDED_MODAL_DIALOGE_TYPE_FILE = "file";
|
|
10
|
+
export declare const postAttachmentLinks: (newAttachmentIDs: string[], objectId: string, api: WebSdk.Api) => import("rxjs").Observable<WebSdk.AttachmentLinksResponse>;
|
|
11
|
+
export declare class LinksToDocumentsComponent extends BimplusLocalizedWidgetComponent implements OnInit, OnDestroy {
|
|
12
|
+
private readonly dialogService;
|
|
13
|
+
private readonly renderer;
|
|
14
|
+
private readonly el;
|
|
15
|
+
constructor(translateService: TranslateService, dialogService: DialogService, renderer: Renderer2, el: ElementRef);
|
|
16
|
+
private readonly shadowRootElement;
|
|
17
|
+
private _rootObjectId;
|
|
18
|
+
isDestroyed: boolean;
|
|
19
|
+
localWormHole: boolean;
|
|
20
|
+
inProgress: boolean;
|
|
21
|
+
api: WebSdk.Api | null;
|
|
22
|
+
canCreateAttachmentLink: boolean;
|
|
23
|
+
/** Input Attribute to specify if should show only list of attachments. */
|
|
24
|
+
listOnly: boolean;
|
|
25
|
+
/** Input Attribute to specify if should show message when no attachments found. */
|
|
26
|
+
showEmptyMessage: boolean;
|
|
27
|
+
/** Input Attribute to tell if show/hide attachemt size information. */
|
|
28
|
+
hideAttachmentSize: boolean;
|
|
29
|
+
_attachments: WebSdk.AttachmentLink[];
|
|
30
|
+
set attachments(value: WebSdk.AttachmentLink[]);
|
|
31
|
+
get attachments(): WebSdk.AttachmentLink[];
|
|
32
|
+
onAttachmentsChange(): void;
|
|
33
|
+
attachmentsChange: EventEmitter<string[]>;
|
|
34
|
+
canDeleteAttachmentLink: boolean;
|
|
35
|
+
project: ProjectNavigatorProject | null;
|
|
36
|
+
wormholeSelector: string | undefined;
|
|
37
|
+
env: string;
|
|
38
|
+
set rootObjectId(id: string);
|
|
39
|
+
get rootObjectId(): string;
|
|
40
|
+
private readonly _currentObjectId$;
|
|
41
|
+
_attachmentCount: number;
|
|
42
|
+
buttonRowItems: Array<BimplusButtonRowItem>;
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
fmt(string: string, ...formats: unknown[]): string;
|
|
46
|
+
/**--------------------------------------------------------------------------
|
|
47
|
+
* decorate link
|
|
48
|
+
--------------------------------------------------------------------------*/
|
|
49
|
+
_decorateLink(api: WebSdk.Api, link: WebSdk.AttachmentLink): WebSdk.AttachmentLink;
|
|
50
|
+
private decorateAttachmentLinks;
|
|
51
|
+
private _createAttachmentLinkStructure;
|
|
52
|
+
private _loadAttachmentLinkStructure;
|
|
53
|
+
documentSelection: string[] | null;
|
|
54
|
+
isOpened: boolean;
|
|
55
|
+
embeddedModalContainer: string;
|
|
56
|
+
setModalVisibility(opened?: boolean): void;
|
|
57
|
+
closeEmbeddedModalFileSelection(): void;
|
|
58
|
+
_addLink(api: WebSdk.Api, ids: string[]): void;
|
|
59
|
+
createAttachmentLink(api: WebSdk.Api): void;
|
|
60
|
+
_deleteAttachmentLink(api: WebSdk.Api, id: string, $event: Event): void;
|
|
61
|
+
deleteAttachmentLink(attachment: WebSdk.AttachmentLink, $event: Event): void;
|
|
62
|
+
buttonClicked($event: BimplusButtonClickEvent): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinksToDocumentsComponent, never>;
|
|
64
|
+
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; }; "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"; }, never, never, true, never>;
|
|
65
|
+
static ngAcceptInputType_listOnly: unknown;
|
|
66
|
+
static ngAcceptInputType_showEmptyMessage: unknown;
|
|
67
|
+
static ngAcceptInputType_hideAttachmentSize: unknown;
|
|
68
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BimplusButtonClickEvent, BimplusButtonRowItem } from "../bimplus-buttons-row/bimplus-buttons-row.interface";
|
|
3
|
+
import { BimplusLocalizedWidgetComponent } from "../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
4
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
5
|
+
import WebSdk from "bimplus-websdk";
|
|
6
|
+
import { DialogService } from "../bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service";
|
|
7
|
+
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ObjectHyperlinksComponent extends BimplusLocalizedWidgetComponent implements OnInit {
|
|
10
|
+
private readonly dialogService;
|
|
11
|
+
private readonly formBuilder;
|
|
12
|
+
hyperlinkForm: FormGroup;
|
|
13
|
+
constructor(translateService: TranslateService, dialogService: DialogService, formBuilder: FormBuilder);
|
|
14
|
+
api: WebSdk.Api | null;
|
|
15
|
+
set rootObjectId(id: string);
|
|
16
|
+
get rootObjectId(): string;
|
|
17
|
+
private readonly _currentObjectId$;
|
|
18
|
+
private readonly _currentPropertiesObjectId$;
|
|
19
|
+
private _rootObjectId;
|
|
20
|
+
buttonRowItems: Array<BimplusButtonRowItem>;
|
|
21
|
+
canCreateHyperlinks: boolean;
|
|
22
|
+
canDeleteHyperlinks: boolean;
|
|
23
|
+
hyperlinks: Array<WebSdk.Hyperlink>;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
buttonRowButtonClicked($event: BimplusButtonClickEvent): void;
|
|
26
|
+
private loadHyperlinks;
|
|
27
|
+
private addHyperlink;
|
|
28
|
+
onHyperlinkItemDeleteButtonClicked(hyperlink: WebSdk.Hyperlink): void;
|
|
29
|
+
private deleteHyperlink;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectHyperlinksComponent, never>;
|
|
31
|
+
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>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import WebSdk from "bimplus-websdk";
|
|
3
|
+
import { BimplusLocalizedWidgetComponent } from "../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
4
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ObjectHyperlinksItemComponent extends BimplusLocalizedWidgetComponent {
|
|
7
|
+
constructor(translateService: TranslateService);
|
|
8
|
+
hyperlink: WebSdk.Hyperlink | undefined;
|
|
9
|
+
deleteButtonEnabled: boolean;
|
|
10
|
+
deleteButtonClicked: EventEmitter<void>;
|
|
11
|
+
onDeleteButtonClick(): void;
|
|
12
|
+
onDeleteButtonKeyDown($event: KeyboardEvent): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectHyperlinksItemComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectHyperlinksItemComponent, "lib-object-hyperlinks-item", never, { "hyperlink": { "alias": "hyperlink"; "required": false; }; "deleteButtonEnabled": { "alias": "deleteButtonEnabled"; "required": false; }; }, { "deleteButtonClicked": "deleteButtonClicked"; }, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as Renderer from 'bimplus-renderer';
|
|
3
|
+
import WebSdk from "bimplus-websdk";
|
|
4
|
+
import { PreviewObject } from './object-preview.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ObjectPreviewComponent implements AfterViewInit, OnDestroy {
|
|
7
|
+
private readonly el;
|
|
8
|
+
private resizeObserver;
|
|
9
|
+
viewport: Renderer.Viewport3D | null;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
previousWidth: number;
|
|
12
|
+
previousHeight: number;
|
|
13
|
+
resizeTimeout: number | undefined;
|
|
14
|
+
rendererViewportElement: ElementRef;
|
|
15
|
+
api: WebSdk.Api | null;
|
|
16
|
+
set objectId(id: string);
|
|
17
|
+
get objectId(): string | undefined;
|
|
18
|
+
private _objectId;
|
|
19
|
+
revision: number | undefined;
|
|
20
|
+
set visibleNode(value: PreviewObject);
|
|
21
|
+
set opaqueNode(value: PreviewObject);
|
|
22
|
+
private contentLoader;
|
|
23
|
+
private isRendererInitialized;
|
|
24
|
+
constructor(el: ElementRef);
|
|
25
|
+
processVisibilityNode(node: PreviewObject): void;
|
|
26
|
+
processOpacityNode(node: PreviewObject): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
recalculatePreviewSize(): void;
|
|
30
|
+
metricUnits: Renderer.MeasurementUnits;
|
|
31
|
+
imperialUnits: Renderer.MeasurementUnits;
|
|
32
|
+
viewportSettings: Renderer.ViewportSettings;
|
|
33
|
+
units: {
|
|
34
|
+
Metric: Renderer.MeasurementUnits;
|
|
35
|
+
Imperial: Renderer.MeasurementUnits;
|
|
36
|
+
};
|
|
37
|
+
setAmbientOcclusionOptions(): void;
|
|
38
|
+
setBackgroundOptions(): void;
|
|
39
|
+
setHoverOption(useHoverEffect?: boolean): void;
|
|
40
|
+
initRenderer(): void;
|
|
41
|
+
private onObjectIdChanged;
|
|
42
|
+
private loadObject;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPreviewComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPreviewComponent, "lib-object-preview", never, { "api": { "alias": "api"; "required": false; }; "objectId": { "alias": "objectId"; "required": false; }; "revision": { "alias": "revision"; "required": false; }; "visibleNode": { "alias": "visibleNode"; "required": false; }; "opaqueNode": { "alias": "opaqueNode"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
+
}
|