ngx-bimplus-components 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/assets/images/27_Center_Menu.svg +3 -0
- package/assets/images/27_Center_Menu_active.svg +3 -0
- package/assets/images/27_Center_Menu_opened.svg +14 -0
- package/assets/images/Add_Issue_active.svg +12 -0
- package/assets/images/Add_Issue_disabled.svg +12 -0
- package/assets/images/Allplan-Cloud-Viewer-Logo.svg +17 -0
- package/assets/images/Fullscreen_active.svg +6 -0
- package/assets/images/Fullscreen_disabled.svg +8 -0
- package/assets/images/Hide_active.svg +12 -0
- package/assets/images/Hide_disabled.svg +12 -0
- package/assets/images/Isolation_active.svg +12 -0
- package/assets/images/Isolation_disabled.svg +12 -0
- package/assets/images/Markup_active.svg +11 -0
- package/assets/images/Markup_disabled.svg +11 -0
- package/assets/images/Navigation_Map_active.svg +3 -0
- package/assets/images/Navigation_Map_disabled.svg +5 -0
- package/assets/images/Project_Navigation_active.svg +10 -0
- package/assets/images/Project_Navigation_disabled.svg +10 -0
- package/assets/images/Quantity_active.svg +3 -0
- package/assets/images/Quantity_disabled.svg +5 -0
- package/assets/images/Reset_active.svg +10 -0
- package/assets/images/Reset_disabled.svg +10 -0
- package/assets/images/Section_active.svg +3 -0
- package/assets/images/Section_disabled.svg +5 -0
- package/assets/images/View_active.svg +4 -0
- package/assets/images/View_disabled.svg +6 -0
- package/assets/images/bimplus_Components_Account_Settings.svg +14 -0
- package/assets/images/bimplus_Components_BIM_Explorer.svg +18 -0
- package/assets/images/bimplus_Components_BIM_Explorer_Active.svg +18 -0
- package/assets/images/bimplus_Components_BIM_Explorer_Disabled.svg +18 -0
- package/assets/images/bimplus_Components_Clear_Cache.svg +16 -0
- package/assets/images/bimplus_Components_Close.svg +3 -0
- package/assets/images/bimplus_Components_Contact.svg +1 -0
- package/assets/images/bimplus_Components_Desktop_Mode.svg +15 -0
- package/assets/images/bimplus_Components_Documents.svg +14 -0
- package/assets/images/bimplus_Components_Documents_Active.svg +14 -0
- package/assets/images/bimplus_Components_Documents_Disabled.svg +14 -0
- package/assets/images/bimplus_Components_Edit_Profile.svg +8 -0
- package/assets/images/bimplus_Components_Forum.svg +10 -0
- package/assets/images/bimplus_Components_ISO.svg +3 -0
- package/assets/images/bimplus_Components_ISO_Active.svg +3 -0
- package/assets/images/bimplus_Components_ISO_Disabled.svg +3 -0
- package/assets/images/bimplus_Components_Info.svg +16 -0
- package/assets/images/bimplus_Components_Info_Active.svg +16 -0
- package/assets/images/bimplus_Components_Languages.svg +5 -0
- package/assets/images/bimplus_Components_Logo.svg +14 -0
- package/assets/images/bimplus_Components_Logout.svg +12 -0
- package/assets/images/bimplus_Components_Models.svg +3 -0
- package/assets/images/bimplus_Components_Models_Active.svg +3 -0
- package/assets/images/bimplus_Components_Models_Disabled.svg +3 -0
- package/assets/images/bimplus_Components_Notify_Alert.svg +6 -0
- package/assets/images/bimplus_Components_Notify_Close.svg +3 -0
- package/assets/images/bimplus_Components_Notify_Empty.svg +5 -0
- package/assets/images/bimplus_Components_Notify_Main.svg +5 -0
- package/assets/images/bimplus_Components_Notify_Tick_Up.svg +3 -0
- package/assets/images/bimplus_Components_Project_Pic_Default.png +0 -0
- package/assets/images/bimplus_Components_Projects_Folder.svg +10 -0
- package/assets/images/bimplus_Components_Projects_Folder_Active.svg +10 -0
- package/assets/images/bimplus_Components_Projects_Folder_Disabled.svg +10 -0
- package/assets/images/bimplus_Components_Property_Manager.svg +5 -0
- package/assets/images/bimplus_Components_Property_Manager_Active.svg +5 -0
- package/assets/images/bimplus_Components_Property_Manager_Disabled.svg +5 -0
- package/assets/images/bimplus_Components_SCIA.svg +5 -0
- package/assets/images/bimplus_Components_SCIA_Active.svg +5 -0
- package/assets/images/bimplus_Components_SCIA_Disabled.svg +5 -0
- package/assets/images/bimplus_Components_Setting_Active.svg +3 -0
- package/assets/images/bimplus_Components_Settings.svg +3 -0
- package/assets/images/bimplus_Components_Settings_Disabled.svg +3 -0
- package/assets/images/bimplus_Components_Shop.svg +13 -0
- package/assets/images/bimplus_Components_Shop_Disabled.svg +13 -0
- package/assets/images/bimplus_Components_Support.svg +21 -0
- package/assets/images/bimplus_Components_Team_Members.svg +4 -0
- package/assets/images/bimplus_Components_Team_Members_Active.svg +4 -0
- package/assets/images/bimplus_Components_Touch_Mode.svg +16 -0
- package/assets/images/bimplus_Components_User_Guide.svg +17 -0
- package/assets/images/bimplus_Components_User_Pic_Default.png +0 -0
- package/assets/images/bimplus_Components_Users.svg +4 -0
- package/assets/images/bimplus_Components_Users_Active.svg +4 -0
- package/assets/images/bimplus_Components_Users_Disabled.svg +4 -0
- package/assets/images/bimplus_Components_Zoom.svg +5 -0
- package/assets/images/bimplus_Components_navbar_menu.svg +6 -0
- package/assets/images/bimplus_Components_navbar_menu_active.svg +6 -0
- package/assets/images/bimplus_Components_navbar_menu_disabled.svg +6 -0
- package/assets/images/bimplus_Components_submenu_arrow.svg +4 -0
- package/assets/images/bimplus_Remove_Conection.svg +15 -0
- package/assets/images/cm_view_front_black.svg +4 -0
- package/assets/images/cm_view_front_orange.svg +4 -0
- package/assets/images/cm_view_perspective_black.svg +3 -0
- package/assets/images/cm_view_perspective_orange.svg +3 -0
- package/assets/images/cm_view_side_black.svg +4 -0
- package/assets/images/cm_view_side_orange.svg +4 -0
- package/assets/images/cm_view_top_black.svg +4 -0
- package/assets/images/cm_view_top_orange.svg +4 -0
- package/assets/images/ic_thin_arrow_left.svg +3 -0
- package/assets/languages/strings_cs.json +2210 -0
- package/assets/languages/strings_de.json +2264 -0
- package/assets/languages/strings_en.json +2280 -0
- package/assets/languages/strings_es.json +2210 -0
- package/assets/languages/strings_fr.json +2210 -0
- package/assets/languages/strings_it.json +2210 -0
- package/assets/languages/strings_nl.json +797 -0
- package/assets/languages/strings_ro.json +2210 -0
- package/assets/languages/strings_ru.json +2210 -0
- package/assets/languages/strings_tr.json +2210 -0
- package/assets/languages/strings_us.json +2084 -0
- package/esm2022/lib/components/bimplus-contact/bimplus-contact.component.mjs +25 -0
- package/esm2022/lib/components/bimplus-language-menu/bimplus-language-menu.component.mjs +49 -0
- package/esm2022/lib/components/bimplus-localized-widget/bimplus-localized-widget.component.mjs +57 -0
- package/esm2022/lib/components/bimplus-main-menu/bimplus-main-menu.component.mjs +274 -0
- package/esm2022/lib/components/bimplus-navbar/bimplus-navbar.component.mjs +78 -0
- package/esm2022/lib/components/bimplus-notify/bimplus-notify.component.mjs +256 -0
- package/esm2022/lib/components/bimplus-project-menu/bimplus-project-menu.component.mjs +175 -0
- package/esm2022/lib/components/bimplus-sidenav/bimplus-sidenav.component.mjs +94 -0
- package/esm2022/lib/components/bimplus-storage-info/bimplus-storage-info.component.mjs +35 -0
- package/esm2022/lib/components/bimplus-tool-hub/bimplus-tool-hub.component.mjs +388 -0
- package/esm2022/lib/components/bimplus-tool-hub/bimplus-tool-hub.interface.mjs +2 -0
- package/esm2022/lib/components/bimplus-tool-hub/svgGenerator.mjs +125 -0
- package/esm2022/lib/components/bimplus-tool-hub/tool-hub-item/tool-hub-item.component.mjs +34 -0
- package/esm2022/lib/components/bimplus-tool-hub/tool-hub-sub-item/tool-hub-sub-item.component.mjs +38 -0
- package/esm2022/lib/components/bimplus-user-menu/bimplus-user-menu.component.mjs +212 -0
- package/esm2022/lib/components/bimplus-zoom/bimplus-zoom.component.mjs +76 -0
- package/esm2022/lib/directives/draggable.directive.mjs +74 -0
- package/esm2022/lib/directives/x-draggable.directive.mjs +70 -0
- package/esm2022/lib/ngx-bimplus-components.component.mjs +19 -0
- package/esm2022/lib/ngx-bimplus-components.service.mjs +14 -0
- package/esm2022/lib/pipes/pxsuffix.pipe.mjs +17 -0
- package/esm2022/lib/services/language-strings.service.mjs +52 -0
- package/esm2022/lib/types/types.mjs +2 -0
- package/esm2022/lib/utils/utils.mjs +27 -0
- package/esm2022/ngx-bimplus-components.mjs +5 -0
- package/esm2022/public-api.mjs +19 -0
- package/fesm2022/ngx-bimplus-components.mjs +2096 -0
- package/fesm2022/ngx-bimplus-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/bimplus-contact/bimplus-contact.component.d.ts +11 -0
- package/lib/components/bimplus-language-menu/bimplus-language-menu.component.d.ts +19 -0
- package/lib/components/bimplus-localized-widget/bimplus-localized-widget.component.d.ts +15 -0
- package/lib/components/bimplus-main-menu/bimplus-main-menu.component.d.ts +135 -0
- package/lib/components/bimplus-navbar/bimplus-navbar.component.d.ts +30 -0
- package/lib/components/bimplus-notify/bimplus-notify.component.d.ts +115 -0
- package/lib/components/bimplus-project-menu/bimplus-project-menu.component.d.ts +78 -0
- package/lib/components/bimplus-sidenav/bimplus-sidenav.component.d.ts +38 -0
- package/lib/components/bimplus-storage-info/bimplus-storage-info.component.d.ts +18 -0
- package/lib/components/bimplus-tool-hub/bimplus-tool-hub.component.d.ts +58 -0
- package/lib/components/bimplus-tool-hub/bimplus-tool-hub.interface.d.ts +44 -0
- package/lib/components/bimplus-tool-hub/svgGenerator.d.ts +32 -0
- package/lib/components/bimplus-tool-hub/tool-hub-item/tool-hub-item.component.d.ts +10 -0
- package/lib/components/bimplus-tool-hub/tool-hub-sub-item/tool-hub-sub-item.component.d.ts +11 -0
- package/lib/components/bimplus-user-menu/bimplus-user-menu.component.d.ts +103 -0
- package/lib/components/bimplus-zoom/bimplus-zoom.component.d.ts +45 -0
- package/lib/directives/draggable.directive.d.ts +17 -0
- package/lib/directives/x-draggable.directive.d.ts +16 -0
- package/lib/ngx-bimplus-components.component.d.ts +5 -0
- package/lib/ngx-bimplus-components.service.d.ts +6 -0
- package/lib/pipes/pxsuffix.pipe.d.ts +7 -0
- package/lib/services/language-strings.service.d.ts +16 -0
- package/lib/types/types.d.ts +15 -0
- package/lib/utils/utils.d.ts +17 -0
- package/package.json +43 -0
- package/public-api.d.ts +15 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
4
|
+
import { MenuListType } from '../../types/types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface BimplusMainMenuComponentAttribute {
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}
|
|
9
|
+
export declare class BimplusMainMenuComponent extends BimplusLocalizedWidgetComponent implements OnChanges {
|
|
10
|
+
constructor(translateService: TranslateService);
|
|
11
|
+
isEmbedded: boolean;
|
|
12
|
+
isTouch: boolean;
|
|
13
|
+
isIpadApp: boolean;
|
|
14
|
+
isDev: boolean;
|
|
15
|
+
isStage: boolean;
|
|
16
|
+
hideProjectMenuIcons: boolean;
|
|
17
|
+
showHorizontalMenuIcons: boolean;
|
|
18
|
+
projectName: string;
|
|
19
|
+
projectImageUrl: string;
|
|
20
|
+
projectExplorerUrl: string;
|
|
21
|
+
projectActiveItem: string;
|
|
22
|
+
projectmembersDisabled: boolean;
|
|
23
|
+
modelsDisabled: boolean;
|
|
24
|
+
documentsDisabled: boolean;
|
|
25
|
+
projectsettingsDisabled: boolean;
|
|
26
|
+
processesDisabled: boolean;
|
|
27
|
+
footerActiveItem: string;
|
|
28
|
+
menuActiveItem: string;
|
|
29
|
+
isCollapsed: boolean;
|
|
30
|
+
showOverlay: boolean;
|
|
31
|
+
teammembersSubscribed: boolean;
|
|
32
|
+
propertymanagerSubscribed: boolean;
|
|
33
|
+
sciaSubscribed: boolean;
|
|
34
|
+
openProjectDisabled: boolean;
|
|
35
|
+
bimexplorerDisabled: boolean;
|
|
36
|
+
sciaDisabled: boolean;
|
|
37
|
+
teammembersDisabled: boolean;
|
|
38
|
+
propertymanagerDisabled: boolean;
|
|
39
|
+
shopDisabled: boolean;
|
|
40
|
+
openProjectVisible: boolean;
|
|
41
|
+
bimplusProjectMenuVisible: boolean;
|
|
42
|
+
projectmembersVisible: boolean;
|
|
43
|
+
modelsVisible: boolean;
|
|
44
|
+
documentsVisible: boolean;
|
|
45
|
+
projectsettingsVisible: boolean;
|
|
46
|
+
processesVisible: boolean;
|
|
47
|
+
bimexplorerVisible: boolean;
|
|
48
|
+
sciaVisible: boolean;
|
|
49
|
+
teammembersVisible: boolean;
|
|
50
|
+
propertymanagerVisible: boolean;
|
|
51
|
+
shopVisible: boolean;
|
|
52
|
+
dividerprojectmanagementVisible: boolean;
|
|
53
|
+
dividerappsVisible: boolean;
|
|
54
|
+
bimplusMainMenuClicked: EventEmitter<{
|
|
55
|
+
action: string;
|
|
56
|
+
type: string;
|
|
57
|
+
}>;
|
|
58
|
+
bimplusMainMenuOverlayClicked: EventEmitter<void>;
|
|
59
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
60
|
+
get footerList(): MenuListType[];
|
|
61
|
+
/**--------------------------------------------------------------------------
|
|
62
|
+
* check if app is subscribed
|
|
63
|
+
--------------------------------------------------------------------------*/
|
|
64
|
+
_isSubscribed(item: MenuListType): boolean;
|
|
65
|
+
/**--------------------------------------------------------------------------
|
|
66
|
+
* check if app is clickable
|
|
67
|
+
--------------------------------------------------------------------------*/
|
|
68
|
+
_isClickable(item: MenuListType): boolean;
|
|
69
|
+
/**--------------------------------------------------------------------------
|
|
70
|
+
* check if app is subscribed/visible
|
|
71
|
+
--------------------------------------------------------------------------*/
|
|
72
|
+
_isHidden(item: MenuListType): boolean;
|
|
73
|
+
/**--------------------------------------------------------------------------
|
|
74
|
+
* check if app is disabled
|
|
75
|
+
--------------------------------------------------------------------------*/
|
|
76
|
+
_isDisabled(item: MenuListType): boolean;
|
|
77
|
+
_getContextData(item: MenuListType, active: boolean, disabled: boolean, clickable: boolean, selected: boolean): {
|
|
78
|
+
item: MenuListType;
|
|
79
|
+
active: boolean;
|
|
80
|
+
disabled: boolean;
|
|
81
|
+
clickable: boolean;
|
|
82
|
+
selected: boolean;
|
|
83
|
+
};
|
|
84
|
+
_openPrjBtn: MenuListType;
|
|
85
|
+
contextData: {
|
|
86
|
+
item: string;
|
|
87
|
+
active: boolean;
|
|
88
|
+
disabled: boolean;
|
|
89
|
+
clickable: boolean;
|
|
90
|
+
selected: boolean;
|
|
91
|
+
};
|
|
92
|
+
appsList: MenuListType[];
|
|
93
|
+
_menuFooterList: MenuListType[];
|
|
94
|
+
_overlayClicked(): void;
|
|
95
|
+
_mainMenuItemClicked(item: MenuListType, type: string, event: Event | undefined): void;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusMainMenuComponent, never>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusMainMenuComponent, "lib-bimplus-main-menu", never, { "isEmbedded": { "alias": "isEmbedded"; "required": false; }; "isTouch": { "alias": "isTouch"; "required": false; }; "isIpadApp": { "alias": "isIpadApp"; "required": false; }; "isDev": { "alias": "isDev"; "required": false; }; "isStage": { "alias": "isStage"; "required": false; }; "hideProjectMenuIcons": { "alias": "hideProjectMenuIcons"; "required": false; }; "showHorizontalMenuIcons": { "alias": "showHorizontalMenuIcons"; "required": false; }; "projectName": { "alias": "projectName"; "required": false; }; "projectImageUrl": { "alias": "projectImageUrl"; "required": false; }; "projectExplorerUrl": { "alias": "projectExplorerUrl"; "required": false; }; "projectActiveItem": { "alias": "projectActiveItem"; "required": false; }; "projectmembersDisabled": { "alias": "projectmembersDisabled"; "required": false; }; "modelsDisabled": { "alias": "modelsDisabled"; "required": false; }; "documentsDisabled": { "alias": "documentsDisabled"; "required": false; }; "projectsettingsDisabled": { "alias": "projectsettingsDisabled"; "required": false; }; "processesDisabled": { "alias": "processesDisabled"; "required": false; }; "footerActiveItem": { "alias": "footerActiveItem"; "required": false; }; "menuActiveItem": { "alias": "menuActiveItem"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "showOverlay": { "alias": "showOverlay"; "required": false; }; "teammembersSubscribed": { "alias": "teammembersSubscribed"; "required": false; }; "propertymanagerSubscribed": { "alias": "propertymanagerSubscribed"; "required": false; }; "sciaSubscribed": { "alias": "sciaSubscribed"; "required": false; }; "openProjectDisabled": { "alias": "openProjectDisabled"; "required": false; }; "bimexplorerDisabled": { "alias": "bimexplorerDisabled"; "required": false; }; "sciaDisabled": { "alias": "sciaDisabled"; "required": false; }; "teammembersDisabled": { "alias": "teammembersDisabled"; "required": false; }; "propertymanagerDisabled": { "alias": "propertymanagerDisabled"; "required": false; }; "shopDisabled": { "alias": "shopDisabled"; "required": false; }; "openProjectVisible": { "alias": "openProjectVisible"; "required": false; }; "bimplusProjectMenuVisible": { "alias": "bimplusProjectMenuVisible"; "required": false; }; "projectmembersVisible": { "alias": "projectmembersVisible"; "required": false; }; "modelsVisible": { "alias": "modelsVisible"; "required": false; }; "documentsVisible": { "alias": "documentsVisible"; "required": false; }; "projectsettingsVisible": { "alias": "projectsettingsVisible"; "required": false; }; "processesVisible": { "alias": "processesVisible"; "required": false; }; "bimexplorerVisible": { "alias": "bimexplorerVisible"; "required": false; }; "sciaVisible": { "alias": "sciaVisible"; "required": false; }; "teammembersVisible": { "alias": "teammembersVisible"; "required": false; }; "propertymanagerVisible": { "alias": "propertymanagerVisible"; "required": false; }; "shopVisible": { "alias": "shopVisible"; "required": false; }; "dividerprojectmanagementVisible": { "alias": "dividerprojectmanagementVisible"; "required": false; }; "dividerappsVisible": { "alias": "dividerappsVisible"; "required": false; }; }, { "bimplusMainMenuClicked": "bimplusMainMenuClicked"; "bimplusMainMenuOverlayClicked": "bimplusMainMenuOverlayClicked"; }, never, never, true, never>;
|
|
98
|
+
static ngAcceptInputType_isEmbedded: unknown;
|
|
99
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
100
|
+
static ngAcceptInputType_isIpadApp: unknown;
|
|
101
|
+
static ngAcceptInputType_isDev: unknown;
|
|
102
|
+
static ngAcceptInputType_isStage: unknown;
|
|
103
|
+
static ngAcceptInputType_hideProjectMenuIcons: unknown;
|
|
104
|
+
static ngAcceptInputType_showHorizontalMenuIcons: unknown;
|
|
105
|
+
static ngAcceptInputType_projectmembersDisabled: unknown;
|
|
106
|
+
static ngAcceptInputType_modelsDisabled: unknown;
|
|
107
|
+
static ngAcceptInputType_documentsDisabled: unknown;
|
|
108
|
+
static ngAcceptInputType_projectsettingsDisabled: unknown;
|
|
109
|
+
static ngAcceptInputType_processesDisabled: unknown;
|
|
110
|
+
static ngAcceptInputType_isCollapsed: unknown;
|
|
111
|
+
static ngAcceptInputType_showOverlay: unknown;
|
|
112
|
+
static ngAcceptInputType_teammembersSubscribed: unknown;
|
|
113
|
+
static ngAcceptInputType_propertymanagerSubscribed: unknown;
|
|
114
|
+
static ngAcceptInputType_sciaSubscribed: unknown;
|
|
115
|
+
static ngAcceptInputType_openProjectDisabled: unknown;
|
|
116
|
+
static ngAcceptInputType_bimexplorerDisabled: unknown;
|
|
117
|
+
static ngAcceptInputType_sciaDisabled: unknown;
|
|
118
|
+
static ngAcceptInputType_teammembersDisabled: unknown;
|
|
119
|
+
static ngAcceptInputType_propertymanagerDisabled: unknown;
|
|
120
|
+
static ngAcceptInputType_shopDisabled: unknown;
|
|
121
|
+
static ngAcceptInputType_openProjectVisible: unknown;
|
|
122
|
+
static ngAcceptInputType_bimplusProjectMenuVisible: unknown;
|
|
123
|
+
static ngAcceptInputType_projectmembersVisible: unknown;
|
|
124
|
+
static ngAcceptInputType_modelsVisible: unknown;
|
|
125
|
+
static ngAcceptInputType_documentsVisible: unknown;
|
|
126
|
+
static ngAcceptInputType_projectsettingsVisible: unknown;
|
|
127
|
+
static ngAcceptInputType_processesVisible: unknown;
|
|
128
|
+
static ngAcceptInputType_bimexplorerVisible: unknown;
|
|
129
|
+
static ngAcceptInputType_sciaVisible: unknown;
|
|
130
|
+
static ngAcceptInputType_teammembersVisible: unknown;
|
|
131
|
+
static ngAcceptInputType_propertymanagerVisible: unknown;
|
|
132
|
+
static ngAcceptInputType_shopVisible: unknown;
|
|
133
|
+
static ngAcceptInputType_dividerprojectmanagementVisible: unknown;
|
|
134
|
+
static ngAcceptInputType_dividerappsVisible: unknown;
|
|
135
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BimplusNavbarComponent {
|
|
4
|
+
projectInfo: string;
|
|
5
|
+
teamInfo: string;
|
|
6
|
+
isDev: boolean;
|
|
7
|
+
isStage: boolean;
|
|
8
|
+
teamInfoOffset: string;
|
|
9
|
+
isNavbarMenuVisible: boolean;
|
|
10
|
+
isModelViewerActive: boolean;
|
|
11
|
+
isNavbarMessageVisible: boolean;
|
|
12
|
+
isNavbarMenuActive: boolean;
|
|
13
|
+
isNavbarMenuEnabled: boolean;
|
|
14
|
+
isTouch: boolean;
|
|
15
|
+
selectedLanguage: string;
|
|
16
|
+
bimplusNavbarClicked: EventEmitter<string>;
|
|
17
|
+
_menuClicked(): void;
|
|
18
|
+
_logoClicked(): void;
|
|
19
|
+
_projectInfoClicked(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusNavbarComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusNavbarComponent, "lib-bimplus-navbar", never, { "projectInfo": { "alias": "projectInfo"; "required": false; }; "teamInfo": { "alias": "teamInfo"; "required": false; }; "isDev": { "alias": "isDev"; "required": false; }; "isStage": { "alias": "isStage"; "required": false; }; "teamInfoOffset": { "alias": "teamInfoOffset"; "required": false; }; "isNavbarMenuVisible": { "alias": "isNavbarMenuVisible"; "required": false; }; "isModelViewerActive": { "alias": "isModelViewerActive"; "required": false; }; "isNavbarMessageVisible": { "alias": "isNavbarMessageVisible"; "required": false; }; "isNavbarMenuActive": { "alias": "isNavbarMenuActive"; "required": false; }; "isNavbarMenuEnabled": { "alias": "isNavbarMenuEnabled"; "required": false; }; "isTouch": { "alias": "isTouch"; "required": false; }; "selectedLanguage": { "alias": "selectedLanguage"; "required": false; }; }, { "bimplusNavbarClicked": "bimplusNavbarClicked"; }, never, never, true, never>;
|
|
22
|
+
static ngAcceptInputType_isDev: unknown;
|
|
23
|
+
static ngAcceptInputType_isStage: unknown;
|
|
24
|
+
static ngAcceptInputType_isNavbarMenuVisible: unknown;
|
|
25
|
+
static ngAcceptInputType_isModelViewerActive: unknown;
|
|
26
|
+
static ngAcceptInputType_isNavbarMessageVisible: unknown;
|
|
27
|
+
static ngAcceptInputType_isNavbarMenuActive: unknown;
|
|
28
|
+
static ngAcceptInputType_isNavbarMenuEnabled: unknown;
|
|
29
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
30
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges, OnInit, AfterViewInit, AfterViewChecked, ElementRef } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { BimplusLocalizedWidgetComponent } from "../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
4
|
+
import SimpleBar from 'simplebar';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface MessageModel {
|
|
7
|
+
'id': string | undefined;
|
|
8
|
+
'type': string | undefined;
|
|
9
|
+
'title': string | undefined;
|
|
10
|
+
'text': string | undefined;
|
|
11
|
+
'link': string | undefined;
|
|
12
|
+
'linkText': string | string[] | undefined;
|
|
13
|
+
'links': string[] | undefined;
|
|
14
|
+
'actionId': number | undefined;
|
|
15
|
+
'capitalizedTitle': string | boolean | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare class BimplusNotifyComponent extends BimplusLocalizedWidgetComponent implements OnChanges, OnInit, AfterViewInit, AfterViewChecked {
|
|
18
|
+
constructor(translateService: TranslateService, elementRef: ElementRef);
|
|
19
|
+
Array: ArrayConstructor;
|
|
20
|
+
get newMessages(): boolean;
|
|
21
|
+
get bimNotify(): boolean;
|
|
22
|
+
/**--------------------------------------------------------------------------
|
|
23
|
+
* List of messages
|
|
24
|
+
--------------------------------------------------------------------------*/
|
|
25
|
+
_messagesList: MessageModel[];
|
|
26
|
+
/**--------------------------------------------------------------------------
|
|
27
|
+
* properties
|
|
28
|
+
--------------------------------------------------------------------------*/
|
|
29
|
+
messagePreviewTime: number;
|
|
30
|
+
/**--------------------------------------------------------------------------
|
|
31
|
+
* properties
|
|
32
|
+
--------------------------------------------------------------------------*/
|
|
33
|
+
showMessagePreview: boolean;
|
|
34
|
+
/**--------------------------------------------------------------------------
|
|
35
|
+
* properties
|
|
36
|
+
--------------------------------------------------------------------------*/
|
|
37
|
+
previewMessagesLimit: number;
|
|
38
|
+
/**--------------------------------------------------------------------------
|
|
39
|
+
* offset of preview messages from main icon
|
|
40
|
+
--------------------------------------------------------------------------*/
|
|
41
|
+
previewMessagesOffsetY: string;
|
|
42
|
+
/**--------------------------------------------------------------------------
|
|
43
|
+
* properties
|
|
44
|
+
--------------------------------------------------------------------------*/
|
|
45
|
+
messages: string;
|
|
46
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
+
updateMessages(newValue: string): void;
|
|
48
|
+
/**--------------------------------------------------------------------------
|
|
49
|
+
* States
|
|
50
|
+
--------------------------------------------------------------------------*/
|
|
51
|
+
_menuOpened: boolean;
|
|
52
|
+
_alertActive: boolean;
|
|
53
|
+
_oldMessagesList: MessageModel[];
|
|
54
|
+
_previewMessagesList: MessageModel[];
|
|
55
|
+
/**--------------------------------------------------------------------------
|
|
56
|
+
* Delete item event
|
|
57
|
+
--------------------------------------------------------------------------*/
|
|
58
|
+
bimplusNotifyDeleteMessage: EventEmitter<string>;
|
|
59
|
+
/**--------------------------------------------------------------------------
|
|
60
|
+
* Delete all item event
|
|
61
|
+
--------------------------------------------------------------------------*/
|
|
62
|
+
bimplusNotifyDeleteAllMessages: EventEmitter<string>;
|
|
63
|
+
/**--------------------------------------------------------------------------
|
|
64
|
+
* Message action event
|
|
65
|
+
--------------------------------------------------------------------------*/
|
|
66
|
+
bimplusNotifyMessageAction: EventEmitter<string>;
|
|
67
|
+
/**--------------------------------------------------------------------------
|
|
68
|
+
* scrollbar stuff
|
|
69
|
+
--------------------------------------------------------------------------*/
|
|
70
|
+
_element: HTMLElement | undefined;
|
|
71
|
+
_simpleBar: SimpleBar | undefined;
|
|
72
|
+
/**--------------------------------------------------------------------------
|
|
73
|
+
* initial component load
|
|
74
|
+
--------------------------------------------------------------------------*/
|
|
75
|
+
ngOnInit(): void;
|
|
76
|
+
/**--------------------------------------------------------------------------
|
|
77
|
+
* component did load
|
|
78
|
+
--------------------------------------------------------------------------*/
|
|
79
|
+
ngAfterViewInit(): void;
|
|
80
|
+
/**--------------------------------------------------------------------------
|
|
81
|
+
* component did render
|
|
82
|
+
--------------------------------------------------------------------------*/
|
|
83
|
+
ngAfterViewChecked(): void;
|
|
84
|
+
/**--------------------------------------------------------------------------
|
|
85
|
+
* close single message
|
|
86
|
+
--------------------------------------------------------------------------*/
|
|
87
|
+
_closeMessage(item: MessageModel, preview: boolean, event: Event | undefined): void;
|
|
88
|
+
/**--------------------------------------------------------------------------
|
|
89
|
+
* close preview message
|
|
90
|
+
--------------------------------------------------------------------------*/
|
|
91
|
+
_closePreviewMessage(msgId: string | undefined, closedByUser?: boolean): void;
|
|
92
|
+
/**--------------------------------------------------------------------------
|
|
93
|
+
* close all messages
|
|
94
|
+
--------------------------------------------------------------------------*/
|
|
95
|
+
_deleteAllMessages(): void;
|
|
96
|
+
/**--------------------------------------------------------------------------
|
|
97
|
+
* message clicked
|
|
98
|
+
--------------------------------------------------------------------------*/
|
|
99
|
+
_messageAction(item: MessageModel, index: number): void;
|
|
100
|
+
/**--------------------------------------------------------------------------
|
|
101
|
+
* toggle menu open
|
|
102
|
+
--------------------------------------------------------------------------*/
|
|
103
|
+
_toggleOpened(): void;
|
|
104
|
+
_messageNotReadYet(message: MessageModel): boolean;
|
|
105
|
+
storeMessagesAsRead(messageList: string[]): void;
|
|
106
|
+
clearAllLocalStorageMessages(): void;
|
|
107
|
+
/**--------------------------------------------------------------------------
|
|
108
|
+
* get item link title
|
|
109
|
+
--------------------------------------------------------------------------*/
|
|
110
|
+
_getItemLinkTitle(item: MessageModel, index: number): string;
|
|
111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusNotifyComponent, never>;
|
|
112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusNotifyComponent, "lib-bimplus-notify", never, { "messagePreviewTime": { "alias": "messagePreviewTime"; "required": false; }; "showMessagePreview": { "alias": "showMessagePreview"; "required": false; }; "previewMessagesLimit": { "alias": "previewMessagesLimit"; "required": false; }; "previewMessagesOffsetY": { "alias": "previewMessagesOffsetY"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; }, { "bimplusNotifyDeleteMessage": "bimplusNotifyDeleteMessage"; "bimplusNotifyDeleteAllMessages": "bimplusNotifyDeleteAllMessages"; "bimplusNotifyMessageAction": "bimplusNotifyMessageAction"; }, never, never, true, never>;
|
|
113
|
+
static ngAcceptInputType_showMessagePreview: unknown;
|
|
114
|
+
}
|
|
115
|
+
export {};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
3
|
+
import { MenuListType } from '../../types/types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface BimplusProjectMenuComponentAttribute {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
export declare class BimplusProjectMenuComponent extends BimplusLocalizedWidgetComponent {
|
|
9
|
+
constructor(translateService: TranslateService);
|
|
10
|
+
projectName: string;
|
|
11
|
+
projectImageUrl: string;
|
|
12
|
+
projectExplorerUrl: string;
|
|
13
|
+
projectActiveItem: string;
|
|
14
|
+
projectmembersDisabled: boolean;
|
|
15
|
+
modelsDisabled: boolean;
|
|
16
|
+
documentsDisabled: boolean;
|
|
17
|
+
projectsettingsDisabled: boolean;
|
|
18
|
+
processesDisabled: boolean;
|
|
19
|
+
projectmembersVisible: boolean;
|
|
20
|
+
modelsVisible: boolean;
|
|
21
|
+
documentsVisible: boolean;
|
|
22
|
+
projectsettingsVisible: boolean;
|
|
23
|
+
processesVisible: boolean;
|
|
24
|
+
isCollapsed: boolean;
|
|
25
|
+
isMiniMode: boolean;
|
|
26
|
+
isTouch: boolean;
|
|
27
|
+
hideMenuIcons: boolean;
|
|
28
|
+
showHorizontalMenuIcons: boolean;
|
|
29
|
+
prjListThumbnail: never[];
|
|
30
|
+
prjList: never[];
|
|
31
|
+
get prjImgUrl(): string;
|
|
32
|
+
get backgroundValue(): string;
|
|
33
|
+
get prjImageOverlayStyle(): {
|
|
34
|
+
background: string;
|
|
35
|
+
};
|
|
36
|
+
get prjImageStyle(): {
|
|
37
|
+
background: string;
|
|
38
|
+
};
|
|
39
|
+
/**--------------------------------------------------------------------------
|
|
40
|
+
* List of menu items
|
|
41
|
+
* Note : action is used to identify action which should be executed
|
|
42
|
+
* and also it serves as info topic id
|
|
43
|
+
--------------------------------------------------------------------------*/
|
|
44
|
+
_menuPrjList: MenuListType[];
|
|
45
|
+
/**--------------------------------------------------------------------------
|
|
46
|
+
* check if app is subscribed/visible
|
|
47
|
+
--------------------------------------------------------------------------*/
|
|
48
|
+
_isHidden(item: MenuListType): boolean;
|
|
49
|
+
/**--------------------------------------------------------------------------
|
|
50
|
+
* check if app is subscribed/visible
|
|
51
|
+
--------------------------------------------------------------------------*/
|
|
52
|
+
_isDisabled(item: MenuListType): boolean;
|
|
53
|
+
_projectMenuItemClicked(action: string, param: string): void;
|
|
54
|
+
/**--------------------------------------------------------------------------
|
|
55
|
+
* item clicked
|
|
56
|
+
--------------------------------------------------------------------------*/
|
|
57
|
+
_menuItemClicked(item: MenuListType, type: string, event: Event): void;
|
|
58
|
+
_menuItemIgnoreAction(event: Event): void;
|
|
59
|
+
_getPrjItemClassAttributes(item: MenuListType, isTouch: boolean): string;
|
|
60
|
+
_getPrjIconClassAttributes(item: MenuListType): string;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusProjectMenuComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusProjectMenuComponent, "lib-bimplus-project-menu", never, { "projectName": { "alias": "projectName"; "required": false; }; "projectImageUrl": { "alias": "projectImageUrl"; "required": false; }; "projectExplorerUrl": { "alias": "projectExplorerUrl"; "required": false; }; "projectActiveItem": { "alias": "projectActiveItem"; "required": false; }; "projectmembersDisabled": { "alias": "projectmembersDisabled"; "required": false; }; "modelsDisabled": { "alias": "modelsDisabled"; "required": false; }; "documentsDisabled": { "alias": "documentsDisabled"; "required": false; }; "projectsettingsDisabled": { "alias": "projectsettingsDisabled"; "required": false; }; "processesDisabled": { "alias": "processesDisabled"; "required": false; }; "projectmembersVisible": { "alias": "projectmembersVisible"; "required": false; }; "modelsVisible": { "alias": "modelsVisible"; "required": false; }; "documentsVisible": { "alias": "documentsVisible"; "required": false; }; "projectsettingsVisible": { "alias": "projectsettingsVisible"; "required": false; }; "processesVisible": { "alias": "processesVisible"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "isMiniMode": { "alias": "isMiniMode"; "required": false; }; "isTouch": { "alias": "isTouch"; "required": false; }; "hideMenuIcons": { "alias": "hideMenuIcons"; "required": false; }; "showHorizontalMenuIcons": { "alias": "showHorizontalMenuIcons"; "required": false; }; }, {}, never, never, true, never>;
|
|
63
|
+
static ngAcceptInputType_projectmembersDisabled: unknown;
|
|
64
|
+
static ngAcceptInputType_modelsDisabled: unknown;
|
|
65
|
+
static ngAcceptInputType_documentsDisabled: unknown;
|
|
66
|
+
static ngAcceptInputType_projectsettingsDisabled: unknown;
|
|
67
|
+
static ngAcceptInputType_processesDisabled: unknown;
|
|
68
|
+
static ngAcceptInputType_projectmembersVisible: unknown;
|
|
69
|
+
static ngAcceptInputType_modelsVisible: unknown;
|
|
70
|
+
static ngAcceptInputType_documentsVisible: unknown;
|
|
71
|
+
static ngAcceptInputType_projectsettingsVisible: unknown;
|
|
72
|
+
static ngAcceptInputType_processesVisible: unknown;
|
|
73
|
+
static ngAcceptInputType_isCollapsed: unknown;
|
|
74
|
+
static ngAcceptInputType_isMiniMode: unknown;
|
|
75
|
+
static ngAcceptInputType_isTouch: unknown;
|
|
76
|
+
static ngAcceptInputType_hideMenuIcons: unknown;
|
|
77
|
+
static ngAcceptInputType_showHorizontalMenuIcons: unknown;
|
|
78
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface SidenavItem {
|
|
6
|
+
id: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconActive?: string;
|
|
9
|
+
iconDisabled?: string;
|
|
10
|
+
text: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class BimplusSidenavComponent extends BimplusLocalizedWidgetComponent {
|
|
14
|
+
constructor(translateService: TranslateService);
|
|
15
|
+
activeItem: string;
|
|
16
|
+
drawerHeader: string;
|
|
17
|
+
drawerWidth: number;
|
|
18
|
+
drawerExpanded: boolean;
|
|
19
|
+
activeItemChanged: EventEmitter<string>;
|
|
20
|
+
actionClicked: EventEmitter<string>;
|
|
21
|
+
footerClicked: EventEmitter<string>;
|
|
22
|
+
get items(): Array<SidenavItem>;
|
|
23
|
+
set items(value: Array<SidenavItem>);
|
|
24
|
+
get actionItems(): Array<SidenavItem>;
|
|
25
|
+
set actionItems(value: Array<SidenavItem>);
|
|
26
|
+
get footerItem(): SidenavItem | null;
|
|
27
|
+
set footerItem(value: SidenavItem | null);
|
|
28
|
+
private _items;
|
|
29
|
+
private _actionItems;
|
|
30
|
+
private _footerItem;
|
|
31
|
+
_activateItem(item: string): void;
|
|
32
|
+
_clickAction(item: string): void;
|
|
33
|
+
_clickFooter(item: string): void;
|
|
34
|
+
_toggleDrawer(): void;
|
|
35
|
+
_onResizeWidth(event: number): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusSidenavComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusSidenavComponent, "lib-bimplus-sidenav", never, { "items": { "alias": "items"; "required": false; }; "actionItems": { "alias": "actionItems"; "required": false; }; "footerItem": { "alias": "footerItem"; "required": false; }; }, { "activeItemChanged": "activeItemChanged"; "actionClicked": "actionClicked"; "footerClicked": "footerClicked"; }, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
5
|
+
export declare class BimplusStorageInfoComponent extends BimplusLocalizedWidgetComponent {
|
|
6
|
+
constructor(translateService: TranslateService);
|
|
7
|
+
/**--------------------------------------------------------------------------
|
|
8
|
+
* properties
|
|
9
|
+
--------------------------------------------------------------------------*/
|
|
10
|
+
usedStorage: number;
|
|
11
|
+
bimplusStorageInfoClicked: EventEmitter<string>;
|
|
12
|
+
/**--------------------------------------------------------------------------
|
|
13
|
+
* clicked storage info container
|
|
14
|
+
--------------------------------------------------------------------------*/
|
|
15
|
+
_infoClicked(action: string): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusStorageInfoComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusStorageInfoComponent, "lib-bimplus-storage-info", never, { "usedStorage": { "alias": "usedStorage"; "required": false; }; }, { "bimplusStorageInfoClicked": "bimplusStorageInfoClicked"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BimplusLocalizedWidgetComponent } from "./../bimplus-localized-widget/bimplus-localized-widget.component";
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { ToolHubItem, ToolHubSubItem, ToolHubItemUnits } from './bimplus-tool-hub.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BimplusToolHubComponent extends BimplusLocalizedWidgetComponent {
|
|
7
|
+
constructor(translateService: TranslateService);
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
get items(): Array<ToolHubItem>;
|
|
11
|
+
set items(value: Array<ToolHubItem>);
|
|
12
|
+
get activeSubItems(): Array<ToolHubSubItem> | null;
|
|
13
|
+
title: string;
|
|
14
|
+
get isOpened(): boolean;
|
|
15
|
+
set isOpened(value: boolean);
|
|
16
|
+
get units(): ToolHubItemUnits;
|
|
17
|
+
get subMenuUnits(): ToolHubItemUnits;
|
|
18
|
+
get annularSector(): string;
|
|
19
|
+
get annularSectorBorder(): string;
|
|
20
|
+
get deadZoneAnnularSector(): string;
|
|
21
|
+
isEmbedded: boolean;
|
|
22
|
+
isFocused: boolean;
|
|
23
|
+
isActive: boolean;
|
|
24
|
+
itemClicked: EventEmitter<string>;
|
|
25
|
+
subItemClicked: EventEmitter<string>;
|
|
26
|
+
getSVGViewBox(): string;
|
|
27
|
+
getSVGCenterMenuPath(): string;
|
|
28
|
+
getSVGCenterMenuItemPath(): string;
|
|
29
|
+
getSVGCenterSubMenuItemPath(): string;
|
|
30
|
+
toggleMenu(): void;
|
|
31
|
+
findToolHubItemById(id: string): ToolHubItem | undefined;
|
|
32
|
+
clickToolHubItem(action: string): void;
|
|
33
|
+
clickToolHubSubItem(action: string): void;
|
|
34
|
+
toggleToolHubItemActive(buttonId: string): void;
|
|
35
|
+
toggleSubItemsView(buttonId: string): void;
|
|
36
|
+
closeActiveSubItemsView(): void;
|
|
37
|
+
setHoveredState(element: string, hovered: boolean): void;
|
|
38
|
+
dragElement(event: [number, number]): void;
|
|
39
|
+
private _isOpened;
|
|
40
|
+
private _items;
|
|
41
|
+
private _activeSubItemsView;
|
|
42
|
+
private _activeSubItems;
|
|
43
|
+
private _visualSettings;
|
|
44
|
+
private _units;
|
|
45
|
+
private _subMenuUnits;
|
|
46
|
+
private _annularSector;
|
|
47
|
+
private _annularSectorBorder;
|
|
48
|
+
private _deadZoneAnnularSector;
|
|
49
|
+
private _hoveredElements;
|
|
50
|
+
private calculateCurrentMenuItemUnits;
|
|
51
|
+
private calculateCurrentSubMenuItemUnits;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BimplusToolHubComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BimplusToolHubComponent, "lib-bimplus-tool-hub", never, { "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "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>;
|
|
54
|
+
static ngAcceptInputType_isOpened: unknown;
|
|
55
|
+
static ngAcceptInputType_isEmbedded: unknown;
|
|
56
|
+
static ngAcceptInputType_isFocused: unknown;
|
|
57
|
+
static ngAcceptInputType_isActive: unknown;
|
|
58
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface ToolHubSubItem {
|
|
2
|
+
buttonId: string;
|
|
3
|
+
iconClass: string;
|
|
4
|
+
text: string;
|
|
5
|
+
tooltip: string;
|
|
6
|
+
tooltipDisabled: string;
|
|
7
|
+
actionClick: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ToolHubItem {
|
|
10
|
+
buttonId: string;
|
|
11
|
+
iconClass: string;
|
|
12
|
+
text: string;
|
|
13
|
+
tooltip: string;
|
|
14
|
+
tooltipDisabled: string;
|
|
15
|
+
subMenuId?: string;
|
|
16
|
+
subItems?: Array<ToolHubSubItem>;
|
|
17
|
+
active: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface ToolHubVisualSettings {
|
|
21
|
+
subMenuStartAngle: number;
|
|
22
|
+
subMenuEndAngle: number;
|
|
23
|
+
svgRadiusInner: number;
|
|
24
|
+
svgRadius: number;
|
|
25
|
+
subMenuCenter: [number, number];
|
|
26
|
+
subMenuRadius: number;
|
|
27
|
+
subMenuWidth: number;
|
|
28
|
+
deadZoneCenter: [number, number];
|
|
29
|
+
deadZoneWidth: number;
|
|
30
|
+
deadZoneRadius: number;
|
|
31
|
+
deadZoneStartAngle: number;
|
|
32
|
+
deadZoneEndAngle: number;
|
|
33
|
+
}
|
|
34
|
+
export interface ToolHubItemUnits {
|
|
35
|
+
radius: number;
|
|
36
|
+
radiusInner: number;
|
|
37
|
+
width: number;
|
|
38
|
+
thick: number;
|
|
39
|
+
innerEdgeRight: number;
|
|
40
|
+
leftX: number;
|
|
41
|
+
leftY: number;
|
|
42
|
+
rightX: number;
|
|
43
|
+
rightY: number;
|
|
44
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ToolHubVisualSettings, ToolHubItemUnits } from './bimplus-tool-hub.interface';
|
|
2
|
+
export declare class SVGGenerator {
|
|
3
|
+
/**
|
|
4
|
+
* @param {Array.<Number>} center
|
|
5
|
+
* @param {Number} R
|
|
6
|
+
* @param {Number} angle
|
|
7
|
+
* @return {Array.<Number>}
|
|
8
|
+
*/
|
|
9
|
+
static pointOnArc(center: [number, number], R: number, angle: number): [number, number];
|
|
10
|
+
/**
|
|
11
|
+
* Generates arc path
|
|
12
|
+
*
|
|
13
|
+
* @param {Array.<Number>} center
|
|
14
|
+
* @param {Number} radius
|
|
15
|
+
* @param {Number} start
|
|
16
|
+
* @param {Number} end
|
|
17
|
+
* @param {Number} width
|
|
18
|
+
* @param {Number} corner Corner radius
|
|
19
|
+
* @param {Number} canvasWidth - Divisor to have svg with range 0 to 1
|
|
20
|
+
*
|
|
21
|
+
* @return {String|Array.<Number|String>}
|
|
22
|
+
*/
|
|
23
|
+
static arc(center: [number, number], radius: number, start: number, end: number, width: number, corner: number, canvasWidth: number): string;
|
|
24
|
+
static drawMenuItemSvg(svgRadius: number, svgRadiusInner: number, buttonsLength: number, isEMEmbedded: boolean): ToolHubItemUnits;
|
|
25
|
+
static generateAnnularSector(settings: ToolHubVisualSettings): string;
|
|
26
|
+
static generateAnnularSectorBorder(settings: ToolHubVisualSettings): string;
|
|
27
|
+
static generateDeadZoneAnnularSector(settings: ToolHubVisualSettings): string;
|
|
28
|
+
static getSVGViewBox(units: ToolHubItemUnits): string;
|
|
29
|
+
static getSVGCenterMenuPath(units: ToolHubItemUnits): string;
|
|
30
|
+
static getSVGCenterMenuItemPath(units: ToolHubItemUnits): string;
|
|
31
|
+
static getSVGCenterSubMenuItemPath(subMenuUnits: ToolHubItemUnits): string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ToolHubItem } from '../bimplus-tool-hub.interface';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToolHubItemComponent {
|
|
4
|
+
item: ToolHubItem | null;
|
|
5
|
+
active: boolean;
|
|
6
|
+
isEnabled: boolean;
|
|
7
|
+
centerMenuButtonClass: boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHubItemComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolHubItemComponent, "lib-tool-hub-item", never, { "item": { "alias": "item"; "required": false; }; "active": { "alias": "active"; "required": false; }; "isEnabled": { "alias": "isEnabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ToolHubSubItem } from '../bimplus-tool-hub.interface';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToolHubSubItemComponent {
|
|
4
|
+
item: ToolHubSubItem | null;
|
|
5
|
+
active: boolean;
|
|
6
|
+
isEnabled: boolean;
|
|
7
|
+
centerMenuButtonClass: boolean;
|
|
8
|
+
centerSubMenuButtonClass: boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolHubSubItemComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolHubSubItemComponent, "lib-tool-hub-sub-item", never, { "item": { "alias": "item"; "required": false; }; "active": { "alias": "active"; "required": false; }; "isEnabled": { "alias": "isEnabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|