@pilotdev/pilot-web-sdk 23.0.0-alpha.2 → 24.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -5
- package/esm2020/lib/contexts/context.mjs +29 -0
- package/esm2020/lib/contexts/document-annotations-list-context.mjs +15 -0
- package/esm2020/lib/contexts/index.mjs +4 -0
- package/esm2020/lib/contexts/render-context.mjs +22 -0
- package/esm2020/lib/data/access.mjs +26 -0
- package/esm2020/lib/data/annotations.mjs +2 -0
- package/esm2020/lib/data/attribute.mjs +17 -0
- package/esm2020/lib/data/data-object.mjs +19 -0
- package/esm2020/lib/data/file.mjs +2 -0
- package/esm2020/lib/data/files-snapshot.mjs +2 -0
- package/esm2020/lib/data/index.mjs +13 -0
- package/esm2020/lib/data/modifier.mjs +2 -0
- package/esm2020/lib/data/object-builder.mjs +2 -0
- package/esm2020/lib/data/organisation-unit.mjs +7 -0
- package/esm2020/lib/data/person.mjs +2 -0
- package/esm2020/lib/data/relation.mjs +2 -0
- package/esm2020/lib/data/subscriptionType.mjs +6 -0
- package/esm2020/lib/idata.plugin.mjs +2 -2
- package/esm2020/lib/injectable/index.mjs +5 -2
- package/esm2020/lib/injectable/modifier-provider.mjs +2 -0
- package/esm2020/lib/injectable/objects-repository.mjs +2 -0
- package/esm2020/lib/injectable/render-context-provider.mjs +2 -0
- package/esm2020/lib/injectable/repository-events.mjs +2 -0
- package/esm2020/lib/menu/checkable-menu.builder.mjs +14 -14
- package/esm2020/lib/menu/index.mjs +5 -5
- package/esm2020/lib/menu/menu-item.builder.mjs +39 -39
- package/esm2020/lib/menu/menu.builder.mjs +68 -68
- package/esm2020/lib/menu/menu.mjs +22 -22
- package/esm2020/lib/toolbar/index.mjs +7 -7
- package/esm2020/lib/toolbar/toolbar-item-submenu.handler.mjs +11 -3
- package/esm2020/lib/toolbar/toolbar-item.builder.mjs +41 -41
- package/esm2020/lib/toolbar/toolbar-menu-item.builder.mjs +15 -15
- package/esm2020/lib/toolbar/toolbar-toggle-item.builder.mjs +14 -14
- package/esm2020/lib/toolbar/toolbar.builder.mjs +88 -88
- package/esm2020/lib/toolbar/toolbar.mjs +27 -27
- package/esm2020/lib/tools/attribute-permission.info.mjs +41 -0
- package/esm2020/lib/tools/guid.mjs +53 -0
- package/esm2020/lib/tools/index.mjs +4 -0
- package/esm2020/lib/tools/utils.mjs +8 -0
- package/esm2020/pilotdev-pilot-web-sdk.mjs +4 -4
- package/esm2020/public-api.mjs +11 -9
- package/fesm2015/pilotdev-pilot-web-sdk.mjs +561 -322
- package/fesm2015/pilotdev-pilot-web-sdk.mjs.map +1 -1
- package/fesm2020/pilotdev-pilot-web-sdk.mjs +561 -322
- package/fesm2020/pilotdev-pilot-web-sdk.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/contexts/context.d.ts +22 -0
- package/lib/contexts/document-annotations-list-context.d.ts +12 -0
- package/lib/contexts/index.d.ts +3 -0
- package/lib/contexts/render-context.d.ts +17 -0
- package/lib/data/access.d.ts +35 -0
- package/lib/data/annotations.d.ts +15 -0
- package/lib/data/attribute.d.ts +30 -0
- package/lib/data/data-object.d.ts +74 -0
- package/lib/data/file.d.ts +23 -0
- package/lib/data/files-snapshot.d.ts +8 -0
- package/lib/data/index.d.ts +12 -0
- package/lib/data/modifier.d.ts +30 -0
- package/lib/data/object-builder.d.ts +110 -0
- package/lib/data/organisation-unit.d.ts +18 -0
- package/lib/data/person.d.ts +17 -0
- package/lib/data/relation.d.ts +8 -0
- package/lib/data/subscriptionType.d.ts +4 -0
- package/lib/idata.plugin.d.ts +2 -2
- package/lib/injectable/index.d.ts +4 -1
- package/lib/injectable/modifier-provider.d.ts +10 -0
- package/lib/injectable/objects-repository.d.ts +72 -0
- package/lib/injectable/render-context-provider.d.ts +10 -0
- package/lib/injectable/repository-events.d.ts +31 -0
- package/lib/menu/checkable-menu.builder.d.ts +11 -11
- package/lib/menu/index.d.ts +4 -4
- package/lib/menu/menu-item.builder.d.ts +27 -27
- package/lib/menu/menu.builder.d.ts +49 -49
- package/lib/menu/menu.d.ts +18 -18
- package/lib/toolbar/index.d.ts +6 -6
- package/lib/toolbar/toolbar-item-submenu.handler.d.ts +9 -2
- package/lib/toolbar/toolbar-item.builder.d.ts +28 -28
- package/lib/toolbar/toolbar-menu-item.builder.d.ts +13 -13
- package/lib/toolbar/toolbar-toggle-item.builder.d.ts +11 -11
- package/lib/toolbar/toolbar.builder.d.ts +65 -65
- package/lib/toolbar/toolbar.d.ts +19 -19
- package/lib/tools/attribute-permission.info.d.ts +8 -0
- package/lib/tools/guid.d.ts +7 -0
- package/lib/tools/index.d.ts +3 -0
- package/lib/tools/utils.d.ts +3 -0
- package/package.json +5 -5
- package/public-api.d.ts +7 -5
- package/esm2020/lib/context.mjs +0 -11
- package/esm2020/lib/injectable/objects.repository.mjs +0 -2
- package/lib/context.d.ts +0 -18
- package/lib/injectable/objects.repository.d.ts +0 -5
package/README.md
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
* Contex for objects view
|
3
|
+
*/
|
4
|
+
export class ObjectsViewContext {
|
5
|
+
constructor(selectedObjects, context, shortcuts) {
|
6
|
+
this._selectedObjects = selectedObjects;
|
7
|
+
this._context = context;
|
8
|
+
this._shortcuts = shortcuts ?? [];
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
*
|
12
|
+
*/
|
13
|
+
get selectedObjects() {
|
14
|
+
return this._selectedObjects;
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
*
|
18
|
+
*/
|
19
|
+
get contextObject() {
|
20
|
+
return this._context;
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
*
|
24
|
+
*/
|
25
|
+
get shortcuts() {
|
26
|
+
return this._shortcuts;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LX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GF0YU9iamVjdFtdLCBjb250ZXh0OiBJRGF0YU9iamVjdCwgc2hvcnRjdXRzPzogSURhdGFPYmplY3RbXSkge1xuICAgIHRoaXMuX3NlbGVjdGVkT2JqZWN0cyA9IHNlbGVjdGVkT2JqZWN0cztcbiAgICB0aGlzLl9jb250ZXh0ID0gY29udGV4dDtcbiAgICB0aGlzLl9zaG9ydGN1dHMgPSBzaG9ydGN1dHMgPz8gW107XG4gIH1cblxuICAvKipcbiAgICogXG4gICAqL1xuICBwdWJsaWMgZ2V0IHNlbGVjdGVkT2JqZWN0cygpOiBJRGF0YU9iamVjdFtdIHtcbiAgICByZXR1cm4gdGhpcy5fc2VsZWN0ZWRPYmplY3RzO1xuICB9XG5cbiAgLyoqXG4gICAqIFxuICAgKi9cbiAgcHVibGljIGdldCBjb250ZXh0T2JqZWN0KCk6IElEYXRhT2JqZWN0IHtcbiAgICByZXR1cm4gdGhpcy5fY29udGV4dDtcbiAgfVxuXG4gIC8qKlxuICAgKiBcbiAgICovXG4gIHB1YmxpYyBnZXQgc2hvcnRjdXRzKCk6IElEYXRhT2JqZWN0W10ge1xuICAgIHJldHVybiB0aGlzLl9zaG9ydGN1dHM7XG4gIH1cbn0iXX0=
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Context for document annotations list
|
3
|
+
*/
|
4
|
+
export class DocumentAnnotationsListContext {
|
5
|
+
constructor(selectedAnnotations) {
|
6
|
+
this._selectedAnnotations = selectedAnnotations;
|
7
|
+
}
|
8
|
+
/**
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
get selectedAnnotations() {
|
12
|
+
return this._selectedAnnotations;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQtYW5ub3RhdGlvbnMtbGlzdC1jb250ZXh0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi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1
|
+
export * from './context';
|
2
|
+
export * from './document-annotations-list-context';
|
3
|
+
export * from './render-context';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvY29udGV4dHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb250ZXh0JztcbmV4cG9ydCAqIGZyb20gJy4vZG9jdW1lbnQtYW5ub3RhdGlvbnMtbGlzdC1jb250ZXh0JztcbmV4cG9ydCAqIGZyb20gJy4vcmVuZGVyLWNvbnRleHQnOyJdfQ==
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* Context for xps render
|
3
|
+
*/
|
4
|
+
export class RenderContext {
|
5
|
+
constructor(dataObject, selectedVersion) {
|
6
|
+
this._dataObject = dataObject;
|
7
|
+
this._selectedVersion = selectedVersion;
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Target object
|
11
|
+
*/
|
12
|
+
get dataObject() {
|
13
|
+
return this._dataObject;
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* Selected version time
|
17
|
+
*/
|
18
|
+
get selectedVersion() {
|
19
|
+
return this._selectedVersion;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWNvbnRleHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9sa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VybiB0aGlzLl9kYXRhT2JqZWN0O1xuICB9XG5cbiAgIC8qKlxuICAgICogU2VsZWN0ZWQgdmVyc2lvbiB0aW1lXG4gICAgKi9cbiAgcHVibGljIGdldCBzZWxlY3RlZFZlcnNpb24oKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5fc2VsZWN0ZWRWZXJzaW9uO1xuICB9XG59Il19
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export var AccessLevel;
|
2
|
+
(function (AccessLevel) {
|
3
|
+
AccessLevel[AccessLevel["None"] = 0] = "None";
|
4
|
+
AccessLevel[AccessLevel["Create"] = 1] = "Create";
|
5
|
+
AccessLevel[AccessLevel["Edit"] = 2] = "Edit";
|
6
|
+
AccessLevel[AccessLevel["View"] = 4] = "View";
|
7
|
+
AccessLevel[AccessLevel["Freeze"] = 8] = "Freeze";
|
8
|
+
AccessLevel[AccessLevel["Agreement"] = 16] = "Agreement";
|
9
|
+
AccessLevel[AccessLevel["Share"] = 32] = "Share";
|
10
|
+
AccessLevel[AccessLevel["ViewCreate"] = 5] = "ViewCreate";
|
11
|
+
AccessLevel[AccessLevel["ViewEdit"] = 7] = "ViewEdit";
|
12
|
+
AccessLevel[AccessLevel["ViewEditAgrement"] = 23] = "ViewEditAgrement";
|
13
|
+
AccessLevel[AccessLevel["Full"] = 63] = "Full";
|
14
|
+
})(AccessLevel || (AccessLevel = {}));
|
15
|
+
export var AccessType;
|
16
|
+
(function (AccessType) {
|
17
|
+
AccessType[AccessType["Allow"] = 0] = "Allow";
|
18
|
+
AccessType[AccessType["Deny"] = 1] = "Deny";
|
19
|
+
})(AccessType || (AccessType = {}));
|
20
|
+
export var AccessInheritance;
|
21
|
+
(function (AccessInheritance) {
|
22
|
+
AccessInheritance[AccessInheritance["None"] = 0] = "None";
|
23
|
+
AccessInheritance[AccessInheritance["InheritUntilSecret"] = 1] = "InheritUntilSecret";
|
24
|
+
AccessInheritance[AccessInheritance["InheritWholeSubtree"] = 2] = "InheritWholeS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
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ub3RhdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9hbm5vdGF0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSURhdGFPYmplY3QgfSBmcm9tIFwiLi9kYXRhLW9iamVjdFwiO1xuXG5cbmV4cG9ydCBpbnRlcmZhY2UgSUFubm90YXRpb25Db250YWluZXJPYmplY3Qge1xuICBnZXQgY29udGFpbmVyKCk6IElBbm5vdGF0aW9uQ29udGFpbmVyO1xuICBnZXQgc291cmNlKCk6IElEYXRhT2JqZWN0O1xuICBnZXQgYXR0cmlidXRlcygpOiBhbnk7XG59XG5cblxuZXhwb3J0IGludGVyZmFjZSBJQW5ub3RhdGlvbkNvbnRhaW5lciB7XG4gIGdldCBhbm5vdGF0aW9uSWQoKTogc3RyaW5nO1xuICBnZXQgdmVyc2lvbigpOiBzdHJpbmc7XG4gIGdldCBwb3NpdGlvblgoKTogbnVtYmVyO1xuICBnZXQgcG9zaXRpb25ZKCk6IG51bWJlcjtcbiAgZ2V0IHBhZ2VOdW1iZXIoKTogbnVtYmVyO1xuICBnZXQgZGF0YSgpOiBzdHJpbmc7XG4gIGdldCBraW5kKCk6IHN0cmluZztcbn1cblxuIl19
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export var AttributeType;
|
2
|
+
(function (AttributeType) {
|
3
|
+
AttributeType[AttributeType["Integer"] = 0] = "Integer";
|
4
|
+
AttributeType[AttributeType["Double"] = 1] = "Double";
|
5
|
+
AttributeType[AttributeType["DateTime"] = 2] = "DateTime";
|
6
|
+
AttributeType[AttributeType["String"] = 3] = "String";
|
7
|
+
AttributeType[AttributeType["Decimal"] = 4] = "Decimal";
|
8
|
+
AttributeType[AttributeType["Numerator"] = 5] = "Numerator";
|
9
|
+
AttributeType[AttributeType["Array"] = 6] = "Array";
|
10
|
+
AttributeType[AttributeType["UserState"] = 7] = "UserState";
|
11
|
+
AttributeType[AttributeType["OrgUnit"] = 8] = "OrgUnit";
|
12
|
+
AttributeType[AttributeType["ElementBook"] = 9] = "ElementBook";
|
13
|
+
AttributeType[AttributeType["Guid"] = 10] = "Guid";
|
14
|
+
AttributeType[AttributeType["IntegerArray"] = 11] = "IntegerArray";
|
15
|
+
AttributeType[AttributeType["Unknown"] = 99] = "Unknown";
|
16
|
+
})(AttributeType || (AttributeType = {}));
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2RhdGEvYXR0cmlidXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCQSxNQUFNLENBQU4sSUFBWSxhQWNYO0FBZEQsV0FBWSxhQUFhO0lBQ3ZCLHVEQUFXLENBQUE7SUFDWCxxREFBVSxDQUFBO0lBQ1YseURBQVksQ0FBQTtJQUNaLHFEQUFVLENBQUE7SUFDVix1REFBVyxDQUFBO0lBQ1gsMkRBQWEsQ0FBQTtJQUNiLG1EQUFTLENBQUE7SUFDVCwyREFBYSxDQUFBO0lBQ2IsdURBQVcsQ0FBQTtJQUNYLCtEQUFlLENBQUE7SUFDZixrREFBUyxDQUFBO0lBQ1Qsa0VBQWlCLENBQUE7SUFDakIsd0RBQVksQ0FBQTtBQUNkLENBQUMsRUFkVyxhQUFhLEtBQWIsYUFBYSxRQWN4QiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGludGVyZmFjZSBJQXR0cmlidXRlIHtcbiAgZ2V0IG5hbWUoKTogc3RyaW5nO1xuICBnZXQgdGl0bGUoKTogc3RyaW5nO1xuICBnZXQgb2JsaWdhdG9yeSgpOiBib29sZWFuO1xuICBnZXQgdHlwZSgpOiBBdHRyaWJ1dGVUeXBlO1xuICBnZXQgZGlzcGxheUhlaWdodCgpOiBudW1iZXI7XG4gIGdldCBzaG93SW5UcmVlKCk6IGJvb2xlYW47XG4gIGdldCBkaXNwbGF5U29ydE9yZGVyKCk6IG51bWJlcjtcbiAgZ2V0IGlzU2VydmljZSgpOiBib29sZWFuO1xuICBnZXQgY29uZmlndXJhdGlvbigpOiBzdHJpbmc7XG4gIGdldCBqb2luV2l0aFByZXZpb3VzKCk6IGJvb2xlYW47XG4gIGdldCBpc1VuaXF1ZSgpOiBib29sZWFuO1xuICBnZXQgZ3JvdXBUaXRsZSgpOiBzdHJpbmc7XG4gIGdldCBlZGl0YWJsZUZvclBvc2l0aW9uc1NvdXJjZSgpOiBzdHJpbmdbXTtcbn1cblxuXG5leHBvcnQgZW51bSBBdHRyaWJ1dGVUeXBlIHtcbiAgSW50ZWdlciA9IDAsXG4gIERvdWJsZSA9IDEsXG4gIERhdGVUaW1lID0gMixcbiAgU3RyaW5nID0gMyxcbiAgRGVjaW1hbCA9IDQsXG4gIE51bWVyYXRvciA9IDUsXG4gIEFycmF5ID0gNixcbiAgVXNlclN0YXRlID0gNyxcbiAgT3JnVW5pdCA9IDgsXG4gIEVsZW1lbnRCb29rID0gOSxcbiAgR3VpZCA9IDEwLFxuICBJbnRlZ2VyQXJyYXkgPSAxMSxcbiAgVW5rbm93biA9IDk5XG59Il19
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export var RelationType;
|
2
|
+
(function (RelationType) {
|
3
|
+
RelationType[RelationType["SourceFiles"] = 1] = "SourceFiles";
|
4
|
+
RelationType[RelationType["TaskInitiatorAttachments"] = 2] = "TaskInitiatorAttachments";
|
5
|
+
RelationType[RelationType["TaskExecutorAttachments"] = 3] = "TaskExecutorAttachments";
|
6
|
+
RelationType[RelationType["MessageAttachments"] = 4] = "MessageAttachments";
|
7
|
+
RelationType[RelationType["Custom"] = 5] = "Custom";
|
8
|
+
RelationType[RelationType["TaskAttachments"] = 6] = "TaskAttachments";
|
9
|
+
})(RelationType || (RelationType = {}));
|
10
|
+
export var ObjectState;
|
11
|
+
(function (ObjectState) {
|
12
|
+
ObjectState[ObjectState["Alive"] = 0] = "Alive";
|
13
|
+
ObjectState[ObjectState["InRecycleBin"] = 1] = "InRecycleBin";
|
14
|
+
ObjectState[ObjectState["DeletedPermanently"] = 2] = "DeletedPermanently";
|
15
|
+
ObjectState[ObjectState["Frozen"] = 3] = "Frozen";
|
16
|
+
ObjectState[ObjectState["LockRequested"] = 4] = "LockRequested";
|
17
|
+
ObjectState[ObjectState["LockAccepted"] = 5] = "LockAccepted";
|
18
|
+
})(ObjectState || (ObjectState = {}));
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1vYmplY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9kYXRhLW9iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPQSxNQUFNLENBQU4sSUFBWSxZQU9YO0FBUEQsV0FBWSxZQUFZO0lBQ3RCLDZEQUFlLENBQUE7SUFDZix1RkFBNEIsQ0FBQTtJQUM1QixxRkFBMkIsQ0FBQTtJQUMzQiwyRUFBc0IsQ0FBQTtJQUN0QixtREFBVSxDQUFBO0lBQ1YscUVBQW1CLENBQUE7QUFDckIsQ0FBQyxFQVBXLFlBQVksS0FBWixZQUFZLFFBT3ZCO0FBRUQsTUFBTSxDQUFOLElBQVksV0FPWDtBQVBELFdBQVksV0FBVztJQUNyQiwrQ0FBSyxDQUFBO0lBQ0wsNkRBQVksQ0FBQTtJQUNaLHlFQUFrQixDQUFBO0lBQ2xCLG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gIGdldCBjcmVhdGVkKCk6IHN0cmluZztcbiAgZ2V0IGFjY2Vzc2VkKCk6IHN0cmluZztcbn1cblxuZXhwb3J0IGludGVyZmFjZSBJU2lnbmF0dXJlIHtcbiAgZ2V0IGlkKCk6IHN0cmluZztcbiAgZ2V0IGRhdGFiYXNlSWQoKTogc3RyaW5nO1xuICBnZXQgcG9zaXRpb25JZCgpOiBudW1iZXI7XG4gIGdldCByb2xlKCk6IHN0cmluZztcbiAgZ2V0IHNpZ24oKTogc3RyaW5nO1xuICBnZXQgcmVxdWVzdGVkU2lnbmVyKCk6IHN0cmluZztcbiAgZ2V0IGlzQWRkaXRpb25hbCgpOiBib29sZWFuO1xuICBnZXQgb2JqZWN0SWQoKTogc3RyaW5nO1xufSJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZXMtc25hcHNob3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9maWxlcy1zbmFwc2hvdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUZpbGUgfSBmcm9tIFwiLi9maWxlXCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUZpbGVTbmFwc2hvdCB7XG4gIGdldCBjcmVhdGVkKCk6IHN0cmluZztcbiAgZ2V0IGNyZWF0b3JJZCgpOiBudW1iZXI7XG4gIGdldCByZWFzb24oKTogc3RyaW5nO1xuICBnZXQgZmlsZXMoKTogSUZpbGVbXTtcbiAgZ2V0IGhhc0Fubm90YXRpb25zKCk6IGJvb2xlYW47XG59Il19
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export * from './access';
|
2
|
+
export * from './annotations';
|
3
|
+
export * from './attribute';
|
4
|
+
export * from './data-object';
|
5
|
+
export * from './file';
|
6
|
+
export * from './files-snapshot';
|
7
|
+
export * from './person';
|
8
|
+
export * from './relation';
|
9
|
+
export * from './object-builder';
|
10
|
+
export * from './modifier';
|
11
|
+
export * from './organisation-unit';
|
12
|
+
export * from './subscriptionType';
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLG9CQUFvQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hY2Nlc3MnO1xuZXhwb3J0ICogZnJvbSAnLi9hbm5vdGF0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL2F0dHJpYnV0ZSc7XG5leHBvcnQgKiBmcm9tICcuL2RhdGEtb2JqZWN0JztcbmV4cG9ydCAqIGZyb20gJy4vZmlsZSc7XG5leHBvcnQgKiBmcm9tICcuL2ZpbGVzLXNuYXBzaG90JztcbmV4cG9ydCAqIGZyb20gJy4vcGVyc29uJztcbmV4cG9ydCAqIGZyb20gJy4vcmVsYXRpb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IFxuICBzZXRJc1NlY3JldChpc1NlY3JldDogYm9vbGVhbik6IElPYmplY3RCdWlsZGVyO1xuICAvKipcbiAgICogQWRkcyBvciBjaGFuZ2VzIGEgYW5ub3RhdGlvblxuICAgKiBcbiAgICogQHBhcmFtIGNvbnRhaW5lciBBbm5vdGF0aW9uIGNvbnRhaW5lclxuICAgKiBAcGFyYW0gYXR0cmJ1dGVzIEFubm90YXRpb24gYXR0cmlidXRlc1xuICAgKiBAcmV0dXJucyBTZWxmXG4gICAqLyBcbiAgYWRkQW5ub3RhdGlvbkNvbnRhaW5lcihjb250YWluZXI6IElBbm5vdGF0aW9uQ29udGFpbmVyLCBhdHRyYnV0ZXM6IGFueSk6IElPYmplY3RCdWlsZGVyO1xufSJdfQ==
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export var OrgUnitKind;
|
2
|
+
(function (OrgUnitKind) {
|
3
|
+
OrgUnitKind[OrgUnitKind["Department"] = 0] = "Department";
|
4
|
+
OrgUnitKind[OrgUnitKind["Position"] = 1] = "Position";
|
5
|
+
OrgUnitKind[OrgUnitKind["Group"] = 2] = "Group";
|
6
|
+
})(OrgUnitKind || (OrgUnitKind = {}));
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnYW5pc2F0aW9uLXVuaXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9vcmdhbmlzYXRpb24tdW5pdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFlQSxNQUFNLENBQU4sSUFBWSxXQUlYO0FBSkQsV0FBWSxXQUFXO0lBQ3JCLHlEQUFjLENBQUE7SUFDZCxxREFBWSxDQUFBO0lBQ1osK0NBQVMsQ0FBQTtBQUNYLENBQUMsRUFKVyxXQUFXLEtBQVgsV0FBVyxRQUl0QiIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGludGVyZmFjZSBJT3JnYW5pemF0aW9uVW5pdCB7XG4gIGdldCBpZCgpOiBudW1iZXI7XG4gIGdldCB0aXRsZSgpOiBzdHJpbmc7XG4gIGdldCBraW5kKCk6IE9yZ1VuaXRLaW5kO1xuICBnZXQgY2hpbGRyZW4oKTogbnVtYmVyW107XG4gIGdldCBpc0RlbGV0ZWQoKTogYm9vbGVhbjtcbiAgZ2V0IGlzQm9zcygpOiBib29sZWFuO1xuICBnZXQgdmVyc2lvbigpOiBudW1iZXI7XG4gIGdldCBwZXJzb24oKTogbnVtYmVyO1xuICBnZXQgdmljZVBlcnNvbnMoKTogbnVtYmVyW107XG4gIGdldCBpc0NhbmNlbGVkKCk6IGJvb2xlYW47XG4gIGdldCBncm91cFBlcnNvbnMoKTogbnVtYmVyW107XG59XG5cbmV4cG9ydCBlbnVtIE9yZ1VuaXRLaW5kIHtcbiAgRGVwYXJ0bWVudCA9IDAsXG4gIFBvc2l0aW9uID0gMSxcbiAgR3JvdXAgPSAyXG59Il19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGVyc29uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2RhdGEvcGVyc29uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElQZXJzb24ge1xuICBnZXQgaWQoKTogbnVtYmVyO1xuICBnZXQgbG9naW4oKTogc3RyaW5nO1xuICBnZXQgaXNJbmFjdGl2ZSgpOiBib29sZWFuO1xuICBnZXQgZGlzcGxheU5hbWUoKTogc3RyaW5nO1xuICBnZXQgcG9zaXRpb25zKCk6IG51bWJlcltdO1xuICBnZXQ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(function (SubscriptionType) {
|
3
|
+
SubscriptionType[SubscriptionType["Shallow"] = 0] = "Shallow";
|
4
|
+
SubscriptionType[SubscriptionType["Deep"] = 1] = "Deep";
|
5
|
+
})(SubscriptionType || (SubscriptionType = {}));
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uVHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9kYXRhL3N1YnNjcmlwdGlvblR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxDQUFOLElBQVksZ0JBR1g7QUFIRCxXQUFZLGdCQUFnQjtJQUMxQiw2REFBTyxDQUFBO0lBQ1AsdURBQUksQ0FBQTtBQUNOLENBQUMsRUFIVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBRzNCIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgZW51bSBTdWJzY3JpcHRpb25UeXBlIHtcbiAgU2hhbGxvdyxcbiAgRGVlcFxufSJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRhdGEucGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2lkYXRhLnBsdWdpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgaW50ZXJmYWNlIElEYXRhUGx1Z2luIHt9Il19
|
@@ -1,2 +1,5 @@
|
|
1
|
-
export * from './objects
|
2
|
-
|
1
|
+
export * from './objects-repository';
|
2
|
+
export * from './render-context-provider';
|
3
|
+
export * from './modifier-provider';
|
4
|
+
export * from './repository-events';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvaW5qZWN0YWJsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHFCQUFxQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9vYmplY3RzLXJlcG9zaXRvcnknO1xuZXhwb3J0ICogZnJvbSAnLi9yZW5kZXItY29udGV4dC1wcm92aWRlcic7XG5leHBvcnQgKiBmcm9tICcuL21vZGlmaWVyLXByb3ZpZGVyJ1xuZXhwb3J0ICogZnJvbSAnLi9yZXBvc2l0b3J5LWV2ZW50cyciXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kaWZpZXItcHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvaW5qZWN0YWJsZS9tb2RpZmllci1wcm92aWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1vZGlmaWVyIH0gZnJvbSBcIi4uL2RhdGEvbW9kaWZpZXJcIjtcblxuLyoqXG4gKiB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cG9ydCBpbnRlcmZhY2UgSVJlbmRlckNvbnRleHRQcm92aWRlciAge1xuICAvKipcbiAgICogXG4gICAqL1xuICBnZXRSZW5kZXJDb250ZXh0KCk6IFJlbmRlckNvbnRleHQ7XG59Il19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3NpdG9yeS1ldmVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvaW5qZWN0YWJsZS9yZXBvc2l0b3J5LWV2ZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT2JzZXJ2YWJsZSB9IGZyb20gXCJyeGpzXCI7XG5pbXBvcnQgeyBJRGF0YU9iamVjdCwgSVBlcnNvbiwgSVR5cGUsIElPcmdhbml6YXRpb25Vbml0IH0gZnJvbSBcIi4uL2RhdGFcIjtcblxuXG4vKipcbiAqIE5vdGlmaWVzIG9uIGNoYW5nZSBldmVudHNcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBJUmVwb3NpdG9yeUV2ZW50cyAge1xuICAvKipcbiAgICogU3Vic3JpYmVzIHRvIGNoYW5nZXMgaW4gb2JqZWN0cyB3aXRoIHNwZWNpZmllZCBpZGVudGlmaWVyc1xuICAgKiBcbiAgICogQHJldHVybnMgSG90IG9ic2VydmFibGVcbiAgICovXG4gIHN1YnNjcmliZU9iamVjdHMoaWRzOiBzdHJpbmdbXSk6IE9ic2VydmFibGU8SURhdGFPYmplY3Q+O1xuICAvKipcbiAgICogU3Vic3JpYmVzIHRvIGNoYW5nZXMgaW4gcGVvcGxlXG4gICAqIFxuICAgKiBAcmV0dXJucyBIb3Qgb2JzZXJ2YWJsZVxuICAgKi9cbiAgc3Vic2NyaWJlUGVvcGxlKCk6IE9ic2VydmFibGU8SVBlcnNvbj5cbiAgLyoqXG4gICAqIFN1YnNyaWJlcyB0byBjaGFuZ2VzIGluIHR5cGVzXG4gICAqIFxuICAgKiBAcmV0dXJucyBIb3Qgb2JzZXJ2YWJsZVxuICAgKi9cbiAgc3Vic2NyaWJlVHlwZXMoKTogT2JzZXJ2YWJsZTxJVHlwZT5cbiAgLyoqXG4gICAqIFN1YnNyaWJlcyB0byBjaGFuZ2VzIGluIG9yZ2FuaXNhdGlvbiB1bml0c1xuICAgKiBcbiAgICogQHJldHVybnMgSG90IG9ic2VydmFibGVcbiAgICovXG4gIHN1YnNjcmliZU9yZ2FuaXNhdGlvblVuaXRzKCk6IE9ic2VydmFibGU8SU9yZ2FuaXphdGlvblVuaXQ+XG59Il19
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { IMenuItemBuilder } from "./menu-item.builder";
|
2
|
-
/**
|
3
|
-
*
|
4
|
-
*/
|
5
|
-
export class ICheckableMenuItemBuilder extends IMenuItemBuilder {
|
6
|
-
/**
|
7
|
-
*
|
8
|
-
* @param value
|
9
|
-
*/
|
10
|
-
withIsChecked(value) {
|
11
|
-
throw new Error("Method 'withIsChecked(value: boolean)' must be implemented.");
|
12
|
-
}
|
13
|
-
}
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { IMenuItemBuilder } from "./menu-item.builder";
|
2
|
+
/**
|
3
|
+
*
|
4
|
+
*/
|
5
|
+
export class ICheckableMenuItemBuilder extends IMenuItemBuilder {
|
6
|
+
/**
|
7
|
+
*
|
8
|
+
* @param value
|
9
|
+
*/
|
10
|
+
withIsChecked(value) {
|
11
|
+
throw new Error("Method 'withIsChecked(value: boolean)' must be implemented.");
|
12
|
+
}
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2thYmxlLW1lbnUuYnVpbGRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9tZW51L2NoZWNrYWJsZS1tZW51LmJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFFdkQ7O0dBRUc7QUFDSCxNQUFNLE9BQWdCLHlCQUEwQixTQUFRLGdCQUFnQjtJQUV0RTs7O09BR0c7SUFDSCxhQUFhLENBQUMsS0FBYztRQUMxQixNQUFNLElBQUksS0FBSyxDQUFDLDZEQUE2RCxDQUFDLENBQUM7SUFDakYsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1lbnVJdGVtQnVpbGRlciB9IGZyb20gXCIuL21lbnUtaXRlbS5idWlsZGVyXCI7XG5cbi8qKlxuICogXG4gKi9cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBJQ2hlY2thYmxlTWVudUl0ZW1CdWlsZGVyIGV4dGVuZHMgSU1lbnVJdGVtQnVpbGRlciB7XG4gIFxuICAvKipcbiAgICogXG4gICAqIEBwYXJhbSB2YWx1ZSBcbiAgICovXG4gIHdpdGhJc0NoZWNrZWQodmFsdWU6IGJvb2xlYW4pOiBJQ2hlY2thYmxlTWVudUl0ZW1CdWlsZGVyIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoXCJNZXRob2QgJ3dpdGhJc0NoZWNrZWQodmFsdWU6IGJvb2xlYW4pJyBtdXN0IGJlIGltcGxlbWVudGVkLlwiKTtcbiAgfVxufSJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export * from './menu';
|
2
|
-
export * from './checkable-menu.builder';
|
3
|
-
export * from './menu-item.builder';
|
4
|
-
export * from './menu.builder';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export * from './menu';
|
2
|
+
export * from './checkable-menu.builder';
|
3
|
+
export * from './menu-item.builder';
|
4
|
+
export * from './menu.builder';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvbWVudS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0ICogZnJvbSAnLi9tZW51JztcbmV4cG9ydCAqIGZyb20gJy4vY2hlY2thYmxlLW1lbnUuYnVpbGRlcic7XG5leHBvcnQgKiBmcm9tICcuL21lbnUtaXRlbS5idWlsZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vbWVudS5idWlsZGVyJzsiXX0=
|
@@ -1,39 +1,39 @@
|
|
1
|
-
/**
|
2
|
-
* Represents a menu item and enables to set parametres to it
|
3
|
-
*/
|
4
|
-
export class IMenuItemBuilder {
|
5
|
-
constructor() {
|
6
|
-
if (this.constructor == IMenuItemBuilder) {
|
7
|
-
throw new Error("Abstract classes can't be instantiated.");
|
8
|
-
}
|
9
|
-
}
|
10
|
-
/**
|
11
|
-
* Item's name to be displayed
|
12
|
-
* @param header value
|
13
|
-
*/
|
14
|
-
withHeader(header) {
|
15
|
-
throw new Error("Method 'withHeader(header: string)' must be implemented.");
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* Item's icon
|
19
|
-
* @param name Icon name
|
20
|
-
* @param iconSvg Url of icon or base64 string
|
21
|
-
*/
|
22
|
-
withIcon(name, iconSvg) {
|
23
|
-
throw new Error("Method 'withIcon(name: string, iconSvg: string)' must be implemented.");
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* Enabled the item
|
27
|
-
* @param value value
|
28
|
-
*/
|
29
|
-
withIsEnabled(value) {
|
30
|
-
throw new Error("Method 'withIsEnabled(value: boolean)' must be implemented.");
|
31
|
-
}
|
32
|
-
/**
|
33
|
-
* Item's submenu
|
34
|
-
*/
|
35
|
-
withSubmenu() {
|
36
|
-
throw new Error("Method 'withSubmenu()' must be implemented.");
|
37
|
-
}
|
38
|
-
}
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
/**
|
2
|
+
* Represents a menu item and enables to set parametres to it
|
3
|
+
*/
|
4
|
+
export class IMenuItemBuilder {
|
5
|
+
constructor() {
|
6
|
+
if (this.constructor == IMenuItemBuilder) {
|
7
|
+
throw new Error("Abstract classes can't be instantiated.");
|
8
|
+
}
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* Item's name to be displayed
|
12
|
+
* @param header value
|
13
|
+
*/
|
14
|
+
withHeader(header) {
|
15
|
+
throw new Error("Method 'withHeader(header: string)' must be implemented.");
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Item's icon
|
19
|
+
* @param name Icon name
|
20
|
+
* @param iconSvg Url of icon or base64 string
|
21
|
+
*/
|
22
|
+
withIcon(name, iconSvg) {
|
23
|
+
throw new Error("Method 'withIcon(name: string, iconSvg: string)' must be implemented.");
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* Enabled the item
|
27
|
+
* @param value value
|
28
|
+
*/
|
29
|
+
withIsEnabled(value) {
|
30
|
+
throw new Error("Method 'withIsEnabled(value: boolean)' must be implemented.");
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Item's submenu
|
34
|
+
*/
|
35
|
+
withSubmenu() {
|
36
|
+
throw new Error("Method 'withSubmenu()' must be implemented.");
|
37
|
+
}
|
38
|
+
}
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLmJ1aWxkZXIuanMiL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ScgbXVzdCBiZSBpbXBsZW1lbnRlZC5cIik7XG4gIH1cbiAgXG4gIC8qKlxuICAgKiBJdGVtJ3Mgc3VibWVudVxuICAgKi9cbiAgd2l0aFN1Ym1lbnUoKTogSU1lbnVCdWlsZGVyIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoXCJNZXRob2QgJ3dpdGhTdWJtZW51KCknIG11c3QgYmUgaW1wbGVtZW50ZWQuXCIpO1xuICB9XG59Il19
|
@@ -1,68 +1,68 @@
|
|
1
|
-
/**
|
2
|
-
* Represents a menu and enables to add new items to it
|
3
|
-
*/
|
4
|
-
export class IMenuBuilder {
|
5
|
-
constructor() {
|
6
|
-
if (this.constructor == IMenuBuilder) {
|
7
|
-
throw new Error("Abstract classes can't be instantiated.");
|
8
|
-
}
|
9
|
-
}
|
10
|
-
/**
|
11
|
-
* Gets the list of existing items of associated menu or subitems of an item
|
12
|
-
* @returns Existing menu item names
|
13
|
-
*/
|
14
|
-
get itemNames() {
|
15
|
-
throw new Error("Getter 'itemNames()' must be implemented.");
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* Gets count of menu items
|
19
|
-
*/
|
20
|
-
get count() {
|
21
|
-
throw new Error("Getter 'count()' must be implemented.");
|
22
|
-
}
|
23
|
-
/**
|
24
|
-
* Adds a new separator to the associated menu
|
25
|
-
* @param index The index to put the new item at
|
26
|
-
*/
|
27
|
-
addSeparator(index) {
|
28
|
-
throw new Error("Method 'addSeparator(index: number)' must be implemented.");
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* Adds a new item to the associated menu
|
32
|
-
* @param name Item's internal name
|
33
|
-
* @param index The index to put the new item at
|
34
|
-
*/
|
35
|
-
addItem(name, index) {
|
36
|
-
throw new Error("Method 'addItem(name: string, index: number)' must be implemented.");
|
37
|
-
}
|
38
|
-
/**
|
39
|
-
* Adds a new checkable item to the associated menu
|
40
|
-
* @param name Item's internal name
|
41
|
-
* @param index The index to put the new item at
|
42
|
-
*/
|
43
|
-
addCheckableItem(name, index) {
|
44
|
-
throw new Error("Method 'addCheckableItem(name: string, index: number)' must be implemented.");
|
45
|
-
}
|
46
|
-
/**
|
47
|
-
* Replaces the item to the associated menu
|
48
|
-
* @param name Item's internal name
|
49
|
-
*/
|
50
|
-
replaceItem(name) {
|
51
|
-
throw new Error("Method 'replaceItem(name: string)' must be implemented.");
|
52
|
-
}
|
53
|
-
/**
|
54
|
-
* Removes the item with the specified name
|
55
|
-
* @param name Item's internal name
|
56
|
-
*/
|
57
|
-
removeItem(name) {
|
58
|
-
throw new Error("Method 'removeItem(name: string)' must be implemented.");
|
59
|
-
}
|
60
|
-
/**
|
61
|
-
* Gets the item
|
62
|
-
* @param name Item's internal name
|
63
|
-
*/
|
64
|
-
getItem(name) {
|
65
|
-
throw new Error("Method 'getItem(name: string)' must be implemented.");
|
66
|
-
}
|
67
|
-
}
|
68
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
/**
|
2
|
+
* Represents a menu and enables to add new items to it
|
3
|
+
*/
|
4
|
+
export class IMenuBuilder {
|
5
|
+
constructor() {
|
6
|
+
if (this.constructor == IMenuBuilder) {
|
7
|
+
throw new Error("Abstract classes can't be instantiated.");
|
8
|
+
}
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* Gets the list of existing items of associated menu or subitems of an item
|
12
|
+
* @returns Existing menu item names
|
13
|
+
*/
|
14
|
+
get itemNames() {
|
15
|
+
throw new Error("Getter 'itemNames()' must be implemented.");
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Gets count of menu items
|
19
|
+
*/
|
20
|
+
get count() {
|
21
|
+
throw new Error("Getter 'count()' must be implemented.");
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Adds a new separator to the associated menu
|
25
|
+
* @param index The index to put the new item at
|
26
|
+
*/
|
27
|
+
addSeparator(index) {
|
28
|
+
throw new Error("Method 'addSeparator(index: number)' must be implemented.");
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Adds a new item to the associated menu
|
32
|
+
* @param name Item's internal name
|
33
|
+
* @param index The index to put the new item at
|
34
|
+
*/
|
35
|
+
addItem(name, index) {
|
36
|
+
throw new Error("Method 'addItem(name: string, index: number)' must be implemented.");
|
37
|
+
}
|
38
|
+
/**
|
39
|
+
* Adds a new checkable item to the associated menu
|
40
|
+
* @param name Item's internal name
|
41
|
+
* @param index The index to put the new item at
|
42
|
+
*/
|
43
|
+
addCheckableItem(name, index) {
|
44
|
+
throw new Error("Method 'addCheckableItem(name: string, index: number)' must be implemented.");
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* Replaces the item to the associated menu
|
48
|
+
* @param name Item's internal name
|
49
|
+
*/
|
50
|
+
replaceItem(name) {
|
51
|
+
throw new Error("Method 'replaceItem(name: string)' must be implemented.");
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* Removes the item with the specified name
|
55
|
+
* @param name Item's internal name
|
56
|
+
*/
|
57
|
+
removeItem(name) {
|
58
|
+
throw new Error("Method 'removeItem(name: string)' must be implemented.");
|
59
|
+
}
|
60
|
+
/**
|
61
|
+
* Gets the item
|
62
|
+
* @param name Item's internal name
|
63
|
+
*/
|
64
|
+
getItem(name) {
|
65
|
+
throw new Error("Method 'getItem(name: string)' must be implemented.");
|
66
|
+
}
|
67
|
+
}
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5idWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL21lbnUvbWVudS5idWlsZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBOztHQUVHO0FBQ0gsTUFBTSxPQUFnQixZQUFZO0lBRWhDO1FBQ0UsSUFBSSxJQUFJLENBQUMsV0FBVyxJQUFJLFlBQVksRUFBRTtZQUNwQyxNQUFNLElBQUksS0FBSyxDQUFDLHlDQUF5QyxDQU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