ngx-bimplus-components 0.0.195 → 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.
Files changed (143) hide show
  1. package/fesm2022/ngx-bimplus-components.mjs +567 -578
  2. package/fesm2022/ngx-bimplus-components.mjs.map +1 -1
  3. package/index.d.ts +2350 -5
  4. package/package.json +13 -13
  5. package/lib/components/bimplus-attachments/bimplus-attachments.component.d.ts +0 -39
  6. package/lib/components/bimplus-attachments/bimplus-attachments.interface.d.ts +0 -33
  7. package/lib/components/bimplus-attachments/components/bimplus-attachment-item/bimplus-attachment-item.component.d.ts +0 -30
  8. package/lib/components/bimplus-attachments/services/bimplus-attachments.service.d.ts +0 -8
  9. package/lib/components/bimplus-buttons-row/bimplus-buttons-row.component.d.ts +0 -21
  10. package/lib/components/bimplus-buttons-row/bimplus-buttons-row.interface.d.ts +0 -19
  11. package/lib/components/bimplus-comment/bimplus-comment.component.d.ts +0 -39
  12. package/lib/components/bimplus-connection-designer/bimplus-connection-designer.component.d.ts +0 -29
  13. package/lib/components/bimplus-connection-designer/bimplus-connection-designer.interface.d.ts +0 -6
  14. package/lib/components/bimplus-connection-designer/bimplus-connection-designer.service.d.ts +0 -11
  15. package/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.component.d.ts +0 -39
  16. package/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.interface.d.ts +0 -22
  17. package/lib/components/bimplus-contact/bimplus-contact.component.d.ts +0 -11
  18. package/lib/components/bimplus-context-menu/bimplus-context-menu.component.d.ts +0 -28
  19. package/lib/components/bimplus-context-menu/bimplus-context-menu.interface.d.ts +0 -13
  20. package/lib/components/bimplus-flat-tree/bimplus-flat-tree.component.d.ts +0 -77
  21. package/lib/components/bimplus-flat-tree/bimplus-flat-tree.interface.d.ts +0 -25
  22. package/lib/components/bimplus-floating-bar/bimplus-floating-bar.component.d.ts +0 -33
  23. package/lib/components/bimplus-floating-bar/bimplus-floating-bar.interface.d.ts +0 -9
  24. package/lib/components/bimplus-floating-bar-body/bimplus-floating-bar-body.component.d.ts +0 -14
  25. package/lib/components/bimplus-floating-bar-dragger/bimplus-floating-bar-dragger.component.d.ts +0 -13
  26. package/lib/components/bimplus-floating-bar-header-content/bimplus-floating-bar-header-content.component.d.ts +0 -20
  27. package/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.d.ts +0 -19
  28. package/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.d.ts +0 -22
  29. package/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.d.ts +0 -25
  30. package/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.d.ts +0 -39
  31. package/lib/components/bimplus-general-overlay-dialog/bimplus-general-dialog-config-settings.d.ts +0 -24
  32. package/lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.component.d.ts +0 -25
  33. package/lib/components/bimplus-general-overlay-dialog/bimplus-general-overlay-dialog.service.d.ts +0 -26
  34. package/lib/components/bimplus-input-checkbox/bimplus-input-checkbox.component.d.ts +0 -18
  35. package/lib/components/bimplus-input-combobox/bimplus-input-combobox.component.d.ts +0 -41
  36. package/lib/components/bimplus-input-date/bimplus-input-date.component.d.ts +0 -46
  37. package/lib/components/bimplus-input-number/bimplus-input-number.component.d.ts +0 -26
  38. package/lib/components/bimplus-input-text-field/bimplus-input-text-field.component.d.ts +0 -28
  39. package/lib/components/bimplus-language-menu/bimplus-language-menu.component.d.ts +0 -19
  40. package/lib/components/bimplus-link-tooltip-message/bimplus-link-tooltip-message.component.d.ts +0 -22
  41. package/lib/components/bimplus-localized-widget/bimplus-localized-widget.component.d.ts +0 -16
  42. package/lib/components/bimplus-main-menu/bimplus-main-menu.component.d.ts +0 -154
  43. package/lib/components/bimplus-navbar/bimplus-navbar.component.d.ts +0 -37
  44. package/lib/components/bimplus-navbar/logo-state.enum.d.ts +0 -7
  45. package/lib/components/bimplus-notify/bimplus-notify.component.d.ts +0 -101
  46. package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.component.d.ts +0 -88
  47. package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.interface.d.ts +0 -21
  48. package/lib/components/bimplus-object-comments-list/bimplus-object-comments-list.service.d.ts +0 -20
  49. package/lib/components/bimplus-object-complex-properties/bimplus-object-complex-properties.component.d.ts +0 -17
  50. package/lib/components/bimplus-object-complex-properties/bimplus-object-complex-properties.interface.d.ts +0 -10
  51. package/lib/components/bimplus-object-navigator/bimplus-object-navigator.component.d.ts +0 -67
  52. package/lib/components/bimplus-object-navigator/bimplus-object-navigator.interface.d.ts +0 -17
  53. package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.d.ts +0 -55
  54. package/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.interface.d.ts +0 -21
  55. package/lib/components/bimplus-object-navigator/filter-criterium/filter-criterium.component.d.ts +0 -14
  56. package/lib/components/bimplus-object-navigator/object-filter-result/object-filter-result.component.d.ts +0 -40
  57. package/lib/components/bimplus-object-structure/bimplus-object-structure.component.d.ts +0 -23
  58. package/lib/components/bimplus-object-structure/bimplus-object-structure.interface.d.ts +0 -12
  59. package/lib/components/bimplus-overlay-dialog-confirm/bimplus-overlay-dialog-confirm.component.d.ts +0 -33
  60. package/lib/components/bimplus-overlay-dialog-delete/bimplus-overlay-dialog-delete.component.d.ts +0 -29
  61. package/lib/components/bimplus-overlay-dialog-error/bimplus-overlay-dialog-error.component.d.ts +0 -28
  62. package/lib/components/bimplus-overlay-dialog-warning/bimplus-overlay-dialog-warning.component.d.ts +0 -31
  63. package/lib/components/bimplus-overlay-message/bimplus-overlay-message.component.d.ts +0 -11
  64. package/lib/components/bimplus-panel-toolbar/bimplus-panel-toolbar.component.d.ts +0 -6
  65. package/lib/components/bimplus-project-menu/bimplus-project-menu.component.d.ts +0 -78
  66. package/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.d.ts +0 -16
  67. package/lib/components/bimplus-sidenav/bimplus-sidenav.component.d.ts +0 -32
  68. package/lib/components/bimplus-sidenav-drawer-content/bimplus-sidenav-drawer-content.component.d.ts +0 -8
  69. package/lib/components/bimplus-status-bar/bimplus-status-bar.component.d.ts +0 -14
  70. package/lib/components/bimplus-status-bar/bimplus-status-bar.service.d.ts +0 -14
  71. package/lib/components/bimplus-status-bar/statusBar.d.ts +0 -4
  72. package/lib/components/bimplus-storage-info/bimplus-storage-info.component.d.ts +0 -18
  73. package/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.component.d.ts +0 -16
  74. package/lib/components/bimplus-tabs-switcher/bimplus-tabs-switcher.interface.d.ts +0 -18
  75. package/lib/components/bimplus-tabs-switcher/components/bimplus-tab/bimplus-tab.component.d.ts +0 -36
  76. package/lib/components/bimplus-tabs-switcher/services/bimplus-tabs-switcher.service.d.ts +0 -15
  77. package/lib/components/bimplus-text-message/bimplus-text-message.component.d.ts +0 -6
  78. package/lib/components/bimplus-textarea/auto-resize-textarea.directive.d.ts +0 -24
  79. package/lib/components/bimplus-textarea/bimplus-textarea.component.d.ts +0 -42
  80. package/lib/components/bimplus-tool-hub/bimplus-tool-hub.component.d.ts +0 -78
  81. package/lib/components/bimplus-tool-hub/bimplus-tool-hub.interface.d.ts +0 -50
  82. package/lib/components/bimplus-tool-hub/svg-generator.d.ts +0 -32
  83. package/lib/components/bimplus-tool-hub/tool-hub-item/tool-hub-item.component.d.ts +0 -10
  84. package/lib/components/bimplus-tool-hub/tool-hub-sub-item/tool-hub-sub-item.component.d.ts +0 -11
  85. package/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.component.d.ts +0 -27
  86. package/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.interface.d.ts +0 -15
  87. package/lib/components/bimplus-touch-menu/bimplus-touch-menu.component.d.ts +0 -49
  88. package/lib/components/bimplus-user-menu/bimplus-user-menu.component.d.ts +0 -108
  89. package/lib/components/bimplus-zoom/bimplus-zoom.component.d.ts +0 -45
  90. package/lib/components/expansion-panel/expansion-panel.component.d.ts +0 -7
  91. package/lib/components/expansion-panel-header/expansion-panel-header.component.d.ts +0 -6
  92. package/lib/components/expansion-panel-header-actions/expansion-panel-header-actions.component.d.ts +0 -5
  93. package/lib/components/links-to-documents/links-to-documents.component.d.ts +0 -69
  94. package/lib/components/loading-spinner/loading-spinner.component.d.ts +0 -17
  95. package/lib/components/object-hyperlinks/object-hyperlinks.component.d.ts +0 -32
  96. package/lib/components/object-hyperlinks-item/object-hyperlinks-item.component.d.ts +0 -15
  97. package/lib/components/object-preview/object-preview.component.d.ts +0 -45
  98. package/lib/components/object-preview/object-preview.interface.d.ts +0 -5
  99. package/lib/components/object-properties/object-properties.component.d.ts +0 -79
  100. package/lib/components/object-properties/object-properties.interface.d.ts +0 -22
  101. package/lib/components/object-properties/object-properties.service.d.ts +0 -12
  102. package/lib/components/object-properties-group/object-properties-group.component.d.ts +0 -30
  103. package/lib/components/object-properties-group/object-property-value/object-property-value.component.d.ts +0 -14
  104. package/lib/components/object-properties-header/object-properties-header.component.d.ts +0 -25
  105. package/lib/components/object-properties-header/object-properties-header.interface.d.ts +0 -12
  106. package/lib/components/project-models/project-models.component.d.ts +0 -20
  107. package/lib/components/project-models/project-models.interface.d.ts +0 -26
  108. package/lib/components/resizable-panel/resizable-panel.component.d.ts +0 -21
  109. package/lib/directives/click-outside/click-outside.directive.d.ts +0 -10
  110. package/lib/directives/component-draggable/componentsDraggable.directive.d.ts +0 -20
  111. package/lib/directives/draggable.directive.d.ts +0 -18
  112. package/lib/directives/resizable.directive.d.ts +0 -79
  113. package/lib/directives/x-draggable.directive.d.ts +0 -16
  114. package/lib/interfaces/bimplus-opacity-properties.interface.d.ts +0 -4
  115. package/lib/interfaces/bimplus-visibility-properties.interface.d.ts +0 -4
  116. package/lib/ngx-bimplus-components.component.d.ts +0 -5
  117. package/lib/ngx-bimplus-components.service.d.ts +0 -5
  118. package/lib/pipes/bit-converter.pipe.d.ts +0 -17
  119. package/lib/pipes/datetime.pipe.d.ts +0 -7
  120. package/lib/pipes/format-value.pipe.d.ts +0 -7
  121. package/lib/pipes/get-attribute-value-as-string.pipe.d.ts +0 -35
  122. package/lib/pipes/get-attribute-value.pipe.d.ts +0 -35
  123. package/lib/pipes/pxsuffix.pipe.d.ts +0 -7
  124. package/lib/pipes/round.pipe.d.ts +0 -7
  125. package/lib/services/cursors.service.d.ts +0 -17
  126. package/lib/services/decorators.service.d.ts +0 -12
  127. package/lib/services/language-strings.service.d.ts +0 -18
  128. package/lib/services/layout-manager.service.d.ts +0 -96
  129. package/lib/services/local-storage.service.d.ts +0 -18
  130. package/lib/services/resize-observer.service.d.ts +0 -12
  131. package/lib/types/types.d.ts +0 -15
  132. package/lib/utils/filterString.d.ts +0 -11
  133. package/lib/utils/filterStructureFetcher.d.ts +0 -5
  134. package/lib/utils/objectProperties.d.ts +0 -2
  135. package/lib/utils/utils.d.ts +0 -22
  136. package/lib/validators/double-enum.validator.d.ts +0 -2
  137. package/lib/validators/double.validator.d.ts +0 -2
  138. package/lib/validators/guid-enum.validator.d.ts +0 -2
  139. package/lib/validators/guid.validator.d.ts +0 -2
  140. package/lib/validators/integer.validator.d.ts +0 -2
  141. package/lib/validators/string-combobox.validator.d.ts +0 -2
  142. package/lib/validators/string-enum.validator.d.ts +0 -2
  143. package/public-api.d.ts +0 -72
@@ -1,12 +0,0 @@
1
- export interface SelectedObject {
2
- id: string;
3
- name?: string;
4
- revision?: number;
5
- type?: string;
6
- }
7
- export interface CreateLinkData {
8
- link: string;
9
- titleHeader: string;
10
- linkMessageVisible: boolean;
11
- enableCopyPressKeys: boolean;
12
- }
@@ -1,20 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { TranslateService } from '@ngx-translate/core';
3
- import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
4
- import { ProjectNavigatorModel, ProjectNavigatorLayer } from './project-models.interface';
5
- import * as i0 from "@angular/core";
6
- export declare class ProjectModelsComponent extends BimplusLocalizedWidgetComponent {
7
- constructor(translateService: TranslateService);
8
- modelTreeRootTitle: string;
9
- modelTreeRootName: string;
10
- expandedModelTree: boolean;
11
- models: import("@angular/core").InputSignal<ProjectNavigatorModel[]>;
12
- clickedModel: EventEmitter<ProjectNavigatorModel>;
13
- clickedLayer: EventEmitter<ProjectNavigatorLayer>;
14
- toggleOpacityOfModel: EventEmitter<ProjectNavigatorModel>;
15
- toggleOpacityOfLayer: EventEmitter<ProjectNavigatorLayer>;
16
- toggleVisibilityOfModel: EventEmitter<ProjectNavigatorModel>;
17
- toggleVisibilityOfLayer: EventEmitter<ProjectNavigatorLayer>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ProjectModelsComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<ProjectModelsComponent, "lib-project-models", never, { "modelTreeRootTitle": { "alias": "modelTreeRootTitle"; "required": false; }; "modelTreeRootName": { "alias": "modelTreeRootName"; "required": false; }; "expandedModelTree": { "alias": "expandedModelTree"; "required": false; }; "models": { "alias": "models"; "required": false; "isSignal": true; }; }, { "clickedModel": "clickedModel"; "clickedLayer": "clickedLayer"; "toggleOpacityOfModel": "toggleOpacityOfModel"; "toggleOpacityOfLayer": "toggleOpacityOfLayer"; "toggleVisibilityOfModel": "toggleVisibilityOfModel"; "toggleVisibilityOfLayer": "toggleVisibilityOfLayer"; }, never, never, true, never>;
20
- }
@@ -1,26 +0,0 @@
1
- import * as WebSdk from 'bimplus-websdk';
2
- import { OpacityProperties } from './../../interfaces/bimplus-opacity-properties.interface';
3
- import { VisibilityProperties } from './../../interfaces/bimplus-visibility-properties.interface';
4
- export interface ProjectNavigatorProject {
5
- id: WebSdk.ProjectId;
6
- name: string;
7
- teamSlug: string;
8
- models: Array<ProjectNavigatorModel>;
9
- }
10
- export interface ProjectNavigatorModel extends VisibilityProperties, OpacityProperties {
11
- id: WebSdk.ModelId;
12
- name: string;
13
- currentRevision: number;
14
- latestRevision: number;
15
- isExpanded: boolean;
16
- divisionTopologyId: WebSdk.DivisionTopologyId;
17
- layers: Array<ProjectNavigatorLayer> | null;
18
- parentProject?: ProjectNavigatorProject | null;
19
- }
20
- export interface ProjectNavigatorLayer extends VisibilityProperties, OpacityProperties {
21
- id: WebSdk.Guid;
22
- name: string;
23
- opacity: number;
24
- userOpacity: number | null;
25
- parentModel?: ProjectNavigatorModel | null;
26
- }
@@ -1,21 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ResizablePanelComponent implements OnInit, OnDestroy {
4
- position: 'left' | 'right';
5
- hasDraggableHandle: boolean;
6
- hasDraggableBorder: boolean;
7
- minWidth: number | (() => number) | undefined;
8
- maxWidth: number | (() => number) | undefined;
9
- defaultWidth: number;
10
- canResize: (currentWidth: number, deltaX: number) => boolean;
11
- drawerWidth: number;
12
- drawerExpanded: boolean;
13
- ngOnInit(): void;
14
- ngOnDestroy(): void;
15
- applyWidthConstraints(): void;
16
- handleWindowResize: () => void;
17
- _toggleDrawer(): void;
18
- _onResizeWidth(event: number): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizablePanelComponent, never>;
20
- 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>;
21
- }
@@ -1,10 +0,0 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ClickOutsideDirective {
4
- private elementRef;
5
- clickOutside: EventEmitter<void>;
6
- constructor(elementRef: ElementRef);
7
- onClick(targetElement: HTMLElement): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[libClickOutside]", never, {}, { "clickOutside": "clickOutside"; }, never, never, true, never>;
10
- }
@@ -1,20 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ComponentDraggableDirective {
4
- private el;
5
- private renderer;
6
- private _isDraggingActive;
7
- private _isDragging;
8
- startX: number;
9
- startY: number;
10
- constructor(el: ElementRef, renderer: Renderer2);
11
- set libDraggableComponent(condition: boolean);
12
- onMouseDown(event: MouseEvent): void;
13
- onMouseUp(): void;
14
- onMouseMove(event: MouseEvent): void;
15
- onTouchStart(event: TouchEvent): void;
16
- onTouchMove(event: TouchEvent): void;
17
- onTouchEnd(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ComponentDraggableDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentDraggableDirective, "[libDraggableComponent]", never, { "libDraggableComponent": { "alias": "libDraggableComponent"; "required": false; }; }, {}, never, never, true, never>;
20
- }
@@ -1,18 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DraggableDirective {
4
- oldX: number;
5
- oldY: number;
6
- isDragging: boolean;
7
- wasDragging: boolean;
8
- isMouseDown: boolean;
9
- dragging: EventEmitter<[number, number]>;
10
- dragEnd: EventEmitter<MouseEvent>;
11
- clicked: EventEmitter<MouseEvent>;
12
- onMouseMove(event: MouseEvent): void;
13
- onMouseUp(): void;
14
- onMouseDown(event: MouseEvent): void;
15
- onMouseClick(event: MouseEvent): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[libDraggable]", never, {}, { "dragging": "dragging"; "dragEnd": "dragEnd"; "clicked": "clicked"; }, never, never, true, never>;
18
- }
@@ -1,79 +0,0 @@
1
- import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
- import { LayoutManagerService } from '../services/layout-manager.service';
3
- import { ResizeObserverService } from '../services/resize-observer.service';
4
- import * as i0 from "@angular/core";
5
- interface ResizerItem {
6
- 'className': string;
7
- 'resizeStrategy': string;
8
- }
9
- export interface ResizableElement extends HTMLElement {
10
- resizeStrategy?: string;
11
- }
12
- export declare class ResizableDirective implements OnDestroy, OnInit {
13
- private elementRef;
14
- private layoutManagerService;
15
- private resizeObserverService;
16
- resizeContactPointX: number;
17
- resizeContactPointY: number;
18
- resizableElements: ResizableElement[];
19
- resizeEnabled: boolean;
20
- resizeStarted: boolean;
21
- resizeStart: (event: MouseEvent | TouchEvent) => void;
22
- resizeInProgress: (event: MouseEvent | TouchEvent) => void;
23
- boundResizeStart: (event: MouseEvent | TouchEvent) => void;
24
- boundResizeInProgress: (event: MouseEvent | TouchEvent) => void;
25
- boundResizeEnd: (event: MouseEvent | TouchEvent) => void;
26
- _element: HTMLElement;
27
- actResizeStrategy: string;
28
- resizedEnd: EventEmitter<MouseEvent>;
29
- resizersList: ResizerItem[];
30
- constructor(elementRef: ElementRef, layoutManagerService: LayoutManagerService, resizeObserverService: ResizeObserverService);
31
- ngOnInit(): void;
32
- ngOnDestroy(): void;
33
- resizeEnd(): void;
34
- /**--------------------------------------------------------------------------
35
- * find if rectangle 1 is inside rectangle 2
36
- --------------------------------------------------------------------------*/
37
- isInsideRect(rect1: DOMRect, rect2: DOMRect): boolean;
38
- /**--------------------------------------------------------------------------
39
- * resize rectangle by x, y
40
- --------------------------------------------------------------------------*/
41
- _resizeRectangle(rect: DOMRect, resizeX: number, resizeY: number, resizeStrategy: string): DOMRect | undefined;
42
- _maxHeightReset(obj: HTMLElement, elementRect: DOMRect): void;
43
- resizeFromTo(obj: HTMLElement, fromX: number, fromY: number, toX: number, toY: number, resizeStrategy: string): boolean;
44
- /**--------------------------------------------------------------------------
45
- * resize start at the layout managaer
46
- * open document listeners
47
- --------------------------------------------------------------------------*/
48
- /**--------------------------------------------------------------------------
49
- * set the elements used for resizing
50
- --------------------------------------------------------------------------*/
51
- setResizers(element: HTMLElement): void;
52
- /**--------------------------------------------------------------------------
53
- * open mousedown, touchstart listeners on all elements allowed for resizing
54
- --------------------------------------------------------------------------*/
55
- openElementListenersResize(): void;
56
- /**--------------------------------------------------------------------------
57
- * open mouseup, touchend and mousemove, touchmove on document
58
- --------------------------------------------------------------------------*/
59
- openDocumentListenersResize(): void;
60
- /**--------------------------------------------------------------------------
61
- * close mouseup, touchend and mousemove, touchmove on document
62
- --------------------------------------------------------------------------*/
63
- closeDocumentListenersResize(): void;
64
- /**--------------------------------------------------------------------------
65
- * close mousedown, touchstart listeners on all elements allowed for resizing
66
- --------------------------------------------------------------------------*/
67
- closeElementListenersResize(): void;
68
- /**--------------------------------------------------------------------------
69
- * close all listeners
70
- --------------------------------------------------------------------------*/
71
- closeAllListenersResize(): void;
72
- /**--------------------------------------------------------------------------
73
- * setup actual resize strategy
74
- --------------------------------------------------------------------------*/
75
- setupResizeStrategy(event: MouseEvent | TouchEvent): void;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizableDirective, never>;
77
- static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableDirective, "[libResizable]", never, {}, { "resizedEnd": "resizedEnd"; }, never, never, true, never>;
78
- }
79
- export {};
@@ -1,16 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class XDraggableDirective {
4
- oldX: number;
5
- isDragging: boolean;
6
- wasDragging: boolean;
7
- isMouseDown: boolean;
8
- dragging: EventEmitter<number>;
9
- clicked: EventEmitter<MouseEvent>;
10
- onMouseMove(event: MouseEvent): void;
11
- onMouseUp(): void;
12
- onMouseDown(event: MouseEvent): void;
13
- onMouseClick(event: MouseEvent): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<XDraggableDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<XDraggableDirective, "[xDraggable]", never, {}, { "dragging": "dragging"; "clicked": "clicked"; }, never, never, true, never>;
16
- }
@@ -1,4 +0,0 @@
1
- export interface OpacityProperties {
2
- isOpaque: boolean;
3
- isSemiOpaque: boolean;
4
- }
@@ -1,4 +0,0 @@
1
- export interface VisibilityProperties {
2
- isVisible: boolean;
3
- isSemiVisible: boolean;
4
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NgxBimplusComponentsComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxBimplusComponentsComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<NgxBimplusComponentsComponent, "lib-ngx-bimplus-components", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NgxBimplusComponentsService {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxBimplusComponentsService, never>;
4
- static ɵprov: i0.ɵɵInjectableDeclaration<NgxBimplusComponentsService>;
5
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DateTimePipe implements PipeTransform {
4
- transform(value: string, format?: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<DateTimePipe, "DateTime", true>;
7
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FormatValuePipe implements PipeTransform {
4
- transform(value: number | string | boolean | null | undefined): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FormatValuePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<FormatValuePipe, "formatValue", true>;
7
- }
@@ -1,35 +0,0 @@
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 GetAttributeValueAsString implements PipeTransform {
6
- constructor();
7
- _transformDoubleToString(value: ObjectAttribute): string;
8
- _transformDoubleEnumerationToString(value: ObjectAttribute): string;
9
- _transformDatetimeToString(value: ObjectAttribute): string;
10
- _transformGUIDToString(value: ObjectAttribute): string;
11
- _transformEnumerationToString(value: ObjectAttribute): string;
12
- _transformGUIDEnumerationToString(value: ObjectAttribute): string;
13
- _transformIntToString(value: ObjectAttribute): string;
14
- _transformIntEnumerationToString(value: ObjectAttribute): string;
15
- _transformString(value: ObjectAttribute): string;
16
- _transformStringEnumeration(value: ObjectAttribute): string;
17
- _transformStringCombobox(value: ObjectAttribute): string;
18
- _transformBooleanToString(value: ObjectAttribute): string;
19
- transform(value: ObjectAttribute): string;
20
- private isEmpty;
21
- private isDouble;
22
- private isDoubleEnumeration;
23
- private isDatetime;
24
- private isGUID;
25
- private isGUIDEnumeration;
26
- private isInt;
27
- private isIntEnumeration;
28
- private isString;
29
- private isStringEnumeration;
30
- private isStringCombobox;
31
- private isBooleanCheckbox;
32
- private isBooleanTextbox;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<GetAttributeValueAsString, never>;
34
- static ɵpipe: i0.ɵɵPipeDeclaration<GetAttributeValueAsString, "getAttributeValueAsString", true>;
35
- }
@@ -1,35 +0,0 @@
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
- _transformDoubleEnumeration(value: ObjectAttribute): string;
9
- _transformDatetime(value: ObjectAttribute): string;
10
- _transformGUID(value: ObjectAttribute): string;
11
- _transformGUIDEnumeration(value: ObjectAttribute): string;
12
- _transformInt(value: ObjectAttribute): string;
13
- _transformIntEnumeration(value: ObjectAttribute): string;
14
- _transformString(value: ObjectAttribute): string;
15
- _transformStringEnumeration(value: ObjectAttribute): string;
16
- _transformStringCombobox(value: ObjectAttribute): string;
17
- _transformBooleanToBoolean(value: ObjectAttribute): boolean;
18
- _transformBooleanToString(value: ObjectAttribute): string;
19
- transform(value: ObjectAttribute): string | boolean;
20
- private isEmpty;
21
- private isDouble;
22
- private isDoubleEnumeration;
23
- private isDatetime;
24
- private isGUID;
25
- private isGUIDEnumeration;
26
- private isInt;
27
- private isIntEnumeration;
28
- private isString;
29
- private isStringEnumeration;
30
- private isStringCombobox;
31
- private isBooleanCheckbox;
32
- private isBooleanTextbox;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<GetAttributeValue, never>;
34
- static ɵpipe: i0.ɵɵPipeDeclaration<GetAttributeValue, "getAttributeValue", true>;
35
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PxsuffixPipe implements PipeTransform {
4
- transform(input: number): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<PxsuffixPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<PxsuffixPipe, "pxsuffix", true>;
7
- }
@@ -1,7 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare enum CursorType {
3
- Pick = "cursor-pick",
4
- Hide = "cursor-hide"
5
- }
6
- export declare class CursorsService {
7
- private _cursorElement;
8
- private getCursorElement;
9
- private getMainViewportContainer;
10
- private addCursor;
11
- private removeCursor;
12
- setCursorElement(cursorElement: HTMLElement | null): void;
13
- showPickCursor(show: boolean): void;
14
- showHideCursor(show: boolean): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<CursorsService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<CursorsService>;
17
- }
@@ -1,12 +0,0 @@
1
- import * as WebSdk from 'bimplus-websdk';
2
- import * as i0 from "@angular/core";
3
- export declare class DecoratorsService {
4
- constructor();
5
- fmt(string: string, ...formats: unknown[]): string;
6
- /**--------------------------------------------------------------------------
7
- * decorate link
8
- --------------------------------------------------------------------------*/
9
- decorateLink(api: WebSdk.Api, link: WebSdk.AttachmentLink, objectIds: [string]): WebSdk.AttachmentLink;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DecoratorsService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<DecoratorsService>;
12
- }
@@ -1,18 +0,0 @@
1
- import { LocalizedStrings } from './../types/types';
2
- import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject';
3
- import * as i0 from "@angular/core";
4
- export declare class LanguageStringsService {
5
- set languageFilesUri(uri: string);
6
- private readonly defaultLang;
7
- currentLanguage$: BehaviorSubject<string>;
8
- currentLanguageStrings$: BehaviorSubject<LocalizedStrings>;
9
- get currentLanguage(): string;
10
- set currentLanguageStrings(langStrings: LocalizedStrings);
11
- get currentLanguageStrings(): LocalizedStrings;
12
- setCurrentLanguage(lang: string): Promise<void>;
13
- extractLocalizedStrings(stringIds: Array<string>): LocalizedStrings;
14
- fetchLanguageStrings(lang: string): Promise<void>;
15
- private _languageFilesUri;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<LanguageStringsService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<LanguageStringsService>;
18
- }
@@ -1,96 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ResizeObserverService } from './resize-observer.service';
3
- import { LocalStorageService } from './local-storage.service';
4
- import { BehaviorSubject } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export interface LayoutManagerItem {
7
- element: ElementRef;
8
- id: string;
9
- selector?: string;
10
- isCollapsed: boolean;
11
- rememberPosition?: boolean;
12
- left?: number;
13
- top?: number;
14
- width?: number;
15
- height?: number;
16
- }
17
- export interface LayoutManagerConfigItem {
18
- id: string;
19
- isCollapsed: boolean;
20
- left?: number;
21
- top?: number;
22
- width?: number;
23
- height?: number;
24
- }
25
- export declare class LayoutManagerService {
26
- private resizeObserverService;
27
- private localStorageService;
28
- registeredItems$: BehaviorSubject<LayoutManagerItem[]>;
29
- constructor(resizeObserverService: ResizeObserverService, localStorageService: LocalStorageService);
30
- private registeredItems;
31
- get RegisteredItems(): LayoutManagerItem[];
32
- CONFIG: string;
33
- /**--------------------------------------------------------------------------
34
- * register object. object must have unique id or elementId
35
- --------------------------------------------------------------------------*/
36
- registerObject(obj: ElementRef, id: string, selector: string | undefined, rememberPosition: boolean, left?: number, top?: number, width?: number, height?: number): void;
37
- _initObject(obj: LayoutManagerItem): void;
38
- /**--------------------------------------------------------------------------
39
- * get object configuration
40
- * return {left, top, width, heigth}
41
- --------------------------------------------------------------------------*/
42
- _getObjectConfig(obj: LayoutManagerItem): LayoutManagerConfigItem | null;
43
- _adjustObjectByConfig(obj: LayoutManagerItem): void;
44
- _adjustObjectByWindowSize(obj: LayoutManagerItem): void;
45
- /**--------------------------------------------------------------------------
46
- * returns object registered in the layout manager
47
- --------------------------------------------------------------------------*/
48
- getItem(id: string): LayoutManagerItem | null;
49
- /**--------------------------------------------------------------------------
50
- * set object configuration
51
- --------------------------------------------------------------------------*/
52
- _setObjectConfig(obj: LayoutManagerItem, left: number, top: number, width: number, height: number): void;
53
- getDomParentElement(id: string): HTMLElement | null;
54
- _getDomParentElement(item: LayoutManagerItem): HTMLElement | null;
55
- _getDomInternalElement(item: LayoutManagerItem, selector: string | undefined): HTMLElement | null;
56
- _getElementRect(item: LayoutManagerItem, selector: string | undefined, parentRectangle: DOMRect | undefined): DOMRect | null;
57
- checkPosition(id: string, selector: string, parentRectangle: DOMRect | undefined, deltaX: number, deltaY: number, forceCheck?: boolean): {
58
- deltaX: number;
59
- deltaY: number;
60
- } | undefined;
61
- /**--------------------------------------------------------------------------
62
- * find if rectangle 1 is inside rectangle 2
63
- --------------------------------------------------------------------------*/
64
- _isInsideRect(r1: DOMRect, r2: DOMRect): boolean;
65
- /**--------------------------------------------------------------------------
66
- * find if rectangles do not overlap the left and top sides
67
- --------------------------------------------------------------------------*/
68
- _isInsideLeftTopRect(r1: DOMRect, r2: DOMRect): boolean;
69
- /**--------------------------------------------------------------------------
70
- * get position of r1 aligned with the r2 sides
71
- --------------------------------------------------------------------------*/
72
- getAlignedPosition(r1: DOMRect, r2: DOMRect): {
73
- x: number;
74
- y: number;
75
- };
76
- /**--------------------------------------------------------------------------
77
- * get position of r1 aligned with the r2 left, top sides
78
- --------------------------------------------------------------------------*/
79
- _getAlignedLeftTopPosition(r1: DOMRect, r2: DOMRect): {
80
- x: number;
81
- y: number;
82
- };
83
- /**--------------------------------------------------------------------------
84
- * translate rectangle by x, y
85
- --------------------------------------------------------------------------*/
86
- _translateRectangle(rect: DOMRect, translateX: number, translateY: number): DOMRect | undefined;
87
- updateCollapsed(value: boolean, id?: string): void;
88
- handleDragEnd(id: string): void;
89
- /**--------------------------------------------------------------------------
90
- * finalize object changes (position). object must be registered in the layout manager
91
- * object: object to finalize
92
- --------------------------------------------------------------------------*/
93
- finalizeObjectChanges(id: string): void;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutManagerService, never>;
95
- static ɵprov: i0.ɵɵInjectableDeclaration<LayoutManagerService>;
96
- }
@@ -1,18 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class LocalStorageService {
4
- private storageSubject;
5
- constructor();
6
- setItem(key: string, value: string): void;
7
- getItem(key: string): string | null;
8
- removeItem(key: string): void;
9
- clear(): void;
10
- setObject(key: string, value: unknown): void;
11
- getObject(key: string): unknown;
12
- watchStorage(): Observable<{
13
- key: string;
14
- value: unknown;
15
- } | null>;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
18
- }
@@ -1,12 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class ResizeObserverService {
4
- private rectSize$;
5
- private internalRectSize;
6
- parentAppRect$: Observable<DOMRect | undefined>;
7
- constructor();
8
- setSize(newValue: DOMRect): void;
9
- getParentAppRect(): DOMRect;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeObserverService>;
12
- }
@@ -1,15 +0,0 @@
1
- export type LocalizedStrings = {
2
- [key: string]: string;
3
- };
4
- export interface MenuListType {
5
- 'action': string;
6
- 'id': string;
7
- 'type': string;
8
- 'class': string;
9
- 'textId': string;
10
- 'textIdDisabled': string;
11
- 'disabledTitle': string;
12
- 'checkSubscription': boolean;
13
- 'devOrStageOnly': boolean;
14
- 'clickPolicy': string;
15
- }
@@ -1,11 +0,0 @@
1
- import { FilterCriterium } from "../components/bimplus-object-navigator/bimplus-object-navigator.interface";
2
- export declare class FilterString {
3
- constructor(filterString?: string, maxFilterCriteria?: number);
4
- get filterString(): string;
5
- private _filterString;
6
- private _maxFilterCriteria;
7
- fromFilterCriteria(criteria: FilterCriterium[]): string;
8
- getReadableValuesFromFilterCriteria(criteria: FilterCriterium[]): Record<string, string>;
9
- toFilterCriteria(readableValues?: Record<string, string> | undefined): FilterCriterium[];
10
- private _parseFilterSubstring;
11
- }
@@ -1,5 +0,0 @@
1
- import * as WebSdk from 'bimplus-websdk';
2
- import { Observable } from 'rxjs';
3
- export declare class FilterStructureFetcher {
4
- static fetchObjectFilterStructureFromSelection(projectId: string, filter: WebSdk.ObjectFilter, selectionObject: WebSdk.ExportObject, api: WebSdk.Api): Observable<WebSdk.ObjectFilterStructureResponse>;
5
- }
@@ -1,2 +0,0 @@
1
- import { ObjectAttribute } from '../components/object-properties/object-properties.interface';
2
- export declare function isObjectPropertyValueBlank(attrib: ObjectAttribute): boolean;
@@ -1,22 +0,0 @@
1
- export interface BimPlusObject {
2
- [key: string]: (dataDetail: {
3
- detail: unknown;
4
- }) => void;
5
- }
6
- export interface Source {
7
- [key: string]: {
8
- emit: (arg0: unknown) => void;
9
- };
10
- }
11
- /**--------------------------------------------------------------------------
12
- * fire event from component in two ways :
13
- - fire custom event from component in standard recommended way via. this.eventName.emit function
14
-
15
- - call window.BimPlus.eventName function directly on window object (eventName is name
16
- of the event we want to fire e.g. bimplusNavbarClicked so it will be window.BimPlus.bimplusNavbarClicked).
17
- Function must be defined in app. where we are using our components.
18
- This was implemented because MS Edge browser has problems with custom events and in some
19
- situations(e.g. after file download) it stops handling custom events.
20
- Disadvantage is that we can have only one event handler which is shared between the multiple components.
21
- --------------------------------------------------------------------------*/
22
- export declare function fireEvent(source: unknown, eventName: string, data?: unknown): void;
@@ -1,2 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- export declare function doubleEnumValidator(enumData: Record<number | string, string> | undefined | Array<string>): ValidatorFn;
@@ -1,2 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- export declare function doubleValidator(minValue: string, maxValue: string): ValidatorFn;