ngx-bimplus-components 0.0.70 → 0.0.72-draggable-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.
Files changed (226) hide show
  1. package/assets/images/27_Center_Menu.svg +3 -3
  2. package/assets/images/27_Center_Menu_active.svg +3 -3
  3. package/assets/images/27_Center_Menu_opened.svg +14 -14
  4. package/assets/images/6-dots-gray.svg +10 -10
  5. package/assets/images/6_dots_gray.svg +8 -8
  6. package/assets/images/Add_Issue_active.svg +12 -12
  7. package/assets/images/Add_Issue_disabled.svg +12 -12
  8. package/assets/images/Allplan-Cloud-Viewer-Logo.svg +17 -17
  9. package/assets/images/Allplan-Connexis-Logo.svg +8 -8
  10. package/assets/images/Allplan_Bimplus_Logo.svg +14 -14
  11. package/assets/images/Fullscreen_active.svg +6 -6
  12. package/assets/images/Fullscreen_disabled.svg +8 -8
  13. package/assets/images/Hide_active.svg +12 -12
  14. package/assets/images/Hide_disabled.svg +12 -12
  15. package/assets/images/IsolateMenuClipped.svg +19 -19
  16. package/assets/images/IsolateMenuClipped_orange.svg +19 -19
  17. package/assets/images/IsolateMenuHidden.svg +8 -8
  18. package/assets/images/IsolateMenuHidden_orange.svg +8 -8
  19. package/assets/images/IsolateMenuNormal.svg +29 -29
  20. package/assets/images/IsolateMenuNormal_orange.svg +29 -29
  21. package/assets/images/IsolationMenuParams.svg +5 -5
  22. package/assets/images/IsolationMenuParamsOrange.svg +5 -5
  23. package/assets/images/Isolation_active.svg +12 -12
  24. package/assets/images/Isolation_disabled.svg +12 -12
  25. package/assets/images/Markup_active.svg +11 -11
  26. package/assets/images/Markup_disabled.svg +11 -11
  27. package/assets/images/Navigation_Map_active.svg +3 -3
  28. package/assets/images/Navigation_Map_disabled.svg +5 -5
  29. package/assets/images/Project_Navigation_active.svg +10 -10
  30. package/assets/images/Project_Navigation_disabled.svg +10 -10
  31. package/assets/images/Quantity_active.svg +3 -3
  32. package/assets/images/Quantity_disabled.svg +5 -5
  33. package/assets/images/Reset_active.svg +10 -10
  34. package/assets/images/Reset_disabled.svg +10 -10
  35. package/assets/images/Section_active.svg +3 -3
  36. package/assets/images/Section_disabled.svg +5 -5
  37. package/assets/images/Spinner_18_disabled.svg +15 -15
  38. package/assets/images/View_active.svg +4 -4
  39. package/assets/images/View_disabled.svg +6 -6
  40. package/assets/images/bimplus_Components_Account_Settings.svg +14 -14
  41. package/assets/images/bimplus_Components_Autoconverter.svg +14 -14
  42. package/assets/images/bimplus_Components_Autoconverter_Active.svg +14 -14
  43. package/assets/images/bimplus_Components_Autoconverter_Disabled.svg +14 -14
  44. package/assets/images/bimplus_Components_BIM_Explorer.svg +18 -18
  45. package/assets/images/bimplus_Components_BIM_Explorer_Active.svg +18 -18
  46. package/assets/images/bimplus_Components_BIM_Explorer_Disabled.svg +18 -18
  47. package/assets/images/bimplus_Components_Clear_Cache.svg +16 -16
  48. package/assets/images/bimplus_Components_Close.svg +3 -3
  49. package/assets/images/bimplus_Components_Connexis.svg +4 -4
  50. package/assets/images/bimplus_Components_Connexis_Active.svg +4 -4
  51. package/assets/images/bimplus_Components_Connexis_Disabled.svg +4 -4
  52. package/assets/images/bimplus_Components_Desktop_Mode.svg +15 -15
  53. package/assets/images/bimplus_Components_Documents.svg +14 -14
  54. package/assets/images/bimplus_Components_Documents_Active.svg +14 -14
  55. package/assets/images/bimplus_Components_Documents_Disabled.svg +14 -14
  56. package/assets/images/bimplus_Components_Edit_Profile.svg +8 -8
  57. package/assets/images/bimplus_Components_Forum.svg +10 -10
  58. package/assets/images/bimplus_Components_IFC_viewer.svg +9 -9
  59. package/assets/images/bimplus_Components_IFC_viewer_Active.svg +16 -16
  60. package/assets/images/bimplus_Components_IFC_viewer_Disabled.svg +9 -9
  61. package/assets/images/bimplus_Components_ISO.svg +3 -3
  62. package/assets/images/bimplus_Components_ISO_Active.svg +3 -3
  63. package/assets/images/bimplus_Components_ISO_Disabled.svg +3 -3
  64. package/assets/images/bimplus_Components_Info.svg +16 -16
  65. package/assets/images/bimplus_Components_Info_Active.svg +16 -16
  66. package/assets/images/bimplus_Components_Languages.svg +5 -5
  67. package/assets/images/bimplus_Components_Logout.svg +12 -12
  68. package/assets/images/bimplus_Components_Models.svg +3 -3
  69. package/assets/images/bimplus_Components_Models_Active.svg +3 -3
  70. package/assets/images/bimplus_Components_Models_Disabled.svg +3 -3
  71. package/assets/images/bimplus_Components_Notify_Alert.svg +6 -6
  72. package/assets/images/bimplus_Components_Notify_Close.svg +3 -3
  73. package/assets/images/bimplus_Components_Notify_Empty.svg +5 -5
  74. package/assets/images/bimplus_Components_Notify_Main.svg +5 -5
  75. package/assets/images/bimplus_Components_Notify_Tick_Up.svg +3 -3
  76. package/assets/images/bimplus_Components_Projects_Folder.svg +10 -10
  77. package/assets/images/bimplus_Components_Projects_Folder_Active.svg +10 -10
  78. package/assets/images/bimplus_Components_Projects_Folder_Disabled.svg +10 -10
  79. package/assets/images/bimplus_Components_Property_Manager.svg +5 -5
  80. package/assets/images/bimplus_Components_Property_Manager_Active.svg +5 -5
  81. package/assets/images/bimplus_Components_Property_Manager_Disabled.svg +5 -5
  82. package/assets/images/bimplus_Components_Setting_Active.svg +3 -3
  83. package/assets/images/bimplus_Components_Settings.svg +3 -3
  84. package/assets/images/bimplus_Components_Settings_Disabled.svg +3 -3
  85. package/assets/images/bimplus_Components_Shop.svg +13 -13
  86. package/assets/images/bimplus_Components_Shop_Disabled.svg +13 -13
  87. package/assets/images/bimplus_Components_Support.svg +21 -21
  88. package/assets/images/bimplus_Components_Team_Members.svg +4 -4
  89. package/assets/images/bimplus_Components_Team_Members_Active.svg +4 -4
  90. package/assets/images/bimplus_Components_Touch_Mode.svg +16 -16
  91. package/assets/images/bimplus_Components_User_Guide.svg +17 -17
  92. package/assets/images/bimplus_Components_Users.svg +4 -4
  93. package/assets/images/bimplus_Components_Users_Active.svg +4 -4
  94. package/assets/images/bimplus_Components_Users_Disabled.svg +4 -4
  95. package/assets/images/bimplus_Components_Zoom.svg +5 -5
  96. package/assets/images/bimplus_Components_navbar_menu.svg +6 -6
  97. package/assets/images/bimplus_Components_navbar_menu_active.svg +6 -6
  98. package/assets/images/bimplus_Components_navbar_menu_disabled.svg +6 -6
  99. package/assets/images/bimplus_Components_submenu_arrow.svg +4 -4
  100. package/assets/images/bimplus_Remove_Conection.svg +15 -15
  101. package/assets/images/bimplus_WebIcons_Cross.svg +1 -1
  102. package/assets/images/checkbox_off.svg +3 -3
  103. package/assets/images/checkbox_off_disabled.svg +3 -3
  104. package/assets/images/checkbox_off_hovered.svg +3 -3
  105. package/assets/images/checkbox_on.svg +4 -4
  106. package/assets/images/checkbox_on_disabled.svg +4 -4
  107. package/assets/images/checkbox_on_hovered.svg +4 -4
  108. package/assets/images/cm_view_front_black.svg +4 -4
  109. package/assets/images/cm_view_front_orange.svg +4 -4
  110. package/assets/images/cm_view_perspective_black.svg +3 -3
  111. package/assets/images/cm_view_perspective_orange.svg +3 -3
  112. package/assets/images/cm_view_side_black.svg +4 -4
  113. package/assets/images/cm_view_side_orange.svg +4 -4
  114. package/assets/images/cm_view_top_black.svg +4 -4
  115. package/assets/images/cm_view_top_orange.svg +4 -4
  116. package/assets/images/collapsed_18.svg +3 -3
  117. package/assets/images/collapsed_18_small.svg +3 -3
  118. package/assets/images/expanded_18.svg +3 -3
  119. package/assets/images/expanded_18_small.svg +3 -3
  120. package/assets/images/ic_drag.svg +8 -8
  121. package/assets/images/ic_eye_black.svg +5 -5
  122. package/assets/images/ic_eye_orange.svg +5 -5
  123. package/assets/images/ic_make_transparent.svg +4 -4
  124. package/assets/images/ic_make_transparent_active.svg +4 -4
  125. package/assets/images/ic_reset.svg +3 -3
  126. package/assets/images/ic_thin_arrow_left.svg +3 -3
  127. package/assets/images/ic_toggle_off_gray.svg +4 -4
  128. package/assets/images/ic_toggle_on_green.svg +4 -4
  129. package/assets/images/ic_toggle_on_light_green.svg +4 -4
  130. package/assets/images/icon-hide-param-orange.svg +5 -5
  131. package/assets/images/icon-hide-param-white.svg +5 -5
  132. package/assets/images/resize_handle_ne.svg +4 -4
  133. package/assets/images/resize_handle_se.svg +4 -4
  134. package/assets/languages/strings_cs.json +2310 -2310
  135. package/assets/languages/strings_de.json +2310 -2310
  136. package/assets/languages/strings_en.json +2352 -2352
  137. package/assets/languages/strings_es.json +2310 -2310
  138. package/assets/languages/strings_fr.json +2310 -2310
  139. package/assets/languages/strings_it.json +2310 -2310
  140. package/assets/languages/strings_nl.json +796 -796
  141. package/assets/languages/strings_ro.json +2310 -2310
  142. package/assets/languages/strings_ru.json +2310 -2310
  143. package/assets/languages/strings_tr.json +2310 -2310
  144. package/assets/languages/strings_us.json +2263 -2263
  145. package/esm2022/lib/components/bimplus-buttons-row/bimplus-buttons-row.component.mjs +3 -3
  146. package/esm2022/lib/components/bimplus-buttons-row/bimplus-buttons-row.interface.mjs +1 -1
  147. package/esm2022/lib/components/bimplus-connection-designer/bimplus-connection-designer.component.mjs +3 -3
  148. package/esm2022/lib/components/bimplus-connection-designer/bimplus-connection-designer.interface.mjs +1 -1
  149. package/esm2022/lib/components/bimplus-connection-designer/bimplus-connection-designer.service.mjs +1 -1
  150. package/esm2022/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.component.mjs +3 -3
  151. package/esm2022/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.interface.mjs +1 -1
  152. package/esm2022/lib/components/bimplus-contact/bimplus-contact.component.mjs +3 -3
  153. package/esm2022/lib/components/bimplus-context-menu/bimplus-context-menu.component.mjs +3 -3
  154. package/esm2022/lib/components/bimplus-context-menu/bimplus-context-menu.interface.mjs +1 -1
  155. package/esm2022/lib/components/bimplus-flat-tree/bimplus-flat-tree.component.mjs +3 -3
  156. package/esm2022/lib/components/bimplus-flat-tree/bimplus-flat-tree.interface.mjs +1 -1
  157. package/esm2022/lib/components/bimplus-floating-bar/bimplus-floating-bar.component.mjs +75 -10
  158. package/esm2022/lib/components/bimplus-floating-bar/bimplus-floating-bar.interface.mjs +1 -1
  159. package/esm2022/lib/components/bimplus-floating-bar-body/bimplus-floating-bar-body.component.mjs +3 -3
  160. package/esm2022/lib/components/bimplus-floating-bar-dragger/bimplus-floating-bar-dragger.component.mjs +15 -7
  161. package/esm2022/lib/components/bimplus-floating-bar-header-content/bimplus-floating-bar-header-content.component.mjs +20 -8
  162. package/esm2022/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.mjs +30 -12
  163. package/esm2022/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.mjs +41 -32
  164. package/esm2022/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.mjs +19 -9
  165. package/esm2022/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.mjs +19 -9
  166. package/esm2022/lib/components/bimplus-language-menu/bimplus-language-menu.component.mjs +3 -3
  167. package/esm2022/lib/components/bimplus-main-menu/bimplus-main-menu.component.mjs +3 -3
  168. package/esm2022/lib/components/bimplus-navbar/bimplus-navbar.component.mjs +3 -3
  169. package/esm2022/lib/components/bimplus-navbar/logo-state.enum.mjs +1 -1
  170. package/esm2022/lib/components/bimplus-notify/bimplus-notify.component.mjs +3 -3
  171. package/esm2022/lib/components/bimplus-object-navigator/bimplus-object-navigator.component.mjs +3 -3
  172. package/esm2022/lib/components/bimplus-object-navigator/criteria-select-object-properties/criteria-select-object-properties.component.mjs +3 -3
  173. package/esm2022/lib/components/bimplus-object-navigator/filter-criterium/filter-criterium.component.mjs +2 -2
  174. package/esm2022/lib/components/bimplus-object-navigator/object-filter-result/object-filter-result.component.mjs +3 -3
  175. package/esm2022/lib/components/bimplus-panel-toolbar/bimplus-panel-toolbar.component.mjs +3 -3
  176. package/esm2022/lib/components/bimplus-project-menu/bimplus-project-menu.component.mjs +4 -4
  177. package/esm2022/lib/components/bimplus-scrollable-container/bimplus-scrollable-container.component.mjs +3 -3
  178. package/esm2022/lib/components/bimplus-sidenav/bimplus-sidenav.component.mjs +3 -3
  179. package/esm2022/lib/components/bimplus-sidenav-drawer-content/bimplus-sidenav-drawer-content.component.mjs +3 -3
  180. package/esm2022/lib/components/bimplus-storage-info/bimplus-storage-info.component.mjs +3 -3
  181. package/esm2022/lib/components/bimplus-text-message/bimplus-text-message.component.mjs +3 -3
  182. package/esm2022/lib/components/bimplus-tool-hub/bimplus-tool-hub.component.mjs +62 -22
  183. package/esm2022/lib/components/bimplus-tool-hub/svgGenerator.mjs +1 -1
  184. package/esm2022/lib/components/bimplus-tool-hub/tool-hub-item/tool-hub-item.component.mjs +3 -3
  185. package/esm2022/lib/components/bimplus-tool-hub/tool-hub-sub-item/tool-hub-sub-item.component.mjs +3 -3
  186. package/esm2022/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.component.mjs +7 -3
  187. package/esm2022/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.interface.mjs +1 -1
  188. package/esm2022/lib/components/bimplus-touch-menu/bimplus-touch-menu.component.mjs +3 -3
  189. package/esm2022/lib/components/bimplus-user-menu/bimplus-user-menu.component.mjs +3 -3
  190. package/esm2022/lib/components/bimplus-zoom/bimplus-zoom.component.mjs +3 -3
  191. package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +3 -3
  192. package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +3 -3
  193. package/esm2022/lib/components/project-models/project-models.component.mjs +3 -3
  194. package/esm2022/lib/components/project-models/project-models.interface.mjs +1 -1
  195. package/esm2022/lib/directives/click-outside/click-outside.directive.mjs +1 -1
  196. package/esm2022/lib/directives/draggable.directive.mjs +8 -2
  197. package/esm2022/lib/interfaces/bimplus-opacity-properties.interface.mjs +1 -1
  198. package/esm2022/lib/interfaces/bimplus-visibility-properties.interface.mjs +1 -1
  199. package/esm2022/lib/services/layout-manager.service.mjs +221 -48
  200. package/esm2022/lib/services/local-storage.service.mjs +70 -0
  201. package/esm2022/lib/services/resize-observer.service.mjs +28 -0
  202. package/esm2022/lib/types/types.mjs +1 -1
  203. package/esm2022/lib/utils/filterString.mjs +1 -1
  204. package/esm2022/lib/utils/filterStructureFetcher.mjs +1 -1
  205. package/esm2022/lib/utils/utils.mjs +1 -1
  206. package/esm2022/public-api.mjs +2 -1
  207. package/fesm2022/ngx-bimplus-components.mjs +728 -288
  208. package/fesm2022/ngx-bimplus-components.mjs.map +1 -1
  209. package/lib/components/bimplus-connection-designer/bimplus-connection-designer.component.d.ts +2 -2
  210. package/lib/components/bimplus-connection-designer-results/bimplus-connection-designer-results.component.d.ts +1 -1
  211. package/lib/components/bimplus-floating-bar/bimplus-floating-bar.component.d.ts +20 -4
  212. package/lib/components/bimplus-floating-bar-dragger/bimplus-floating-bar-dragger.component.d.ts +6 -1
  213. package/lib/components/bimplus-floating-bar-header-content/bimplus-floating-bar-header-content.component.d.ts +6 -2
  214. package/lib/components/bimplus-floating-bar-header-logo/bimplus-floating-bar-header-logo.component.d.ts +10 -5
  215. package/lib/components/bimplus-floating-bar-hide-objects/bimplus-floating-bar-hide-objects.component.d.ts +14 -11
  216. package/lib/components/bimplus-floating-bar-isolation-objects/bimplus-floating-bar-isolation-objects.component.d.ts +5 -3
  217. package/lib/components/bimplus-floating-bar-project-navigator/bimplus-floating-bar-project-navigator.component.d.ts +5 -3
  218. package/lib/components/bimplus-tool-hub/bimplus-tool-hub.component.d.ts +18 -9
  219. package/lib/components/bimplus-tooltip-message/bimplus-tooltip-message.component.d.ts +1 -0
  220. package/lib/directives/draggable.directive.d.ts +2 -1
  221. package/lib/services/layout-manager.service.d.ts +55 -3
  222. package/lib/services/local-storage.service.d.ts +18 -0
  223. package/lib/services/resize-observer.service.d.ts +12 -0
  224. package/lib/utils/utils.d.ts +5 -0
  225. package/package.json +1 -1
  226. package/public-api.d.ts +1 -0
@@ -22,8 +22,8 @@ export declare class BimplusConnectionDesignerComponent extends BimplusLocalized
22
22
  set calculationCanBeStarted(value: boolean);
23
23
  get calculationCanBeStarted(): boolean;
24
24
  startCalculationClicked: EventEmitter<void>;
25
- protected buttonClicked($event: BimplusButtonClickEvent): void;
26
- protected resetDesignCode(): void;
25
+ buttonClicked($event: BimplusButtonClickEvent): void;
26
+ resetDesignCode(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusConnectionDesignerComponent, never>;
28
28
  static ɵcmp: i0.ɵɵComponentDeclaration<BimplusConnectionDesignerComponent, "lib-bimplus-connection-designer", never, { "designCodes": { "alias": "designCodes"; "required": false; }; "currentDesignCode": { "alias": "currentDesignCode"; "required": false; }; "calculationCanBeStarted": { "alias": "calculationCanBeStarted"; "required": false; }; }, { "designCodeChanged": "designCodeChanged"; "startCalculationClicked": "startCalculationClicked"; }, never, ["lib-bimplus-connection-designer-results"], true, never>;
29
29
  }
@@ -13,7 +13,7 @@ export declare class BimplusConnectionDesignerResultsComponent extends BimplusLo
13
13
  ngOnInit(): void;
14
14
  ngOnChanges(changes: SimpleChanges): void;
15
15
  doneClicked: EventEmitter<void>;
16
- protected buttonClicked($event: BimplusButtonClickEvent): void;
16
+ buttonClicked($event: BimplusButtonClickEvent): void;
17
17
  resultTreeRootTitle: string;
18
18
  resultTreeRootName: string;
19
19
  expandedTreeRoot: boolean;
@@ -1,15 +1,31 @@
1
+ import { EventEmitter, ElementRef, AfterViewChecked, ChangeDetectorRef, OnInit, OnDestroy, AfterViewInit } from '@angular/core';
1
2
  import { TranslateService } from '@ngx-translate/core';
2
3
  import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
4
+ import { LayoutManagerService } from '../../services/layout-manager.service';
5
+ import { ResizeObserverService } from '../../services/resize-observer.service';
3
6
  import * as i0 from "@angular/core";
4
- export declare class BimplusFloatingBarComponent extends BimplusLocalizedWidgetComponent {
5
- constructor(translateService: TranslateService);
7
+ export declare class BimplusFloatingBarComponent extends BimplusLocalizedWidgetComponent implements OnInit, OnDestroy, AfterViewChecked, AfterViewInit {
8
+ private layoutManagerService;
9
+ private element;
10
+ private cdr;
11
+ private resizeObserverService;
12
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef, resizeObserverService: ResizeObserverService);
6
13
  noBody: boolean;
7
- isCollapsed: boolean;
8
14
  isFocused: boolean;
9
15
  resizeEnabled: boolean;
10
16
  autoCollapse: boolean;
11
17
  focusSelector: string;
12
18
  isVisible: boolean;
19
+ id: string;
20
+ resizedragging: EventEmitter<[number, number]>;
21
+ private subscription;
22
+ private hasViewChecked;
23
+ isCollapsed: boolean;
24
+ ngOnInit(): void;
25
+ ngOnDestroy(): void;
26
+ ngAfterViewInit(): void;
27
+ ngAfterViewChecked(): void;
28
+ handleParentAppRectSizeChange(parentRect: DOMRect | undefined): void;
13
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarComponent, "lib-bimplus-floating-bar", never, { "noBody": { "alias": "noBody"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "resizeEnabled": { "alias": "resizeEnabled"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "focusSelector": { "alias": "focusSelector"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; }, {}, never, [".floating-bar-header-logo", ".floating-bar-header-content", ".floating-bar-dragger", ".floating-bar-body"], true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarComponent, "lib-bimplus-floating-bar", never, { "noBody": { "alias": "noBody"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "resizeEnabled": { "alias": "resizeEnabled"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "focusSelector": { "alias": "focusSelector"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "resizedragging": "resizedragging"; }, never, [".floating-bar-header-logo", ".floating-bar-header-content", ".floating-bar-dragger", ".floating-bar-body"], true, never>;
15
31
  }
@@ -1,9 +1,14 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { LayoutManagerService } from '../../services/layout-manager.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class BimplusFloatingBarDraggerComponent {
5
+ private layoutManagerService;
6
+ constructor(layoutManagerService: LayoutManagerService);
4
7
  isCollapsed: boolean;
8
+ parentId: string;
5
9
  dragElement: EventEmitter<[number, number]>;
6
10
  draggerIcon: string;
11
+ onDragEnd(): void;
7
12
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarDraggerComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarDraggerComponent, "lib-bimplus-floating-bar-dragger", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; }, { "dragElement": "dragElement"; }, never, never, true, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarDraggerComponent, "lib-bimplus-floating-bar-dragger", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; }, { "dragElement": "dragElement"; }, never, never, true, never>;
9
14
  }
@@ -2,10 +2,13 @@ import { EventEmitter } from '@angular/core';
2
2
  import { TranslateService } from '@ngx-translate/core';
3
3
  import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
4
4
  import { FloatingBarItem } from '../bimplus-floating-bar/bimplus-floating-bar.interface';
5
+ import { LayoutManagerService } from '../../services/layout-manager.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class BimplusFloatingBarHeaderContentComponent extends BimplusLocalizedWidgetComponent {
7
- constructor(translateService: TranslateService);
8
+ private layoutManagerService;
9
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService);
8
10
  isCollapsed: boolean;
11
+ parentId: string;
9
12
  actionClicked: EventEmitter<string>;
10
13
  dragElement: EventEmitter<[number, number]>;
11
14
  private _items;
@@ -13,6 +16,7 @@ export declare class BimplusFloatingBarHeaderContentComponent extends BimplusLoc
13
16
  set items(value: Array<FloatingBarItem>);
14
17
  findItemById(id: string): FloatingBarItem | undefined;
15
18
  onItemClicked(action: string): void;
19
+ onDragEnd(): void;
16
20
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarHeaderContentComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHeaderContentComponent, "lib-bimplus-floating-bar-header-content", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "actionClicked": "actionClicked"; "dragElement": "dragElement"; }, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHeaderContentComponent, "lib-bimplus-floating-bar-header-content", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "actionClicked": "actionClicked"; "dragElement": "dragElement"; }, never, never, true, never>;
18
22
  }
@@ -1,14 +1,19 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { TranslateService } from '@ngx-translate/core';
3
3
  import { BimplusLocalizedWidgetComponent } from '../bimplus-localized-widget/bimplus-localized-widget.component';
4
+ import { LayoutManagerService } from '../../services/layout-manager.service';
4
5
  import * as i0 from "@angular/core";
5
- export declare class BimplusFloatingBarHeaderLogoComponent extends BimplusLocalizedWidgetComponent {
6
- constructor(translateService: TranslateService);
6
+ export declare class BimplusFloatingBarHeaderLogoComponent extends BimplusLocalizedWidgetComponent implements OnInit {
7
+ private layoutManagerService;
8
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService);
7
9
  icon: string;
8
10
  isCollapsed: boolean;
11
+ parentId: string;
9
12
  title: string;
10
- logoClicked: EventEmitter<MouseEvent>;
11
13
  dragElement: EventEmitter<[number, number]>;
14
+ ngOnInit(): void;
15
+ onLogoClicked(): void;
16
+ onDragEnd(): void;
12
17
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarHeaderLogoComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHeaderLogoComponent, "lib-bimplus-floating-bar-header-logo", never, { "icon": { "alias": "icon"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "logoClicked": "logoClicked"; "dragElement": "dragElement"; }, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHeaderLogoComponent, "lib-bimplus-floating-bar-header-logo", never, { "icon": { "alias": "icon"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "dragElement": "dragElement"; }, never, never, true, never>;
14
19
  }
@@ -1,28 +1,31 @@
1
- import { EventEmitter, ElementRef, AfterViewChecked, ChangeDetectorRef } from '@angular/core';
1
+ import { EventEmitter, ElementRef, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
2
2
  import { TranslateService } from '@ngx-translate/core';
3
3
  import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
4
4
  import { FloatingBarItem } from '../bimplus-floating-bar/bimplus-floating-bar.interface';
5
5
  import { LayoutManagerService } from '../../services/layout-manager.service';
6
+ import { ResizeObserverService } from '../../services/resize-observer.service';
6
7
  import * as i0 from "@angular/core";
7
- export declare class BimplusFloatingBarHideObjectsComponent extends BimplusLocalizedWidgetComponent implements AfterViewChecked {
8
+ export declare class BimplusFloatingBarHideObjectsComponent extends BimplusLocalizedWidgetComponent implements OnInit, OnDestroy {
8
9
  private element;
9
10
  private cdr;
10
- constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef);
11
- private hasViewChecked;
12
- protected layoutManagerService: LayoutManagerService;
11
+ private resizeObserverService;
13
12
  actionClicked: EventEmitter<string>;
14
13
  noBody: boolean;
15
- isCollapsed: boolean;
16
14
  isFocused: boolean;
17
15
  items: Array<FloatingBarItem>;
16
+ left: number;
17
+ top: number;
18
+ private hasViewChecked;
19
+ protected layoutManagerService: LayoutManagerService;
20
+ componentId: string;
18
21
  icon: string;
19
22
  title: string;
20
23
  focusSelectorId: string;
21
- left: number;
22
- top: number;
23
- onLogoClicked(event: MouseEvent): void;
24
- ngAfterViewChecked(): void;
24
+ isCollapsed: boolean;
25
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef, resizeObserverService: ResizeObserverService);
26
+ ngOnInit(): void;
27
+ ngOnDestroy(): void;
25
28
  onDragElement(event: [number, number]): void;
26
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarHideObjectsComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHideObjectsComponent, "lib-bimplus-floating-bar-hide-objects", never, { "noBody": { "alias": "noBody"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "items": { "alias": "items"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; }, { "actionClicked": "actionClicked"; }, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHideObjectsComponent, "lib-bimplus-floating-bar-hide-objects", never, { "noBody": { "alias": "noBody"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "items": { "alias": "items"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; }, { "actionClicked": "actionClicked"; }, never, never, true, never>;
28
31
  }
@@ -1,15 +1,15 @@
1
- import { EventEmitter, ElementRef, AfterViewChecked, ChangeDetectorRef } from '@angular/core';
1
+ import { EventEmitter, ElementRef, AfterViewChecked, ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { TranslateService } from '@ngx-translate/core';
3
3
  import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
4
4
  import { FloatingBarItem } from '../bimplus-floating-bar/bimplus-floating-bar.interface';
5
5
  import { LayoutManagerService } from '../../services/layout-manager.service';
6
6
  import * as i0 from "@angular/core";
7
- export declare class BimplusFloatingBarIsolationObjectsComponent extends BimplusLocalizedWidgetComponent implements AfterViewChecked {
7
+ export declare class BimplusFloatingBarIsolationObjectsComponent extends BimplusLocalizedWidgetComponent implements OnInit, AfterViewChecked {
8
+ private layoutManagerService;
8
9
  private element;
9
10
  private cdr;
10
11
  constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef);
11
12
  private hasViewChecked;
12
- protected layoutManagerService: LayoutManagerService;
13
13
  actionClicked: EventEmitter<string>;
14
14
  noBody: boolean;
15
15
  isCollapsed: boolean;
@@ -20,6 +20,8 @@ export declare class BimplusFloatingBarIsolationObjectsComponent extends Bimplus
20
20
  icon: string;
21
21
  title: string;
22
22
  focusSelectorId: string;
23
+ componentId: string;
24
+ ngOnInit(): void;
23
25
  onLogoClicked(event: MouseEvent): void;
24
26
  ngAfterViewChecked(): void;
25
27
  onDragElement(event: [number, number]): void;
@@ -1,16 +1,16 @@
1
- import { EventEmitter, ElementRef, AfterViewChecked, ChangeDetectorRef } from '@angular/core';
1
+ import { EventEmitter, ElementRef, AfterViewChecked, ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { TranslateService } from '@ngx-translate/core';
3
3
  import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
4
4
  import { FloatingBarItem } from '../bimplus-floating-bar/bimplus-floating-bar.interface';
5
5
  import { ProjectNavigatorModel, ProjectNavigatorLayer, ProjectNavigatorProject } from '../project-models/project-models.interface';
6
6
  import { LayoutManagerService } from '../../services/layout-manager.service';
7
7
  import * as i0 from "@angular/core";
8
- export declare class BimplusFloatingBarProjectNavigatorComponent extends BimplusLocalizedWidgetComponent implements AfterViewChecked {
8
+ export declare class BimplusFloatingBarProjectNavigatorComponent extends BimplusLocalizedWidgetComponent implements OnInit, AfterViewChecked {
9
+ private layoutManagerService;
9
10
  private element;
10
11
  private cdr;
11
12
  constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef);
12
13
  private hasViewChecked;
13
- protected layoutManagerService: LayoutManagerService;
14
14
  noBody: boolean;
15
15
  isCollapsed: boolean;
16
16
  noModelsMessage: string | undefined;
@@ -20,6 +20,7 @@ export declare class BimplusFloatingBarProjectNavigatorComponent extends Bimplus
20
20
  top: number;
21
21
  icon: string;
22
22
  title: string;
23
+ componentId: string;
23
24
  items: Array<FloatingBarItem>;
24
25
  actionClicked: EventEmitter<string>;
25
26
  isPanelToolbarVisible: boolean;
@@ -32,6 +33,7 @@ export declare class BimplusFloatingBarProjectNavigatorComponent extends Bimplus
32
33
  toggleVisibilityOfModel: EventEmitter<ProjectNavigatorModel>;
33
34
  toggleVisibilityOfLayer: EventEmitter<ProjectNavigatorLayer>;
34
35
  logoClicked: EventEmitter<MouseEvent>;
36
+ ngOnInit(): void;
35
37
  onLogoClicked(event: MouseEvent): void;
36
38
  ngAfterViewChecked(): void;
37
39
  onDragElement(event: [number, number]): void;
@@ -1,13 +1,15 @@
1
- import { EventEmitter, ElementRef } from '@angular/core';
1
+ import { EventEmitter, ElementRef, OnInit, AfterViewInit } from '@angular/core';
2
2
  import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
3
3
  import { TranslateService } from '@ngx-translate/core';
4
4
  import { ToolHubItem, ToolHubSubItem, ToolHubItemUnits, ToolHubItemStates } from './bimplus-tool-hub.interface';
5
5
  import { LayoutManagerService } from '../../services/layout-manager.service';
6
+ import { ResizeObserverService } from '../../services/resize-observer.service';
6
7
  import * as i0 from "@angular/core";
7
- export declare class BimplusToolHubComponent extends BimplusLocalizedWidgetComponent {
8
+ export declare class BimplusToolHubComponent extends BimplusLocalizedWidgetComponent implements OnInit, AfterViewInit {
9
+ private layoutManagerService;
10
+ private resizeObserverService;
8
11
  private element;
9
- constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef);
10
- protected layoutManagerService: LayoutManagerService;
12
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, resizeObserverService: ResizeObserverService, element: ElementRef);
11
13
  left: number;
12
14
  top: number;
13
15
  get itemStates(): Array<ToolHubItemStates>;
@@ -16,8 +18,8 @@ export declare class BimplusToolHubComponent extends BimplusLocalizedWidgetCompo
16
18
  get items(): Array<ToolHubItem>;
17
19
  set items(value: Array<ToolHubItem>);
18
20
  get activeSubItems(): Array<ToolHubSubItem> | null;
19
- get isOpened(): boolean;
20
- set isOpened(value: boolean);
21
+ get isCollapsed(): boolean;
22
+ set isCollapsed(value: boolean);
21
23
  get units(): ToolHubItemUnits;
22
24
  get subMenuUnits(): ToolHubItemUnits;
23
25
  get annularSector(): string;
@@ -28,6 +30,11 @@ export declare class BimplusToolHubComponent extends BimplusLocalizedWidgetCompo
28
30
  isActive: boolean;
29
31
  itemClicked: EventEmitter<string>;
30
32
  subItemClicked: EventEmitter<string>;
33
+ resizedragging: EventEmitter<[number, number]>;
34
+ private componentId;
35
+ private subscription;
36
+ ngOnInit(): void;
37
+ ngAfterViewInit(): void;
31
38
  getSVGViewBox(): string;
32
39
  getSVGCenterMenuPath(): string;
33
40
  getSVGCenterMenuItemPath(): string;
@@ -40,8 +47,9 @@ export declare class BimplusToolHubComponent extends BimplusLocalizedWidgetCompo
40
47
  toggleSubItemsView(buttonId: string): void;
41
48
  closeActiveSubItemsView(): void;
42
49
  setHoveredState(element: string, hovered: boolean): void;
50
+ private getSelector;
43
51
  dragElement(event: [number, number]): void;
44
- private _isOpened;
52
+ private _isCollapsed;
45
53
  private _itemStates;
46
54
  private _items;
47
55
  private _activeSubItemsView;
@@ -55,9 +63,10 @@ export declare class BimplusToolHubComponent extends BimplusLocalizedWidgetCompo
55
63
  private _hoveredElements;
56
64
  private calculateCurrentMenuItemUnits;
57
65
  private calculateCurrentSubMenuItemUnits;
66
+ private handleParentAppRectSizeChange;
58
67
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusToolHubComponent, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<BimplusToolHubComponent, "lib-bimplus-tool-hub", never, { "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "itemStates": { "alias": "itemStates"; "required": false; }; "items": { "alias": "items"; "required": false; }; "isOpened": { "alias": "isOpened"; "required": false; }; "isEmbedded": { "alias": "isEmbedded"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, { "itemClicked": "itemClicked"; "subItemClicked": "subItemClicked"; }, never, never, true, never>;
60
- static ngAcceptInputType_isOpened: unknown;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimplusToolHubComponent, "lib-bimplus-tool-hub", never, { "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "itemStates": { "alias": "itemStates"; "required": false; }; "items": { "alias": "items"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "isEmbedded": { "alias": "isEmbedded"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, { "itemClicked": "itemClicked"; "subItemClicked": "subItemClicked"; "resizedragging": "resizedragging"; }, never, never, true, never>;
69
+ static ngAcceptInputType_isCollapsed: unknown;
61
70
  static ngAcceptInputType_isEmbedded: unknown;
62
71
  static ngAcceptInputType_isFocused: unknown;
63
72
  static ngAcceptInputType_isActive: unknown;
@@ -5,6 +5,7 @@ export declare class BimplusTooltipMessageComponent implements OnChanges {
5
5
  private el;
6
6
  private _element;
7
7
  constructor(el: ElementRef);
8
+ get element(): HTMLElement;
8
9
  messagePosition: TooltipMessagePosition;
9
10
  messageData: TooltipMessageData;
10
11
  messageVisibility: boolean;
@@ -7,11 +7,12 @@ export declare class DraggableDirective {
7
7
  wasDragging: boolean;
8
8
  isMouseDown: boolean;
9
9
  dragging: EventEmitter<[number, number]>;
10
+ dragEnd: EventEmitter<MouseEvent>;
10
11
  clicked: EventEmitter<MouseEvent>;
11
12
  onMouseMove(event: MouseEvent): void;
12
13
  onMouseUp(): void;
13
14
  onMouseDown(event: MouseEvent): void;
14
15
  onMouseClick(event: MouseEvent): void;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[libDraggable]", never, {}, { "dragging": "dragging"; "clicked": "clicked"; }, never, never, true, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[libDraggable]", never, {}, { "dragging": "dragging"; "dragEnd": "dragEnd"; "clicked": "clicked"; }, never, never, true, never>;
17
18
  }
@@ -1,8 +1,54 @@
1
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';
2
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
+ }
3
23
  export declare class LayoutManagerService {
4
- constructor();
5
- checkPosition(elementRef: ElementRef, selector: string, left: number, top: number, deltaX: number, deltaY: number, forceCheck?: boolean): {
24
+ private resizeObserverService;
25
+ private localStorageService;
26
+ registeredItems$: BehaviorSubject<LayoutManagerItem[]>;
27
+ constructor(resizeObserverService: ResizeObserverService, localStorageService: LocalStorageService);
28
+ private registeredItems;
29
+ get RegisteredItems(): LayoutManagerItem[];
30
+ CONFIG: string;
31
+ /**--------------------------------------------------------------------------
32
+ * register object. object must have unique id or elementId
33
+ --------------------------------------------------------------------------*/
34
+ registerObject(obj: ElementRef, id: string, left: number | undefined, top: number | undefined, selector: string | undefined, rememberPosition: boolean): void;
35
+ _initObject(obj: LayoutManagerItem): void;
36
+ /**--------------------------------------------------------------------------
37
+ * get object configuration
38
+ * return {left, top, width, heigth}
39
+ --------------------------------------------------------------------------*/
40
+ _getObjectConfig(obj: LayoutManagerItem): LayoutManagerConfigItem | null;
41
+ _adjustObjectByConfig(obj: LayoutManagerItem): void;
42
+ _adjustObjectByWindowSize(obj: LayoutManagerItem): void;
43
+ /**--------------------------------------------------------------------------
44
+ * returns object registered in the layout manager
45
+ --------------------------------------------------------------------------*/
46
+ getItem(id: string): LayoutManagerItem | null;
47
+ /**--------------------------------------------------------------------------
48
+ * set object configuration
49
+ --------------------------------------------------------------------------*/
50
+ _setObjectConfig(obj: LayoutManagerItem, left: number, top: number): void;
51
+ checkPosition(id: string, selector: string, parentRectangle: DOMRect | undefined, left: number | undefined, top: number | undefined, deltaX: number, deltaY: number, forceCheck?: boolean): {
6
52
  deltaX: number;
7
53
  deltaY: number;
8
54
  };
@@ -31,7 +77,13 @@ export declare class LayoutManagerService {
31
77
  /**--------------------------------------------------------------------------
32
78
  * translate rectangle by x, y
33
79
  --------------------------------------------------------------------------*/
34
- _translateRectangle(rect: DOMRect, translateX: number, translateY: number): DOMRect | undefined;
80
+ updateCollapsed(value: boolean, id?: string): void;
81
+ handleDragEnd(id: string): void;
82
+ /**--------------------------------------------------------------------------
83
+ * finalize object changes (position). object must be registered in the layout manager
84
+ * object: object to finalize
85
+ --------------------------------------------------------------------------*/
86
+ finalizeObjectChanges(id: string): void;
35
87
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutManagerService, never>;
36
88
  static ɵprov: i0.ɵɵInjectableDeclaration<LayoutManagerService>;
37
89
  }
@@ -0,0 +1,18 @@
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
+ }
@@ -0,0 +1,12 @@
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,3 +1,8 @@
1
+ export interface BimPlusObject {
2
+ [key: string]: (dataDetail: {
3
+ detail: unknown;
4
+ }) => void;
5
+ }
1
6
  export interface Source {
2
7
  [key: string]: {
3
8
  emit: (arg0: unknown) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-bimplus-components",
3
- "version": "0.0.70",
3
+ "version": "0.0.72-draggable-1",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ angular components library",
package/public-api.d.ts CHANGED
@@ -38,4 +38,5 @@ export * from './lib/components/bimplus-scrollable-container/bimplus-scrollable-
38
38
  export * from './lib/components/bimplus-touch-menu/bimplus-touch-menu.component';
39
39
  export * from './lib/components/bimplus-project-menu/bimplus-project-menu.component';
40
40
  export * from './lib/services/language-strings.service';
41
+ export * from './lib/services/resize-observer.service';
41
42
  export * from './lib/types/types';