@pilotdev/pilot-web-sdk 24.20.0 → 24.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9kYXRhL2ZpbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUZpbGUge1xuICBnZXQgYm9keSgpOiBJRmlsZUJvZHk7XG4gIGdldCBuYW1lKCk6IHN0cmluZztcbiAgZ2V0IGNyZWF0b3JJZCgpOiBudW1iZXI7XG4gIGdldCBzaWduYXR1cmVzKCk6IElTaWduYXR1cmVbXTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBJRmlsZUJvZHkge1xuICBnZXQgaWQoKTogc3RyaW5nO1xuICBnZXQgc2l6ZSgpOiBudW1iZXI7XG4gIGdldCBtZDUoKTogYW55O1xuICBnZXQgbW9kaWZpZWQoKTogc3RyaW5nO1xuICBnZXQgY3JlYXRlZCgpOiBzdHJpbmc7XG4gIGdldCBhY2Nlc3NlZCgpOiBzdHJpbmc7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVNpZ25hdHVyZSB7XG4gIGdldCBpZCgpOiBzdHJpbmc7XG4gIGdldCBkYXRhYmFzZUlkKCk6IHN0cmluZztcbiAgZ2V0IHBvc2l0aW9uSWQoKTogbnVtYmVyO1xuICBnZXQgcm9sZSgpOiBzdHJpbmc7XG4gIGdldCBzaWduKCk6IHN0cmluZztcbiAgZ2V0IHJlcXVlc3RlZFNpZ25lcigpOiBzdHJpbmc7XG4gIGdldCBpc0FkZGl0aW9uYWwoKTogYm9vbGVhbjtcbiAgZ2V0IG9iamVjdElkKCk6IH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2 @@
1
+ export * from './openspace-view';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvb3BlbnNwYWNlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL29wZW5zcGFjZS12aWV3JztcclxuIl19
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Class that allows to declare the view for the openspace container
3
+ */
4
+ export class IOpenspaceView {
5
+ constructor() {
6
+ if (this.constructor == (IOpenspaceView)) {
7
+ throw new Error("Abstract classes can't be instantiated.");
8
+ }
9
+ }
10
+ /**
11
+ * The method is called to match this View to the corresponding openspace container
12
+ *
13
+ * Should be identical with corresponding container's `withViewId(id: string)`
14
+ * @returns {string}
15
+ */
16
+ getViewId() {
17
+ throw new Error("Method 'getViewId()' must be implemented.");
18
+ }
19
+ /**
20
+ * The method is called just before the openspace container's view is shown
21
+ * @param context - context
22
+ */
23
+ getView(context) {
24
+ throw new Error("Method 'getView(context: TTabViewContext)' must be implemented.");
25
+ }
26
+ /**
27
+ * The method is called just before the openspace container's view is disposed
28
+ */
29
+ onDispose() {
30
+ throw new Error("Method 'onDispose()' must be implemented.");
31
+ }
32
+ }
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BlbnNwYWNlLXZpZXcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvb3BlbnNwYWNlL29wZW5zcGFjZS12aWV3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQ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
2
+ export * from './tabs.builder';
3
+ export * from './tab-item.builder';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvdGFicy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RhYnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL3RhYnMuYnVpbGRlcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vdGFiLWl0ZW0uYnVpbGRlcic7XHJcbiJdfQ==
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Enables to set parameters to the tab-group's item
3
+ */
4
+ export class ITabItemBuilder {
5
+ constructor() {
6
+ if (this.constructor == ITabItemBuilder) {
7
+ throw new Error("Abstract classes can't be instantiated.");
8
+ }
9
+ }
10
+ /**
11
+ * Item's title to be displayed
12
+ * @param title value
13
+ */
14
+ withTitle(title) {
15
+ throw new Error("Method 'withTitle(title: 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
+ * Item's view id
27
+ *
28
+ * Is matched with corresponding IOpenspaceView's `getViewId(): string`
29
+ * @param value - View Id
30
+ */
31
+ withViewId(value) {
32
+ throw new Error("Method 'withViewId(value: string)' must be implemented.");
33
+ }
34
+ }
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG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lld0lkKHZhbHVlOiBzdHJpbmcpJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcclxuICB9XHJcbn1cclxuIl19
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Represents a builder for tab groups
3
+ */
4
+ export class ITabsBuilder {
5
+ constructor() {
6
+ if (this.constructor == ITabsBuilder) {
7
+ throw new Error("Abstract classes can't be instantiated.");
8
+ }
9
+ }
10
+ /**
11
+ * Gets the list of existing items of a tab group
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 tab group items
19
+ */
20
+ get count() {
21
+ throw new Error("Getter 'count()' must be implemented.");
22
+ }
23
+ /**
24
+ * Adds a new item to the associated tab group
25
+ * @param id Item's internal id
26
+ * @param index The index to put the new item at
27
+ */
28
+ addItem(id, index) {
29
+ throw new Error("Method 'addItem(id: string, index: number)' must be implemented.");
30
+ }
31
+ /**
32
+ * Replaces the item for the tab group.
33
+ * If Item does not exist - creates it.
34
+ * @param id Item's internal id
35
+ */
36
+ replaceItem(id) {
37
+ throw new Error("Method 'replaceItem(id: string)' must be implemented.");
38
+ }
39
+ }
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5idWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL3RhYnMvdGFicy5idWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBOztHQUVHO0FBQ0gsTUFBTSxPQUFnQixZQUFZO0lBQ2hDO1FBQ0UsSUFBSSxJQUFJLENBQUMsV0FBVyxJQUFJLFlBQVksRUFBRTtZQUNwQyxNQUFNLElBQUksS0FBSyxDQUFDLHlDQUF5QyxDQUFDLENBQUM7U0FDNUQ7SUFDSCxDQUFDO0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2VJdGVtKGlkOiBzdHJpbmcpJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcclxuICB9XHJcbn1cclxuIl19
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Interface that allows to add new items to the tabs
3
+ */
4
+ export class ITabs {
5
+ /**
6
+ * The method is called just before the tabs are shown
7
+ * @param builder The tab group builder object of associated tab group
8
+ * @param context Context
9
+ */
10
+ build(builder, context) {
11
+ throw new Error("Method 'build(builder: IMenuBuilder, context: TTabsContext)' must be implemented.");
12
+ }
13
+ }
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi90YWJzL3RhYnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7O0dBRUc7QUFDSCxNQUFNLE9BQWdCLEtBQUs7SUFDekI7Ozs7T0FJRztJQUNILEtBQUssQ0FBQyxPQUFxQixFQUFFLE9BQXFCO1FBQ2hELE1BQU0sSUFBSSxLQUFLLENBQUMsbUZBQW1GLENBQUMsQ0FBQztJQUN2RyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJVGFic0J1aWxkZXIgfSBmcm9tIFwiLi90YWJzLmJ1aWxkZXJcIjtcclxuXHJcbi8qKlxyXG4gKiBJbnRlcmZhY2UgdGhhdCBhbGxvd3MgdG8gYWRkIG5ldyBpdGVtcyB0byB0aGUgdGFic1xyXG4gKi9cclxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIElUYWJzPFRUYWJzQ29udGV4dD4ge1xyXG4gIC8qKlxyXG4gICAqIFRoZSBtZXRob2QgaXMgY2FsbGVkIGp1c3QgYmVmb3JlIHRoZSB0YWJzIGFyZSBzaG93blxyXG4gICAqIEBwYXJhbSBidWlsZGVyIFRoZSB0YWIgZ3JvdXAgYnVpbGRlciBvYmplY3Qgb2YgYXNzb2NpYXRlZCB0YWIgZ3JvdXBcclxuICAgKiBAcGFyYW0gY29udGV4dCBDb250ZXh0XHJcbiAgICovXHJcbiAgYnVpbGQoYnVpbGRlcjogSVRhYnNCdWlsZGVyLCBjb250ZXh0OiBUVGFic0NvbnRleHQpOiB2b2lkIHtcclxuICAgIHRocm93IG5ldyBFcnJvcihcIk1ldGhvZCAnYnVpbGQoYnVpbGRlcjogSU1lbnVCdWlsZGVyLCBjb250ZXh0OiBUVGFic0NvbnRleHQpJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcclxuICB9XHJcbn0iXX0=
@@ -4,8 +4,10 @@
4
4
  export * from './lib/idata.plugin';
5
5
  export * from './lib/injectable/index';
6
6
  export * from './lib/toolbar/index';
7
+ export * from "./lib/openspace/index";
8
+ export * from './lib/tabs/index';
7
9
  export * from './lib/menu/index';
8
10
  export * from './lib/contexts/index';
9
11
  export * from './lib/tools/index';
10
12
  export * from './lib/data/index';
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiB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5leHBvcnQgKiBmcm9tICcuL2xpYi90b29sYmFyL2luZGV4JztcbmV4cG9ydCAqIGZyb20gXCIuL2xpYi9vcGVuc3BhY2UvaW5kZXhcIlxuZXhwb3J0ICogZnJvbSAnLi9saWIvdGFicy9pbmRleCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9tZW51L2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbnRleHRzL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Rvb2xzL2luZGV4JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RhdGEvaW5kZXgnOyJdfQ==
@@ -192,6 +192,128 @@ class IToolbarBuilder {
192
192
  }
193
193
  }
194
194
 
195
+ /**
196
+ * Class that allows to declare the view for the openspace container
197
+ */
198
+ class IOpenspaceView {
199
+ constructor() {
200
+ if (this.constructor == (IOpenspaceView)) {
201
+ throw new Error("Abstract classes can't be instantiated.");
202
+ }
203
+ }
204
+ /**
205
+ * The method is called to match this View to the corresponding openspace container
206
+ *
207
+ * Should be identical with corresponding container's `withViewId(id: string)`
208
+ * @returns {string}
209
+ */
210
+ getViewId() {
211
+ throw new Error("Method 'getViewId()' must be implemented.");
212
+ }
213
+ /**
214
+ * The method is called just before the openspace container's view is shown
215
+ * @param context - context
216
+ */
217
+ getView(context) {
218
+ throw new Error("Method 'getView(context: TTabViewContext)' must be implemented.");
219
+ }
220
+ /**
221
+ * The method is called just before the openspace container's view is disposed
222
+ */
223
+ onDispose() {
224
+ throw new Error("Method 'onDispose()' must be implemented.");
225
+ }
226
+ }
227
+
228
+ /**
229
+ * Interface that allows to add new items to the tabs
230
+ */
231
+ class ITabs {
232
+ /**
233
+ * The method is called just before the tabs are shown
234
+ * @param builder The tab group builder object of associated tab group
235
+ * @param context Context
236
+ */
237
+ build(builder, context) {
238
+ throw new Error("Method 'build(builder: IMenuBuilder, context: TTabsContext)' must be implemented.");
239
+ }
240
+ }
241
+
242
+ /**
243
+ * Represents a builder for tab groups
244
+ */
245
+ class ITabsBuilder {
246
+ constructor() {
247
+ if (this.constructor == ITabsBuilder) {
248
+ throw new Error("Abstract classes can't be instantiated.");
249
+ }
250
+ }
251
+ /**
252
+ * Gets the list of existing items of a tab group
253
+ * @returns Existing menu item names
254
+ */
255
+ get itemNames() {
256
+ throw new Error("Getter 'itemNames()' must be implemented.");
257
+ }
258
+ /**
259
+ * Gets count of tab group items
260
+ */
261
+ get count() {
262
+ throw new Error("Getter 'count()' must be implemented.");
263
+ }
264
+ /**
265
+ * Adds a new item to the associated tab group
266
+ * @param id Item's internal id
267
+ * @param index The index to put the new item at
268
+ */
269
+ addItem(id, index) {
270
+ throw new Error("Method 'addItem(id: string, index: number)' must be implemented.");
271
+ }
272
+ /**
273
+ * Replaces the item for the tab group.
274
+ * If Item does not exist - creates it.
275
+ * @param id Item's internal id
276
+ */
277
+ replaceItem(id) {
278
+ throw new Error("Method 'replaceItem(id: string)' must be implemented.");
279
+ }
280
+ }
281
+
282
+ /**
283
+ * Enables to set parameters to the tab-group's item
284
+ */
285
+ class ITabItemBuilder {
286
+ constructor() {
287
+ if (this.constructor == ITabItemBuilder) {
288
+ throw new Error("Abstract classes can't be instantiated.");
289
+ }
290
+ }
291
+ /**
292
+ * Item's title to be displayed
293
+ * @param title value
294
+ */
295
+ withTitle(title) {
296
+ throw new Error("Method 'withTitle(title: string)' must be implemented.");
297
+ }
298
+ /**
299
+ * Item's icon
300
+ * @param name Icon name
301
+ * @param iconSvg Url of icon or base64 string
302
+ */
303
+ withIcon(name, iconSvg) {
304
+ throw new Error("Method 'withIcon(name: string, iconSvg: string)' must be implemented.");
305
+ }
306
+ /**
307
+ * Item's view id
308
+ *
309
+ * Is matched with corresponding IOpenspaceView's `getViewId(): string`
310
+ * @param value - View Id
311
+ */
312
+ withViewId(value) {
313
+ throw new Error("Method 'withViewId(value: string)' must be implemented.");
314
+ }
315
+ }
316
+
195
317
  /**
196
318
  * Interface that allows to add new items to the menu and context menus
197
319
  */
@@ -655,5 +777,5 @@ class SystemSettingsKeys {
655
777
  * Generated bundle index. Do not edit.
656
778
  */
657
779
 
658
- export { AccessInheritance, AccessLevel, AccessType, AttributePermissionInfo, AttributeType, DocumentAnnotationsListContext, Guid, ICheckableMenuItemBuilder, IMenu, IMenuBuilder, IMenuItemBuilder, IToolbar, IToolbarBuilder, IToolbarButtonItemBuilder, IToolbarItemSubmenuHandler, IToolbarMenuButtonItemBuilder, IToolbarToggleButtonItemBuilder, ObjectState, ObjectsViewContext, OrgUnitKind, RelationType, RenderContext, SubscriptionType, SystemSettingsKeys, objectToMap };
780
+ export { AccessInheritance, AccessLevel, AccessType, AttributePermissionInfo, AttributeType, DocumentAnnotationsListContext, Guid, ICheckableMenuItemBuilder, IMenu, IMenuBuilder, IMenuItemBuilder, IOpenspaceView, ITabItemBuilder, ITabs, ITabsBuilder, IToolbar, IToolbarBuilder, IToolbarButtonItemBuilder, IToolbarItemSubmenuHandler, IToolbarMenuButtonItemBuilder, IToolbarToggleButtonItemBuilder, ObjectState, ObjectsViewContext, OrgUnitKind, RelationType, RenderContext, SubscriptionType, SystemSettingsKeys, objectToMap };
659
781
  //# sourceMappingURL=pilotdev-pilot-web-sdk.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"pilotdev-pilot-web-sdk.mjs","sources":["../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-item-submenu.handler.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-menu-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-toggle-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/checkable-menu.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu.builder.ts","../../../projects/pilot-web-sdk/src/lib/contexts/context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/document-annotations-list-context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/render-context.ts","../../../projects/pilot-web-sdk/src/lib/tools/utils.ts","../../../projects/pilot-web-sdk/src/lib/tools/attribute-permission.info.ts","../../../projects/pilot-web-sdk/src/lib/tools/guid.ts","../../../projects/pilot-web-sdk/src/lib/data/access.ts","../../../projects/pilot-web-sdk/src/lib/data/attribute.ts","../../../projects/pilot-web-sdk/src/lib/data/data-object.ts","../../../projects/pilot-web-sdk/src/lib/data/organisation-unit.ts","../../../projects/pilot-web-sdk/src/lib/data/subscription-type.ts","../../../projects/pilot-web-sdk/src/lib/data/system-settings-keys.ts","../../../projects/pilot-web-sdk/src/public-api.ts","../../../projects/pilot-web-sdk/src/pilotdev-pilot-web-sdk.ts"],"sourcesContent":["import { IToolbarBuilder } from \"./toolbar.builder\";\n\n/**\n * Interface that allows to add new items to the toolbar\n */\nexport abstract class IToolbar<TToolbarContext> {\n\n constructor() {\n if (this.constructor == IToolbar<TToolbarContext>) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * The method is called just before the toolbar is created\n * @param builder - the toolbar builder object of associated toolbar\n * @param context - context\n */\n build(builder: IToolbarBuilder, context: TToolbarContext): void {\n throw new Error(\"Method 'build(builder: IToolbarBuilder, context: TToolbarContext)' must be implemented.\");\n }\n\n /**\n * \n * @param name \n * @param context \n */\n onToolbarItemClick(name: string, context: TToolbarContext): void {\n throw new Error(\"Method 'onToolbarItemClick(name: string, context: TToolbarContext)' must be implemented.\");\n }\n}","/**\n * Represents a toolbar button and enables to set parametres to it\n */\nexport abstract class IToolbarButtonItemBuilder {\n \n constructor() {\n if (this.constructor == IToolbarButtonItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's name to be displayed\n * @param header - value\n * @returns instance of IToolbarButtonItemBuilder\n */\n withHeader(header: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withHeader(header: string)' must be implemented.\");\n }\n\n /**\n * Item's icon in SVG format\n * @param name - icon name\n * @param svg - url icon or base64 string\n */\n withIcon(name: string, svg: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, svg: string)' must be implemented.\");\n }\n\n /**\n * Enabled the item\n * @param value - value\n */\n withIsEnabled(value: boolean): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withIsEnabled(value: boolean)' must be implemented.\");\n }\n\n /**\n * Item's hint\n * @param hint - value\n */\n withHint(hint: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withHint(hint: string)' must be implemented.\");\n }\n}","import { IToolbarBuilder } from \"./toolbar.builder\";\n\nexport abstract class IToolbarItemSubmenuHandler {\n /**\n * Build a submenu\n * @param builder - toolbar builder\n * @returns\n */\n onSubmenuRequested(builder: IToolbarBuilder): void {\n throw new Error(\"Method 'onSubmenuRequested(builder: IToolbarBuilder)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\nimport { IToolbarItemSubmenuHandler } from \"./toolbar-item-submenu.handler\";\n\n/**\n * Represents a toolbar menu button and enables to set parametres to it\n */\nexport abstract class IToolbarMenuButtonItemBuilder extends IToolbarButtonItemBuilder {\n /**\n * Build a dropdown menu\n * @param itemSubmenuHandler - toolbar submenu handler\n * @returns The toolbar button menu builder\n */\n withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\n\n/**\n * Represents a toolbar toggle button and enables to set parametres to it\n */\nexport abstract class IToolbarToggleButtonItemBuilder extends IToolbarButtonItemBuilder {\n \n /**\n * \n * @param value \n */\n withIsChecked(value: boolean): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'withIsChecked(value: boolean)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\nimport { IToolbarItemSubmenuHandler } from \"./toolbar-item-submenu.handler\";\nimport { IToolbarMenuButtonItemBuilder } from \"./toolbar-menu-item.builder\";\nimport { IToolbarToggleButtonItemBuilder } from \"./toolbar-toggle-item.builder\";\n\nexport abstract class IToolbarBuilder {\n\n constructor() {\n if (this.constructor == IToolbarBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Adds a new separator to the associated toolbar\n * @param index - The index to put the new item at\n */\n addSeparator(index: number): void {\n throw new Error(\"Method 'addSeparator(index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addButtonItem(name: string, index: number): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'addButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new menu button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addMenuButtonItem(name: string, index: number): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'addMenuButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new toggle button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addToggleButtonItem(name: string, index: number): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'addToggleButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item from the associated toolbar on button\n * @param name - The name of toolbar button to replace\n */\n replaceButtonItem(name: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'replaceButtonItem(name: string)' must be implemented.\");\n }\n\n /**\n * Replace the item from the associated toolbar on menu button\n * @param name - The name of toolbar menu button to replace \n */\n replaceMenuButtonItem(name: string): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'replaceMenuButtonItem(name: string)' must be implemented.\");\n }\n\n /**\n * Enables to set parametres to menu button item submenu\n * @param name - Item's internal name\n * @param itemSubmenuHandler - The toolbar button menu builder\n */\n handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler): void {\n throw new Error(\"Method 'handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.\");\n }\n\n /**\n * Replaces the item from the associated toolbar on toggle button\n * @param name - The name of toolbar toggle button to replace\n */\n replaceToggleButtonItem(name: string): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'replaceToggleButtonItem(name: string)' must be implemented.\");\n }\n\n /** \n * Gets the list of existing item names of associated toolbar \n * @returns - Existing toolbar item names \n */\n get itemNames(): string[] {\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\n }\n\n /**\n * Gets count of toolbar items\n */\n get count(): number {\n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Removes specified item\n * @param itemName - Item's internal name\n */\n removeItem(itemName: string): void {\n throw new Error(\"Method 'removeItem(name: string)' must be implemented.\");\n }\n}","import { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Interface that allows to add new items to the menu and context menus\n */\nexport abstract class IMenu<TMenuContext> {\n /**\n * The method is called just before the menu is shown\n * @param builder The menu builder object of associated menu\n * @param context Context\n */\n build(builder: IMenuBuilder, context: TMenuContext): void {\n throw new Error(\"Method 'build(builder: IMenuBuilder, context: TMenuContext)' must be implemented.\");\n }\n \n /**\n * \n * @param name \n * @param context \n */\n onMenuItemClick(name: string, context: TMenuContext): void {\n throw new Error(\"Method 'onMenuItemClick(name: string, context: TMenuContext)' must be implemented.\");\n }\n}","import { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Represents a menu item and enables to set parametres to it\n */\nexport abstract class IMenuItemBuilder {\n\n constructor() {\n if (this.constructor == IMenuItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's name to be displayed\n * @param header value\n */\n withHeader(header: string): IMenuItemBuilder {\n throw new Error(\"Method 'withHeader(header: string)' must be implemented.\");\n }\n\n /**\n * Item's icon\n * @param name Icon name\n * @param iconSvg Url of icon or base64 string\n */\n withIcon(name: string, iconSvg: string): IMenuItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\n }\n\n /**\n * Enabled the item\n * @param value value\n */\n withIsEnabled(value: boolean): IMenuItemBuilder {\n throw new Error(\"Method 'withIsEnabled(value: boolean)' must be implemented.\");\n }\n \n /**\n * Item's submenu\n */\n withSubmenu(): IMenuBuilder {\n throw new Error(\"Method 'withSubmenu()' must be implemented.\");\n }\n}","import { IMenuItemBuilder } from \"./menu-item.builder\";\n\n/**\n * \n */\nexport abstract class ICheckableMenuItemBuilder extends IMenuItemBuilder {\n \n /**\n * \n * @param value \n */\n withIsChecked(value: boolean): ICheckableMenuItemBuilder {\n throw new Error(\"Method 'withIsChecked(value: boolean)' must be implemented.\");\n }\n}","import { ICheckableMenuItemBuilder } from \"./checkable-menu.builder\";\nimport { IMenuItemBuilder } from \"./menu-item.builder\";\n\n/**\n * Represents a menu and enables to add new items to it\n */\nexport abstract class IMenuBuilder {\n\n constructor() {\n if (this.constructor == IMenuBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Gets the list of existing items of associated menu or subitems of an item\n * @returns Existing menu item names\n */\n get itemNames(): string[] {\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\n }\n\n /**\n * Gets count of menu items\n */\n get count(): number { \n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Adds a new separator to the associated menu\n * @param index The index to put the new item at\n */\n addSeparator(index: number): void {\n throw new Error(\"Method 'addSeparator(index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new item to the associated menu\n * @param name Item's internal name\n * @param index The index to put the new item at\n */\n addItem(name: string, index: number): IMenuItemBuilder {\n throw new Error(\"Method 'addItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new checkable item to the associated menu\n * @param name Item's internal name\n * @param index The index to put the new item at\n */\n addCheckableItem(name: string, index: number): ICheckableMenuItemBuilder {\n throw new Error(\"Method 'addCheckableItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item to the associated menu\n * @param name Item's internal name\n */\n replaceItem(name: string): IMenuItemBuilder {\n throw new Error(\"Method 'replaceItem(name: string)' must be implemented.\");\n }\n\n /**\n * Removes the item with the specified name\n * @param name Item's internal name\n */\n removeItem(name: string): void {\n throw new Error(\"Method 'removeItem(name: string)' must be implemented.\");\n }\n\n /**\n * Gets the item\n * @param name Item's internal name\n */\n getItem(name: string): IMenuBuilder {\n throw new Error(\"Method 'getItem(name: string)' must be implemented.\");\n }\n}","import { IDataObject } from \"../data\";\n\n\n/**\n * Contex for objects view\n */\nexport class ObjectsViewContext {\n private readonly _selectedObjects: IDataObject[];\n private readonly _shortcuts: IDataObject[]; \n private readonly _context: IDataObject;\n \n constructor(selectedObjects: IDataObject[], context: IDataObject, shortcuts?: IDataObject[]) {\n this._selectedObjects = selectedObjects;\n this._context = context;\n this._shortcuts = shortcuts ?? [];\n }\n\n /**\n * \n */\n public get selectedObjects(): IDataObject[] {\n return this._selectedObjects;\n }\n\n /**\n * \n */\n public get contextObject(): IDataObject {\n return this._context;\n }\n\n /**\n * \n */\n public get shortcuts(): IDataObject[] {\n return this._shortcuts;\n }\n}","import { IAnnotationContainerObject } from \"../data\";\n\n\n/**\n * Context for document annotations list\n */\nexport class DocumentAnnotationsListContext {\n private readonly _selectedAnnotations: IAnnotationContainerObject[]; \n \n constructor(selectedAnnotations: IAnnotationContainerObject[]) {\n this._selectedAnnotations = selectedAnnotations;\n }\n\n /**\n * \n */\n public get selectedAnnotations(): IAnnotationContainerObject[] {\n return this._selectedAnnotations;\n }\n\n}","import { IDataObject } from \"../data\";\n\n/**\n * Context for xps render\n */\nexport class RenderContext {\n private readonly _dataObject: IDataObject;\n private readonly _selectedVersion: string;\n \n constructor(dataObject: IDataObject, selectedVersion: string) {\n this._dataObject = dataObject;\n this._selectedVersion = selectedVersion;\n }\n\n /**\n * Target object\n */\n public get dataObject(): IDataObject {\n return this._dataObject;\n }\n\n /**\n * Selected version time\n */\n public get selectedVersion(): string {\n return this._selectedVersion;\n }\n}","\nexport function objectToMap<T>(objectMap: { [key: string]: any; }): Map<string, T> {\n const map = new Map<string, T>();\n Object.keys(objectMap).forEach(key => {\n map.set(key, objectMap[key]);\n });\n return map;\n} \n","import { objectToMap } from \"./utils\";\n\nexport class AttributePermissionInfo {\n private ATTRIBUTE_NAME_MARKER = '&';\n \n orgUnits: number[];\n orgUnitAttributes: string[];\n\n constructor(editableForPositionsSource: string[]) {\n this.orgUnits = new Array<number>();\n this.orgUnitAttributes = new Array<string>();\n\n if (!editableForPositionsSource)\n return;\n\n editableForPositionsSource.forEach(str => {\n if (str.length > 0 && str[0] === this.ATTRIBUTE_NAME_MARKER) {\n this.orgUnitAttributes.push(str.substring(1));\n }\n else {\n const num = Number(str);\n if (!isNaN(num)) \n this.orgUnits.push(num);\n }\n });\n }\n\n extractAllOrgUnits(obj: any): number[] {\n const attrMap = objectToMap<any>(obj.attributes);\n return this.extractAllOrgUnitsByAttributes(attrMap);\n }\n\n extractAllOrgUnitsByAttributes(attributes: Map<string, any>) : number[] {\n let result = new Array<number>();\n if (!this.orgUnitAttributes || !attributes )\n return result;\n\n this.orgUnitAttributes.forEach(permissionAttributeName => {\n if (attributes.has(permissionAttributeName)){\n const value = attributes.get(permissionAttributeName);\n if (value && Array.isArray(value)){\n value.forEach(intValue => {\n result.push(intValue);\n });\n }\n }\n });\n\n return result;\n }\n}\n","const byteToHex = Array();\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport class Guid {\n private static readonly regex = \"(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})\";\n\n static readonly EMPTY = \"00000000-0000-0000-0000-000000000000\";\n\n static newGuid(): string {\n\n if (window.isSecureContext) {\n // If crypto.getRandomValues is available try to use it.\n return window.crypto.randomUUID();\n }\n\n // Fall back to Math.random if a higher quality random number generator is not available.\n const uuid = new Array(16);\n var d = new Date().getTime();\n for (var i = 0; i < 16; i++) {\n var r = ((d + Math.random() * 256) % 256) | 0;\n d = Math.trunc(d / 256);\n uuid[i] = r;\n }\n \n // Makes uuid compliant to RFC-4122\n uuid[6] = (uuid[6] & 0x0F) | 0x40; // uuid version\n uuid[8] = (uuid[8] & 0x3F) | 0x80; // uuid variant\n \n return this.stringify(uuid);\n }\n\n static isGuid(str: string) {\n const regex = new RegExp(this.regex);\n return regex.test(str) && str.length === 36;\n }\n\n private static stringify(arr: Array<number>) {\n return (\n byteToHex[arr[0]] +\n byteToHex[arr[1]] +\n byteToHex[arr[2]] +\n byteToHex[arr[3]] +\n '-' +\n byteToHex[arr[4]] +\n byteToHex[arr[5]] +\n '-' +\n byteToHex[arr[6]] +\n byteToHex[arr[7]] +\n '-' +\n byteToHex[arr[8]] +\n byteToHex[arr[9]] +\n '-' +\n byteToHex[arr[10]] +\n byteToHex[arr[11]] +\n byteToHex[arr[12]] +\n byteToHex[arr[13]] +\n byteToHex[arr[14]] +\n byteToHex[arr[15]]\n ).toLowerCase();\n }\n}","export enum AccessLevel {\n None = 0,\n Create = 1 << 0,\n Edit = 1 << 1,\n View = 1 << 2,\n Freeze = 1 << 3,\n Agreement = 1 << 4,\n Share = 1 << 5,\n\n ViewCreate = View | Create,\n ViewEdit = View | Create | Edit,\n ViewEditAgrement = ViewEdit | Agreement,\n Full = View | Create | Edit | Freeze | Agreement | Share\n}\n\nexport enum AccessType {\n Allow,\n Deny\n}\n\nexport enum AccessInheritance {\n None,\n InheritUntilSecret,\n InheritWholeSubtree\n}\n\nexport interface IAccessRecord {\n get orgUnitId(): number;\n get access(): IAccess;\n get recordOwnerPosition(): number;\n get inheritanceSource(): string;\n}\n\nexport interface IAccess {\n get type(): AccessType;\n get accessLevel(): AccessLevel;\n get validThrough(): string;\n get inheritance(): AccessInheritance;\n get typeIds(): number[];\n}\n","\nexport interface IAttribute {\n get name(): string;\n get title(): string;\n get obligatory(): boolean;\n get type(): AttributeType;\n get displayHeight(): number;\n get showInTree(): boolean;\n get displaySortOrder(): number;\n get isService(): boolean;\n get configuration(): string;\n get joinWithPrevious(): boolean;\n get isUnique(): boolean;\n get groupTitle(): string;\n get editableForPositionsSource(): string[];\n}\n\n\nexport enum AttributeType {\n Integer = 0,\n Double = 1,\n DateTime = 2,\n String = 3,\n Decimal = 4,\n Numerator = 5,\n Array = 6,\n UserState = 7,\n OrgUnit = 8,\n ElementBook = 9,\n Guid = 10,\n IntegerArray = 11,\n Unknown = 99\n}","import { AccessLevel, IAccessRecord } from \"./access\";\nimport { IAttribute } from \"./attribute\";\nimport { IFileSnapshot } from \"./files-snapshot\";\nimport { IPerson } from \"./person\";\nimport { IRelation } from \"./relation\";\n\n\nexport enum RelationType {\n SourceFiles = 1,\n TaskInitiatorAttachments = 2,\n TaskExecutorAttachments = 3,\n MessageAttachments = 4,\n Custom = 5,\n TaskAttachments = 6,\n}\n\nexport enum ObjectState {\n Alive,\n InRecycleBin,\n DeletedPermanently,\n Frozen,\n LockRequested,\n LockAccepted\n}\n\nexport interface IDataObject {\n get id(): string;\n get parentId(): string;\n get title(): string;\n get type(): IType;\n get attributes(): { [key: string]: any; };\n get children(): IChild[];\n get creator(): IPerson;\n get created(): string;\n get actualFileSnapshot(): IFileSnapshot;\n get previousFileSnapshots(): IFileSnapshot[];\n get context(): string[];\n get relations(): IRelation[];\n get access(): IAccessRecord[];\n get accessLevel(): AccessLevel;\n get stateInfo(): IStateInfo;\n get secretInfo(): ISecretInfo;\n get historyItems(): string[];\n}\n\nexport interface IType {\n get id(): number;\n get title(): string;\n get name(): string;\n get icon(): string;\n get sort(): number;\n get hasFiles(): boolean;\n get children(): number[];\n get attributes(): IAttribute[];\n get isDeleted(): boolean;\n get kind(): number;\n get isMountable(): boolean;\n get isService(): boolean;\n get isProject(): boolean;\n get configuration(): string;\n}\n\nexport interface IChild {\n get objectId(): string;\n get typeId(): number;\n}\n\nexport interface ISecretInfo {\n get isSecret(): boolean;\n get secretParentId(): string;\n get secretChangedBy(): number;\n}\n\nexport interface IStateInfo {\n get state(): ObjectState;\n get date(): string;\n get personId(): number;\n get positionId(): number;\n}\n","\nexport interface IOrganisationUnit {\n get id(): number;\n get title(): string;\n get kind(): OrgUnitKind;\n get children(): number[];\n get isDeleted(): boolean;\n get isBoss(): boolean;\n get version(): number;\n get person(): number;\n get vicePersons(): number[];\n get isCanceled(): boolean;\n get groupPersons(): number[];\n}\n\nexport enum OrgUnitKind {\n Department = 0,\n Position = 1,\n Group = 2\n}","\nexport enum SubscriptionType {\n Shallow,\n Deep\n}","export class SystemSettingsKeys\n{\n /**\n * Get's favorites feature key\n */\n public static get favoritesFeatureKey() { return \"Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc\"; }\n\n /**\n * Get's pilot storage drive letter feature key\n */\n public static get pilotStorageDriveLetter() { return \"PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc\"; }\n\n /**\n * Get's agreement roles feature key\n */\n public static get agreementRolesFeatureKey() { return \"AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d\"; }\n\n /**\n * Get's agreement roles feature key\n */\n public static get annotationStatusesFeatureKey() { return \"AnnotationStatuses-BFCDFFBC-9F27-4071-B9C8-478F7A4BBC45\"; }\n\n /**\n * Get's tasks filters feature key\n */\n public static get tasksFiltersFeatureKey() { return \"TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7\"; }\n\n /**\n * Get's mounted on Pilot-Storage items feature key\n */\n public static get mountedItemsList() { return \"MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b\"; }\n\n /**\n * Get's Pilot-Storage work folders feature key\n */\n public static get workfoldersList() { return \"Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86\"; }\n\n /**\n * Get's selection path of the DocumentsExplorer\n */\n public static get tabsState() { return \"TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f\"; }\n\n /**\n * Get's auto blocking file extensions feature key\n */\n public static get autoBlockingFileExtensionsFeatureKey() { return \"AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3\"; }\n\n /**\n * Get's auto commiting file extensions feature key\n */\n public static get autoCommitingFileExtensionsFeatureKey() { return \" AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666\"; }\n\n /**\n * Get's auto updating files feature key\n */\n public static get autoUpdatingFilesFeatureKey() { return \"AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5\"; }\n\n /**\n * Get's auto publishing settings feature key\n */\n public static get autoPublishingExtensionsFeatureKey() { return \"AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416\"; }\n\n /**\n * Get's eml attributes dictionary feature key\n */\n public static get emlAttributesDictionaryKeyFeatureKey() { return \"EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F\"; }\n\n /**\n * Get's documents autofill feature key\n */\n public static get docsAutoFillFeatureKey() { return \"DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186\"; }\n\n /**\n * User-defined temp files regex masks\n */\n public static get tempFileMasksFeatureKey() { return \"TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3\"; }\n\n /**\n * User-defined Export/Import settings\n */\n public static get exportImportFeatureKey() { return \"ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C\"; }\n\n /**\n * User-defined digital signature title\n */\n public static get digitalSinatureTitleFeatureKey() { return \"DigitalSinatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9\"; }\n}","/*\n * Public API Surface of pilot-web-sdk\n */\nexport * from './lib/idata.plugin';\nexport * from './lib/injectable/index';\nexport * from './lib/toolbar/index';\nexport * from './lib/menu/index';\nexport * from './lib/contexts/index';\nexport * from './lib/tools/index';\nexport * from './lib/data/index';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAEA;;AAEG;MACmB,QAAQ,CAAA;AAE5B,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,IAAI,CAAC,WAAW,KAAI,QAAyB,CAAA,EAAE;AACjD,YAAA,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;AAC5D,SAAA;KACF;AAED;;;;AAIG;IACH,KAAK,CAAC,OAAwB,EAAE,OAAwB,EAAA;AACtD,QAAA,MAAM,IAAI,KAAK,CAAC,yFAAyF,CAAC,CAAC;KAC5G;AAED;;;;AAIG;IACH,kBAAkB,CAAC,IAAY,EAAE,OAAwB,EAAA;AACvD,QAAA,MAAM,IAAI,KAAK,CAAC,0FAA0F,CAAC,CAAC;KAC7G;AACF;;AC9BD;;AAEG;MACmB,yBAAyB,CAAA;AAE7C,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,IAAI,CAAC,WAAW,IAAI,yBAAyB,EAAE;AACjD,YAAA,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;AAC5D,SAAA;KACF;AAED;;;;AAIG;AACH,IAAA,UAAU,CAAC,MAAc,EAAA;AACvB,QAAA,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;KAC7E;AAED;;;;AAIG;IACH,QAAQ,CAAC,IAAY,EAAE,GAAW,EAAA;AAChC,QAAA,MAAM,IAAI,KAAK,CAAC,mEAAmE,CAAC,CAAC;KACtF;AAED;;;AAGG;AACH,IAAA,aAAa,CAAC,KAAc,EAAA;AAC1B,QAAA,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;KAChF;AAED;;;AAGG;AACH,IAAA,QAAQ,CAAC,IAAa,EAAA;AACpB,QAAA,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;AACF;;MC1CqB,0BAA0B,CAAA;AAC7C;;;;AAIE;AACD,IAAA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,OAAO,gDAAgD,CAAC,EAAE;AAE1F;;AAEG;AACI,IAAA,WAAW,oCAAoC,GAAA,EAAK,OAAO,iEAAiE,CAAC,EAAE;AAEtI;;AAEG;AACI,IAAA,WAAW,qCAAqC,GAAA,EAAK,OAAO,mEAAmE,CAAC,EAAE;AAEzI;;AAEG;AACI,IAAA,WAAW,2BAA2B,GAAA,EAAK,OAAO,iEAAiE,CAAC,EAAE;AAE7H;;AAEG;AACI,IAAA,WAAW,kCAAkC,GAAA,EAAK,OAAO,+DAA+D,CAAC,EAAE;AAElI;;AAEG;AACI,IAAA,WAAW,oCAAoC,GAAA,EAAK,OAAO,8DAA8D,CAAC,EAAE;AAEnI;;AAEG;AACI,IAAA,WAAW,sBAAsB,GAAA,EAAK,OAAO,6DAA6D,CAAC,EAAE;AAEpH;;AAEG;AACI,IAAA,WAAW,uBAAuB,GAAA,EAAK,OAAO,8DAA8D,CAAC,EAAE;AAEtH;;AAEG;AACI,IAAA,WAAW,sBAAsB,GAAA,EAAK,OAAO,6DAA6D,CAAC,EAAE;AAEpH;;AAEG;AACI,IAAA,WAAW,8BAA8B,GAAA,EAAK,OAAO,qEAAqE,CAAC,EAAE;AACrI;;ACtFD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"pilotdev-pilot-web-sdk.mjs","sources":["../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-item-submenu.handler.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-menu-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-toggle-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar.builder.ts","../../../projects/pilot-web-sdk/src/lib/openspace/openspace-view.ts","../../../projects/pilot-web-sdk/src/lib/tabs/tabs.ts","../../../projects/pilot-web-sdk/src/lib/tabs/tabs.builder.ts","../../../projects/pilot-web-sdk/src/lib/tabs/tab-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/checkable-menu.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu.builder.ts","../../../projects/pilot-web-sdk/src/lib/contexts/context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/document-annotations-list-context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/render-context.ts","../../../projects/pilot-web-sdk/src/lib/tools/utils.ts","../../../projects/pilot-web-sdk/src/lib/tools/attribute-permission.info.ts","../../../projects/pilot-web-sdk/src/lib/tools/guid.ts","../../../projects/pilot-web-sdk/src/lib/data/access.ts","../../../projects/pilot-web-sdk/src/lib/data/attribute.ts","../../../projects/pilot-web-sdk/src/lib/data/data-object.ts","../../../projects/pilot-web-sdk/src/lib/data/organisation-unit.ts","../../../projects/pilot-web-sdk/src/lib/data/subscription-type.ts","../../../projects/pilot-web-sdk/src/lib/data/system-settings-keys.ts","../../../projects/pilot-web-sdk/src/public-api.ts","../../../projects/pilot-web-sdk/src/pilotdev-pilot-web-sdk.ts"],"sourcesContent":["import { IToolbarBuilder } from \"./toolbar.builder\";\n\n/**\n * Interface that allows to add new items to the toolbar\n */\nexport abstract class IToolbar<TToolbarContext> {\n\n constructor() {\n if (this.constructor == IToolbar<TToolbarContext>) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * The method is called just before the toolbar is created\n * @param builder - the toolbar builder object of associated toolbar\n * @param context - context\n */\n build(builder: IToolbarBuilder, context: TToolbarContext): void {\n throw new Error(\"Method 'build(builder: IToolbarBuilder, context: TToolbarContext)' must be implemented.\");\n }\n\n /**\n * \n * @param name \n * @param context \n */\n onToolbarItemClick(name: string, context: TToolbarContext): void {\n throw new Error(\"Method 'onToolbarItemClick(name: string, context: TToolbarContext)' must be implemented.\");\n }\n}","/**\n * Represents a toolbar button and enables to set parametres to it\n */\nexport abstract class IToolbarButtonItemBuilder {\n \n constructor() {\n if (this.constructor == IToolbarButtonItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's name to be displayed\n * @param header - value\n * @returns instance of IToolbarButtonItemBuilder\n */\n withHeader(header: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withHeader(header: string)' must be implemented.\");\n }\n\n /**\n * Item's icon in SVG format\n * @param name - icon name\n * @param svg - url icon or base64 string\n */\n withIcon(name: string, svg: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, svg: string)' must be implemented.\");\n }\n\n /**\n * Enabled the item\n * @param value - value\n */\n withIsEnabled(value: boolean): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withIsEnabled(value: boolean)' must be implemented.\");\n }\n\n /**\n * Item's hint\n * @param hint - value\n */\n withHint(hint: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withHint(hint: string)' must be implemented.\");\n }\n}","import { IToolbarBuilder } from \"./toolbar.builder\";\n\nexport abstract class IToolbarItemSubmenuHandler {\n /**\n * Build a submenu\n * @param builder - toolbar builder\n * @returns\n */\n onSubmenuRequested(builder: IToolbarBuilder): void {\n throw new Error(\"Method 'onSubmenuRequested(builder: IToolbarBuilder)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\nimport { IToolbarItemSubmenuHandler } from \"./toolbar-item-submenu.handler\";\n\n/**\n * Represents a toolbar menu button and enables to set parametres to it\n */\nexport abstract class IToolbarMenuButtonItemBuilder extends IToolbarButtonItemBuilder {\n /**\n * Build a dropdown menu\n * @param itemSubmenuHandler - toolbar submenu handler\n * @returns The toolbar button menu builder\n */\n withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\n\n/**\n * Represents a toolbar toggle button and enables to set parametres to it\n */\nexport abstract class IToolbarToggleButtonItemBuilder extends IToolbarButtonItemBuilder {\n \n /**\n * \n * @param value \n */\n withIsChecked(value: boolean): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'withIsChecked(value: boolean)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\nimport { IToolbarItemSubmenuHandler } from \"./toolbar-item-submenu.handler\";\nimport { IToolbarMenuButtonItemBuilder } from \"./toolbar-menu-item.builder\";\nimport { IToolbarToggleButtonItemBuilder } from \"./toolbar-toggle-item.builder\";\n\nexport abstract class IToolbarBuilder {\n\n constructor() {\n if (this.constructor == IToolbarBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Adds a new separator to the associated toolbar\n * @param index - The index to put the new item at\n */\n addSeparator(index: number): void {\n throw new Error(\"Method 'addSeparator(index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addButtonItem(name: string, index: number): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'addButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new menu button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addMenuButtonItem(name: string, index: number): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'addMenuButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new toggle button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addToggleButtonItem(name: string, index: number): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'addToggleButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item from the associated toolbar on button\n * @param name - The name of toolbar button to replace\n */\n replaceButtonItem(name: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'replaceButtonItem(name: string)' must be implemented.\");\n }\n\n /**\n * Replace the item from the associated toolbar on menu button\n * @param name - The name of toolbar menu button to replace \n */\n replaceMenuButtonItem(name: string): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'replaceMenuButtonItem(name: string)' must be implemented.\");\n }\n\n /**\n * Enables to set parametres to menu button item submenu\n * @param name - Item's internal name\n * @param itemSubmenuHandler - The toolbar button menu builder\n */\n handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler): void {\n throw new Error(\"Method 'handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.\");\n }\n\n /**\n * Replaces the item from the associated toolbar on toggle button\n * @param name - The name of toolbar toggle button to replace\n */\n replaceToggleButtonItem(name: string): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'replaceToggleButtonItem(name: string)' must be implemented.\");\n }\n\n /** \n * Gets the list of existing item names of associated toolbar \n * @returns - Existing toolbar item names \n */\n get itemNames(): string[] {\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\n }\n\n /**\n * Gets count of toolbar items\n */\n get count(): number {\n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Removes specified item\n * @param itemName - Item's internal name\n */\n removeItem(itemName: string): void {\n throw new Error(\"Method 'removeItem(name: string)' must be implemented.\");\n }\n}","/**\r\n * Class that allows to declare the view for the openspace container\r\n */\r\nexport abstract class IOpenspaceView<TOpenspaceViewContext> {\r\n constructor() {\r\n if (this.constructor == IOpenspaceView<TOpenspaceViewContext>) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * The method is called to match this View to the corresponding openspace container\r\n *\r\n * Should be identical with corresponding container's `withViewId(id: string)`\r\n * @returns {string}\r\n */\r\n getViewId(): string {\r\n throw new Error(\"Method 'getViewId()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * The method is called just before the openspace container's view is shown\r\n * @param context - context\r\n */\r\n getView(context: TOpenspaceViewContext): HTMLElement | undefined {\r\n throw new Error(\"Method 'getView(context: TTabViewContext)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * The method is called just before the openspace container's view is disposed\r\n */\r\n onDispose(): void {\r\n throw new Error(\"Method 'onDispose()' must be implemented.\");\r\n }\r\n}\r\n","import { ITabsBuilder } from \"./tabs.builder\";\r\n\r\n/**\r\n * Interface that allows to add new items to the tabs\r\n */\r\nexport abstract class ITabs<TTabsContext> {\r\n /**\r\n * The method is called just before the tabs are shown\r\n * @param builder The tab group builder object of associated tab group\r\n * @param context Context\r\n */\r\n build(builder: ITabsBuilder, context: TTabsContext): void {\r\n throw new Error(\"Method 'build(builder: IMenuBuilder, context: TTabsContext)' must be implemented.\");\r\n }\r\n}","import { ITabItemBuilder } from './tab-item.builder';\r\n\r\n/**\r\n * Represents a builder for tab groups\r\n */\r\nexport abstract class ITabsBuilder {\r\n constructor() {\r\n if (this.constructor == ITabsBuilder) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Gets the list of existing items of a tab group\r\n * @returns Existing menu item names\r\n */\r\n get itemNames(): string[] {\r\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Gets count of tab group items\r\n */\r\n get count(): number {\r\n throw new Error(\"Getter 'count()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Adds a new item to the associated tab group\r\n * @param id Item's internal id\r\n * @param index The index to put the new item at\r\n */\r\n addItem(id: string, index: number): ITabItemBuilder {\r\n throw new Error(\"Method 'addItem(id: string, index: number)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Replaces the item for the tab group.\r\n * If Item does not exist - creates it.\r\n * @param id Item's internal id\r\n */\r\n replaceItem(id: string): ITabItemBuilder {\r\n throw new Error(\"Method 'replaceItem(id: string)' must be implemented.\");\r\n }\r\n}\r\n","/**\r\n * Enables to set parameters to the tab-group's item\r\n */\r\nexport abstract class ITabItemBuilder {\r\n constructor() {\r\n if (this.constructor == ITabItemBuilder) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Item's title to be displayed\r\n * @param title value\r\n */\r\n withTitle(title: string): ITabItemBuilder {\r\n throw new Error(\"Method 'withTitle(title: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Item's icon\r\n * @param name Icon name\r\n * @param iconSvg Url of icon or base64 string\r\n */\r\n withIcon(name: string, iconSvg: string): ITabItemBuilder {\r\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Item's view id\r\n *\r\n * Is matched with corresponding IOpenspaceView's `getViewId(): string`\r\n * @param value - View Id\r\n */\r\n withViewId(value: string): ITabItemBuilder {\r\n throw new Error(\"Method 'withViewId(value: string)' must be implemented.\");\r\n }\r\n}\r\n","import { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Interface that allows to add new items to the menu and context menus\n */\nexport abstract class IMenu<TMenuContext> {\n /**\n * The method is called just before the menu is shown\n * @param builder The menu builder object of associated menu\n * @param context Context\n */\n build(builder: IMenuBuilder, context: TMenuContext): void {\n throw new Error(\"Method 'build(builder: IMenuBuilder, context: TMenuContext)' must be implemented.\");\n }\n \n /**\n * \n * @param name \n * @param context \n */\n onMenuItemClick(name: string, context: TMenuContext): void {\n throw new Error(\"Method 'onMenuItemClick(name: string, context: TMenuContext)' must be implemented.\");\n }\n}","import { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Represents a menu item and enables to set parametres to it\n */\nexport abstract class IMenuItemBuilder {\n\n constructor() {\n if (this.constructor == IMenuItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's name to be displayed\n * @param header value\n */\n withHeader(header: string): IMenuItemBuilder {\n throw new Error(\"Method 'withHeader(header: string)' must be implemented.\");\n }\n\n /**\n * Item's icon\n * @param name Icon name\n * @param iconSvg Url of icon or base64 string\n */\n withIcon(name: string, iconSvg: string): IMenuItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\n }\n\n /**\n * Enabled the item\n * @param value value\n */\n withIsEnabled(value: boolean): IMenuItemBuilder {\n throw new Error(\"Method 'withIsEnabled(value: boolean)' must be implemented.\");\n }\n \n /**\n * Item's submenu\n */\n withSubmenu(): IMenuBuilder {\n throw new Error(\"Method 'withSubmenu()' must be implemented.\");\n }\n}","import { IMenuItemBuilder } from \"./menu-item.builder\";\n\n/**\n * \n */\nexport abstract class ICheckableMenuItemBuilder extends IMenuItemBuilder {\n \n /**\n * \n * @param value \n */\n withIsChecked(value: boolean): ICheckableMenuItemBuilder {\n throw new Error(\"Method 'withIsChecked(value: boolean)' must be implemented.\");\n }\n}","import { ICheckableMenuItemBuilder } from \"./checkable-menu.builder\";\nimport { IMenuItemBuilder } from \"./menu-item.builder\";\n\n/**\n * Represents a menu and enables to add new items to it\n */\nexport abstract class IMenuBuilder {\n\n constructor() {\n if (this.constructor == IMenuBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Gets the list of existing items of associated menu or subitems of an item\n * @returns Existing menu item names\n */\n get itemNames(): string[] {\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\n }\n\n /**\n * Gets count of menu items\n */\n get count(): number { \n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Adds a new separator to the associated menu\n * @param index The index to put the new item at\n */\n addSeparator(index: number): void {\n throw new Error(\"Method 'addSeparator(index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new item to the associated menu\n * @param name Item's internal name\n * @param index The index to put the new item at\n */\n addItem(name: string, index: number): IMenuItemBuilder {\n throw new Error(\"Method 'addItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new checkable item to the associated menu\n * @param name Item's internal name\n * @param index The index to put the new item at\n */\n addCheckableItem(name: string, index: number): ICheckableMenuItemBuilder {\n throw new Error(\"Method 'addCheckableItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item to the associated menu\n * @param name Item's internal name\n */\n replaceItem(name: string): IMenuItemBuilder {\n throw new Error(\"Method 'replaceItem(name: string)' must be implemented.\");\n }\n\n /**\n * Removes the item with the specified name\n * @param name Item's internal name\n */\n removeItem(name: string): void {\n throw new Error(\"Method 'removeItem(name: string)' must be implemented.\");\n }\n\n /**\n * Gets the item\n * @param name Item's internal name\n */\n getItem(name: string): IMenuBuilder {\n throw new Error(\"Method 'getItem(name: string)' must be implemented.\");\n }\n}","import { IDataObject } from \"../data\";\n\n\n/**\n * Contex for objects view\n */\nexport class ObjectsViewContext {\n private readonly _selectedObjects: IDataObject[];\n private readonly _shortcuts: IDataObject[]; \n private readonly _context: IDataObject;\n \n constructor(selectedObjects: IDataObject[], context: IDataObject, shortcuts?: IDataObject[]) {\n this._selectedObjects = selectedObjects;\n this._context = context;\n this._shortcuts = shortcuts ?? [];\n }\n\n /**\n * \n */\n public get selectedObjects(): IDataObject[] {\n return this._selectedObjects;\n }\n\n /**\n * \n */\n public get contextObject(): IDataObject {\n return this._context;\n }\n\n /**\n * \n */\n public get shortcuts(): IDataObject[] {\n return this._shortcuts;\n }\n}","import { IAnnotationContainerObject } from \"../data\";\n\n\n/**\n * Context for document annotations list\n */\nexport class DocumentAnnotationsListContext {\n private readonly _selectedAnnotations: IAnnotationContainerObject[]; \n \n constructor(selectedAnnotations: IAnnotationContainerObject[]) {\n this._selectedAnnotations = selectedAnnotations;\n }\n\n /**\n * \n */\n public get selectedAnnotations(): IAnnotationContainerObject[] {\n return this._selectedAnnotations;\n }\n\n}","import { IDataObject } from \"../data\";\n\n/**\n * Context for xps render\n */\nexport class RenderContext {\n private readonly _dataObject: IDataObject;\n private readonly _selectedVersion: string;\n \n constructor(dataObject: IDataObject, selectedVersion: string) {\n this._dataObject = dataObject;\n this._selectedVersion = selectedVersion;\n }\n\n /**\n * Target object\n */\n public get dataObject(): IDataObject {\n return this._dataObject;\n }\n\n /**\n * Selected version time\n */\n public get selectedVersion(): string {\n return this._selectedVersion;\n }\n}","\nexport function objectToMap<T>(objectMap: { [key: string]: any; }): Map<string, T> {\n const map = new Map<string, T>();\n Object.keys(objectMap).forEach(key => {\n map.set(key, objectMap[key]);\n });\n return map;\n} \n","import { objectToMap } from \"./utils\";\n\nexport class AttributePermissionInfo {\n private ATTRIBUTE_NAME_MARKER = '&';\n \n orgUnits: number[];\n orgUnitAttributes: string[];\n\n constructor(editableForPositionsSource: string[]) {\n this.orgUnits = new Array<number>();\n this.orgUnitAttributes = new Array<string>();\n\n if (!editableForPositionsSource)\n return;\n\n editableForPositionsSource.forEach(str => {\n if (str.length > 0 && str[0] === this.ATTRIBUTE_NAME_MARKER) {\n this.orgUnitAttributes.push(str.substring(1));\n }\n else {\n const num = Number(str);\n if (!isNaN(num)) \n this.orgUnits.push(num);\n }\n });\n }\n\n extractAllOrgUnits(obj: any): number[] {\n const attrMap = objectToMap<any>(obj.attributes);\n return this.extractAllOrgUnitsByAttributes(attrMap);\n }\n\n extractAllOrgUnitsByAttributes(attributes: Map<string, any>) : number[] {\n let result = new Array<number>();\n if (!this.orgUnitAttributes || !attributes )\n return result;\n\n this.orgUnitAttributes.forEach(permissionAttributeName => {\n if (attributes.has(permissionAttributeName)){\n const value = attributes.get(permissionAttributeName);\n if (value && Array.isArray(value)){\n value.forEach(intValue => {\n result.push(intValue);\n });\n }\n }\n });\n\n return result;\n }\n}\n","const byteToHex = Array();\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport class Guid {\n private static readonly regex = \"(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})\";\n\n static readonly EMPTY = \"00000000-0000-0000-0000-000000000000\";\n\n static newGuid(): string {\n\n if (window.isSecureContext) {\n // If crypto.getRandomValues is available try to use it.\n return window.crypto.randomUUID();\n }\n\n // Fall back to Math.random if a higher quality random number generator is not available.\n const uuid = new Array(16);\n var d = new Date().getTime();\n for (var i = 0; i < 16; i++) {\n var r = ((d + Math.random() * 256) % 256) | 0;\n d = Math.trunc(d / 256);\n uuid[i] = r;\n }\n \n // Makes uuid compliant to RFC-4122\n uuid[6] = (uuid[6] & 0x0F) | 0x40; // uuid version\n uuid[8] = (uuid[8] & 0x3F) | 0x80; // uuid variant\n \n return this.stringify(uuid);\n }\n\n static isGuid(str: string) {\n const regex = new RegExp(this.regex);\n return regex.test(str) && str.length === 36;\n }\n\n private static stringify(arr: Array<number>) {\n return (\n byteToHex[arr[0]] +\n byteToHex[arr[1]] +\n byteToHex[arr[2]] +\n byteToHex[arr[3]] +\n '-' +\n byteToHex[arr[4]] +\n byteToHex[arr[5]] +\n '-' +\n byteToHex[arr[6]] +\n byteToHex[arr[7]] +\n '-' +\n byteToHex[arr[8]] +\n byteToHex[arr[9]] +\n '-' +\n byteToHex[arr[10]] +\n byteToHex[arr[11]] +\n byteToHex[arr[12]] +\n byteToHex[arr[13]] +\n byteToHex[arr[14]] +\n byteToHex[arr[15]]\n ).toLowerCase();\n }\n}","export enum AccessLevel {\n None = 0,\n Create = 1 << 0,\n Edit = 1 << 1,\n View = 1 << 2,\n Freeze = 1 << 3,\n Agreement = 1 << 4,\n Share = 1 << 5,\n\n ViewCreate = View | Create,\n ViewEdit = View | Create | Edit,\n ViewEditAgrement = ViewEdit | Agreement,\n Full = View | Create | Edit | Freeze | Agreement | Share\n}\n\nexport enum AccessType {\n Allow,\n Deny\n}\n\nexport enum AccessInheritance {\n None,\n InheritUntilSecret,\n InheritWholeSubtree\n}\n\nexport interface IAccessRecord {\n get orgUnitId(): number;\n get access(): IAccess;\n get recordOwnerPosition(): number;\n get inheritanceSource(): string;\n}\n\nexport interface IAccess {\n get type(): AccessType;\n get accessLevel(): AccessLevel;\n get validThrough(): string;\n get inheritance(): AccessInheritance;\n get typeIds(): number[];\n}\n","\nexport interface IAttribute {\n get name(): string;\n get title(): string;\n get obligatory(): boolean;\n get type(): AttributeType;\n get displayHeight(): number;\n get showInTree(): boolean;\n get displaySortOrder(): number;\n get isService(): boolean;\n get configuration(): string;\n get joinWithPrevious(): boolean;\n get isUnique(): boolean;\n get groupTitle(): string;\n get editableForPositionsSource(): string[];\n}\n\n\nexport enum AttributeType {\n Integer = 0,\n Double = 1,\n DateTime = 2,\n String = 3,\n Decimal = 4,\n Numerator = 5,\n Array = 6,\n UserState = 7,\n OrgUnit = 8,\n ElementBook = 9,\n Guid = 10,\n IntegerArray = 11,\n Unknown = 99\n}","import { AccessLevel, IAccessRecord } from \"./access\";\nimport { IAttribute } from \"./attribute\";\nimport { IFileSnapshot } from \"./files-snapshot\";\nimport { IPerson } from \"./person\";\nimport { IRelation } from \"./relation\";\n\n\nexport enum RelationType {\n SourceFiles = 1,\n TaskInitiatorAttachments = 2,\n TaskExecutorAttachments = 3,\n MessageAttachments = 4,\n Custom = 5,\n TaskAttachments = 6,\n}\n\nexport enum ObjectState {\n Alive,\n InRecycleBin,\n DeletedPermanently,\n Frozen,\n LockRequested,\n LockAccepted\n}\n\nexport interface IDataObject {\n get id(): string;\n get parentId(): string;\n get title(): string;\n get type(): IType;\n get attributes(): { [key: string]: any; };\n get children(): IChild[];\n get creator(): IPerson;\n get created(): string;\n get actualFileSnapshot(): IFileSnapshot;\n get previousFileSnapshots(): IFileSnapshot[];\n get context(): string[];\n get relations(): IRelation[];\n get access(): IAccessRecord[];\n get accessLevel(): AccessLevel;\n get stateInfo(): IStateInfo;\n get secretInfo(): ISecretInfo;\n get historyItems(): string[];\n}\n\nexport interface IType {\n get id(): number;\n get title(): string;\n get name(): string;\n get icon(): string;\n get sort(): number;\n get hasFiles(): boolean;\n get children(): number[];\n get attributes(): IAttribute[];\n get isDeleted(): boolean;\n get kind(): number;\n get isMountable(): boolean;\n get isService(): boolean;\n get isProject(): boolean;\n get configuration(): string;\n}\n\nexport interface IChild {\n get objectId(): string;\n get typeId(): number;\n}\n\nexport interface ISecretInfo {\n get isSecret(): boolean;\n get secretParentId(): string;\n get secretChangedBy(): number;\n}\n\nexport interface IStateInfo {\n get state(): ObjectState;\n get date(): string;\n get personId(): number;\n get positionId(): number;\n}\n","\nexport interface IOrganisationUnit {\n get id(): number;\n get title(): string;\n get kind(): OrgUnitKind;\n get children(): number[];\n get isDeleted(): boolean;\n get isBoss(): boolean;\n get version(): number;\n get person(): number;\n get vicePersons(): number[];\n get isCanceled(): boolean;\n get groupPersons(): number[];\n}\n\nexport enum OrgUnitKind {\n Department = 0,\n Position = 1,\n Group = 2\n}","\nexport enum SubscriptionType {\n Shallow,\n Deep\n}","export class SystemSettingsKeys\n{\n /**\n * Get's favorites feature key\n */\n public static get favoritesFeatureKey() { return \"Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc\"; }\n\n /**\n * Get's pilot storage drive letter feature key\n */\n public static get pilotStorageDriveLetter() { return \"PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc\"; }\n\n /**\n * Get's agreement roles feature key\n */\n public static get agreementRolesFeatureKey() { return \"AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d\"; }\n\n /**\n * Get's agreement roles feature key\n */\n public static get annotationStatusesFeatureKey() { return \"AnnotationStatuses-BFCDFFBC-9F27-4071-B9C8-478F7A4BBC45\"; }\n\n /**\n * Get's tasks filters feature key\n */\n public static get tasksFiltersFeatureKey() { return \"TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7\"; }\n\n /**\n * Get's mounted on Pilot-Storage items feature key\n */\n public static get mountedItemsList() { return \"MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b\"; }\n\n /**\n * Get's Pilot-Storage work folders feature key\n */\n public static get workfoldersList() { return \"Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86\"; }\n\n /**\n * Get's selection path of the DocumentsExplorer\n */\n public static get tabsState() { return \"TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f\"; }\n\n /**\n * Get's auto blocking file extensions feature key\n */\n public static get autoBlockingFileExtensionsFeatureKey() { return \"AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3\"; }\n\n /**\n * Get's auto commiting file extensions feature key\n */\n public static get autoCommitingFileExtensionsFeatureKey() { return \" AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666\"; }\n\n /**\n * Get's auto updating files feature key\n */\n public static get autoUpdatingFilesFeatureKey() { return \"AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5\"; }\n\n /**\n * Get's auto publishing settings feature key\n */\n public static get autoPublishingExtensionsFeatureKey() { return \"AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416\"; }\n\n /**\n * Get's eml attributes dictionary feature key\n */\n public static get emlAttributesDictionaryKeyFeatureKey() { return \"EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F\"; }\n\n /**\n * Get's documents autofill feature key\n */\n public static get docsAutoFillFeatureKey() { return \"DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186\"; }\n\n /**\n * User-defined temp files regex masks\n */\n public static get tempFileMasksFeatureKey() { return \"TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3\"; }\n\n /**\n * User-defined Export/Import settings\n */\n public static get exportImportFeatureKey() { return \"ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C\"; }\n\n /**\n * User-defined digital signature title\n */\n public static get digitalSinatureTitleFeatureKey() { return \"DigitalSinatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9\"; }\n}","/*\n * Public API Surface of pilot-web-sdk\n */\nexport * from './lib/idata.plugin';\nexport * from './lib/injectable/index';\nexport * from './lib/toolbar/index';\nexport * from \"./lib/openspace/index\"\nexport * from './lib/tabs/index';\nexport * from './lib/menu/index';\nexport * from './lib/contexts/index';\nexport * from './lib/tools/index';\nexport * from './lib/data/index';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[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C,EAAE;AACrI;;ACtFD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -192,6 +192,128 @@ class IToolbarBuilder {
192
192
  }
193
193
  }
194
194
 
195
+ /**
196
+ * Class that allows to declare the view for the openspace container
197
+ */
198
+ class IOpenspaceView {
199
+ constructor() {
200
+ if (this.constructor == (IOpenspaceView)) {
201
+ throw new Error("Abstract classes can't be instantiated.");
202
+ }
203
+ }
204
+ /**
205
+ * The method is called to match this View to the corresponding openspace container
206
+ *
207
+ * Should be identical with corresponding container's `withViewId(id: string)`
208
+ * @returns {string}
209
+ */
210
+ getViewId() {
211
+ throw new Error("Method 'getViewId()' must be implemented.");
212
+ }
213
+ /**
214
+ * The method is called just before the openspace container's view is shown
215
+ * @param context - context
216
+ */
217
+ getView(context) {
218
+ throw new Error("Method 'getView(context: TTabViewContext)' must be implemented.");
219
+ }
220
+ /**
221
+ * The method is called just before the openspace container's view is disposed
222
+ */
223
+ onDispose() {
224
+ throw new Error("Method 'onDispose()' must be implemented.");
225
+ }
226
+ }
227
+
228
+ /**
229
+ * Interface that allows to add new items to the tabs
230
+ */
231
+ class ITabs {
232
+ /**
233
+ * The method is called just before the tabs are shown
234
+ * @param builder The tab group builder object of associated tab group
235
+ * @param context Context
236
+ */
237
+ build(builder, context) {
238
+ throw new Error("Method 'build(builder: IMenuBuilder, context: TTabsContext)' must be implemented.");
239
+ }
240
+ }
241
+
242
+ /**
243
+ * Represents a builder for tab groups
244
+ */
245
+ class ITabsBuilder {
246
+ constructor() {
247
+ if (this.constructor == ITabsBuilder) {
248
+ throw new Error("Abstract classes can't be instantiated.");
249
+ }
250
+ }
251
+ /**
252
+ * Gets the list of existing items of a tab group
253
+ * @returns Existing menu item names
254
+ */
255
+ get itemNames() {
256
+ throw new Error("Getter 'itemNames()' must be implemented.");
257
+ }
258
+ /**
259
+ * Gets count of tab group items
260
+ */
261
+ get count() {
262
+ throw new Error("Getter 'count()' must be implemented.");
263
+ }
264
+ /**
265
+ * Adds a new item to the associated tab group
266
+ * @param id Item's internal id
267
+ * @param index The index to put the new item at
268
+ */
269
+ addItem(id, index) {
270
+ throw new Error("Method 'addItem(id: string, index: number)' must be implemented.");
271
+ }
272
+ /**
273
+ * Replaces the item for the tab group.
274
+ * If Item does not exist - creates it.
275
+ * @param id Item's internal id
276
+ */
277
+ replaceItem(id) {
278
+ throw new Error("Method 'replaceItem(id: string)' must be implemented.");
279
+ }
280
+ }
281
+
282
+ /**
283
+ * Enables to set parameters to the tab-group's item
284
+ */
285
+ class ITabItemBuilder {
286
+ constructor() {
287
+ if (this.constructor == ITabItemBuilder) {
288
+ throw new Error("Abstract classes can't be instantiated.");
289
+ }
290
+ }
291
+ /**
292
+ * Item's title to be displayed
293
+ * @param title value
294
+ */
295
+ withTitle(title) {
296
+ throw new Error("Method 'withTitle(title: string)' must be implemented.");
297
+ }
298
+ /**
299
+ * Item's icon
300
+ * @param name Icon name
301
+ * @param iconSvg Url of icon or base64 string
302
+ */
303
+ withIcon(name, iconSvg) {
304
+ throw new Error("Method 'withIcon(name: string, iconSvg: string)' must be implemented.");
305
+ }
306
+ /**
307
+ * Item's view id
308
+ *
309
+ * Is matched with corresponding IOpenspaceView's `getViewId(): string`
310
+ * @param value - View Id
311
+ */
312
+ withViewId(value) {
313
+ throw new Error("Method 'withViewId(value: string)' must be implemented.");
314
+ }
315
+ }
316
+
195
317
  /**
196
318
  * Interface that allows to add new items to the menu and context menus
197
319
  */
@@ -655,5 +777,5 @@ class SystemSettingsKeys {
655
777
  * Generated bundle index. Do not edit.
656
778
  */
657
779
 
658
- export { AccessInheritance, AccessLevel, AccessType, AttributePermissionInfo, AttributeType, DocumentAnnotationsListContext, Guid, ICheckableMenuItemBuilder, IMenu, IMenuBuilder, IMenuItemBuilder, IToolbar, IToolbarBuilder, IToolbarButtonItemBuilder, IToolbarItemSubmenuHandler, IToolbarMenuButtonItemBuilder, IToolbarToggleButtonItemBuilder, ObjectState, ObjectsViewContext, OrgUnitKind, RelationType, RenderContext, SubscriptionType, SystemSettingsKeys, objectToMap };
780
+ export { AccessInheritance, AccessLevel, AccessType, AttributePermissionInfo, AttributeType, DocumentAnnotationsListContext, Guid, ICheckableMenuItemBuilder, IMenu, IMenuBuilder, IMenuItemBuilder, IOpenspaceView, ITabItemBuilder, ITabs, ITabsBuilder, IToolbar, IToolbarBuilder, IToolbarButtonItemBuilder, IToolbarItemSubmenuHandler, IToolbarMenuButtonItemBuilder, IToolbarToggleButtonItemBuilder, ObjectState, ObjectsViewContext, OrgUnitKind, RelationType, RenderContext, SubscriptionType, SystemSettingsKeys, objectToMap };
659
781
  //# sourceMappingURL=pilotdev-pilot-web-sdk.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"pilotdev-pilot-web-sdk.mjs","sources":["../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-item-submenu.handler.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-menu-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-toggle-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/checkable-menu.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu.builder.ts","../../../projects/pilot-web-sdk/src/lib/contexts/context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/document-annotations-list-context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/render-context.ts","../../../projects/pilot-web-sdk/src/lib/tools/utils.ts","../../../projects/pilot-web-sdk/src/lib/tools/attribute-permission.info.ts","../../../projects/pilot-web-sdk/src/lib/tools/guid.ts","../../../projects/pilot-web-sdk/src/lib/data/access.ts","../../../projects/pilot-web-sdk/src/lib/data/attribute.ts","../../../projects/pilot-web-sdk/src/lib/data/data-object.ts","../../../projects/pilot-web-sdk/src/lib/data/organisation-unit.ts","../../../projects/pilot-web-sdk/src/lib/data/subscription-type.ts","../../../projects/pilot-web-sdk/src/lib/data/system-settings-keys.ts","../../../projects/pilot-web-sdk/src/public-api.ts","../../../projects/pilot-web-sdk/src/pilotdev-pilot-web-sdk.ts"],"sourcesContent":["import { IToolbarBuilder } from \"./toolbar.builder\";\n\n/**\n * Interface that allows to add new items to the toolbar\n */\nexport abstract class IToolbar<TToolbarContext> {\n\n constructor() {\n if (this.constructor == IToolbar<TToolbarContext>) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * The method is called just before the toolbar is created\n * @param builder - the toolbar builder object of associated toolbar\n * @param context - context\n */\n build(builder: IToolbarBuilder, context: TToolbarContext): void {\n throw new Error(\"Method 'build(builder: IToolbarBuilder, context: TToolbarContext)' must be implemented.\");\n }\n\n /**\n * \n * @param name \n * @param context \n */\n onToolbarItemClick(name: string, context: TToolbarContext): void {\n throw new Error(\"Method 'onToolbarItemClick(name: string, context: TToolbarContext)' must be implemented.\");\n }\n}","/**\n * Represents a toolbar button and enables to set parametres to it\n */\nexport abstract class IToolbarButtonItemBuilder {\n \n constructor() {\n if (this.constructor == IToolbarButtonItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's name to be displayed\n * @param header - value\n * @returns instance of IToolbarButtonItemBuilder\n */\n withHeader(header: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withHeader(header: string)' must be implemented.\");\n }\n\n /**\n * Item's icon in SVG format\n * @param name - icon name\n * @param svg - url icon or base64 string\n */\n withIcon(name: string, svg: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, svg: string)' must be implemented.\");\n }\n\n /**\n * Enabled the item\n * @param value - value\n */\n withIsEnabled(value: boolean): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withIsEnabled(value: boolean)' must be implemented.\");\n }\n\n /**\n * Item's hint\n * @param hint - value\n */\n withHint(hint: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withHint(hint: string)' must be implemented.\");\n }\n}","import { IToolbarBuilder } from \"./toolbar.builder\";\n\nexport abstract class IToolbarItemSubmenuHandler {\n /**\n * Build a submenu\n * @param builder - toolbar builder\n * @returns\n */\n onSubmenuRequested(builder: IToolbarBuilder): void {\n throw new Error(\"Method 'onSubmenuRequested(builder: IToolbarBuilder)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\nimport { IToolbarItemSubmenuHandler } from \"./toolbar-item-submenu.handler\";\n\n/**\n * Represents a toolbar menu button and enables to set parametres to it\n */\nexport abstract class IToolbarMenuButtonItemBuilder extends IToolbarButtonItemBuilder {\n /**\n * Build a dropdown menu\n * @param itemSubmenuHandler - toolbar submenu handler\n * @returns The toolbar button menu builder\n */\n withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\n\n/**\n * Represents a toolbar toggle button and enables to set parametres to it\n */\nexport abstract class IToolbarToggleButtonItemBuilder extends IToolbarButtonItemBuilder {\n \n /**\n * \n * @param value \n */\n withIsChecked(value: boolean): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'withIsChecked(value: boolean)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\nimport { IToolbarItemSubmenuHandler } from \"./toolbar-item-submenu.handler\";\nimport { IToolbarMenuButtonItemBuilder } from \"./toolbar-menu-item.builder\";\nimport { IToolbarToggleButtonItemBuilder } from \"./toolbar-toggle-item.builder\";\n\nexport abstract class IToolbarBuilder {\n\n constructor() {\n if (this.constructor == IToolbarBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Adds a new separator to the associated toolbar\n * @param index - The index to put the new item at\n */\n addSeparator(index: number): void {\n throw new Error(\"Method 'addSeparator(index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addButtonItem(name: string, index: number): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'addButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new menu button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addMenuButtonItem(name: string, index: number): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'addMenuButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new toggle button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addToggleButtonItem(name: string, index: number): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'addToggleButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item from the associated toolbar on button\n * @param name - The name of toolbar button to replace\n */\n replaceButtonItem(name: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'replaceButtonItem(name: string)' must be implemented.\");\n }\n\n /**\n * Replace the item from the associated toolbar on menu button\n * @param name - The name of toolbar menu button to replace \n */\n replaceMenuButtonItem(name: string): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'replaceMenuButtonItem(name: string)' must be implemented.\");\n }\n\n /**\n * Enables to set parametres to menu button item submenu\n * @param name - Item's internal name\n * @param itemSubmenuHandler - The toolbar button menu builder\n */\n handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler): void {\n throw new Error(\"Method 'handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.\");\n }\n\n /**\n * Replaces the item from the associated toolbar on toggle button\n * @param name - The name of toolbar toggle button to replace\n */\n replaceToggleButtonItem(name: string): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'replaceToggleButtonItem(name: string)' must be implemented.\");\n }\n\n /** \n * Gets the list of existing item names of associated toolbar \n * @returns - Existing toolbar item names \n */\n get itemNames(): string[] {\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\n }\n\n /**\n * Gets count of toolbar items\n */\n get count(): number {\n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Removes specified item\n * @param itemName - Item's internal name\n */\n removeItem(itemName: string): void {\n throw new Error(\"Method 'removeItem(name: string)' must be implemented.\");\n }\n}","import { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Interface that allows to add new items to the menu and context menus\n */\nexport abstract class IMenu<TMenuContext> {\n /**\n * The method is called just before the menu is shown\n * @param builder The menu builder object of associated menu\n * @param context Context\n */\n build(builder: IMenuBuilder, context: TMenuContext): void {\n throw new Error(\"Method 'build(builder: IMenuBuilder, context: TMenuContext)' must be implemented.\");\n }\n \n /**\n * \n * @param name \n * @param context \n */\n onMenuItemClick(name: string, context: TMenuContext): void {\n throw new Error(\"Method 'onMenuItemClick(name: string, context: TMenuContext)' must be implemented.\");\n }\n}","import { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Represents a menu item and enables to set parametres to it\n */\nexport abstract class IMenuItemBuilder {\n\n constructor() {\n if (this.constructor == IMenuItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's name to be displayed\n * @param header value\n */\n withHeader(header: string): IMenuItemBuilder {\n throw new Error(\"Method 'withHeader(header: string)' must be implemented.\");\n }\n\n /**\n * Item's icon\n * @param name Icon name\n * @param iconSvg Url of icon or base64 string\n */\n withIcon(name: string, iconSvg: string): IMenuItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\n }\n\n /**\n * Enabled the item\n * @param value value\n */\n withIsEnabled(value: boolean): IMenuItemBuilder {\n throw new Error(\"Method 'withIsEnabled(value: boolean)' must be implemented.\");\n }\n \n /**\n * Item's submenu\n */\n withSubmenu(): IMenuBuilder {\n throw new Error(\"Method 'withSubmenu()' must be implemented.\");\n }\n}","import { IMenuItemBuilder } from \"./menu-item.builder\";\n\n/**\n * \n */\nexport abstract class ICheckableMenuItemBuilder extends IMenuItemBuilder {\n \n /**\n * \n * @param value \n */\n withIsChecked(value: boolean): ICheckableMenuItemBuilder {\n throw new Error(\"Method 'withIsChecked(value: boolean)' must be implemented.\");\n }\n}","import { ICheckableMenuItemBuilder } from \"./checkable-menu.builder\";\nimport { IMenuItemBuilder } from \"./menu-item.builder\";\n\n/**\n * Represents a menu and enables to add new items to it\n */\nexport abstract class IMenuBuilder {\n\n constructor() {\n if (this.constructor == IMenuBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Gets the list of existing items of associated menu or subitems of an item\n * @returns Existing menu item names\n */\n get itemNames(): string[] {\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\n }\n\n /**\n * Gets count of menu items\n */\n get count(): number { \n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Adds a new separator to the associated menu\n * @param index The index to put the new item at\n */\n addSeparator(index: number): void {\n throw new Error(\"Method 'addSeparator(index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new item to the associated menu\n * @param name Item's internal name\n * @param index The index to put the new item at\n */\n addItem(name: string, index: number): IMenuItemBuilder {\n throw new Error(\"Method 'addItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new checkable item to the associated menu\n * @param name Item's internal name\n * @param index The index to put the new item at\n */\n addCheckableItem(name: string, index: number): ICheckableMenuItemBuilder {\n throw new Error(\"Method 'addCheckableItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item to the associated menu\n * @param name Item's internal name\n */\n replaceItem(name: string): IMenuItemBuilder {\n throw new Error(\"Method 'replaceItem(name: string)' must be implemented.\");\n }\n\n /**\n * Removes the item with the specified name\n * @param name Item's internal name\n */\n removeItem(name: string): void {\n throw new Error(\"Method 'removeItem(name: string)' must be implemented.\");\n }\n\n /**\n * Gets the item\n * @param name Item's internal name\n */\n getItem(name: string): IMenuBuilder {\n throw new Error(\"Method 'getItem(name: string)' must be implemented.\");\n }\n}","import { IDataObject } from \"../data\";\n\n\n/**\n * Contex for objects view\n */\nexport class ObjectsViewContext {\n private readonly _selectedObjects: IDataObject[];\n private readonly _shortcuts: IDataObject[]; \n private readonly _context: IDataObject;\n \n constructor(selectedObjects: IDataObject[], context: IDataObject, shortcuts?: IDataObject[]) {\n this._selectedObjects = selectedObjects;\n this._context = context;\n this._shortcuts = shortcuts ?? [];\n }\n\n /**\n * \n */\n public get selectedObjects(): IDataObject[] {\n return this._selectedObjects;\n }\n\n /**\n * \n */\n public get contextObject(): IDataObject {\n return this._context;\n }\n\n /**\n * \n */\n public get shortcuts(): IDataObject[] {\n return this._shortcuts;\n }\n}","import { IAnnotationContainerObject } from \"../data\";\n\n\n/**\n * Context for document annotations list\n */\nexport class DocumentAnnotationsListContext {\n private readonly _selectedAnnotations: IAnnotationContainerObject[]; \n \n constructor(selectedAnnotations: IAnnotationContainerObject[]) {\n this._selectedAnnotations = selectedAnnotations;\n }\n\n /**\n * \n */\n public get selectedAnnotations(): IAnnotationContainerObject[] {\n return this._selectedAnnotations;\n }\n\n}","import { IDataObject } from \"../data\";\n\n/**\n * Context for xps render\n */\nexport class RenderContext {\n private readonly _dataObject: IDataObject;\n private readonly _selectedVersion: string;\n \n constructor(dataObject: IDataObject, selectedVersion: string) {\n this._dataObject = dataObject;\n this._selectedVersion = selectedVersion;\n }\n\n /**\n * Target object\n */\n public get dataObject(): IDataObject {\n return this._dataObject;\n }\n\n /**\n * Selected version time\n */\n public get selectedVersion(): string {\n return this._selectedVersion;\n }\n}","\nexport function objectToMap<T>(objectMap: { [key: string]: any; }): Map<string, T> {\n const map = new Map<string, T>();\n Object.keys(objectMap).forEach(key => {\n map.set(key, objectMap[key]);\n });\n return map;\n} \n","import { objectToMap } from \"./utils\";\n\nexport class AttributePermissionInfo {\n private ATTRIBUTE_NAME_MARKER = '&';\n \n orgUnits: number[];\n orgUnitAttributes: string[];\n\n constructor(editableForPositionsSource: string[]) {\n this.orgUnits = new Array<number>();\n this.orgUnitAttributes = new Array<string>();\n\n if (!editableForPositionsSource)\n return;\n\n editableForPositionsSource.forEach(str => {\n if (str.length > 0 && str[0] === this.ATTRIBUTE_NAME_MARKER) {\n this.orgUnitAttributes.push(str.substring(1));\n }\n else {\n const num = Number(str);\n if (!isNaN(num)) \n this.orgUnits.push(num);\n }\n });\n }\n\n extractAllOrgUnits(obj: any): number[] {\n const attrMap = objectToMap<any>(obj.attributes);\n return this.extractAllOrgUnitsByAttributes(attrMap);\n }\n\n extractAllOrgUnitsByAttributes(attributes: Map<string, any>) : number[] {\n let result = new Array<number>();\n if (!this.orgUnitAttributes || !attributes )\n return result;\n\n this.orgUnitAttributes.forEach(permissionAttributeName => {\n if (attributes.has(permissionAttributeName)){\n const value = attributes.get(permissionAttributeName);\n if (value && Array.isArray(value)){\n value.forEach(intValue => {\n result.push(intValue);\n });\n }\n }\n });\n\n return result;\n }\n}\n","const byteToHex = Array();\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport class Guid {\n private static readonly regex = \"(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})\";\n\n static readonly EMPTY = \"00000000-0000-0000-0000-000000000000\";\n\n static newGuid(): string {\n\n if (window.isSecureContext) {\n // If crypto.getRandomValues is available try to use it.\n return window.crypto.randomUUID();\n }\n\n // Fall back to Math.random if a higher quality random number generator is not available.\n const uuid = new Array(16);\n var d = new Date().getTime();\n for (var i = 0; i < 16; i++) {\n var r = ((d + Math.random() * 256) % 256) | 0;\n d = Math.trunc(d / 256);\n uuid[i] = r;\n }\n \n // Makes uuid compliant to RFC-4122\n uuid[6] = (uuid[6] & 0x0F) | 0x40; // uuid version\n uuid[8] = (uuid[8] & 0x3F) | 0x80; // uuid variant\n \n return this.stringify(uuid);\n }\n\n static isGuid(str: string) {\n const regex = new RegExp(this.regex);\n return regex.test(str) && str.length === 36;\n }\n\n private static stringify(arr: Array<number>) {\n return (\n byteToHex[arr[0]] +\n byteToHex[arr[1]] +\n byteToHex[arr[2]] +\n byteToHex[arr[3]] +\n '-' +\n byteToHex[arr[4]] +\n byteToHex[arr[5]] +\n '-' +\n byteToHex[arr[6]] +\n byteToHex[arr[7]] +\n '-' +\n byteToHex[arr[8]] +\n byteToHex[arr[9]] +\n '-' +\n byteToHex[arr[10]] +\n byteToHex[arr[11]] +\n byteToHex[arr[12]] +\n byteToHex[arr[13]] +\n byteToHex[arr[14]] +\n byteToHex[arr[15]]\n ).toLowerCase();\n }\n}","export enum AccessLevel {\n None = 0,\n Create = 1 << 0,\n Edit = 1 << 1,\n View = 1 << 2,\n Freeze = 1 << 3,\n Agreement = 1 << 4,\n Share = 1 << 5,\n\n ViewCreate = View | Create,\n ViewEdit = View | Create | Edit,\n ViewEditAgrement = ViewEdit | Agreement,\n Full = View | Create | Edit | Freeze | Agreement | Share\n}\n\nexport enum AccessType {\n Allow,\n Deny\n}\n\nexport enum AccessInheritance {\n None,\n InheritUntilSecret,\n InheritWholeSubtree\n}\n\nexport interface IAccessRecord {\n get orgUnitId(): number;\n get access(): IAccess;\n get recordOwnerPosition(): number;\n get inheritanceSource(): string;\n}\n\nexport interface IAccess {\n get type(): AccessType;\n get accessLevel(): AccessLevel;\n get validThrough(): string;\n get inheritance(): AccessInheritance;\n get typeIds(): number[];\n}\n","\nexport interface IAttribute {\n get name(): string;\n get title(): string;\n get obligatory(): boolean;\n get type(): AttributeType;\n get displayHeight(): number;\n get showInTree(): boolean;\n get displaySortOrder(): number;\n get isService(): boolean;\n get configuration(): string;\n get joinWithPrevious(): boolean;\n get isUnique(): boolean;\n get groupTitle(): string;\n get editableForPositionsSource(): string[];\n}\n\n\nexport enum AttributeType {\n Integer = 0,\n Double = 1,\n DateTime = 2,\n String = 3,\n Decimal = 4,\n Numerator = 5,\n Array = 6,\n UserState = 7,\n OrgUnit = 8,\n ElementBook = 9,\n Guid = 10,\n IntegerArray = 11,\n Unknown = 99\n}","import { AccessLevel, IAccessRecord } from \"./access\";\nimport { IAttribute } from \"./attribute\";\nimport { IFileSnapshot } from \"./files-snapshot\";\nimport { IPerson } from \"./person\";\nimport { IRelation } from \"./relation\";\n\n\nexport enum RelationType {\n SourceFiles = 1,\n TaskInitiatorAttachments = 2,\n TaskExecutorAttachments = 3,\n MessageAttachments = 4,\n Custom = 5,\n TaskAttachments = 6,\n}\n\nexport enum ObjectState {\n Alive,\n InRecycleBin,\n DeletedPermanently,\n Frozen,\n LockRequested,\n LockAccepted\n}\n\nexport interface IDataObject {\n get id(): string;\n get parentId(): string;\n get title(): string;\n get type(): IType;\n get attributes(): { [key: string]: any; };\n get children(): IChild[];\n get creator(): IPerson;\n get created(): string;\n get actualFileSnapshot(): IFileSnapshot;\n get previousFileSnapshots(): IFileSnapshot[];\n get context(): string[];\n get relations(): IRelation[];\n get access(): IAccessRecord[];\n get accessLevel(): AccessLevel;\n get stateInfo(): IStateInfo;\n get secretInfo(): ISecretInfo;\n get historyItems(): string[];\n}\n\nexport interface IType {\n get id(): number;\n get title(): string;\n get name(): string;\n get icon(): string;\n get sort(): number;\n get hasFiles(): boolean;\n get children(): number[];\n get attributes(): IAttribute[];\n get isDeleted(): boolean;\n get kind(): number;\n get isMountable(): boolean;\n get isService(): boolean;\n get isProject(): boolean;\n get configuration(): string;\n}\n\nexport interface IChild {\n get objectId(): string;\n get typeId(): number;\n}\n\nexport interface ISecretInfo {\n get isSecret(): boolean;\n get secretParentId(): string;\n get secretChangedBy(): number;\n}\n\nexport interface IStateInfo {\n get state(): ObjectState;\n get date(): string;\n get personId(): number;\n get positionId(): number;\n}\n","\nexport interface IOrganisationUnit {\n get id(): number;\n get title(): string;\n get kind(): OrgUnitKind;\n get children(): number[];\n get isDeleted(): boolean;\n get isBoss(): boolean;\n get version(): number;\n get person(): number;\n get vicePersons(): number[];\n get isCanceled(): boolean;\n get groupPersons(): number[];\n}\n\nexport enum OrgUnitKind {\n Department = 0,\n Position = 1,\n Group = 2\n}","\nexport enum SubscriptionType {\n Shallow,\n Deep\n}","export class SystemSettingsKeys\n{\n /**\n * Get's favorites feature key\n */\n public static get favoritesFeatureKey() { return \"Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc\"; }\n\n /**\n * Get's pilot storage drive letter feature key\n */\n public static get pilotStorageDriveLetter() { return \"PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc\"; }\n\n /**\n * Get's agreement roles feature key\n */\n public static get agreementRolesFeatureKey() { return \"AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d\"; }\n\n /**\n * Get's agreement roles feature key\n */\n public static get annotationStatusesFeatureKey() { return \"AnnotationStatuses-BFCDFFBC-9F27-4071-B9C8-478F7A4BBC45\"; }\n\n /**\n * Get's tasks filters feature key\n */\n public static get tasksFiltersFeatureKey() { return \"TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7\"; }\n\n /**\n * Get's mounted on Pilot-Storage items feature key\n */\n public static get mountedItemsList() { return \"MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b\"; }\n\n /**\n * Get's Pilot-Storage work folders feature key\n */\n public static get workfoldersList() { return \"Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86\"; }\n\n /**\n * Get's selection path of the DocumentsExplorer\n */\n public static get tabsState() { return \"TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f\"; }\n\n /**\n * Get's auto blocking file extensions feature key\n */\n public static get autoBlockingFileExtensionsFeatureKey() { return \"AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3\"; }\n\n /**\n * Get's auto commiting file extensions feature key\n */\n public static get autoCommitingFileExtensionsFeatureKey() { return \" AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666\"; }\n\n /**\n * Get's auto updating files feature key\n */\n public static get autoUpdatingFilesFeatureKey() { return \"AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5\"; }\n\n /**\n * Get's auto publishing settings feature key\n */\n public static get autoPublishingExtensionsFeatureKey() { return \"AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416\"; }\n\n /**\n * Get's eml attributes dictionary feature key\n */\n public static get emlAttributesDictionaryKeyFeatureKey() { return \"EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F\"; }\n\n /**\n * Get's documents autofill feature key\n */\n public static get docsAutoFillFeatureKey() { return \"DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186\"; }\n\n /**\n * User-defined temp files regex masks\n */\n public static get tempFileMasksFeatureKey() { return \"TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3\"; }\n\n /**\n * User-defined Export/Import settings\n */\n public static get exportImportFeatureKey() { return \"ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C\"; }\n\n /**\n * User-defined digital signature title\n */\n public static get digitalSinatureTitleFeatureKey() { return \"DigitalSinatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9\"; }\n}","/*\n * Public API Surface of pilot-web-sdk\n */\nexport * from './lib/idata.plugin';\nexport * from './lib/injectable/index';\nexport * from './lib/toolbar/index';\nexport * from './lib/menu/index';\nexport * from './lib/contexts/index';\nexport * from './lib/tools/index';\nexport * from './lib/data/index';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAEA;;AAEG;MACmB,QAAQ,CAAA;AAE5B,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,IAAI,CAAC,WAAW,KAAI,QAAyB,CAAA,EAAE;AACjD,YAAA,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;AAC5D,SAAA;KACF;AAED;;;;AAIG;IACH,KAAK,CAAC,OAAwB,EAAE,OAAwB,EAAA;AAC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EAAmE,CAAC,EAAE;AAEzI;;AAEG;AACI,IAAA,WAAW,2BAA2B,GAAA,EAAK,OAAO,iEAAiE,CAAC,EAAE;AAE7H;;AAEG;AACI,IAAA,WAAW,kCAAkC,GAAA,EAAK,OAAO,+DAA+D,CAAC,EAAE;AAElI;;AAEG;AACI,IAAA,WAAW,oCAAoC,GAAA,EAAK,OAAO,8DAA8D,CAAC,EAAE;AAEnI;;AAEG;AACI,IAAA,WAAW,sBAAsB,GAAA,EAAK,OAAO,6DAA6D,CAAC,EAAE;AAEpH;;AAEG;AACI,IAAA,WAAW,uBAAuB,GAAA,EAAK,OAAO,8DAA8D,CAAC,EAAE;AAEtH;;AAEG;AACI,IAAA,WAAW,sBAAsB,GAAA,EAAK,OAAO,6DAA6D,CAAC,EAAE;AAEpH;;AAEG;AACI,IAAA,WAAW,8BAA8B,GAAA,EAAK,OAAO,qEAAqE,CAAC,EAAE;AACrI;;ACtFD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"pilotdev-pilot-web-sdk.mjs","sources":["../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-item-submenu.handler.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-menu-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar-toggle-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/toolbar/toolbar.builder.ts","../../../projects/pilot-web-sdk/src/lib/openspace/openspace-view.ts","../../../projects/pilot-web-sdk/src/lib/tabs/tabs.ts","../../../projects/pilot-web-sdk/src/lib/tabs/tabs.builder.ts","../../../projects/pilot-web-sdk/src/lib/tabs/tab-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu-item.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/checkable-menu.builder.ts","../../../projects/pilot-web-sdk/src/lib/menu/menu.builder.ts","../../../projects/pilot-web-sdk/src/lib/contexts/context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/document-annotations-list-context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/render-context.ts","../../../projects/pilot-web-sdk/src/lib/tools/utils.ts","../../../projects/pilot-web-sdk/src/lib/tools/attribute-permission.info.ts","../../../projects/pilot-web-sdk/src/lib/tools/guid.ts","../../../projects/pilot-web-sdk/src/lib/data/access.ts","../../../projects/pilot-web-sdk/src/lib/data/attribute.ts","../../../projects/pilot-web-sdk/src/lib/data/data-object.ts","../../../projects/pilot-web-sdk/src/lib/data/organisation-unit.ts","../../../projects/pilot-web-sdk/src/lib/data/subscription-type.ts","../../../projects/pilot-web-sdk/src/lib/data/system-settings-keys.ts","../../../projects/pilot-web-sdk/src/public-api.ts","../../../projects/pilot-web-sdk/src/pilotdev-pilot-web-sdk.ts"],"sourcesContent":["import { IToolbarBuilder } from \"./toolbar.builder\";\n\n/**\n * Interface that allows to add new items to the toolbar\n */\nexport abstract class IToolbar<TToolbarContext> {\n\n constructor() {\n if (this.constructor == IToolbar<TToolbarContext>) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * The method is called just before the toolbar is created\n * @param builder - the toolbar builder object of associated toolbar\n * @param context - context\n */\n build(builder: IToolbarBuilder, context: TToolbarContext): void {\n throw new Error(\"Method 'build(builder: IToolbarBuilder, context: TToolbarContext)' must be implemented.\");\n }\n\n /**\n * \n * @param name \n * @param context \n */\n onToolbarItemClick(name: string, context: TToolbarContext): void {\n throw new Error(\"Method 'onToolbarItemClick(name: string, context: TToolbarContext)' must be implemented.\");\n }\n}","/**\n * Represents a toolbar button and enables to set parametres to it\n */\nexport abstract class IToolbarButtonItemBuilder {\n \n constructor() {\n if (this.constructor == IToolbarButtonItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's name to be displayed\n * @param header - value\n * @returns instance of IToolbarButtonItemBuilder\n */\n withHeader(header: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withHeader(header: string)' must be implemented.\");\n }\n\n /**\n * Item's icon in SVG format\n * @param name - icon name\n * @param svg - url icon or base64 string\n */\n withIcon(name: string, svg: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, svg: string)' must be implemented.\");\n }\n\n /**\n * Enabled the item\n * @param value - value\n */\n withIsEnabled(value: boolean): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withIsEnabled(value: boolean)' must be implemented.\");\n }\n\n /**\n * Item's hint\n * @param hint - value\n */\n withHint(hint: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'withHint(hint: string)' must be implemented.\");\n }\n}","import { IToolbarBuilder } from \"./toolbar.builder\";\n\nexport abstract class IToolbarItemSubmenuHandler {\n /**\n * Build a submenu\n * @param builder - toolbar builder\n * @returns\n */\n onSubmenuRequested(builder: IToolbarBuilder): void {\n throw new Error(\"Method 'onSubmenuRequested(builder: IToolbarBuilder)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\nimport { IToolbarItemSubmenuHandler } from \"./toolbar-item-submenu.handler\";\n\n/**\n * Represents a toolbar menu button and enables to set parametres to it\n */\nexport abstract class IToolbarMenuButtonItemBuilder extends IToolbarButtonItemBuilder {\n /**\n * Build a dropdown menu\n * @param itemSubmenuHandler - toolbar submenu handler\n * @returns The toolbar button menu builder\n */\n withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\n\n/**\n * Represents a toolbar toggle button and enables to set parametres to it\n */\nexport abstract class IToolbarToggleButtonItemBuilder extends IToolbarButtonItemBuilder {\n \n /**\n * \n * @param value \n */\n withIsChecked(value: boolean): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'withIsChecked(value: boolean)' must be implemented.\");\n }\n}","import { IToolbarButtonItemBuilder } from \"./toolbar-item.builder\";\nimport { IToolbarItemSubmenuHandler } from \"./toolbar-item-submenu.handler\";\nimport { IToolbarMenuButtonItemBuilder } from \"./toolbar-menu-item.builder\";\nimport { IToolbarToggleButtonItemBuilder } from \"./toolbar-toggle-item.builder\";\n\nexport abstract class IToolbarBuilder {\n\n constructor() {\n if (this.constructor == IToolbarBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Adds a new separator to the associated toolbar\n * @param index - The index to put the new item at\n */\n addSeparator(index: number): void {\n throw new Error(\"Method 'addSeparator(index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addButtonItem(name: string, index: number): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'addButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new menu button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addMenuButtonItem(name: string, index: number): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'addMenuButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new toggle button to the associated toolbar\n * @param name - Internal item's name\n * @param index - The index to put the new item at\n */\n addToggleButtonItem(name: string, index: number): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'addToggleButtonItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item from the associated toolbar on button\n * @param name - The name of toolbar button to replace\n */\n replaceButtonItem(name: string): IToolbarButtonItemBuilder {\n throw new Error(\"Method 'replaceButtonItem(name: string)' must be implemented.\");\n }\n\n /**\n * Replace the item from the associated toolbar on menu button\n * @param name - The name of toolbar menu button to replace \n */\n replaceMenuButtonItem(name: string): IToolbarMenuButtonItemBuilder {\n throw new Error(\"Method 'replaceMenuButtonItem(name: string)' must be implemented.\");\n }\n\n /**\n * Enables to set parametres to menu button item submenu\n * @param name - Item's internal name\n * @param itemSubmenuHandler - The toolbar button menu builder\n */\n handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler): void {\n throw new Error(\"Method 'handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.\");\n }\n\n /**\n * Replaces the item from the associated toolbar on toggle button\n * @param name - The name of toolbar toggle button to replace\n */\n replaceToggleButtonItem(name: string): IToolbarToggleButtonItemBuilder {\n throw new Error(\"Method 'replaceToggleButtonItem(name: string)' must be implemented.\");\n }\n\n /** \n * Gets the list of existing item names of associated toolbar \n * @returns - Existing toolbar item names \n */\n get itemNames(): string[] {\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\n }\n\n /**\n * Gets count of toolbar items\n */\n get count(): number {\n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Removes specified item\n * @param itemName - Item's internal name\n */\n removeItem(itemName: string): void {\n throw new Error(\"Method 'removeItem(name: string)' must be implemented.\");\n }\n}","/**\r\n * Class that allows to declare the view for the openspace container\r\n */\r\nexport abstract class IOpenspaceView<TOpenspaceViewContext> {\r\n constructor() {\r\n if (this.constructor == IOpenspaceView<TOpenspaceViewContext>) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * The method is called to match this View to the corresponding openspace container\r\n *\r\n * Should be identical with corresponding container's `withViewId(id: string)`\r\n * @returns {string}\r\n */\r\n getViewId(): string {\r\n throw new Error(\"Method 'getViewId()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * The method is called just before the openspace container's view is shown\r\n * @param context - context\r\n */\r\n getView(context: TOpenspaceViewContext): HTMLElement | undefined {\r\n throw new Error(\"Method 'getView(context: TTabViewContext)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * The method is called just before the openspace container's view is disposed\r\n */\r\n onDispose(): void {\r\n throw new Error(\"Method 'onDispose()' must be implemented.\");\r\n }\r\n}\r\n","import { ITabsBuilder } from \"./tabs.builder\";\r\n\r\n/**\r\n * Interface that allows to add new items to the tabs\r\n */\r\nexport abstract class ITabs<TTabsContext> {\r\n /**\r\n * The method is called just before the tabs are shown\r\n * @param builder The tab group builder object of associated tab group\r\n * @param context Context\r\n */\r\n build(builder: ITabsBuilder, context: TTabsContext): void {\r\n throw new Error(\"Method 'build(builder: IMenuBuilder, context: TTabsContext)' must be implemented.\");\r\n }\r\n}","import { ITabItemBuilder } from './tab-item.builder';\r\n\r\n/**\r\n * Represents a builder for tab groups\r\n */\r\nexport abstract class ITabsBuilder {\r\n constructor() {\r\n if (this.constructor == ITabsBuilder) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Gets the list of existing items of a tab group\r\n * @returns Existing menu item names\r\n */\r\n get itemNames(): string[] {\r\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Gets count of tab group items\r\n */\r\n get count(): number {\r\n throw new Error(\"Getter 'count()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Adds a new item to the associated tab group\r\n * @param id Item's internal id\r\n * @param index The index to put the new item at\r\n */\r\n addItem(id: string, index: number): ITabItemBuilder {\r\n throw new Error(\"Method 'addItem(id: string, index: number)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Replaces the item for the tab group.\r\n * If Item does not exist - creates it.\r\n * @param id Item's internal id\r\n */\r\n replaceItem(id: string): ITabItemBuilder {\r\n throw new Error(\"Method 'replaceItem(id: string)' must be implemented.\");\r\n }\r\n}\r\n","/**\r\n * Enables to set parameters to the tab-group's item\r\n */\r\nexport abstract class ITabItemBuilder {\r\n constructor() {\r\n if (this.constructor == ITabItemBuilder) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Item's title to be displayed\r\n * @param title value\r\n */\r\n withTitle(title: string): ITabItemBuilder {\r\n throw new Error(\"Method 'withTitle(title: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Item's icon\r\n * @param name Icon name\r\n * @param iconSvg Url of icon or base64 string\r\n */\r\n withIcon(name: string, iconSvg: string): ITabItemBuilder {\r\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Item's view id\r\n *\r\n * Is matched with corresponding IOpenspaceView's `getViewId(): string`\r\n * @param value - View Id\r\n */\r\n withViewId(value: string): ITabItemBuilder {\r\n throw new Error(\"Method 'withViewId(value: string)' must be implemented.\");\r\n }\r\n}\r\n","import { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Interface that allows to add new items to the menu and context menus\n */\nexport abstract class IMenu<TMenuContext> {\n /**\n * The method is called just before the menu is shown\n * @param builder The menu builder object of associated menu\n * @param context Context\n */\n build(builder: IMenuBuilder, context: TMenuContext): void {\n throw new Error(\"Method 'build(builder: IMenuBuilder, context: TMenuContext)' must be implemented.\");\n }\n \n /**\n * \n * @param name \n * @param context \n */\n onMenuItemClick(name: string, context: TMenuContext): void {\n throw new Error(\"Method 'onMenuItemClick(name: string, context: TMenuContext)' must be implemented.\");\n }\n}","import { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Represents a menu item and enables to set parametres to it\n */\nexport abstract class IMenuItemBuilder {\n\n constructor() {\n if (this.constructor == IMenuItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's name to be displayed\n * @param header value\n */\n withHeader(header: string): IMenuItemBuilder {\n throw new Error(\"Method 'withHeader(header: string)' must be implemented.\");\n }\n\n /**\n * Item's icon\n * @param name Icon name\n * @param iconSvg Url of icon or base64 string\n */\n withIcon(name: string, iconSvg: string): IMenuItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\n }\n\n /**\n * Enabled the item\n * @param value value\n */\n withIsEnabled(value: boolean): IMenuItemBuilder {\n throw new Error(\"Method 'withIsEnabled(value: boolean)' must be implemented.\");\n }\n \n /**\n * Item's submenu\n */\n withSubmenu(): IMenuBuilder {\n throw new Error(\"Method 'withSubmenu()' must be implemented.\");\n }\n}","import { IMenuItemBuilder } from \"./menu-item.builder\";\n\n/**\n * \n */\nexport abstract class ICheckableMenuItemBuilder extends IMenuItemBuilder {\n \n /**\n * \n * @param value \n */\n withIsChecked(value: boolean): ICheckableMenuItemBuilder {\n throw new Error(\"Method 'withIsChecked(value: boolean)' must be implemented.\");\n }\n}","import { ICheckableMenuItemBuilder } from \"./checkable-menu.builder\";\nimport { IMenuItemBuilder } from \"./menu-item.builder\";\n\n/**\n * Represents a menu and enables to add new items to it\n */\nexport abstract class IMenuBuilder {\n\n constructor() {\n if (this.constructor == IMenuBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Gets the list of existing items of associated menu or subitems of an item\n * @returns Existing menu item names\n */\n get itemNames(): string[] {\n throw new Error(\"Getter 'itemNames()' must be implemented.\");\n }\n\n /**\n * Gets count of menu items\n */\n get count(): number { \n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Adds a new separator to the associated menu\n * @param index The index to put the new item at\n */\n addSeparator(index: number): void {\n throw new Error(\"Method 'addSeparator(index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new item to the associated menu\n * @param name Item's internal name\n * @param index The index to put the new item at\n */\n addItem(name: string, index: number): IMenuItemBuilder {\n throw new Error(\"Method 'addItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Adds a new checkable item to the associated menu\n * @param name Item's internal name\n * @param index The index to put the new item at\n */\n addCheckableItem(name: string, index: number): ICheckableMenuItemBuilder {\n throw new Error(\"Method 'addCheckableItem(name: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item to the associated menu\n * @param name Item's internal name\n */\n replaceItem(name: string): IMenuItemBuilder {\n throw new Error(\"Method 'replaceItem(name: string)' must be implemented.\");\n }\n\n /**\n * Removes the item with the specified name\n * @param name Item's internal name\n */\n removeItem(name: string): void {\n throw new Error(\"Method 'removeItem(name: string)' must be implemented.\");\n }\n\n /**\n * Gets the item\n * @param name Item's internal name\n */\n getItem(name: string): IMenuBuilder {\n throw new Error(\"Method 'getItem(name: string)' must be implemented.\");\n }\n}","import { IDataObject } from \"../data\";\n\n\n/**\n * Contex for objects view\n */\nexport class ObjectsViewContext {\n private readonly _selectedObjects: IDataObject[];\n private readonly _shortcuts: IDataObject[]; \n private readonly _context: IDataObject;\n \n constructor(selectedObjects: IDataObject[], context: IDataObject, shortcuts?: IDataObject[]) {\n this._selectedObjects = selectedObjects;\n this._context = context;\n this._shortcuts = shortcuts ?? [];\n }\n\n /**\n * \n */\n public get selectedObjects(): IDataObject[] {\n return this._selectedObjects;\n }\n\n /**\n * \n */\n public get contextObject(): IDataObject {\n return this._context;\n }\n\n /**\n * \n */\n public get shortcuts(): IDataObject[] {\n return this._shortcuts;\n }\n}","import { IAnnotationContainerObject } from \"../data\";\n\n\n/**\n * Context for document annotations list\n */\nexport class DocumentAnnotationsListContext {\n private readonly _selectedAnnotations: IAnnotationContainerObject[]; \n \n constructor(selectedAnnotations: IAnnotationContainerObject[]) {\n this._selectedAnnotations = selectedAnnotations;\n }\n\n /**\n * \n */\n public get selectedAnnotations(): IAnnotationContainerObject[] {\n return this._selectedAnnotations;\n }\n\n}","import { IDataObject } from \"../data\";\n\n/**\n * Context for xps render\n */\nexport class RenderContext {\n private readonly _dataObject: IDataObject;\n private readonly _selectedVersion: string;\n \n constructor(dataObject: IDataObject, selectedVersion: string) {\n this._dataObject = dataObject;\n this._selectedVersion = selectedVersion;\n }\n\n /**\n * Target object\n */\n public get dataObject(): IDataObject {\n return this._dataObject;\n }\n\n /**\n * Selected version time\n */\n public get selectedVersion(): string {\n return this._selectedVersion;\n }\n}","\nexport function objectToMap<T>(objectMap: { [key: string]: any; }): Map<string, T> {\n const map = new Map<string, T>();\n Object.keys(objectMap).forEach(key => {\n map.set(key, objectMap[key]);\n });\n return map;\n} \n","import { objectToMap } from \"./utils\";\n\nexport class AttributePermissionInfo {\n private ATTRIBUTE_NAME_MARKER = '&';\n \n orgUnits: number[];\n orgUnitAttributes: string[];\n\n constructor(editableForPositionsSource: string[]) {\n this.orgUnits = new Array<number>();\n this.orgUnitAttributes = new Array<string>();\n\n if (!editableForPositionsSource)\n return;\n\n editableForPositionsSource.forEach(str => {\n if (str.length > 0 && str[0] === this.ATTRIBUTE_NAME_MARKER) {\n this.orgUnitAttributes.push(str.substring(1));\n }\n else {\n const num = Number(str);\n if (!isNaN(num)) \n this.orgUnits.push(num);\n }\n });\n }\n\n extractAllOrgUnits(obj: any): number[] {\n const attrMap = objectToMap<any>(obj.attributes);\n return this.extractAllOrgUnitsByAttributes(attrMap);\n }\n\n extractAllOrgUnitsByAttributes(attributes: Map<string, any>) : number[] {\n let result = new Array<number>();\n if (!this.orgUnitAttributes || !attributes )\n return result;\n\n this.orgUnitAttributes.forEach(permissionAttributeName => {\n if (attributes.has(permissionAttributeName)){\n const value = attributes.get(permissionAttributeName);\n if (value && Array.isArray(value)){\n value.forEach(intValue => {\n result.push(intValue);\n });\n }\n }\n });\n\n return result;\n }\n}\n","const byteToHex = Array();\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport class Guid {\n private static readonly regex = \"(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})\";\n\n static readonly EMPTY = \"00000000-0000-0000-0000-000000000000\";\n\n static newGuid(): string {\n\n if (window.isSecureContext) {\n // If crypto.getRandomValues is available try to use it.\n return window.crypto.randomUUID();\n }\n\n // Fall back to Math.random if a higher quality random number generator is not available.\n const uuid = new Array(16);\n var d = new Date().getTime();\n for (var i = 0; i < 16; i++) {\n var r = ((d + Math.random() * 256) % 256) | 0;\n d = Math.trunc(d / 256);\n uuid[i] = r;\n }\n \n // Makes uuid compliant to RFC-4122\n uuid[6] = (uuid[6] & 0x0F) | 0x40; // uuid version\n uuid[8] = (uuid[8] & 0x3F) | 0x80; // uuid variant\n \n return this.stringify(uuid);\n }\n\n static isGuid(str: string) {\n const regex = new RegExp(this.regex);\n return regex.test(str) && str.length === 36;\n }\n\n private static stringify(arr: Array<number>) {\n return (\n byteToHex[arr[0]] +\n byteToHex[arr[1]] +\n byteToHex[arr[2]] +\n byteToHex[arr[3]] +\n '-' +\n byteToHex[arr[4]] +\n byteToHex[arr[5]] +\n '-' +\n byteToHex[arr[6]] +\n byteToHex[arr[7]] +\n '-' +\n byteToHex[arr[8]] +\n byteToHex[arr[9]] +\n '-' +\n byteToHex[arr[10]] +\n byteToHex[arr[11]] +\n byteToHex[arr[12]] +\n byteToHex[arr[13]] +\n byteToHex[arr[14]] +\n byteToHex[arr[15]]\n ).toLowerCase();\n }\n}","export enum AccessLevel {\n None = 0,\n Create = 1 << 0,\n Edit = 1 << 1,\n View = 1 << 2,\n Freeze = 1 << 3,\n Agreement = 1 << 4,\n Share = 1 << 5,\n\n ViewCreate = View | Create,\n ViewEdit = View | Create | Edit,\n ViewEditAgrement = ViewEdit | Agreement,\n Full = View | Create | Edit | Freeze | Agreement | Share\n}\n\nexport enum AccessType {\n Allow,\n Deny\n}\n\nexport enum AccessInheritance {\n None,\n InheritUntilSecret,\n InheritWholeSubtree\n}\n\nexport interface IAccessRecord {\n get orgUnitId(): number;\n get access(): IAccess;\n get recordOwnerPosition(): number;\n get inheritanceSource(): string;\n}\n\nexport interface IAccess {\n get type(): AccessType;\n get accessLevel(): AccessLevel;\n get validThrough(): string;\n get inheritance(): AccessInheritance;\n get typeIds(): number[];\n}\n","\nexport interface IAttribute {\n get name(): string;\n get title(): string;\n get obligatory(): boolean;\n get type(): AttributeType;\n get displayHeight(): number;\n get showInTree(): boolean;\n get displaySortOrder(): number;\n get isService(): boolean;\n get configuration(): string;\n get joinWithPrevious(): boolean;\n get isUnique(): boolean;\n get groupTitle(): string;\n get editableForPositionsSource(): string[];\n}\n\n\nexport enum AttributeType {\n Integer = 0,\n Double = 1,\n DateTime = 2,\n String = 3,\n Decimal = 4,\n Numerator = 5,\n Array = 6,\n UserState = 7,\n OrgUnit = 8,\n ElementBook = 9,\n Guid = 10,\n IntegerArray = 11,\n Unknown = 99\n}","import { AccessLevel, IAccessRecord } from \"./access\";\nimport { IAttribute } from \"./attribute\";\nimport { IFileSnapshot } from \"./files-snapshot\";\nimport { IPerson } from \"./person\";\nimport { IRelation } from \"./relation\";\n\n\nexport enum RelationType {\n SourceFiles = 1,\n TaskInitiatorAttachments = 2,\n TaskExecutorAttachments = 3,\n MessageAttachments = 4,\n Custom = 5,\n TaskAttachments = 6,\n}\n\nexport enum ObjectState {\n Alive,\n InRecycleBin,\n DeletedPermanently,\n Frozen,\n LockRequested,\n LockAccepted\n}\n\nexport interface IDataObject {\n get id(): string;\n get parentId(): string;\n get title(): string;\n get type(): IType;\n get attributes(): { [key: string]: any; };\n get children(): IChild[];\n get creator(): IPerson;\n get created(): string;\n get actualFileSnapshot(): IFileSnapshot;\n get previousFileSnapshots(): IFileSnapshot[];\n get context(): string[];\n get relations(): IRelation[];\n get access(): IAccessRecord[];\n get accessLevel(): AccessLevel;\n get stateInfo(): IStateInfo;\n get secretInfo(): ISecretInfo;\n get historyItems(): string[];\n}\n\nexport interface IType {\n get id(): number;\n get title(): string;\n get name(): string;\n get icon(): string;\n get sort(): number;\n get hasFiles(): boolean;\n get children(): number[];\n get attributes(): IAttribute[];\n get isDeleted(): boolean;\n get kind(): number;\n get isMountable(): boolean;\n get isService(): boolean;\n get isProject(): boolean;\n get configuration(): string;\n}\n\nexport interface IChild {\n get objectId(): string;\n get typeId(): number;\n}\n\nexport interface ISecretInfo {\n get isSecret(): boolean;\n get secretParentId(): string;\n get secretChangedBy(): number;\n}\n\nexport interface IStateInfo {\n get state(): ObjectState;\n get date(): string;\n get personId(): number;\n get positionId(): number;\n}\n","\nexport interface IOrganisationUnit {\n get id(): number;\n get title(): string;\n get kind(): OrgUnitKind;\n get children(): number[];\n get isDeleted(): boolean;\n get isBoss(): boolean;\n get version(): number;\n get person(): number;\n get vicePersons(): number[];\n get isCanceled(): boolean;\n get groupPersons(): number[];\n}\n\nexport enum OrgUnitKind {\n Department = 0,\n Position = 1,\n Group = 2\n}","\nexport enum SubscriptionType {\n Shallow,\n Deep\n}","export class SystemSettingsKeys\n{\n /**\n * Get's favorites feature key\n */\n public static get favoritesFeatureKey() { return \"Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc\"; }\n\n /**\n * Get's pilot storage drive letter feature key\n */\n public static get pilotStorageDriveLetter() { return \"PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc\"; }\n\n /**\n * Get's agreement roles feature key\n */\n public static get agreementRolesFeatureKey() { return \"AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d\"; }\n\n /**\n * Get's agreement roles feature key\n */\n public static get annotationStatusesFeatureKey() { return \"AnnotationStatuses-BFCDFFBC-9F27-4071-B9C8-478F7A4BBC45\"; }\n\n /**\n * Get's tasks filters feature key\n */\n public static get tasksFiltersFeatureKey() { return \"TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7\"; }\n\n /**\n * Get's mounted on Pilot-Storage items feature key\n */\n public static get mountedItemsList() { return \"MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b\"; }\n\n /**\n * Get's Pilot-Storage work folders feature key\n */\n public static get workfoldersList() { return \"Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86\"; }\n\n /**\n * Get's selection path of the DocumentsExplorer\n */\n public static get tabsState() { return \"TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f\"; }\n\n /**\n * Get's auto blocking file extensions feature key\n */\n public static get autoBlockingFileExtensionsFeatureKey() { return \"AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3\"; }\n\n /**\n * Get's auto commiting file extensions feature key\n */\n public static get autoCommitingFileExtensionsFeatureKey() { return \" AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666\"; }\n\n /**\n * Get's auto updating files feature key\n */\n public static get autoUpdatingFilesFeatureKey() { return \"AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5\"; }\n\n /**\n * Get's auto publishing settings feature key\n */\n public static get autoPublishingExtensionsFeatureKey() { return \"AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416\"; }\n\n /**\n * Get's eml attributes dictionary feature key\n */\n public static get emlAttributesDictionaryKeyFeatureKey() { return \"EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F\"; }\n\n /**\n * Get's documents autofill feature key\n */\n public static get docsAutoFillFeatureKey() { return \"DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186\"; }\n\n /**\n * User-defined temp files regex masks\n */\n public static get tempFileMasksFeatureKey() { return \"TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3\"; }\n\n /**\n * User-defined Export/Import settings\n */\n public static get exportImportFeatureKey() { return \"ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C\"; }\n\n /**\n * User-defined digital signature title\n */\n public static get digitalSinatureTitleFeatureKey() { return \"DigitalSinatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9\"; }\n}","/*\n * Public API Surface of pilot-web-sdk\n */\nexport * from './lib/idata.plugin';\nexport * from './lib/injectable/index';\nexport * from './lib/toolbar/index';\nexport * from \"./lib/openspace/index\"\nexport * from './lib/tabs/index';\nexport * from './lib/menu/index';\nexport * from './lib/contexts/index';\nexport * from './lib/tools/index';\nexport * from './lib/data/index';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAEA;;AAEG;MACmB,QAAQ,CAAA;AAE5B,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,IAAI,CAAC,WAAW,KAAI,QAAyB,CAAA,EAAE;AACjD,YAAA,MAAM,IAAI,KAAK,CAAC,yC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AAqE,CAAC,EAAE;AACrI;;ACtFD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -2,7 +2,7 @@ export interface IFile {
2
2
  get body(): IFileBody;
3
3
  get name(): string;
4
4
  get creatorId(): number;
5
- get signatures(): ISignature[];
5
+ get signatureRequests(): ISignatureRequest[];
6
6
  }
7
7
  export interface IFileBody {
8
8
  get id(): string;
@@ -12,7 +12,7 @@ export interface IFileBody {
12
12
  get created(): string;
13
13
  get accessed(): string;
14
14
  }
15
- export interface ISignature {
15
+ export interface ISignatureRequest {
16
16
  get id(): string;
17
17
  get databaseId(): string;
18
18
  get positionId(): number;
@@ -0,0 +1 @@
1
+ export * from './openspace-view';
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Class that allows to declare the view for the openspace container
3
+ */
4
+ export declare abstract class IOpenspaceView<TOpenspaceViewContext> {
5
+ constructor();
6
+ /**
7
+ * The method is called to match this View to the corresponding openspace container
8
+ *
9
+ * Should be identical with corresponding container's `withViewId(id: string)`
10
+ * @returns {string}
11
+ */
12
+ getViewId(): string;
13
+ /**
14
+ * The method is called just before the openspace container's view is shown
15
+ * @param context - context
16
+ */
17
+ getView(context: TOpenspaceViewContext): HTMLElement | undefined;
18
+ /**
19
+ * The method is called just before the openspace container's view is disposed
20
+ */
21
+ onDispose(): void;
22
+ }
@@ -0,0 +1,3 @@
1
+ export * from './tabs';
2
+ export * from './tabs.builder';
3
+ export * from './tab-item.builder';
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Enables to set parameters to the tab-group's item
3
+ */
4
+ export declare abstract class ITabItemBuilder {
5
+ constructor();
6
+ /**
7
+ * Item's title to be displayed
8
+ * @param title value
9
+ */
10
+ withTitle(title: string): ITabItemBuilder;
11
+ /**
12
+ * Item's icon
13
+ * @param name Icon name
14
+ * @param iconSvg Url of icon or base64 string
15
+ */
16
+ withIcon(name: string, iconSvg: string): ITabItemBuilder;
17
+ /**
18
+ * Item's view id
19
+ *
20
+ * Is matched with corresponding IOpenspaceView's `getViewId(): string`
21
+ * @param value - View Id
22
+ */
23
+ withViewId(value: string): ITabItemBuilder;
24
+ }
@@ -0,0 +1,28 @@
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
+ }
@@ -0,0 +1,12 @@
1
+ import { ITabsBuilder } from "./tabs.builder";
2
+ /**
3
+ * Interface that allows to add new items to the tabs
4
+ */
5
+ export declare abstract class ITabs<TTabsContext> {
6
+ /**
7
+ * The method is called just before the tabs are shown
8
+ * @param builder The tab group builder object of associated tab group
9
+ * @param context Context
10
+ */
11
+ build(builder: ITabsBuilder, context: TTabsContext): void;
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pilotdev/pilot-web-sdk",
3
- "version": "24.20.0",
3
+ "version": "24.22.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.4",
6
6
  "@angular/core": "^15.1.4",
package/public-api.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  export * from './lib/idata.plugin';
2
2
  export * from './lib/injectable/index';
3
3
  export * from './lib/toolbar/index';
4
+ export * from "./lib/openspace/index";
5
+ export * from './lib/tabs/index';
4
6
  export * from './lib/menu/index';
5
7
  export * from './lib/contexts/index';
6
8
  export * from './lib/tools/index';