@pilotdev/pilot-web-sdk 25.8.0 → 25.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* Represents a cryptographic provider interface for signing, verifying, and retrieving certificates.
|
3
|
+
* @exposedInterface
|
3
4
|
*/
|
4
5
|
export class ICryptoProvider {
|
5
6
|
constructor() {
|
@@ -92,4 +93,4 @@ export class ICryptoProvider {
|
|
92
93
|
throw new Error("Method 'canProcessSignature(signatureFile: ArrayBuffer)' must be implemented.");
|
93
94
|
}
|
94
95
|
}
|
95
|
-
//# sourceMappingURL=data:application/json;base64,
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNyeXB0by1wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3BpbG90LXdlYi1zZGsvc3JjL2xpYi9pY3J5cHRvLXByb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBOzs7R0FHRztBQUNILE1BQU0sT0FBZ0IsZUFBZTtJQUVuQztRQUNFLElBQUksSUFBSSxDQUFDLFdBQVcsSUFBSSxlQUFlLEVBQUU7WUFDdkMsTUFBTSxJQUFJLEtBQUssQ0FBQyx5Q0FBeUMsQ0FBQyxDQUFDO1NBQzVEO0lBQ0gsQ0FBQztJQUVEOzs7Ozs7Ozs7T0FTRztJQUNILElBQUksQ0FBQyxVQUFrQixFQUFFLFVBQWlCLEVBQUUsV0FBd0IsRUFBRSxXQUF5QixFQUFFLG1CQUE2QjtRQUM1SCxNQUFNLElBQUksS0FBSyxDQUFDLHdJQUF3SSxDQUFDLENBQUM7SUFDNUosQ0FBQztJQUVEOzs7Ozs7Ozs7Ozs7Ozs7Ozs7T0FrQkc7SUFDSCxNQUFNLENBQUMsSUFBaUIs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nJvcihcIk1ldGhvZCAnY2FuUHJvY2Vzc1NpZ25hdHVyZShzaWduYXR1cmVGaWxlOiBBcnJheUJ1ZmZlciknIG11c3QgYmUgaW1wbGVtZW50ZWQuXCIpO1xuICB9XG59XG4iXX0=
|
@@ -118,6 +118,7 @@
|
|
118
118
|
"description": "The interface implemented from @pilotdev/pilot-web-sdk. Must match the `exposes` key in the Module Federation config",
|
119
119
|
"enum": [
|
120
120
|
"IDataPlugin",
|
121
|
+
"ICryptoProvider",
|
121
122
|
"IToolbar<ObjectsViewContext>",
|
122
123
|
"IToolbar<DocumentAnnotationsListContext>",
|
123
124
|
"IObjectCardHandler",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pilotdev-pilot-web-sdk.mjs","sources":["../../../projects/pilot-web-sdk/src/lib/base/disposable.ts","../../../projects/pilot-web-sdk/src/lib/base/initializable.ts","../../../projects/pilot-web-sdk/src/lib/idata.plugin.ts","../../../projects/pilot-web-sdk/src/lib/icrypto-provider.ts","../../../projects/pilot-web-sdk/src/lib/injectable/injection-source.ts","../../../projects/pilot-web-sdk/src/lib/injectable/progress-service.ts","../../../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/object-card/attribute-value-changed-event-args.ts","../../../projects/pilot-web-sdk/src/lib/object-card/object-card-handler.ts","../../../projects/pilot-web-sdk/src/lib/openspace/openspace-view.ts","../../../projects/pilot-web-sdk/src/lib/page-navigation/page-navigation-section-element.builder.ts","../../../projects/pilot-web-sdk/src/lib/page-navigation/page-navigation-section.builder.ts","../../../projects/pilot-web-sdk/src/lib/page-navigation/page-navigation.builder.ts","../../../projects/pilot-web-sdk/src/lib/page-navigation/page-navigation.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/object-card-context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/page-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/expected-error.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/cades-type.ts","../../../projects/pilot-web-sdk/src/lib/data/signature-verification-status.ts","../../../projects/pilot-web-sdk/src/lib/data/subscription-type.ts","../../../projects/pilot-web-sdk/src/lib/data/theme.ts","../../../projects/pilot-web-sdk/src/lib/personal-settings/system-settings-keys.ts","../../../projects/pilot-web-sdk/src/public-api.ts","../../../projects/pilot-web-sdk/src/pilotdev-pilot-web-sdk.ts"],"sourcesContent":["export abstract class IDisposable {\r\n constructor() {\r\n if (this.constructor == IDisposable) {\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 just before class is disposed\r\n */\r\n dispose() {\r\n throw new Error(\"Method 'dispose()' must be implemented.\");\r\n }\r\n}\r\n","import { InjectionSource } from '../injectable';\r\n\r\nexport abstract class IInitializable {\r\n constructor() {\r\n if (this.constructor == IInitializable) {\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 after field injection is complete.\r\n */\r\n initialize(injectionSource: InjectionSource) {\r\n throw new Error(\"Method 'initialize(injectionSource: InjectionSource)' must be implemented.\");\r\n }\r\n}\r\n","/**\n * @exposedInterface\n */\nexport abstract class IDataPlugin {\n constructor() {\n if (this.constructor == IDataPlugin) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n}","import { Observable } from 'rxjs';\nimport { IFile, IImportedSignatureVerificationResult, ISignatureRequest, ISignatureVerificationResult } from './data';\nimport { ICertificate } from './data/certificate';\n\n/**\n * Represents a cryptographic provider interface for signing, verifying, and retrieving certificates.\n */\nexport abstract class ICryptoProvider {\n\n constructor() {\n if (this.constructor == ICryptoProvider) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Signs a file with a digital signature using the provided certificate.\n *\n * @param documentId The documentId, represented as string.\n * @param actualFile The actualFile for additional information, represented as an IFile.\n * @param arrayBuffer The file to be signed, represented as an ArrayBuffer.\n * @param certificate The digital certificate to use for signing, represented as an ArrayBuffer.\n * @param signatureRequestIds An array of IDs for the signature requests.\n * @returns An observable that resolves to the digital signature as a string.\n */\n sign(documentId: string, actualFile: IFile, arrayBuffer: ArrayBuffer, certificate: ICertificate, signatureRequestIds: string[]): Observable<string>{\n throw new Error(\"Method 'sign(document: IDataObject, file: ArrayBuffer, certificate: ICertificate, signatureRequestIds: string[])' must be implemented.\");\n }\n\n /**\n * Verifies the digital signature of a file.\n *\n * @param file - The file data to be verified. This should be the raw binary data of the file.\n * @param sign - The digital signature to be verified against the file. This should be the raw binary data of the signature.\n * @param signatureRequest - Description of signature's request.\n * @returns - An observable that emits the result of the verification process. The result will indicate whether the signature is valid, and may include additional information such as error messages.\n *\n * @example\n const fileData = new ArrayBuffer(1024);\n const signatureData = new ArrayBuffer(256);\n verify(fileData, signatureData, signatureRequest).subscribe(result => {\n if (result.verificationStatus === F.Valid) {\n console.log(\"Signature is valid\");\n } else {\n console.log(`Signature is invalid: ${result.error}`);\n }\n });\n */\n verify(file: ArrayBuffer, sign: ArrayBuffer, signatureRequest: ISignatureRequest): Observable<ISignatureVerificationResult> {\n throw new Error(\"Method 'verify(file: ArrayBuffer, sign: ArrayBuffer, signatureType: SignatureType)' must be implemented.\");\n }\n\n /**\n * Verifies the digital signature that being imported.\n *\n * @param file - The file data to be verified. This should be the raw binary data of the file.\n * @param sign - The digital signature to be verified against the file. This should be the raw binary data of the signature.\n * @returns - An observable that emits the result of the verification process. The result will indicate whether the signature is valid, and may include additional information such as error messages.\n *\n * @example\n const fileData = new ArrayBuffer(1024);\n const signatureData = new ArrayBuffer(256);\n verifyImportedSignature(fileData, signatureData).subscribe(result => {\n if (result.verificationStatus === F.Valid) {\n console.log(\"Signature is valid\");\n } else {\n console.log(`Signature is invalid: ${result.error}`);\n }\n });\n */\n verifyImportedSignature(file: ArrayBuffer, sign: ArrayBuffer): Observable<IImportedSignatureVerificationResult> {\n throw new Error(\"Method 'verifyImportedSignature(file: ArrayBuffer, sign: ArrayBuffer)' must be implemented.\");\n }\n\n /**\n * Retrieves a list of digital certificates.\n *\n * @returns An observable that resolves to an array of ICertificate objects.\n */\n getCertificates(): Observable<ICertificate[]> {\n throw new Error(\"Method 'getCertificates()' must be implemented.\");\n }\n\n /** Determines whether the cryptoprovider can process the specified algorithm(s).\n *\n * @param publicKeyOid public key's oid used to create digital signature.\n * @returns {boolean} True if the cryptoprovider can process the algorithm(s), false otherwise.\n *\n * @example\n * // When the client tries to determine if this provider can process algorithm\n * const can = canProcessAlgorithms(\"1.2.840.113549.1.1.1\");\n */\n canProcessAlgorithms(publicKeyOid: string): boolean {\n throw new Error(\"Method 'canProcessAlgorithms(publicKeyOid: string)' must be implemented.\");\n }\n\n /** Determines whether the cryptoprovider can process signature. The method is needed when the signature is being imported and the signature algorithm is unknown.\n *\n * @param signatureFile signature file.\n * @returns {boolean} True if the cryptoprovider can process the signature, false otherwise.\n */\n canProcessSignature(signatureFile: ArrayBuffer): boolean {\n throw new Error(\"Method 'canProcessSignature(signatureFile: ArrayBuffer)' must be implemented.\");\n }\n}\n","import {\r\n IModifierProvider,\r\n IObjectsRepository,\r\n IProgressService,\r\n IRenderContextProvider,\r\n IRepositoryEvents,\r\n IThemeService,\r\n IPersonalSettings,\r\n} from '../injectable';\r\nimport { ICommandBuilderProvider } from './command-builder-provider';\r\n\r\nexport class InjectionSource {\r\n constructor(\r\n private _modifierProvider: IModifierProvider,\r\n private _objectsRepository: IObjectsRepository,\r\n private _renderContextProvider: IRenderContextProvider,\r\n private _repositoryEvents: IRepositoryEvents,\r\n private _progressService: IProgressService,\r\n private _themeService: IThemeService,\r\n private _commandBuilderProvider: ICommandBuilderProvider,\r\n private _personalSettings: IPersonalSettings\r\n ) {}\r\n\r\n get modifierProvider(): IModifierProvider {\r\n return this._modifierProvider;\r\n }\r\n\r\n get objectsRepository(): IObjectsRepository {\r\n return this._objectsRepository;\r\n }\r\n\r\n get renderContextProvider(): IRenderContextProvider {\r\n return this._renderContextProvider;\r\n }\r\n\r\n get repositoryEvents(): IRepositoryEvents {\r\n return this._repositoryEvents;\r\n }\r\n\r\n get progressService(): IProgressService {\r\n return this._progressService;\r\n }\r\n\r\n get themeService(): IThemeService {\r\n return this._themeService;\r\n }\r\n\r\n get personalSettings(): IPersonalSettings {\r\n return this._personalSettings;\r\n }\r\n\r\n get commandBuilderProvider(): ICommandBuilderProvider {\r\n return this._commandBuilderProvider;\r\n }\r\n}\r\n","import { Observable } from \"rxjs\";\n\n/**\n * \n */\nexport interface IProgressService {\n get percentage(): Observable<number>;\n get isOpen(): boolean; \n open(mode: ProgressBarMode): void;\n update(percentage: number): void;\n reset(): void;\n close(): void;\n}\n\nexport enum ProgressBarMode {\n Determinate,\n Indeterminate,\n Buffer,\n Query\n}","import { DocumentAnnotationsListContext, ObjectsViewContext } from \"../contexts\";\nimport { IToolbarBuilder } from \"./toolbar.builder\";\n\n/**\n * Interface that allows to add new items to the toolbar\n * @exposedInterface\n */\nexport abstract class IToolbar<TToolbarContext extends ObjectsViewContext | DocumentAnnotationsListContext> {\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 { ObjectCardContext } from \"../contexts/object-card-context\";\r\n\r\nexport class AttributeValueChangedEventArgs {\r\n private readonly _oldValue: unknown;\r\n private readonly _newValue: unknown;\r\n private readonly _context: ObjectCardContext;\r\n\r\n constructor(oldValue: unknown, newValue: unknown, context: ObjectCardContext) {\r\n this._oldValue = oldValue;\r\n this._newValue = newValue;\r\n this._context = context;\r\n }\r\n\r\n public get oldValue(): unknown {\r\n return this._oldValue;\r\n }\r\n\r\n public get newValue(): unknown {\r\n return this._newValue;\r\n }\r\n\r\n public get context(): ObjectCardContext {\r\n return this._context;\r\n }\r\n}","import { ObjectCardContext } from \"../contexts/object-card-context\";\r\nimport { IAttribute } from \"../data\";\r\nimport { IAttributeModifier } from \"../modifier/attribute-modifier\";\r\nimport { AttributeValueChangedEventArgs } from \"./attribute-value-changed-event-args\";\r\n\r\n/**\r\n * Enables support for handling changing object attributes in object card\r\n * @exposedInterface\r\n */\r\nexport abstract class IObjectCardHandler {\r\n constructor() {\r\n if (this.constructor == IObjectCardHandler) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Handle show object card\r\n * \r\n * @param modifier - Attribute modifier\r\n * @param context - Context\r\n */\r\n handle(modifier: IAttributeModifier, context: ObjectCardContext): void {\r\n throw new Error(\"Method 'handle(modifier: IAttributeModifier, context: ObjectCardContext)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * The method called when attribute value has changed\r\n * @param sender - Changed attribute\r\n * @param args - Attribute change event args\r\n * @param modifier - Attribute modifier\r\n */\r\n onValueChanged(sender: IAttribute, args: AttributeValueChangedEventArgs, modifier: IAttributeModifier): void {\r\n throw new Error(\"Method 'onValueChanged(sender: IAttribute, args: AttributeValueChangedEventArgs, modifier: IAttributeModifier)' must be implemented.\");\r\n }\r\n}","import { ObjectsViewContext, PageContext } from \"../contexts\";\n\n/**\n * Class that allows to declare the view for the openspace container\n * @exposedInterface\n */\nexport abstract class IOpenspaceView<TOpenspaceViewContext extends ObjectsViewContext | PageContext> {\n constructor() {\n if (this.constructor == IOpenspaceView<TOpenspaceViewContext>) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * The method is called to match this View to the corresponding openspace container\n *\n * Should be identical with corresponding container's `withViewId(id: string)`\n * @returns {string}\n */\n getViewId(): string {\n throw new Error(\"Method 'getViewId()' must be implemented.\");\n }\n\n /**\n * The method is called just before the openspace container's view is shown\n * @param context - context\n */\n getView(context: TOpenspaceViewContext): HTMLElement | undefined {\n throw new Error(\"Method 'getView(context: TTabViewContext)' must be implemented.\");\n }\n}\n","/**\r\n * Represents a builder for navigation window section's element\r\n */\r\nexport abstract class IPageNavigationSectionElementBuilder {\r\n constructor() {\r\n if (this.constructor == IPageNavigationSectionElementBuilder) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Element's title to be displayed\r\n * @param title value\r\n */\r\n withTitle(title: string): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'withTitle(title: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Element's title to be displayed\r\n * @param description value\r\n */\r\n withDescription(description: string): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'withDescription(description: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Element'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): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Element'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): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'withViewId(value: string)' must be implemented.\");\r\n }\r\n}\r\n","import { IPageNavigationSectionElementBuilder } from './page-navigation-section-element.builder';\r\n\r\n/**\r\n * Represents a builder for the navigation window's section\r\n */\r\nexport abstract class IPageNavigationSectionBuilder {\r\n constructor() {\r\n if (this.constructor == IPageNavigationSectionBuilder) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Section's title to be displayed\r\n * @param title value\r\n */\r\n withTitle(title: string): IPageNavigationSectionBuilder {\r\n throw new Error(\"Method 'withTitle(title: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Gets the list of existing element ids of the section\r\n * @returns Existing element ids\r\n */\r\n get elementIds(): string[] {\r\n throw new Error(\"Getter 'elementIds()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Gets count of section's elements\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 element to the section\r\n * @param id Element's internal id\r\n * @param index The index to put the new element at\r\n */\r\n addElement(id: string, index: number): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'addElement(id: string, index: number)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Replaces the element of the section\r\n * If element does not exist - creates it\r\n * @param id Elements's internal id\r\n */\r\n replaceElement(id: string): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'replaceElement(id: string)' must be implemented.\");\r\n }\r\n}\r\n","import { IPageNavigationSectionBuilder } from './page-navigation-section.builder';\r\n\r\n/**\r\n * Represents a builder for navigation window\r\n */\r\nexport abstract class IPageNavigationBuilder {\r\n constructor() {\r\n if (this.constructor == IPageNavigationBuilder) {\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 section ids of the navigation window\r\n * @returns Existing section ids\r\n */\r\n get sectionIds(): string[] {\r\n throw new Error(\"Getter 'sectionIds()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Gets count of navigation window's elements\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 section to the navigation window\r\n * @param id Sections's internal id\r\n * @param index The index to put the new section at\r\n */\r\n addSection(id: string, index: number): IPageNavigationSectionBuilder {\r\n throw new Error(\"Method 'addElement(id: string, index: number)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Replaces the section of the navigation window\r\n * If element does not exist - creates it\r\n * @param id Elements's internal id\r\n */\r\n replaceSection(id: string): IPageNavigationSectionBuilder {\r\n throw new Error(\"Method 'replaceElement(id: string)' must be implemented.\");\r\n }\r\n}\r\n","import { IPageNavigationBuilder } from './page-navigation.builder';\r\n\r\n/**\r\n * Interface that allows to add new sections and elements to navigation window\r\n * @exposedInterface\r\n */\r\nexport abstract class IPageNavigation {\r\n constructor() {\r\n if (this.constructor == IPageNavigation) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n build(builder: IPageNavigationBuilder): void {\r\n throw new Error(\"Method 'build(builder: IOpenspaceBuilder)' must be implemented.\");\r\n }\r\n}\r\n","import { ObjectsViewContext } from \"../contexts\";\nimport { ITabsBuilder } from \"./tabs.builder\";\n\n/**\n * Interface that allows to add new items to the tabs\n * @exposedInterface\n */\nexport abstract class ITabs<TTabsContext extends ObjectsViewContext> {\n /**\n * The method is called just before the tabs are shown\n * @param builder The tab group builder object of associated tab group\n * @param context Context\n */\n build(builder: ITabsBuilder, context: TTabsContext): void {\n throw new Error(\"Method 'build(builder: IMenuBuilder, context: TTabsContext)' must be implemented.\");\n }\n}","import { ITabItemBuilder } from './tab-item.builder';\n\n/**\n * Represents a builder for tab groups\n */\nexport abstract class ITabsBuilder {\n constructor() {\n if (this.constructor == ITabsBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Gets the list of existing items of a tab group\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 tab group items\n */\n get count(): number {\n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Adds a new item to the associated tab group\n * @param id Item's internal id\n * @param index The index to put the new item at\n */\n addItem(id: string, index: number): ITabItemBuilder {\n throw new Error(\"Method 'addItem(id: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item for the tab group.\n * If Item does not exist - creates it.\n * @param id Item's internal id\n */\n replaceItem(id: string): ITabItemBuilder {\n throw new Error(\"Method 'replaceItem(id: string)' must be implemented.\");\n }\n}\n","/**\n * Enables to set parameters to the tab-group's item\n */\nexport abstract class ITabItemBuilder {\n constructor() {\n if (this.constructor == ITabItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's title to be displayed\n * @param title value\n */\n withTitle(title: string): ITabItemBuilder {\n throw new Error(\"Method 'withTitle(title: 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): ITabItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\n }\n\n /**\n * Item's view id\n *\n * Is matched with corresponding IOpenspaceView's `getViewId(): string`\n * @param value - View Id\n */\n withViewId(value: string): ITabItemBuilder {\n throw new Error(\"Method 'withViewId(value: string)' must be implemented.\");\n }\n}\n","import { DocumentAnnotationsListContext, ObjectsViewContext } from \"../contexts\";\nimport { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Interface that allows to add new items to the menu and context menus\n * @exposedInterface\n */\nexport abstract class IMenu<TMenuContext extends ObjectsViewContext | DocumentAnnotationsListContext> {\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 { IAttribute, IDataObject, IType } from \"../data\";\r\n\r\nexport class ObjectCardContext {\r\n private readonly _currentObjectId: string;\r\n private readonly _displayAttributes: IAttribute[];\r\n private readonly _attributesValues: Map<string, unknown>;\r\n private readonly _type: IType;\r\n private readonly _editedObject: IDataObject | null;\r\n private readonly _parentId: string;\r\n private readonly _isReadOnly: boolean;\r\n\r\n constructor(\r\n currentObjectId: string,\r\n displayAttributes: IAttribute[],\r\n attributesValues: Map<string, unknown>,\r\n type: IType,\r\n editedObject: IDataObject | null,\r\n parentId: string,\r\n isReadOnly: boolean\r\n ) {\r\n this._currentObjectId = currentObjectId;\r\n this._displayAttributes = displayAttributes;\r\n this._attributesValues = attributesValues;\r\n this._type = type;\r\n this._editedObject = editedObject;\r\n this._parentId = parentId;\r\n this._isReadOnly = isReadOnly;\r\n }\r\n\r\n /**\r\n * Current object id for which the card is shown.\r\n * \r\n * It's an existing object id or a generated id that will be assigned to a new object.\r\n */\r\n public get currentObjectId(): string {\r\n return this._currentObjectId;\r\n }\r\n\r\n /**\r\n * List of all visible attributes in object's card\r\n */\r\n public get displayAttributes(): IAttribute[] {\r\n return this._displayAttributes;\r\n }\r\n\r\n /**\r\n * The set of current attributes values\r\n */\r\n public get attributesValues(): Map<string, unknown> {\r\n return this._attributesValues;\r\n }\r\n\r\n /**\r\n * Type of current object\r\n */\r\n public get type(): IType {\r\n return this._type;\r\n }\r\n\r\n /**\r\n * Current object the card is shown for. Null if card is shown to create a new object\r\n */\r\n public get editedObject(): IDataObject | null {\r\n return this._editedObject;\r\n }\r\n\r\n /**\r\n * ParentId of the current object\r\n */\r\n public get parentId(): string {\r\n return this._parentId;\r\n }\r\n\r\n /**\r\n * True if the card is shown in read only mode and not available for modification\r\n */\r\n public get isReadOnly(): boolean {\r\n return this._isReadOnly;\r\n }\r\n}\r\n\r\n","export class PageContext {}\r\n","import { IDataObject } from \"../data\";\n\n/**\n * Context for document 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}-[0-9a-f]{4}-[0-9a-f]{4}-[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}","export class ExpectedError extends Error {\n isExpected: boolean = true;\n\n constructor(\n message: string,\n public isSilent: boolean = false\n ) {\n super(message);\n }\n}\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 allowedSubtypes(): number[];\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}","export enum CadesType {\n Unknown = 0,\n NotCades = 1,\n CadesBes = 2,\n CadesEpes = 3,\n CadesT = 4,\n CadesC = 5,\n CadesXLongType1 = 6,\n CadesXLongType2 = 7,\n CadesA = 8\n}\n","export enum SignatureVerificationStatus\n{\n Unknown,\n Valid,\n ValidWithWarnings,\n CannotBeChecked,\n Duplicate,\n Invalid,\n Error,\n}\n","\nexport enum SubscriptionType {\n Shallow,\n Deep\n}","export enum Theme {\n Light,\n Dark\n}\n\nexport interface Themes {\n get theme(): Theme;\n}\n\n","export class SystemSettingsKeys {\n /**\n * Get's favorites feature key\n */\n public static readonly favoritesFeatureKey = \"Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc\";\n\n /**\n * Get's pilot storage drive letter feature key\n */\n public static readonly pilotStorageDriveLetter = \"PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc\";\n\n /**\n * Get's agreement roles feature key\n */\n public static readonly agreementRolesFeatureKey = \"AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d\";\n\n /**\n * Get's tasks filters feature key\n */\n public static readonly tasksFiltersFeatureKey = \"TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7\";\n\n /**\n * Get's annotation filter feature key\n */\n public static readonly annotationFilterFeatureKey = \"AnnotationFilter-F151E782-6CEB-44AF-ADF1-AFB0A0FAB95E\";\n\n /**\n * Get's annotation filter feature key\n */\n public static readonly personalAnnotationFilterFeatureKey = \"PersonalAnnotationFilter-9382f499-c1b9-433f-95bb-d83195d52121\";\n\n /**\n * Get's mounted on Pilot-Storage items feature key\n */\n public static readonly mountedItemsList = \"MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b\";\n\n /**\n * Get's Pilot-Storage work folders feature key\n */\n public static readonly workfoldersList = \"Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86\";\n\n /**\n * Get's selection path of the DocumentsExplorer\n */\n public static readonly tabsState = \"TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f\";\n\n /**\n * Get's auto blocking file extensions feature key\n */\n public static readonly autoBlockingFileExtensionsFeatureKey = \"AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3\";\n\n /**\n * Get's auto commiting file extensions feature key\n */\n public static readonly autoCommitingFileExtensionsFeatureKey = \" AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666\";\n\n /**\n * Get's auto updating files feature key\n */\n public static readonly autoUpdatingFilesFeatureKey = \"AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5\";\n\n /**\n * Get's auto publishing settings feature key\n */\n public static readonly autoPublishingExtensionsFeatureKey = \"AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416\";\n\n /**\n * Get's eml attributes dictionary feature key\n */\n public static readonly emlAttributesDictionaryKeyFeatureKey = \"EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F\";\n\n /**\n * Get's documents autofill feature key\n */\n public static readonly docsAutoFillFeatureKey = \"DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186\";\n\n /**\n * User-defined temp files regex masks\n */\n public static readonly tempFileMasksFeatureKey = \"TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3\";\n\n /**\n * User-defined Export/Import settings\n */\n public static readonly exportImportFeatureKey = \"ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C\";\n\n /**\n * User-defined digital signature title\n */\n public static readonly digitalSignatureTitleFeatureKey = \"DigitalSignatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9\";\n\n /**\n * Enhanced signature service settings\n */\n public static readonly advancedSignatureFeatureKey = \"AdvancedSignatureFeatureKey-D267127C-DCED-4DEC-B1A8-6E7A919E383D\";\n}\n","/*\n * Public API Surface of pilot-web-sdk\n */\nexport * from './lib/base/index';\nexport * from './lib/idata.plugin';\nexport * from './lib/icrypto-provider';\nexport * from './lib/injectable/index';\nexport * from './lib/toolbar/index';\nexport * from './lib/object-card';\nexport * from './lib/openspace/index';\nexport * from './lib/page-navigation';\nexport * from './lib/tabs/index';\nexport * from './lib/menu/index';\nexport * from './lib/modifier/index';\nexport * from './lib/contexts/index';\nexport * from './lib/tools/index';\nexport * from './lib/data/index';\nexport * from './lib/personal-settings/index';\nexport * from './lib/commands/index';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"MAAsB,WAAW,CAAA;AAC/B,IAAA,WAAA,GAAA;A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kD;AAE3F;;AAEG;AACI,IAAA,OAAgB,SAAS,GAAG,gDAAgD;AAEnF;;AAEG;AACI,IAAA,OAAgB,oCAAoC,GAAG,iEAAiE;AAE/H;;AAEG;AACI,IAAA,OAAgB,qCAAqC,GAAG,mEAAmE;AAElI;;AAEG;AACI,IAAA,OAAgB,2BAA2B,GAAG,iEAAiE;AAEtH;;AAEG;AACI,IAAA,OAAgB,kCAAkC,GAAG,+DAA+D;AAE3H;;AAEG;AACI,IAAA,OAAgB,oCAAoC,GAAG,8DAA8D;AAE5H;;AAEG;AACI,IAAA,OAAgB,sBAAsB,GAAG,6DAA6D;AAE7G;;AAEG;AACI,IAAA,OAAgB,uBAAuB,GAAG,8DAA8D;AAE/G;;AAEG;AACI,IAAA,OAAgB,sBAAsB,GAAG,6DAA6D;AAE7G;;AAEG;AACI,IAAA,OAAgB,+BAA+B,GAAG,sEAAsE;AAE/H;;AAEG;AACI,IAAA,OAAgB,2BAA2B,GAAG,kEAAkE;;;AC9FzH;;AAEG;;ACFH;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"pilotdev-pilot-web-sdk.mjs","sources":["../../../projects/pilot-web-sdk/src/lib/base/disposable.ts","../../../projects/pilot-web-sdk/src/lib/base/initializable.ts","../../../projects/pilot-web-sdk/src/lib/idata.plugin.ts","../../../projects/pilot-web-sdk/src/lib/icrypto-provider.ts","../../../projects/pilot-web-sdk/src/lib/injectable/injection-source.ts","../../../projects/pilot-web-sdk/src/lib/injectable/progress-service.ts","../../../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/object-card/attribute-value-changed-event-args.ts","../../../projects/pilot-web-sdk/src/lib/object-card/object-card-handler.ts","../../../projects/pilot-web-sdk/src/lib/openspace/openspace-view.ts","../../../projects/pilot-web-sdk/src/lib/page-navigation/page-navigation-section-element.builder.ts","../../../projects/pilot-web-sdk/src/lib/page-navigation/page-navigation-section.builder.ts","../../../projects/pilot-web-sdk/src/lib/page-navigation/page-navigation.builder.ts","../../../projects/pilot-web-sdk/src/lib/page-navigation/page-navigation.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/object-card-context.ts","../../../projects/pilot-web-sdk/src/lib/contexts/page-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/expected-error.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/cades-type.ts","../../../projects/pilot-web-sdk/src/lib/data/signature-verification-status.ts","../../../projects/pilot-web-sdk/src/lib/data/subscription-type.ts","../../../projects/pilot-web-sdk/src/lib/data/theme.ts","../../../projects/pilot-web-sdk/src/lib/personal-settings/system-settings-keys.ts","../../../projects/pilot-web-sdk/src/public-api.ts","../../../projects/pilot-web-sdk/src/pilotdev-pilot-web-sdk.ts"],"sourcesContent":["export abstract class IDisposable {\r\n constructor() {\r\n if (this.constructor == IDisposable) {\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 just before class is disposed\r\n */\r\n dispose() {\r\n throw new Error(\"Method 'dispose()' must be implemented.\");\r\n }\r\n}\r\n","import { InjectionSource } from '../injectable';\r\n\r\nexport abstract class IInitializable {\r\n constructor() {\r\n if (this.constructor == IInitializable) {\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 after field injection is complete.\r\n */\r\n initialize(injectionSource: InjectionSource) {\r\n throw new Error(\"Method 'initialize(injectionSource: InjectionSource)' must be implemented.\");\r\n }\r\n}\r\n","/**\n * @exposedInterface\n */\nexport abstract class IDataPlugin {\n constructor() {\n if (this.constructor == IDataPlugin) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n}","import { Observable } from 'rxjs';\nimport { IFile, IImportedSignatureVerificationResult, ISignatureRequest, ISignatureVerificationResult } from './data';\nimport { ICertificate } from './data/certificate';\n\n/**\n * Represents a cryptographic provider interface for signing, verifying, and retrieving certificates.\n * @exposedInterface\n */\nexport abstract class ICryptoProvider {\n\n constructor() {\n if (this.constructor == ICryptoProvider) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Signs a file with a digital signature using the provided certificate.\n *\n * @param documentId The documentId, represented as string.\n * @param actualFile The actualFile for additional information, represented as an IFile.\n * @param arrayBuffer The file to be signed, represented as an ArrayBuffer.\n * @param certificate The digital certificate to use for signing, represented as an ArrayBuffer.\n * @param signatureRequestIds An array of IDs for the signature requests.\n * @returns An observable that resolves to the digital signature as a string.\n */\n sign(documentId: string, actualFile: IFile, arrayBuffer: ArrayBuffer, certificate: ICertificate, signatureRequestIds: string[]): Observable<string>{\n throw new Error(\"Method 'sign(document: IDataObject, file: ArrayBuffer, certificate: ICertificate, signatureRequestIds: string[])' must be implemented.\");\n }\n\n /**\n * Verifies the digital signature of a file.\n *\n * @param file - The file data to be verified. This should be the raw binary data of the file.\n * @param sign - The digital signature to be verified against the file. This should be the raw binary data of the signature.\n * @param signatureRequest - Description of signature's request.\n * @returns - An observable that emits the result of the verification process. The result will indicate whether the signature is valid, and may include additional information such as error messages.\n *\n * @example\n const fileData = new ArrayBuffer(1024);\n const signatureData = new ArrayBuffer(256);\n verify(fileData, signatureData, signatureRequest).subscribe(result => {\n if (result.verificationStatus === F.Valid) {\n console.log(\"Signature is valid\");\n } else {\n console.log(`Signature is invalid: ${result.error}`);\n }\n });\n */\n verify(file: ArrayBuffer, sign: ArrayBuffer, signatureRequest: ISignatureRequest): Observable<ISignatureVerificationResult> {\n throw new Error(\"Method 'verify(file: ArrayBuffer, sign: ArrayBuffer, signatureType: SignatureType)' must be implemented.\");\n }\n\n /**\n * Verifies the digital signature that being imported.\n *\n * @param file - The file data to be verified. This should be the raw binary data of the file.\n * @param sign - The digital signature to be verified against the file. This should be the raw binary data of the signature.\n * @returns - An observable that emits the result of the verification process. The result will indicate whether the signature is valid, and may include additional information such as error messages.\n *\n * @example\n const fileData = new ArrayBuffer(1024);\n const signatureData = new ArrayBuffer(256);\n verifyImportedSignature(fileData, signatureData).subscribe(result => {\n if (result.verificationStatus === F.Valid) {\n console.log(\"Signature is valid\");\n } else {\n console.log(`Signature is invalid: ${result.error}`);\n }\n });\n */\n verifyImportedSignature(file: ArrayBuffer, sign: ArrayBuffer): Observable<IImportedSignatureVerificationResult> {\n throw new Error(\"Method 'verifyImportedSignature(file: ArrayBuffer, sign: ArrayBuffer)' must be implemented.\");\n }\n\n /**\n * Retrieves a list of digital certificates.\n *\n * @returns An observable that resolves to an array of ICertificate objects.\n */\n getCertificates(): Observable<ICertificate[]> {\n throw new Error(\"Method 'getCertificates()' must be implemented.\");\n }\n\n /** Determines whether the cryptoprovider can process the specified algorithm(s).\n *\n * @param publicKeyOid public key's oid used to create digital signature.\n * @returns {boolean} True if the cryptoprovider can process the algorithm(s), false otherwise.\n *\n * @example\n * // When the client tries to determine if this provider can process algorithm\n * const can = canProcessAlgorithms(\"1.2.840.113549.1.1.1\");\n */\n canProcessAlgorithms(publicKeyOid: string): boolean {\n throw new Error(\"Method 'canProcessAlgorithms(publicKeyOid: string)' must be implemented.\");\n }\n\n /** Determines whether the cryptoprovider can process signature. The method is needed when the signature is being imported and the signature algorithm is unknown.\n *\n * @param signatureFile signature file.\n * @returns {boolean} True if the cryptoprovider can process the signature, false otherwise.\n */\n canProcessSignature(signatureFile: ArrayBuffer): boolean {\n throw new Error(\"Method 'canProcessSignature(signatureFile: ArrayBuffer)' must be implemented.\");\n }\n}\n","import {\r\n IModifierProvider,\r\n IObjectsRepository,\r\n IProgressService,\r\n IRenderContextProvider,\r\n IRepositoryEvents,\r\n IThemeService,\r\n IPersonalSettings,\r\n} from '../injectable';\r\nimport { ICommandBuilderProvider } from './command-builder-provider';\r\n\r\nexport class InjectionSource {\r\n constructor(\r\n private _modifierProvider: IModifierProvider,\r\n private _objectsRepository: IObjectsRepository,\r\n private _renderContextProvider: IRenderContextProvider,\r\n private _repositoryEvents: IRepositoryEvents,\r\n private _progressService: IProgressService,\r\n private _themeService: IThemeService,\r\n private _commandBuilderProvider: ICommandBuilderProvider,\r\n private _personalSettings: IPersonalSettings\r\n ) {}\r\n\r\n get modifierProvider(): IModifierProvider {\r\n return this._modifierProvider;\r\n }\r\n\r\n get objectsRepository(): IObjectsRepository {\r\n return this._objectsRepository;\r\n }\r\n\r\n get renderContextProvider(): IRenderContextProvider {\r\n return this._renderContextProvider;\r\n }\r\n\r\n get repositoryEvents(): IRepositoryEvents {\r\n return this._repositoryEvents;\r\n }\r\n\r\n get progressService(): IProgressService {\r\n return this._progressService;\r\n }\r\n\r\n get themeService(): IThemeService {\r\n return this._themeService;\r\n }\r\n\r\n get personalSettings(): IPersonalSettings {\r\n return this._personalSettings;\r\n }\r\n\r\n get commandBuilderProvider(): ICommandBuilderProvider {\r\n return this._commandBuilderProvider;\r\n }\r\n}\r\n","import { Observable } from \"rxjs\";\n\n/**\n * \n */\nexport interface IProgressService {\n get percentage(): Observable<number>;\n get isOpen(): boolean; \n open(mode: ProgressBarMode): void;\n update(percentage: number): void;\n reset(): void;\n close(): void;\n}\n\nexport enum ProgressBarMode {\n Determinate,\n Indeterminate,\n Buffer,\n Query\n}","import { DocumentAnnotationsListContext, ObjectsViewContext } from \"../contexts\";\nimport { IToolbarBuilder } from \"./toolbar.builder\";\n\n/**\n * Interface that allows to add new items to the toolbar\n * @exposedInterface\n */\nexport abstract class IToolbar<TToolbarContext extends ObjectsViewContext | DocumentAnnotationsListContext> {\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 { ObjectCardContext } from \"../contexts/object-card-context\";\r\n\r\nexport class AttributeValueChangedEventArgs {\r\n private readonly _oldValue: unknown;\r\n private readonly _newValue: unknown;\r\n private readonly _context: ObjectCardContext;\r\n\r\n constructor(oldValue: unknown, newValue: unknown, context: ObjectCardContext) {\r\n this._oldValue = oldValue;\r\n this._newValue = newValue;\r\n this._context = context;\r\n }\r\n\r\n public get oldValue(): unknown {\r\n return this._oldValue;\r\n }\r\n\r\n public get newValue(): unknown {\r\n return this._newValue;\r\n }\r\n\r\n public get context(): ObjectCardContext {\r\n return this._context;\r\n }\r\n}","import { ObjectCardContext } from \"../contexts/object-card-context\";\r\nimport { IAttribute } from \"../data\";\r\nimport { IAttributeModifier } from \"../modifier/attribute-modifier\";\r\nimport { AttributeValueChangedEventArgs } from \"./attribute-value-changed-event-args\";\r\n\r\n/**\r\n * Enables support for handling changing object attributes in object card\r\n * @exposedInterface\r\n */\r\nexport abstract class IObjectCardHandler {\r\n constructor() {\r\n if (this.constructor == IObjectCardHandler) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Handle show object card\r\n * \r\n * @param modifier - Attribute modifier\r\n * @param context - Context\r\n */\r\n handle(modifier: IAttributeModifier, context: ObjectCardContext): void {\r\n throw new Error(\"Method 'handle(modifier: IAttributeModifier, context: ObjectCardContext)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * The method called when attribute value has changed\r\n * @param sender - Changed attribute\r\n * @param args - Attribute change event args\r\n * @param modifier - Attribute modifier\r\n */\r\n onValueChanged(sender: IAttribute, args: AttributeValueChangedEventArgs, modifier: IAttributeModifier): void {\r\n throw new Error(\"Method 'onValueChanged(sender: IAttribute, args: AttributeValueChangedEventArgs, modifier: IAttributeModifier)' must be implemented.\");\r\n }\r\n}","import { ObjectsViewContext, PageContext } from \"../contexts\";\n\n/**\n * Class that allows to declare the view for the openspace container\n * @exposedInterface\n */\nexport abstract class IOpenspaceView<TOpenspaceViewContext extends ObjectsViewContext | PageContext> {\n constructor() {\n if (this.constructor == IOpenspaceView<TOpenspaceViewContext>) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * The method is called to match this View to the corresponding openspace container\n *\n * Should be identical with corresponding container's `withViewId(id: string)`\n * @returns {string}\n */\n getViewId(): string {\n throw new Error(\"Method 'getViewId()' must be implemented.\");\n }\n\n /**\n * The method is called just before the openspace container's view is shown\n * @param context - context\n */\n getView(context: TOpenspaceViewContext): HTMLElement | undefined {\n throw new Error(\"Method 'getView(context: TTabViewContext)' must be implemented.\");\n }\n}\n","/**\r\n * Represents a builder for navigation window section's element\r\n */\r\nexport abstract class IPageNavigationSectionElementBuilder {\r\n constructor() {\r\n if (this.constructor == IPageNavigationSectionElementBuilder) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Element's title to be displayed\r\n * @param title value\r\n */\r\n withTitle(title: string): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'withTitle(title: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Element's title to be displayed\r\n * @param description value\r\n */\r\n withDescription(description: string): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'withDescription(description: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Element'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): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Element'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): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'withViewId(value: string)' must be implemented.\");\r\n }\r\n}\r\n","import { IPageNavigationSectionElementBuilder } from './page-navigation-section-element.builder';\r\n\r\n/**\r\n * Represents a builder for the navigation window's section\r\n */\r\nexport abstract class IPageNavigationSectionBuilder {\r\n constructor() {\r\n if (this.constructor == IPageNavigationSectionBuilder) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n /**\r\n * Section's title to be displayed\r\n * @param title value\r\n */\r\n withTitle(title: string): IPageNavigationSectionBuilder {\r\n throw new Error(\"Method 'withTitle(title: string)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Gets the list of existing element ids of the section\r\n * @returns Existing element ids\r\n */\r\n get elementIds(): string[] {\r\n throw new Error(\"Getter 'elementIds()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Gets count of section's elements\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 element to the section\r\n * @param id Element's internal id\r\n * @param index The index to put the new element at\r\n */\r\n addElement(id: string, index: number): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'addElement(id: string, index: number)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Replaces the element of the section\r\n * If element does not exist - creates it\r\n * @param id Elements's internal id\r\n */\r\n replaceElement(id: string): IPageNavigationSectionElementBuilder {\r\n throw new Error(\"Method 'replaceElement(id: string)' must be implemented.\");\r\n }\r\n}\r\n","import { IPageNavigationSectionBuilder } from './page-navigation-section.builder';\r\n\r\n/**\r\n * Represents a builder for navigation window\r\n */\r\nexport abstract class IPageNavigationBuilder {\r\n constructor() {\r\n if (this.constructor == IPageNavigationBuilder) {\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 section ids of the navigation window\r\n * @returns Existing section ids\r\n */\r\n get sectionIds(): string[] {\r\n throw new Error(\"Getter 'sectionIds()' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Gets count of navigation window's elements\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 section to the navigation window\r\n * @param id Sections's internal id\r\n * @param index The index to put the new section at\r\n */\r\n addSection(id: string, index: number): IPageNavigationSectionBuilder {\r\n throw new Error(\"Method 'addElement(id: string, index: number)' must be implemented.\");\r\n }\r\n\r\n /**\r\n * Replaces the section of the navigation window\r\n * If element does not exist - creates it\r\n * @param id Elements's internal id\r\n */\r\n replaceSection(id: string): IPageNavigationSectionBuilder {\r\n throw new Error(\"Method 'replaceElement(id: string)' must be implemented.\");\r\n }\r\n}\r\n","import { IPageNavigationBuilder } from './page-navigation.builder';\r\n\r\n/**\r\n * Interface that allows to add new sections and elements to navigation window\r\n * @exposedInterface\r\n */\r\nexport abstract class IPageNavigation {\r\n constructor() {\r\n if (this.constructor == IPageNavigation) {\r\n throw new Error(\"Abstract classes can't be instantiated.\");\r\n }\r\n }\r\n\r\n build(builder: IPageNavigationBuilder): void {\r\n throw new Error(\"Method 'build(builder: IOpenspaceBuilder)' must be implemented.\");\r\n }\r\n}\r\n","import { ObjectsViewContext } from \"../contexts\";\nimport { ITabsBuilder } from \"./tabs.builder\";\n\n/**\n * Interface that allows to add new items to the tabs\n * @exposedInterface\n */\nexport abstract class ITabs<TTabsContext extends ObjectsViewContext> {\n /**\n * The method is called just before the tabs are shown\n * @param builder The tab group builder object of associated tab group\n * @param context Context\n */\n build(builder: ITabsBuilder, context: TTabsContext): void {\n throw new Error(\"Method 'build(builder: IMenuBuilder, context: TTabsContext)' must be implemented.\");\n }\n}","import { ITabItemBuilder } from './tab-item.builder';\n\n/**\n * Represents a builder for tab groups\n */\nexport abstract class ITabsBuilder {\n constructor() {\n if (this.constructor == ITabsBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Gets the list of existing items of a tab group\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 tab group items\n */\n get count(): number {\n throw new Error(\"Getter 'count()' must be implemented.\");\n }\n\n /**\n * Adds a new item to the associated tab group\n * @param id Item's internal id\n * @param index The index to put the new item at\n */\n addItem(id: string, index: number): ITabItemBuilder {\n throw new Error(\"Method 'addItem(id: string, index: number)' must be implemented.\");\n }\n\n /**\n * Replaces the item for the tab group.\n * If Item does not exist - creates it.\n * @param id Item's internal id\n */\n replaceItem(id: string): ITabItemBuilder {\n throw new Error(\"Method 'replaceItem(id: string)' must be implemented.\");\n }\n}\n","/**\n * Enables to set parameters to the tab-group's item\n */\nexport abstract class ITabItemBuilder {\n constructor() {\n if (this.constructor == ITabItemBuilder) {\n throw new Error(\"Abstract classes can't be instantiated.\");\n }\n }\n\n /**\n * Item's title to be displayed\n * @param title value\n */\n withTitle(title: string): ITabItemBuilder {\n throw new Error(\"Method 'withTitle(title: 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): ITabItemBuilder {\n throw new Error(\"Method 'withIcon(name: string, iconSvg: string)' must be implemented.\");\n }\n\n /**\n * Item's view id\n *\n * Is matched with corresponding IOpenspaceView's `getViewId(): string`\n * @param value - View Id\n */\n withViewId(value: string): ITabItemBuilder {\n throw new Error(\"Method 'withViewId(value: string)' must be implemented.\");\n }\n}\n","import { DocumentAnnotationsListContext, ObjectsViewContext } from \"../contexts\";\nimport { IMenuBuilder } from \"./menu.builder\";\n\n/**\n * Interface that allows to add new items to the menu and context menus\n * @exposedInterface\n */\nexport abstract class IMenu<TMenuContext extends ObjectsViewContext | DocumentAnnotationsListContext> {\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 { IAttribute, IDataObject, IType } from \"../data\";\r\n\r\nexport class ObjectCardContext {\r\n private readonly _currentObjectId: string;\r\n private readonly _displayAttributes: IAttribute[];\r\n private readonly _attributesValues: Map<string, unknown>;\r\n private readonly _type: IType;\r\n private readonly _editedObject: IDataObject | null;\r\n private readonly _parentId: string;\r\n private readonly _isReadOnly: boolean;\r\n\r\n constructor(\r\n currentObjectId: string,\r\n displayAttributes: IAttribute[],\r\n attributesValues: Map<string, unknown>,\r\n type: IType,\r\n editedObject: IDataObject | null,\r\n parentId: string,\r\n isReadOnly: boolean\r\n ) {\r\n this._currentObjectId = currentObjectId;\r\n this._displayAttributes = displayAttributes;\r\n this._attributesValues = attributesValues;\r\n this._type = type;\r\n this._editedObject = editedObject;\r\n this._parentId = parentId;\r\n this._isReadOnly = isReadOnly;\r\n }\r\n\r\n /**\r\n * Current object id for which the card is shown.\r\n * \r\n * It's an existing object id or a generated id that will be assigned to a new object.\r\n */\r\n public get currentObjectId(): string {\r\n return this._currentObjectId;\r\n }\r\n\r\n /**\r\n * List of all visible attributes in object's card\r\n */\r\n public get displayAttributes(): IAttribute[] {\r\n return this._displayAttributes;\r\n }\r\n\r\n /**\r\n * The set of current attributes values\r\n */\r\n public get attributesValues(): Map<string, unknown> {\r\n return this._attributesValues;\r\n }\r\n\r\n /**\r\n * Type of current object\r\n */\r\n public get type(): IType {\r\n return this._type;\r\n }\r\n\r\n /**\r\n * Current object the card is shown for. Null if card is shown to create a new object\r\n */\r\n public get editedObject(): IDataObject | null {\r\n return this._editedObject;\r\n }\r\n\r\n /**\r\n * ParentId of the current object\r\n */\r\n public get parentId(): string {\r\n return this._parentId;\r\n }\r\n\r\n /**\r\n * True if the card is shown in read only mode and not available for modification\r\n */\r\n public get isReadOnly(): boolean {\r\n return this._isReadOnly;\r\n }\r\n}\r\n\r\n","export class PageContext {}\r\n","import { IDataObject } from \"../data\";\n\n/**\n * Context for document 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}-[0-9a-f]{4}-[0-9a-f]{4}-[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}","export class ExpectedError extends Error {\n isExpected: boolean = true;\n\n constructor(\n message: string,\n public isSilent: boolean = false\n ) {\n super(message);\n }\n}\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 allowedSubtypes(): number[];\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}","export enum CadesType {\n Unknown = 0,\n NotCades = 1,\n CadesBes = 2,\n CadesEpes = 3,\n CadesT = 4,\n CadesC = 5,\n CadesXLongType1 = 6,\n CadesXLongType2 = 7,\n CadesA = 8\n}\n","export enum SignatureVerificationStatus\n{\n Unknown,\n Valid,\n ValidWithWarnings,\n CannotBeChecked,\n Duplicate,\n Invalid,\n Error,\n}\n","\nexport enum SubscriptionType {\n Shallow,\n Deep\n}","export enum Theme {\n Light,\n Dark\n}\n\nexport interface Themes {\n get theme(): Theme;\n}\n\n","export class SystemSettingsKeys {\n /**\n * Get's favorites feature key\n */\n public static readonly favoritesFeatureKey = \"Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc\";\n\n /**\n * Get's pilot storage drive letter feature key\n */\n public static readonly pilotStorageDriveLetter = \"PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc\";\n\n /**\n * Get's agreement roles feature key\n */\n public static readonly agreementRolesFeatureKey = \"AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d\";\n\n /**\n * Get's tasks filters feature key\n */\n public static readonly tasksFiltersFeatureKey = \"TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7\";\n\n /**\n * Get's annotation filter feature key\n */\n public static readonly annotationFilterFeatureKey = \"AnnotationFilter-F151E782-6CEB-44AF-ADF1-AFB0A0FAB95E\";\n\n /**\n * Get's annotation filter feature key\n */\n public static readonly personalAnnotationFilterFeatureKey = \"PersonalAnnotationFilter-9382f499-c1b9-433f-95bb-d83195d52121\";\n\n /**\n * Get's mounted on Pilot-Storage items feature key\n */\n public static readonly mountedItemsList = \"MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b\";\n\n /**\n * Get's Pilot-Storage work folders feature key\n */\n public static readonly workfoldersList = \"Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86\";\n\n /**\n * Get's selection path of the DocumentsExplorer\n */\n public static readonly tabsState = \"TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f\";\n\n /**\n * Get's auto blocking file extensions feature key\n */\n public static readonly autoBlockingFileExtensionsFeatureKey = \"AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3\";\n\n /**\n * Get's auto commiting file extensions feature key\n */\n public static readonly autoCommitingFileExtensionsFeatureKey = \" AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666\";\n\n /**\n * Get's auto updating files feature key\n */\n public static readonly autoUpdatingFilesFeatureKey = \"AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5\";\n\n /**\n * Get's auto publishing settings feature key\n */\n public static readonly autoPublishingExtensionsFeatureKey = \"AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416\";\n\n /**\n * Get's eml attributes dictionary feature key\n */\n public static readonly emlAttributesDictionaryKeyFeatureKey = \"EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F\";\n\n /**\n * Get's documents autofill feature key\n */\n public static readonly docsAutoFillFeatureKey = \"DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186\";\n\n /**\n * User-defined temp files regex masks\n */\n public static readonly tempFileMasksFeatureKey = \"TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3\";\n\n /**\n * User-defined Export/Import settings\n */\n public static readonly exportImportFeatureKey = \"ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C\";\n\n /**\n * User-defined digital signature title\n */\n public static readonly digitalSignatureTitleFeatureKey = \"DigitalSignatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9\";\n\n /**\n * Enhanced signature service settings\n */\n public static readonly advancedSignatureFeatureKey = \"AdvancedSignatureFeatureKey-D267127C-DCED-4DEC-B1A8-6E7A919E383D\";\n}\n","/*\n * Public API Surface of pilot-web-sdk\n */\nexport * from './lib/base/index';\nexport * from './lib/idata.plugin';\nexport * from './lib/icrypto-provider';\nexport * from './lib/injectable/index';\nexport * from './lib/toolbar/index';\nexport * from './lib/object-card';\nexport * from './lib/openspace/index';\nexport * from './lib/page-navigation';\nexport * from './lib/tabs/index';\nexport * from './lib/menu/index';\nexport * from './lib/modifier/index';\nexport * from './lib/contexts/index';\nexport * from './lib/tools/index';\nexport * from './lib/data/index';\nexport * from './lib/personal-settings/index';\nexport * from './lib/commands/index';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"MAAsB,WAAW,CAAA;AAC/B,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,IAAI,CAAC,WAAW,IAAI,WAAW,EAAE;AACnC,YAAA,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAC3D;;AAGH;;AAEG;IACH,OAAO,GAAA;AACL,QAAA,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;;AAE7D;;MCXqB,cAAc,CAAA;AAClC,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,IAAI,CAAC,WAAW,IAAI,cAAc,EAAE;AACtC,YAAA,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAC3D;;AAGH;;AAEG;AACH,IAAA,UAAU,CAAC,eAAgC,EAAA;AACzC,QAAA,MAAM,IAAI,KAAK,CAAC,4EAA4E,CAAC;;AAEhG;;ACfD;;AAEG;MACmB,WAAW,CAAA;AAC/B,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,IAAI,CAAC,WAAW,IAAI,WAAW,EAAE;AACnC,YAAA,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAC3D;;AAEJ;;ACLD;;;AAGG;MACmB,eAAe,CAAA;AAEnC,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,IAAI,CAAC,WAAW,IAAI,eAAe,EAAE;AACvC,YAAA,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAC3D;;AAGH;;;;;;;;;AASG;IACH,IAAI,CAAC,UAAkB,EAAE,UAAiB,EAAE,WAAwB,EAAE,WAAyB,EAAE,mBAA6B,EAAA;AAC5H,QAAA,MAAM,IAAI,KAAK,CAAC,wIAAwI,CAAC;;AAG3J;;;;;;;;;;;;;;;;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,sBAAsB,GAAG,mDAAmD;AAEnG;;AAEG;AACI,IAAA,OAAgB,0BAA0B,GAAG,uDAAuD;AAE3G;;AAEG;AACI,IAAA,OAAgB,kCAAkC,GAAG,+DAA+D;AAE3H;;AAEG;AACI,IAAA,OAAgB,gBAAgB,GAAG,mDAAmD;AAE7F;;AAEG;AACI,IAAA,OAAgB,eAAe,GAAG,kDAAkD;AAE3F;;AAEG;AACI,IAAA,OAAgB,SAAS,GAAG,gDAAgD;AAEnF;;AAEG;AACI,IAAA,OAAgB,oCAAoC,GAAG,iEAAiE;AAE/H;;AAEG;AACI,IAAA,OAAgB,qCAAqC,GAAG,mEAAmE;AAElI;;AAEG;AACI,IAAA,OAAgB,2BAA2B,GAAG,iEAAiE;AAEtH;;AAEG;AACI,IAAA,OAAgB,kCAAkC,GAAG,+DAA+D;AAE3H;;AAEG;AACI,IAAA,OAAgB,oCAAoC,GAAG,8DAA8D;AAE5H;;AAEG;AACI,IAAA,OAAgB,sBAAsB,GAAG,6DAA6D;AAE7G;;AAEG;AACI,IAAA,OAAgB,uBAAuB,GAAG,8DAA8D;AAE/G;;AAEG;AACI,IAAA,OAAgB,sBAAsB,GAAG,6DAA6D;AAE7G;;AAEG;AACI,IAAA,OAAgB,+BAA+B,GAAG,sEAAsE;AAE/H;;AAEG;AACI,IAAA,OAAgB,2BAA2B,GAAG,kEAAkE;;;AC9FzH;;AAEG;;ACFH;;AAEG;;;;"}
|
@@ -3,6 +3,7 @@ import { IFile, IImportedSignatureVerificationResult, ISignatureRequest, ISignat
|
|
3
3
|
import { ICertificate } from './data/certificate';
|
4
4
|
/**
|
5
5
|
* Represents a cryptographic provider interface for signing, verifying, and retrieving certificates.
|
6
|
+
* @exposedInterface
|
6
7
|
*/
|
7
8
|
export declare abstract class ICryptoProvider {
|
8
9
|
constructor();
|