@pilotdev/pilot-web-sdk 24.42.0 → 24.44.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/contexts/context.mjs +32 -0
- package/esm2022/lib/contexts/document-annotations-list-context.mjs +16 -0
- package/esm2022/lib/contexts/render-context.mjs +24 -0
- package/esm2022/lib/data/expected-error.mjs +9 -0
- package/esm2022/lib/injectable/injection-source.mjs +45 -0
- package/esm2022/lib/personal-settings/system-settings-keys.mjs +75 -0
- package/esm2022/lib/tools/attribute-permission.info.mjs +43 -0
- package/esm2022/lib/tools/guid.mjs +53 -0
- package/{fesm2020 → fesm2022}/pilotdev-pilot-web-sdk.mjs +93 -76
- package/{fesm2015 → fesm2022}/pilotdev-pilot-web-sdk.mjs.map +1 -1
- package/package.json +7 -13
- package/esm2020/lib/contexts/context.mjs +0 -29
- package/esm2020/lib/contexts/document-annotations-list-context.mjs +0 -15
- package/esm2020/lib/contexts/render-context.mjs +0 -22
- package/esm2020/lib/data/expected-error.mjs +0 -8
- package/esm2020/lib/injectable/injection-source.mjs +0 -37
- package/esm2020/lib/personal-settings/system-settings-keys.mjs +0 -75
- package/esm2020/lib/tools/attribute-permission.info.mjs +0 -41
- package/esm2020/lib/tools/guid.mjs +0 -53
- package/fesm2015/pilotdev-pilot-web-sdk.mjs +0 -1031
- package/fesm2020/pilotdev-pilot-web-sdk.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/base/disposable.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/base/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/base/initializable.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/commands/command-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/commands/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/contexts/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/contexts/page-context.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/access.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/annotations.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/attribute.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/certificate.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/data-object.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/file.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/files-snapshot.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/organisation-unit.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/person.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/relation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/signature-type.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/signature-verification-result.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/signature-verification-status.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/subscription-type.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/data/theme.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/icrypto-provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/idata.plugin.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/command-builder-provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/ipersonal-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/modifier-provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/objects-repository.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/progress-service.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/render-context-provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/repository-events.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/injectable/theme-service.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/checkable-menu.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/menu-item.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/menu.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/menu.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modifier/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modifier/modifier.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modifier/object-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modifier/signature-modifier.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/openspace/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/openspace/openspace-view.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/page-navigation/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/page-navigation/page-navigation-section-element.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/page-navigation/page-navigation-section.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/page-navigation/page-navigation.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/page-navigation/page-navigation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/personal-settings/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/personal-settings/isettings-feature.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/personal-settings/isettings-value-provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tabs/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tabs/tab-item.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tabs/tabs.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tabs/tabs.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/toolbar-item-submenu.handler.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/toolbar-item.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/toolbar-menu-item.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/toolbar-toggle-item.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/toolbar.builder.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/toolbar.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tools/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tools/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/pilotdev-pilot-web-sdk.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
/**
|
2
|
+
* Contex for objects view
|
3
|
+
*/
|
4
|
+
export class ObjectsViewContext {
|
5
|
+
_selectedObjects;
|
6
|
+
_shortcuts;
|
7
|
+
_context;
|
8
|
+
constructor(selectedObjects, context, shortcuts) {
|
9
|
+
this._selectedObjects = selectedObjects;
|
10
|
+
this._context = context;
|
11
|
+
this._shortcuts = shortcuts ?? [];
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
*/
|
16
|
+
get selectedObjects() {
|
17
|
+
return this._selectedObjects;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
*/
|
22
|
+
get contextObject() {
|
23
|
+
return this._context;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
*/
|
28
|
+
get shortcuts() {
|
29
|
+
return this._shortcuts;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9jb250ZXh0cy9jb250ZXh0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBOztHQUVHO0FBQ0gsTUFBTSxPQUFPLGtCQUFrQjtJQUNaLGdCQUFnQixDQUFnQjtJQUNoQyxVQUFVLENBQWdCO0lBQzFCLFFBQVEsQ0FBYztJQUV2QyxZQU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WN0cztcbiAgICB0aGlzLl9jb250ZXh0ID0gY29udGV4dDtcbiAgICB0aGlzLl9zaG9ydGN1dHMgPSBzaG9ydGN1dHMgPz8gW107XG4gIH1cblxuICAvKipcbiAgICogXG4gICAqL1xuICBwdWJsaWMgZ2V0IHNlbGVjdGVkT2JqZWN0cygpOiBJRGF0YU9iamVjdFtdIHtcbiAgICByZXR1cm4gdGhpcy5fc2VsZWN0ZWRPYmplY3RzO1xuICB9XG5cbiAgLyoqXG4gICAqIFxuICAgKi9cbiAgcHVibGljIGdldCBjb250ZXh0T2JqZWN0KCk6IElEYXRhT2JqZWN0IHtcbiAgICByZXR1cm4gdGhpcy5fY29udGV4dDtcbiAgfVxuXG4gIC8qKlxuICAgKiBcbiAgICovXG4gIHB1YmxpYyBnZXQgc2hvcnRjdXRzKCk6IElEYXRhT2JqZWN0W10ge1xuICAgIHJldHVybiB0aGlzLl9zaG9ydGN1dHM7XG4gIH1cbn0iXX0=
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Context for document annotations list
|
3
|
+
*/
|
4
|
+
export class DocumentAnnotationsListContext {
|
5
|
+
_selectedAnnotations;
|
6
|
+
constructor(selectedAnnotations) {
|
7
|
+
this._selectedAnnotations = selectedAnnotations;
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
get selectedAnnotations() {
|
13
|
+
return this._selectedAnnotations;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQtYW5ub3RhdGlvbnMtbGlzdC1jb250ZXh0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGlsb3Qtd2ViLXNkay9zcmMvbGliL2NvbnRleHRzL2RvY3VtZW50LWFubm90YXRpb25zLWxpc3QtY29udGV4dC50cyJdLCJuYW1lcyI6W10sIm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|
+
_selectedVersion;
|
7
|
+
constructor(dataObject, selectedVersion) {
|
8
|
+
this._dataObject = dataObject;
|
9
|
+
this._selectedVersion = selectedVersion;
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* Target object
|
13
|
+
*/
|
14
|
+
get dataObject() {
|
15
|
+
return this._dataObject;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Selected version time
|
19
|
+
*/
|
20
|
+
get selectedVersion() {
|
21
|
+
return this._selectedVersion;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWNvbnRleHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvY29udGV4dHMvcmVuZGVyLWNvbnRleHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7O0dBRUc7QUFDSCxNQUFNLE9BQU8sYUFBYTtJQUNQLFdBQVcsQ0FBYztJQUN6QixnQkFBZ0IsQ0FBUztJQUUxQyxZQUFZLFVBQXVCLEVBQUUsZUFBdUI7UUFDMUQsSUFBSSxDQUFDLFdBQVcsR0FBRyxVQUFVLENBQUM7UUFDOUIsSUFBSSxDQUFDLGdCQUFnQixHQUFHLGVBQWUsQ0FBQztJQUMxQyxDQUFDO0lBRUE7O09BRUc7SUFDSixJQUFXLFVBQVU7UUFDbkIsT0FBTyxJQUFJLENBQUMsV0FBVyxDQUFDO0lBQzFCLENBQUM7SUFFQTs7T0FFRztJQUNKLElBQVcsZUFBZTtRQUN4QixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQztJQUMvQixDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJRGF0YU9iamVjdCB9IGZyb20gXCIuLi9kYXRhXCI7XG5cbi8qKlxuICogQ29udGV4dCBmb3IgeHBzIHJlbmRlclxuICovXG5leHBvcnQgY2xhc3MgUmVuZGVyQ29udGV4dCB7XG4gIHByaXZhdGUgcmVhZG9ubHkgX2RhdGFPYmplY3Q6IElEYXRhT2JqZWN0O1xuICBwcml2YXRlIHJlYWRvbmx5IF9zZWxlY3RlZFZlcnNpb246IHN0cmluZztcbiAgXG4gIGNvbnN0cnVjdG9yKGRhdGFPYmplY3Q6IElEYXRhT2JqZWN0LCBzZWxlY3RlZFZlcnNpb246IHN0cmluZykge1xuICAgIHRoaXMuX2RhdGFPYmplY3QgPSBkYXRhT2JqZWN0O1xuICAgIHRoaXMuX3NlbGVjdGVkVmVyc2lvbiA9IHNlbGVjdGVkVmVyc2lvbjtcbiAgfVxuXG4gICAvKipcbiAgICAqIFRhcmdldCBvYmplY3RcbiAgICAqL1xuICBwdWJsaWMgZ2V0IGRhdGFPYmplY3QoKTogSURhdGFPYmplY3Qge1xuICAgIHJldHVybiB0aGlzLl9kYXRhT2JqZWN0O1xuICB9XG5cbiAgIC8qKlxuICAgICogU2VsZWN0ZWQgdmVyc2lvbiB0aW1lXG4gICAgKi9cbiAgcHVibGljIGdldCBzZWxlY3RlZFZlcnNpb24oKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5fc2VsZWN0ZWRWZXJzaW9uO1xuICB9XG59Il19
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export class ExpectedError extends Error {
|
2
|
+
isSilent;
|
3
|
+
isExpected = true;
|
4
|
+
constructor(message, isSilent = false) {
|
5
|
+
super(message);
|
6
|
+
this.isSilent = isSilent;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwZWN0ZWQtZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvZGF0YS9leHBlY3RlZC1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sYUFBYyxTQUFRLEtBQUs7SUFLN0I7SUFKVCxVQUFVLEdBQVksSUFBSSxDQUFDO0lBRTNCLFlBQ0UsT0FBZSxFQUNSLFdBQW9CLEtBQUs7UUFFaEMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBRlIsYUFBUSxHQUFSLFFBQVEsQ0FBaUI7SUFHbEMsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEV4cGVjdGVkRXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIGlzRXhwZWN0ZWQ6IGJvb2xlYW4gPSB0cnVlO1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIG1lc3NhZ2U6IHN0cmluZyxcbiAgICBwdWJsaWMgaXNTaWxlbnQ6IGJvb2xlYW4gPSBmYWxzZVxuICApIHtcbiAgICBzdXBlcihtZXNzYWdlKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,45 @@
|
|
1
|
+
export class InjectionSource {
|
2
|
+
_modifierProvider;
|
3
|
+
_objectsRepository;
|
4
|
+
_renderContextProvider;
|
5
|
+
_repositoryEvents;
|
6
|
+
_progressService;
|
7
|
+
_themeService;
|
8
|
+
_commandBuilderProvider;
|
9
|
+
_personalSettings;
|
10
|
+
constructor(_modifierProvider, _objectsRepository, _renderContextProvider, _repositoryEvents, _progressService, _themeService, _commandBuilderProvider, _personalSettings) {
|
11
|
+
this._modifierProvider = _modifierProvider;
|
12
|
+
this._objectsRepository = _objectsRepository;
|
13
|
+
this._renderContextProvider = _renderContextProvider;
|
14
|
+
this._repositoryEvents = _repositoryEvents;
|
15
|
+
this._progressService = _progressService;
|
16
|
+
this._themeService = _themeService;
|
17
|
+
this._commandBuilderProvider = _commandBuilderProvider;
|
18
|
+
this._personalSettings = _personalSettings;
|
19
|
+
}
|
20
|
+
get modifierProvider() {
|
21
|
+
return this._modifierProvider;
|
22
|
+
}
|
23
|
+
get objectsRepository() {
|
24
|
+
return this._objectsRepository;
|
25
|
+
}
|
26
|
+
get renderContextProvider() {
|
27
|
+
return this._renderContextProvider;
|
28
|
+
}
|
29
|
+
get repositoryEvents() {
|
30
|
+
return this._repositoryEvents;
|
31
|
+
}
|
32
|
+
get progressService() {
|
33
|
+
return this._progressService;
|
34
|
+
}
|
35
|
+
get themeService() {
|
36
|
+
return this._themeService;
|
37
|
+
}
|
38
|
+
get personalSettings() {
|
39
|
+
return this._personalSettings;
|
40
|
+
}
|
41
|
+
get commandBuilderProvider() {
|
42
|
+
return this._commandBuilderProvider;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5qZWN0aW9uLXNvdXJjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9pbmplY3RhYmxlL2luamVjdGlvbi1zb3VyY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV0EsTUFBTSxPQUFPLGVBQWU7SUFFaEI7SUFDQTtJQUNBO0lBQ0E7SUFDQTtJQUNBO0lBQ0E7SUFDQTtJQVJWLFlBQ1UsaUJBQW9DLEVBQ3BDLGtCQUFzQyxFQUN0QyxzQkFBOEMsRUFDOUMsaUJBQW9DLEVBQ3BDLGdCQUFrQyxFQUNsQyxhQUE0QixFQUM1Qix1QkFBZ0QsRUFDaEQsaUJBQW9DO1FBUHBDLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBbUI7UUFDcEMsdUJBQWtCLEdBQWxCLGtCQUFrQixDQUFvQjtRQUN0QywyQkFBc0IsR0FBdEIsc0JBQXNCLENBQXdCO1FBQzlDLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBbUI7UUFDcEMscUJBQWdCLEdBQWhC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cbiAgZ2V0IHJlbmRlckNvbnRleHRQcm92aWRlcigpOiBJUmVuZGVyQ29udGV4dFByb3ZpZGVyIHtcclxuICAgIHJldHVybiB0aGlzLl9yZW5kZXJDb250ZXh0UHJvdmlkZXI7XHJcbiAgfVxyXG5cclxuICBnZXQgcmVwb3NpdG9yeUV2ZW50cygpOiBJUmVwb3NpdG9yeUV2ZW50cyB7XHJcbiAgICByZXR1cm4gdGhpcy5fcmVwb3NpdG9yeUV2ZW50cztcclxuICB9XHJcblxyXG4gIGdldCBwcm9ncmVzc1NlcnZpY2UoKTogSVByb2dyZXNzU2VydmljZSB7XHJcbiAgICByZXR1cm4gdGhpcy5fcHJvZ3Jlc3NTZXJ2aWNlO1xyXG4gIH1cclxuXHJcbiAgZ2V0IHRoZW1lU2VydmljZSgpOiBJVGhlbWVTZXJ2aWNlIHtcclxuICAgIHJldHVybiB0aGlzLl90aGVtZVNlcnZpY2U7XHJcbiAgfVxyXG5cclxuICBnZXQgcGVyc29uYWxTZXR0aW5ncygpOiBJUGVyc29uYWxTZXR0aW5ncyB7XHJcbiAgICByZXR1cm4gdGhpcy5fcGVyc29uYWxTZXR0aW5ncztcclxuICB9XHJcblxyXG4gIGdldCBjb21tYW5kQnVpbGRlclByb3ZpZGVyKCk6IElDb21tYW5kQnVpbGRlclByb3ZpZGVyIHtcclxuICAgIHJldHVybiB0aGlzLl9jb21tYW5kQnVpbGRlclByb3ZpZGVyO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -0,0 +1,75 @@
|
|
1
|
+
export class SystemSettingsKeys {
|
2
|
+
/**
|
3
|
+
* Get's favorites feature key
|
4
|
+
*/
|
5
|
+
static favoritesFeatureKey = "Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc";
|
6
|
+
/**
|
7
|
+
* Get's pilot storage drive letter feature key
|
8
|
+
*/
|
9
|
+
static pilotStorageDriveLetter = "PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc";
|
10
|
+
/**
|
11
|
+
* Get's agreement roles feature key
|
12
|
+
*/
|
13
|
+
static agreementRolesFeatureKey = "AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d";
|
14
|
+
/**
|
15
|
+
* Get's tasks filters feature key
|
16
|
+
*/
|
17
|
+
static tasksFiltersFeatureKey = "TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7";
|
18
|
+
/**
|
19
|
+
* Get's annotation filter feature key
|
20
|
+
*/
|
21
|
+
static annotationFilterFeatureKey = "AnnotationFilter-F151E782-6CEB-44AF-ADF1-AFB0A0FAB95E";
|
22
|
+
/**
|
23
|
+
* Get's annotation filter feature key
|
24
|
+
*/
|
25
|
+
static personalAnnotationFilterFeatureKey = "PersonalAnnotationFilter-9382f499-c1b9-433f-95bb-d83195d52121";
|
26
|
+
/**
|
27
|
+
* Get's mounted on Pilot-Storage items feature key
|
28
|
+
*/
|
29
|
+
static mountedItemsList = "MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b";
|
30
|
+
/**
|
31
|
+
* Get's Pilot-Storage work folders feature key
|
32
|
+
*/
|
33
|
+
static workfoldersList = "Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86";
|
34
|
+
/**
|
35
|
+
* Get's selection path of the DocumentsExplorer
|
36
|
+
*/
|
37
|
+
static tabsState = "TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f";
|
38
|
+
/**
|
39
|
+
* Get's auto blocking file extensions feature key
|
40
|
+
*/
|
41
|
+
static autoBlockingFileExtensionsFeatureKey = "AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3";
|
42
|
+
/**
|
43
|
+
* Get's auto commiting file extensions feature key
|
44
|
+
*/
|
45
|
+
static autoCommitingFileExtensionsFeatureKey = " AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666";
|
46
|
+
/**
|
47
|
+
* Get's auto updating files feature key
|
48
|
+
*/
|
49
|
+
static autoUpdatingFilesFeatureKey = "AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5";
|
50
|
+
/**
|
51
|
+
* Get's auto publishing settings feature key
|
52
|
+
*/
|
53
|
+
static autoPublishingExtensionsFeatureKey = "AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416";
|
54
|
+
/**
|
55
|
+
* Get's eml attributes dictionary feature key
|
56
|
+
*/
|
57
|
+
static emlAttributesDictionaryKeyFeatureKey = "EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F";
|
58
|
+
/**
|
59
|
+
* Get's documents autofill feature key
|
60
|
+
*/
|
61
|
+
static docsAutoFillFeatureKey = "DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186";
|
62
|
+
/**
|
63
|
+
* User-defined temp files regex masks
|
64
|
+
*/
|
65
|
+
static tempFileMasksFeatureKey = "TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3";
|
66
|
+
/**
|
67
|
+
* User-defined Export/Import settings
|
68
|
+
*/
|
69
|
+
static exportImportFeatureKey = "ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C";
|
70
|
+
/**
|
71
|
+
* User-defined digital signature title
|
72
|
+
*/
|
73
|
+
static digitalSinatureTitleFeatureKey = "DigitalSinatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9";
|
74
|
+
}
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3lzdGVtLXNldHRpbmdzLWtleXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9waWxvdC13ZWItc2RrL3NyYy9saWIvcGVyc29uYWwtc2V0dGluZ3Mvc3lzdGVtLXNldHRpbmdzLWtleXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGtCQUFrQjtJQUM3Qjs7T0FFRztJ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G5cbiAgLyoqXG4gICAqIFVzZXItZGVmaW5lZCBkaWdpdGFsIHNpZ25hdHVyZSB0aXRsZVxuICAgKi9cbiAgcHVibGljIHN0YXRpYyByZWFkb25seSBkaWdpdGFsU2luYXR1cmVUaXRsZUZlYXR1cmVLZXkgPSBcIkRpZ2l0YWxTaW5hdHVyZVRpdGxlRmVhdHVyZUtleS00ODFFRkExNC1CMTE2LTQzNEEtQkFENi1GOTBEQjg4M0RFQzlcIjtcbn0iXX0=
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { objectToMap } from "./utils";
|
2
|
+
export class AttributePermissionInfo {
|
3
|
+
ATTRIBUTE_NAME_MARKER = '&';
|
4
|
+
orgUnits;
|
5
|
+
orgUnitAttributes;
|
6
|
+
constructor(editableForPositionsSource) {
|
7
|
+
this.orgUnits = new Array();
|
8
|
+
this.orgUnitAttributes = new Array();
|
9
|
+
if (!editableForPositionsSource)
|
10
|
+
return;
|
11
|
+
editableForPositionsSource.forEach(str => {
|
12
|
+
if (str.length > 0 && str[0] === this.ATTRIBUTE_NAME_MARKER) {
|
13
|
+
this.orgUnitAttributes.push(str.substring(1));
|
14
|
+
}
|
15
|
+
else {
|
16
|
+
const num = Number(str);
|
17
|
+
if (!isNaN(num))
|
18
|
+
this.orgUnits.push(num);
|
19
|
+
}
|
20
|
+
});
|
21
|
+
}
|
22
|
+
extractAllOrgUnits(obj) {
|
23
|
+
const attrMap = objectToMap(obj.attributes);
|
24
|
+
return this.extractAllOrgUnitsByAttributes(attrMap);
|
25
|
+
}
|
26
|
+
extractAllOrgUnitsByAttributes(attributes) {
|
27
|
+
let result = new Array();
|
28
|
+
if (!this.orgUnitAttributes || !attributes)
|
29
|
+
return result;
|
30
|
+
this.orgUnitAttributes.forEach(permissionAttributeName => {
|
31
|
+
if (attributes.has(permissionAttributeName)) {
|
32
|
+
const value = attributes.get(permissionAttributeName);
|
33
|
+
if (value && Array.isArray(value)) {
|
34
|
+
value.forEach(intValue => {
|
35
|
+
result.push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xhbnk+KG9iai5hdHRyaWJ1dGVzKTtcbiAgICByZXR1cm4gdGhpcy5leHRyYWN0QWxsT3JnVW5pdHNCeUF0dHJpYnV0ZXMoYXR0ck1hcCk7XG4gIH1cblxuICBleHRyYWN0QWxsT3JnVW5pdHNCeUF0dHJpYnV0ZXMoYXR0cmlidXRlczogTWFwPHN0cmluZywgYW55PikgOiBudW1iZXJbXSB7XG4gICAgbGV0IHJlc3VsdCA9IG5ldyBBcnJheTxudW1iZXI+KCk7XG4gICAgaWYgKCF0aGlzLm9yZ1VuaXRBdHRyaWJ1dGVzIHx8ICFhdHRyaWJ1dGVzICApXG4gICAgICByZXR1cm4gcmVzdWx0O1xuXG4gICAgdGhpcy5vcmdVbml0QXR0cmlidXRlcy5mb3JFYWNoKHBlcm1pc3Npb25BdHRyaWJ1dGVOYW1lID0+IHtcbiAgICAgIGlmIChhdHRyaWJ1dGVzLmhhcyhwZXJtaXNzaW9uQXR0cmlidXRlTmFtZSkpe1xuICAgICAgICBjb25zdCB2YWx1ZSA9IGF0dHJpYnV0ZXMuZ2V0KHBlcm1pc3Npb25BdHRyaWJ1dGVOYW1lKTtcbiAgICAgICAgaWYgKHZhbHVlICYmIEFycmF5LmlzQXJyYXkodmFsdWUpKXtcbiAgICAgICAgICB2YWx1ZS5mb3JFYWNoKGludFZhbHVlID0+IHtcbiAgICAgICAgICAgIHJlc3VsdC5wdXNoKGludFZhbHVlKTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0pO1xuXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,53 @@
|
|
1
|
+
const byteToHex = Array();
|
2
|
+
for (let i = 0; i < 256; ++i) {
|
3
|
+
byteToHex.push((i + 0x100).toString(16).slice(1));
|
4
|
+
}
|
5
|
+
export class Guid {
|
6
|
+
static regex = "(?:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})";
|
7
|
+
static EMPTY = "00000000-0000-0000-0000-000000000000";
|
8
|
+
static newGuid() {
|
9
|
+
if (window.isSecureContext) {
|
10
|
+
// If crypto.getRandomValues is available try to use it.
|
11
|
+
return window.crypto.randomUUID();
|
12
|
+
}
|
13
|
+
// Fall back to Math.random if a higher quality random number generator is not available.
|
14
|
+
const uuid = new Array(16);
|
15
|
+
var d = new Date().getTime();
|
16
|
+
for (var i = 0; i < 16; i++) {
|
17
|
+
var r = ((d + Math.random() * 256) % 256) | 0;
|
18
|
+
d = Math.trunc(d / 256);
|
19
|
+
uuid[i] = r;
|
20
|
+
}
|
21
|
+
// Makes uuid compliant to RFC-4122
|
22
|
+
uuid[6] = (uuid[6] & 0x0F) | 0x40; // uuid version
|
23
|
+
uuid[8] = (uuid[8] & 0x3F) | 0x80; // uuid variant
|
24
|
+
return this.stringify(uuid);
|
25
|
+
}
|
26
|
+
static isGuid(str) {
|
27
|
+
const regex = new RegExp(this.regex);
|
28
|
+
return regex.test(str) && str.length === 36;
|
29
|
+
}
|
30
|
+
static stringify(arr) {
|
31
|
+
return (byteToHex[arr[0]] +
|
32
|
+
byteToHex[arr[1]] +
|
33
|
+
byteToHex[arr[2]] +
|
34
|
+
byteToHex[arr[3]] +
|
35
|
+
'-' +
|
36
|
+
byteToHex[arr[4]] +
|
37
|
+
byteToHex[arr[5]] +
|
38
|
+
'-' +
|
39
|
+
byteToHex[arr[6]] +
|
40
|
+
byteToHex[arr[7]] +
|
41
|
+
'-' +
|
42
|
+
byteToHex[arr[8]] +
|
43
|
+
byteToHex[arr[9]] +
|
44
|
+
'-' +
|
45
|
+
byteToHex[arr[10]] +
|
46
|
+
byteToHex[arr[11]] +
|
47
|
+
byteToHex[arr[12]] +
|
48
|
+
byteToHex[arr[13]] +
|
49
|
+
byteToHex[arr[14]] +
|
50
|
+
byteToHex[arr[15]]).toLowerCase();
|
51
|
+
}
|
52
|
+
}
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZX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kIHZhcmlhbnRcbiAgICBcbiAgICByZXR1cm4gdGhpcy5zdHJpbmdpZnkodXVpZCk7XG4gIH1cblxuICBzdGF0aWMgaXNHdWlkKHN0cjogc3RyaW5nKSB7XG4gICAgY29uc3QgcmVnZXggPSBuZXcgUmVnRXhwKHRoaXMucmVnZXgpO1xuICAgIHJldHVybiByZWdleC50ZXN0KHN0cikgJiYgc3RyLmxlbmd0aCA9PT0gMzY7XG4gIH1cblxuICBwcml2YXRlIHN0YXRpYyBzdHJpbmdpZnkoYXJyOiBBcnJheTxudW1iZXI+KSB7XG4gICAgcmV0dXJuIChcbiAgICAgIGJ5dGVUb0hleFthcnJbMF1dICtcbiAgICAgIGJ5dGVUb0hleFthcnJbMV1dICtcbiAgICAgIGJ5dGVUb0hleFthcnJbMl1dICtcbiAgICAgIGJ5dGVUb0hleFthcnJbM11dICtcbiAgICAgICctJyArXG4gICAgICBieXRlVG9IZXhbYXJyWzRdXSArXG4gICAgICBieXRlVG9IZXhbYXJyWzVdXSArXG4gICAgICAnLScgK1xuICAgICAgYnl0ZVRvSGV4W2Fycls2XV0gK1xuICAgICAgYnl0ZVRvSGV4W2Fycls3XV0gK1xuICAgICAgJy0nICtcbiAgICAgIGJ5dGVUb0hleFthcnJbOF1dICtcbiAgICAgIGJ5dGVUb0hleFthcnJbOV1dICtcbiAgICAgICctJyArXG4gICAgICBieXRlVG9IZXhbYXJyWzEwXV0gK1xuICAgICAgYnl0ZVRvSGV4W2FyclsxMV1dICtcbiAgICAgIGJ5dGVUb0hleFthcnJbMTJdXSArXG4gICAgICBieXRlVG9IZXhbYXJyWzEzXV0gK1xuICAgICAgYnl0ZVRvSGV4W2FyclsxNF1dICtcbiAgICAgIGJ5dGVUb0hleFthcnJbMTVdXVxuICAgICkudG9Mb3dlckNhc2UoKTtcbiAgfVxufSJdfQ==
|
@@ -27,6 +27,14 @@ class IInitializable {
|
|
27
27
|
}
|
28
28
|
|
29
29
|
class InjectionSource {
|
30
|
+
_modifierProvider;
|
31
|
+
_objectsRepository;
|
32
|
+
_renderContextProvider;
|
33
|
+
_repositoryEvents;
|
34
|
+
_progressService;
|
35
|
+
_themeService;
|
36
|
+
_commandBuilderProvider;
|
37
|
+
_personalSettings;
|
30
38
|
constructor(_modifierProvider, _objectsRepository, _renderContextProvider, _repositoryEvents, _progressService, _themeService, _commandBuilderProvider, _personalSettings) {
|
31
39
|
this._modifierProvider = _modifierProvider;
|
32
40
|
this._objectsRepository = _objectsRepository;
|
@@ -670,6 +678,9 @@ class IMenuBuilder {
|
|
670
678
|
* Contex for objects view
|
671
679
|
*/
|
672
680
|
class ObjectsViewContext {
|
681
|
+
_selectedObjects;
|
682
|
+
_shortcuts;
|
683
|
+
_context;
|
673
684
|
constructor(selectedObjects, context, shortcuts) {
|
674
685
|
this._selectedObjects = selectedObjects;
|
675
686
|
this._context = context;
|
@@ -699,6 +710,7 @@ class ObjectsViewContext {
|
|
699
710
|
* Context for document annotations list
|
700
711
|
*/
|
701
712
|
class DocumentAnnotationsListContext {
|
713
|
+
_selectedAnnotations;
|
702
714
|
constructor(selectedAnnotations) {
|
703
715
|
this._selectedAnnotations = selectedAnnotations;
|
704
716
|
}
|
@@ -714,6 +726,8 @@ class DocumentAnnotationsListContext {
|
|
714
726
|
* Context for xps render
|
715
727
|
*/
|
716
728
|
class RenderContext {
|
729
|
+
_dataObject;
|
730
|
+
_selectedVersion;
|
717
731
|
constructor(dataObject, selectedVersion) {
|
718
732
|
this._dataObject = dataObject;
|
719
733
|
this._selectedVersion = selectedVersion;
|
@@ -744,8 +758,10 @@ function objectToMap(objectMap) {
|
|
744
758
|
}
|
745
759
|
|
746
760
|
class AttributePermissionInfo {
|
761
|
+
ATTRIBUTE_NAME_MARKER = '&';
|
762
|
+
orgUnits;
|
763
|
+
orgUnitAttributes;
|
747
764
|
constructor(editableForPositionsSource) {
|
748
|
-
this.ATTRIBUTE_NAME_MARKER = '&';
|
749
765
|
this.orgUnits = new Array();
|
750
766
|
this.orgUnitAttributes = new Array();
|
751
767
|
if (!editableForPositionsSource)
|
@@ -788,6 +804,8 @@ for (let i = 0; i < 256; ++i) {
|
|
788
804
|
byteToHex.push((i + 0x100).toString(16).slice(1));
|
789
805
|
}
|
790
806
|
class Guid {
|
807
|
+
static regex = "(?:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})";
|
808
|
+
static EMPTY = "00000000-0000-0000-0000-000000000000";
|
791
809
|
static newGuid() {
|
792
810
|
if (window.isSecureContext) {
|
793
811
|
// If crypto.getRandomValues is available try to use it.
|
@@ -833,8 +851,6 @@ class Guid {
|
|
833
851
|
byteToHex[arr[15]]).toLowerCase();
|
834
852
|
}
|
835
853
|
}
|
836
|
-
Guid.regex = "(?:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})";
|
837
|
-
Guid.EMPTY = "00000000-0000-0000-0000-000000000000";
|
838
854
|
|
839
855
|
var AccessLevel;
|
840
856
|
(function (AccessLevel) {
|
@@ -880,10 +896,11 @@ var AttributeType;
|
|
880
896
|
})(AttributeType || (AttributeType = {}));
|
881
897
|
|
882
898
|
class ExpectedError extends Error {
|
899
|
+
isSilent;
|
900
|
+
isExpected = true;
|
883
901
|
constructor(message, isSilent = false) {
|
884
902
|
super(message);
|
885
903
|
this.isSilent = isSilent;
|
886
|
-
this.isExpected = true;
|
887
904
|
}
|
888
905
|
}
|
889
906
|
|
@@ -945,79 +962,79 @@ var Theme;
|
|
945
962
|
})(Theme || (Theme = {}));
|
946
963
|
|
947
964
|
class SystemSettingsKeys {
|
965
|
+
/**
|
966
|
+
* Get's favorites feature key
|
967
|
+
*/
|
968
|
+
static favoritesFeatureKey = "Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc";
|
969
|
+
/**
|
970
|
+
* Get's pilot storage drive letter feature key
|
971
|
+
*/
|
972
|
+
static pilotStorageDriveLetter = "PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc";
|
973
|
+
/**
|
974
|
+
* Get's agreement roles feature key
|
975
|
+
*/
|
976
|
+
static agreementRolesFeatureKey = "AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d";
|
977
|
+
/**
|
978
|
+
* Get's tasks filters feature key
|
979
|
+
*/
|
980
|
+
static tasksFiltersFeatureKey = "TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7";
|
981
|
+
/**
|
982
|
+
* Get's annotation filter feature key
|
983
|
+
*/
|
984
|
+
static annotationFilterFeatureKey = "AnnotationFilter-F151E782-6CEB-44AF-ADF1-AFB0A0FAB95E";
|
985
|
+
/**
|
986
|
+
* Get's annotation filter feature key
|
987
|
+
*/
|
988
|
+
static personalAnnotationFilterFeatureKey = "PersonalAnnotationFilter-9382f499-c1b9-433f-95bb-d83195d52121";
|
989
|
+
/**
|
990
|
+
* Get's mounted on Pilot-Storage items feature key
|
991
|
+
*/
|
992
|
+
static mountedItemsList = "MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b";
|
993
|
+
/**
|
994
|
+
* Get's Pilot-Storage work folders feature key
|
995
|
+
*/
|
996
|
+
static workfoldersList = "Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86";
|
997
|
+
/**
|
998
|
+
* Get's selection path of the DocumentsExplorer
|
999
|
+
*/
|
1000
|
+
static tabsState = "TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f";
|
1001
|
+
/**
|
1002
|
+
* Get's auto blocking file extensions feature key
|
1003
|
+
*/
|
1004
|
+
static autoBlockingFileExtensionsFeatureKey = "AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3";
|
1005
|
+
/**
|
1006
|
+
* Get's auto commiting file extensions feature key
|
1007
|
+
*/
|
1008
|
+
static autoCommitingFileExtensionsFeatureKey = " AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666";
|
1009
|
+
/**
|
1010
|
+
* Get's auto updating files feature key
|
1011
|
+
*/
|
1012
|
+
static autoUpdatingFilesFeatureKey = "AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5";
|
1013
|
+
/**
|
1014
|
+
* Get's auto publishing settings feature key
|
1015
|
+
*/
|
1016
|
+
static autoPublishingExtensionsFeatureKey = "AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416";
|
1017
|
+
/**
|
1018
|
+
* Get's eml attributes dictionary feature key
|
1019
|
+
*/
|
1020
|
+
static emlAttributesDictionaryKeyFeatureKey = "EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F";
|
1021
|
+
/**
|
1022
|
+
* Get's documents autofill feature key
|
1023
|
+
*/
|
1024
|
+
static docsAutoFillFeatureKey = "DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186";
|
1025
|
+
/**
|
1026
|
+
* User-defined temp files regex masks
|
1027
|
+
*/
|
1028
|
+
static tempFileMasksFeatureKey = "TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3";
|
1029
|
+
/**
|
1030
|
+
* User-defined Export/Import settings
|
1031
|
+
*/
|
1032
|
+
static exportImportFeatureKey = "ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C";
|
1033
|
+
/**
|
1034
|
+
* User-defined digital signature title
|
1035
|
+
*/
|
1036
|
+
static digitalSinatureTitleFeatureKey = "DigitalSinatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9";
|
948
1037
|
}
|
949
|
-
/**
|
950
|
-
* Get's favorites feature key
|
951
|
-
*/
|
952
|
-
SystemSettingsKeys.favoritesFeatureKey = "Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc";
|
953
|
-
/**
|
954
|
-
* Get's pilot storage drive letter feature key
|
955
|
-
*/
|
956
|
-
SystemSettingsKeys.pilotStorageDriveLetter = "PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc";
|
957
|
-
/**
|
958
|
-
* Get's agreement roles feature key
|
959
|
-
*/
|
960
|
-
SystemSettingsKeys.agreementRolesFeatureKey = "AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d";
|
961
|
-
/**
|
962
|
-
* Get's tasks filters feature key
|
963
|
-
*/
|
964
|
-
SystemSettingsKeys.tasksFiltersFeatureKey = "TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7";
|
965
|
-
/**
|
966
|
-
* Get's annotation filter feature key
|
967
|
-
*/
|
968
|
-
SystemSettingsKeys.annotationFilterFeatureKey = "AnnotationFilter-F151E782-6CEB-44AF-ADF1-AFB0A0FAB95E";
|
969
|
-
/**
|
970
|
-
* Get's annotation filter feature key
|
971
|
-
*/
|
972
|
-
SystemSettingsKeys.personalAnnotationFilterFeatureKey = "PersonalAnnotationFilter-9382f499-c1b9-433f-95bb-d83195d52121";
|
973
|
-
/**
|
974
|
-
* Get's mounted on Pilot-Storage items feature key
|
975
|
-
*/
|
976
|
-
SystemSettingsKeys.mountedItemsList = "MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b";
|
977
|
-
/**
|
978
|
-
* Get's Pilot-Storage work folders feature key
|
979
|
-
*/
|
980
|
-
SystemSettingsKeys.workfoldersList = "Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86";
|
981
|
-
/**
|
982
|
-
* Get's selection path of the DocumentsExplorer
|
983
|
-
*/
|
984
|
-
SystemSettingsKeys.tabsState = "TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f";
|
985
|
-
/**
|
986
|
-
* Get's auto blocking file extensions feature key
|
987
|
-
*/
|
988
|
-
SystemSettingsKeys.autoBlockingFileExtensionsFeatureKey = "AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3";
|
989
|
-
/**
|
990
|
-
* Get's auto commiting file extensions feature key
|
991
|
-
*/
|
992
|
-
SystemSettingsKeys.autoCommitingFileExtensionsFeatureKey = " AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666";
|
993
|
-
/**
|
994
|
-
* Get's auto updating files feature key
|
995
|
-
*/
|
996
|
-
SystemSettingsKeys.autoUpdatingFilesFeatureKey = "AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5";
|
997
|
-
/**
|
998
|
-
* Get's auto publishing settings feature key
|
999
|
-
*/
|
1000
|
-
SystemSettingsKeys.autoPublishingExtensionsFeatureKey = "AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416";
|
1001
|
-
/**
|
1002
|
-
* Get's eml attributes dictionary feature key
|
1003
|
-
*/
|
1004
|
-
SystemSettingsKeys.emlAttributesDictionaryKeyFeatureKey = "EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F";
|
1005
|
-
/**
|
1006
|
-
* Get's documents autofill feature key
|
1007
|
-
*/
|
1008
|
-
SystemSettingsKeys.docsAutoFillFeatureKey = "DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186";
|
1009
|
-
/**
|
1010
|
-
* User-defined temp files regex masks
|
1011
|
-
*/
|
1012
|
-
SystemSettingsKeys.tempFileMasksFeatureKey = "TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3";
|
1013
|
-
/**
|
1014
|
-
* User-defined Export/Import settings
|
1015
|
-
*/
|
1016
|
-
SystemSettingsKeys.exportImportFeatureKey = "ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C";
|
1017
|
-
/**
|
1018
|
-
* User-defined digital signature title
|
1019
|
-
*/
|
1020
|
-
SystemSettingsKeys.digitalSinatureTitleFeatureKey = "DigitalSinatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9";
|
1021
1038
|
|
1022
1039
|
/*
|
1023
1040
|
* Public API Surface of pilot-web-sdk
|