ngx-bimplus-components 0.0.196-angular20 → 0.0.196

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/index.d.ts CHANGED
@@ -1,15 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
- import { WritableSignal, OnInit, EventEmitter, OnChanges, SimpleChanges, ElementRef, AfterViewInit, AfterViewChecked, DestroyRef, TemplateRef, SimpleChange, OnDestroy, AfterContentInit, ComponentRef, Type, InjectionToken, Signal } from '@angular/core';
2
+ import { WritableSignal, OnInit, EventEmitter, OnChanges, SimpleChanges, ElementRef, AfterViewInit, AfterViewChecked, ChangeDetectorRef, DestroyRef, TemplateRef, SimpleChange, AfterContentInit, ComponentRef, ApplicationRef, EnvironmentInjector, Type, OnDestroy, Renderer2, InjectionToken, Signal } from '@angular/core';
3
+ import { TranslateService } from '@ngx-translate/core';
3
4
  import * as rxjs from 'rxjs';
4
5
  import { Subject, Observable, BehaviorSubject } from 'rxjs';
5
- import { TranslateService } from '@ngx-translate/core';
6
6
  import * as WebSdk from 'bimplus-websdk';
7
7
  import { MatTreeFlattener, MatTreeFlatDataSource } from '@angular/material/tree';
8
8
  import { FlatTreeControl } from '@angular/cdk/tree';
9
9
  import SimpleBar from 'simplebar';
10
10
  import { BehaviorSubject as BehaviorSubject$1 } from 'rxjs/internal/BehaviorSubject';
11
- import { FormGroup, ControlValueAccessor, FormControl } from '@angular/forms';
11
+ import { FormGroup, FormBuilder, ControlValueAccessor, FormControl } from '@angular/forms';
12
12
  import * as ngx_bimplus_components from 'ngx-bimplus-components';
13
+ import { DatePipe } from '@angular/common';
13
14
 
14
15
  declare class NgxBimplusComponentsService {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxBimplusComponentsService, never>;
@@ -59,6 +60,7 @@ interface MenuListType {
59
60
 
60
61
  declare class BimplusLocalizedWidgetComponent {
61
62
  translateService: TranslateService;
63
+ constructor(translateService: TranslateService);
62
64
  _selectedLanguage: WritableSignal<string>;
63
65
  get selectedLanguage(): string;
64
66
  set selectedLanguage(value: string);
@@ -99,7 +101,7 @@ declare class BimplusConnectionDesignerComponent extends BimplusLocalizedWidgetC
99
101
  protected connectionDesignerService: BimplusConnectionDesignerService;
100
102
  buttonRowItems: Array<BimplusButtonRowItem>;
101
103
  config: Array<BimplusButtonRowItem>;
102
- constructor();
104
+ constructor(translateService: TranslateService, connectionDesignerService: BimplusConnectionDesignerService);
103
105
  ngOnInit(): void;
104
106
  chooseCode: string;
105
107
  designCodes: Array<DesignCode>;
@@ -144,7 +146,7 @@ declare class BimplusConnectionDesignerResultsComponent extends BimplusLocalized
144
146
  protected connectionDesignerService: BimplusConnectionDesignerService;
145
147
  buttonRowItems: Array<BimplusButtonRowItem>;
146
148
  errorMessage: string;
147
- constructor();
149
+ constructor(translateService: TranslateService, connectionDesignerService: BimplusConnectionDesignerService);
148
150
  ngOnInit(): void;
149
151
  ngOnChanges(changes: SimpleChanges): void;
150
152
  doneClicked: EventEmitter<void>;
@@ -174,7 +176,7 @@ declare class BimplusConnectionDesignerResultsComponent extends BimplusLocalized
174
176
  }
175
177
 
176
178
  declare class BimplusContactComponent extends BimplusLocalizedWidgetComponent {
177
- constructor();
179
+ constructor(translateService: TranslateService);
178
180
  bimplusContactClicked: EventEmitter<string>;
179
181
  _contactClicked(): void;
180
182
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusContactComponent, never>;
@@ -215,6 +217,34 @@ interface ProjectNavigatorLayer extends VisibilityProperties, OpacityProperties
215
217
  parentModel?: ProjectNavigatorModel | null;
216
218
  }
217
219
 
220
+ declare class ResizeObserverService {
221
+ private rectSize$;
222
+ private internalRectSize;
223
+ parentAppRect$: Observable<DOMRect | undefined>;
224
+ constructor();
225
+ setSize(newValue: DOMRect): void;
226
+ getParentAppRect(): DOMRect;
227
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverService, never>;
228
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResizeObserverService>;
229
+ }
230
+
231
+ declare class LocalStorageService {
232
+ private storageSubject;
233
+ constructor();
234
+ setItem(key: string, value: string): void;
235
+ getItem(key: string): string | null;
236
+ removeItem(key: string): void;
237
+ clear(): void;
238
+ setObject(key: string, value: unknown): void;
239
+ getObject(key: string): unknown;
240
+ watchStorage(): Observable<{
241
+ key: string;
242
+ value: unknown;
243
+ } | null>;
244
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
245
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
246
+ }
247
+
218
248
  interface LayoutManagerItem {
219
249
  element: ElementRef;
220
250
  id: string;
@@ -238,6 +268,7 @@ declare class LayoutManagerService {
238
268
  private resizeObserverService;
239
269
  private localStorageService;
240
270
  registeredItems$: BehaviorSubject<LayoutManagerItem[]>;
271
+ constructor(resizeObserverService: ResizeObserverService, localStorageService: LocalStorageService);
241
272
  private registeredItems;
242
273
  get RegisteredItems(): LayoutManagerItem[];
243
274
  CONFIG: string;
@@ -317,7 +348,7 @@ declare class BimplusFloatingBarHideObjectsComponent extends BimplusLocalizedWid
317
348
  icon: string;
318
349
  title: string;
319
350
  focusSelectorId: string;
320
- constructor();
351
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef);
321
352
  ngAfterViewInit(): void;
322
353
  static ɵfac: i0.ɵɵFactoryDeclaration<BimplusFloatingBarHideObjectsComponent, never>;
323
354
  static ɵcmp: i0.ɵɵComponentDeclaration<BimplusFloatingBarHideObjectsComponent, "lib-bimplus-floating-bar-hide-objects", never, { "noBody": { "alias": "noBody"; "required": false; }; "isFocused": { "alias": "isFocused"; "required": false; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "actionClicked": "actionClicked"; "items": "itemsChange"; }, never, never, true, never>;
@@ -327,7 +358,7 @@ declare class BimplusFloatingBarIsolationObjectsComponent extends BimplusLocaliz
327
358
  private layoutManagerService;
328
359
  private element;
329
360
  private cdr;
330
- constructor();
361
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef);
331
362
  private hasViewChecked;
332
363
  actionClicked: EventEmitter<string>;
333
364
  noBody: boolean;
@@ -347,7 +378,7 @@ declare class BimplusFloatingBarProjectNavigatorComponent extends BimplusLocaliz
347
378
  private readonly layoutManagerService;
348
379
  private readonly element;
349
380
  private readonly cdr;
350
- constructor();
381
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, element: ElementRef, cdr: ChangeDetectorRef);
351
382
  private hasViewChecked;
352
383
  noBody: boolean;
353
384
  isCollapsed: boolean;
@@ -398,7 +429,7 @@ interface BimplusMainMenuComponentAttribute {
398
429
  [key: string]: unknown;
399
430
  }
400
431
  declare class BimplusMainMenuComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
401
- constructor();
432
+ constructor(translateService: TranslateService);
402
433
  isEmbedded: boolean;
403
434
  isTouch: boolean;
404
435
  isIpadApp: boolean;
@@ -599,7 +630,7 @@ interface MessageModel {
599
630
  'capitalizedTitle': string | boolean | undefined;
600
631
  }
601
632
  declare class BimplusNotifyComponent extends BimplusLocalizedWidgetComponent implements OnChanges, OnInit {
602
- constructor();
633
+ constructor(translateService: TranslateService);
603
634
  Array: ArrayConstructor;
604
635
  get newMessages(): boolean;
605
636
  get bimNotify(): boolean;
@@ -703,7 +734,7 @@ interface SidenavItem {
703
734
  disabled?: boolean;
704
735
  }
705
736
  declare class BimplusSidenavComponent extends BimplusLocalizedWidgetComponent {
706
- constructor();
737
+ constructor(translateService: TranslateService);
707
738
  readonly activeItem: i0.WritableSignal<string>;
708
739
  readonly drawerWidth: i0.WritableSignal<number>;
709
740
  readonly drawerExpanded: i0.WritableSignal<boolean>;
@@ -732,7 +763,7 @@ declare class BimplusSidenavDrawerContentComponent {
732
763
  }
733
764
 
734
765
  declare class BimplusStorageInfoComponent extends BimplusLocalizedWidgetComponent {
735
- constructor();
766
+ constructor(translateService: TranslateService);
736
767
  /**--------------------------------------------------------------------------
737
768
  * properties
738
769
  --------------------------------------------------------------------------*/
@@ -801,7 +832,7 @@ declare class BimplusToolHubComponent extends BimplusLocalizedWidgetComponent im
801
832
  private layoutManagerService;
802
833
  private resizeObserverService;
803
834
  private element;
804
- constructor();
835
+ constructor(translateService: TranslateService, layoutManagerService: LayoutManagerService, resizeObserverService: ResizeObserverService, element: ElementRef);
805
836
  get itemStates(): Array<ToolHubItemStates>;
806
837
  set itemStates(value: Array<ToolHubItemStates>);
807
838
  setItemStates(itemStates: Array<ToolHubItemStates>): void;
@@ -891,7 +922,7 @@ interface LangItem {
891
922
  lCode: string | undefined;
892
923
  }
893
924
  declare class BimplusUserMenuComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
894
- constructor();
925
+ constructor(translateService: TranslateService);
895
926
  _languagesList: LangItem[];
896
927
  /**--------------------------------------------------------------------------
897
928
  * States
@@ -1071,6 +1102,7 @@ declare class BimplusFlatTreeComponent implements OnInit, OnChanges {
1071
1102
  enableDragAndDrop: boolean;
1072
1103
  dataTestPrefix: string;
1073
1104
  contextMenus: FlatTreeContextMenus | null | undefined;
1105
+ constructor(el: ElementRef);
1074
1106
  hasCheckBox1: boolean;
1075
1107
  hasCheckBox2: boolean;
1076
1108
  get treeData(): Array<TreeNode>;
@@ -1140,7 +1172,7 @@ declare class BimplusContextMenuComponent {
1140
1172
  private readonly _element;
1141
1173
  private _interval;
1142
1174
  items: i0.ModelSignal<BimplusContextMenuItem[] | null | undefined>;
1143
- constructor();
1175
+ constructor(el: ElementRef);
1144
1176
  get data(): undefined | object;
1145
1177
  set data(data: object);
1146
1178
  protected _clickOutside(): void;
@@ -1226,7 +1258,7 @@ declare class ObjectFilterResultComponent implements AfterViewInit {
1226
1258
  }
1227
1259
 
1228
1260
  declare class BimplusObjectNavigatorComponent extends BimplusLocalizedWidgetComponent implements OnInit {
1229
- constructor();
1261
+ constructor(translateService: TranslateService);
1230
1262
  objectFilterResult: ObjectFilterResultComponent | null;
1231
1263
  hideFilterContextMenu: boolean;
1232
1264
  filterContextMenu: Array<BimplusContextMenuItem>;
@@ -1303,7 +1335,7 @@ interface TooltipMessageData {
1303
1335
  declare class BimplusTooltipMessageComponent implements OnChanges {
1304
1336
  private el;
1305
1337
  private _element;
1306
- constructor();
1338
+ constructor(el: ElementRef);
1307
1339
  get element(): HTMLElement;
1308
1340
  messagePosition: TooltipMessagePosition;
1309
1341
  messageData: TooltipMessageData;
@@ -1330,7 +1362,7 @@ declare class BimplusScrollableContainerComponent implements AfterViewInit, Afte
1330
1362
  _simpleBar: SimpleBar;
1331
1363
  _element: HTMLElement;
1332
1364
  protected _scrollableContainerClassName: string;
1333
- constructor();
1365
+ constructor(elementRef: ElementRef);
1334
1366
  private _initializationSimpleScrollBar;
1335
1367
  ngAfterViewInit(): void;
1336
1368
  private _recalculateScrollbar;
@@ -1340,7 +1372,7 @@ declare class BimplusScrollableContainerComponent implements AfterViewInit, Afte
1340
1372
  }
1341
1373
 
1342
1374
  declare class BimplusTouchMenuComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
1343
- constructor();
1375
+ constructor(translateService: TranslateService);
1344
1376
  /**--------------------------------------------------------------------------
1345
1377
  * List of menu items
1346
1378
  * Note : action is used to identify action which should be executed
@@ -1389,7 +1421,7 @@ interface BimplusProjectMenuComponentAttribute {
1389
1421
  [key: string]: unknown;
1390
1422
  }
1391
1423
  declare class BimplusProjectMenuComponent extends BimplusLocalizedWidgetComponent {
1392
- constructor();
1424
+ constructor(translateService: TranslateService);
1393
1425
  projectName: string;
1394
1426
  projectImageUrl: string;
1395
1427
  projectExplorerUrl: string;
@@ -1476,17 +1508,6 @@ declare class LanguageStringsService {
1476
1508
  static ɵprov: i0.ɵɵInjectableDeclaration<LanguageStringsService>;
1477
1509
  }
1478
1510
 
1479
- declare class ResizeObserverService {
1480
- private rectSize$;
1481
- private internalRectSize;
1482
- parentAppRect$: Observable<DOMRect | undefined>;
1483
- constructor();
1484
- setSize(newValue: DOMRect): void;
1485
- getParentAppRect(): DOMRect;
1486
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverService, never>;
1487
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeObserverService>;
1488
- }
1489
-
1490
1511
  declare enum CursorType {
1491
1512
  Pick = "cursor-pick",
1492
1513
  Hide = "cursor-hide"
@@ -1504,6 +1525,74 @@ declare class CursorsService {
1504
1525
  static ɵprov: i0.ɵɵInjectableDeclaration<CursorsService>;
1505
1526
  }
1506
1527
 
1528
+ type DialogPosition = 'middle' | 'unset';
1529
+ interface IDialogOptions {
1530
+ width?: string;
1531
+ height?: string;
1532
+ position?: DialogPosition;
1533
+ positionOptions?: DialogPositionOptions;
1534
+ overlayClickEnabled?: boolean;
1535
+ overlayVisibilityEnabled?: boolean;
1536
+ draggable?: boolean;
1537
+ }
1538
+ interface DialogPositionOptions {
1539
+ top?: string;
1540
+ bottom?: string;
1541
+ left?: string;
1542
+ right?: string;
1543
+ }
1544
+ interface IDialogInputData {
1545
+ options: IDialogOptions;
1546
+ data?: unknown;
1547
+ }
1548
+ interface IDialogOutputData {
1549
+ data: unknown;
1550
+ }
1551
+
1552
+ declare class BimportalGeneralOverlayDialogComponent implements OnInit, AfterContentInit {
1553
+ private readonly dialogService;
1554
+ private readonly cdref;
1555
+ genDialogRefContainer: ElementRef<HTMLDivElement>;
1556
+ dialogOverlay: ElementRef<HTMLDivElement>;
1557
+ options: IDialogOptions | undefined;
1558
+ units: string;
1559
+ constructor(dialogService: DialogService, cdref: ChangeDetectorRef);
1560
+ ngOnInit(): void;
1561
+ onClose(): void;
1562
+ ngAfterContentInit(): void;
1563
+ setOptions(): void;
1564
+ private setDimensions;
1565
+ private setPosition;
1566
+ setPositionsUnset(): void;
1567
+ setPositionsMiddle(): void;
1568
+ private setOverlay;
1569
+ onKeyPress(event: KeyboardEvent): void;
1570
+ static ɵfac: i0.ɵɵFactoryDeclaration<BimportalGeneralOverlayDialogComponent, never>;
1571
+ static ɵcmp: i0.ɵɵComponentDeclaration<BimportalGeneralOverlayDialogComponent, "app-general-overlay-dialog", never, {}, {}, never, ["*"], true, never>;
1572
+ }
1573
+
1574
+ declare class DialogService {
1575
+ private readonly appRef;
1576
+ private readonly injector;
1577
+ generalDialogComponentBody: ComponentRef<unknown>;
1578
+ generalDialog: ComponentRef<BimportalGeneralOverlayDialogComponent>;
1579
+ private _isDialogOpen;
1580
+ inputData: unknown;
1581
+ private readonly outputData;
1582
+ options: IDialogOptions | undefined;
1583
+ constructor(appRef: ApplicationRef, injector: EnvironmentInjector);
1584
+ open(componentBody: Type<unknown>, data: IDialogInputData): void;
1585
+ initializeSettings(data: IDialogInputData): void;
1586
+ createComponentsRef(componentBody: Type<unknown>): void;
1587
+ close(outputData?: unknown): void;
1588
+ resetSettings(): void;
1589
+ isDialogOpened(): boolean;
1590
+ setOutputData(data: unknown): void;
1591
+ getOutputData(): Subject<unknown>;
1592
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
1593
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
1594
+ }
1595
+
1507
1596
  interface WarningDialogInputData {
1508
1597
  title: string;
1509
1598
  message: string;
@@ -1522,7 +1611,7 @@ declare class BimplusOverlayDialogWarningComponent {
1522
1611
  set title(value: string);
1523
1612
  get message(): string;
1524
1613
  set message(value: string);
1525
- constructor();
1614
+ constructor(dialogService: DialogService, translateService: TranslateService);
1526
1615
  close(): void;
1527
1616
  keypressClose(event: KeyboardEvent): void;
1528
1617
  buttonRowButtonClicked(): void;
@@ -1565,7 +1654,7 @@ interface CreateLinkData {
1565
1654
  }
1566
1655
 
1567
1656
  declare class ObjectPropertiesHeaderComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
1568
- constructor();
1657
+ constructor(translateService: TranslateService);
1569
1658
  selectedObject: EventEmitter<SelectedObject>;
1570
1659
  closePropertiesPanel: EventEmitter<any>;
1571
1660
  selectedObjects: Array<SelectedObject>;
@@ -1630,13 +1719,23 @@ interface ObjectAttributeGroup {
1630
1719
  expanded: boolean;
1631
1720
  }
1632
1721
 
1722
+ declare class ObjectPropertiesService {
1723
+ _model: BehaviorSubject<WebSdk.ObjectData | null>;
1724
+ constructor();
1725
+ get modelValue(): WebSdk.ObjectData | null;
1726
+ get model$(): BehaviorSubject<WebSdk.ObjectData | null>;
1727
+ setModel(model: WebSdk.ObjectData): void;
1728
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesService, never>;
1729
+ static ɵprov: i0.ɵɵInjectableDeclaration<ObjectPropertiesService>;
1730
+ }
1731
+
1633
1732
  declare class ObjectPropertiesComponent extends BimplusLocalizedWidgetComponent implements OnInit {
1634
1733
  private readonly formBuilder;
1635
1734
  private readonly cdr;
1636
1735
  private readonly objectPropertiesService;
1637
1736
  protected _objectPropertiesForm: FormGroup<{}>;
1638
1737
  protected _objectPropertiesGroupForm(group_name: string): FormGroup;
1639
- constructor();
1738
+ constructor(translateService: TranslateService, formBuilder: FormBuilder, cdr: ChangeDetectorRef, objectPropertiesService: ObjectPropertiesService);
1640
1739
  protected _editMode: WritableSignal<boolean>;
1641
1740
  private _objectStructure;
1642
1741
  get objectStructure(): ObjectStructureNode | null;
@@ -1717,6 +1816,17 @@ interface CommentOutputData {
1717
1816
  data: unknown;
1718
1817
  }
1719
1818
 
1819
+ declare class DecoratorsService {
1820
+ constructor();
1821
+ fmt(string: string, ...formats: unknown[]): string;
1822
+ /**--------------------------------------------------------------------------
1823
+ * decorate link
1824
+ --------------------------------------------------------------------------*/
1825
+ decorateLink(api: WebSdk.Api, link: WebSdk.AttachmentLink, objectIds: [string]): WebSdk.AttachmentLink;
1826
+ static ɵfac: i0.ɵɵFactoryDeclaration<DecoratorsService, never>;
1827
+ static ɵprov: i0.ɵɵInjectableDeclaration<DecoratorsService>;
1828
+ }
1829
+
1720
1830
  declare const EMBEDDED_MODAL_DIALOGE_TYPE_FILE = "file";
1721
1831
  declare const postAttachmentLinks: (newAttachmentIDs: string[], objectId: string, api: WebSdk.Api) => rxjs.Observable<WebSdk.AttachmentLinksResponse>;
1722
1832
  declare class LinksToDocumentsComponent extends BimplusLocalizedWidgetComponent implements OnInit, OnDestroy {
@@ -1724,7 +1834,7 @@ declare class LinksToDocumentsComponent extends BimplusLocalizedWidgetComponent
1724
1834
  private readonly renderer;
1725
1835
  private readonly el;
1726
1836
  private readonly decorators;
1727
- constructor();
1837
+ constructor(translateService: TranslateService, dialogService: DialogService, renderer: Renderer2, el: ElementRef, decorators: DecoratorsService);
1728
1838
  private readonly shadowRootElement;
1729
1839
  private _rootObjectId;
1730
1840
  isDestroyed: boolean;
@@ -1781,7 +1891,7 @@ declare class ObjectHyperlinksComponent extends BimplusLocalizedWidgetComponent
1781
1891
  private readonly dialogService;
1782
1892
  private readonly formBuilder;
1783
1893
  hyperlinkForm: FormGroup;
1784
- constructor();
1894
+ constructor(translateService: TranslateService, dialogService: DialogService, formBuilder: FormBuilder);
1785
1895
  api: WebSdk.Api | null;
1786
1896
  set rootObjectId(id: string);
1787
1897
  get rootObjectId(): string;
@@ -1802,51 +1912,6 @@ declare class ObjectHyperlinksComponent extends BimplusLocalizedWidgetComponent
1802
1912
  static ɵcmp: i0.ɵɵComponentDeclaration<ObjectHyperlinksComponent, "lib-object-hyperlinks", never, { "api": { "alias": "api"; "required": false; }; "rootObjectId": { "alias": "rootObjectId"; "required": false; }; "canCreateHyperlinks": { "alias": "canCreateHyperlinks"; "required": false; }; "canDeleteHyperlinks": { "alias": "canDeleteHyperlinks"; "required": false; }; }, {}, never, never, true, never>;
1803
1913
  }
1804
1914
 
1805
- type DialogPosition = 'middle' | 'unset';
1806
- interface IDialogOptions {
1807
- width?: string;
1808
- height?: string;
1809
- position?: DialogPosition;
1810
- positionOptions?: DialogPositionOptions;
1811
- overlayClickEnabled?: boolean;
1812
- overlayVisibilityEnabled?: boolean;
1813
- draggable?: boolean;
1814
- }
1815
- interface DialogPositionOptions {
1816
- top?: string;
1817
- bottom?: string;
1818
- left?: string;
1819
- right?: string;
1820
- }
1821
- interface IDialogInputData {
1822
- options: IDialogOptions;
1823
- data?: unknown;
1824
- }
1825
- interface IDialogOutputData {
1826
- data: unknown;
1827
- }
1828
-
1829
- declare class BimportalGeneralOverlayDialogComponent implements OnInit, AfterContentInit {
1830
- private readonly dialogService;
1831
- private readonly cdref;
1832
- genDialogRefContainer: ElementRef<HTMLDivElement>;
1833
- dialogOverlay: ElementRef<HTMLDivElement>;
1834
- options: IDialogOptions | undefined;
1835
- units: string;
1836
- ngOnInit(): void;
1837
- onClose(): void;
1838
- ngAfterContentInit(): void;
1839
- setOptions(): void;
1840
- private setDimensions;
1841
- private setPosition;
1842
- setPositionsUnset(): void;
1843
- setPositionsMiddle(): void;
1844
- private setOverlay;
1845
- onKeyPress(event: KeyboardEvent): void;
1846
- static ɵfac: i0.ɵɵFactoryDeclaration<BimportalGeneralOverlayDialogComponent, never>;
1847
- static ɵcmp: i0.ɵɵComponentDeclaration<BimportalGeneralOverlayDialogComponent, "app-general-overlay-dialog", never, {}, {}, never, ["*"], true, never>;
1848
- }
1849
-
1850
1915
  interface ErrorDialogInputData {
1851
1916
  title: string;
1852
1917
  message: string;
@@ -1863,7 +1928,7 @@ declare class BimplusOverlayDialogErrorComponent {
1863
1928
  set title(value: string);
1864
1929
  get message(): string;
1865
1930
  set message(value: string);
1866
- constructor();
1931
+ constructor(dialogService: DialogService, translateService: TranslateService);
1867
1932
  close(): void;
1868
1933
  keypressClose(event: KeyboardEvent): void;
1869
1934
  buttonRowButtonClicked(): void;
@@ -1892,7 +1957,7 @@ declare class BimplusOverlayDialogConfirmComponent {
1892
1957
  set title(value: string);
1893
1958
  get message(): string;
1894
1959
  set message(value: string);
1895
- constructor();
1960
+ constructor(dialogService: DialogService, translateService: TranslateService);
1896
1961
  initializeButtons(): void;
1897
1962
  close(): void;
1898
1963
  keypressClose(event: KeyboardEvent): void;
@@ -1928,27 +1993,6 @@ declare class BimplusInputTextFieldComponent implements ControlValueAccessor {
1928
1993
  static ngAcceptInputType_validValue: unknown;
1929
1994
  }
1930
1995
 
1931
- declare class DialogService {
1932
- private readonly appRef;
1933
- private readonly injector;
1934
- generalDialogComponentBody: ComponentRef<unknown>;
1935
- generalDialog: ComponentRef<BimportalGeneralOverlayDialogComponent>;
1936
- private _isDialogOpen;
1937
- inputData: unknown;
1938
- private readonly outputData;
1939
- options: IDialogOptions | undefined;
1940
- open(componentBody: Type<unknown>, data: IDialogInputData): void;
1941
- initializeSettings(data: IDialogInputData): void;
1942
- createComponentsRef(componentBody: Type<unknown>): void;
1943
- close(outputData?: unknown): void;
1944
- resetSettings(): void;
1945
- isDialogOpened(): boolean;
1946
- setOutputData(data: unknown): void;
1947
- getOutputData(): Subject<unknown>;
1948
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
1949
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
1950
- }
1951
-
1952
1996
  type BimplusTabComponentModel = {
1953
1997
  id: string;
1954
1998
  title: string;
@@ -1968,7 +2012,7 @@ type BimplusTabsSwitcherConfig = {
1968
2012
  declare const BIMPLUS_TABS_SWITCHER_CONFIG: InjectionToken<BimplusTabsSwitcherConfig>;
1969
2013
 
1970
2014
  declare class BimplusTabsSwitcherService {
1971
- private readonly bimplusTabsSwitcherConfig;
2015
+ private readonly bimplusTabsSwitcherConfig?;
1972
2016
  /** Default tab switcher elements. */
1973
2017
  private readonly tabSwitcherElements;
1974
2018
  readonly tabSwitcherElements$: rxjs.Observable<BimplusTabComponentModel[]>;
@@ -1976,8 +2020,8 @@ declare class BimplusTabsSwitcherService {
1976
2020
  private readonly activeTab;
1977
2021
  readonly activeTab$: rxjs.Observable<string>;
1978
2022
  setActiveTab(key: string): void;
1979
- constructor();
1980
- static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherService, never>;
2023
+ constructor(bimplusTabsSwitcherConfig?: Pick<BimplusTabsSwitcherConfig, "defaultTabsSwitcherElements"> | undefined);
2024
+ static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherService, [{ optional: true; }]>;
1981
2025
  static ɵprov: i0.ɵɵInjectableDeclaration<BimplusTabsSwitcherService>;
1982
2026
  }
1983
2027
 
@@ -2000,7 +2044,7 @@ declare class BimplusTabComponent implements OnInit {
2000
2044
  protected readonly onHoverOver: i0.WritableSignal<boolean>;
2001
2045
  /** Whether all tabs is disabled based on configuration token. */
2002
2046
  private readonly isAllDisabled;
2003
- constructor();
2047
+ constructor(bimplusTabsSwitcherConfig: BimplusTabsSwitcherConfig, bimplusTabsSwitcherService: BimplusTabsSwitcherService);
2004
2048
  protected onMouseEnter(): void;
2005
2049
  protected onMouseLeave(): void;
2006
2050
  ngOnInit(): void;
@@ -2010,7 +2054,7 @@ declare class BimplusTabComponent implements OnInit {
2010
2054
  * @returns void
2011
2055
  */
2012
2056
  protected activate(): void;
2013
- static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabComponent, never>;
2057
+ static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabComponent, [{ optional: true; }, null]>;
2014
2058
  static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTabComponent, "lib-bimplus-tab", never, { "bimplusTabComponentModel": { "alias": "bimplusTabComponentModel"; "required": true; }; "imageBaseSrc": { "alias": "imageBaseSrc"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; }, { "activeTabChange": "activeTabChange"; }, never, never, true, never>;
2015
2059
  }
2016
2060
 
@@ -2022,8 +2066,8 @@ declare class BimplusTabsSwitcherComponent {
2022
2066
  protected readonly tabSwitcherElements: Signal<BimplusTabComponentModel[]>;
2023
2067
  /** app base href */
2024
2068
  protected readonly baseHref: string | null;
2025
- constructor();
2026
- static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherComponent, never>;
2069
+ constructor(bimplusTabsSwitcherService: BimplusTabsSwitcherService);
2070
+ static ɵfac: i0.ɵɵFactoryDeclaration<BimplusTabsSwitcherComponent, [{ optional: true; skipSelf: true; }]>;
2027
2071
  static ɵcmp: i0.ɵɵComponentDeclaration<BimplusTabsSwitcherComponent, "lib-bimplus-tabs-switcher", never, { "activeTab": { "alias": "activeTab"; "required": false; }; }, { "activeTabChange": "activeTabChange"; }, never, ["*"], true, never>;
2028
2072
  }
2029
2073
 
@@ -2099,6 +2143,39 @@ declare class BimplusAttachmentsService {
2099
2143
  static ɵprov: i0.ɵɵInjectableDeclaration<BimplusAttachmentsService>;
2100
2144
  }
2101
2145
 
2146
+ declare class BimplusObjectCommentsListService {
2147
+ private readonly decorators;
2148
+ api: WebSdk.Api;
2149
+ private readonly bimplusAttachmentsService;
2150
+ constructor(decorators: DecoratorsService);
2151
+ deleteComment(commentId: string): Observable<void>;
2152
+ downloadAttachment(attachment: Attachment): void;
2153
+ postComments(rootObjectId: string, dataText: string, hyperlinks: Partial<WebSdk.Hyperlink>[], attachments: Attachment[], newAttachmentIDs: string[]): Observable<string | null>;
2154
+ private decorateComment;
2155
+ private decorateComments;
2156
+ loadComments(objectId: string): Observable<WebSdk.CommentsResponse>;
2157
+ manageHyperLinks(createdCommentId: string, hyperlinks: Partial<WebSdk.Hyperlink>[]): Observable<(void | WebSdk.Hyperlink | undefined)[]>;
2158
+ static ɵfac: i0.ɵɵFactoryDeclaration<BimplusObjectCommentsListService, never>;
2159
+ static ɵprov: i0.ɵɵInjectableDeclaration<BimplusObjectCommentsListService>;
2160
+ }
2161
+
2162
+ interface StatusBarData {
2163
+ statusBarVisible: boolean;
2164
+ title: string;
2165
+ }
2166
+
2167
+ declare class BimplusStatusBarService {
2168
+ _statusBarData: BehaviorSubject<StatusBarData>;
2169
+ constructor();
2170
+ get statusBarVisible(): boolean;
2171
+ get title(): string;
2172
+ get statusBarData(): StatusBarData;
2173
+ get statusBarDataSubscription(): BehaviorSubject<StatusBarData>;
2174
+ setStatusBarData(data: StatusBarData): void;
2175
+ static ɵfac: i0.ɵɵFactoryDeclaration<BimplusStatusBarService, never>;
2176
+ static ɵprov: i0.ɵɵInjectableDeclaration<BimplusStatusBarService>;
2177
+ }
2178
+
2102
2179
  declare class BimplusObjectCommentsListComponent extends BimplusLocalizedWidgetComponent implements OnInit, OnChanges {
2103
2180
  private readonly dialogService;
2104
2181
  private readonly datePipe;
@@ -2137,7 +2214,7 @@ declare class BimplusObjectCommentsListComponent extends BimplusLocalizedWidgetC
2137
2214
  get rootObjectId(): string;
2138
2215
  set userId(id: string);
2139
2216
  get userId(): string;
2140
- constructor();
2217
+ constructor(dialogService: DialogService, translateService: TranslateService, datePipe: DatePipe, formBuilder: FormBuilder, bimplusAttachmentsService: BimplusAttachmentsService, bimplusObjectCommentsListService: BimplusObjectCommentsListService, statusBarService: BimplusStatusBarService);
2141
2218
  isCreateButtonDisabled(): boolean;
2142
2219
  checkCreateButtonState(): void;
2143
2220
  ngOnInit(): void;
@@ -2171,21 +2248,6 @@ declare class BimplusObjectCommentsListComponent extends BimplusLocalizedWidgetC
2171
2248
  static ɵcmp: i0.ɵɵComponentDeclaration<BimplusObjectCommentsListComponent, "lib-bimplus-object-comments-list", never, { "api": { "alias": "api"; "required": true; }; "project": { "alias": "project"; "required": false; }; "wormholeSelector": { "alias": "wormholeSelector"; "required": false; }; "env": { "alias": "env"; "required": false; }; "attachmentLinkItems": { "alias": "attachmentLinkItems"; "required": false; }; "inputBaseUrl": { "alias": "inputBaseUrl"; "required": false; }; "rootObjectId": { "alias": "rootObjectId"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; }, {}, never, never, true, never>;
2172
2249
  }
2173
2250
 
2174
- declare class BimplusObjectCommentsListService {
2175
- private readonly decorators;
2176
- api: WebSdk.Api;
2177
- private readonly bimplusAttachmentsService;
2178
- deleteComment(commentId: string): Observable<void>;
2179
- downloadAttachment(attachment: Attachment): void;
2180
- postComments(rootObjectId: string, dataText: string, hyperlinks: Partial<WebSdk.Hyperlink>[], attachments: Attachment[], newAttachmentIDs: string[]): Observable<string | null>;
2181
- private decorateComment;
2182
- private decorateComments;
2183
- loadComments(objectId: string): Observable<WebSdk.CommentsResponse>;
2184
- manageHyperLinks(createdCommentId: string, hyperlinks: Partial<WebSdk.Hyperlink>[]): Observable<(void | WebSdk.Hyperlink | undefined)[]>;
2185
- static ɵfac: i0.ɵɵFactoryDeclaration<BimplusObjectCommentsListService, never>;
2186
- static ɵprov: i0.ɵɵInjectableDeclaration<BimplusObjectCommentsListService>;
2187
- }
2188
-
2189
2251
  interface CommentDialogData {
2190
2252
  title: string;
2191
2253
  message: string;
@@ -2203,7 +2265,7 @@ declare class BimplusOverlayDialogDeleteComponent {
2203
2265
  set title(value: string);
2204
2266
  get message(): string;
2205
2267
  set message(value: string);
2206
- constructor();
2268
+ constructor(dialogService: DialogService, translateService: TranslateService);
2207
2269
  close(): void;
2208
2270
  keypressClose(event: KeyboardEvent): void;
2209
2271
  buttonRowButtonClicked($event: BimplusButtonClickEvent): void;
@@ -2291,6 +2353,7 @@ declare class BimplusStatusBarComponent implements OnInit {
2291
2353
  private statusBarService;
2292
2354
  private _title;
2293
2355
  get title(): string;
2356
+ constructor(statusBarService: BimplusStatusBarService);
2294
2357
  ngOnInit(): void;
2295
2358
  closeClick(): void;
2296
2359
  closeKeyDown($event: KeyboardEvent): void;
@@ -2319,32 +2382,5 @@ declare class BimplusLinkTooltipMessageComponent implements AfterViewInit {
2319
2382
  static ɵcmp: i0.ɵɵComponentDeclaration<BimplusLinkTooltipMessageComponent, "lib-bimplus-link-tooltip-message", never, { "link": { "alias": "link"; "required": false; }; "titleHeader": { "alias": "titleHeader"; "required": false; }; "enableCopyPressKeys": { "alias": "enableCopyPressKeys"; "required": false; }; "arrowPosition": { "alias": "arrowPosition"; "required": false; }; "onClose": { "alias": "onClose"; "required": false; }; }, {}, never, never, true, never>;
2320
2383
  }
2321
2384
 
2322
- interface StatusBarData {
2323
- statusBarVisible: boolean;
2324
- title: string;
2325
- }
2326
-
2327
- declare class BimplusStatusBarService {
2328
- _statusBarData: BehaviorSubject<StatusBarData>;
2329
- constructor();
2330
- get statusBarVisible(): boolean;
2331
- get title(): string;
2332
- get statusBarData(): StatusBarData;
2333
- get statusBarDataSubscription(): BehaviorSubject<StatusBarData>;
2334
- setStatusBarData(data: StatusBarData): void;
2335
- static ɵfac: i0.ɵɵFactoryDeclaration<BimplusStatusBarService, never>;
2336
- static ɵprov: i0.ɵɵInjectableDeclaration<BimplusStatusBarService>;
2337
- }
2338
-
2339
- declare class ObjectPropertiesService {
2340
- _model: BehaviorSubject<WebSdk.ObjectData | null>;
2341
- constructor();
2342
- get modelValue(): WebSdk.ObjectData | null;
2343
- get model$(): BehaviorSubject<WebSdk.ObjectData | null>;
2344
- setModel(model: WebSdk.ObjectData): void;
2345
- static ɵfac: i0.ɵɵFactoryDeclaration<ObjectPropertiesService, never>;
2346
- static ɵprov: i0.ɵɵInjectableDeclaration<ObjectPropertiesService>;
2347
- }
2348
-
2349
2385
  export { Attachment, AttachmentBuilder, BIMPLUS_ATTACHMENTS_CONFIG, BIMPLUS_TABS_SWITCHER_CONFIG, BimplusAttachmentsComponent, BimplusAttachmentsService, BimplusCommentComponent, BimplusConnectionDesignerComponent, BimplusConnectionDesignerResultsComponent, BimplusContactComponent, BimplusContextMenuComponent, BimplusFlatTreeComponent, BimplusFloatingBarHideObjectsComponent, BimplusFloatingBarIsolationObjectsComponent, BimplusFloatingBarProjectNavigatorComponent, BimplusInputTextFieldComponent, BimplusLanguageMenuComponent, BimplusLinkTooltipMessageComponent, BimplusLocalizedWidgetComponent, BimplusMainMenuComponent, BimplusNavbarComponent, BimplusNotifyComponent, BimplusObjectCommentsListComponent, BimplusObjectCommentsListService, BimplusObjectNavigatorComponent, BimplusOverlayDialogConfirmComponent, BimplusOverlayDialogDeleteComponent, BimplusOverlayDialogErrorComponent, BimplusOverlayDialogWarningComponent, BimplusOverlayMessageComponent, BimplusProjectMenuComponent, BimplusScrollableContainerComponent, BimplusSidenavComponent, BimplusSidenavDrawerContentComponent, BimplusStatusBarComponent, BimplusStatusBarService, BimplusStorageInfoComponent, BimplusTabComponent, BimplusTabsSwitcherComponent, BimplusTabsSwitcherService, BimplusTextareaComponent, BimplusToolHubComponent, BimplusTooltipMessageComponent, BimplusTouchMenuComponent, BimplusUserMenuComponent, BimplusZoomComponent, BimportalGeneralOverlayDialogComponent, CursorType, CursorsService, DEFAULT_TAB_SWITCHER_ELEMENTS, DialogService, EMBEDDED_MODAL_DIALOGE_TYPE_FILE, FilterCriteriaSelectionMode, LanguageStringsService, LinksToDocumentsComponent, LoadingSpinnerComponent, LogoState, MaxFilterCriteria, NgxBimplusComponentsComponent, NgxBimplusComponentsService, ObjectHyperlinksComponent, ObjectPropertiesComponent, ObjectPropertiesHeaderComponent, ObjectPropertiesService, ResizablePanelComponent, ResizeObserverService, postAttachmentLinks };
2350
2386
  export type { BimplusAttachmentsConfig, BimplusContextMenuItem, BimplusContextMenuPosition, BimplusMainMenuComponentAttribute, BimplusProjectMenuComponentAttribute, BimplusTabComponentModel, BimplusTabsSwitcherConfig, CommentDialogData, ConfirmDialogInputData, ConnexisResult, ConnexisResultList, ConnexisResultsRoot, CreateLinkData, DesignCode, DialogPositionOptions, ErrorDialogInputData, FilterCriterium, FilterType, FlatNode, FlatTreeContextMenus, FloatingBarItem, IAttachment, IDialogInputData, IDialogOptions, IDialogOutputData, LangItem, LocalizedStrings, MenuItem, MenuItemEventData, MenuListType, OpacityProperties, ProjectNavigatorLayer, ProjectNavigatorModel, ProjectNavigatorProject, SelectedObject, SidenavItem, ToolHubItem, ToolHubItemStates, ToolHubItemUnits, ToolHubSubItem, ToolHubVisualSettings, TooltipMessageData, TooltipMessageItem, TooltipMessagePosition, TreeNode, VisibilityProperties, WarningDialogInputData };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-bimplus-components",
3
- "version": "0.0.196-angular20",
3
+ "version": "0.0.196",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ angular components library",