import { NodeEntry, SiteEntry, Node, Group, RepositoryInfo } from '@alfresco/js-api'; import * as i0 from '@angular/core'; import { Type, InjectionToken, OnInit, OnChanges, OnDestroy, ViewContainerRef, EventEmitter, SimpleChanges, AfterViewInit, ModuleWithProviders, Provider, EnvironmentProviders } from '@angular/core'; import { MatMenuItem } from '@angular/material/menu'; import { Observable, BehaviorSubject } from 'rxjs'; import { CanActivateFn } from '@angular/router'; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface ExtensionElement { id: string; order?: number; disabled?: boolean; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const ContentActionType: { readonly default: "default"; readonly button: "button"; readonly separator: "separator"; readonly menu: "menu"; readonly custom: "custom"; }; type ContentActionType = (typeof ContentActionType)[keyof typeof ContentActionType]; interface ContentActionRef extends ExtensionElement { type: ContentActionType; title?: string; tooltip?: string; description?: string; icon?: string; children?: Array; component?: string; data?: any; color?: string; actions?: { [key: string]: string; click?: string; }; rules?: { [key: string]: string; enabled?: string; visible?: string; }; } interface ActionRef { id: string; type: string; payload?: any; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface DataColumnTypes { text: string; image: string; date: string; json: string; icon: string; fileSize: string; location: string; boolean: string; amount: string; number: string; } type DataColumnType = keyof DataColumnTypes; interface DocumentListPresetRef extends ExtensionElement { key: string; type: DataColumnType; title?: string; format?: string; class?: string; sortable: boolean; template: string; desktopOnly: boolean; sortingKey: string; isHidden?: boolean; rules?: { [key: string]: string; visible?: string; }; draggable?: boolean; resizable?: boolean; maxTextLength?: number; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const getValue: (target: any, key: string) => any; declare const filterEnabled: (entry: { disabled?: boolean; }) => boolean; declare const sortByOrder: (a: { order?: number | undefined; }, b: { order?: number | undefined; }) => number; declare const reduceSeparators: (acc: ContentActionRef[], el: ContentActionRef, i: number, arr: ContentActionRef[]) => ContentActionRef[]; declare const reduceEmptyMenus: (acc: ContentActionRef[], el: ContentActionRef) => ContentActionRef[]; declare const mergeObjects: (...objects: any[]) => any; declare const mergeArrays: (left: any[], right: any[]) => any[]; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface RouteRef { id: string; path: string; component: string; parentRoute?: string; layout?: string; auth?: string[]; data?: { [key: string]: string; }; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface SelectionState { count: number; nodes: NodeEntry[]; libraries: SiteEntry[]; isEmpty: boolean; first?: NodeEntry; last?: NodeEntry; folder?: NodeEntry; file?: NodeEntry; library?: SiteEntry; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface NavigationState { currentFolder?: Node; url?: string; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface NodePermissions { check(source: any, permissions: string[], options?: any): boolean; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface ProfileState { [key: string]: any; id: string; isAdmin: boolean; firstName: string; lastName: string; userName?: string; initials?: string; groups?: Group[]; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ type RuleEvaluator = (context: RuleContext, ...args: any[]) => boolean; interface RuleContext { repository: RepositoryInfo; auth: any; selection: SelectionState; navigation: NavigationState; profile: ProfileState; permissions: NodePermissions; getEvaluator(key: string): RuleEvaluator; } declare class RuleRef { type: string; id?: string; parameters?: Array; } interface RuleParameter { type: string; value: any; parameters?: Array; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface ExtensionRef { $id: string; $name: string; $version: string; $vendor: string; $license: string; $runtime?: string; $description?: string; $dependencies?: Array; appConfig?: any; rules?: Array; routes?: Array; actions?: Array; features?: { [key: string]: any; }; } interface ExtensionConfig extends ExtensionRef { $references?: Array; $ignoreReferenceList?: Array; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface IconRef extends ExtensionElement { value: string; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface NavBarRules { [ruleId: string]: string; } interface NavBarGroupRef extends ExtensionElement { items: Array; rules?: NavBarRules; } interface NavBarLinkRef extends ExtensionElement { icon: string; title: string; route: string; provider?: string; component?: string; url?: string; description?: string; children?: Array; rules?: NavBarRules; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface SidebarTabRef extends ExtensionElement { title: string; component: string; icon?: string; rules?: { [key: string]: string; visible?: string; }; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface ViewerExtensionRef extends ExtensionElement { fileExtension: string; component: string; rules?: { [key: string]: string; visible?: string; }; } declare class ExtensionLoaderService { private readonly http; load(configPath: string, pluginsPath: string, extensions?: string[], extensionValues?: ExtensionConfig[]): Promise; /** * Retrieves configuration elements. * Filters element by **enabled** and **order** attributes. * Example: * `getElements(config, 'features.viewer.extensions')` * @param config configuration settings * @param key element key * @param fallback fallback array of values * @returns list of elements */ getElements(config: ExtensionConfig, key: string, fallback?: Array): Array; getContentActions(config: ExtensionConfig, key: string): Array; getRules(config: ExtensionConfig): Array; getRoutes(config: ExtensionConfig): Array; getActions(config: ExtensionConfig): Array; getFeatures(config: ExtensionConfig): any; protected getMetadata(config: ExtensionConfig): ExtensionRef; protected loadConfig(url: string, order: number): Promise<{ order: number; config: ExtensionConfig; }>; protected setActionDefaults(action: ContentActionRef): ContentActionRef; private filterIgnoredExtensions; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface ExtensionComponent { data: any; menuItem?: MatMenuItem; } declare class ComponentRegisterService { components: Record>; setComponents(values: Record>): void; getComponentById(id: string): Type; hasComponentById(id: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class RuleService { protected loader: ExtensionLoaderService; context: RuleContext; rules: Array; evaluators: { [key: string]: RuleEvaluator; }; setup(config: ExtensionConfig): void; /** * Adds one or more new rule evaluators to the existing set. * @param values The new evaluators to add */ setEvaluators(values: Record): void; /** * Retrieves a rule using its ID value. * @param id The ID value to look for * @returns The rule or null if not found */ getRuleById(id: string): RuleRef; /** * Retrieves a RuleEvaluator function using its key name. * @param key Key name to look for * @returns RuleEvaluator or null if not found */ getEvaluator(key: string): RuleEvaluator; /** * Evaluates a rule. * @param ruleId ID of the rule to evaluate * @param context Custom rule execution context. * @returns True if the rule passed, false otherwise */ evaluateRule(ruleId: string, context?: RuleContext): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * The default extensions factory * @returns the list of extension json files */ declare function extensionJsonsFactory(): any[]; declare const EXTENSION_JSONS: InjectionToken; declare const EXTENSION_JSON_VALUES: InjectionToken; /** * Provides the extension json values for the angular modules * @param jsons files to provide * @returns a provider section */ declare function provideExtensionConfig(jsons: string[]): { provide: InjectionToken; useValue: string[]; multi: boolean; }; /** * Provides the extension json raw values for the angular modules * @param extensionConfigValue config value * @returns a provider section */ declare function provideExtensionConfigValues(extensionConfigValue: ExtensionConfig[]): { provide: InjectionToken; useValue: ExtensionConfig[]; multi: boolean; }; declare class ExtensionService { protected loader: ExtensionLoaderService; protected componentRegister: ComponentRegisterService; protected ruleService: RuleService; protected extensionJsons: string[][]; protected extensionJsonValues: string[][]; configPath: string; pluginsPath: string; routes: Array; actions: Array; features: Array; authGuards: Record; setup$: Observable; protected config: ExtensionConfig; protected onSetup$: BehaviorSubject; constructor(); /** * Loads and registers an extension config file and plugins (specified by path properties). * @returns The loaded config data */ load(): Promise; /** * Registers extensions from a config object. * @param config Object with config data */ setup(config: ExtensionConfig): void; /** * Gets features by key. * @param key Key string using dot notation or array of strings * @param defaultValue Default value returned if feature is not found, default is empty array * @returns Feature found by key */ getFeature(key: string | string[], defaultValue?: any): T; getElements(key: string, fallback?: Array): Array; /** * Adds one or more new rule evaluators to the existing set. * @param values The new evaluators to add */ setEvaluators(values: Record): void; /** * Adds one or more new auth guards to the existing set. * @param values The new auth guards to add */ setAuthGuards(values: Record): void; /** * Adds one or more new components to the existing set. * @param values The new components to add */ setComponents(values: Record>): void; /** * Retrieves a route using its ID value. * @param id The ID value to look for * @returns The route or null if not found */ getRouteById(id: string): RouteRef; /** * Retrieves one or more auth guards using an array of ID values. * @param ids Array of ID value to look for * @returns Array of auth guards or empty array if none were found */ getAuthGuards(ids: string[]): Array; /** * Retrieves an action using its ID value. * @param id The ID value to look for * @returns Action or null if not found */ getActionById(id: string): ActionRef; /** * Retrieves a RuleEvaluator function using its key name. * @param key Key name to look for * @returns RuleEvaluator or null if not found */ getEvaluator(key: string): RuleEvaluator; /** * Evaluates a rule. * @param ruleId ID of the rule to evaluate * @param context Custom rule execution context. * @returns True if the rule passed, false otherwise */ evaluateRule(ruleId: string, context?: RuleContext): boolean; /** * Retrieves a registered extension component using its ID value. * @param id The ID value to look for * @returns The component or null if not found */ getComponentById(id: string): Type; /** * Retrieves a rule using its ID value. * @param id The ID value to look for * @returns The rule or null if not found */ getRuleById(id: string): RuleRef; /** * Runs a lightweight expression stored in a string. * @param value String containing the expression or literal value * @param context Parameter object for the expression with details of app state * @returns Result of evaluated expression, if found, or the literal value otherwise */ runExpression(value: string | any, context?: any): any; private evaluateExpression; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class AppExtensionService { protected extensionService: ExtensionService; references$: Observable; private readonly _references; constructor(); load(): Promise; setup(config: ExtensionConfig): void; /** * Provides a collection of document list columns for the particular preset. * The result is filtered by the **disabled** state. * @param key Preset key. * @returns list of document list presets */ getDocumentListPreset(key: string): DocumentListPresetRef[]; /** * Provides a list of the Viewer content extensions, * filtered by **disabled** state and **rules**. * @returns list of viewer extension references */ getViewerExtensions(): ViewerExtensionRef[]; protected isViewerExtensionDisabled(extension: ViewerExtensionRef): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface RepositoryState { isAuditEnabled?: boolean; isQuickShareEnabled?: boolean; isReadOnly?: boolean; isThumbnailGenerationEnabled?: boolean; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface ViewerExtensionInterface { url: string; nameFile: string; node: Node; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class PreviewExtensionComponent implements OnInit, OnChanges, OnDestroy { private readonly extensionService; content: ViewContainerRef; /** ID string of the component to preview. */ id: string; /** Identifier of a node that is opened by the viewer. */ nodeId: string; /** URL of the content in the repository. */ url: string; /** File extension (.jpg, .png, etc) for the viewer. */ extension: string; contentLoaded: EventEmitter; private readonly destroyRef; private componentRef; ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; private updateInstance; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DynamicColumnComponent implements OnInit, OnChanges, OnDestroy { private readonly extensions; content: ViewContainerRef; id: string; context: any; private componentRef; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private updateInstance; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DynamicExtensionComponent implements OnChanges, OnDestroy, AfterViewInit { private readonly extensions; content: ViewContainerRef; /** Unique ID string for the component to show. */ id: string; /** Data for the dynamically-loaded component instance. */ data: any; /** Provides the menu item of dynamically-loaded component instance. */ menuItem: MatMenuItem; private componentRef; private loaded; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; ngAfterViewInit(): void; private loadComponent; private updateInstance; private proxy; private componentCreated; private lifecycleHookIsImplemented; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DynamicTabComponent implements OnInit, OnChanges, OnDestroy { private readonly extensions; content: ViewContainerRef; /** Unique ID string for the component to show. */ id: string; node: Node; private componentRef; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private updateInstance; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** @deprecated use provideAppExtensions() api instead */ declare class ExtensionsModule { static forRoot(): ModuleWithProviders; /** * @deprecated use provideAppExtensions() api instead * @returns Module with providers */ static forChild(): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Provides all necessary entries for the app extensibility * @returns list of providers */ declare function provideAppExtensions(): (Provider | EnvironmentProviders)[]; /** * Provides a way to register extension entities in a single API * * Example: * ```typescript * providers: [ * provideExtensions({ * authGuards: { * auth1: guard1, * auth2: guard2 * }, * evaluators: { * eval1: evaluator1, * eval2: evaluator2 * }, * components: { * component: component1 * } * }); * ] * ``` * @param params Parameters for the api * @param params.authGuards Auth guards to register * @param params.evaluators Rule evaluators to register * @param params.components Components to register * @returns list of Angular providers */ declare function provideExtensions(params: { authGuards?: Record; evaluators?: Record; components?: Record>; }): EnvironmentProviders[]; export { AppExtensionService, ComponentRegisterService, ContentActionType, DynamicColumnComponent, DynamicExtensionComponent, DynamicTabComponent, EXTENSION_JSONS, EXTENSION_JSON_VALUES, ExtensionLoaderService, ExtensionService, ExtensionsModule, PreviewExtensionComponent, RuleRef, RuleService, extensionJsonsFactory, filterEnabled, getValue, mergeArrays, mergeObjects, provideAppExtensions, provideExtensionConfig, provideExtensionConfigValues, provideExtensions, reduceEmptyMenus, reduceSeparators, sortByOrder }; export type { ActionRef, ContentActionRef, DataColumnType, DataColumnTypes, DocumentListPresetRef, ExtensionComponent, ExtensionConfig, ExtensionElement, ExtensionRef, IconRef, NavBarGroupRef, NavBarLinkRef, NavBarRules, NavigationState, NodePermissions, ProfileState, RepositoryState, RouteRef, RuleContext, RuleEvaluator, RuleParameter, SelectionState, SidebarTabRef, ViewerExtensionInterface, ViewerExtensionRef };