@pilotdev/pilot-web-sdk 23.0.0-alpha.2 → 24.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -5
- package/esm2020/lib/contexts/context.mjs +29 -0
- package/esm2020/lib/contexts/document-annotations-list-context.mjs +15 -0
- package/esm2020/lib/contexts/index.mjs +4 -0
- package/esm2020/lib/contexts/render-context.mjs +22 -0
- package/esm2020/lib/data/access.mjs +26 -0
- package/esm2020/lib/data/annotations.mjs +2 -0
- package/esm2020/lib/data/attribute.mjs +17 -0
- package/esm2020/lib/data/data-object.mjs +19 -0
- package/esm2020/lib/data/file.mjs +2 -0
- package/esm2020/lib/data/files-snapshot.mjs +2 -0
- package/esm2020/lib/data/index.mjs +13 -0
- package/esm2020/lib/data/modifier.mjs +2 -0
- package/esm2020/lib/data/object-builder.mjs +2 -0
- package/esm2020/lib/data/organisation-unit.mjs +7 -0
- package/esm2020/lib/data/person.mjs +2 -0
- package/esm2020/lib/data/relation.mjs +2 -0
- package/esm2020/lib/data/subscriptionType.mjs +6 -0
- package/esm2020/lib/idata.plugin.mjs +2 -2
- package/esm2020/lib/injectable/index.mjs +5 -2
- package/esm2020/lib/injectable/modifier-provider.mjs +2 -0
- package/esm2020/lib/injectable/objects-repository.mjs +2 -0
- package/esm2020/lib/injectable/render-context-provider.mjs +2 -0
- package/esm2020/lib/injectable/repository-events.mjs +2 -0
- package/esm2020/lib/menu/checkable-menu.builder.mjs +14 -14
- package/esm2020/lib/menu/index.mjs +5 -5
- package/esm2020/lib/menu/menu-item.builder.mjs +39 -39
- package/esm2020/lib/menu/menu.builder.mjs +68 -68
- package/esm2020/lib/menu/menu.mjs +22 -22
- package/esm2020/lib/toolbar/index.mjs +7 -7
- package/esm2020/lib/toolbar/toolbar-item-submenu.handler.mjs +11 -3
- package/esm2020/lib/toolbar/toolbar-item.builder.mjs +41 -41
- package/esm2020/lib/toolbar/toolbar-menu-item.builder.mjs +15 -15
- package/esm2020/lib/toolbar/toolbar-toggle-item.builder.mjs +14 -14
- package/esm2020/lib/toolbar/toolbar.builder.mjs +88 -88
- package/esm2020/lib/toolbar/toolbar.mjs +27 -27
- package/esm2020/lib/tools/attribute-permission.info.mjs +41 -0
- package/esm2020/lib/tools/guid.mjs +53 -0
- package/esm2020/lib/tools/index.mjs +4 -0
- package/esm2020/lib/tools/utils.mjs +8 -0
- package/esm2020/pilotdev-pilot-web-sdk.mjs +4 -4
- package/esm2020/public-api.mjs +11 -9
- package/fesm2015/pilotdev-pilot-web-sdk.mjs +561 -322
- package/fesm2015/pilotdev-pilot-web-sdk.mjs.map +1 -1
- package/fesm2020/pilotdev-pilot-web-sdk.mjs +561 -322
- package/fesm2020/pilotdev-pilot-web-sdk.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/contexts/context.d.ts +22 -0
- package/lib/contexts/document-annotations-list-context.d.ts +12 -0
- package/lib/contexts/index.d.ts +3 -0
- package/lib/contexts/render-context.d.ts +17 -0
- package/lib/data/access.d.ts +35 -0
- package/lib/data/annotations.d.ts +15 -0
- package/lib/data/attribute.d.ts +30 -0
- package/lib/data/data-object.d.ts +74 -0
- package/lib/data/file.d.ts +23 -0
- package/lib/data/files-snapshot.d.ts +8 -0
- package/lib/data/index.d.ts +12 -0
- package/lib/data/modifier.d.ts +30 -0
- package/lib/data/object-builder.d.ts +110 -0
- package/lib/data/organisation-unit.d.ts +18 -0
- package/lib/data/person.d.ts +17 -0
- package/lib/data/relation.d.ts +8 -0
- package/lib/data/subscriptionType.d.ts +4 -0
- package/lib/idata.plugin.d.ts +2 -2
- package/lib/injectable/index.d.ts +4 -1
- package/lib/injectable/modifier-provider.d.ts +10 -0
- package/lib/injectable/objects-repository.d.ts +72 -0
- package/lib/injectable/render-context-provider.d.ts +10 -0
- package/lib/injectable/repository-events.d.ts +31 -0
- package/lib/menu/checkable-menu.builder.d.ts +11 -11
- package/lib/menu/index.d.ts +4 -4
- package/lib/menu/menu-item.builder.d.ts +27 -27
- package/lib/menu/menu.builder.d.ts +49 -49
- package/lib/menu/menu.d.ts +18 -18
- package/lib/toolbar/index.d.ts +6 -6
- package/lib/toolbar/toolbar-item-submenu.handler.d.ts +9 -2
- package/lib/toolbar/toolbar-item.builder.d.ts +28 -28
- package/lib/toolbar/toolbar-menu-item.builder.d.ts +13 -13
- package/lib/toolbar/toolbar-toggle-item.builder.d.ts +11 -11
- package/lib/toolbar/toolbar.builder.d.ts +65 -65
- package/lib/toolbar/toolbar.d.ts +19 -19
- package/lib/tools/attribute-permission.info.d.ts +8 -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 +5 -5
- package/public-api.d.ts +7 -5
- package/esm2020/lib/context.mjs +0 -11
- package/esm2020/lib/injectable/objects.repository.mjs +0 -2
- package/lib/context.d.ts +0 -18
- package/lib/injectable/objects.repository.d.ts +0 -5
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './attribute-permission.info';
|
2
|
+
export * from './utils';
|
3
|
+
export * from './guid';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvdG9vbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLFNBQVMsQ0FBQTtBQUN2QixjQUFjLFFBQVEsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXR0cmlidXRlLXBlcm1pc3Npb24uaW5mbyc7XG5leHBvcnQgKiBmcm9tICcuL3V0aWxzJ1xuZXhwb3J0ICogZnJvbSAnLi9ndWlkJyJdfQ==
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export function objectToMap(objectMap) {
|
2
|
+
const map = new Map();
|
3
|
+
Object.keys(objectMap).forEach(key => {
|
4
|
+
map.set(key, objectMap[key]);
|
5
|
+
});
|
6
|
+
return map;
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvdG9vbHMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxVQUFVLFdBQVcsQ0FBSSxTQUFrQztJQUMvRCxNQUFNLEdBQUcsR0FBRyxJQUFJLEdBQUcsRUFBYSxDQUFDO0lBQ2pDLE1BQU0sQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFO1FBQ25DLEdBQUcsQ0FBQyxHQUFHLENBQUMsR0FBRyxFQUFFLFNBQVMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDO0lBQy9CLENBQUMsQ0FBQyxDQUFDO0lBQ0gsT0FBTyxHQUFHLENBQUM7QUFDYixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgZnVuY3Rpb24gb2JqZWN0VG9NYXA8VD4ob2JqZWN0TWFwOiB7IFtrZXk6IHN0cmluZ106IGFueTsgfSk6IE1hcDxzdHJpbmcsIFQ+IHtcbiAgY29uc3QgbWFwID0gbmV3IE1hcDxzdHJpbmcsIFQ+KCk7XG4gIE9iamVjdC5rZXlzKG9iamVjdE1hcCkuZm9yRWFjaChrZXkgPT4ge1xuICAgIG1hcC5zZXQoa2V5LCBvYmplY3RNYXBba2V5XSk7XG4gIH0pO1xuICByZXR1cm4gbWFwO1xufSBcbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public-api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public-api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlsb3RkZXYtcGlsb3Qtd2ViLXNkay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL3BpbG90ZGV2LXBpbG90LXdlYi1zZGsudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
package/esm2020/public-api.mjs
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
/*
|
2
|
-
* Public API Surface of pilot-web-sdk
|
3
|
-
*/
|
4
|
-
export * from './lib/
|
5
|
-
export * from './lib/
|
6
|
-
export * from './lib/
|
7
|
-
export * from './lib/
|
8
|
-
export * from './lib/
|
9
|
-
|
1
|
+
/*
|
2
|
+
* Public API Surface of pilot-web-sdk
|
3
|
+
*/
|
4
|
+
export * from './lib/idata.plugin';
|
5
|
+
export * from './lib/injectable/index';
|
6
|
+
export * from './lib/toolbar/index';
|
7
|
+
export * from './lib/menu/index';
|
8
|
+
export * from './lib/contexts/index';
|
9
|
+
export * from './lib/tools/index';
|
10
|
+
export * from './lib/data/index';
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBwaWxvdC13ZWItc2RrXG4gKi9cbmV4cG9ydCAqIGZyb20gJy4vbGliL2lkYXRhLnBsdWdpbic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9pbmplY3RhYmxlL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Rvb2xiYXIvaW5kZXgnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbWVudS9pbmRleCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb250ZXh0cy9pbmRleCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi90b29scy9pbmRleCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kYXRhL2luZGV4JzsiXX0=
|