ngx-bimplus-components 0.0.148 → 0.0.149-28792-3
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/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/languages/strings_cs.json +24 -72
- package/assets/languages/strings_de.json +4 -15
- package/assets/languages/strings_en.json +5 -5
- package/assets/languages/strings_es.json +6 -54
- package/assets/languages/strings_fr.json +6 -50
- package/assets/languages/strings_it.json +2 -50
- package/assets/languages/strings_nl.json +796 -796
- package/assets/languages/strings_ro.json +7 -55
- package/assets/languages/strings_ru.json +45 -93
- package/assets/languages/strings_tr.json +2 -50
- package/assets/languages/strings_us.json +8 -44
- package/esm2022/lib/components/bimplus-attachments/bimplus-attachments.component.mjs +69 -0
- package/esm2022/lib/components/bimplus-attachments/bimplus-attachments.interface.mjs +34 -0
- package/esm2022/lib/components/bimplus-attachments/components/bimplus-attachment-item/bimplus-attachment-item.component.mjs +82 -0
- package/esm2022/lib/components/bimplus-attachments/services/bimplus-attachments.service.mjs +49 -0
- package/esm2022/lib/components/bimplus-buttons-row/bimplus-buttons-row.component.mjs +20 -7
- package/esm2022/lib/components/bimplus-buttons-row/bimplus-buttons-row.interface.mjs +5 -2
- package/esm2022/lib/components/bimplus-comment/bimplus-comment.component.mjs +68 -0
- package/esm2022/lib/components/bimplus-connection-designer/bimplus-connection-designer.component.mjs +7 -7
- package/esm2022/lib/components/bimplus-connection-designer/bimplus-connection-designer.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-connection-designer/bimplus-connection-designer.service.mjs +4 -4
- package/esm2022/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-contact/bimplus-contact.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-context-menu/bimplus-context-menu.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-context-menu/bimplus-context-menu.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-flat-tree/bimplus-flat-tree.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-flat-tree/bimplus-flat-tree.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-floating-bar/bimplus-floating-bar.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-floating-bar/bimplus-floating-bar.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-floating-bar-body/bimplus-floating-bar-body.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-floating-bar-dragger/bimplus-floating-bar-dragger.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-floating-bar-header-content/bimplus-floating-bar-header-content.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.mjs +4 -4
- package/esm2022/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.mjs +4 -4
- package/esm2022/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.component.mjs +4 -4
- package/esm2022/lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service.mjs +3 -3
- package/esm2022/lib/components/bimplus-input-text-field/bimplus-input-text-field.component.mjs +58 -0
- package/esm2022/lib/components/bimplus-language-menu/bimplus-language-menu.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-localized-widget/bimplus-localized-widget.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-main-menu/bimplus-main-menu.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-navbar/bimplus-navbar.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-notify/bimplus-notify.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.component.mjs +242 -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 +5 -5
- package/esm2022/lib/components/bimplus-object-navigator/bimplus-object-navigator.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.mjs +5 -5
- 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/filter-criterium/filter-criterium.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-object-navigator/object-filter-result/object-filter-result.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-object-structure/bimplus-object-structure.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-overlay-dialog-confirm/bimplus-overlay-dialog-confirm.component.mjs +73 -0
- package/esm2022/lib/components/bimplus-overlay-dialog-delete/bimplus-overlay-dialog-delete.component.mjs +75 -0
- package/esm2022/lib/components/bimplus-overlay-dialog-error/bimplus-overlay-dialog-error.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-dialog-warning.component.mjs +10 -7
- package/esm2022/lib/components/bimplus-panel-toolbar/bimplus-panel-toolbar.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-project-menu/bimplus-project-menu.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-sidenav/bimplus-sidenav.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-sidenav-drawer-content/bimplus-sidenav-drawer-content.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-storage-info/bimplus-storage-info.component.mjs +3 -3
- 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-text-message/bimplus-text-message.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-textarea/autoResizeTextarea.directive.mjs +83 -0
- package/esm2022/lib/components/bimplus-textarea/bimplus-textarea.component.mjs +122 -0
- package/esm2022/lib/components/bimplus-tool-hub/bimplus-tool-hub.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-tool-hub/svgGenerator.mjs +1 -1
- package/esm2022/lib/components/bimplus-tool-hub/tool-hub-item/tool-hub-item.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-tool-hub/tool-hub-sub-item/tool-hub-sub-item.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.interface.mjs +1 -1
- package/esm2022/lib/components/bimplus-touch-menu/bimplus-touch-menu.component.mjs +5 -5
- package/esm2022/lib/components/bimplus-user-menu/bimplus-user-menu.component.mjs +3 -3
- package/esm2022/lib/components/bimplus-zoom/bimplus-zoom.component.mjs +5 -5
- package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +3 -3
- package/esm2022/lib/components/expansion-panel-header/expansion-panel-header.component.mjs +3 -3
- package/esm2022/lib/components/expansion-panel-header-actions/expansion-panel-header-actions.component.mjs +3 -3
- package/esm2022/lib/components/links-to-documents/links-to-documents.component.interface.mjs +2 -0
- package/esm2022/lib/components/links-to-documents/links-to-documents.component.mjs +337 -0
- package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +3 -3
- package/esm2022/lib/components/object-hyperlinks/object-hyperlinks.component.mjs +141 -0
- package/esm2022/lib/components/object-hyperlinks-item/object-hyperlinks-item.component.mjs +36 -0
- package/esm2022/lib/components/object-properties/object-properties.component.mjs +261 -0
- package/esm2022/lib/components/object-properties/object-properties.interface.mjs +2 -0
- package/esm2022/lib/components/object-properties-group/object-properties-group.component.mjs +40 -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 +21 -6
- package/esm2022/lib/components/object-properties-header/object-properties-header.interface.mjs +1 -1
- package/esm2022/lib/components/project-models/project-models.component.mjs +3 -3
- package/esm2022/lib/components/project-models/project-models.interface.mjs +1 -1
- package/esm2022/lib/components/resizable-panel/resizable-panel.component.mjs +5 -5
- package/esm2022/lib/directives/click-outside/click-outside.directive.mjs +4 -4
- package/esm2022/lib/directives/component-draggable/componentsDraggable.directive.mjs +3 -3
- package/esm2022/lib/directives/draggable.directive.mjs +3 -3
- package/esm2022/lib/directives/resizable.directive.mjs +4 -4
- package/esm2022/lib/directives/x-draggable.directive.mjs +3 -3
- package/esm2022/lib/interfaces/bimplus-opacity-properties.interface.mjs +1 -1
- package/esm2022/lib/interfaces/bimplus-visibility-properties.interface.mjs +1 -1
- package/esm2022/lib/ngx-bimplus-components.component.mjs +3 -3
- package/esm2022/lib/ngx-bimplus-components.service.mjs +3 -3
- package/esm2022/lib/pipes/bit-converter.pipe.mjs +46 -0
- package/esm2022/lib/pipes/get-attribute-value.pipe.mjs +110 -0
- package/esm2022/lib/pipes/pxsuffix.pipe.mjs +3 -3
- package/esm2022/lib/pipes/round.pipe.mjs +20 -0
- package/esm2022/lib/services/cursors.service.mjs +3 -3
- package/esm2022/lib/services/language-strings.service.mjs +3 -3
- package/esm2022/lib/services/layout-manager.service.mjs +3 -3
- package/esm2022/lib/services/local-storage.service.mjs +4 -4
- package/esm2022/lib/services/resize-observer.service.mjs +4 -4
- package/esm2022/lib/types/types.mjs +1 -1
- package/esm2022/lib/utils/filterString.mjs +1 -1
- package/esm2022/lib/utils/filterStructureFetcher.mjs +1 -1
- package/esm2022/lib/utils/objectProperties.mjs +9 -0
- package/esm2022/lib/utils/utils.mjs +1 -1
- package/esm2022/public-api.mjs +17 -1
- package/fesm2022/ngx-bimplus-components.mjs +2317 -249
- package/fesm2022/ngx-bimplus-components.mjs.map +1 -1
- package/lib/components/bimplus-attachments/bimplus-attachments.component.d.ts +25 -0
- package/lib/components/bimplus-attachments/bimplus-attachments.interface.d.ts +19 -0
- package/lib/components/bimplus-attachments/components/bimplus-attachment-item/bimplus-attachment-item.component.d.ts +26 -0
- package/lib/components/bimplus-attachments/services/bimplus-attachments.service.d.ts +12 -0
- package/lib/components/bimplus-buttons-row/bimplus-buttons-row.component.d.ts +9 -3
- package/lib/components/bimplus-buttons-row/bimplus-buttons-row.interface.d.ts +5 -0
- package/lib/components/bimplus-comment/bimplus-comment.component.d.ts +34 -0
- package/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.d.ts +1 -1
- package/lib/components/bimplus-input-text-field/bimplus-input-text-field.component.d.ts +17 -0
- package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.component.d.ts +51 -0
- package/lib/components/bimplus-object-comments-list/bimplusObjectCommentsI.d.ts +11 -0
- package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.d.ts +7 -7
- package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.interface.d.ts +3 -3
- package/lib/components/bimplus-overlay-dialog-confirm/bimplus-overlay-dialog-confirm.component.d.ts +28 -0
- package/lib/components/bimplus-overlay-dialog-delete/bimplus-overlay-dialog-delete.component.d.ts +23 -0
- package/lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-dialog-warning.component.d.ts +3 -0
- package/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.d.ts +1 -1
- 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 +55 -0
- package/lib/components/links-to-documents/links-to-documents.component.interface.d.ts +11 -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-properties/object-properties.component.d.ts +45 -0
- package/lib/components/object-properties/object-properties.interface.d.ts +21 -0
- package/lib/components/object-properties-group/object-properties-group.component.d.ts +11 -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 +5 -3
- package/lib/components/object-properties-header/object-properties-header.interface.d.ts +1 -0
- package/lib/pipes/bit-converter.pipe.d.ts +17 -0
- package/lib/pipes/get-attribute-value.pipe.d.ts +23 -0
- package/lib/pipes/round.pipe.d.ts +7 -0
- package/lib/utils/objectProperties.d.ts +2 -0
- package/package.json +12 -5
- package/public-api.d.ts +16 -0
|
@@ -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 { OnInit } from '@angular/core';
|
|
2
|
+
import { BimplusLocalizedWidgetComponent } from '../bimplus-localized-widget/bimplus-localized-widget.component';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { ObjectStructureNode } from '../bimplus-object-structure/bimplus-object-structure.interface';
|
|
5
|
+
import * as WebSdk from 'bimplus-websdk';
|
|
6
|
+
import { ComplexPropertiesNode } from '../bimplus-object-complex-properties/bimplus-object-complex-properties.interface';
|
|
7
|
+
import { ObjectAttributeGroup } from './object-properties.interface';
|
|
8
|
+
import { BimplusButtonRowItem, BimplusButtonClickEvent } from "../bimplus-buttons-row/bimplus-buttons-row.interface";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ObjectPropertiesComponent extends BimplusLocalizedWidgetComponent implements OnInit {
|
|
11
|
+
constructor(translateService: TranslateService);
|
|
12
|
+
protected _editMode: boolean;
|
|
13
|
+
private _objectStructure;
|
|
14
|
+
get objectStructure(): ObjectStructureNode | null;
|
|
15
|
+
private _complexProperties;
|
|
16
|
+
get complexProperties(): ComplexPropertiesNode | null;
|
|
17
|
+
api: WebSdk.Api | null;
|
|
18
|
+
revision: number | undefined;
|
|
19
|
+
set rootObjectId(id: string);
|
|
20
|
+
get rootObjectId(): string;
|
|
21
|
+
private readonly _currentObjectId$;
|
|
22
|
+
private readonly _currentPropertiesObjectId$;
|
|
23
|
+
private _rootObjectId;
|
|
24
|
+
buttonRowItems: Array<BimplusButtonRowItem>;
|
|
25
|
+
configEditProperties: Array<BimplusButtonRowItem>;
|
|
26
|
+
configEditedProperties: Array<BimplusButtonRowItem>;
|
|
27
|
+
_editPropertiesButtonsConfiguration(): void;
|
|
28
|
+
_editedPropertiesButtonsConfiguration(): void;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
handleObjectStructureNodeSelected(node: ObjectStructureNode): void;
|
|
31
|
+
handleComplexPropertyNodeSelected(node: ComplexPropertiesNode): void;
|
|
32
|
+
private _loadObjectStructure;
|
|
33
|
+
private _createObjectStructure;
|
|
34
|
+
private _loadObjectComplexPropertiesStructure;
|
|
35
|
+
private _createComplexPropertiestructure;
|
|
36
|
+
objectAttributeGroups: ObjectAttributeGroup[];
|
|
37
|
+
private _loadObjectProperties;
|
|
38
|
+
private _createObjectProperties;
|
|
39
|
+
private _tooltip;
|
|
40
|
+
private _createAttributeGroupsFromResponse;
|
|
41
|
+
buttonClicked($event: BimplusButtonClickEvent): void;
|
|
42
|
+
hasSetAnyAttribute(objectAttributeGroup: ObjectAttributeGroup): boolean;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesComponent, "lib-object-properties", never, { "api": { "alias": "api"; "required": false; }; "revision": { "alias": "revision"; "required": false; }; "rootObjectId": { "alias": "rootObjectId"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface ObjectAttribute {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
group: string;
|
|
6
|
+
type: string;
|
|
7
|
+
unit: string;
|
|
8
|
+
value: string;
|
|
9
|
+
decimal: number;
|
|
10
|
+
control: string;
|
|
11
|
+
enumdefinition: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
isChangeable: boolean;
|
|
15
|
+
tooltip: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ObjectAttributeGroup {
|
|
18
|
+
name: string;
|
|
19
|
+
attributes: ObjectAttribute[];
|
|
20
|
+
expanded: boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ObjectAttributeGroup, ObjectAttribute } from '../object-properties/object-properties.interface';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ObjectPropertiesGroupComponent {
|
|
4
|
+
editMode: boolean;
|
|
5
|
+
protected _attributesGroup: import("@angular/core").WritableSignal<ObjectAttributeGroup>;
|
|
6
|
+
set attributesGroup(value: ObjectAttributeGroup | undefined);
|
|
7
|
+
constructor();
|
|
8
|
+
isValueBlank(attrib: ObjectAttribute): boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesGroupComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesGroupComponent, "lib-object-properties-group", never, { "editMode": { "alias": "editMode"; "required": false; }; "attributesGroup": { "alias": "attributesGroup"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ObjectPropertyValueComponent {
|
|
3
|
+
protected _tooltip: import("@angular/core").WritableSignal<string>;
|
|
4
|
+
protected _value: import("@angular/core").WritableSignal<string>;
|
|
5
|
+
protected _valueIsUrl: import("@angular/core").WritableSignal<boolean>;
|
|
6
|
+
protected _decoratedHyperlink: import("@angular/core").WritableSignal<string>;
|
|
7
|
+
set value(value: string);
|
|
8
|
+
set tooltip(tooltip: string);
|
|
9
|
+
private _isUrl;
|
|
10
|
+
private _decorateHyperlink;
|
|
11
|
+
constructor();
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertyValueComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertyValueComponent, "lib-object-property-value", never, { "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, SimpleChanges, OnChanges } from '@angular/core';
|
|
2
2
|
import { SelectedObject } from './object-properties-header.interface';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { BimplusLocalizedWidgetComponent } from '../bimplus-localized-widget/bimplus-localized-widget.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ObjectPropertiesHeaderComponent extends BimplusLocalizedWidgetComponent {
|
|
6
|
+
export declare class ObjectPropertiesHeaderComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
|
|
7
7
|
constructor(translateService: TranslateService);
|
|
8
|
+
selectedObject: EventEmitter<SelectedObject>;
|
|
8
9
|
closePropertiesPanel: EventEmitter<any>;
|
|
9
10
|
selectedObjects: Array<SelectedObject>;
|
|
10
11
|
_activeObject: SelectedObject | null;
|
|
11
12
|
set activeObject(value: SelectedObject | null);
|
|
12
13
|
get activeObject(): SelectedObject | null;
|
|
13
14
|
_closePropertiesPanel(event: Event): void;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesHeaderComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesHeaderComponent, "lib-object-properties-header", never, { "selectedObjects": { "alias": "selectedObjects"; "required": false; }; }, { "closePropertiesPanel": "closePropertiesPanel"; }, never, never, true, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectPropertiesHeaderComponent, "lib-object-properties-header", never, { "selectedObjects": { "alias": "selectedObjects"; "required": false; }; }, { "selectedObject": "selectedObject"; "closePropertiesPanel": "closePropertiesPanel"; }, never, never, true, never>;
|
|
16
18
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DecimalPipe } from '@angular/common';
|
|
2
|
+
import { PipeTransform } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const BitConverterSize: {
|
|
5
|
+
readonly KB: "kB";
|
|
6
|
+
readonly GB: "gib";
|
|
7
|
+
readonly MB: "mb";
|
|
8
|
+
};
|
|
9
|
+
export declare class BitConverterPipe extends DecimalPipe implements PipeTransform {
|
|
10
|
+
transform(value: number | string, digitsInfo?: string, locale?: string): string | null;
|
|
11
|
+
transform(value: null | undefined, digitsInfo?: string, locale?: string): null;
|
|
12
|
+
transform(value: number | string | null | undefined, digitsInfo?: string, locale?: string): string | null;
|
|
13
|
+
private getSizeFromBites;
|
|
14
|
+
private isNumber;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BitConverterPipe, never>;
|
|
16
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BitConverterPipe, "bitConverter", true>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ObjectAttribute } from '../components/object-properties/object-properties.interface';
|
|
3
|
+
import 'moment/min/locales';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GetAttributeValue implements PipeTransform {
|
|
6
|
+
constructor();
|
|
7
|
+
_transformDouble(value: ObjectAttribute): string;
|
|
8
|
+
_transformDatetime(value: ObjectAttribute): string;
|
|
9
|
+
_transformGUIDorInt(value: ObjectAttribute): string;
|
|
10
|
+
_transformString(value: ObjectAttribute): string;
|
|
11
|
+
_transformCheckbox(value: ObjectAttribute): string;
|
|
12
|
+
_transformBoolean(value: ObjectAttribute): string;
|
|
13
|
+
transform(value: ObjectAttribute): string;
|
|
14
|
+
private isEmpty;
|
|
15
|
+
private isDouble;
|
|
16
|
+
private isDatetime;
|
|
17
|
+
private isGUIDorInt;
|
|
18
|
+
private isString;
|
|
19
|
+
private isCheckbox;
|
|
20
|
+
private isBoolean;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetAttributeValue, never>;
|
|
22
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetAttributeValue, "getAttributeValue", true>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RoundPipe implements PipeTransform {
|
|
4
|
+
transform(value: string, decimal: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoundPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RoundPipe, "round", true>;
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-bimplus-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.149-28792-3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "",
|
|
6
6
|
"description": "bim+ angular components library",
|
|
@@ -27,16 +27,23 @@
|
|
|
27
27
|
"@ng-select/ng-select": "^13.9.1",
|
|
28
28
|
"@ngx-translate/core": "^16.0.3",
|
|
29
29
|
"@ngx-translate/http-loader": "^16.0.0",
|
|
30
|
-
"
|
|
30
|
+
"@types/validator": "^13.12.2",
|
|
31
|
+
"moment": "^2.30.1",
|
|
32
|
+
"simplebar": "^6.2.7",
|
|
33
|
+
"validator": "^13.12.0"
|
|
31
34
|
},
|
|
32
35
|
"dependencies": {
|
|
33
36
|
"@angular/cdk": "18.2.13",
|
|
34
37
|
"@angular/material": "18.2.13",
|
|
35
38
|
"@ng-select/ng-select": "^13.9.1",
|
|
36
39
|
"@ngx-translate/http-loader": "^16.0.0",
|
|
37
|
-
"
|
|
40
|
+
"@types/validator": "^13.12.2",
|
|
41
|
+
"bimplus-webclient": "^0.1.55",
|
|
42
|
+
"bimplus-websdk": "^1.0.31",
|
|
43
|
+
"moment": "^2.30.1",
|
|
38
44
|
"simplebar": "^6.2.7",
|
|
39
|
-
"tslib": "^2.8.1"
|
|
45
|
+
"tslib": "^2.8.1",
|
|
46
|
+
"validator": "^13.12.0"
|
|
40
47
|
},
|
|
41
48
|
"sideEffects": false,
|
|
42
49
|
"module": "fesm2022/ngx-bimplus-components.mjs",
|
|
@@ -52,4 +59,4 @@
|
|
|
52
59
|
"default": "./fesm2022/ngx-bimplus-components.mjs"
|
|
53
60
|
}
|
|
54
61
|
}
|
|
55
|
-
}
|
|
62
|
+
}
|
package/public-api.d.ts
CHANGED
|
@@ -45,6 +45,22 @@ export * from './lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-d
|
|
|
45
45
|
export * from './lib/components/resizable-panel/resizable-panel.component';
|
|
46
46
|
export * from './lib/components/object-properties-header/object-properties-header.component';
|
|
47
47
|
export * from './lib/components/object-properties-header/object-properties-header.interface';
|
|
48
|
+
export * from './lib/components/object-properties/object-properties.component';
|
|
49
|
+
export * from './lib/components/links-to-documents/links-to-documents.component';
|
|
50
|
+
export * from './lib/components/object-hyperlinks/object-hyperlinks.component';
|
|
48
51
|
export * from './lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.component';
|
|
49
52
|
export * from './lib/components/bimplus-overlay-dialog-error/bimplus-overlay-dialog-error.component';
|
|
53
|
+
export * from './lib/components/bimplus-overlay-dialog-confirm/bimplus-overlay-dialog-confirm.component';
|
|
54
|
+
export * from './lib/components/bimplus-input-text-field/bimplus-input-text-field.component';
|
|
50
55
|
export * from './lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service';
|
|
56
|
+
export * from './lib/components/bimplus-tabs-switcher/components/bimplus-tab/bimplus-tab.component';
|
|
57
|
+
export * from './lib/components/bimplus-tabs-switcher/services/bimplus-tabs-switcher.service';
|
|
58
|
+
export * from './lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.component';
|
|
59
|
+
export * from './lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.interface';
|
|
60
|
+
export * from './lib/components/bimplus-attachments/bimplus-attachments.component';
|
|
61
|
+
export * from './lib/components/bimplus-attachments/services/bimplus-attachments.service';
|
|
62
|
+
export * from './lib/components/bimplus-attachments/bimplus-attachments.interface';
|
|
63
|
+
export * from './lib/components/bimplus-object-comments-list/bimplus-object-comments-list.component';
|
|
64
|
+
export * from './lib/components/bimplus-overlay-dialog-delete/bimplus-overlay-dialog-delete.component';
|
|
65
|
+
export * from './lib/components/bimplus-comment/bimplus-comment.component';
|
|
66
|
+
export * from './lib/components/bimplus-textarea/bimplus-textarea.component';
|