@pilotdev/pilot-web-sdk 24.4.0 → 24.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. package/README.md +0 -22
  2. package/esm2020/lib/contexts/context.mjs +29 -0
  3. package/esm2020/lib/contexts/document-annotations-list-context.mjs +15 -0
  4. package/esm2020/lib/contexts/index.mjs +4 -0
  5. package/esm2020/lib/contexts/render-context.mjs +22 -0
  6. package/esm2020/lib/data/access.mjs +26 -0
  7. package/esm2020/lib/data/annotations.mjs +2 -0
  8. package/esm2020/lib/data/attribute.mjs +17 -0
  9. package/esm2020/lib/data/data-object.mjs +19 -0
  10. package/esm2020/lib/data/file.mjs +2 -0
  11. package/esm2020/lib/data/files-snapshot.mjs +2 -0
  12. package/esm2020/lib/data/index.mjs +13 -0
  13. package/esm2020/lib/data/modifier.mjs +2 -0
  14. package/esm2020/lib/data/object-builder.mjs +2 -0
  15. package/esm2020/lib/data/organisation-unit.mjs +7 -0
  16. package/esm2020/lib/data/person.mjs +2 -0
  17. package/esm2020/lib/data/relation.mjs +2 -0
  18. package/esm2020/lib/data/subscriptionType.mjs +6 -0
  19. package/esm2020/lib/idata.plugin.mjs +2 -0
  20. package/esm2020/lib/injectable/index.mjs +5 -0
  21. package/esm2020/lib/injectable/modifier-provider.mjs +2 -0
  22. package/esm2020/lib/injectable/objects-repository.mjs +2 -0
  23. package/esm2020/lib/injectable/render-context-provider.mjs +2 -0
  24. package/esm2020/lib/injectable/repository-events.mjs +2 -0
  25. package/esm2020/lib/menu/checkable-menu.builder.mjs +14 -0
  26. package/esm2020/lib/menu/index.mjs +5 -0
  27. package/esm2020/lib/menu/menu-item.builder.mjs +39 -0
  28. package/esm2020/lib/menu/menu.builder.mjs +68 -0
  29. package/esm2020/lib/menu/menu.mjs +22 -0
  30. package/esm2020/lib/toolbar/index.mjs +7 -0
  31. package/esm2020/lib/toolbar/toolbar-item-submenu.handler.mjs +11 -0
  32. package/esm2020/lib/toolbar/toolbar-item.builder.mjs +41 -0
  33. package/esm2020/lib/toolbar/toolbar-menu-item.builder.mjs +15 -0
  34. package/esm2020/lib/toolbar/toolbar-toggle-item.builder.mjs +14 -0
  35. package/esm2020/lib/toolbar/toolbar.builder.mjs +88 -0
  36. package/esm2020/lib/toolbar/toolbar.mjs +27 -0
  37. package/esm2020/lib/tools/attribute-permission.info.mjs +41 -0
  38. package/esm2020/lib/tools/guid.mjs +53 -0
  39. package/esm2020/lib/tools/index.mjs +4 -0
  40. package/esm2020/lib/tools/utils.mjs +8 -0
  41. package/esm2020/pilotdev-pilot-web-sdk.mjs +5 -0
  42. package/esm2020/public-api.mjs +11 -0
  43. package/fesm2015/pilotdev-pilot-web-sdk.mjs +588 -0
  44. package/fesm2015/pilotdev-pilot-web-sdk.mjs.map +1 -0
  45. package/fesm2020/pilotdev-pilot-web-sdk.mjs +588 -0
  46. package/fesm2020/pilotdev-pilot-web-sdk.mjs.map +1 -0
  47. package/index.d.ts +5 -0
  48. package/lib/contexts/context.d.ts +22 -0
  49. package/lib/contexts/document-annotations-list-context.d.ts +12 -0
  50. package/{src/lib/contexts/index.ts → lib/contexts/index.d.ts} +1 -1
  51. package/lib/contexts/render-context.d.ts +17 -0
  52. package/lib/data/access.d.ts +35 -0
  53. package/lib/data/annotations.d.ts +15 -0
  54. package/lib/data/attribute.d.ts +30 -0
  55. package/lib/data/data-object.d.ts +74 -0
  56. package/lib/data/file.d.ts +23 -0
  57. package/lib/data/files-snapshot.d.ts +8 -0
  58. package/{src/lib/data/index.ts → lib/data/index.d.ts} +2 -2
  59. package/lib/data/modifier.d.ts +30 -0
  60. package/lib/data/object-builder.d.ts +110 -0
  61. package/lib/data/organisation-unit.d.ts +18 -0
  62. package/lib/data/person.d.ts +17 -0
  63. package/lib/data/relation.d.ts +8 -0
  64. package/lib/data/subscriptionType.d.ts +4 -0
  65. package/lib/idata.plugin.d.ts +2 -0
  66. package/{src/lib/injectable/index.ts → lib/injectable/index.d.ts} +2 -2
  67. package/{src/lib/injectable/modifier-provider.ts → lib/injectable/modifier-provider.d.ts} +5 -6
  68. package/lib/injectable/objects-repository.d.ts +72 -0
  69. package/lib/injectable/render-context-provider.d.ts +10 -0
  70. package/lib/injectable/repository-events.d.ts +31 -0
  71. package/lib/menu/checkable-menu.builder.d.ts +11 -0
  72. package/{src/lib/menu/index.ts → lib/menu/index.d.ts} +1 -2
  73. package/lib/menu/menu-item.builder.d.ts +27 -0
  74. package/lib/menu/menu.builder.d.ts +49 -0
  75. package/lib/menu/menu.d.ts +18 -0
  76. package/{src/lib/toolbar/index.ts → lib/toolbar/index.d.ts} +1 -2
  77. package/lib/toolbar/toolbar-item-submenu.handler.d.ts +9 -0
  78. package/lib/toolbar/toolbar-item.builder.d.ts +28 -0
  79. package/lib/toolbar/toolbar-menu-item.builder.d.ts +13 -0
  80. package/lib/toolbar/toolbar-toggle-item.builder.d.ts +11 -0
  81. package/lib/toolbar/toolbar.builder.d.ts +65 -0
  82. package/lib/toolbar/toolbar.d.ts +19 -0
  83. package/lib/tools/attribute-permission.info.d.ts +8 -0
  84. package/lib/tools/guid.d.ts +7 -0
  85. package/lib/tools/index.d.ts +3 -0
  86. package/lib/tools/utils.d.ts +3 -0
  87. package/package.json +21 -2
  88. package/{src/public-api.ts → public-api.d.ts} +1 -4
  89. package/.eslintrc.json +0 -31
  90. package/ng-package.json +0 -7
  91. package/src/lib/contexts/context.ts +0 -38
  92. package/src/lib/contexts/document-annotations-list-context.ts +0 -21
  93. package/src/lib/contexts/render-context.ts +0 -28
  94. package/src/lib/data/access.ts +0 -40
  95. package/src/lib/data/annotations.ts +0 -20
  96. package/src/lib/data/attribute.ts +0 -33
  97. package/src/lib/data/data-object.ts +0 -78
  98. package/src/lib/data/file.ts +0 -25
  99. package/src/lib/data/files-snapshot.ts +0 -9
  100. package/src/lib/data/modifier.ts +0 -31
  101. package/src/lib/data/object-builder.ts +0 -111
  102. package/src/lib/data/organisation-unit.ts +0 -20
  103. package/src/lib/data/person.ts +0 -17
  104. package/src/lib/data/relation.ts +0 -10
  105. package/src/lib/data/subscriptionType.ts +0 -5
  106. package/src/lib/idata.plugin.ts +0 -2
  107. package/src/lib/injectable/objects-repository.ts +0 -74
  108. package/src/lib/injectable/render-context-provider.ts +0 -11
  109. package/src/lib/injectable/repository-events.ts +0 -33
  110. package/src/lib/menu/checkable-menu.builder.ts +0 -15
  111. package/src/lib/menu/menu-item.builder.ts +0 -45
  112. package/src/lib/menu/menu.builder.ts +0 -79
  113. package/src/lib/menu/menu.ts +0 -24
  114. package/src/lib/toolbar/toolbar-item-submenu.handler.ts +0 -12
  115. package/src/lib/toolbar/toolbar-item.builder.ts +0 -45
  116. package/src/lib/toolbar/toolbar-menu-item.builder.ts +0 -16
  117. package/src/lib/toolbar/toolbar-toggle-item.builder.ts +0 -15
  118. package/src/lib/toolbar/toolbar.builder.ts +0 -104
  119. package/src/lib/toolbar/toolbar.ts +0 -31
  120. package/src/lib/tools/attribute-permission.info.ts +0 -51
  121. package/src/lib/tools/guid.ts +0 -63
  122. package/src/lib/tools/index.ts +0 -3
  123. package/src/lib/tools/utils.ts +0 -8
  124. package/tsconfig.lib.json +0 -15
  125. package/tsconfig.lib.prod.json +0 -10
package/README.md CHANGED
@@ -1,24 +1,2 @@
1
1
  # PilotWebSdk
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.1.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project pilot-web-sdk` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project pilot-web-sdk`.
8
- > Note: Don't forget to add `--project pilot-web-sdk` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build pilot-web-sdk` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build pilot-web-sdk`, go to the dist folder `cd dist/pilot-web-sdk` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test pilot-web-sdk` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Contex for objects view
3
+ */
4
+ export class ObjectsViewContext {
5
+ constructor(selectedObjects, context, shortcuts) {
6
+ this._selectedObjects = selectedObjects;
7
+ this._context = context;
8
+ this._shortcuts = shortcuts ?? [];
9
+ }
10
+ /**
11
+ *
12
+ */
13
+ get selectedObjects() {
14
+ return this._selectedObjects;
15
+ }
16
+ /**
17
+ *
18
+ */
19
+ get contextObject() {
20
+ return this._context;
21
+ }
22
+ /**
23
+ *
24
+ */
25
+ get shortcuts() {
26
+ return this._shortcuts;
27
+ }
28
+ }
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9jb250ZXh0cy9jb250ZXh0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBOztHQUVHO0FBQ0gsTUFBTSxPQUFPLGtCQUFrQjtJQUs3QixZQUFZLGVBQThCLEVBQUUsT0FBb0IsRUFBRSxTQUF5QjtRQUN6RixJQUFJLENBQUMsZ0JBQWdCLEdBQUcsZUFBZSxDQUFDO1FBQ3hDLElBQUksQ0FBQyxRQUFRLEdBQUcsT0FBTyxDQUFDO1FBQ3hCLElBQUksQ0FBQyxVQUFVLEdBQUcsU0FBUyxJQUFJLEVBQUUsQ0FBQztJQUNwQyxDQUFDO0lBRUQ7O09BRUc7SUFDSCxJQUFXLGVBQWU7UUFDeEIsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUM7SUFDL0IsQ0FBQztJQUVEOztPQUVHO0lBQ0gsSUFBVyxhQUFhO1FBQ3RCLE9BQU8sSUFBSSxDQUFDL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KlxuICAgKiBcbiAgICovXG4gIHB1YmxpYyBnZXQgc2hvcnRjdXRzKCk6IElEYXRhT2JqZWN0W10ge1xuICAgIHJldHVybiB0aGlzLl9zaG9ydGN1dHM7XG4gIH1cbn0iXX0=
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Context for document annotations list
3
+ */
4
+ export class DocumentAnnotationsListContext {
5
+ constructor(selectedAnnotations) {
6
+ this._selectedAnnotations = selectedAnnotations;
7
+ }
8
+ /**
9
+ *
10
+ */
11
+ get selectedAnnotations() {
12
+ return this._selectedAnnotations;
13
+ }
14
+ }
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQtYW5ub3RhdGlvbnMtbGlzdC1jb250ZXh0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2NvbnRleHRzL2RvY3VtZW50LWFubm90YXRpb25zLWxpc3QtY29udGV4dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTs7R0FFRztBQUNILE1BQU0sT0FBTyw4QkFBOEI7SUFHekMsWUFBWSxtQkFBaUQ7UUFDM0QsSUFBSSxDQUFDLG9CQUFvQixHQUFHLG1CQUFtQixDQUFDO0lBQ2xELENBQUM7SUFFRDs7T0FFRztJQUNILElBQVcsbUJBQW1CO1FBQzVCLE9BQU8sSUFBSSxDQUFDLG9CQUFvQixDQUFDO0lBQ25DLENBQUM7Q0FFRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElBbm5vdGF0aW9uQ29udGFpbmVyT2JqZWN0IH0gZnJvbSBcIi4uL2RhdGFcIjtcblxuXG4vKipcbiAqIENvbnRleHQgZm9yIGRvY3VtZW50IGFubm90YXRpb25zIGxpc3RcbiAqL1xuZXhwb3J0IGNsYXNzIERvY3VtZW50QW5ub3RhdGlvbnNMaXN0Q29udGV4dCB7XG4gIHByaXZhdGUgcmVhZG9ubHkgX3NlbGVjdGVkQW5ub3RhdGlvbnM6IElBbm5vdGF0aW9uQ29udGFpbmVyT2JqZWN0W107IFxuICBcbiAgY29uc3RydWN0b3Ioc2VsZWN0ZWRBbm5vdGF0aW9uczogSUFubm90YXRpb25Db250YWluZXJPYmplY3RbXSkge1xuICAgIHRoaXMuX3NlbGVjdGVkQW5ub3RhdGlvbnMgPSBzZWxlY3RlZEFubm90YXRpb25zO1xuICB9XG5cbiAgLyoqXG4gICAqIFxuICAgKi9cbiAgcHVibGljIGdldCBzZWxlY3RlZEFubm90YXRpb25zKCk6IElBbm5vdGF0aW9uQ29udGFpbmVyT2JqZWN0W10ge1xuICAgIHJldHVybiB0aGlzLl9zZWxlY3RlZEFubm90YXRpb25zO1xuICB9XG5cbn0iXX0=
@@ -0,0 +1,4 @@
1
+ export * from './context';
2
+ export * from './document-annotations-list-context';
3
+ export * from './render-context';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvY29udGV4dHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb250ZXh0JztcbmV4cG9ydCAqIGZyb20gJy4vZG9jdW1lbnQtYW5ub3RhdGlvbnMtbGlzdC1jb250ZXh0JztcbmV4cG9ydCAqIGZyb20gJy4vcmVuZGVyLWNvbnRleHQnOyJdfQ==
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Context for xps render
3
+ */
4
+ export class RenderContext {
5
+ constructor(dataObject, selectedVersion) {
6
+ this._dataObject = dataObject;
7
+ this._selectedVersion = selectedVersion;
8
+ }
9
+ /**
10
+ * Target object
11
+ */
12
+ get dataObject() {
13
+ return this._dataObject;
14
+ }
15
+ /**
16
+ * Selected version time
17
+ */
18
+ get selectedVersion() {
19
+ return this._selectedVersion;
20
+ }
21
+ }
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWNvbnRleHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvY29udGV4dHMvcmVuZGVyLWNvbnRleHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7O0dBRUc7QUFDSCxNQUFNLE9BQU8sYUFBYTtJQUl4QixZQUFZLFVBQXVCLEVBQUUsZUFBdUI7UUFDMUQsSUFBSSxDQUFDLFdBQVcsR0FBRyxVQUFVLENBQUM7UUFDOUIsSUFBSSxDQUFDLGdCQUFnQixHQUFHLGVBQWUsQ0FBQztJQUMxQyxDQUFDO0lBRUE7O09BRUc7SUFDSixJQUFXLFVBQVU7UUFDbkIsT0FBTyxJQUFJLENBQUMsV0FBVyxDQUFDO0lBQzFCLENBQUM7SUFFQTs7T0FFRztJQUNKLElBQVcsZUFBZTtRQUN4QixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQztJQUMvQixDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJRGF0YU9iamVjdCB9IGZyb20gXCIuLi9kYXRhXCI7XG5cbi8qKlxuICogQ29udGV4dCBmb3IgeHBzIHJlbmRlclxuICovXG5leHBvcnQgY2xhc3MgUmVuZGVyQ29udGV4dCB7XG4gIHByaXZhdGUgcmVhZG9ubHkgX2RhdGFPYmplY3Q6IElEYXRhT2JqZWN0O1xuICBwcml2YXRlIHJlYWRvbmx5IF9zZWxlY3RlZFZlcnNpb246IHN0cmluZztcbiAgXG4gIGNvbnN0cnVjdG9yKGRhdGFPYmplY3Q6IElEYXRhT2JqZWN0LCBzZWxlY3RlZFZlcnNpb246IHN0cmluZykge1xuICAgIHRoaXMuX2RhdGFPYmplY3QgPSBkYXRhT2JqZWN0O1xuICAgIHRoaXMuX3NlbGVjdGVkVmVyc2lvbiA9IHNlbGVjdGVkVmVyc2lvbjtcbiAgfVxuXG4gICAvKipcbiAgICAqIFRhcmdldCBvYmplY3RcbiAgICAqL1xuICBwdWJsaWMgZ2V0IGRhdGFPYmplY3QoKTogSURhdGFPYmplY3Qge1xuICAgIHJldHVybiB0aGlzLl9kYXRhT2JqZWN0O1xuICB9XG5cbiAgIC8qKlxuICAgICogU2VsZWN0ZWQgdmVyc2lvbiB0aW1lXG4gICAgKi9cbiAgcHVibGljIGdldCBzZWxlY3RlZFZlcnNpb24oKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5fc2VsZWN0ZWRWZXJzaW9uO1xuICB9XG59Il19
@@ -0,0 +1,26 @@
1
+ export var AccessLevel;
2
+ (function (AccessLevel) {
3
+ AccessLevel[AccessLevel["None"] = 0] = "None";
4
+ AccessLevel[AccessLevel["Create"] = 1] = "Create";
5
+ AccessLevel[AccessLevel["Edit"] = 2] = "Edit";
6
+ AccessLevel[AccessLevel["View"] = 4] = "View";
7
+ AccessLevel[AccessLevel["Freeze"] = 8] = "Freeze";
8
+ AccessLevel[AccessLevel["Agreement"] = 16] = "Agreement";
9
+ AccessLevel[AccessLevel["Share"] = 32] = "Share";
10
+ AccessLevel[AccessLevel["ViewCreate"] = 5] = "ViewCreate";
11
+ AccessLevel[AccessLevel["ViewEdit"] = 7] = "ViewEdit";
12
+ AccessLevel[AccessLevel["ViewEditAgrement"] = 23] = "ViewEditAgrement";
13
+ AccessLevel[AccessLevel["Full"] = 63] = "Full";
14
+ })(AccessLevel || (AccessLevel = {}));
15
+ export var AccessType;
16
+ (function (AccessType) {
17
+ AccessType[AccessType["Allow"] = 0] = "Allow";
18
+ AccessType[AccessType["Deny"] = 1] = "Deny";
19
+ })(AccessType || (AccessType = {}));
20
+ export var AccessInheritance;
21
+ (function (AccessInheritance) {
22
+ AccessInheritance[AccessInheritance["None"] = 0] = "None";
23
+ AccessInheritance[AccessInheritance["InheritUntilSecret"] = 1] = "InheritUntilSecret";
24
+ AccessInheritance[AccessInheritance["InheritWholeSubtree"] = 2] = "InheritWholeSubtree";
25
+ })(AccessInheritance || (AccessInheritance = {}));
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjZXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2RhdGEvYWNjZXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLFdBYVg7QUFiRCxXQUFZLFdBQVc7SUFDckIsNkNBQVEsQ0FBQTtJQUNSLGlEQUFlLENBQUE7SUFDZiw2Q0FBYSxDQUFBO0lBQ2IsNkNBQWEsQ0FBQTtJQUNiLGlEQUFlLENBQUE7SUFDZix3REFBa0IsQ0FBQTtJQUNsQixnREFBYyxDQUFBO0lBRWQseURBQTBCLENBQUE7SUFDMUIscURBQStCLENBQUE7SUFDL0Isc0VBQXVDLENBQUE7SUFDdkMsOENBQXdELENBQUE7QUFDMUQsQ0FBQyxFQWJXLFdBQVcsS0FBWCxXQUFXLFFBYXRCO0FBRUQsTUFBTSxDQUFOLElBQVksVUFHWDtBQUhELFdBQVksVUFBVTtJQUNwQiw2Q0FBSyxDQUFBO0lBQ0wsMkNBQUksQ0FBQTtBQUNOLENBQUMsRUFIVyxVQUFVLEtBQVYsVUFBVSxRQUdyQjtBQUVELE1BQU0sQ0FBTixJQUFZLGlCQUlYO0FBSkQsV0FBWSxpQkFBaUI7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,0 +1,17 @@
1
+ export var AttributeType;
2
+ (function (AttributeType) {
3
+ AttributeType[AttributeType["Integer"] = 0] = "Integer";
4
+ AttributeType[AttributeType["Double"] = 1] = "Double";
5
+ AttributeType[AttributeType["DateTime"] = 2] = "DateTime";
6
+ AttributeType[AttributeType["String"] = 3] = "String";
7
+ AttributeType[AttributeType["Decimal"] = 4] = "Decimal";
8
+ AttributeType[AttributeType["Numerator"] = 5] = "Numerator";
9
+ AttributeType[AttributeType["Array"] = 6] = "Array";
10
+ AttributeType[AttributeType["UserState"] = 7] = "UserState";
11
+ AttributeType[AttributeType["OrgUnit"] = 8] = "OrgUnit";
12
+ AttributeType[AttributeType["ElementBook"] = 9] = "ElementBook";
13
+ AttributeType[AttributeType["Guid"] = 10] = "Guid";
14
+ AttributeType[AttributeType["IntegerArray"] = 11] = "IntegerArray";
15
+ AttributeType[AttributeType["Unknown"] = 99] = "Unknown";
16
+ })(AttributeType || (AttributeType = {}));
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2RhdGEvYXR0cmlidXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCQSxNQUFNLENBQU4sSUFBWSxhQWNYO0FBZEQsV0FBWSxhQUFhO0lBQ3ZCLHVEQUFXLENBQUE7SUFDWCxxREFBVSxDQUFBO0lBQ1YseURBQVksQ0FBQTtJQUNaLHFEQUFVLENBQUE7SUFDVix1REFBVyxDQUFBO0lBQ1gsMkRBQWEsQ0FBQTtJQUNiLG1EQUFTLENBQUE7SUFDVCwyREFBYSxDQUFBO0lBQ2IsdURBQVcsQ0FBQTtJQUNYLCtEQUFlLENBQUE7SUFDZixrREFBUyxDQUFBO0lBQ1Qsa0VBQWlCLENBQUE7SUFDakIsd0RBQVksQ0FBQTtBQUNkLENBQUMsRUFkVyxhQUFhLEtBQWIsYUFBYSxRQWN4QiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGludGVyZmFjZSBJQXR0cmlidXRlIHtcbiAgZ2V0IG5hbWUoKTogc3RyaW5nO1xuICBnZXQgdGl0bGUoKTogc3RyaW5nO1xuICBnZXQgb2JsaWdhdG9yeSgpOiBib29sZWFuO1xuICBnZXQgdHlwZSgpOiBBdHRyaWJ1dGVUeXBlO1xuICBnZXQgZGlzcGxheUhlaWdodCgpOiBudW1iZXI7XG4gIGdldCBzaG93SW5UcmVlKCk6IGJvb2xlYW47XG4gIGdldCBkaXNwbGF5U29ydE9yZGVyKCk6IG51bWJlcjtcbiAgZ2V0IGlzU2VydmljZSgpOiBib29sZWFuO1xuICBnZXQgY29uZmlndXJhdGlvbigpOiBzdHJpbmc7XG4gIGdldCBqb2luV2l0aFByZXZpb3VzKCk6IGJvb2xlYW47XG4gIGdldCBpc1VuaXF1ZSgpOiBib29sZWFuO1xuICBnZXQgZ3JvdXBUaXRsZSgpOiBzdHJpbmc7XG4gIGdldCBlZGl0YWJsZUZvclBvc2l0aW9uc1NvdXJjZSgpOiBzdHJpbmdbXTtcbn1cblxuXG5leHBvcnQgZW51bSBBdHRyaWJ1dGVUeXBlIHtcbiAgSW50ZWdlciA9IDAsXG4gIERvdWJsZSA9IDEsXG4gIERhdGVUaW1lID0gMixcbiAgU3RyaW5nID0gMyxcbiAgRGVjaW1hbCA9IDQsXG4gIE51bWVyYXRvciA9IDUsXG4gIEFycmF5ID0gNixcbiAgVXNlclN0YXRlID0gNyxcbiAgT3JnVW5pdCA9IDgsXG4gIEVsZW1lbnRCb29rID0gOSxcbiAgR3VpZCA9IDEwLFxuICBJbnRlZ2VyQXJyYXkgPSAxMSxcbiAgVW5rbm93biA9IDk5XG59Il19
@@ -0,0 +1,19 @@
1
+ export var RelationType;
2
+ (function (RelationType) {
3
+ RelationType[RelationType["SourceFiles"] = 1] = "SourceFiles";
4
+ RelationType[RelationType["TaskInitiatorAttachments"] = 2] = "TaskInitiatorAttachments";
5
+ RelationType[RelationType["TaskExecutorAttachments"] = 3] = "TaskExecutorAttachments";
6
+ RelationType[RelationType["MessageAttachments"] = 4] = "MessageAttachments";
7
+ RelationType[RelationType["Custom"] = 5] = "Custom";
8
+ RelationType[RelationType["TaskAttachments"] = 6] = "TaskAttachments";
9
+ })(RelationType || (RelationType = {}));
10
+ export var ObjectState;
11
+ (function (ObjectState) {
12
+ ObjectState[ObjectState["Alive"] = 0] = "Alive";
13
+ ObjectState[ObjectState["InRecycleBin"] = 1] = "InRecycleBin";
14
+ ObjectState[ObjectState["DeletedPermanently"] = 2] = "DeletedPermanently";
15
+ ObjectState[ObjectState["Frozen"] = 3] = "Frozen";
16
+ ObjectState[ObjectState["LockRequested"] = 4] = "LockRequested";
17
+ ObjectState[ObjectState["LockAccepted"] = 5] = "LockAccepted";
18
+ })(ObjectState || (ObjectState = {}));
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1vYmplY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9kYXRhLW9iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPQSxNQUFNLENBQU4sSUFBWSxZQU9YO0FBUEQsV0FBWSxZQUFZO0lBQ3RCLDZEQUFlLENBQUE7SUFDZix1RkFBNEIsQ0FBQTtJQUM1QixxRkFBMkIsQ0FBQTtJQUMzQiwyRUFBc0IsQ0FBQTtJQUN0QixtREFBVSxDQUFBO0lBQ1YscUVBQW1CLENBQUE7QUFDckIsQ0FBQyxFQVBXLFlBQVksS0FBWixZQUFZLFFBT3ZCO0FBRUQsTUFBTSxDQUFOLElBQVksV0FPWDtBQVBELFdBQVksV0FBVztJQUNyQi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'./access';
2
+ export * from './annotations';
3
+ export * from './attribute';
4
+ export * from './data-object';
5
+ export * from './file';
6
+ export * from './files-snapshot';
7
+ export * from './person';
8
+ export * from './relation';
9
+ export * from './object-builder';
10
+ export * from './modifier';
11
+ export * from './organisation-unit';
12
+ export * from './subscriptionType';
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLG9CQUFvQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hY2Nlc3MnO1xuZXhwb3J0ICogZnJvbSAnLi9hbm5vdGF0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL2F0dHJpYnV0ZSc7XG5leHBvcnQgKiBmcm9tICcuL2RhdGEtb2JqZWN0JztcbmV4cG9ydCAqIGZyb20gJy4vZmlsZSc7XG5leHBvcnQgKiBmcm9tICcuL2ZpbGVzLXNuYXBzaG90JztcbmV4cG9ydCAqIGZyb20gJy4vcGVyc29uJztcbmV4cG9ydCAqIGZyb20gJy4vcmVsYXRpb24nO1xuZXhw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vbGVhbik6IElPYmplY3RCdWlsZGVyO1xuICAvKipcbiAgICogQWRkcyBvciBjaGFuZ2VzIGEgYW5ub3RhdGlvblxuICAgKiBcbiAgICogQHBhcmFtIGNvbnRhaW5lciBBbm5vdGF0aW9uIGNvbnRhaW5lclxuICAgKiBAcGFyYW0gYXR0cmJ1dGVzIEFubm90YXRpb24gYXR0cmlidXRlc1xuICAgKiBAcmV0dXJucyBTZWxmXG4gICAqLyBcbiAgYWRkQW5ub3RhdGlvbkNvbnRhaW5lcihjb250YWluZXI6IElBbm5vdGF0aW9uQ29udGFpbmVyLCBhdHRyYnV0ZXM6IGFueSk6IElPYmplY3RCdWlsZGVyO1xufSJdfQ==
@@ -0,0 +1,7 @@
1
+ export var OrgUnitKind;
2
+ (function (OrgUnitKind) {
3
+ OrgUnitKind[OrgUnitKind["Department"] = 0] = "Department";
4
+ OrgUnitKind[OrgUnitKind["Position"] = 1] = "Position";
5
+ OrgUnitKind[OrgUnitKind["Group"] = 2] = "Group";
6
+ })(OrgUnitKind || (OrgUnitKind = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnYW5pc2F0aW9uLXVuaXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9vcmdhbmlzYXRpb24tdW5pdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFlQSxNQUFNLENBQU4sSUFBWSxXQUlYO0FBSkQsV0FBWSxXQUFXO0lBQ3JCLHlEQUFjLENBQUE7SUFDZCxxREFBWSxDQUFBO0lBQ1osK0NBQVMsQ0FBQTtBQUNYLENBQUMsRUFKVyxXQUFXLEtBQVgsV0FBVyxRQUl0QiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGludGVyZmFjZSBJT3JnYW5pemF0aW9uVW5pdCB7XG4gIGdldCBpZCgpOiBudW1iZXI7XG4gIGdldCB0aXRsZSgpOiBzdHJpbmc7XG4gIGdldCBraW5kKCk6IE9yZ1VuaXRLaW5kO1xuICBnZXQgY2hpbGRyZW4oKTogbnVtYmVyW107XG4gIGdldCBpc0RlbGV0ZWQoKTogYm9vbGVhbjtcbiAgZ2V0IGlzQm9zcygpOiBib29sZWFuO1xuICBnZXQgdmVyc2lvbigpOiBudW1iZXI7XG4gIGdldCBwZXJzb24oKTogbnVtYmVyO1xuICBnZXQgdmljZVBlcnNvbnMoKTogbnVtYmVyW107XG4gIGdldCBpc0NhbmNlbGVkKCk6IGJvb2xlYW47XG4gIGdldCBncm91cFBlcnNvbnMoKTogbnVtYmVyW107XG59XG5cbmV4cG9ydCBlbnVtIE9yZ1VuaXRLaW5kIHtcbiAgRGVwYXJ0bWVudCA9IDAsXG4gIFBvc2l0aW9uID0gMSxcbiAgR3JvdXAgPSAyXG59Il19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVyc29uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2RhdGEvcGVyc29uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElQZXJzb24ge1xuICBnZXQgaWQoKTogbnVtYmVyO1xuICBnZXQgbG9naW4oKTogc3RyaW5nO1xuICBnZXQgaXNJbmFjdGl2ZSgpOiBib29sZWFuO1xuICBnZXQgZGlzcGxheU5hbWUoKTogc3RyaW5nO1xuICBnZXQgcG9zaXRpb25zKCk6IG51bWJlcltdO1xuICBnZXQgZ3JvdXBzKCk6IG51bWJlcltdO1xuICBnZXQgYm9zc09mKCk6IG51bWJlcltdO1xuICBnZXQgYWxsT3JnVW5pdHMoKTogbnVtYmVyW107XG4gIGdldCBjb21tZW50KCk6IHN0cmluZztcbiAgZ2V0IGVtYWlsKCk6IHN0cmluZztcbiAgZ2V0IHNpZCgpOiBzdHJpbmc7XG4gIGdldCB1aWREbigpOiBzdHJpbmc7XG4gIGdldCBpc0RlbGV0ZWQoKTogYm9vbGVhbjtcbiAgZ2V0IGlzQWRtaW4oKTogYm9vbGVhbjtcbiAgZ2V0IHZlcnNpb24oKTogbnVtYmVyO1xufVxuIl19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVsYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9yZWxhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZ2V0RXJyb3JTdHJpbmcgfSBmcm9tIFwiQG1pY3Jvc29mdC9zaWduYWxyL2Rpc3QvZXNtL1V0aWxzXCI7XG5pbXBvcnQgeyBSZWxhdGlvblR5cGUgfSBmcm9tIFwiLi9kYXRhLW9iamVjdFwiO1xuXG5leHBvcnQgaW50ZXJmYWNlIElSZWxhdGlvbiB7XG4gIGdldCBpZCgpOiBzdHJpbmc7XG4gIGdldCB0YXJnZXRJZCgpOiBzdHJpbmc7XG4gIGdldCB0eXBlKCk6IFJlbGF0aW9uVHlwZTtcbiAgZ2V0IG5hbWUoKTogc3RyaW5nO1xuICBnZXQgdmVyc2lvbklkKCk6IHN0cmluZztcbn0iXX0=
@@ -0,0 +1,6 @@
1
+ export var SubscriptionType;
2
+ (function (SubscriptionType) {
3
+ SubscriptionType[SubscriptionType["Shallow"] = 0] = "Shallow";
4
+ SubscriptionType[SubscriptionType["Deep"] = 1] = "Deep";
5
+ })(SubscriptionType || (SubscriptionType = {}));
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uVHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9kYXRhL3N1YnNjcmlwdGlvblR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxDQUFOLElBQVksZ0JBR1g7QUFIRCxXQUFZLGdCQUFnQjtJQUMxQiw2REFBTyxDQUFBO0lBQ1AsdURBQUksQ0FBQTtBQUNOLENBQUMsRUFIVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBRzNCIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgZW51bSBTdWJzY3JpcHRpb25UeXBlIHtcbiAgU2hhbGxvdyxcbiAgRGVlcFxufSJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRhdGEucGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2lkYXRhLnBsdWdpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgaW50ZXJmYWNlIElEYXRhUGx1Z2luIHt9Il19
@@ -0,0 +1,5 @@
1
+ export * from './objects-repository';
2
+ export * from './render-context-provider';
3
+ export * from './modifier-provider';
4
+ export * from './repository-events';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvaW5qZWN0YWJsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHFCQUFxQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9vYmplY3RzLXJlcG9zaXRvcnknO1xuZXhwb3J0ICogZnJvbSAnLi9yZW5kZXItY29udGV4dC1wcm92aWRlcic7XG5leHBvcnQgKiBmcm9tICcuL21vZGlmaWVyLXByb3ZpZGVyJ1xuZXhwb3J0ICogZnJvbSAnLi9yZXBvc2l0b3J5LWV2ZW50cyciXX0=
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kaWZpZXItcHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvaW5qZWN0YWJsZS9tb2RpZmllci1wcm92aWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1vZGlmaWVyIH0gZnJvbSBcIi4uL2RhdGEvbW9kaWZpZXJcIjtcblxuLyoqXG4gKiBQcm92aWRlcyBtb2RpZmllclxuICovXG5leHBvcnQgaW50ZXJmYWNlIElNb2RpZmllclByb3ZpZGVyIHtcbiAgLyoqXG4gICAqIFxuICAgKi9cbiAgbmV3TW9kaWZpZXIoKTogSU1vZGlmaWVyO1xufSJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0c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AqIEByZXR1cm5zIE9yZ2FuaXNhdGlvblVuaXRcbiAgICovXG4gIGdldE9yZ2FuaXNhdGlvblVuaXQoaWQ6IG51bWJlcik6IElPcmdhbml6YXRpb25Vbml0O1xuICAvKipcbiAgICogR2V0IGFsbCB0aGUgb3JnYW5pc2F0aW9uIHVuaXRzIHJlZ2lzdGVyZWQgaW4gZGF0YWJhc2VcbiAgICogXG4gICAqIEByZXR1cm5zIE9yZ2FuaXNhdGlvblVuaXRcbiAgICovICBcbiAgZ2V0T3JnYW5pc2F0aW9uVW5pdHMoKTogSU9yZ2FuaXphdGlvblVuaXRbXTtcbn1cbiAgICAiXX0=
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWNvbnRleHQtcHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvaW5qZWN0YWJsZS9yZW5kZXItY29udGV4dC1wcm92aWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUmVuZGVyQ29udGV4dCB9IGZyb20gXCIuLi9jb250ZXh0cy9yZW5kZXItY29udGV4dFwiO1xuXG4vKipcbiAqIFByb3ZpZGVzIHJlbmRlciBjb250ZXh0XG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgSVJlbmRlckNvbnRleHRQcm92aWRlciAge1xuICAvKipcbiAgICogXG4gICAqL1xuICBnZXRSZW5kZXJDb250ZXh0KCk6IFJlbmRlckNvbnRleHQ7XG59Il19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3NpdG9yeS1ldmVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmN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biB1bml0c1xuICAgKiBcbiAgICogQHJldHVybnMgSG90IG9ic2VydmFibGVcbiAgICovXG4gIHN1YnNjcmliZU9yZ2FuaXNhdGlvblVuaXRzKCk6IE9ic2VydmFibGU8SU9yZ2FuaXphdGlvblVuaXQ+XG59Il19
@@ -0,0 +1,14 @@
1
+ import { IMenuItemBuilder } from "./menu-item.builder";
2
+ /**
3
+ *
4
+ */
5
+ export class ICheckableMenuItemBuilder extends IMenuItemBuilder {
6
+ /**
7
+ *
8
+ * @param value
9
+ */
10
+ withIsChecked(value) {
11
+ throw new Error("Method 'withIsChecked(value: boolean)' must be implemented.");
12
+ }
13
+ }
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2thYmxlLW1lbnUuYnVpbGRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9tZW51L2NoZWNrYWJsZS1tZW51LmJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFFdkQ7O0dBRUc7QUFDSCxNQUFNLE9BQWdCLHlCQUEwQixTQUFRLGdCQUFnQjtJQUV0RTs7O09BR0c7SUFDSCxhQUFhLENBQUMsS0FBYztRQUMxQixNQUFNLElBQUksS0FBSyxDQUFDLDZEQUE2RCxDQUFDLENBQUM7SUFDakYsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1lbnVJdGVtQnVpbGRlciB9IGZyb20gXCIuL21lbnUtaXRlbS5idWlsZGVyXCI7XG5cbi8qKlxuICogXG4gKi9cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBJQ2hlY2thYmxlTWVudUl0ZW1CdWlsZGVyIGV4dGVuZHMgSU1lbnVJdGVtQnVpbGRlciB7XG4gIFxuICAvKipcbiAgICogXG4gICAqIEBwYXJhbSB2YWx1ZSBcbiAgICovXG4gIHdpdGhJc0NoZWNrZWQodmFsdWU6IGJvb2xlYW4pOiBJQ2hlY2thYmxlTWVudUl0ZW1CdWlsZGVyIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoXCJNZXRob2QgJ3dpdGhJc0NoZWNrZWQodmFsdWU6IGJvb2xlYW4pJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcbiAgfVxufSJdfQ==
@@ -0,0 +1,5 @@
1
+ export * from './menu';
2
+ export * from './checkable-menu.builder';
3
+ export * from './menu-item.builder';
4
+ export * from './menu.builder';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvbWVudS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0ICogZnJvbSAnLi9tZW51JztcbmV4cG9ydCAqIGZyb20gJy4vY2hlY2thYmxlLW1lbnUuYnVpbGRlcic7XG5leHBvcnQgKiBmcm9tICcuL21lbnUtaXRlbS5idWlsZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vbWVudS5idWlsZGVyJzsiXX0=
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Represents a menu item and enables to set parametres to it
3
+ */
4
+ export class IMenuItemBuilder {
5
+ constructor() {
6
+ if (this.constructor == IMenuItemBuilder) {
7
+ throw new Error("Abstract classes can't be instantiated.");
8
+ }
9
+ }
10
+ /**
11
+ * Item's name to be displayed
12
+ * @param header value
13
+ */
14
+ withHeader(header) {
15
+ throw new Error("Method 'withHeader(header: string)' must be implemented.");
16
+ }
17
+ /**
18
+ * Item's icon
19
+ * @param name Icon name
20
+ * @param iconSvg Url of icon or base64 string
21
+ */
22
+ withIcon(name, iconSvg) {
23
+ throw new Error("Method 'withIcon(name: string, iconSvg: string)' must be implemented.");
24
+ }
25
+ /**
26
+ * Enabled the item
27
+ * @param value value
28
+ */
29
+ withIsEnabled(value) {
30
+ throw new Error("Method 'withIsEnabled(value: boolean)' must be implemented.");
31
+ }
32
+ /**
33
+ * Item's submenu
34
+ */
35
+ withSubmenu() {
36
+ throw new Error("Method 'withSubmenu()' must be implemented.");
37
+ }
38
+ }
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLmJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvbWVudS9tZW51LWl0ZW0uYnVpbGRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7R0FFRztBQUNILE1BQU0sT0FBZ0IsZ0JBQWdCO0lBRXBDO1FBQ0UsSUFBSSxJQUFJLENBQUMsV0FBVyxJQUFJLGdCQUFnQixFQUFFO1lBQ3hDLE1BQU0sSUFBSSxLQUFLLENBQUMseUNBQXlDLENBQUMsQ0FBQztTQUM1RDtJQUNILENBQUM7SUFFRDs7O09BR0c7SUFDSCxVQUFVLENBQUMsTUFBYztRQUN2QixNQUFNLElBQUksS0FBSyxDQUFDLDBEQUEwRCxDQUFDLENBQUM7SUFDOUUsQ0FBQztJQUVEOzs7O09BSUc7SUFDSCxRQUFRLENBQUMsSUFBWSxFQUFFLE9BQWU7UUFDcEMsTUFBTSxJQUFJLEtBQUssQ0FBQyx1RUFBdUUsQ0FBQyxDQUFD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BvZiBpY29uIG9yIGJhc2U2NCBzdHJpbmdcbiAgICovXG4gIHdpdGhJY29uKG5hbWU6IHN0cmluZywgaWNvblN2Zzogc3RyaW5nKTogSU1lbnVJdGVtQnVpbGRlciB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFwiTWV0aG9kICd3aXRoSWNvbihuYW1lOiBzdHJpbmcsIGljb25Tdmc6IHN0cmluZyknIG11c3QgYmUgaW1wbGVtZW50ZWQuXCIpO1xuICB9XG5cbiAgLyoqXG4gICAqIEVuYWJsZWQgdGhlIGl0ZW1cbiAgICogQHBhcmFtIHZhbHVlIHZhbHVlXG4gICAqL1xuICB3aXRoSXNFbmFibGVkKHZhbHVlOiBib29sZWFuKTogSU1lbnVJdGVtQnVpbGRlciB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFwiTWV0aG9kICd3aXRoSXNFbmFibGVkKHZhbHVlOiBib29sZWFuKScgbXVzdCBiZSBpbXBsZW1lbnRlZC5cIik7XG4gIH1cbiAgXG4gIC8qKlxuICAgKiBJdGVtJ3Mgc3VibWVudVxuICAgKi9cbiAgd2l0aFN1Ym1lbnUoKTogSU1lbnVCdWlsZGVyIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoXCJNZXRob2QgJ3dpdGhTdWJtZW51KCknIG11c3QgYmUgaW1wbGVtZW50ZWQuXCIpO1xuICB9XG59Il19
@@ -0,0 +1,68 @@
1
+ /**
2
+ * Represents a menu and enables to add new items to it
3
+ */
4
+ export class IMenuBuilder {
5
+ constructor() {
6
+ if (this.constructor == IMenuBuilder) {
7
+ throw new Error("Abstract classes can't be instantiated.");
8
+ }
9
+ }
10
+ /**
11
+ * Gets the list of existing items of associated menu or subitems of an item
12
+ * @returns Existing menu item names
13
+ */
14
+ get itemNames() {
15
+ throw new Error("Getter 'itemNames()' must be implemented.");
16
+ }
17
+ /**
18
+ * Gets count of menu items
19
+ */
20
+ get count() {
21
+ throw new Error("Getter 'count()' must be implemented.");
22
+ }
23
+ /**
24
+ * Adds a new separator to the associated menu
25
+ * @param index The index to put the new item at
26
+ */
27
+ addSeparator(index) {
28
+ throw new Error("Method 'addSeparator(index: number)' must be implemented.");
29
+ }
30
+ /**
31
+ * Adds a new item to the associated menu
32
+ * @param name Item's internal name
33
+ * @param index The index to put the new item at
34
+ */
35
+ addItem(name, index) {
36
+ throw new Error("Method 'addItem(name: string, index: number)' must be implemented.");
37
+ }
38
+ /**
39
+ * Adds a new checkable item to the associated menu
40
+ * @param name Item's internal name
41
+ * @param index The index to put the new item at
42
+ */
43
+ addCheckableItem(name, index) {
44
+ throw new Error("Method 'addCheckableItem(name: string, index: number)' must be implemented.");
45
+ }
46
+ /**
47
+ * Replaces the item to the associated menu
48
+ * @param name Item's internal name
49
+ */
50
+ replaceItem(name) {
51
+ throw new Error("Method 'replaceItem(name: string)' must be implemented.");
52
+ }
53
+ /**
54
+ * Removes the item with the specified name
55
+ * @param name Item's internal name
56
+ */
57
+ removeItem(name) {
58
+ throw new Error("Method 'removeItem(name: string)' must be implemented.");
59
+ }
60
+ /**
61
+ * Gets the item
62
+ * @param name Item's internal name
63
+ */
64
+ getItem(name) {
65
+ throw new Error("Method 'getItem(name: string)' must be implemented.");
66
+ }
67
+ }
68
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5idWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL21lbnUvbWVudS5idWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBOztHQUVHO0FBQ0gsTUFBTSxPQUFnQixZQUFZO0lBRWhDO1FBQ0UsSUFBSSxJQUFJLENBQUMsV0FBVyxJQUFJLFlBQVksRUFBRTtZQUNwQyxNQUFNLElBQUksS0FBSyxDQUFDLHlDQUF5QyxDQUFDLENBQUM7U0FDNUQ7SUFDSCxDQUFD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gdGhlIGl0ZW0gdG8gdGhlIGFzc29jaWF0ZWQgbWVudVxuICAgKiBAcGFyYW0gbmFtZSBJdGVtJ3MgaW50ZXJuYWwgbmFtZVxuICAgKi9cbiAgcmVwbGFjZUl0ZW0obmFtZTogc3RyaW5nKTogSU1lbnVJdGVtQnVpbGRlciB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFwiTWV0aG9kICdyZXBsYWNlSXRlbShuYW1lOiBzdHJpbmcpJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBSZW1vdmVzIHRoZSBpdGVtIHdpdGggdGhlIHNwZWNpZmllZCBuYW1lXG4gICAqIEBwYXJhbSBuYW1lIEl0ZW0ncyBpbnRlcm5hbCBuYW1lXG4gICAqL1xuICByZW1vdmVJdGVtKG5hbWU6IHN0cmluZyk6IHZvaWQge1xuICAgIHRocm93IG5ldyBFcnJvcihcIk1ldGhvZCAncmVtb3ZlSXRlbShuYW1lOiBzdHJpbmcpJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBHZXRzIHRoZSBpdGVtXG4gICAqIEBwYXJhbSBuYW1lIEl0ZW0ncyBpbnRlcm5hbCBuYW1lXG4gICAqL1xuICBnZXRJdGVtKG5hbWU6IHN0cmluZyk6IElNZW51QnVpbGRlciB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFwiTWV0aG9kICdnZXRJdGVtKG5hbWU6IHN0cmluZyknIG11c3QgYmUgaW1wbGVtZW50ZWQuXCIpO1xuICB9XG59Il19
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Interface that allows to add new items to the menu and context menus
3
+ */
4
+ export class IMenu {
5
+ /**
6
+ * The method is called just before the menu is shown
7
+ * @param builder The menu builder object of associated menu
8
+ * @param context Context
9
+ */
10
+ build(builder, context) {
11
+ throw new Error("Method 'build(builder: IMenuBuilder, context: TMenuContext)' must be implemented.");
12
+ }
13
+ /**
14
+ *
15
+ * @param name
16
+ * @param context
17
+ */
18
+ onMenuItemClick(name, context) {
19
+ throw new Error("Method 'onMenuItemClick(name: string, context: TMenuContext)' must be implemented.");
20
+ }
21
+ }
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9tZW51L21lbnUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7O0dBRUc7QUFDSCxNQUFNLE9BQWdCLEtBQUs7SUFDekI7Ozs7T0FJRztJQUNILEtBQUssQ0FBQyxPQUFxQixFQUFFLE9BQXFCO1FBQ2hELE1BQU0sSUFBSSxLQUFLLENBQUMsbUZBQW1GLENBQUMsQ0FBQztJQUN2RyxDQUFDO0lBRUQ7Ozs7T0FJRztJQUNILGVBQWUsQ0FBQyxJQUFZLEVBQUUsT0FBcUI7UUFDakQsTUFBTSxJQUFJLEtBQUssQ0FBQyxvRkFBb0YsQ0FBQyxDQUFDO0lBQ3hHLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElNZW51QnVpbGRlciB9IGZyb20gXCIuL21lbnUuYnVpbGRlclwiO1xuXG4vKipcbiAqIEludGVyZmFjZSB0aGF0IGFsbG93cyB0byBhZGQgbmV3IGl0ZW1zIHRvIHRoZSBtZW51IGFuZCBjb250ZXh0IG1lbnVzXG4gKi9cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBJTWVudTxUTWVudUNvbnRleHQ+IHtcbiAgLyoqXG4gICAqIFRoZSBtZXRob2QgaXMgY2FsbGVkIGp1c3QgYmVmb3JlIHRoZSBtZW51IGlzIHNob3duXG4gICAqIEBwYXJhbSBidWlsZGVyIFRoZSBtZW51IGJ1aWxkZXIgb2JqZWN0IG9mIGFzc29jaWF0ZWQgbWVudVxuICAgKiBAcGFyYW0gY29udGV4dCBDb250ZXh0XG4gICAqL1xuICBidWlsZChidWlsZGVyOiBJTWVudUJ1aWxkZXIsIGNvbnRleHQ6IFRNZW51Q29udGV4dCk6IHZvaWQge1xuICAgIHRocm93IG5ldyBFcnJvcihcIk1ldGhvZCAnYnVpbGQoYnVpbGRlcjogSU1lbnVCdWlsZGVyLCBjb250ZXh0OiBUTWVudUNvbnRleHQpJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcbiAgfVxuICBcbiAgLyoqXG4gICAqIFxuICAgKiBAcGFyYW0gbmFtZSBcbiAgICogQHBhcmFtIGNvbnRleHQgXG4gICAqL1xuICBvbk1lbnVJdGVtQ2xpY2sobmFtZTogc3RyaW5nLCBjb250ZXh0OiBUTWVudUNvbnRleHQpOiB2b2lkIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoXCJNZXRob2QgJ29uTWVudUl0ZW1DbGljayhuYW1lOiBzdHJpbmcsIGNvbnRleHQ6IFRNZW51Q29udGV4dCknIG11c3QgYmUgaW1wbGVtZW50ZWQuXCIpO1xuICB9XG59Il19
@@ -0,0 +1,7 @@
1
+ export * from './toolbar';
2
+ export * from './toolbar-item.builder';
3
+ export * from './toolbar-item-submenu.handler';
4
+ export * from './toolbar-menu-item.builder';
5
+ export * from './toolbar-toggle-item.builder';
6
+ export * from './toolbar.builder';
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvdG9vbGJhci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmV4cG9ydCAqIGZyb20gJy4vdG9vbGJhcic7XG5leHBvcnQgKiBmcm9tICcuL3Rvb2xiYXItaXRlbS5idWlsZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vdG9vbGJhci1pdGVtLXN1Ym1lbnUuaGFuZGxlcic7XG5leHBvcnQgKiBmcm9tICcuL3Rvb2xiYXItbWVudS1pdGVtLmJ1aWxkZXInO1xuZXhwb3J0ICogZnJvbSAnLi90b29sYmFyLXRvZ2dsZS1pdGVtLmJ1aWxkZXInO1xuZXhwb3J0ICogZnJvbSAnLi90b29sYmFyLmJ1aWxkZXInOyJdfQ==
@@ -0,0 +1,11 @@
1
+ export class IToolbarItemSubmenuHandler {
2
+ /**
3
+ * Build a submenu
4
+ * @param builder - toolbar builder
5
+ * @returns
6
+ */
7
+ onSubmenuRequested(builder) {
8
+ throw new Error("Method 'onSubmenuRequested(builder: IToolbarBuilder)' must be implemented.");
9
+ }
10
+ }
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1pdGVtLXN1Ym1lbnUuaGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi90b29sYmFyL3Rvb2xiYXItaXRlbS1zdWJtZW51LmhhbmRsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFnQiwwQkFBMEI7SUFDN0M7Ozs7TUFJRTtJQUNELGtCQUFrQixDQUFDLE9BQXdCO1FBQ3pDLE1BQU0sSUFBSSxLQUFLLENBQUMsNEVBQTRFLENBQUMsQ0FBQztJQUNsRyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJVG9vbGJhckJ1aWxkZXIgfSBmcm9tIFwiLi90b29sYmFyLmJ1aWxkZXJcIjtcblxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIElUb29sYmFySXRlbVN1Ym1lbnVIYW5kbGVyIHtcbiAgIC8qKlxuICAgKiBCdWlsZCBhIHN1Ym1lbnVcbiAgICogQHBhcmFtIGJ1aWxkZXIgLSB0b29sYmFyIGJ1aWxkZXJcbiAgICogQHJldHVybnNcbiAgICovXG4gICAgb25TdWJtZW51UmVxdWVzdGVkKGJ1aWxkZXI6IElUb29sYmFyQnVpbGRlcik6IHZvaWQge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKFwiTWV0aG9kICdvblN1Ym1lbnVSZXF1ZXN0ZWQoYnVpbGRlcjogSVRvb2xiYXJCdWlsZGVyKScgbXVzdCBiZSBpbXBsZW1lbnRlZC5cIik7XG4gIH1cbn0iXX0=
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Represents a toolbar button and enables to set parametres to it
3
+ */
4
+ export class IToolbarButtonItemBuilder {
5
+ constructor() {
6
+ if (this.constructor == IToolbarButtonItemBuilder) {
7
+ throw new Error("Abstract classes can't be instantiated.");
8
+ }
9
+ }
10
+ /**
11
+ * Item's name to be displayed
12
+ * @param header - value
13
+ * @returns instance of IToolbarButtonItemBuilder
14
+ */
15
+ withHeader(header) {
16
+ throw new Error("Method 'withHeader(header: string)' must be implemented.");
17
+ }
18
+ /**
19
+ * Item's icon in SVG format
20
+ * @param name - icon name
21
+ * @param svg - url icon or base64 string
22
+ */
23
+ withIcon(name, svg) {
24
+ throw new Error("Method 'withIcon(name: string, svg: string)' must be implemented.");
25
+ }
26
+ /**
27
+ * Enabled the item
28
+ * @param value - value
29
+ */
30
+ withIsEnabled(value) {
31
+ throw new Error("Method 'withIsEnabled(value: boolean)' must be implemented.");
32
+ }
33
+ /**
34
+ * Item's hint
35
+ * @param hint - value
36
+ */
37
+ withHint(hint) {
38
+ throw new Error("Method 'withHint(hint: string)' must be implemented.");
39
+ }
40
+ }
41
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1pdGVtLmJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvdG9vbGJhci90b29sYmFyLWl0ZW0uYnVpbGRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sT0FBZ0IseUJBQXlCO0lBRTdDO1FBQ0UsSUFBSSxJQUFJLENBQUMsV0FBVyxJQUFJLHlCQUF5QixFQUFFO1lBQ2pELE1BQU0sSUFBSSxLQUFLLENBQUMseUNBQXlDLENBQUMsQ0FBQztTQUM1RDtJQUNILENBQUM7SUFFRDs7OztPQUlHO0lBQ0gsVUFBVSxDQUFDLE1BQWM7UUFDdkIsTUFBTSxJQUFJLEtBQUssQ0FBQywwREFBMEQsQ0FBQyxDQUFDO0lBQzlFLENBQUM7SUFFRDs7OztPQUlHO0lBQ0gsUUFBUSxDQUFDLElBQVksRUFBRSxHQUFXO1FBQ2hDLE1BQU0sSUFBSSxLQUFLLENBQUMsbUVBQW1FLENBQUMsQ0FBQztJQUN2RixDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsYUFBYSxDQUFDLEtBQWM7UUFDMUIsTUFBTSxJQUFJLEtBQUssQ0FBQyw2REFBNkQsQ0FBQyxDQUFDO0lBQ2pGLENBQUM7SUFFRDs7O09BR0c7SUFDSCxRQUFRLENBQUMsSUFBYTtRQUNwQixNQUFNLElBQUksS0FBSyxDQUFDLHVEQUF1RCxDQUFDLENBQUM7SUFDM0UsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBSZXByZXNlbnRzIGEgdG9vbGJhciBidXR0b24gYW5kIGVuYWJsZXMgdG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cIik7XG4gIH1cblxuICAvKipcbiAgICogRW5hYmxlZCB0aGUgaXRlbVxuICAgKiBAcGFyYW0gdmFsdWUgLSB2YWx1ZVxuICAgKi9cbiAgd2l0aElzRW5hYmxlZCh2YWx1ZTogYm9vbGVhbik6IElUb29sYmFyQnV0dG9uSXRlbUJ1aWxkZXIge1xuICAgIHRocm93IG5ldyBFcnJvcihcIk1ldGhvZCAnd2l0aElzRW5hYmxlZCh2YWx1ZTogYm9vbGVhbiknIG11c3QgYmUgaW1wbGVtZW50ZWQuXCIpO1xuICB9XG5cbiAgLyoqXG4gICAqIEl0ZW0ncyBoaW50XG4gICAqIEBwYXJhbSBoaW50IC0gdmFsdWVcbiAgICovXG4gIHdpdGhIaW50KGhpbnQ6ICBzdHJpbmcpOiBJVG9vbGJhckJ1dHRvbkl0ZW1CdWlsZGVyIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoXCJNZXRob2QgJ3dpdGhIaW50KGhpbnQ6ICBzdHJpbmcpJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcbiAgfVxufSJdfQ==
@@ -0,0 +1,15 @@
1
+ import { IToolbarButtonItemBuilder } from "./toolbar-item.builder";
2
+ /**
3
+ * Represents a toolbar menu button and enables to set parametres to it
4
+ */
5
+ export class IToolbarMenuButtonItemBuilder extends IToolbarButtonItemBuilder {
6
+ /**
7
+ * Build a dropdown menu
8
+ * @param itemSubmenuHandler - toolbar submenu handler
9
+ * @returns The toolbar button menu builder
10
+ */
11
+ withMenu(itemSubmenuHandler) {
12
+ throw new Error("Method 'withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.");
13
+ }
14
+ }
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1tZW51LWl0ZW0uYnVpbGRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi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WJtZW51SGFuZGxlcik6IElUb29sYmFyTWVudUJ1dHRvbkl0ZW1CdWlsZGVyIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoXCJNZXRob2QgJ3dpdGhNZW51KGl0ZW1TdWJtZW51SGFuZGxlcjogSVRvb2xiYXJJdGVtU3VibWVudUhhbmRsZXIpJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcbiAgfVxufSJdfQ==
@@ -0,0 +1,14 @@
1
+ import { IToolbarButtonItemBuilder } from "./toolbar-item.builder";
2
+ /**
3
+ * Represents a toolbar toggle button and enables to set parametres to it
4
+ */
5
+ export class IToolbarToggleButtonItemBuilder extends IToolbarButtonItemBuilder {
6
+ /**
7
+ *
8
+ * @param value
9
+ */
10
+ withIsChecked(value) {
11
+ throw new Error("Method 'withIsChecked(value: boolean)' must be implemented.");
12
+ }
13
+ }
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci10b2dnbGUtaXRlbS5idWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL3Rvb2xiYXIvdG9vbGJhci10b2dnbGUtaXRlbS5idWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRW5FOztHQUVHO0FBQ0gsTUFBTSxPQUFnQiwrQkFBZ0MsU0FBUSx5QkFBeUI7SUFFckY7OztPQUdHO0lBQ0gsYUFBYSxDQUFDLEtBQWM7UUFDMUIsTUFBTSxJQUFJLEtBQUssQ0FBQyw2REFBNkQsQ0FBQyxDQUFDO0lBQ2pGLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElUb29sYmFyQnV0dG9uSXRlbUJ1aWxkZXIgf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