@pilotdev/pilot-web-sdk 26.8.0 → 26.10.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/.eslintrc.json +31 -0
- package/extensions.config.schema.json +132 -171
- package/ng-package.json +10 -0
- package/package.json +4 -17
- package/src/lib/base/disposable.ts +14 -0
- package/{lib/base/index.d.ts → src/lib/base/index.ts} +2 -2
- package/src/lib/base/initializable.ts +16 -0
- package/src/lib/commands/command-builder.ts +19 -0
- package/src/lib/commands/index.ts +1 -0
- package/src/lib/contexts/bim-element-panel-context.ts +22 -0
- package/src/lib/contexts/bim-right-panel-context.ts +22 -0
- package/src/lib/contexts/context.ts +38 -0
- package/src/lib/contexts/dialog-context.ts +10 -0
- package/src/lib/contexts/document-annotations-list-context.ts +21 -0
- package/{lib/contexts/index.d.ts → src/lib/contexts/index.ts} +1 -1
- package/src/lib/contexts/object-card-context.ts +81 -0
- package/src/lib/contexts/page-context.ts +1 -0
- package/src/lib/contexts/render-context.ts +28 -0
- package/src/lib/contexts/settings-feature-context.ts +26 -0
- package/src/lib/data/access.ts +40 -0
- package/src/lib/data/annotations.ts +160 -0
- package/src/lib/data/attribute.ts +33 -0
- package/src/lib/data/bim-features/bim-compare-diff.ts +16 -0
- package/src/lib/data/bim-features/bim-search-set.ts +16 -0
- package/src/lib/data/cades-type.ts +11 -0
- package/src/lib/data/certificate.ts +34 -0
- package/src/lib/data/data-object.ts +83 -0
- package/src/lib/data/expected-error.ts +10 -0
- package/src/lib/data/file.ts +33 -0
- package/src/lib/data/files-snapshot.ts +9 -0
- package/src/lib/data/organisation-unit.ts +22 -0
- package/src/lib/data/person.ts +17 -0
- package/src/lib/data/relation.ts +9 -0
- package/{lib/data/signature-custom-state.d.ts → src/lib/data/signature-custom-state.ts} +4 -4
- package/{lib/data/signature-verification-result.d.ts → src/lib/data/signature-verification-result.ts} +13 -9
- package/src/lib/data/signature-verification-status.ts +10 -0
- package/src/lib/data/subscription-type.ts +5 -0
- package/src/lib/data/theme.ts +9 -0
- package/src/lib/data/user-state-machine.ts +11 -0
- package/src/lib/data/user-state.ts +21 -0
- package/src/lib/icrypto-provider.ts +106 -0
- package/src/lib/idata.plugin.ts +10 -0
- package/src/lib/injectable/bim-features/bim-compare-diff-service.ts +5 -0
- package/{lib/injectable/bim-features/bim-features.d.ts → src/lib/injectable/bim-features/bim-features.ts} +8 -6
- package/src/lib/injectable/bim-features/bim-search-set-service.ts +44 -0
- package/{lib/injectable/bim-features/index.d.ts → src/lib/injectable/bim-features/index.ts} +3 -3
- package/{lib/injectable/command-builder-provider.d.ts → src/lib/injectable/command-builder-provider.ts} +7 -6
- package/{lib/injectable/dialog-service.d.ts → src/lib/injectable/dialog-service.ts} +2 -1
- package/src/lib/injectable/injection-source.ts +66 -0
- package/src/lib/injectable/ipersonal-settings.ts +53 -0
- package/{lib/injectable/modifier-provider.d.ts → src/lib/injectable/modifier-provider.ts} +6 -5
- package/src/lib/injectable/objects-repository.ts +88 -0
- package/src/lib/injectable/progress-service.ts +20 -0
- package/src/lib/injectable/render-context-provider.ts +11 -0
- package/src/lib/injectable/repository-events.ts +33 -0
- package/{lib/injectable/theme-service.d.ts → src/lib/injectable/theme-service.ts} +4 -3
- package/src/lib/menu/checkable-menu.builder.ts +15 -0
- package/{lib/menu/index.d.ts → src/lib/menu/index.ts} +2 -1
- package/src/lib/menu/menu-item.builder.ts +45 -0
- package/src/lib/menu/menu.builder.ts +79 -0
- package/src/lib/menu/menu.ts +26 -0
- package/src/lib/modifier/attribute-modifier.ts +9 -0
- package/{lib/modifier/index.d.ts → src/lib/modifier/index.ts} +1 -1
- package/src/lib/modifier/modifier.ts +31 -0
- package/src/lib/modifier/object-builder.ts +143 -0
- package/src/lib/modifier/signature-modifier.ts +99 -0
- package/src/lib/object-card/attribute-value-changed-event-args.ts +25 -0
- package/{lib/object-card/index.d.ts → src/lib/object-card/index.ts} +2 -2
- package/src/lib/object-card/object-card-handler.ts +36 -0
- package/src/lib/openspace/openspace-view.ts +32 -0
- package/{lib/page-navigation/index.d.ts → src/lib/page-navigation/index.ts} +4 -4
- package/src/lib/page-navigation/page-navigation-section-element.builder.ts +45 -0
- package/src/lib/page-navigation/page-navigation-section.builder.ts +53 -0
- package/src/lib/page-navigation/page-navigation.builder.ts +45 -0
- package/src/lib/page-navigation/page-navigation.ts +17 -0
- package/src/lib/personal-settings/isettings-feature.ts +43 -0
- package/src/lib/personal-settings/isettings-value-provider.ts +28 -0
- package/src/lib/personal-settings/system-settings-keys.ts +101 -0
- package/src/lib/tabs/tab-item.builder.ts +37 -0
- package/src/lib/tabs/tabs.builder.ts +45 -0
- package/src/lib/tabs/tabs.ts +17 -0
- package/{lib/toolbar/index.d.ts → src/lib/toolbar/index.ts} +2 -1
- package/src/lib/toolbar/toolbar-item-submenu.handler.ts +12 -0
- package/src/lib/toolbar/toolbar-item.builder.ts +45 -0
- package/src/lib/toolbar/toolbar-menu-item.builder.ts +16 -0
- package/src/lib/toolbar/toolbar-toggle-item.builder.ts +15 -0
- package/src/lib/toolbar/toolbar.builder.ts +104 -0
- package/src/lib/toolbar/toolbar.ts +33 -0
- package/src/lib/tools/attribute-permission.info.ts +54 -0
- package/src/lib/tools/guid.ts +63 -0
- package/src/lib/tools/index.ts +3 -0
- package/src/lib/tools/utils.ts +8 -0
- package/{public-api.d.ts → src/public-api.ts} +3 -0
- package/src/typegen.ts +149 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/esm2022/lib/base/disposable.mjs +0 -14
- package/esm2022/lib/base/index.mjs +0 -3
- package/esm2022/lib/base/initializable.mjs +0 -14
- package/esm2022/lib/commands/command-builder.mjs +0 -2
- package/esm2022/lib/commands/index.mjs +0 -2
- package/esm2022/lib/contexts/bim-element-panel-context.mjs +0 -16
- package/esm2022/lib/contexts/bim-right-panel-context.mjs +0 -16
- package/esm2022/lib/contexts/context.mjs +0 -32
- package/esm2022/lib/contexts/dialog-context.mjs +0 -10
- package/esm2022/lib/contexts/document-annotations-list-context.mjs +0 -16
- package/esm2022/lib/contexts/index.mjs +0 -10
- package/esm2022/lib/contexts/object-card-context.mjs +0 -63
- package/esm2022/lib/contexts/page-context.mjs +0 -3
- package/esm2022/lib/contexts/render-context.mjs +0 -24
- package/esm2022/lib/contexts/settings-feature-context.mjs +0 -21
- package/esm2022/lib/data/access.mjs +0 -26
- package/esm2022/lib/data/annotations.mjs +0 -34
- package/esm2022/lib/data/attribute.mjs +0 -17
- package/esm2022/lib/data/bim-features/bim-compare-diff.mjs +0 -9
- package/esm2022/lib/data/bim-features/bim-search-set.mjs +0 -2
- package/esm2022/lib/data/bim-features/index.mjs +0 -3
- package/esm2022/lib/data/cades-type.mjs +0 -13
- package/esm2022/lib/data/certificate.mjs +0 -2
- package/esm2022/lib/data/data-object.mjs +0 -19
- package/esm2022/lib/data/expected-error.mjs +0 -9
- package/esm2022/lib/data/file.mjs +0 -2
- package/esm2022/lib/data/files-snapshot.mjs +0 -2
- package/esm2022/lib/data/index.mjs +0 -21
- package/esm2022/lib/data/organisation-unit.mjs +0 -7
- package/esm2022/lib/data/person.mjs +0 -2
- package/esm2022/lib/data/relation.mjs +0 -2
- package/esm2022/lib/data/signature-custom-state.mjs +0 -2
- package/esm2022/lib/data/signature-verification-result.mjs +0 -2
- package/esm2022/lib/data/signature-verification-status.mjs +0 -11
- package/esm2022/lib/data/subscription-type.mjs +0 -6
- package/esm2022/lib/data/theme.mjs +0 -6
- package/esm2022/lib/data/user-state-machine.mjs +0 -2
- package/esm2022/lib/data/user-state.mjs +0 -12
- package/esm2022/lib/icrypto-provider.mjs +0 -96
- package/esm2022/lib/idata.plugin.mjs +0 -11
- package/esm2022/lib/injectable/bim-features/bim-compare-diff-service.mjs +0 -2
- package/esm2022/lib/injectable/bim-features/bim-features.mjs +0 -2
- package/esm2022/lib/injectable/bim-features/bim-search-set-service.mjs +0 -2
- package/esm2022/lib/injectable/bim-features/index.mjs +0 -4
- package/esm2022/lib/injectable/command-builder-provider.mjs +0 -2
- package/esm2022/lib/injectable/dialog-service.mjs +0 -2
- package/esm2022/lib/injectable/index.mjs +0 -12
- package/esm2022/lib/injectable/injection-source.mjs +0 -55
- package/esm2022/lib/injectable/ipersonal-settings.mjs +0 -2
- package/esm2022/lib/injectable/modifier-provider.mjs +0 -2
- package/esm2022/lib/injectable/objects-repository.mjs +0 -2
- package/esm2022/lib/injectable/progress-service.mjs +0 -8
- package/esm2022/lib/injectable/render-context-provider.mjs +0 -2
- package/esm2022/lib/injectable/repository-events.mjs +0 -2
- package/esm2022/lib/injectable/theme-service.mjs +0 -2
- package/esm2022/lib/menu/checkable-menu.builder.mjs +0 -14
- package/esm2022/lib/menu/index.mjs +0 -5
- package/esm2022/lib/menu/menu-item.builder.mjs +0 -39
- package/esm2022/lib/menu/menu.builder.mjs +0 -68
- package/esm2022/lib/menu/menu.mjs +0 -23
- package/esm2022/lib/modifier/attribute-modifier.mjs +0 -2
- package/esm2022/lib/modifier/index.mjs +0 -5
- package/esm2022/lib/modifier/modifier.mjs +0 -2
- package/esm2022/lib/modifier/object-builder.mjs +0 -2
- package/esm2022/lib/modifier/signature-modifier.mjs +0 -2
- package/esm2022/lib/object-card/attribute-value-changed-event-args.mjs +0 -20
- package/esm2022/lib/object-card/index.mjs +0 -3
- package/esm2022/lib/object-card/object-card-handler.mjs +0 -30
- package/esm2022/lib/openspace/index.mjs +0 -2
- package/esm2022/lib/openspace/openspace-view.mjs +0 -29
- package/esm2022/lib/page-navigation/index.mjs +0 -5
- package/esm2022/lib/page-navigation/page-navigation-section-element.builder.mjs +0 -42
- package/esm2022/lib/page-navigation/page-navigation-section.builder.mjs +0 -47
- package/esm2022/lib/page-navigation/page-navigation.builder.mjs +0 -40
- package/esm2022/lib/page-navigation/page-navigation.mjs +0 -15
- package/esm2022/lib/personal-settings/index.mjs +0 -4
- package/esm2022/lib/personal-settings/isettings-feature.mjs +0 -42
- package/esm2022/lib/personal-settings/isettings-value-provider.mjs +0 -27
- package/esm2022/lib/personal-settings/system-settings-keys.mjs +0 -83
- package/esm2022/lib/tabs/index.mjs +0 -4
- package/esm2022/lib/tabs/tab-item.builder.mjs +0 -35
- package/esm2022/lib/tabs/tabs.builder.mjs +0 -40
- package/esm2022/lib/tabs/tabs.mjs +0 -15
- package/esm2022/lib/toolbar/index.mjs +0 -7
- package/esm2022/lib/toolbar/toolbar-item-submenu.handler.mjs +0 -11
- package/esm2022/lib/toolbar/toolbar-item.builder.mjs +0 -41
- package/esm2022/lib/toolbar/toolbar-menu-item.builder.mjs +0 -15
- package/esm2022/lib/toolbar/toolbar-toggle-item.builder.mjs +0 -14
- package/esm2022/lib/toolbar/toolbar.builder.mjs +0 -88
- package/esm2022/lib/toolbar/toolbar.mjs +0 -28
- package/esm2022/lib/tools/attribute-permission.info.mjs +0 -45
- package/esm2022/lib/tools/guid.mjs +0 -53
- package/esm2022/lib/tools/index.mjs +0 -4
- package/esm2022/lib/tools/utils.mjs +0 -8
- package/esm2022/pilotdev-pilot-web-sdk.mjs +0 -5
- package/esm2022/public-api.mjs +0 -20
- package/fesm2022/pilotdev-pilot-web-sdk.mjs +0 -1487
- package/fesm2022/pilotdev-pilot-web-sdk.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/base/disposable.d.ts +0 -7
- package/lib/base/initializable.d.ts +0 -8
- package/lib/commands/command-builder.d.ts +0 -15
- package/lib/commands/index.d.ts +0 -1
- package/lib/contexts/bim-element-panel-context.d.ts +0 -8
- package/lib/contexts/bim-right-panel-context.d.ts +0 -8
- package/lib/contexts/context.d.ts +0 -22
- package/lib/contexts/dialog-context.d.ts +0 -5
- package/lib/contexts/document-annotations-list-context.d.ts +0 -12
- package/lib/contexts/object-card-context.d.ts +0 -41
- package/lib/contexts/page-context.d.ts +0 -2
- package/lib/contexts/render-context.d.ts +0 -17
- package/lib/contexts/settings-feature-context.d.ts +0 -11
- package/lib/data/access.d.ts +0 -35
- package/lib/data/annotations.d.ts +0 -113
- package/lib/data/attribute.d.ts +0 -30
- package/lib/data/bim-features/bim-compare-diff.d.ts +0 -15
- package/lib/data/bim-features/bim-search-set.d.ts +0 -13
- package/lib/data/cades-type.d.ts +0 -11
- package/lib/data/certificate.d.ts +0 -29
- package/lib/data/data-object.d.ts +0 -77
- package/lib/data/expected-error.d.ts +0 -5
- package/lib/data/file.d.ts +0 -30
- package/lib/data/files-snapshot.d.ts +0 -8
- package/lib/data/organisation-unit.d.ts +0 -20
- package/lib/data/person.d.ts +0 -17
- package/lib/data/relation.d.ts +0 -8
- package/lib/data/signature-verification-status.d.ts +0 -9
- package/lib/data/subscription-type.d.ts +0 -4
- package/lib/data/theme.d.ts +0 -7
- package/lib/data/user-state-machine.d.ts +0 -10
- package/lib/data/user-state.d.ts +0 -20
- package/lib/icrypto-provider.d.ts +0 -82
- package/lib/idata.plugin.d.ts +0 -6
- package/lib/injectable/bim-features/bim-compare-diff-service.d.ts +0 -4
- package/lib/injectable/bim-features/bim-search-set-service.d.ts +0 -39
- package/lib/injectable/injection-source.d.ts +0 -26
- package/lib/injectable/ipersonal-settings.d.ts +0 -48
- package/lib/injectable/objects-repository.d.ts +0 -87
- package/lib/injectable/progress-service.d.ts +0 -18
- package/lib/injectable/render-context-provider.d.ts +0 -10
- package/lib/injectable/repository-events.d.ts +0 -31
- package/lib/menu/checkable-menu.builder.d.ts +0 -11
- package/lib/menu/menu-item.builder.d.ts +0 -27
- package/lib/menu/menu.builder.d.ts +0 -49
- package/lib/menu/menu.d.ts +0 -20
- package/lib/modifier/attribute-modifier.d.ts +0 -9
- package/lib/modifier/modifier.d.ts +0 -30
- package/lib/modifier/object-builder.d.ts +0 -140
- package/lib/modifier/signature-modifier.d.ts +0 -87
- package/lib/object-card/attribute-value-changed-event-args.d.ts +0 -10
- package/lib/object-card/object-card-handler.d.ts +0 -25
- package/lib/openspace/openspace-view.d.ts +0 -20
- package/lib/page-navigation/page-navigation-section-element.builder.d.ts +0 -29
- package/lib/page-navigation/page-navigation-section.builder.d.ts +0 -33
- package/lib/page-navigation/page-navigation.builder.d.ts +0 -28
- package/lib/page-navigation/page-navigation.d.ts +0 -9
- package/lib/personal-settings/isettings-feature.d.ts +0 -31
- package/lib/personal-settings/isettings-value-provider.d.ts +0 -17
- package/lib/personal-settings/system-settings-keys.d.ts +0 -82
- package/lib/tabs/tab-item.builder.d.ts +0 -24
- package/lib/tabs/tabs.builder.d.ts +0 -28
- package/lib/tabs/tabs.d.ts +0 -14
- package/lib/toolbar/toolbar-item-submenu.handler.d.ts +0 -9
- package/lib/toolbar/toolbar-item.builder.d.ts +0 -28
- package/lib/toolbar/toolbar-menu-item.builder.d.ts +0 -13
- package/lib/toolbar/toolbar-toggle-item.builder.d.ts +0 -11
- package/lib/toolbar/toolbar.builder.d.ts +0 -65
- package/lib/toolbar/toolbar.d.ts +0 -21
- package/lib/tools/attribute-permission.info.d.ts +0 -9
- package/lib/tools/guid.d.ts +0 -7
- package/lib/tools/index.d.ts +0 -3
- package/lib/tools/utils.d.ts +0 -3
- /package/{lib/data/bim-features/index.d.ts → src/lib/data/bim-features/index.ts} +0 -0
- /package/{lib/data/index.d.ts → src/lib/data/index.ts} +0 -0
- /package/{lib/injectable/index.d.ts → src/lib/injectable/index.ts} +0 -0
- /package/{lib/openspace/index.d.ts → src/lib/openspace/index.ts} +0 -0
- /package/{lib/personal-settings/index.d.ts → src/lib/personal-settings/index.ts} +0 -0
- /package/{lib/tabs/index.d.ts → src/lib/tabs/index.ts} +0 -0
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
}
|
package/lib/tabs/tabs.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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,28 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
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
|
-
}
|
package/lib/toolbar/toolbar.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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/lib/tools/guid.d.ts
DELETED
package/lib/tools/index.d.ts
DELETED
package/lib/tools/utils.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|