@pilotdev/pilot-web-sdk 26.10.0 → 26.12.0
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/esm2022/lib/base/disposable.mjs +14 -0
- package/esm2022/lib/base/index.mjs +3 -0
- package/esm2022/lib/base/initializable.mjs +14 -0
- package/esm2022/lib/commands/command-builder.mjs +2 -0
- package/esm2022/lib/commands/index.mjs +2 -0
- package/esm2022/lib/contexts/bim-element-panel-context.mjs +16 -0
- package/esm2022/lib/contexts/bim-right-panel-context.mjs +16 -0
- package/esm2022/lib/contexts/context.mjs +32 -0
- package/esm2022/lib/contexts/dialog-context.mjs +10 -0
- package/esm2022/lib/contexts/document-annotations-list-context.mjs +16 -0
- package/esm2022/lib/contexts/index.mjs +10 -0
- package/esm2022/lib/contexts/object-card-context.mjs +63 -0
- package/esm2022/lib/contexts/page-context.mjs +3 -0
- package/esm2022/lib/contexts/render-context.mjs +24 -0
- package/esm2022/lib/contexts/settings-feature-context.mjs +21 -0
- package/esm2022/lib/data/access.mjs +29 -0
- package/esm2022/lib/data/annotations.mjs +34 -0
- package/esm2022/lib/data/attribute.mjs +35 -0
- package/esm2022/lib/data/bim-features/bim-compare-diff.mjs +9 -0
- package/esm2022/lib/data/bim-features/bim-search-set.mjs +2 -0
- package/esm2022/lib/data/bim-features/index.mjs +3 -0
- package/esm2022/lib/data/cades-type.mjs +13 -0
- package/esm2022/lib/data/certificate.mjs +2 -0
- package/esm2022/lib/data/data-object.mjs +19 -0
- package/esm2022/lib/data/expected-error.mjs +9 -0
- package/esm2022/lib/data/file.mjs +2 -0
- package/esm2022/lib/data/files-snapshot.mjs +2 -0
- package/esm2022/lib/data/index.mjs +21 -0
- package/esm2022/lib/data/organisation-unit.mjs +7 -0
- package/esm2022/lib/data/person.mjs +2 -0
- package/esm2022/lib/data/relation.mjs +2 -0
- package/esm2022/lib/data/signature-custom-state.mjs +2 -0
- package/esm2022/lib/data/signature-verification-result.mjs +2 -0
- package/esm2022/lib/data/signature-verification-status.mjs +11 -0
- package/esm2022/lib/data/subscription-type.mjs +6 -0
- package/esm2022/lib/data/theme.mjs +6 -0
- package/esm2022/lib/data/user-state-machine.mjs +2 -0
- package/esm2022/lib/data/user-state.mjs +12 -0
- package/esm2022/lib/icrypto-provider.mjs +96 -0
- package/esm2022/lib/idata.plugin.mjs +11 -0
- package/esm2022/lib/injectable/bim-features/bim-compare-diff-service.mjs +2 -0
- package/esm2022/lib/injectable/bim-features/bim-features.mjs +2 -0
- package/esm2022/lib/injectable/bim-features/bim-search-set-service.mjs +2 -0
- package/esm2022/lib/injectable/bim-features/index.mjs +4 -0
- package/esm2022/lib/injectable/command-builder-provider.mjs +2 -0
- package/esm2022/lib/injectable/dialog-service.mjs +2 -0
- package/esm2022/lib/injectable/index.mjs +12 -0
- package/esm2022/lib/injectable/injection-source.mjs +55 -0
- package/esm2022/lib/injectable/ipersonal-settings.mjs +2 -0
- package/esm2022/lib/injectable/modifier-provider.mjs +2 -0
- package/esm2022/lib/injectable/objects-repository.mjs +2 -0
- package/esm2022/lib/injectable/progress-service.mjs +8 -0
- package/esm2022/lib/injectable/render-context-provider.mjs +2 -0
- package/esm2022/lib/injectable/repository-events.mjs +2 -0
- package/esm2022/lib/injectable/theme-service.mjs +2 -0
- package/esm2022/lib/menu/checkable-menu.builder.mjs +14 -0
- package/esm2022/lib/menu/index.mjs +5 -0
- package/esm2022/lib/menu/menu-item.builder.mjs +39 -0
- package/esm2022/lib/menu/menu.builder.mjs +68 -0
- package/esm2022/lib/menu/menu.mjs +23 -0
- package/esm2022/lib/modifier/attribute-modifier.mjs +2 -0
- package/esm2022/lib/modifier/index.mjs +5 -0
- package/esm2022/lib/modifier/modifier.mjs +2 -0
- package/esm2022/lib/modifier/object-builder.mjs +2 -0
- package/esm2022/lib/modifier/signature-modifier.mjs +2 -0
- package/esm2022/lib/object-card/attribute-value-changed-event-args.mjs +20 -0
- package/esm2022/lib/object-card/index.mjs +3 -0
- package/esm2022/lib/object-card/object-card-handler.mjs +30 -0
- package/esm2022/lib/openspace/index.mjs +2 -0
- package/esm2022/lib/openspace/openspace-view.mjs +29 -0
- package/esm2022/lib/page-navigation/index.mjs +5 -0
- package/esm2022/lib/page-navigation/page-navigation-section-element.builder.mjs +42 -0
- package/esm2022/lib/page-navigation/page-navigation-section.builder.mjs +47 -0
- package/esm2022/lib/page-navigation/page-navigation.builder.mjs +40 -0
- package/esm2022/lib/page-navigation/page-navigation.mjs +15 -0
- package/esm2022/lib/personal-settings/index.mjs +4 -0
- package/esm2022/lib/personal-settings/isettings-feature.mjs +42 -0
- package/esm2022/lib/personal-settings/isettings-value-provider.mjs +27 -0
- package/esm2022/lib/personal-settings/system-settings-keys.mjs +83 -0
- package/esm2022/lib/tabs/index.mjs +4 -0
- package/esm2022/lib/tabs/tab-item.builder.mjs +35 -0
- package/esm2022/lib/tabs/tabs.builder.mjs +40 -0
- package/esm2022/lib/tabs/tabs.mjs +15 -0
- package/esm2022/lib/toolbar/index.mjs +7 -0
- package/esm2022/lib/toolbar/toolbar-item-submenu.handler.mjs +11 -0
- package/esm2022/lib/toolbar/toolbar-item.builder.mjs +41 -0
- package/esm2022/lib/toolbar/toolbar-menu-item.builder.mjs +15 -0
- package/esm2022/lib/toolbar/toolbar-toggle-item.builder.mjs +14 -0
- package/esm2022/lib/toolbar/toolbar.builder.mjs +88 -0
- package/esm2022/lib/toolbar/toolbar.mjs +28 -0
- package/esm2022/lib/tools/attribute-permission.info.mjs +45 -0
- package/esm2022/lib/tools/guid.mjs +53 -0
- package/esm2022/lib/tools/index.mjs +4 -0
- package/esm2022/lib/tools/utils.mjs +8 -0
- package/esm2022/pilotdev-pilot-web-sdk.mjs +5 -0
- package/esm2022/public-api.mjs +20 -0
- package/extensions.config.schema.json +171 -132
- package/fesm2022/pilotdev-pilot-web-sdk.mjs +1508 -0
- package/fesm2022/pilotdev-pilot-web-sdk.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/base/disposable.d.ts +7 -0
- package/{src/lib/base/index.ts → lib/base/index.d.ts} +2 -2
- package/lib/base/initializable.d.ts +8 -0
- package/lib/commands/command-builder.d.ts +15 -0
- package/lib/commands/index.d.ts +1 -0
- package/lib/contexts/bim-element-panel-context.d.ts +8 -0
- package/lib/contexts/bim-right-panel-context.d.ts +8 -0
- package/lib/contexts/context.d.ts +22 -0
- package/lib/contexts/dialog-context.d.ts +5 -0
- package/lib/contexts/document-annotations-list-context.d.ts +12 -0
- package/{src/lib/contexts/index.ts → lib/contexts/index.d.ts} +1 -1
- package/lib/contexts/object-card-context.d.ts +41 -0
- package/lib/contexts/page-context.d.ts +2 -0
- package/lib/contexts/render-context.d.ts +17 -0
- package/lib/contexts/settings-feature-context.d.ts +11 -0
- package/lib/data/access.d.ts +38 -0
- package/lib/data/annotations.d.ts +113 -0
- package/lib/data/attribute.d.ts +48 -0
- package/lib/data/bim-features/bim-compare-diff.d.ts +15 -0
- package/lib/data/bim-features/bim-search-set.d.ts +13 -0
- package/lib/data/cades-type.d.ts +11 -0
- package/lib/data/certificate.d.ts +29 -0
- package/lib/data/data-object.d.ts +77 -0
- package/lib/data/expected-error.d.ts +5 -0
- package/lib/data/file.d.ts +30 -0
- package/lib/data/files-snapshot.d.ts +8 -0
- package/lib/data/organisation-unit.d.ts +20 -0
- package/lib/data/person.d.ts +17 -0
- package/lib/data/relation.d.ts +8 -0
- package/{src/lib/data/signature-custom-state.ts → lib/data/signature-custom-state.d.ts} +4 -4
- package/{src/lib/data/signature-verification-result.ts → lib/data/signature-verification-result.d.ts} +9 -13
- package/lib/data/signature-verification-status.d.ts +9 -0
- package/lib/data/subscription-type.d.ts +4 -0
- package/lib/data/theme.d.ts +7 -0
- package/lib/data/user-state-machine.d.ts +10 -0
- package/lib/data/user-state.d.ts +20 -0
- package/lib/icrypto-provider.d.ts +82 -0
- package/lib/idata.plugin.d.ts +6 -0
- package/lib/injectable/bim-features/bim-compare-diff-service.d.ts +4 -0
- package/{src/lib/injectable/bim-features/bim-features.ts → lib/injectable/bim-features/bim-features.d.ts} +6 -8
- package/lib/injectable/bim-features/bim-search-set-service.d.ts +39 -0
- package/{src/lib/injectable/bim-features/index.ts → lib/injectable/bim-features/index.d.ts} +3 -3
- package/{src/lib/injectable/command-builder-provider.ts → lib/injectable/command-builder-provider.d.ts} +6 -7
- package/{src/lib/injectable/dialog-service.ts → lib/injectable/dialog-service.d.ts} +1 -2
- package/lib/injectable/injection-source.d.ts +26 -0
- package/lib/injectable/ipersonal-settings.d.ts +48 -0
- package/{src/lib/injectable/modifier-provider.ts → lib/injectable/modifier-provider.d.ts} +5 -6
- package/lib/injectable/objects-repository.d.ts +87 -0
- package/lib/injectable/progress-service.d.ts +18 -0
- package/lib/injectable/render-context-provider.d.ts +10 -0
- package/lib/injectable/repository-events.d.ts +31 -0
- package/{src/lib/injectable/theme-service.ts → lib/injectable/theme-service.d.ts} +3 -4
- package/lib/menu/checkable-menu.builder.d.ts +11 -0
- package/{src/lib/menu/index.ts → lib/menu/index.d.ts} +1 -2
- package/lib/menu/menu-item.builder.d.ts +27 -0
- package/lib/menu/menu.builder.d.ts +49 -0
- package/lib/menu/menu.d.ts +20 -0
- package/lib/modifier/attribute-modifier.d.ts +9 -0
- package/{src/lib/modifier/index.ts → lib/modifier/index.d.ts} +1 -1
- package/lib/modifier/modifier.d.ts +30 -0
- package/lib/modifier/object-builder.d.ts +140 -0
- package/lib/modifier/signature-modifier.d.ts +87 -0
- package/lib/object-card/attribute-value-changed-event-args.d.ts +10 -0
- package/{src/lib/object-card/index.ts → lib/object-card/index.d.ts} +2 -2
- package/lib/object-card/object-card-handler.d.ts +25 -0
- package/lib/openspace/openspace-view.d.ts +20 -0
- package/{src/lib/page-navigation/index.ts → lib/page-navigation/index.d.ts} +4 -4
- package/lib/page-navigation/page-navigation-section-element.builder.d.ts +29 -0
- package/lib/page-navigation/page-navigation-section.builder.d.ts +33 -0
- package/lib/page-navigation/page-navigation.builder.d.ts +28 -0
- package/lib/page-navigation/page-navigation.d.ts +9 -0
- package/lib/personal-settings/isettings-feature.d.ts +31 -0
- package/lib/personal-settings/isettings-value-provider.d.ts +17 -0
- package/lib/personal-settings/system-settings-keys.d.ts +82 -0
- package/lib/tabs/tab-item.builder.d.ts +24 -0
- package/lib/tabs/tabs.builder.d.ts +28 -0
- package/lib/tabs/tabs.d.ts +14 -0
- package/{src/lib/toolbar/index.ts → lib/toolbar/index.d.ts} +1 -2
- package/lib/toolbar/toolbar-item-submenu.handler.d.ts +9 -0
- package/lib/toolbar/toolbar-item.builder.d.ts +28 -0
- package/lib/toolbar/toolbar-menu-item.builder.d.ts +13 -0
- package/lib/toolbar/toolbar-toggle-item.builder.d.ts +11 -0
- package/lib/toolbar/toolbar.builder.d.ts +65 -0
- package/lib/toolbar/toolbar.d.ts +21 -0
- package/lib/tools/attribute-permission.info.d.ts +9 -0
- package/lib/tools/guid.d.ts +7 -0
- package/lib/tools/index.d.ts +3 -0
- package/lib/tools/utils.d.ts +3 -0
- package/package.json +17 -4
- package/{src/public-api.ts → public-api.d.ts} +0 -3
- package/.eslintrc.json +0 -31
- package/ng-package.json +0 -10
- package/src/lib/base/disposable.ts +0 -14
- package/src/lib/base/initializable.ts +0 -16
- package/src/lib/commands/command-builder.ts +0 -19
- package/src/lib/commands/index.ts +0 -1
- package/src/lib/contexts/bim-element-panel-context.ts +0 -22
- package/src/lib/contexts/bim-right-panel-context.ts +0 -22
- package/src/lib/contexts/context.ts +0 -38
- package/src/lib/contexts/dialog-context.ts +0 -10
- package/src/lib/contexts/document-annotations-list-context.ts +0 -21
- package/src/lib/contexts/object-card-context.ts +0 -81
- package/src/lib/contexts/page-context.ts +0 -1
- package/src/lib/contexts/render-context.ts +0 -28
- package/src/lib/contexts/settings-feature-context.ts +0 -26
- package/src/lib/data/access.ts +0 -40
- package/src/lib/data/annotations.ts +0 -160
- package/src/lib/data/attribute.ts +0 -33
- package/src/lib/data/bim-features/bim-compare-diff.ts +0 -16
- package/src/lib/data/bim-features/bim-search-set.ts +0 -16
- package/src/lib/data/cades-type.ts +0 -11
- package/src/lib/data/certificate.ts +0 -34
- package/src/lib/data/data-object.ts +0 -83
- package/src/lib/data/expected-error.ts +0 -10
- package/src/lib/data/file.ts +0 -33
- package/src/lib/data/files-snapshot.ts +0 -9
- package/src/lib/data/organisation-unit.ts +0 -22
- package/src/lib/data/person.ts +0 -17
- package/src/lib/data/relation.ts +0 -9
- package/src/lib/data/signature-verification-status.ts +0 -10
- package/src/lib/data/subscription-type.ts +0 -5
- package/src/lib/data/theme.ts +0 -9
- package/src/lib/data/user-state-machine.ts +0 -11
- package/src/lib/data/user-state.ts +0 -21
- package/src/lib/icrypto-provider.ts +0 -106
- package/src/lib/idata.plugin.ts +0 -10
- package/src/lib/injectable/bim-features/bim-compare-diff-service.ts +0 -5
- package/src/lib/injectable/bim-features/bim-search-set-service.ts +0 -44
- package/src/lib/injectable/injection-source.ts +0 -66
- package/src/lib/injectable/ipersonal-settings.ts +0 -53
- package/src/lib/injectable/objects-repository.ts +0 -88
- package/src/lib/injectable/progress-service.ts +0 -20
- package/src/lib/injectable/render-context-provider.ts +0 -11
- package/src/lib/injectable/repository-events.ts +0 -33
- package/src/lib/menu/checkable-menu.builder.ts +0 -15
- package/src/lib/menu/menu-item.builder.ts +0 -45
- package/src/lib/menu/menu.builder.ts +0 -79
- package/src/lib/menu/menu.ts +0 -26
- package/src/lib/modifier/attribute-modifier.ts +0 -9
- package/src/lib/modifier/modifier.ts +0 -31
- package/src/lib/modifier/object-builder.ts +0 -143
- package/src/lib/modifier/signature-modifier.ts +0 -99
- package/src/lib/object-card/attribute-value-changed-event-args.ts +0 -25
- package/src/lib/object-card/object-card-handler.ts +0 -36
- package/src/lib/openspace/openspace-view.ts +0 -32
- package/src/lib/page-navigation/page-navigation-section-element.builder.ts +0 -45
- package/src/lib/page-navigation/page-navigation-section.builder.ts +0 -53
- package/src/lib/page-navigation/page-navigation.builder.ts +0 -45
- package/src/lib/page-navigation/page-navigation.ts +0 -17
- package/src/lib/personal-settings/isettings-feature.ts +0 -43
- package/src/lib/personal-settings/isettings-value-provider.ts +0 -28
- package/src/lib/personal-settings/system-settings-keys.ts +0 -101
- package/src/lib/tabs/tab-item.builder.ts +0 -37
- package/src/lib/tabs/tabs.builder.ts +0 -45
- package/src/lib/tabs/tabs.ts +0 -17
- package/src/lib/toolbar/toolbar-item-submenu.handler.ts +0 -12
- package/src/lib/toolbar/toolbar-item.builder.ts +0 -45
- package/src/lib/toolbar/toolbar-menu-item.builder.ts +0 -16
- package/src/lib/toolbar/toolbar-toggle-item.builder.ts +0 -15
- package/src/lib/toolbar/toolbar.builder.ts +0 -104
- package/src/lib/toolbar/toolbar.ts +0 -33
- package/src/lib/tools/attribute-permission.info.ts +0 -54
- package/src/lib/tools/guid.ts +0 -63
- package/src/lib/tools/index.ts +0 -3
- package/src/lib/tools/utils.ts +0 -8
- package/src/typegen.ts +0 -149
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- /package/{src/lib/data/bim-features/index.ts → lib/data/bim-features/index.d.ts} +0 -0
- /package/{src/lib/data/index.ts → lib/data/index.d.ts} +0 -0
- /package/{src/lib/injectable/index.ts → lib/injectable/index.d.ts} +0 -0
- /package/{src/lib/openspace/index.ts → lib/openspace/index.d.ts} +0 -0
- /package/{src/lib/personal-settings/index.ts → lib/personal-settings/index.d.ts} +0 -0
- /package/{src/lib/tabs/index.ts → lib/tabs/index.d.ts} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IPageNavigationSectionElementBuilder } from './page-navigation-section-element.builder';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a builder for the navigation window's section
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class IPageNavigationSectionBuilder {
|
|
6
|
+
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Section's title to be displayed
|
|
9
|
+
* @param title value
|
|
10
|
+
*/
|
|
11
|
+
withTitle(title: string): IPageNavigationSectionBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Gets the list of existing element ids of the section
|
|
14
|
+
* @returns Existing element ids
|
|
15
|
+
*/
|
|
16
|
+
get elementIds(): string[];
|
|
17
|
+
/**
|
|
18
|
+
* Gets count of section's elements
|
|
19
|
+
*/
|
|
20
|
+
get count(): number;
|
|
21
|
+
/**
|
|
22
|
+
* Adds a new element to the section
|
|
23
|
+
* @param id Element's internal id
|
|
24
|
+
* @param index The index to put the new element at
|
|
25
|
+
*/
|
|
26
|
+
addElement(id: string, index: number): IPageNavigationSectionElementBuilder;
|
|
27
|
+
/**
|
|
28
|
+
* Replaces the element of the section
|
|
29
|
+
* If element does not exist - creates it
|
|
30
|
+
* @param id Elements's internal id
|
|
31
|
+
*/
|
|
32
|
+
replaceElement(id: string): IPageNavigationSectionElementBuilder;
|
|
33
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IPageNavigationSectionBuilder } from './page-navigation-section.builder';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a builder for navigation window
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class IPageNavigationBuilder {
|
|
6
|
+
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Gets the list of existing section ids of the navigation window
|
|
9
|
+
* @returns Existing section ids
|
|
10
|
+
*/
|
|
11
|
+
get sectionIds(): string[];
|
|
12
|
+
/**
|
|
13
|
+
* Gets count of navigation window's elements
|
|
14
|
+
*/
|
|
15
|
+
get count(): number;
|
|
16
|
+
/**
|
|
17
|
+
* Adds a new section to the navigation window
|
|
18
|
+
* @param id Sections's internal id
|
|
19
|
+
* @param index The index to put the new section at
|
|
20
|
+
*/
|
|
21
|
+
addSection(id: string, index: number): IPageNavigationSectionBuilder;
|
|
22
|
+
/**
|
|
23
|
+
* Replaces the section of the navigation window
|
|
24
|
+
* If element does not exist - creates it
|
|
25
|
+
* @param id Elements's internal id
|
|
26
|
+
*/
|
|
27
|
+
replaceSection(id: string): IPageNavigationSectionBuilder;
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPageNavigationBuilder } from './page-navigation.builder';
|
|
2
|
+
/**
|
|
3
|
+
* Interface that allows to add new sections and elements to navigation window
|
|
4
|
+
* @exposedInterface
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class IPageNavigation {
|
|
7
|
+
constructor();
|
|
8
|
+
build(builder: IPageNavigationBuilder): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extension interface that enables you to register the view on settings dialog
|
|
3
|
+
* @interface ISettingsFeature
|
|
4
|
+
* @exposedInterface
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class ISettingsFeature {
|
|
7
|
+
constructor();
|
|
8
|
+
/**
|
|
9
|
+
* Gets the unique id of the settings item
|
|
10
|
+
* @readonly
|
|
11
|
+
* @type {string}
|
|
12
|
+
* @memberof ISettingsFeature
|
|
13
|
+
*/
|
|
14
|
+
get key(): string;
|
|
15
|
+
/**
|
|
16
|
+
* Gets the display title of the settings item
|
|
17
|
+
* @readonly
|
|
18
|
+
* @type {string}
|
|
19
|
+
* @memberof ISettingsFeature
|
|
20
|
+
*/
|
|
21
|
+
get title(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets the value editor view id for the settings feature item
|
|
24
|
+
*
|
|
25
|
+
* Is matched with corresponding IOpenspaceView's `getViewId(): string`
|
|
26
|
+
* @readonly
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ISettingsFeature
|
|
29
|
+
*/
|
|
30
|
+
get editorViewId(): string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for a personal setting value provider
|
|
3
|
+
* @interface ISettingValueProvider
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class ISettingValueProvider {
|
|
6
|
+
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Gets the current setting value.
|
|
9
|
+
* @returns {string} The current setting value.
|
|
10
|
+
*/
|
|
11
|
+
getValue(): string;
|
|
12
|
+
/**
|
|
13
|
+
* Sets the setting value.
|
|
14
|
+
* @param {string} value - The new setting value.
|
|
15
|
+
*/
|
|
16
|
+
setValue(value: string): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export declare class SystemSettingsKeys {
|
|
2
|
+
/**
|
|
3
|
+
* Get's favorites feature key
|
|
4
|
+
*/
|
|
5
|
+
static readonly favoritesFeatureKey = "Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc";
|
|
6
|
+
/**
|
|
7
|
+
* Get's pilot storage drive letter feature key
|
|
8
|
+
*/
|
|
9
|
+
static readonly pilotStorageDriveLetter = "PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc";
|
|
10
|
+
/**
|
|
11
|
+
* Get's agreement roles feature key
|
|
12
|
+
*/
|
|
13
|
+
static readonly agreementRolesFeatureKey = "AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d";
|
|
14
|
+
/**
|
|
15
|
+
* Get's tasks filters feature key
|
|
16
|
+
*/
|
|
17
|
+
static readonly tasksFiltersFeatureKey = "TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7";
|
|
18
|
+
/**
|
|
19
|
+
* Get's tasks groupings feature key
|
|
20
|
+
*/
|
|
21
|
+
static readonly tasksGroupingsFeatureKey = "TasksGroupings-B66B65E3-8B6D-4468-BF07-869B03E7D62B";
|
|
22
|
+
/**
|
|
23
|
+
* Get's annotation filter feature key
|
|
24
|
+
*/
|
|
25
|
+
static readonly annotationFilterFeatureKey = "AnnotationFilter-F151E782-6CEB-44AF-ADF1-AFB0A0FAB95E";
|
|
26
|
+
/**
|
|
27
|
+
* Get's annotation filter feature key
|
|
28
|
+
*/
|
|
29
|
+
static readonly personalAnnotationFilterFeatureKey = "PersonalAnnotationFilter-9382f499-c1b9-433f-95bb-d83195d52121";
|
|
30
|
+
/**
|
|
31
|
+
* Get's mounted on Pilot-Storage items feature key
|
|
32
|
+
*/
|
|
33
|
+
static readonly mountedItemsList = "MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b";
|
|
34
|
+
/**
|
|
35
|
+
* Get's Pilot-Storage work folders feature key
|
|
36
|
+
*/
|
|
37
|
+
static readonly workfoldersList = "Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86";
|
|
38
|
+
/**
|
|
39
|
+
* Get's selection path of the DocumentsExplorer
|
|
40
|
+
*/
|
|
41
|
+
static readonly tabsState = "TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f";
|
|
42
|
+
/**
|
|
43
|
+
* Get's auto blocking file extensions feature key
|
|
44
|
+
*/
|
|
45
|
+
static readonly autoBlockingFileExtensionsFeatureKey = "AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3";
|
|
46
|
+
/**
|
|
47
|
+
* Get's auto commiting file extensions feature key
|
|
48
|
+
*/
|
|
49
|
+
static readonly autoCommitingFileExtensionsFeatureKey = " AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666";
|
|
50
|
+
/**
|
|
51
|
+
* Get's auto updating files feature key
|
|
52
|
+
*/
|
|
53
|
+
static readonly autoUpdatingFilesFeatureKey = "AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5";
|
|
54
|
+
/**
|
|
55
|
+
* Get's auto publishing settings feature key
|
|
56
|
+
*/
|
|
57
|
+
static readonly autoPublishingExtensionsFeatureKey = "AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416";
|
|
58
|
+
/**
|
|
59
|
+
* Get's eml attributes dictionary feature key
|
|
60
|
+
*/
|
|
61
|
+
static readonly emlAttributesDictionaryKeyFeatureKey = "EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F";
|
|
62
|
+
/**
|
|
63
|
+
* Get's documents autofill feature key
|
|
64
|
+
*/
|
|
65
|
+
static readonly docsAutoFillFeatureKey = "DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186";
|
|
66
|
+
/**
|
|
67
|
+
* User-defined temp files regex masks
|
|
68
|
+
*/
|
|
69
|
+
static readonly tempFileMasksFeatureKey = "TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3";
|
|
70
|
+
/**
|
|
71
|
+
* User-defined Export/Import settings
|
|
72
|
+
*/
|
|
73
|
+
static readonly exportImportFeatureKey = "ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C";
|
|
74
|
+
/**
|
|
75
|
+
* User-defined digital signature title
|
|
76
|
+
*/
|
|
77
|
+
static readonly digitalSignatureTitleFeatureKey = "DigitalSignatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9";
|
|
78
|
+
/**
|
|
79
|
+
* Enhanced signature service settings
|
|
80
|
+
*/
|
|
81
|
+
static readonly advancedSignatureFeatureKey = "AdvancedSignatureFeatureKey-D267127C-DCED-4DEC-B1A8-6E7A919E383D";
|
|
82
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enables to set parameters to the tab-group's item
|
|
3
|
+
*/
|
|
4
|
+
export declare abstract class ITabItemBuilder {
|
|
5
|
+
constructor();
|
|
6
|
+
/**
|
|
7
|
+
* Item's title to be displayed
|
|
8
|
+
* @param title value
|
|
9
|
+
*/
|
|
10
|
+
withTitle(title: string): ITabItemBuilder;
|
|
11
|
+
/**
|
|
12
|
+
* Item's icon
|
|
13
|
+
* @param name Icon name
|
|
14
|
+
* @param iconSvg Url of icon or base64 string
|
|
15
|
+
*/
|
|
16
|
+
withIcon(name: string, iconSvg: string): ITabItemBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Item's view id
|
|
19
|
+
*
|
|
20
|
+
* Is matched with corresponding IOpenspaceView's `getViewId(): string`
|
|
21
|
+
* @param value - View Id
|
|
22
|
+
*/
|
|
23
|
+
withViewId(value: string): ITabItemBuilder;
|
|
24
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ITabItemBuilder } from './tab-item.builder';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a builder for tab groups
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class ITabsBuilder {
|
|
6
|
+
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Gets the list of existing items of a tab group
|
|
9
|
+
* @returns Existing menu item names
|
|
10
|
+
*/
|
|
11
|
+
get itemNames(): string[];
|
|
12
|
+
/**
|
|
13
|
+
* Gets count of tab group items
|
|
14
|
+
*/
|
|
15
|
+
get count(): number;
|
|
16
|
+
/**
|
|
17
|
+
* Adds a new item to the associated tab group
|
|
18
|
+
* @param id Item's internal id
|
|
19
|
+
* @param index The index to put the new item at
|
|
20
|
+
*/
|
|
21
|
+
addItem(id: string, index: number): ITabItemBuilder;
|
|
22
|
+
/**
|
|
23
|
+
* Replaces the item for the tab group.
|
|
24
|
+
* If Item does not exist - creates it.
|
|
25
|
+
* @param id Item's internal id
|
|
26
|
+
*/
|
|
27
|
+
replaceItem(id: string): ITabItemBuilder;
|
|
28
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BimElementPanelContext, BimRightPanelContext, ObjectsViewContext } from "../contexts";
|
|
2
|
+
import { ITabsBuilder } from "./tabs.builder";
|
|
3
|
+
/**
|
|
4
|
+
* Interface that allows to add new items to the tabs
|
|
5
|
+
* @exposedInterface
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class ITabs<TTabsContext extends BimElementPanelContext | BimRightPanelContext | ObjectsViewContext> {
|
|
8
|
+
/**
|
|
9
|
+
* The method is called just before the tabs are shown
|
|
10
|
+
* @param builder The tab group builder object of associated tab group
|
|
11
|
+
* @param context Context
|
|
12
|
+
*/
|
|
13
|
+
build(builder: ITabsBuilder, context: TTabsContext): void;
|
|
14
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
1
|
export * from './toolbar';
|
|
3
2
|
export * from './toolbar-item.builder';
|
|
4
3
|
export * from './toolbar-item-submenu.handler';
|
|
5
4
|
export * from './toolbar-menu-item.builder';
|
|
6
5
|
export * from './toolbar-toggle-item.builder';
|
|
7
|
-
export * from './toolbar.builder';
|
|
6
|
+
export * from './toolbar.builder';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a toolbar button and enables to set parametres to it
|
|
3
|
+
*/
|
|
4
|
+
export declare abstract class IToolbarButtonItemBuilder {
|
|
5
|
+
constructor();
|
|
6
|
+
/**
|
|
7
|
+
* Item's name to be displayed
|
|
8
|
+
* @param header - value
|
|
9
|
+
* @returns instance of IToolbarButtonItemBuilder
|
|
10
|
+
*/
|
|
11
|
+
withHeader(header: string): IToolbarButtonItemBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Item's icon in SVG format
|
|
14
|
+
* @param name - icon name
|
|
15
|
+
* @param svg - url icon or base64 string
|
|
16
|
+
*/
|
|
17
|
+
withIcon(name: string, svg: string): IToolbarButtonItemBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Enabled the item
|
|
20
|
+
* @param value - value
|
|
21
|
+
*/
|
|
22
|
+
withIsEnabled(value: boolean): IToolbarButtonItemBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* Item's hint
|
|
25
|
+
* @param hint - value
|
|
26
|
+
*/
|
|
27
|
+
withHint(hint: string): IToolbarButtonItemBuilder;
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IToolbarButtonItemBuilder } from "./toolbar-item.builder";
|
|
2
|
+
import { IToolbarItemSubmenuHandler } from "./toolbar-item-submenu.handler";
|
|
3
|
+
/**
|
|
4
|
+
* Represents a toolbar menu button and enables to set parametres to it
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class IToolbarMenuButtonItemBuilder extends IToolbarButtonItemBuilder {
|
|
7
|
+
/**
|
|
8
|
+
* Build a dropdown menu
|
|
9
|
+
* @param itemSubmenuHandler - toolbar submenu handler
|
|
10
|
+
* @returns The toolbar button menu builder
|
|
11
|
+
*/
|
|
12
|
+
withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler): IToolbarMenuButtonItemBuilder;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IToolbarButtonItemBuilder } from "./toolbar-item.builder";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a toolbar toggle button and enables to set parametres to it
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class IToolbarToggleButtonItemBuilder extends IToolbarButtonItemBuilder {
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @param value
|
|
9
|
+
*/
|
|
10
|
+
withIsChecked(value: boolean): IToolbarToggleButtonItemBuilder;
|
|
11
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { IToolbarButtonItemBuilder } from "./toolbar-item.builder";
|
|
2
|
+
import { IToolbarItemSubmenuHandler } from "./toolbar-item-submenu.handler";
|
|
3
|
+
import { IToolbarMenuButtonItemBuilder } from "./toolbar-menu-item.builder";
|
|
4
|
+
import { IToolbarToggleButtonItemBuilder } from "./toolbar-toggle-item.builder";
|
|
5
|
+
export declare abstract class IToolbarBuilder {
|
|
6
|
+
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Adds a new separator to the associated toolbar
|
|
9
|
+
* @param index - The index to put the new item at
|
|
10
|
+
*/
|
|
11
|
+
addSeparator(index: number): void;
|
|
12
|
+
/**
|
|
13
|
+
* Adds a new button to the associated toolbar
|
|
14
|
+
* @param name - Internal item's name
|
|
15
|
+
* @param index - The index to put the new item at
|
|
16
|
+
*/
|
|
17
|
+
addButtonItem(name: string, index: number): IToolbarButtonItemBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Adds a new menu button to the associated toolbar
|
|
20
|
+
* @param name - Internal item's name
|
|
21
|
+
* @param index - The index to put the new item at
|
|
22
|
+
*/
|
|
23
|
+
addMenuButtonItem(name: string, index: number): IToolbarMenuButtonItemBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Adds a new toggle button to the associated toolbar
|
|
26
|
+
* @param name - Internal item's name
|
|
27
|
+
* @param index - The index to put the new item at
|
|
28
|
+
*/
|
|
29
|
+
addToggleButtonItem(name: string, index: number): IToolbarToggleButtonItemBuilder;
|
|
30
|
+
/**
|
|
31
|
+
* Replaces the item from the associated toolbar on button
|
|
32
|
+
* @param name - The name of toolbar button to replace
|
|
33
|
+
*/
|
|
34
|
+
replaceButtonItem(name: string): IToolbarButtonItemBuilder;
|
|
35
|
+
/**
|
|
36
|
+
* Replace the item from the associated toolbar on menu button
|
|
37
|
+
* @param name - The name of toolbar menu button to replace
|
|
38
|
+
*/
|
|
39
|
+
replaceMenuButtonItem(name: string): IToolbarMenuButtonItemBuilder;
|
|
40
|
+
/**
|
|
41
|
+
* Enables to set parametres to menu button item submenu
|
|
42
|
+
* @param name - Item's internal name
|
|
43
|
+
* @param itemSubmenuHandler - The toolbar button menu builder
|
|
44
|
+
*/
|
|
45
|
+
handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler): void;
|
|
46
|
+
/**
|
|
47
|
+
* Replaces the item from the associated toolbar on toggle button
|
|
48
|
+
* @param name - The name of toolbar toggle button to replace
|
|
49
|
+
*/
|
|
50
|
+
replaceToggleButtonItem(name: string): IToolbarToggleButtonItemBuilder;
|
|
51
|
+
/**
|
|
52
|
+
* Gets the list of existing item names of associated toolbar
|
|
53
|
+
* @returns - Existing toolbar item names
|
|
54
|
+
*/
|
|
55
|
+
get itemNames(): string[];
|
|
56
|
+
/**
|
|
57
|
+
* Gets count of toolbar items
|
|
58
|
+
*/
|
|
59
|
+
get count(): number;
|
|
60
|
+
/**
|
|
61
|
+
* Removes specified item
|
|
62
|
+
* @param itemName - Item's internal name
|
|
63
|
+
*/
|
|
64
|
+
removeItem(itemName: string): void;
|
|
65
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DocumentAnnotationsListContext, ObjectsViewContext } from "../contexts";
|
|
2
|
+
import { IToolbarBuilder } from "./toolbar.builder";
|
|
3
|
+
/**
|
|
4
|
+
* Interface that allows to add new items to the toolbar
|
|
5
|
+
* @exposedInterface
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class IToolbar<TToolbarContext extends ObjectsViewContext | DocumentAnnotationsListContext> {
|
|
8
|
+
constructor();
|
|
9
|
+
/**
|
|
10
|
+
* The method is called just before the toolbar is created
|
|
11
|
+
* @param builder - the toolbar builder object of associated toolbar
|
|
12
|
+
* @param context - context
|
|
13
|
+
*/
|
|
14
|
+
build(builder: IToolbarBuilder, context: TToolbarContext): void;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @param name
|
|
18
|
+
* @param context
|
|
19
|
+
*/
|
|
20
|
+
onToolbarItemClick(name: string, context: TToolbarContext): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IDataObject } from "../data";
|
|
2
|
+
export declare class AttributePermissionInfo {
|
|
3
|
+
private ATTRIBUTE_NAME_MARKER;
|
|
4
|
+
orgUnits: number[];
|
|
5
|
+
orgUnitAttributes: string[];
|
|
6
|
+
constructor(editableForPositionsSource: string[]);
|
|
7
|
+
extractAllOrgUnits(obj: IDataObject): number[];
|
|
8
|
+
extractAllOrgUnitsByAttributes(attributes: Map<string, any>): number[];
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pilotdev/pilot-web-sdk",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.12.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "17.3.12",
|
|
6
6
|
"@angular/core": "17.3.12",
|
|
7
|
-
"@pilotdev/pilot-web-3d": "26.8.
|
|
7
|
+
"@pilotdev/pilot-web-3d": "26.8.18-alpha",
|
|
8
8
|
"rxjs": "7.8.1"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "2.3.0"
|
|
12
12
|
},
|
|
13
|
-
"sideEffects": false
|
|
14
|
-
|
|
13
|
+
"sideEffects": false,
|
|
14
|
+
"module": "fesm2022/pilotdev-pilot-web-sdk.mjs",
|
|
15
|
+
"typings": "index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
"./package.json": {
|
|
18
|
+
"default": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./index.d.ts",
|
|
22
|
+
"esm2022": "./esm2022/pilotdev-pilot-web-sdk.mjs",
|
|
23
|
+
"esm": "./esm2022/pilotdev-pilot-web-sdk.mjs",
|
|
24
|
+
"default": "./fesm2022/pilotdev-pilot-web-sdk.mjs"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
package/.eslintrc.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../.eslintrc.json",
|
|
3
|
-
"ignorePatterns": ["!**/*"],
|
|
4
|
-
"overrides": [
|
|
5
|
-
{
|
|
6
|
-
"files": ["*.ts"],
|
|
7
|
-
"rules": {
|
|
8
|
-
"@angular-eslint/directive-selector": [
|
|
9
|
-
"error",
|
|
10
|
-
{
|
|
11
|
-
"type": "attribute",
|
|
12
|
-
"prefix": "lib",
|
|
13
|
-
"style": "camelCase"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"@angular-eslint/component-selector": [
|
|
17
|
-
"error",
|
|
18
|
-
{
|
|
19
|
-
"type": "element",
|
|
20
|
-
"prefix": "lib",
|
|
21
|
-
"style": "kebab-case"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"files": ["*.html"],
|
|
28
|
-
"rules": {}
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
}
|
package/ng-package.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export abstract class IDisposable {
|
|
2
|
-
constructor() {
|
|
3
|
-
if (this.constructor == IDisposable) {
|
|
4
|
-
throw new Error("Abstract classes can't be instantiated.");
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* The method is called just before class is disposed
|
|
10
|
-
*/
|
|
11
|
-
dispose() {
|
|
12
|
-
throw new Error("Method 'dispose()' must be implemented.");
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { InjectionSource } from '../injectable';
|
|
2
|
-
|
|
3
|
-
export abstract class IInitializable {
|
|
4
|
-
constructor() {
|
|
5
|
-
if (this.constructor == IInitializable) {
|
|
6
|
-
throw new Error("Abstract classes can't be instantiated.");
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* The method is called after field injection is complete.
|
|
12
|
-
*/
|
|
13
|
-
initialize(injectionSource: InjectionSource) {
|
|
14
|
-
throw new Error("Method 'initialize(injectionSource: InjectionSource)' must be implemented.");
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HttpEvent } from "@angular/common/http";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
|
|
4
|
-
export interface ICommandBuilder {
|
|
5
|
-
command(name: string): ICommand;
|
|
6
|
-
fileCommand(name: string, arg: string): IFileCommand;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface ICommand {
|
|
10
|
-
arg<T>(name: string, value: T): ICommand;
|
|
11
|
-
invoke<T>(): Observable<T>;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface IFileCommand {
|
|
15
|
-
file(file: File): IFileCommand;
|
|
16
|
-
files(files: File[]): IFileCommand;
|
|
17
|
-
invoke<T>(): Observable<HttpEvent<T>>;
|
|
18
|
-
}
|
|
19
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './command-builder';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="@pilotdev/pilot-web-3d" />
|
|
2
|
-
|
|
3
|
-
export class BimElementPanelContext {
|
|
4
|
-
private readonly _modelId: string;
|
|
5
|
-
private readonly _viewer: PilotWeb3D.Viewer3D;
|
|
6
|
-
|
|
7
|
-
constructor(
|
|
8
|
-
modelId: string,
|
|
9
|
-
viewer: PilotWeb3D.Viewer3D
|
|
10
|
-
) {
|
|
11
|
-
this._modelId = modelId;
|
|
12
|
-
this._viewer = viewer;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
get modelId(): string {
|
|
16
|
-
return this._modelId;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
get viewer(): PilotWeb3D.Viewer3D {
|
|
20
|
-
return this._viewer;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="@pilotdev/pilot-web-3d" />
|
|
2
|
-
|
|
3
|
-
export class BimRightPanelContext {
|
|
4
|
-
private readonly _modelId: string;
|
|
5
|
-
private readonly _viewer: PilotWeb3D.Viewer3D;
|
|
6
|
-
|
|
7
|
-
constructor(
|
|
8
|
-
modelId: string,
|
|
9
|
-
viewer: PilotWeb3D.Viewer3D
|
|
10
|
-
) {
|
|
11
|
-
this._modelId = modelId;
|
|
12
|
-
this._viewer = viewer;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
get modelId(): string {
|
|
16
|
-
return this._modelId;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
get viewer(): PilotWeb3D.Viewer3D {
|
|
20
|
-
return this._viewer;
|
|
21
|
-
}
|
|
22
|
-
}
|