@pilotdev/pilot-web-sdk 23.0.0-alpha.2 → 24.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.json +31 -0
- package/README.md +24 -5
- package/ng-package.json +7 -0
- package/package.json +6 -25
- package/src/lib/contexts/context.ts +38 -0
- package/src/lib/contexts/document-annotations-list-context.ts +21 -0
- package/src/lib/contexts/index.ts +3 -0
- package/src/lib/contexts/render-context.ts +28 -0
- package/src/lib/data/access.ts +40 -0
- package/src/lib/data/annotations.ts +20 -0
- package/src/lib/data/attribute.ts +33 -0
- package/src/lib/data/data-object.ts +78 -0
- package/src/lib/data/file.ts +25 -0
- package/src/lib/data/files-snapshot.ts +9 -0
- package/src/lib/data/index.ts +12 -0
- package/src/lib/data/modifier.ts +31 -0
- package/src/lib/data/object-builder.ts +111 -0
- package/src/lib/data/organisation-unit.ts +20 -0
- package/src/lib/data/person.ts +17 -0
- package/src/lib/data/relation.ts +10 -0
- package/src/lib/data/subscriptionType.ts +5 -0
- package/src/lib/idata.plugin.ts +2 -0
- package/src/lib/injectable/index.ts +4 -0
- package/src/lib/injectable/modifier-provider.ts +11 -0
- package/src/lib/injectable/objects-repository.ts +74 -0
- package/src/lib/injectable/render-context-provider.ts +11 -0
- package/src/lib/injectable/repository-events.ts +33 -0
- package/src/lib/menu/checkable-menu.builder.ts +15 -0
- package/{lib/menu/index.d.ts → src/lib/menu/index.ts} +5 -4
- 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 +24 -0
- package/{lib/toolbar/index.d.ts → src/lib/toolbar/index.ts} +7 -6
- 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 +31 -0
- package/src/lib/tools/attribute-permission.info.ts +51 -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/src/public-api.ts +10 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/esm2020/lib/context.mjs +0 -11
- package/esm2020/lib/idata.plugin.mjs +0 -2
- package/esm2020/lib/injectable/index.mjs +0 -2
- package/esm2020/lib/injectable/objects.repository.mjs +0 -2
- package/esm2020/lib/menu/checkable-menu.builder.mjs +0 -14
- package/esm2020/lib/menu/index.mjs +0 -5
- package/esm2020/lib/menu/menu-item.builder.mjs +0 -39
- package/esm2020/lib/menu/menu.builder.mjs +0 -68
- package/esm2020/lib/menu/menu.mjs +0 -22
- package/esm2020/lib/toolbar/index.mjs +0 -7
- package/esm2020/lib/toolbar/toolbar-item-submenu.handler.mjs +0 -3
- package/esm2020/lib/toolbar/toolbar-item.builder.mjs +0 -41
- package/esm2020/lib/toolbar/toolbar-menu-item.builder.mjs +0 -15
- package/esm2020/lib/toolbar/toolbar-toggle-item.builder.mjs +0 -14
- package/esm2020/lib/toolbar/toolbar.builder.mjs +0 -88
- package/esm2020/lib/toolbar/toolbar.mjs +0 -27
- package/esm2020/pilotdev-pilot-web-sdk.mjs +0 -5
- package/esm2020/public-api.mjs +0 -9
- package/fesm2015/pilotdev-pilot-web-sdk.mjs +0 -349
- package/fesm2015/pilotdev-pilot-web-sdk.mjs.map +0 -1
- package/fesm2020/pilotdev-pilot-web-sdk.mjs +0 -349
- package/fesm2020/pilotdev-pilot-web-sdk.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/context.d.ts +0 -18
- package/lib/idata.plugin.d.ts +0 -2
- package/lib/injectable/index.d.ts +0 -1
- package/lib/injectable/objects.repository.d.ts +0 -5
- 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 -18
- package/lib/toolbar/toolbar-item-submenu.handler.d.ts +0 -2
- 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 -19
- package/public-api.d.ts +0 -5
package/lib/toolbar/toolbar.d.ts
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import { IToolbarBuilder } from "./toolbar.builder";
|
2
|
-
/**
|
3
|
-
* Interface that allows to add new items to the toolbar
|
4
|
-
*/
|
5
|
-
export declare abstract class IToolbar<TToolbarContext> {
|
6
|
-
constructor();
|
7
|
-
/**
|
8
|
-
* The method is called just before the toolbar is created
|
9
|
-
* @param builder - the toolbar builder object of associated toolbar
|
10
|
-
* @param context - context
|
11
|
-
*/
|
12
|
-
build(builder: IToolbarBuilder, context: TToolbarContext): void;
|
13
|
-
/**
|
14
|
-
*
|
15
|
-
* @param name
|
16
|
-
* @param context
|
17
|
-
*/
|
18
|
-
onToolbarItemClick(name: string, context: TToolbarContext): void;
|
19
|
-
}
|