@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.
Files changed (84) hide show
  1. package/.eslintrc.json +31 -0
  2. package/README.md +24 -5
  3. package/ng-package.json +7 -0
  4. package/package.json +6 -25
  5. package/src/lib/contexts/context.ts +38 -0
  6. package/src/lib/contexts/document-annotations-list-context.ts +21 -0
  7. package/src/lib/contexts/index.ts +3 -0
  8. package/src/lib/contexts/render-context.ts +28 -0
  9. package/src/lib/data/access.ts +40 -0
  10. package/src/lib/data/annotations.ts +20 -0
  11. package/src/lib/data/attribute.ts +33 -0
  12. package/src/lib/data/data-object.ts +78 -0
  13. package/src/lib/data/file.ts +25 -0
  14. package/src/lib/data/files-snapshot.ts +9 -0
  15. package/src/lib/data/index.ts +12 -0
  16. package/src/lib/data/modifier.ts +31 -0
  17. package/src/lib/data/object-builder.ts +111 -0
  18. package/src/lib/data/organisation-unit.ts +20 -0
  19. package/src/lib/data/person.ts +17 -0
  20. package/src/lib/data/relation.ts +10 -0
  21. package/src/lib/data/subscriptionType.ts +5 -0
  22. package/src/lib/idata.plugin.ts +2 -0
  23. package/src/lib/injectable/index.ts +4 -0
  24. package/src/lib/injectable/modifier-provider.ts +11 -0
  25. package/src/lib/injectable/objects-repository.ts +74 -0
  26. package/src/lib/injectable/render-context-provider.ts +11 -0
  27. package/src/lib/injectable/repository-events.ts +33 -0
  28. package/src/lib/menu/checkable-menu.builder.ts +15 -0
  29. package/{lib/menu/index.d.ts → src/lib/menu/index.ts} +5 -4
  30. package/src/lib/menu/menu-item.builder.ts +45 -0
  31. package/src/lib/menu/menu.builder.ts +79 -0
  32. package/src/lib/menu/menu.ts +24 -0
  33. package/{lib/toolbar/index.d.ts → src/lib/toolbar/index.ts} +7 -6
  34. package/src/lib/toolbar/toolbar-item-submenu.handler.ts +12 -0
  35. package/src/lib/toolbar/toolbar-item.builder.ts +45 -0
  36. package/src/lib/toolbar/toolbar-menu-item.builder.ts +16 -0
  37. package/src/lib/toolbar/toolbar-toggle-item.builder.ts +15 -0
  38. package/src/lib/toolbar/toolbar.builder.ts +104 -0
  39. package/src/lib/toolbar/toolbar.ts +31 -0
  40. package/src/lib/tools/attribute-permission.info.ts +51 -0
  41. package/src/lib/tools/guid.ts +63 -0
  42. package/src/lib/tools/index.ts +3 -0
  43. package/src/lib/tools/utils.ts +8 -0
  44. package/src/public-api.ts +10 -0
  45. package/tsconfig.lib.json +15 -0
  46. package/tsconfig.lib.prod.json +10 -0
  47. package/esm2020/lib/context.mjs +0 -11
  48. package/esm2020/lib/idata.plugin.mjs +0 -2
  49. package/esm2020/lib/injectable/index.mjs +0 -2
  50. package/esm2020/lib/injectable/objects.repository.mjs +0 -2
  51. package/esm2020/lib/menu/checkable-menu.builder.mjs +0 -14
  52. package/esm2020/lib/menu/index.mjs +0 -5
  53. package/esm2020/lib/menu/menu-item.builder.mjs +0 -39
  54. package/esm2020/lib/menu/menu.builder.mjs +0 -68
  55. package/esm2020/lib/menu/menu.mjs +0 -22
  56. package/esm2020/lib/toolbar/index.mjs +0 -7
  57. package/esm2020/lib/toolbar/toolbar-item-submenu.handler.mjs +0 -3
  58. package/esm2020/lib/toolbar/toolbar-item.builder.mjs +0 -41
  59. package/esm2020/lib/toolbar/toolbar-menu-item.builder.mjs +0 -15
  60. package/esm2020/lib/toolbar/toolbar-toggle-item.builder.mjs +0 -14
  61. package/esm2020/lib/toolbar/toolbar.builder.mjs +0 -88
  62. package/esm2020/lib/toolbar/toolbar.mjs +0 -27
  63. package/esm2020/pilotdev-pilot-web-sdk.mjs +0 -5
  64. package/esm2020/public-api.mjs +0 -9
  65. package/fesm2015/pilotdev-pilot-web-sdk.mjs +0 -349
  66. package/fesm2015/pilotdev-pilot-web-sdk.mjs.map +0 -1
  67. package/fesm2020/pilotdev-pilot-web-sdk.mjs +0 -349
  68. package/fesm2020/pilotdev-pilot-web-sdk.mjs.map +0 -1
  69. package/index.d.ts +0 -5
  70. package/lib/context.d.ts +0 -18
  71. package/lib/idata.plugin.d.ts +0 -2
  72. package/lib/injectable/index.d.ts +0 -1
  73. package/lib/injectable/objects.repository.d.ts +0 -5
  74. package/lib/menu/checkable-menu.builder.d.ts +0 -11
  75. package/lib/menu/menu-item.builder.d.ts +0 -27
  76. package/lib/menu/menu.builder.d.ts +0 -49
  77. package/lib/menu/menu.d.ts +0 -18
  78. package/lib/toolbar/toolbar-item-submenu.handler.d.ts +0 -2
  79. package/lib/toolbar/toolbar-item.builder.d.ts +0 -28
  80. package/lib/toolbar/toolbar-menu-item.builder.d.ts +0 -13
  81. package/lib/toolbar/toolbar-toggle-item.builder.d.ts +0 -11
  82. package/lib/toolbar/toolbar.builder.d.ts +0 -65
  83. package/lib/toolbar/toolbar.d.ts +0 -19
  84. package/public-api.d.ts +0 -5
@@ -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
- }
package/public-api.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from './lib/context';
2
- export * from './lib/idata.plugin';
3
- export * from './lib/injectable/index';
4
- export * from './lib/toolbar/index';
5
- export * from './lib/menu/index';