@alfresco/aca-shared 5.1.1 → 5.2.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.
- package/esm2022/lib/components/document-base-page/document-base-page.component.mjs +226 -0
- package/esm2022/lib/components/generic-error/generic-error.component.mjs +42 -0
- package/esm2022/lib/components/info-drawer/info-drawer.component.mjs +141 -0
- package/esm2022/lib/components/locked-by/locked-by.component.mjs +57 -0
- package/esm2022/lib/components/open-in-app/open-in-app.component.mjs +73 -0
- package/esm2022/lib/components/page-layout/page-layout-content.component.mjs +49 -0
- package/esm2022/lib/components/page-layout/page-layout-error.component.mjs +43 -0
- package/esm2022/lib/components/page-layout/page-layout-header.component.mjs +43 -0
- package/esm2022/lib/components/page-layout/page-layout.component.mjs +64 -0
- package/esm2022/lib/components/page-layout/page-layout.module.mjs +43 -0
- package/esm2022/lib/components/toolbar/toolbar-action/toolbar-action.component.mjs +63 -0
- package/esm2022/lib/components/toolbar/toolbar-button/toolbar-button.component.mjs +79 -0
- package/esm2022/lib/components/toolbar/toolbar-menu/toolbar-menu.component.mjs +92 -0
- package/esm2022/lib/components/toolbar/toolbar-menu-item/toolbar-menu-item.component.mjs +76 -0
- package/esm2022/lib/components/toolbar/toolbar.component.mjs +46 -0
- package/esm2022/lib/deprecated/shared-toolbar.module.mjs +44 -0
- package/esm2022/lib/deprecated/shared.module.mjs +45 -0
- package/esm2022/lib/directives/contextmenu/contextmenu.directive.mjs +114 -0
- package/esm2022/lib/directives/pagination.directive.mjs +59 -0
- package/esm2022/lib/services/aca-mobile-app-switcher.service.mjs +130 -0
- package/esm2022/lib/services/app-hook.service.mjs +78 -0
- package/esm2022/lib/services/app-settings.service.mjs +157 -0
- package/esm2022/lib/services/app.extension.service.mjs +481 -0
- package/esm2022/lib/services/app.service.mjs +239 -0
- package/esm2022/lib/services/auto-download.service.mjs +59 -0
- package/esm2022/lib/services/content-api.service.mjs +281 -0
- package/esm2022/lib/services/navigation-history.service.mjs +55 -0
- package/esm2022/lib/services/node-permission.service.mjs +88 -0
- package/esm2022/lib/services/router.extension.service.mjs +108 -0
- package/esm2022/lib/services/user-profile.service.mjs +76 -0
- package/esm2022/lib/testing/lib-testing-module.mjs +163 -0
- package/esm2022/public-api.mjs +62 -0
- package/esm2022/store/actions/app.actions.mjs +116 -0
- package/esm2022/store/actions/context-menu-action-types.mjs +29 -0
- package/esm2022/store/actions/contextmenu.actions.mjs +41 -0
- package/esm2022/store/actions/library.actions.mjs +67 -0
- package/esm2022/store/actions/metadata-aspect.actions.mjs +32 -0
- package/esm2022/store/actions/node.actions.mjs +217 -0
- package/esm2022/store/actions/router.actions.mjs +56 -0
- package/esm2022/store/actions/search-ai.actions.mjs +45 -0
- package/esm2022/store/actions/search.actions.mjs +41 -0
- package/esm2022/store/actions/snackbar.actions.mjs +68 -0
- package/esm2022/store/actions/template.actions.mjs +45 -0
- package/esm2022/store/actions/upload.actions.mjs +53 -0
- package/esm2022/store/actions/viewer.actions.mjs +93 -0
- package/esm2022/store/effects/router.effects.mjs +110 -0
- package/esm2022/store/effects/snackbar.effects.mjs +80 -0
- package/{fesm2020 → fesm2022}/alfresco-aca-shared-store.mjs +219 -142
- package/fesm2022/alfresco-aca-shared-store.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/alfresco-aca-shared.mjs +466 -301
- package/fesm2022/alfresco-aca-shared.mjs.map +1 -0
- package/lib/components/document-base-page/document-base-page.component.d.ts +7 -3
- package/lib/components/generic-error/generic-error.component.d.ts +1 -1
- package/lib/components/info-drawer/info-drawer.component.d.ts +1 -1
- package/lib/components/locked-by/locked-by.component.d.ts +1 -1
- package/lib/components/page-layout/page-layout-content.component.d.ts +1 -1
- package/lib/components/page-layout/page-layout.component.d.ts +1 -1
- package/lib/components/toolbar/toolbar-action/toolbar-action.component.d.ts +1 -1
- package/lib/components/toolbar/toolbar-button/toolbar-button.component.d.ts +1 -1
- package/lib/components/toolbar/toolbar-menu/toolbar-menu.component.d.ts +1 -1
- package/lib/components/toolbar/toolbar-menu-item/toolbar-menu-item.component.d.ts +1 -1
- package/lib/components/toolbar/toolbar.component.d.ts +1 -1
- package/lib/directives/contextmenu/contextmenu.directive.d.ts +3 -1
- package/lib/services/app-hook.service.d.ts +6 -6
- package/lib/services/app-settings.service.d.ts +12 -0
- package/lib/services/app.service.d.ts +1 -1
- package/lib/services/navigation-history.service.d.ts +13 -0
- package/lib/services/node-permission.service.d.ts +1 -1
- package/package.json +15 -25
- package/public-api.d.ts +1 -0
- package/store/actions/context-menu-action-types.d.ts +2 -1
- package/store/actions/contextmenu.actions.d.ts +7 -0
- package/store/actions/search-ai.actions.d.ts +2 -1
- package/store/effects/router.effects.d.ts +1 -5
- package/store/effects/snackbar.effects.d.ts +0 -29
- package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +0 -206
- package/esm2020/lib/components/generic-error/generic-error.component.mjs +0 -43
- package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +0 -132
- package/esm2020/lib/components/locked-by/locked-by.component.mjs +0 -54
- package/esm2020/lib/components/open-in-app/open-in-app.component.mjs +0 -68
- package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +0 -50
- package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +0 -42
- package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +0 -42
- package/esm2020/lib/components/page-layout/page-layout.component.mjs +0 -61
- package/esm2020/lib/components/page-layout/page-layout.module.mjs +0 -42
- package/esm2020/lib/components/toolbar/toolbar-action/toolbar-action.component.mjs +0 -58
- package/esm2020/lib/components/toolbar/toolbar-button/toolbar-button.component.mjs +0 -74
- package/esm2020/lib/components/toolbar/toolbar-menu/toolbar-menu.component.mjs +0 -87
- package/esm2020/lib/components/toolbar/toolbar-menu-item/toolbar-menu-item.component.mjs +0 -71
- package/esm2020/lib/components/toolbar/toolbar.component.mjs +0 -44
- package/esm2020/lib/deprecated/shared-toolbar.module.mjs +0 -43
- package/esm2020/lib/deprecated/shared.module.mjs +0 -44
- package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +0 -104
- package/esm2020/lib/directives/pagination.directive.mjs +0 -55
- package/esm2020/lib/services/aca-mobile-app-switcher.service.mjs +0 -129
- package/esm2020/lib/services/app-hook.service.mjs +0 -79
- package/esm2020/lib/services/app-settings.service.mjs +0 -140
- package/esm2020/lib/services/app.extension.service.mjs +0 -462
- package/esm2020/lib/services/app.service.mjs +0 -221
- package/esm2020/lib/services/auto-download.service.mjs +0 -60
- package/esm2020/lib/services/content-api.service.mjs +0 -268
- package/esm2020/lib/services/node-permission.service.mjs +0 -89
- package/esm2020/lib/services/router.extension.service.mjs +0 -105
- package/esm2020/lib/services/user-profile.service.mjs +0 -77
- package/esm2020/lib/testing/lib-testing-module.mjs +0 -161
- package/esm2020/public-api.mjs +0 -61
- package/esm2020/store/actions/app.actions.mjs +0 -108
- package/esm2020/store/actions/context-menu-action-types.mjs +0 -28
- package/esm2020/store/actions/contextmenu.actions.mjs +0 -31
- package/esm2020/store/actions/library.actions.mjs +0 -63
- package/esm2020/store/actions/metadata-aspect.actions.mjs +0 -31
- package/esm2020/store/actions/node.actions.mjs +0 -188
- package/esm2020/store/actions/router.actions.mjs +0 -54
- package/esm2020/store/actions/search-ai.actions.mjs +0 -41
- package/esm2020/store/actions/search.actions.mjs +0 -41
- package/esm2020/store/actions/snackbar.actions.mjs +0 -57
- package/esm2020/store/actions/template.actions.mjs +0 -47
- package/esm2020/store/actions/upload.actions.mjs +0 -49
- package/esm2020/store/actions/viewer.actions.mjs +0 -81
- package/esm2020/store/effects/router.effects.mjs +0 -114
- package/esm2020/store/effects/snackbar.effects.mjs +0 -85
- package/fesm2015/alfresco-aca-shared-rules.mjs +0 -795
- package/fesm2015/alfresco-aca-shared-rules.mjs.map +0 -1
- package/fesm2015/alfresco-aca-shared-store.mjs +0 -1278
- package/fesm2015/alfresco-aca-shared-store.mjs.map +0 -1
- package/fesm2015/alfresco-aca-shared.mjs +0 -3278
- package/fesm2015/alfresco-aca-shared.mjs.map +0 -1
- package/fesm2020/alfresco-aca-shared-store.mjs.map +0 -1
- package/fesm2020/alfresco-aca-shared.mjs.map +0 -1
- /package/{esm2020 → esm2022}/alfresco-aca-shared.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/adf-extensions/extensions-data-loader.guard.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/document-base-page/document-base-page.service.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/constants/mime-types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/viewer.rules.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/routing/plugin-enabled.guard.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/routing/shared.guard.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/utils/node.utils.mjs +0 -0
- /package/{esm2020 → esm2022}/rules/alfresco-aca-shared-rules.mjs +0 -0
- /package/{esm2020 → esm2022}/rules/app.rules.mjs +0 -0
- /package/{esm2020 → esm2022}/rules/navigation.rules.mjs +0 -0
- /package/{esm2020 → esm2022}/rules/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/rules/repository.rules.mjs +0 -0
- /package/{esm2020 → esm2022}/rules/user.rules.mjs +0 -0
- /package/{esm2020 → esm2022}/store/actions/app-action-types.mjs +0 -0
- /package/{esm2020 → esm2022}/store/actions/router-action-types.mjs +0 -0
- /package/{esm2020 → esm2022}/store/actions/template-action-types.mjs +0 -0
- /package/{esm2020 → esm2022}/store/alfresco-aca-shared-store.mjs +0 -0
- /package/{esm2020 → esm2022}/store/models/ai-search-by-term-payload.mjs +0 -0
- /package/{esm2020 → esm2022}/store/models/delete-status.model.mjs +0 -0
- /package/{esm2020 → esm2022}/store/models/deleted-node-info.model.mjs +0 -0
- /package/{esm2020 → esm2022}/store/models/modal-configuration.mjs +0 -0
- /package/{esm2020 → esm2022}/store/models/node-info.model.mjs +0 -0
- /package/{esm2020 → esm2022}/store/models/search-option.model.mjs +0 -0
- /package/{esm2020 → esm2022}/store/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/store/selectors/app.selectors.mjs +0 -0
- /package/{esm2020 → esm2022}/store/states/app.state.mjs +0 -0
- /package/{fesm2020 → fesm2022}/alfresco-aca-shared-rules.mjs +0 -0
- /package/{fesm2020 → fesm2022}/alfresco-aca-shared-rules.mjs.map +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, inject, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, Injectable, Inject, NgModule, ViewChild, QueryList, ViewChildren, HostListener, Directive } from '@angular/core';
|
|
3
3
|
import { of, forkJoin, from, BehaviorSubject, Subject } from 'rxjs';
|
|
4
|
-
import { map, tap, catchError, filter, takeUntil, debounceTime } from 'rxjs/operators';
|
|
4
|
+
import { map, tap, catchError, filter, takeUntil, startWith, debounceTime } from 'rxjs/operators';
|
|
5
5
|
import * as i1 from '@alfresco/adf-core';
|
|
6
|
-
import { AppConfigService, CloseButtonPosition, NotificationService, IconComponent, IconModule, InfoDrawerModule, ShowHeaderMode, TranslationService, TranslationMock, TranslateLoaderService } from '@alfresco/adf-core';
|
|
6
|
+
import { AppConfigService, CloseButtonPosition, NotificationService, IconComponent, IconModule, InfoDrawerModule, ShowHeaderMode, UserPreferencesService, TranslationService, TranslationMock, TranslateLoaderService } from '@alfresco/adf-core';
|
|
7
7
|
import * as i4 from '@alfresco/adf-content-services';
|
|
8
8
|
import { AlfrescoApiService, GroupService, FileAutoDownloadComponent, DocumentListService, UploadService, SearchAiService, DocumentListComponent, AlfrescoApiServiceMock } from '@alfresco/adf-content-services';
|
|
9
9
|
import * as i7 from '@angular/cdk/overlay';
|
|
10
10
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
11
11
|
import * as i3 from '@angular/router';
|
|
12
|
-
import { ActivationEnd, NavigationStart, Router } from '@angular/router';
|
|
13
|
-
import { SetCurrentUrlAction, ResetSelectionAction, SetRepositoryInfoAction, SetUserProfileAction, getRuleContext, infoDrawerPreview, SetInfoDrawerStateAction, ToggleInfoDrawerAction, isInfoDrawerOpened, getAppSelection, getCurrentFolder, SetSelectedNodesAction, ViewNodeAction, ContextMenu, isQuickShareEnabled } from '@alfresco/aca-shared/store';
|
|
12
|
+
import { ActivationEnd, NavigationStart, NavigationEnd, Router } from '@angular/router';
|
|
13
|
+
import { SetCurrentUrlAction, ResetSelectionAction, SetRepositoryInfoAction, SetUserProfileAction, getRuleContext, infoDrawerPreview, SetInfoDrawerStateAction, ToggleInfoDrawerAction, isInfoDrawerOpened, getAppSelection, getCurrentFolder, SetSelectedNodesAction, ViewNodeAction, CustomContextMenu, ContextMenu, isQuickShareEnabled } from '@alfresco/aca-shared/store';
|
|
14
14
|
import { NodesApi, TrashcanApi, SharedlinksApi, DiscoveryApi, FavoritesApi, ContentApi, SitesApi, SearchApi, PeopleApi, VersionsApi, RepositoryInfo } from '@alfresco/js-api';
|
|
15
15
|
import * as i3$1 from '@alfresco/adf-extensions';
|
|
16
16
|
import { sortByOrder, reduceEmptyMenus, mergeObjects, mergeArrays, ContentActionType, reduceSeparators, DynamicExtensionComponent, DynamicTabComponent } from '@alfresco/adf-extensions';
|
|
@@ -125,13 +125,11 @@ const resetInvoked = () => {
|
|
|
125
125
|
*/
|
|
126
126
|
// @deprecated Use `.aca-page-layout-content` CSS selector instead
|
|
127
127
|
class PageLayoutContentComponent {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
128
|
+
scrollable = false;
|
|
129
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PageLayoutContentComponent, isStandalone: true, selector: "aca-page-layout-content", inputs: { scrollable: "scrollable" }, host: { properties: { "class.aca-scrollable": "this.scrollable" }, classAttribute: "aca-page-layout-content" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
PageLayoutContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PageLayoutContentComponent, isStandalone: true, selector: "aca-page-layout-content", inputs: { scrollable: "scrollable" }, host: { properties: { "class.aca-scrollable": "this.scrollable" }, classAttribute: "aca-page-layout-content" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageLayoutContentComponent, decorators: [{
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutContentComponent, decorators: [{
|
|
135
133
|
type: Component,
|
|
136
134
|
args: [{
|
|
137
135
|
standalone: true,
|
|
@@ -173,10 +171,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
173
171
|
*/
|
|
174
172
|
// @deprecated Use `.aca-page-layout-error` selectors instead
|
|
175
173
|
class PageLayoutErrorComponent {
|
|
174
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
175
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PageLayoutErrorComponent, isStandalone: true, selector: "aca-page-layout-error", host: { classAttribute: "aca-page-layout-error" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
176
176
|
}
|
|
177
|
-
|
|
178
|
-
PageLayoutErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PageLayoutErrorComponent, isStandalone: true, selector: "aca-page-layout-error", host: { classAttribute: "aca-page-layout-error" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageLayoutErrorComponent, decorators: [{
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutErrorComponent, decorators: [{
|
|
180
178
|
type: Component,
|
|
181
179
|
args: [{
|
|
182
180
|
standalone: true,
|
|
@@ -213,10 +211,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
213
211
|
*/
|
|
214
212
|
// @deprecated Use `.aca-page-layout-header` CSS selector instead
|
|
215
213
|
class PageLayoutHeaderComponent {
|
|
214
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
215
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PageLayoutHeaderComponent, isStandalone: true, selector: "aca-page-layout-header", host: { classAttribute: "aca-page-layout-header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
216
216
|
}
|
|
217
|
-
|
|
218
|
-
PageLayoutHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PageLayoutHeaderComponent, isStandalone: true, selector: "aca-page-layout-header", host: { classAttribute: "aca-page-layout-header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageLayoutHeaderComponent, decorators: [{
|
|
217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutHeaderComponent, decorators: [{
|
|
220
218
|
type: Component,
|
|
221
219
|
args: [{
|
|
222
220
|
standalone: true,
|
|
@@ -252,42 +250,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
252
250
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
253
251
|
*/
|
|
254
252
|
class ContentApiService {
|
|
253
|
+
api;
|
|
254
|
+
preferences;
|
|
255
|
+
_nodesApi;
|
|
255
256
|
get nodesApi() {
|
|
256
257
|
this._nodesApi = this._nodesApi ?? new NodesApi(this.api.getInstance());
|
|
257
258
|
return this._nodesApi;
|
|
258
259
|
}
|
|
260
|
+
_trashcanApi;
|
|
259
261
|
get trashcanApi() {
|
|
260
262
|
this._trashcanApi = this._trashcanApi ?? new TrashcanApi(this.api.getInstance());
|
|
261
263
|
return this._trashcanApi;
|
|
262
264
|
}
|
|
265
|
+
_sharedLinksApi;
|
|
263
266
|
get sharedLinksApi() {
|
|
264
267
|
this._sharedLinksApi = this._sharedLinksApi ?? new SharedlinksApi(this.api.getInstance());
|
|
265
268
|
return this._sharedLinksApi;
|
|
266
269
|
}
|
|
270
|
+
_discoveryApi;
|
|
267
271
|
get discoveryApi() {
|
|
268
272
|
this._discoveryApi = this._discoveryApi ?? new DiscoveryApi(this.api.getInstance());
|
|
269
273
|
return this._discoveryApi;
|
|
270
274
|
}
|
|
275
|
+
_favoritesApi;
|
|
271
276
|
get favoritesApi() {
|
|
272
277
|
this._favoritesApi = this._favoritesApi ?? new FavoritesApi(this.api.getInstance());
|
|
273
278
|
return this._favoritesApi;
|
|
274
279
|
}
|
|
280
|
+
_contentApi;
|
|
275
281
|
get contentApi() {
|
|
276
282
|
this._contentApi = this._contentApi ?? new ContentApi(this.api.getInstance());
|
|
277
283
|
return this._contentApi;
|
|
278
284
|
}
|
|
285
|
+
_sitesApi;
|
|
279
286
|
get sitesApi() {
|
|
280
287
|
this._sitesApi = this._sitesApi ?? new SitesApi(this.api.getInstance());
|
|
281
288
|
return this._sitesApi;
|
|
282
289
|
}
|
|
290
|
+
_searchApi;
|
|
283
291
|
get searchApi() {
|
|
284
292
|
this._searchApi = this._searchApi ?? new SearchApi(this.api.getInstance());
|
|
285
293
|
return this._searchApi;
|
|
286
294
|
}
|
|
295
|
+
_peopleApi;
|
|
287
296
|
get peopleApi() {
|
|
288
297
|
this._peopleApi = this._peopleApi ?? new PeopleApi(this.api.getInstance());
|
|
289
298
|
return this._peopleApi;
|
|
290
299
|
}
|
|
300
|
+
_versionsApi;
|
|
291
301
|
get versionsApi() {
|
|
292
302
|
this._versionsApi = this._versionsApi ?? new VersionsApi(this.api.getInstance());
|
|
293
303
|
return this._versionsApi;
|
|
@@ -477,10 +487,10 @@ class ContentApiService {
|
|
|
477
487
|
requestVersionDirectAccessUrl(nodeId, versionId) {
|
|
478
488
|
return from(this.versionsApi.requestDirectAccessUrl(nodeId, versionId));
|
|
479
489
|
}
|
|
490
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ContentApiService, deps: [{ token: i4.AlfrescoApiService }, { token: i1.UserPreferencesService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
491
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ContentApiService, providedIn: 'root' });
|
|
480
492
|
}
|
|
481
|
-
|
|
482
|
-
ContentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentApiService, providedIn: 'root' });
|
|
483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentApiService, decorators: [{
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ContentApiService, decorators: [{
|
|
484
494
|
type: Injectable,
|
|
485
495
|
args: [{
|
|
486
496
|
providedIn: 'root'
|
|
@@ -511,13 +521,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
511
521
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
512
522
|
*/
|
|
513
523
|
class RouterExtensionService {
|
|
524
|
+
router;
|
|
525
|
+
extensions;
|
|
526
|
+
defaults = {
|
|
527
|
+
layout: 'app.layout.main',
|
|
528
|
+
auth: ['app.auth']
|
|
529
|
+
};
|
|
514
530
|
constructor(router, extensions) {
|
|
515
531
|
this.router = router;
|
|
516
532
|
this.extensions = extensions;
|
|
517
|
-
this.defaults = {
|
|
518
|
-
layout: 'app.layout.main',
|
|
519
|
-
auth: ['app.auth']
|
|
520
|
-
};
|
|
521
533
|
}
|
|
522
534
|
mapExtensionRoutes() {
|
|
523
535
|
const routesWithoutParent = [];
|
|
@@ -576,10 +588,10 @@ class RouterExtensionService {
|
|
|
576
588
|
const routeIndex = this.router.config.findIndex((route) => route.path === parentRoute);
|
|
577
589
|
return this.router.config[routeIndex];
|
|
578
590
|
}
|
|
591
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: RouterExtensionService, deps: [{ token: i3.Router }, { token: i3$1.ExtensionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
592
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: RouterExtensionService, providedIn: 'root' });
|
|
579
593
|
}
|
|
580
|
-
|
|
581
|
-
RouterExtensionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RouterExtensionService, providedIn: 'root' });
|
|
582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RouterExtensionService, decorators: [{
|
|
594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: RouterExtensionService, decorators: [{
|
|
583
595
|
type: Injectable,
|
|
584
596
|
args: [{
|
|
585
597
|
providedIn: 'root'
|
|
@@ -610,10 +622,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
610
622
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
611
623
|
*/
|
|
612
624
|
class OpenInAppComponent {
|
|
625
|
+
data;
|
|
626
|
+
dialog;
|
|
627
|
+
redirectUrl;
|
|
628
|
+
appStoreUrl;
|
|
629
|
+
window = window;
|
|
613
630
|
constructor(data, dialog) {
|
|
614
631
|
this.data = data;
|
|
615
632
|
this.dialog = dialog;
|
|
616
|
-
this.window = window;
|
|
617
633
|
if (data) {
|
|
618
634
|
this.redirectUrl = data.redirectUrl;
|
|
619
635
|
this.appStoreUrl = data.appStoreUrl;
|
|
@@ -630,10 +646,10 @@ class OpenInAppComponent {
|
|
|
630
646
|
sessionStorage.setItem('mobile_notification_expires_in', time.toString());
|
|
631
647
|
this.dialog.close();
|
|
632
648
|
}
|
|
649
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: OpenInAppComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1$1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
650
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: OpenInAppComponent, isStandalone: true, selector: "aca-open-in-app", ngImport: i0, template: "<div class=\"aca-open-in-app\">\n <div class=\"aca-mobile-application-container\">\n <span>{{ 'APP.DIALOGS.MOBILE_APP.OPEN_ALFRESCO_MOBILE_APP' | translate }}</span>\n <button mat-icon-button mat-dialog-close class=\"aca-cross-button\" (click)=\"onCloseDialog()\" >\n <mat-icon class=\"aca-cross-button-icon\">close</mat-icon>\n </button>\n </div>\n\n <div class=\"aca-open-in-app-button-container\">\n <button mat-button (click)=\"openInApp()\"\n data-automation-id=\"open-in-app-button\"\n class=\"aca-open-in-app-button-container\" cdkFocusInitial>\n <span>{{ 'APP.DIALOGS.MOBILE_APP.MOBILE_APP_BUTTON_LABEL' | translate }}</span>\n </button>\n </div>\n\n <div class=\"aca-download-app-container\" *ngIf=\"appStoreUrl\">\n <button mat-button data-automation-id=\"download-app-button\" class=\"aca-download-app-container-button\" (click)=\"downloadIosApp()\">\n <span>{{ 'APP.DIALOGS.MOBILE_APP.DOWNLOAD_APP_BUTTON_LABEL' | translate }}</span>\n </button>\n </div>\n</div>\n", styles: ["aca-open-in-app .aca-open-in-app .aca-open-in-app-button-container{display:flex;place-content:center;padding:0;border-radius:8px;background-color:var(--theme-primary-color);height:48px;overflow-x:hidden;font-size:16px;color:#fff;font-weight:600}aca-open-in-app .aca-open-in-app .aca-open-in-app-button-container:focus-visible{outline:none;border-radius:unset}aca-open-in-app .aca-open-in-app .aca-download-app-container{display:flex;place-content:center;margin-top:12px;margin-bottom:16px}aca-open-in-app .aca-open-in-app .aca-download-app-container-button{background:var(--theme-dialog-background-color);color:var(--theme-primary-color);font-size:14px}aca-open-in-app .aca-open-in-app .aca-mobile-application-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-size:14px;padding:6px 0;margin-bottom:12px}aca-open-in-app .aca-open-in-app .aca-cross-button{padding-right:0}aca-open-in-app .aca-open-in-app .aca-cross-button:focus-visible{outline:none;border-radius:unset}aca-open-in-app .aca-open-in-app .aca-cross-button-icon{font-weight:700;font-size:20px}aca-open-in-app .aca-open-in-app .mat-mdc-button{--mat-mdc-button-persistent-ripple-color: unset;--mat-mdc-button-ripple-color: unset}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: A11yModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
633
651
|
}
|
|
634
|
-
|
|
635
|
-
OpenInAppComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: OpenInAppComponent, isStandalone: true, selector: "aca-open-in-app", ngImport: i0, template: "<div class=\"aca-open-in-app\">\n <div class=\"aca-mobile-application-container\">\n <span>{{ 'APP.DIALOGS.MOBILE_APP.OPEN_ALFRESCO_MOBILE_APP' | translate }}</span>\n <button mat-icon-button mat-dialog-close class=\"aca-cross-button\" (click)=\"onCloseDialog()\" >\n <mat-icon class=\"aca-cross-button-icon\">close</mat-icon>\n </button>\n </div>\n\n <div class=\"aca-open-in-app-button-container\">\n <button mat-button (click)=\"openInApp()\"\n data-automation-id=\"open-in-app-button\"\n class=\"aca-open-in-app-button-container\" cdkFocusInitial>\n <span>{{ 'APP.DIALOGS.MOBILE_APP.MOBILE_APP_BUTTON_LABEL' | translate }}</span>\n </button>\n </div>\n\n <div class=\"aca-download-app-container\" *ngIf=\"appStoreUrl\">\n <button mat-button data-automation-id=\"download-app-button\" class=\"aca-download-app-container-button\" (click)=\"downloadIosApp()\">\n <span>{{ 'APP.DIALOGS.MOBILE_APP.DOWNLOAD_APP_BUTTON_LABEL' | translate }}</span>\n </button>\n </div>\n</div>\n", styles: ["aca-open-in-app .aca-open-in-app .aca-open-in-app-button-container{display:flex;place-content:center;padding:0;border-radius:8px;background-color:var(--theme-primary-color);height:48px;overflow-x:hidden;font-size:16px;color:#fff;font-weight:600}aca-open-in-app .aca-open-in-app .aca-open-in-app-button-container:focus-visible{outline:none;border-radius:unset}aca-open-in-app .aca-open-in-app .aca-download-app-container{display:flex;place-content:center;margin-top:12px;margin-bottom:16px}aca-open-in-app .aca-open-in-app .aca-download-app-container-button{background:var(--theme-dialog-background-color);color:var(--theme-primary-color);font-size:14px}aca-open-in-app .aca-open-in-app .aca-mobile-application-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-size:14px;padding:6px 0;margin-bottom:12px}aca-open-in-app .aca-open-in-app .aca-cross-button{padding-right:0}aca-open-in-app .aca-open-in-app .aca-cross-button:focus-visible{outline:none;border-radius:unset}aca-open-in-app .aca-open-in-app .aca-cross-button-icon{font-weight:700;font-size:20px}aca-open-in-app .aca-open-in-app .mat-mdc-button{--mat-mdc-button-persistent-ripple-color: unset;--mat-mdc-button-ripple-color: unset}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: A11yModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OpenInAppComponent, decorators: [{
|
|
652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: OpenInAppComponent, decorators: [{
|
|
637
653
|
type: Component,
|
|
638
654
|
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatButtonModule, MatIconModule, A11yModule, MatDialogModule], selector: 'aca-open-in-app', encapsulation: ViewEncapsulation.None, template: "<div class=\"aca-open-in-app\">\n <div class=\"aca-mobile-application-container\">\n <span>{{ 'APP.DIALOGS.MOBILE_APP.OPEN_ALFRESCO_MOBILE_APP' | translate }}</span>\n <button mat-icon-button mat-dialog-close class=\"aca-cross-button\" (click)=\"onCloseDialog()\" >\n <mat-icon class=\"aca-cross-button-icon\">close</mat-icon>\n </button>\n </div>\n\n <div class=\"aca-open-in-app-button-container\">\n <button mat-button (click)=\"openInApp()\"\n data-automation-id=\"open-in-app-button\"\n class=\"aca-open-in-app-button-container\" cdkFocusInitial>\n <span>{{ 'APP.DIALOGS.MOBILE_APP.MOBILE_APP_BUTTON_LABEL' | translate }}</span>\n </button>\n </div>\n\n <div class=\"aca-download-app-container\" *ngIf=\"appStoreUrl\">\n <button mat-button data-automation-id=\"download-app-button\" class=\"aca-download-app-container-button\" (click)=\"downloadIosApp()\">\n <span>{{ 'APP.DIALOGS.MOBILE_APP.DOWNLOAD_APP_BUTTON_LABEL' | translate }}</span>\n </button>\n </div>\n</div>\n", styles: ["aca-open-in-app .aca-open-in-app .aca-open-in-app-button-container{display:flex;place-content:center;padding:0;border-radius:8px;background-color:var(--theme-primary-color);height:48px;overflow-x:hidden;font-size:16px;color:#fff;font-weight:600}aca-open-in-app .aca-open-in-app .aca-open-in-app-button-container:focus-visible{outline:none;border-radius:unset}aca-open-in-app .aca-open-in-app .aca-download-app-container{display:flex;place-content:center;margin-top:12px;margin-bottom:16px}aca-open-in-app .aca-open-in-app .aca-download-app-container-button{background:var(--theme-dialog-background-color);color:var(--theme-primary-color);font-size:14px}aca-open-in-app .aca-open-in-app .aca-mobile-application-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-size:14px;padding:6px 0;margin-bottom:12px}aca-open-in-app .aca-open-in-app .aca-cross-button{padding-right:0}aca-open-in-app .aca-open-in-app .aca-cross-button:focus-visible{outline:none;border-radius:unset}aca-open-in-app .aca-open-in-app .aca-cross-button-icon{font-weight:700;font-size:20px}aca-open-in-app .aca-open-in-app .mat-mdc-button{--mat-mdc-button-persistent-ripple-color: unset;--mat-mdc-button-ripple-color: unset}\n"] }]
|
|
639
655
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -665,10 +681,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
665
681
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
666
682
|
*/
|
|
667
683
|
class AcaMobileAppSwitcherService {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
684
|
+
redirectUrl;
|
|
685
|
+
dialogRef;
|
|
686
|
+
config = inject(AppConfigService);
|
|
687
|
+
dialog = inject(MatDialog);
|
|
672
688
|
get appStoreUrl() {
|
|
673
689
|
const defaultValue = 'https://apps.apple.com/us/app/alfresco-mobile-workspace/id1514434480';
|
|
674
690
|
return this.config.get('mobileAppSwitch.appStoreUrl', defaultValue);
|
|
@@ -755,10 +771,10 @@ class AcaMobileAppSwitcherService {
|
|
|
755
771
|
this.dialogRef = null;
|
|
756
772
|
}
|
|
757
773
|
}
|
|
774
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AcaMobileAppSwitcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
775
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AcaMobileAppSwitcherService, providedIn: 'root' });
|
|
758
776
|
}
|
|
759
|
-
|
|
760
|
-
AcaMobileAppSwitcherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AcaMobileAppSwitcherService, providedIn: 'root' });
|
|
761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AcaMobileAppSwitcherService, decorators: [{
|
|
777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AcaMobileAppSwitcherService, decorators: [{
|
|
762
778
|
type: Injectable,
|
|
763
779
|
args: [{
|
|
764
780
|
providedIn: 'root'
|
|
@@ -1002,9 +1018,7 @@ const DefaultMimeTypes = [
|
|
|
1002
1018
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1003
1019
|
*/
|
|
1004
1020
|
class AppSettingsService {
|
|
1005
|
-
|
|
1006
|
-
this.appConfig = inject(AppConfigService);
|
|
1007
|
-
}
|
|
1021
|
+
appConfig = inject(AppConfigService);
|
|
1008
1022
|
/**
|
|
1009
1023
|
* Get the application copyright text from the app settings.
|
|
1010
1024
|
*/
|
|
@@ -1094,6 +1108,24 @@ class AppSettingsService {
|
|
|
1094
1108
|
get uploadAllowDownload() {
|
|
1095
1109
|
return this.appConfig.get('adf-version-manager.allowDownload', true);
|
|
1096
1110
|
}
|
|
1111
|
+
/**
|
|
1112
|
+
* Allow to view versions if true, disallow otherwise.
|
|
1113
|
+
*/
|
|
1114
|
+
get versionManagerAllowViewVersions() {
|
|
1115
|
+
return this.appConfig.get('adf-version-manager.allowViewVersions', true);
|
|
1116
|
+
}
|
|
1117
|
+
/**
|
|
1118
|
+
* Allow to delete versions if true, disallow otherwise.
|
|
1119
|
+
*/
|
|
1120
|
+
get versionManagerAllowVersionDelete() {
|
|
1121
|
+
return this.appConfig.get('adf-version-manager.allowVersionDelete', true);
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* Allow to open actions menu when true, otherwise hides it.
|
|
1125
|
+
*/
|
|
1126
|
+
get versionManagerShowActions() {
|
|
1127
|
+
return this.appConfig.get('adf-version-manager.showActions', true);
|
|
1128
|
+
}
|
|
1097
1129
|
/**
|
|
1098
1130
|
* Gets the enablement of the file auto tryDownload feature from the app settings.
|
|
1099
1131
|
*/
|
|
@@ -1106,10 +1138,10 @@ class AppSettingsService {
|
|
|
1106
1138
|
get authDownloadThreshold() {
|
|
1107
1139
|
return this.appConfig.get('viewer.fileAutoDownloadSizeThresholdInMB', 15);
|
|
1108
1140
|
}
|
|
1141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1142
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppSettingsService, providedIn: 'root' });
|
|
1109
1143
|
}
|
|
1110
|
-
|
|
1111
|
-
AppSettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppSettingsService, providedIn: 'root' });
|
|
1112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppSettingsService, decorators: [{
|
|
1144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppSettingsService, decorators: [{
|
|
1113
1145
|
type: Injectable,
|
|
1114
1146
|
args: [{ providedIn: 'root' }]
|
|
1115
1147
|
}] });
|
|
@@ -1138,15 +1170,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1138
1170
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1139
1171
|
*/
|
|
1140
1172
|
class UserProfileService {
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
this.groupService = inject(GroupService);
|
|
1144
|
-
this.userProfile = new BehaviorSubject(null);
|
|
1145
|
-
this.userProfile$ = this.userProfile.asObservable();
|
|
1146
|
-
}
|
|
1173
|
+
api = inject(AlfrescoApiService);
|
|
1174
|
+
groupService = inject(GroupService);
|
|
1147
1175
|
get peopleApi() {
|
|
1148
1176
|
return new PeopleApi(this.api.getInstance());
|
|
1149
1177
|
}
|
|
1178
|
+
userProfile = new BehaviorSubject(null);
|
|
1179
|
+
userProfile$ = this.userProfile.asObservable();
|
|
1150
1180
|
/**
|
|
1151
1181
|
* Load user profile.
|
|
1152
1182
|
*/
|
|
@@ -1178,10 +1208,10 @@ class UserProfileService {
|
|
|
1178
1208
|
this.userProfile.next(profile);
|
|
1179
1209
|
return profile;
|
|
1180
1210
|
}
|
|
1211
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: UserProfileService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1212
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: UserProfileService, providedIn: 'root' });
|
|
1181
1213
|
}
|
|
1182
|
-
|
|
1183
|
-
UserProfileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UserProfileService, providedIn: 'root' });
|
|
1184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UserProfileService, decorators: [{
|
|
1214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: UserProfileService, decorators: [{
|
|
1185
1215
|
type: Injectable,
|
|
1186
1216
|
args: [{ providedIn: 'root' }]
|
|
1187
1217
|
}] });
|
|
@@ -1209,8 +1239,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1209
1239
|
* You should have received a copy of the GNU Lesser General Public License
|
|
1210
1240
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1211
1241
|
*/
|
|
1212
|
-
// After moving shell to ADF to core, AppService will implement ShellAppService
|
|
1213
1242
|
class AppService {
|
|
1243
|
+
preferencesService;
|
|
1244
|
+
authenticationService;
|
|
1245
|
+
store;
|
|
1246
|
+
router;
|
|
1247
|
+
activatedRoute;
|
|
1248
|
+
config;
|
|
1249
|
+
pageTitle;
|
|
1250
|
+
alfrescoApiService;
|
|
1251
|
+
uploadService;
|
|
1252
|
+
routerExtensionService;
|
|
1253
|
+
contentApi;
|
|
1254
|
+
sharedLinksApiService;
|
|
1255
|
+
overlayContainer;
|
|
1256
|
+
acaMobileAppSwitcherService;
|
|
1257
|
+
appSettingsService;
|
|
1258
|
+
userProfileService;
|
|
1259
|
+
notificationService = inject(NotificationService);
|
|
1260
|
+
matDialog = inject(MatDialog);
|
|
1261
|
+
ready;
|
|
1262
|
+
ready$;
|
|
1263
|
+
pageHeading = new BehaviorSubject('');
|
|
1264
|
+
/** @deprecated page title is updated automatically */
|
|
1265
|
+
pageHeading$ = this.pageHeading.asObservable();
|
|
1266
|
+
appNavNarMode$ = new BehaviorSubject('expanded');
|
|
1267
|
+
toggleAppNavBar$ = new Subject();
|
|
1268
|
+
hideSidenavConditions = ['/preview/'];
|
|
1269
|
+
minimizeSidenavConditions = ['/search'];
|
|
1270
|
+
onDestroy$ = new Subject();
|
|
1214
1271
|
/**
|
|
1215
1272
|
* Whether `withCredentials` mode is enabled.
|
|
1216
1273
|
* Usually means that `Kerberos` mode is used.
|
|
@@ -1235,16 +1292,6 @@ class AppService {
|
|
|
1235
1292
|
this.acaMobileAppSwitcherService = acaMobileAppSwitcherService;
|
|
1236
1293
|
this.appSettingsService = appSettingsService;
|
|
1237
1294
|
this.userProfileService = userProfileService;
|
|
1238
|
-
this.notificationService = inject(NotificationService);
|
|
1239
|
-
this.matDialog = inject(MatDialog);
|
|
1240
|
-
this.pageHeading = new BehaviorSubject('');
|
|
1241
|
-
/** @deprecated page title is updated automatically */
|
|
1242
|
-
this.pageHeading$ = this.pageHeading.asObservable();
|
|
1243
|
-
this.appNavNarMode$ = new BehaviorSubject('expanded');
|
|
1244
|
-
this.toggleAppNavBar$ = new Subject();
|
|
1245
|
-
this.hideSidenavConditions = ['/preview/'];
|
|
1246
|
-
this.minimizeSidenavConditions = ['search'];
|
|
1247
|
-
this.onDestroy$ = new Subject();
|
|
1248
1295
|
this.ready = new BehaviorSubject(this.authenticationService.isLoggedIn() || this.withCredentials);
|
|
1249
1296
|
this.ready$ = this.ready.asObservable();
|
|
1250
1297
|
this.authenticationService.onLogin.subscribe(() => {
|
|
@@ -1371,10 +1418,10 @@ class AppService {
|
|
|
1371
1418
|
this.acaMobileAppSwitcherService.clearSessionExpireTime();
|
|
1372
1419
|
}
|
|
1373
1420
|
}
|
|
1421
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppService, deps: [{ token: i1.UserPreferencesService }, { token: i1.AuthenticationService }, { token: i1$2.Store }, { token: i3.Router }, { token: i3.ActivatedRoute }, { token: i1.AppConfigService }, { token: i1.PageTitleService }, { token: i4.AlfrescoApiService }, { token: i4.UploadService }, { token: RouterExtensionService }, { token: ContentApiService }, { token: i4.SharedLinksApiService }, { token: i7.OverlayContainer }, { token: i4.SearchQueryBuilderService }, { token: AcaMobileAppSwitcherService }, { token: AppSettingsService }, { token: UserProfileService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1422
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppService, providedIn: 'root' });
|
|
1374
1423
|
}
|
|
1375
|
-
|
|
1376
|
-
AppService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppService, providedIn: 'root' });
|
|
1377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppService, decorators: [{
|
|
1424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppService, decorators: [{
|
|
1378
1425
|
type: Injectable,
|
|
1379
1426
|
args: [{
|
|
1380
1427
|
providedIn: 'root'
|
|
@@ -1405,10 +1452,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1405
1452
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1406
1453
|
*/
|
|
1407
1454
|
class PageLayoutComponent {
|
|
1455
|
+
appService;
|
|
1456
|
+
hasError = false;
|
|
1457
|
+
onDestroy$ = new Subject();
|
|
1458
|
+
appNavNarMode$;
|
|
1408
1459
|
constructor(appService) {
|
|
1409
1460
|
this.appService = appService;
|
|
1410
|
-
this.hasError = false;
|
|
1411
|
-
this.onDestroy$ = new Subject();
|
|
1412
1461
|
this.appNavNarMode$ = appService.appNavNarMode$.pipe(takeUntil(this.onDestroy$));
|
|
1413
1462
|
}
|
|
1414
1463
|
toggleClick() {
|
|
@@ -1418,10 +1467,10 @@ class PageLayoutComponent {
|
|
|
1418
1467
|
this.onDestroy$.next(true);
|
|
1419
1468
|
this.onDestroy$.complete();
|
|
1420
1469
|
}
|
|
1470
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutComponent, deps: [{ token: AppService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1471
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PageLayoutComponent, isStandalone: true, selector: "aca-page-layout", inputs: { hasError: "hasError" }, host: { classAttribute: "aca-page-layout" }, ngImport: i0, template: "<div class=\"aca-content-header\">\n <button *ngIf=\"(appNavNarMode$ | async) === 'collapsed'\"\n mat-icon-button\n class=\"aca-content-header-button\"\n (click)=\"toggleClick()\"\n title=\"{{'APP.TOOLTIPS.EXPAND_NAVIGATION' | translate}}\">\n <mat-icon>keyboard_double_arrow_right</mat-icon>\n </button>\n <ng-content select=\".aca-page-layout-header, aca-page-layout-header\"></ng-content>\n</div>\n\n<ng-container *ngIf=\"hasError\">\n <ng-content select=\".aca-page-layout-error, aca-page-layout-error\"></ng-content>\n</ng-container>\n\n<ng-container *ngIf=\"!hasError\">\n <ng-content select=\".aca-page-layout-content, aca-page-layout-content\"></ng-content>\n</ng-container>\n", styles: [".aca-page-layout{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0}.aca-page-layout .aca-content-header{background:var(--theme-page-layout-header-background-color);height:96px;padding:0 24px;display:flex;align-items:center}.aca-page-layout .aca-content-header-button{margin-top:-1px}.aca-page-layout .aca-page-layout-header{display:flex;align-items:center;flex:auto;width:100%}.aca-page-layout .aca-page-layout-header .adf-breadcrumb-item{font-size:20px;font-weight:400;letter-spacing:.15px}.aca-page-layout .aca-page-layout-header .aca-toolbar-action button{border-radius:6px}.aca-page-layout .aca-page-layout-content{display:flex;flex-direction:row;flex:1;height:100%;overflow:hidden;border-top:1px solid var(--theme-metadata-property-panel-border-color)}.aca-page-layout .aca-page-layout-error{display:flex;flex-direction:row;flex:1;height:100%;overflow:hidden}.aca-page-layout .aca-main-content{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0}.aca-page-layout .aca-scrollable,.aca-page-layout .aca-scrollable .aca-main-content{overflow:auto}[dir=rtl] .aca-page-layout .aca-main-content{border-left:1px solid var(--theme-border-color, rgba(0, 0, 0, .07))}[dir=ltr] .aca-page-layout .aca-main-content{border-right:1px solid var(--theme-border-color, rgba(0, 0, 0, .07))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1421
1472
|
}
|
|
1422
|
-
|
|
1423
|
-
PageLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PageLayoutComponent, isStandalone: true, selector: "aca-page-layout", inputs: { hasError: "hasError" }, host: { classAttribute: "aca-page-layout" }, ngImport: i0, template: "<div class=\"aca-content-header\">\n <button *ngIf=\"(appNavNarMode$ | async) === 'collapsed'\"\n mat-icon-button\n class=\"aca-content-header-button\"\n (click)=\"toggleClick()\"\n title=\"{{'APP.TOOLTIPS.EXPAND_NAVIGATION' | translate}}\">\n <mat-icon>keyboard_double_arrow_right</mat-icon>\n </button>\n <ng-content select=\".aca-page-layout-header, aca-page-layout-header\"></ng-content>\n</div>\n\n<ng-container *ngIf=\"hasError\">\n <ng-content select=\".aca-page-layout-error, aca-page-layout-error\"></ng-content>\n</ng-container>\n\n<ng-container *ngIf=\"!hasError\">\n <ng-content select=\".aca-page-layout-content, aca-page-layout-content\"></ng-content>\n</ng-container>\n", styles: [".aca-page-layout{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0}.aca-page-layout .aca-content-header{background:var(--theme-page-layout-header-background-color);height:96px;padding:0 24px;display:flex;align-items:center}.aca-page-layout .aca-content-header-button{margin-top:-1px}.aca-page-layout .aca-page-layout-header{display:flex;align-items:center;flex:auto;width:100%}.aca-page-layout .aca-page-layout-header .adf-breadcrumb-item{font-size:20px;font-weight:400;letter-spacing:.15px}.aca-page-layout .aca-page-layout-header .aca-toolbar-action button{border-radius:6px}.aca-page-layout .aca-page-layout-content{display:flex;flex-direction:row;flex:1;height:100%;overflow:hidden;border-top:1px solid var(--theme-metadata-property-panel-border-color)}.aca-page-layout .aca-page-layout-error{display:flex;flex-direction:row;flex:1;height:100%;overflow:hidden}.aca-page-layout .aca-main-content{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0}.aca-page-layout .aca-scrollable,.aca-page-layout .aca-scrollable .aca-main-content{overflow:auto}[dir=rtl] .aca-page-layout .aca-main-content{border-left:1px solid var(--theme-border-color, rgba(0, 0, 0, .07))}[dir=ltr] .aca-page-layout .aca-main-content{border-right:1px solid var(--theme-border-color, rgba(0, 0, 0, .07))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageLayoutComponent, decorators: [{
|
|
1473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutComponent, decorators: [{
|
|
1425
1474
|
type: Component,
|
|
1426
1475
|
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatButtonModule, MatIconModule], selector: 'aca-page-layout', encapsulation: ViewEncapsulation.None, host: { class: 'aca-page-layout' }, template: "<div class=\"aca-content-header\">\n <button *ngIf=\"(appNavNarMode$ | async) === 'collapsed'\"\n mat-icon-button\n class=\"aca-content-header-button\"\n (click)=\"toggleClick()\"\n title=\"{{'APP.TOOLTIPS.EXPAND_NAVIGATION' | translate}}\">\n <mat-icon>keyboard_double_arrow_right</mat-icon>\n </button>\n <ng-content select=\".aca-page-layout-header, aca-page-layout-header\"></ng-content>\n</div>\n\n<ng-container *ngIf=\"hasError\">\n <ng-content select=\".aca-page-layout-error, aca-page-layout-error\"></ng-content>\n</ng-container>\n\n<ng-container *ngIf=\"!hasError\">\n <ng-content select=\".aca-page-layout-content, aca-page-layout-content\"></ng-content>\n</ng-container>\n", styles: [".aca-page-layout{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0}.aca-page-layout .aca-content-header{background:var(--theme-page-layout-header-background-color);height:96px;padding:0 24px;display:flex;align-items:center}.aca-page-layout .aca-content-header-button{margin-top:-1px}.aca-page-layout .aca-page-layout-header{display:flex;align-items:center;flex:auto;width:100%}.aca-page-layout .aca-page-layout-header .adf-breadcrumb-item{font-size:20px;font-weight:400;letter-spacing:.15px}.aca-page-layout .aca-page-layout-header .aca-toolbar-action button{border-radius:6px}.aca-page-layout .aca-page-layout-content{display:flex;flex-direction:row;flex:1;height:100%;overflow:hidden;border-top:1px solid var(--theme-metadata-property-panel-border-color)}.aca-page-layout .aca-page-layout-error{display:flex;flex-direction:row;flex:1;height:100%;overflow:hidden}.aca-page-layout .aca-main-content{display:flex;flex-direction:column;flex:1;height:100%;overflow:hidden;min-height:0}.aca-page-layout .aca-scrollable,.aca-page-layout .aca-scrollable .aca-main-content{overflow:auto}[dir=rtl] .aca-page-layout .aca-main-content{border-left:1px solid var(--theme-border-color, rgba(0, 0, 0, .07))}[dir=ltr] .aca-page-layout .aca-main-content{border-right:1px solid var(--theme-border-color, rgba(0, 0, 0, .07))}\n"] }]
|
|
1427
1476
|
}], ctorParameters: function () { return [{ type: AppService }]; }, propDecorators: { hasError: [{
|
|
@@ -1452,11 +1501,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1452
1501
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1453
1502
|
*/
|
|
1454
1503
|
class PageLayoutModule {
|
|
1504
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1505
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutModule, imports: [PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent], exports: [PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutComponent] });
|
|
1506
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutModule, imports: [PageLayoutComponent] });
|
|
1455
1507
|
}
|
|
1456
|
-
|
|
1457
|
-
PageLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PageLayoutModule, imports: [PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent], exports: [PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutComponent] });
|
|
1458
|
-
PageLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageLayoutModule, imports: [PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent] });
|
|
1459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageLayoutModule, decorators: [{
|
|
1508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageLayoutModule, decorators: [{
|
|
1460
1509
|
type: NgModule,
|
|
1461
1510
|
args: [{
|
|
1462
1511
|
imports: [PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent],
|
|
@@ -1488,17 +1537,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1488
1537
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1489
1538
|
*/
|
|
1490
1539
|
class LockedByComponent {
|
|
1540
|
+
node;
|
|
1541
|
+
text;
|
|
1491
1542
|
ngOnInit() {
|
|
1492
1543
|
this.text = this.node?.entry?.properties?.['cm:lockOwner']?.displayName;
|
|
1493
1544
|
}
|
|
1494
|
-
}
|
|
1495
|
-
|
|
1496
|
-
LockedByComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LockedByComponent, isStandalone: true, selector: "aca-locked-by", inputs: { node: "node" }, host: { classAttribute: "aca-locked-by" }, ngImport: i0, template: `
|
|
1545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: LockedByComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1546
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: LockedByComponent, isStandalone: true, selector: "aca-locked-by", inputs: { node: "node" }, host: { classAttribute: "aca-locked-by" }, ngImport: i0, template: `
|
|
1497
1547
|
<mat-icon class="aca-locked-by--icon">lock</mat-icon>
|
|
1498
1548
|
<span class="aca-locked-by--label">{{ 'APP.LOCKED_BY' | translate }}</span>
|
|
1499
1549
|
<span class="aca-locked-by--name">{{ text }}</span>
|
|
1500
1550
|
`, isInline: true, styles: [".aca-locked-by{display:flex;align-items:center;color:var(--theme-text-color, rgba(0, 0, 0, .54))}.aca-locked-by--icon{font-size:14px;width:14px;height:14px;min-width:14px}.aca-locked-by--label,.aca-locked-by--name{font-size:12px;padding:0 2px}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1501
|
-
|
|
1551
|
+
}
|
|
1552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: LockedByComponent, decorators: [{
|
|
1502
1553
|
type: Component,
|
|
1503
1554
|
args: [{ standalone: true, imports: [TranslateModule, MatIconModule], selector: 'aca-locked-by', template: `
|
|
1504
1555
|
<mat-icon class="aca-locked-by--icon">lock</mat-icon>
|
|
@@ -1535,13 +1586,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1535
1586
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1536
1587
|
*/
|
|
1537
1588
|
class GenericErrorComponent {
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
}
|
|
1589
|
+
text = 'APP.MESSAGES.ERRORS.MISSING_CONTENT';
|
|
1590
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: GenericErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1591
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: GenericErrorComponent, isStandalone: true, selector: "aca-generic-error", inputs: { text: "text" }, host: { classAttribute: "aca-generic-error" }, ngImport: i0, template: "<mat-icon class=\"generic-error__icon\">error</mat-icon>\n<p class=\"generic-error__title\">\n {{ text | translate }}\n</p>\n", styles: [".aca-generic-error{color:var(--theme-text-color, rgba(0, 0, 0, .54));display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%}.aca-generic-error__title{font-size:16px}.aca-generic-error__icon{color:var(--theme-warn-color, #f44336);font-size:52px;height:52px;width:52px}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1541
1592
|
}
|
|
1542
|
-
|
|
1543
|
-
GenericErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GenericErrorComponent, isStandalone: true, selector: "aca-generic-error", inputs: { text: "text" }, host: { classAttribute: "aca-generic-error" }, ngImport: i0, template: "<mat-icon class=\"generic-error__icon\">error</mat-icon>\n<p class=\"generic-error__title\">\n {{ text | translate }}\n</p>\n", styles: [".aca-generic-error{color:var(--theme-text-color, rgba(0, 0, 0, .54));display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%}.aca-generic-error__title{font-size:16px}.aca-generic-error__icon{color:var(--theme-warn-color, #f44336);font-size:52px;height:52px;width:52px}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GenericErrorComponent, decorators: [{
|
|
1593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: GenericErrorComponent, decorators: [{
|
|
1545
1594
|
type: Component,
|
|
1546
1595
|
args: [{ standalone: true, imports: [MatIconModule, TranslateModule], selector: 'aca-generic-error', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'aca-generic-error' }, template: "<mat-icon class=\"generic-error__icon\">error</mat-icon>\n<p class=\"generic-error__title\">\n {{ text | translate }}\n</p>\n", styles: [".aca-generic-error{color:var(--theme-text-color, rgba(0, 0, 0, .54));display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%}.aca-generic-error__title{font-size:16px}.aca-generic-error__icon{color:var(--theme-warn-color, #f44336);font-size:52px;height:52px;width:52px}\n"] }]
|
|
1547
1596
|
}], propDecorators: { text: [{
|
|
@@ -1572,12 +1621,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1572
1621
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1573
1622
|
*/
|
|
1574
1623
|
class NodePermissionService {
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
}
|
|
1624
|
+
static DEFAULT_OPERATION = 'OR';
|
|
1625
|
+
defaultOptions = {
|
|
1626
|
+
operation: NodePermissionService.DEFAULT_OPERATION,
|
|
1627
|
+
target: null
|
|
1628
|
+
};
|
|
1581
1629
|
check(source, permissions, options) {
|
|
1582
1630
|
const opts = Object.assign({}, this.defaultOptions, options || {});
|
|
1583
1631
|
if (!source) {
|
|
@@ -1624,11 +1672,10 @@ class NodePermissionService {
|
|
|
1624
1672
|
return entry.allowableOperations || [];
|
|
1625
1673
|
}
|
|
1626
1674
|
}
|
|
1675
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: NodePermissionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1676
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: NodePermissionService, providedIn: 'root' });
|
|
1627
1677
|
}
|
|
1628
|
-
|
|
1629
|
-
NodePermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NodePermissionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1630
|
-
NodePermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NodePermissionService, providedIn: 'root' });
|
|
1631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NodePermissionService, decorators: [{
|
|
1678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: NodePermissionService, decorators: [{
|
|
1632
1679
|
type: Injectable,
|
|
1633
1680
|
args: [{
|
|
1634
1681
|
providedIn: 'root'
|
|
@@ -1659,6 +1706,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1659
1706
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1660
1707
|
*/
|
|
1661
1708
|
class AppExtensionService {
|
|
1709
|
+
auth;
|
|
1710
|
+
store;
|
|
1711
|
+
loader;
|
|
1712
|
+
extensions;
|
|
1713
|
+
permissions;
|
|
1714
|
+
appConfig;
|
|
1715
|
+
matIconRegistry;
|
|
1716
|
+
sanitizer;
|
|
1717
|
+
logger;
|
|
1718
|
+
_references = new BehaviorSubject([]);
|
|
1719
|
+
bulkActionExecuted$ = new Subject();
|
|
1720
|
+
navbar = [];
|
|
1721
|
+
sidebarTabs = [];
|
|
1722
|
+
contentMetadata;
|
|
1723
|
+
search;
|
|
1724
|
+
viewerRules = {};
|
|
1725
|
+
_headerActions = new BehaviorSubject([]);
|
|
1726
|
+
_toolbarActions = new BehaviorSubject([]);
|
|
1727
|
+
_viewerToolbarActions = new BehaviorSubject([]);
|
|
1728
|
+
_sharedLinkViewerToolbarActions = new BehaviorSubject([]);
|
|
1729
|
+
_contextMenuActions = new BehaviorSubject([]);
|
|
1730
|
+
_openWithActions = new BehaviorSubject([]);
|
|
1731
|
+
_createActions = new BehaviorSubject([]);
|
|
1732
|
+
_sidebarActions = new BehaviorSubject([]);
|
|
1733
|
+
_badges = new BehaviorSubject([]);
|
|
1734
|
+
_filesDocumentListPreset = new BehaviorSubject([]);
|
|
1735
|
+
_customMetadataPanels = new BehaviorSubject([]);
|
|
1736
|
+
_bulkActions = new BehaviorSubject([]);
|
|
1737
|
+
documentListPresets = {
|
|
1738
|
+
libraries: [],
|
|
1739
|
+
favoriteLibraries: [],
|
|
1740
|
+
shared: [],
|
|
1741
|
+
recent: [],
|
|
1742
|
+
favorites: [],
|
|
1743
|
+
trashcan: [],
|
|
1744
|
+
searchLibraries: [],
|
|
1745
|
+
searchResults: []
|
|
1746
|
+
};
|
|
1747
|
+
selection;
|
|
1748
|
+
navigation;
|
|
1749
|
+
profile;
|
|
1750
|
+
repository;
|
|
1751
|
+
withCredentials;
|
|
1752
|
+
references$;
|
|
1753
|
+
filesDocumentListPreset$ = this._filesDocumentListPreset.asObservable();
|
|
1754
|
+
config;
|
|
1662
1755
|
constructor(auth, store, loader, extensions, permissions, appConfig, matIconRegistry, sanitizer, logger) {
|
|
1663
1756
|
this.auth = auth;
|
|
1664
1757
|
this.store = store;
|
|
@@ -1669,34 +1762,6 @@ class AppExtensionService {
|
|
|
1669
1762
|
this.matIconRegistry = matIconRegistry;
|
|
1670
1763
|
this.sanitizer = sanitizer;
|
|
1671
1764
|
this.logger = logger;
|
|
1672
|
-
this._references = new BehaviorSubject([]);
|
|
1673
|
-
this.bulkActionExecuted$ = new Subject();
|
|
1674
|
-
this.navbar = [];
|
|
1675
|
-
this.sidebarTabs = [];
|
|
1676
|
-
this.viewerRules = {};
|
|
1677
|
-
this._headerActions = new BehaviorSubject([]);
|
|
1678
|
-
this._toolbarActions = new BehaviorSubject([]);
|
|
1679
|
-
this._viewerToolbarActions = new BehaviorSubject([]);
|
|
1680
|
-
this._sharedLinkViewerToolbarActions = new BehaviorSubject([]);
|
|
1681
|
-
this._contextMenuActions = new BehaviorSubject([]);
|
|
1682
|
-
this._openWithActions = new BehaviorSubject([]);
|
|
1683
|
-
this._createActions = new BehaviorSubject([]);
|
|
1684
|
-
this._sidebarActions = new BehaviorSubject([]);
|
|
1685
|
-
this._badges = new BehaviorSubject([]);
|
|
1686
|
-
this._filesDocumentListPreset = new BehaviorSubject([]);
|
|
1687
|
-
this._customMetadataPanels = new BehaviorSubject([]);
|
|
1688
|
-
this._bulkActions = new BehaviorSubject([]);
|
|
1689
|
-
this.documentListPresets = {
|
|
1690
|
-
libraries: [],
|
|
1691
|
-
favoriteLibraries: [],
|
|
1692
|
-
shared: [],
|
|
1693
|
-
recent: [],
|
|
1694
|
-
favorites: [],
|
|
1695
|
-
trashcan: [],
|
|
1696
|
-
searchLibraries: [],
|
|
1697
|
-
searchResults: []
|
|
1698
|
-
};
|
|
1699
|
-
this.filesDocumentListPreset$ = this._filesDocumentListPreset.asObservable();
|
|
1700
1765
|
this.references$ = this._references.asObservable();
|
|
1701
1766
|
this.store.select(getRuleContext).subscribe((result) => {
|
|
1702
1767
|
this.selection = result.selection;
|
|
@@ -2070,10 +2135,10 @@ class AppExtensionService {
|
|
|
2070
2135
|
bulkActionExecuted() {
|
|
2071
2136
|
this.bulkActionExecuted$.next();
|
|
2072
2137
|
}
|
|
2138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppExtensionService, deps: [{ token: i1.AuthenticationService }, { token: i1$2.Store }, { token: i3$1.ExtensionLoaderService }, { token: i3$1.ExtensionService }, { token: NodePermissionService }, { token: i1.AppConfigService }, { token: i5.MatIconRegistry }, { token: i6.DomSanitizer }, { token: i1.LogService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2139
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppExtensionService, providedIn: 'root' });
|
|
2073
2140
|
}
|
|
2074
|
-
|
|
2075
|
-
AppExtensionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppExtensionService, providedIn: 'root' });
|
|
2076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppExtensionService, decorators: [{
|
|
2141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppExtensionService, decorators: [{
|
|
2077
2142
|
type: Injectable,
|
|
2078
2143
|
args: [{
|
|
2079
2144
|
providedIn: 'root'
|
|
@@ -2104,6 +2169,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2104
2169
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2105
2170
|
*/
|
|
2106
2171
|
class ToolbarMenuItemComponent {
|
|
2172
|
+
extensions;
|
|
2173
|
+
actionRef;
|
|
2174
|
+
menuId;
|
|
2175
|
+
menuItem;
|
|
2107
2176
|
constructor(extensions) {
|
|
2108
2177
|
this.extensions = extensions;
|
|
2109
2178
|
}
|
|
@@ -2122,12 +2191,12 @@ class ToolbarMenuItemComponent {
|
|
|
2122
2191
|
trackByActionId(_, obj) {
|
|
2123
2192
|
return obj.id;
|
|
2124
2193
|
}
|
|
2194
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarMenuItemComponent, deps: [{ token: AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2195
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ToolbarMenuItemComponent, isStandalone: true, selector: "app-toolbar-menu-item", inputs: { actionRef: "actionRef", menuId: "menuId" }, host: { classAttribute: "app-toolbar-menu-item" }, viewQueries: [{ propertyName: "menuItem", first: true, predicate: MatMenuItem, descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'menu'\">\n <button [id]=\"actionRef.id\" mat-menu-item role=\"menuitem\" tabindex=\"0\" [disabled]=\"actionRef.disabled\" [matMenuTriggerFor]=\"childMenu\">\n <adf-icon [value]=\"actionRef.icon\" />\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n\n <mat-menu #childMenu=\"matMenu\" class=\"app-create-menu__sub-menu\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"child\" />\n </ng-container>\n </mat-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'separator'\">\n <mat-divider />\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"actionRef.component\" />\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n role=\"menuitem\"\n mat-menu-item\n [role]=\"'menuitem'\"\n tabindex=\"0\"\n [disabled]=\"actionRef.disabled\"\n [attr.title]=\"(actionRef.disabled ? actionRef['description-disabled'] : actionRef.description || actionRef.title) | translate\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\" class=\"app-toolbar-menu-item--icon\" />\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n</ng-container>\n", styles: [".app-toolbar-menu-item:last-child>.mat-divider-horizontal{display:none}.app-toolbar-menu-item--icon{display:inline-flex;vertical-align:middle}\n"], dependencies: [{ kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i4$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i5$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2125
2196
|
}
|
|
2126
|
-
|
|
2127
|
-
ToolbarMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarMenuItemComponent, isStandalone: true, selector: "app-toolbar-menu-item", inputs: { actionRef: "actionRef", menuId: "menuId" }, host: { classAttribute: "app-toolbar-menu-item" }, viewQueries: [{ propertyName: "menuItem", first: true, predicate: MatMenuItem, descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'menu'\">\n <button [id]=\"actionRef.id\" mat-menu-item role=\"menuitem\" tabindex=\"0\" [disabled]=\"actionRef.disabled\" [matMenuTriggerFor]=\"childMenu\">\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n\n <mat-menu #childMenu=\"matMenu\" class=\"app-create-menu__sub-menu\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"child\"></app-toolbar-menu-item>\n </ng-container>\n </mat-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'separator'\">\n <mat-divider></mat-divider>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n role=\"menuitem\"\n mat-menu-item\n [role]=\"'menuitem'\"\n tabindex=\"0\"\n [disabled]=\"actionRef.disabled\"\n [attr.title]=\"(actionRef.disabled ? actionRef['description-disabled'] : actionRef.description || actionRef.title) | translate\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\" class=\"app-toolbar-menu-item--icon\"></adf-icon>\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n</ng-container>\n", styles: [".app-toolbar-menu-item:last-child>.mat-divider-horizontal{display:none}.app-toolbar-menu-item--icon{display:inline-flex;vertical-align:middle}\n"], dependencies: [{ kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i4$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i5$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarMenuItemComponent, decorators: [{
|
|
2197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarMenuItemComponent, decorators: [{
|
|
2129
2198
|
type: Component,
|
|
2130
|
-
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatMenuModule, MatDividerModule, IconComponent, DynamicExtensionComponent], selector: 'app-toolbar-menu-item', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-menu-item' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'menu'\">\n <button [id]=\"actionRef.id\" mat-menu-item role=\"menuitem\" tabindex=\"0\" [disabled]=\"actionRef.disabled\" [matMenuTriggerFor]=\"childMenu\">\n <adf-icon [value]=\"actionRef.icon\"
|
|
2199
|
+
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatMenuModule, MatDividerModule, IconComponent, DynamicExtensionComponent], selector: 'app-toolbar-menu-item', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-menu-item' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'menu'\">\n <button [id]=\"actionRef.id\" mat-menu-item role=\"menuitem\" tabindex=\"0\" [disabled]=\"actionRef.disabled\" [matMenuTriggerFor]=\"childMenu\">\n <adf-icon [value]=\"actionRef.icon\" />\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n\n <mat-menu #childMenu=\"matMenu\" class=\"app-create-menu__sub-menu\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"child\" />\n </ng-container>\n </mat-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'separator'\">\n <mat-divider />\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"actionRef.component\" />\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n role=\"menuitem\"\n mat-menu-item\n [role]=\"'menuitem'\"\n tabindex=\"0\"\n [disabled]=\"actionRef.disabled\"\n [attr.title]=\"(actionRef.disabled ? actionRef['description-disabled'] : actionRef.description || actionRef.title) | translate\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\" class=\"app-toolbar-menu-item--icon\" />\n <span data-automation-id=\"menu-item-title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n</ng-container>\n", styles: [".app-toolbar-menu-item:last-child>.mat-divider-horizontal{display:none}.app-toolbar-menu-item--icon{display:inline-flex;vertical-align:middle}\n"] }]
|
|
2131
2200
|
}], ctorParameters: function () { return [{ type: AppExtensionService }]; }, propDecorators: { actionRef: [{
|
|
2132
2201
|
type: Input
|
|
2133
2202
|
}], menuId: [{
|
|
@@ -2168,9 +2237,13 @@ var ToolbarButtonType;
|
|
|
2168
2237
|
ToolbarButtonType["MENU_ITEM"] = "menu-item";
|
|
2169
2238
|
})(ToolbarButtonType || (ToolbarButtonType = {}));
|
|
2170
2239
|
class ToolbarButtonComponent {
|
|
2240
|
+
extensions;
|
|
2241
|
+
data;
|
|
2242
|
+
type = ToolbarButtonType.ICON_BUTTON;
|
|
2243
|
+
color;
|
|
2244
|
+
actionRef;
|
|
2171
2245
|
constructor(extensions) {
|
|
2172
2246
|
this.extensions = extensions;
|
|
2173
|
-
this.type = ToolbarButtonType.ICON_BUTTON;
|
|
2174
2247
|
}
|
|
2175
2248
|
runAction() {
|
|
2176
2249
|
if (this.hasClickAction(this.actionRef)) {
|
|
@@ -2182,12 +2255,12 @@ class ToolbarButtonComponent {
|
|
|
2182
2255
|
hasClickAction(actionRef) {
|
|
2183
2256
|
return !!actionRef?.actions?.click;
|
|
2184
2257
|
}
|
|
2258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarButtonComponent, deps: [{ token: AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2259
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ToolbarButtonComponent, isStandalone: true, selector: "app-toolbar-button", inputs: { data: "data", type: "type", color: "color", actionRef: "actionRef" }, host: { classAttribute: "app-toolbar-button" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"data?.buttonType || type\">\n <ng-container *ngSwitchCase=\"'icon-button'\">\n <button\n [id]=\"actionRef.id\"\n mat-icon-button\n [color]=\"color\"\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\" />\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'menu-item'\">\n <app-toolbar-menu-item [actionRef]=\"actionRef\" />\n </ng-container>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i1.IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2185
2260
|
}
|
|
2186
|
-
|
|
2187
|
-
ToolbarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarButtonComponent, isStandalone: true, selector: "app-toolbar-button", inputs: { data: "data", type: "type", color: "color", actionRef: "actionRef" }, host: { classAttribute: "app-toolbar-button" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"data?.buttonType || type\">\n <ng-container *ngSwitchCase=\"'icon-button'\">\n <button\n [id]=\"actionRef.id\"\n mat-icon-button\n [color]=\"color\"\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\"></adf-icon>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'menu-item'\">\n <app-toolbar-menu-item [actionRef]=\"actionRef\"></app-toolbar-menu-item>\n </ng-container>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i1.IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarButtonComponent, decorators: [{
|
|
2261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarButtonComponent, decorators: [{
|
|
2189
2262
|
type: Component,
|
|
2190
|
-
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatButtonModule, IconModule, ToolbarMenuItemComponent], selector: 'app-toolbar-button', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-button' }, template: "<ng-container [ngSwitch]=\"data?.buttonType || type\">\n <ng-container *ngSwitchCase=\"'icon-button'\">\n <button\n [id]=\"actionRef.id\"\n mat-icon-button\n [color]=\"color\"\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\"
|
|
2263
|
+
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatButtonModule, IconModule, ToolbarMenuItemComponent], selector: 'app-toolbar-button', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-button' }, template: "<ng-container [ngSwitch]=\"data?.buttonType || type\">\n <ng-container *ngSwitchCase=\"'icon-button'\">\n <button\n [id]=\"actionRef.id\"\n mat-icon-button\n [color]=\"color\"\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <adf-icon [value]=\"actionRef.icon\" />\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [disabled]=\"actionRef.disabled\"\n (click)=\"runAction()\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'menu-item'\">\n <app-toolbar-menu-item [actionRef]=\"actionRef\" />\n </ng-container>\n</ng-container>\n" }]
|
|
2191
2264
|
}], ctorParameters: function () { return [{ type: AppExtensionService }]; }, propDecorators: { data: [{
|
|
2192
2265
|
type: Input
|
|
2193
2266
|
}], type: [{
|
|
@@ -2222,9 +2295,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2222
2295
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2223
2296
|
*/
|
|
2224
2297
|
class ToolbarMenuComponent {
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2298
|
+
actionRef;
|
|
2299
|
+
color;
|
|
2300
|
+
matTrigger;
|
|
2301
|
+
menu;
|
|
2302
|
+
toolbarMenuItems;
|
|
2303
|
+
data;
|
|
2304
|
+
type = 'default';
|
|
2228
2305
|
handleKeydownEscape() {
|
|
2229
2306
|
this.matTrigger.closeMenu();
|
|
2230
2307
|
}
|
|
@@ -2246,12 +2323,12 @@ class ToolbarMenuComponent {
|
|
|
2246
2323
|
trackByActionId(_, obj) {
|
|
2247
2324
|
return obj.id;
|
|
2248
2325
|
}
|
|
2326
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2327
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ToolbarMenuComponent, isStandalone: true, selector: "app-toolbar-menu", inputs: { actionRef: "actionRef", color: "color", data: "data" }, host: { listeners: { "document:keydown.Escape": "handleKeydownEscape()" }, classAttribute: "app-toolbar-menu" }, viewQueries: [{ propertyName: "matTrigger", first: true, predicate: ["matTrigger"], descendants: true }, { propertyName: "menu", first: true, predicate: MatMenu, descendants: true }, { propertyName: "toolbarMenuItems", predicate: ToolbarMenuItemComponent, descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-icon-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <adf-icon *ngIf=\"actionRef.icon\" [value]=\"actionRef.icon\" />\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\" [xPosition]=\"'before'\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <ng-container [ngSwitch]=\"child.type\">\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"child.component\" [data]=\"child.data\" />\n </ng-container>\n <ng-container *ngSwitchDefault>\n <app-toolbar-menu-item [actionRef]=\"child\" [menuId]=\"actionRef.id\" />\n </ng-container>\n </ng-container>\n </ng-container>\n</mat-menu>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }, { kind: "component", type: IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2249
2328
|
}
|
|
2250
|
-
|
|
2251
|
-
ToolbarMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarMenuComponent, isStandalone: true, selector: "app-toolbar-menu", inputs: { actionRef: "actionRef", color: "color", data: "data" }, host: { listeners: { "document:keydown.Escape": "handleKeydownEscape()" }, classAttribute: "app-toolbar-menu" }, viewQueries: [{ propertyName: "matTrigger", first: true, predicate: ["matTrigger"], descendants: true }, { propertyName: "menu", first: true, predicate: MatMenu, descendants: true }, { propertyName: "toolbarMenuItems", predicate: ToolbarMenuItemComponent, descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-icon-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <adf-icon *ngIf=\"actionRef.icon\" [value]=\"actionRef.icon\"></adf-icon>\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\" [xPosition]=\"'before'\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <ng-container [ngSwitch]=\"child.type\">\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"child.component\" [data]=\"child.data\"></adf-dynamic-component>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <app-toolbar-menu-item [actionRef]=\"child\" [menuId]=\"actionRef.id\"></app-toolbar-menu-item>\n </ng-container>\n </ng-container>\n </ng-container>\n</mat-menu>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }, { kind: "component", type: IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarMenuComponent, decorators: [{
|
|
2329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarMenuComponent, decorators: [{
|
|
2253
2330
|
type: Component,
|
|
2254
|
-
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatButtonModule, MatMenuModule, ToolbarMenuItemComponent, IconComponent, DynamicExtensionComponent], selector: 'app-toolbar-menu', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-menu' }, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-icon-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <adf-icon *ngIf=\"actionRef.icon\" [value]=\"actionRef.icon\"
|
|
2331
|
+
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatButtonModule, MatMenuModule, ToolbarMenuItemComponent, IconComponent, DynamicExtensionComponent], selector: 'app-toolbar-menu', encapsulation: ViewEncapsulation.None, host: { class: 'app-toolbar-menu' }, template: "<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'flat-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-flat-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'stroked-button'\">\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-stroked-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <span *ngIf=\"actionRef.title\">{{ actionRef.title | translate }}</span>\n </button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button\n [id]=\"actionRef.id\"\n [color]=\"data?.color || color\"\n mat-icon-button\n [attr.aria-label]=\"actionRef.description || actionRef.title | translate\"\n [attr.title]=\"actionRef.description || actionRef.title | translate\"\n [matMenuTriggerFor]=\"menu\"\n [disabled]=\"actionRef.disabled\"\n #matTrigger=\"matMenuTrigger\"\n >\n <adf-icon *ngIf=\"actionRef.icon\" [value]=\"actionRef.icon\" />\n </button>\n </ng-container>\n</ng-container>\n\n<mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\" [xPosition]=\"'before'\">\n <ng-container *ngFor=\"let child of actionRef.children; trackBy: trackByActionId\">\n <ng-container [ngSwitch]=\"child.type\">\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [id]=\"child.component\" [data]=\"child.data\" />\n </ng-container>\n <ng-container *ngSwitchDefault>\n <app-toolbar-menu-item [actionRef]=\"child\" [menuId]=\"actionRef.id\" />\n </ng-container>\n </ng-container>\n </ng-container>\n</mat-menu>\n" }]
|
|
2255
2332
|
}], propDecorators: { actionRef: [{
|
|
2256
2333
|
type: Input
|
|
2257
2334
|
}], color: [{
|
|
@@ -2296,9 +2373,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2296
2373
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2297
2374
|
*/
|
|
2298
2375
|
class ToolbarActionComponent {
|
|
2376
|
+
cd;
|
|
2377
|
+
data;
|
|
2378
|
+
type = ToolbarButtonType.ICON_BUTTON;
|
|
2379
|
+
color;
|
|
2380
|
+
actionRef;
|
|
2299
2381
|
constructor(cd) {
|
|
2300
2382
|
this.cd = cd;
|
|
2301
|
-
this.type = ToolbarButtonType.ICON_BUTTON;
|
|
2302
2383
|
}
|
|
2303
2384
|
// todo: review after ADF 2.6
|
|
2304
2385
|
// preview component : change detection workaround for children without input
|
|
@@ -2307,12 +2388,12 @@ class ToolbarActionComponent {
|
|
|
2307
2388
|
this.cd.markForCheck();
|
|
2308
2389
|
}
|
|
2309
2390
|
}
|
|
2391
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarActionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2392
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ToolbarActionComponent, isStandalone: true, selector: "aca-toolbar-action", inputs: { data: "data", type: "type", color: "color", actionRef: "actionRef" }, host: { classAttribute: "aca-toolbar-action" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <div *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\" />\n </div>\n\n <div *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\" />\n </div>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\" />\n </ng-container>\n\n <div *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\" />\n </div>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ToolbarButtonComponent, selector: "app-toolbar-button", inputs: ["data", "type", "color", "actionRef"] }, { kind: "component", type: ToolbarMenuComponent, selector: "app-toolbar-menu", inputs: ["actionRef", "color", "data"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2310
2393
|
}
|
|
2311
|
-
|
|
2312
|
-
ToolbarActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarActionComponent, isStandalone: true, selector: "aca-toolbar-action", inputs: { data: "data", type: "type", color: "color", actionRef: "actionRef" }, host: { classAttribute: "aca-toolbar-action" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <div *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"> </app-toolbar-button>\n </div>\n\n <div *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"> </app-toolbar-button>\n </div>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"></app-toolbar-menu>\n </ng-container>\n\n <div *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\"></adf-dynamic-component>\n </div>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ToolbarButtonComponent, selector: "app-toolbar-button", inputs: ["data", "type", "color", "actionRef"] }, { kind: "component", type: ToolbarMenuComponent, selector: "app-toolbar-menu", inputs: ["actionRef", "color", "data"] }, { kind: "component", type: DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarActionComponent, decorators: [{
|
|
2394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarActionComponent, decorators: [{
|
|
2314
2395
|
type: Component,
|
|
2315
|
-
args: [{ standalone: true, imports: [CommonModule, ToolbarButtonComponent, ToolbarMenuComponent, DynamicExtensionComponent], selector: 'aca-toolbar-action', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'aca-toolbar-action' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <div *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"
|
|
2396
|
+
args: [{ standalone: true, imports: [CommonModule, ToolbarButtonComponent, ToolbarMenuComponent, DynamicExtensionComponent], selector: 'aca-toolbar-action', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'aca-toolbar-action' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <div *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\" />\n </div>\n\n <div *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\" />\n </div>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\" />\n </ng-container>\n\n <div *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\" />\n </div>\n</ng-container>\n" }]
|
|
2316
2397
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
2317
2398
|
type: Input
|
|
2318
2399
|
}], type: [{
|
|
@@ -2347,15 +2428,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2347
2428
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2348
2429
|
*/
|
|
2349
2430
|
class ToolbarComponent {
|
|
2431
|
+
items;
|
|
2350
2432
|
trackByActionId(_, action) {
|
|
2351
2433
|
return action.id;
|
|
2352
2434
|
}
|
|
2435
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2436
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ToolbarComponent, isStandalone: true, selector: "aca-toolbar", inputs: { items: "items" }, ngImport: i0, template: "<mat-toolbar class=\"aca-toolbar\">\n <ng-container *ngFor=\"let item of items; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"item\" />\n </ng-container>\n</mat-toolbar>\n", styles: ["aca-toolbar .aca-toolbar{min-height:48px;color:var(--adf-theme-foreground-text-color-054);background-color:inherit;border:none;padding:0;column-gap:5px}aca-toolbar .aca-toolbar-divider{height:24px;width:1px;background:var(--adf-theme-foreground-text-color-025);margin-left:5px;margin-right:5px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ToolbarActionComponent, selector: "aca-toolbar-action", inputs: ["data", "type", "color", "actionRef"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2353
2437
|
}
|
|
2354
|
-
|
|
2355
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, isStandalone: true, selector: "aca-toolbar", inputs: { items: "items" }, ngImport: i0, template: "<mat-toolbar class=\"aca-toolbar\">\n <ng-container *ngFor=\"let item of items; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"item\"></aca-toolbar-action>\n </ng-container>\n</mat-toolbar>\n", styles: ["aca-toolbar .aca-toolbar{min-height:48px;color:var(--adf-theme-foreground-text-color-054);background-color:inherit;border:none;padding:0;column-gap:5px}aca-toolbar .aca-toolbar-divider{height:24px;width:1px;background:var(--adf-theme-foreground-text-color-025);margin-left:5px;margin-right:5px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ToolbarActionComponent, selector: "aca-toolbar-action", inputs: ["data", "type", "color", "actionRef"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
2438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
2357
2439
|
type: Component,
|
|
2358
|
-
args: [{ selector: 'aca-toolbar', standalone: true, imports: [CommonModule, ToolbarActionComponent, MatToolbarModule], encapsulation: ViewEncapsulation.None, template: "<mat-toolbar class=\"aca-toolbar\">\n <ng-container *ngFor=\"let item of items; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"item\"
|
|
2440
|
+
args: [{ selector: 'aca-toolbar', standalone: true, imports: [CommonModule, ToolbarActionComponent, MatToolbarModule], encapsulation: ViewEncapsulation.None, template: "<mat-toolbar class=\"aca-toolbar\">\n <ng-container *ngFor=\"let item of items; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"item\" />\n </ng-container>\n</mat-toolbar>\n", styles: ["aca-toolbar .aca-toolbar{min-height:48px;color:var(--adf-theme-foreground-text-color-054);background-color:inherit;border:none;padding:0;column-gap:5px}aca-toolbar .aca-toolbar-divider{height:24px;width:1px;background:var(--adf-theme-foreground-text-color-025);margin-left:5px;margin-right:5px}\n"] }]
|
|
2359
2441
|
}], propDecorators: { items: [{
|
|
2360
2442
|
type: Input
|
|
2361
2443
|
}] } });
|
|
@@ -2384,6 +2466,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2384
2466
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2385
2467
|
*/
|
|
2386
2468
|
class InfoDrawerComponent {
|
|
2469
|
+
store;
|
|
2470
|
+
contentApi;
|
|
2471
|
+
extensions;
|
|
2472
|
+
nodesService;
|
|
2473
|
+
contentService;
|
|
2474
|
+
nodeId;
|
|
2475
|
+
node;
|
|
2476
|
+
isLoading = false;
|
|
2477
|
+
displayNode;
|
|
2478
|
+
tabs = [];
|
|
2479
|
+
actions = [];
|
|
2480
|
+
onDestroy$ = new Subject();
|
|
2481
|
+
preventFromClosing = false;
|
|
2482
|
+
icon = null;
|
|
2387
2483
|
onEscapeKeyboardEvent() {
|
|
2388
2484
|
this.close();
|
|
2389
2485
|
}
|
|
@@ -2393,12 +2489,6 @@ class InfoDrawerComponent {
|
|
|
2393
2489
|
this.extensions = extensions;
|
|
2394
2490
|
this.nodesService = nodesService;
|
|
2395
2491
|
this.contentService = contentService;
|
|
2396
|
-
this.isLoading = false;
|
|
2397
|
-
this.tabs = [];
|
|
2398
|
-
this.actions = [];
|
|
2399
|
-
this.onDestroy$ = new Subject();
|
|
2400
|
-
this.preventFromClosing = false;
|
|
2401
|
-
this.icon = null;
|
|
2402
2492
|
}
|
|
2403
2493
|
ngOnInit() {
|
|
2404
2494
|
this.tabs = this.extensions.getSidebarTabs();
|
|
@@ -2452,12 +2542,12 @@ class InfoDrawerComponent {
|
|
|
2452
2542
|
this.displayNode = node;
|
|
2453
2543
|
this.icon = this.contentService.getNodeIcon(node);
|
|
2454
2544
|
}
|
|
2545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: InfoDrawerComponent, deps: [{ token: i1$2.Store }, { token: ContentApiService }, { token: AppExtensionService }, { token: i4.NodesApiService }, { token: i4.ContentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2546
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\" />\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons />\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\" />\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i7$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: InfoDrawerModule }, { kind: "component", type: i1.InfoDrawerTabComponent, selector: "adf-info-drawer-tab", inputs: ["label", "icon"] }, { kind: "component", type: i1.InfoDrawerComponent, selector: "adf-info-drawer", inputs: ["title", "icon", "selectedIndex", "showHeader"], outputs: ["currentTab"] }, { kind: "directive", type: i1.InfoDrawerButtonsDirective, selector: "[adf-info-drawer-buttons], [info-drawer-buttons]" }, { kind: "ngmodule", type: A11yModule }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }, { kind: "component", type: DynamicTabComponent, selector: "adf-dynamic-tab", inputs: ["id", "node"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2455
2547
|
}
|
|
2456
|
-
|
|
2457
|
-
InfoDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i7$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: InfoDrawerModule }, { kind: "component", type: i1.InfoDrawerTabComponent, selector: "adf-info-drawer-tab", inputs: ["label", "icon"] }, { kind: "component", type: i1.InfoDrawerComponent, selector: "adf-info-drawer", inputs: ["title", "icon", "selectedIndex", "showHeader"], outputs: ["currentTab"] }, { kind: "directive", type: i1.InfoDrawerButtonsDirective, selector: "[adf-info-drawer-buttons], [info-drawer-buttons]" }, { kind: "ngmodule", type: A11yModule }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }, { kind: "component", type: DynamicTabComponent, selector: "adf-dynamic-tab", inputs: ["id", "node"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InfoDrawerComponent, decorators: [{
|
|
2548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: InfoDrawerComponent, decorators: [{
|
|
2459
2549
|
type: Component,
|
|
2460
|
-
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatProgressBarModule, InfoDrawerModule, A11yModule, ToolbarComponent, DynamicTabComponent], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"
|
|
2550
|
+
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatProgressBarModule, InfoDrawerModule, A11yModule, ToolbarComponent, DynamicTabComponent], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\" />\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons />\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\" />\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n" }]
|
|
2461
2551
|
}], ctorParameters: function () { return [{ type: i1$2.Store }, { type: ContentApiService }, { type: AppExtensionService }, { type: i4.NodesApiService }, { type: i4.ContentService }]; }, propDecorators: { nodeId: [{
|
|
2462
2552
|
type: Input
|
|
2463
2553
|
}], node: [{
|
|
@@ -2560,9 +2650,7 @@ function isLibrary(node) {
|
|
|
2560
2650
|
*/
|
|
2561
2651
|
const BYTES_TO_MB_CONVERSION_VALUE = 1048576;
|
|
2562
2652
|
class AutoDownloadService {
|
|
2563
|
-
|
|
2564
|
-
this.dialog = inject(MatDialog);
|
|
2565
|
-
}
|
|
2653
|
+
dialog = inject(MatDialog);
|
|
2566
2654
|
shouldDownload(node, threshold) {
|
|
2567
2655
|
const fileSizeInBytes = node?.entry?.content?.sizeInBytes || 0;
|
|
2568
2656
|
const sizeInMB = fileSizeInBytes / BYTES_TO_MB_CONVERSION_VALUE;
|
|
@@ -2581,16 +2669,65 @@ class AutoDownloadService {
|
|
|
2581
2669
|
}
|
|
2582
2670
|
return false;
|
|
2583
2671
|
}
|
|
2672
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AutoDownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2673
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AutoDownloadService, providedIn: 'root' });
|
|
2584
2674
|
}
|
|
2585
|
-
|
|
2586
|
-
AutoDownloadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoDownloadService, providedIn: 'root' });
|
|
2587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoDownloadService, decorators: [{
|
|
2675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AutoDownloadService, decorators: [{
|
|
2588
2676
|
type: Injectable,
|
|
2589
2677
|
args: [{
|
|
2590
2678
|
providedIn: 'root'
|
|
2591
2679
|
}]
|
|
2592
2680
|
}] });
|
|
2593
2681
|
|
|
2682
|
+
/*!
|
|
2683
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2684
|
+
*
|
|
2685
|
+
* Alfresco Example Content Application
|
|
2686
|
+
*
|
|
2687
|
+
* This file is part of the Alfresco Example Content Application.
|
|
2688
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
2689
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
2690
|
+
* provided under the following open source license terms:
|
|
2691
|
+
*
|
|
2692
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
2693
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
2694
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
2695
|
+
* (at your option) any later version.
|
|
2696
|
+
*
|
|
2697
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
2698
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
2699
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
2700
|
+
* GNU Lesser General Public License for more details.
|
|
2701
|
+
*
|
|
2702
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
2703
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2704
|
+
*/
|
|
2705
|
+
class NavigationHistoryService {
|
|
2706
|
+
router;
|
|
2707
|
+
history = [];
|
|
2708
|
+
constructor(router) {
|
|
2709
|
+
this.router = router;
|
|
2710
|
+
}
|
|
2711
|
+
listenToRouteChanges() {
|
|
2712
|
+
return this.router.events.pipe(startWith(new NavigationEnd(0, this.router.url, this.router.url)), filter((event) => event instanceof NavigationEnd));
|
|
2713
|
+
}
|
|
2714
|
+
shouldReturnLastSelection(url) {
|
|
2715
|
+
return this.history.length > 2 && this.history[1].startsWith(url) && this.history[0] === this.history[2];
|
|
2716
|
+
}
|
|
2717
|
+
setHistory(event, maxHistoryLength) {
|
|
2718
|
+
this.history.push(event.urlAfterRedirects);
|
|
2719
|
+
if (maxHistoryLength > 0 && this.history.length > maxHistoryLength) {
|
|
2720
|
+
this.history.shift();
|
|
2721
|
+
}
|
|
2722
|
+
}
|
|
2723
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: NavigationHistoryService, deps: [{ token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2724
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: NavigationHistoryService, providedIn: 'root' });
|
|
2725
|
+
}
|
|
2726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: NavigationHistoryService, decorators: [{
|
|
2727
|
+
type: Injectable,
|
|
2728
|
+
args: [{ providedIn: 'root' }]
|
|
2729
|
+
}], ctorParameters: function () { return [{ type: i3.Router }]; } });
|
|
2730
|
+
|
|
2594
2731
|
/*!
|
|
2595
2732
|
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2596
2733
|
*
|
|
@@ -2616,34 +2753,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2616
2753
|
*/
|
|
2617
2754
|
/* eslint-disable @angular-eslint/directive-class-suffix */
|
|
2618
2755
|
class PageComponent {
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2756
|
+
onDestroy$ = new Subject();
|
|
2757
|
+
documentList;
|
|
2758
|
+
title = 'Page';
|
|
2759
|
+
infoDrawerOpened$;
|
|
2760
|
+
node;
|
|
2761
|
+
selection;
|
|
2762
|
+
actions = [];
|
|
2763
|
+
viewerToolbarActions = [];
|
|
2764
|
+
bulkActions = [];
|
|
2765
|
+
canUpdateNode = false;
|
|
2766
|
+
canUpload = false;
|
|
2767
|
+
nodeResult;
|
|
2768
|
+
showHeader = ShowHeaderMode.Data;
|
|
2769
|
+
filterSorting = 'name-asc';
|
|
2770
|
+
createActions = [];
|
|
2771
|
+
isSmallScreen = false;
|
|
2772
|
+
selectedRowItemsCount = 0;
|
|
2773
|
+
selectedNodesState;
|
|
2774
|
+
documentListService = inject(DocumentListService);
|
|
2775
|
+
settings = inject(AppSettingsService);
|
|
2776
|
+
extensions = inject(AppExtensionService);
|
|
2777
|
+
content = inject(DocumentBasePageService);
|
|
2778
|
+
store = inject((Store));
|
|
2779
|
+
breakpointObserver = inject(BreakpointObserver);
|
|
2780
|
+
uploadService = inject(UploadService);
|
|
2781
|
+
router = inject(Router);
|
|
2782
|
+
userPreferencesService = inject(UserPreferencesService);
|
|
2783
|
+
searchAiService = inject(SearchAiService);
|
|
2784
|
+
autoDownloadService = inject(AutoDownloadService, { optional: true });
|
|
2785
|
+
navigationHistoryService = inject(NavigationHistoryService);
|
|
2786
|
+
subscriptions = [];
|
|
2787
|
+
_searchAiInputState = {
|
|
2788
|
+
active: false
|
|
2789
|
+
};
|
|
2647
2790
|
get searchAiInputState() {
|
|
2648
2791
|
return this._searchAiInputState;
|
|
2649
2792
|
}
|
|
@@ -2695,6 +2838,7 @@ class PageComponent {
|
|
|
2695
2838
|
this.searchAiService.toggleSearchAiInput$
|
|
2696
2839
|
.pipe(takeUntil(this.onDestroy$))
|
|
2697
2840
|
.subscribe((searchAiInputState) => (this._searchAiInputState = searchAiInputState));
|
|
2841
|
+
this.setKnowledgeRetrievalState();
|
|
2698
2842
|
}
|
|
2699
2843
|
ngOnChanges(changes) {
|
|
2700
2844
|
if (changes.nodeResult?.currentValue) {
|
|
@@ -2704,7 +2848,7 @@ class PageComponent {
|
|
|
2704
2848
|
ngOnDestroy() {
|
|
2705
2849
|
this.subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
2706
2850
|
this.subscriptions = [];
|
|
2707
|
-
this.onDestroy$.next(
|
|
2851
|
+
this.onDestroy$.next();
|
|
2708
2852
|
this.onDestroy$.complete();
|
|
2709
2853
|
this.store.dispatch(new SetSelectedNodesAction([]));
|
|
2710
2854
|
}
|
|
@@ -2757,6 +2901,17 @@ class PageComponent {
|
|
|
2757
2901
|
trackByColumnId(_, obj) {
|
|
2758
2902
|
return obj.id;
|
|
2759
2903
|
}
|
|
2904
|
+
setKnowledgeRetrievalState() {
|
|
2905
|
+
const nodes = this.userPreferencesService.get('knowledgeRetrievalNodes');
|
|
2906
|
+
if (nodes && this.navigationHistoryService.shouldReturnLastSelection('/knowledge-retrieval')) {
|
|
2907
|
+
this.selectedNodesState = JSON.parse(nodes);
|
|
2908
|
+
}
|
|
2909
|
+
if (!this.selectedNodesState && !this.router.url.startsWith('/knowledge-retrieval')) {
|
|
2910
|
+
this.searchAiService.updateSearchAiInputState({
|
|
2911
|
+
active: false
|
|
2912
|
+
});
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2760
2915
|
isOutletPreviewUrl() {
|
|
2761
2916
|
return location.href.includes('viewer:view');
|
|
2762
2917
|
}
|
|
@@ -2769,10 +2924,10 @@ class PageComponent {
|
|
|
2769
2924
|
this.documentListService.reload();
|
|
2770
2925
|
}
|
|
2771
2926
|
}
|
|
2927
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2928
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: PageComponent, host: { listeners: { "sorting-changed": "onSortingChanged($event)" } }, viewQueries: [{ propertyName: "documentList", first: true, predicate: DocumentListComponent, descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
2772
2929
|
}
|
|
2773
|
-
|
|
2774
|
-
PageComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PageComponent, host: { listeners: { "sorting-changed": "onSortingChanged($event)" } }, viewQueries: [{ propertyName: "documentList", first: true, predicate: DocumentListComponent, descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
2775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageComponent, decorators: [{
|
|
2930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PageComponent, decorators: [{
|
|
2776
2931
|
type: Directive
|
|
2777
2932
|
}], propDecorators: { documentList: [{
|
|
2778
2933
|
type: ViewChild,
|
|
@@ -2830,6 +2985,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2830
2985
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2831
2986
|
*/
|
|
2832
2987
|
class ContextActionsDirective {
|
|
2988
|
+
store;
|
|
2989
|
+
execute$ = new Subject();
|
|
2990
|
+
onDestroy$ = new Subject();
|
|
2991
|
+
// eslint-disable-next-line
|
|
2992
|
+
enabled = true;
|
|
2993
|
+
customActions = [];
|
|
2833
2994
|
onContextMenuEvent(event) {
|
|
2834
2995
|
if (event) {
|
|
2835
2996
|
event.preventDefault();
|
|
@@ -2843,14 +3004,15 @@ class ContextActionsDirective {
|
|
|
2843
3004
|
}
|
|
2844
3005
|
constructor(store) {
|
|
2845
3006
|
this.store = store;
|
|
2846
|
-
this.execute$ = new Subject();
|
|
2847
|
-
this.onDestroy$ = new Subject();
|
|
2848
|
-
// eslint-disable-next-line
|
|
2849
|
-
this.enabled = true;
|
|
2850
3007
|
}
|
|
2851
3008
|
ngOnInit() {
|
|
2852
3009
|
this.execute$.pipe(debounceTime(300), takeUntil(this.onDestroy$)).subscribe((event) => {
|
|
2853
|
-
this.
|
|
3010
|
+
if (this.customActions?.length) {
|
|
3011
|
+
this.store.dispatch(new CustomContextMenu(event, this.customActions));
|
|
3012
|
+
}
|
|
3013
|
+
else {
|
|
3014
|
+
this.store.dispatch(new ContextMenu(event));
|
|
3015
|
+
}
|
|
2854
3016
|
});
|
|
2855
3017
|
}
|
|
2856
3018
|
ngOnDestroy() {
|
|
@@ -2885,10 +3047,10 @@ class ContextActionsDirective {
|
|
|
2885
3047
|
}
|
|
2886
3048
|
return el;
|
|
2887
3049
|
}
|
|
3050
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ContextActionsDirective, deps: [{ token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3051
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: ContextActionsDirective, isStandalone: true, selector: "[acaContextActions]", inputs: { enabled: ["acaContextEnable", "enabled"], customActions: "customActions" }, host: { listeners: { "contextmenu": "onContextMenuEvent($event)" } }, exportAs: ["acaContextActions"], ngImport: i0 });
|
|
2888
3052
|
}
|
|
2889
|
-
|
|
2890
|
-
ContextActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextActionsDirective, isStandalone: true, selector: "[acaContextActions]", inputs: { enabled: ["acaContextEnable", "enabled"] }, host: { listeners: { "contextmenu": "onContextMenuEvent($event)" } }, exportAs: ["acaContextActions"], ngImport: i0 });
|
|
2891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextActionsDirective, decorators: [{
|
|
3053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ContextActionsDirective, decorators: [{
|
|
2892
3054
|
type: Directive,
|
|
2893
3055
|
args: [{
|
|
2894
3056
|
standalone: true,
|
|
@@ -2898,6 +3060,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2898
3060
|
}], ctorParameters: function () { return [{ type: i1$2.Store }]; }, propDecorators: { enabled: [{
|
|
2899
3061
|
type: Input,
|
|
2900
3062
|
args: ['acaContextEnable']
|
|
3063
|
+
}], customActions: [{
|
|
3064
|
+
type: Input
|
|
2901
3065
|
}], onContextMenuEvent: [{
|
|
2902
3066
|
type: HostListener,
|
|
2903
3067
|
args: ['contextmenu', ['$event']]
|
|
@@ -2927,11 +3091,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2927
3091
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
2928
3092
|
*/
|
|
2929
3093
|
class PaginationDirective {
|
|
3094
|
+
pagination;
|
|
3095
|
+
preferences;
|
|
3096
|
+
config;
|
|
3097
|
+
subscriptions = [];
|
|
2930
3098
|
constructor(pagination, preferences, config) {
|
|
2931
3099
|
this.pagination = pagination;
|
|
2932
3100
|
this.preferences = preferences;
|
|
2933
3101
|
this.config = config;
|
|
2934
|
-
this.subscriptions = [];
|
|
2935
3102
|
}
|
|
2936
3103
|
ngOnInit() {
|
|
2937
3104
|
this.pagination.supportedPageSizes = this.config.get('pagination.supportedPageSizes');
|
|
@@ -2943,10 +3110,10 @@ class PaginationDirective {
|
|
|
2943
3110
|
this.subscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
2944
3111
|
this.subscriptions = [];
|
|
2945
3112
|
}
|
|
3113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PaginationDirective, deps: [{ token: i1.PaginationComponent }, { token: i1.UserPreferencesService }, { token: i1.AppConfigService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3114
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: PaginationDirective, isStandalone: true, selector: "[acaPagination]", ngImport: i0 });
|
|
2946
3115
|
}
|
|
2947
|
-
|
|
2948
|
-
PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PaginationDirective, isStandalone: true, selector: "[acaPagination]", ngImport: i0 });
|
|
2949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PaginationDirective, decorators: [{
|
|
3116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PaginationDirective, decorators: [{
|
|
2950
3117
|
type: Directive,
|
|
2951
3118
|
args: [{
|
|
2952
3119
|
standalone: true,
|
|
@@ -3087,52 +3254,50 @@ const PluginEnabledGuard = (route) => {
|
|
|
3087
3254
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
3088
3255
|
*/
|
|
3089
3256
|
class AppHookService {
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
}
|
|
3257
|
+
/**
|
|
3258
|
+
* Gets emitted when user delete the node
|
|
3259
|
+
*/
|
|
3260
|
+
nodesDeleted = new Subject();
|
|
3261
|
+
/**
|
|
3262
|
+
* Gets emitted when user delete the library
|
|
3263
|
+
*/
|
|
3264
|
+
libraryDeleted = new Subject();
|
|
3265
|
+
/**
|
|
3266
|
+
* Gets emitted when user create the library
|
|
3267
|
+
*/
|
|
3268
|
+
libraryCreated = new Subject();
|
|
3269
|
+
/**
|
|
3270
|
+
* Gets emitted when user update the library
|
|
3271
|
+
*/
|
|
3272
|
+
libraryUpdated = new Subject();
|
|
3273
|
+
/**
|
|
3274
|
+
* Gets emitted when user join the library
|
|
3275
|
+
*/
|
|
3276
|
+
libraryJoined = new Subject();
|
|
3277
|
+
/**
|
|
3278
|
+
* Gets emitted when user left the library
|
|
3279
|
+
*/
|
|
3280
|
+
libraryLeft = new Subject();
|
|
3281
|
+
/**
|
|
3282
|
+
* Gets emitted when library throws 400 error code
|
|
3283
|
+
*/
|
|
3284
|
+
library400Error = new Subject();
|
|
3285
|
+
/**
|
|
3286
|
+
* Gets emitted when user join the library
|
|
3287
|
+
*/
|
|
3288
|
+
joinLibraryToggle = new Subject();
|
|
3289
|
+
/**
|
|
3290
|
+
* Gets emitted when user unlink the node
|
|
3291
|
+
*/
|
|
3292
|
+
linksUnshared = new Subject();
|
|
3293
|
+
/**
|
|
3294
|
+
* Gets emitted when user mark the favorite library
|
|
3295
|
+
*/
|
|
3296
|
+
favoriteLibraryToggle = new Subject();
|
|
3297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppHookService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3298
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppHookService, providedIn: 'root' });
|
|
3132
3299
|
}
|
|
3133
|
-
|
|
3134
|
-
AppHookService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppHookService, providedIn: 'root' });
|
|
3135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AppHookService, decorators: [{
|
|
3300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AppHookService, decorators: [{
|
|
3136
3301
|
type: Injectable,
|
|
3137
3302
|
args: [{
|
|
3138
3303
|
providedIn: 'root'
|
|
@@ -3207,47 +3372,47 @@ class DocumentBasePageServiceMock extends DocumentBasePageService {
|
|
|
3207
3372
|
canUploadContent() {
|
|
3208
3373
|
return true;
|
|
3209
3374
|
}
|
|
3375
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: DocumentBasePageServiceMock, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3376
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: DocumentBasePageServiceMock });
|
|
3210
3377
|
}
|
|
3211
|
-
|
|
3212
|
-
DocumentBasePageServiceMock.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DocumentBasePageServiceMock });
|
|
3213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DocumentBasePageServiceMock, decorators: [{
|
|
3378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: DocumentBasePageServiceMock, decorators: [{
|
|
3214
3379
|
type: Injectable
|
|
3215
3380
|
}] });
|
|
3216
3381
|
class LibTestingModule {
|
|
3382
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: LibTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3383
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: LibTestingModule, imports: [NoopAnimationsModule,
|
|
3384
|
+
CommonModule,
|
|
3385
|
+
HttpClientModule,
|
|
3386
|
+
RouterTestingModule,
|
|
3387
|
+
MatIconTestingModule,
|
|
3388
|
+
StoreModule,
|
|
3389
|
+
OverlayModule, i1$2.StoreRootModule, i2$2.EffectsRootModule, i3$2.TranslateModule], exports: [TranslateModule] });
|
|
3390
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: LibTestingModule, providers: [
|
|
3391
|
+
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
|
|
3392
|
+
{ provide: TranslationService, useClass: TranslationMock }
|
|
3393
|
+
], imports: [NoopAnimationsModule,
|
|
3394
|
+
CommonModule,
|
|
3395
|
+
HttpClientModule,
|
|
3396
|
+
RouterTestingModule,
|
|
3397
|
+
MatIconTestingModule,
|
|
3398
|
+
StoreModule,
|
|
3399
|
+
OverlayModule,
|
|
3400
|
+
StoreModule.forRoot({ app: null }, {
|
|
3401
|
+
initialState,
|
|
3402
|
+
runtimeChecks: {
|
|
3403
|
+
strictStateImmutability: false,
|
|
3404
|
+
strictActionImmutability: false
|
|
3405
|
+
}
|
|
3406
|
+
}),
|
|
3407
|
+
EffectsModule.forRoot([]),
|
|
3408
|
+
TranslateModule.forRoot({
|
|
3409
|
+
loader: {
|
|
3410
|
+
provide: TranslateLoader,
|
|
3411
|
+
useClass: TranslateLoaderService
|
|
3412
|
+
}
|
|
3413
|
+
}), TranslateModule] });
|
|
3217
3414
|
}
|
|
3218
|
-
|
|
3219
|
-
LibTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LibTestingModule, imports: [NoopAnimationsModule,
|
|
3220
|
-
CommonModule,
|
|
3221
|
-
HttpClientModule,
|
|
3222
|
-
RouterTestingModule,
|
|
3223
|
-
MatIconTestingModule,
|
|
3224
|
-
StoreModule,
|
|
3225
|
-
OverlayModule, i1$2.StoreRootModule, i2$2.EffectsRootModule, i3$2.TranslateModule], exports: [TranslateModule] });
|
|
3226
|
-
LibTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LibTestingModule, providers: [
|
|
3227
|
-
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
|
|
3228
|
-
{ provide: TranslationService, useClass: TranslationMock }
|
|
3229
|
-
], imports: [NoopAnimationsModule,
|
|
3230
|
-
CommonModule,
|
|
3231
|
-
HttpClientModule,
|
|
3232
|
-
RouterTestingModule,
|
|
3233
|
-
MatIconTestingModule,
|
|
3234
|
-
StoreModule,
|
|
3235
|
-
OverlayModule,
|
|
3236
|
-
StoreModule.forRoot({ app: null }, {
|
|
3237
|
-
initialState,
|
|
3238
|
-
runtimeChecks: {
|
|
3239
|
-
strictStateImmutability: false,
|
|
3240
|
-
strictActionImmutability: false
|
|
3241
|
-
}
|
|
3242
|
-
}),
|
|
3243
|
-
EffectsModule.forRoot([]),
|
|
3244
|
-
TranslateModule.forRoot({
|
|
3245
|
-
loader: {
|
|
3246
|
-
provide: TranslateLoader,
|
|
3247
|
-
useClass: TranslateLoaderService
|
|
3248
|
-
}
|
|
3249
|
-
}), TranslateModule] });
|
|
3250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LibTestingModule, decorators: [{
|
|
3415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: LibTestingModule, decorators: [{
|
|
3251
3416
|
type: NgModule,
|
|
3252
3417
|
args: [{
|
|
3253
3418
|
imports: [
|
|
@@ -3306,11 +3471,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3306
3471
|
*/
|
|
3307
3472
|
// @deprecated
|
|
3308
3473
|
class SharedModule {
|
|
3474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3475
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: SharedModule, imports: [MatButtonModule, MatIconModule, MatDialogModule, TranslateModule, ContextActionsDirective], exports: [MatButtonModule, MatIconModule, MatDialogModule, TranslateModule, ContextActionsDirective] });
|
|
3476
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedModule, imports: [MatButtonModule, MatIconModule, MatDialogModule, TranslateModule, MatButtonModule, MatIconModule, MatDialogModule, TranslateModule] });
|
|
3309
3477
|
}
|
|
3310
|
-
|
|
3311
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [MatButtonModule, MatIconModule, MatDialogModule, TranslateModule, ContextActionsDirective], exports: [MatButtonModule, MatIconModule, MatDialogModule, TranslateModule, ContextActionsDirective] });
|
|
3312
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [MatButtonModule, MatIconModule, MatDialogModule, TranslateModule, MatButtonModule, MatIconModule, MatDialogModule, TranslateModule] });
|
|
3313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
|
|
3478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedModule, decorators: [{
|
|
3314
3479
|
type: NgModule,
|
|
3315
3480
|
args: [{
|
|
3316
3481
|
imports: [MatButtonModule, MatIconModule, MatDialogModule, TranslateModule, ContextActionsDirective],
|
|
@@ -3343,11 +3508,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3343
3508
|
*/
|
|
3344
3509
|
// @deprecated
|
|
3345
3510
|
class SharedToolbarModule {
|
|
3511
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3512
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: SharedToolbarModule, imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent], exports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
|
|
3513
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedToolbarModule, imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
|
|
3346
3514
|
}
|
|
3347
|
-
|
|
3348
|
-
SharedToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedToolbarModule, imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent], exports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
|
|
3349
|
-
SharedToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedToolbarModule, imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent] });
|
|
3350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedToolbarModule, decorators: [{
|
|
3515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedToolbarModule, decorators: [{
|
|
3351
3516
|
type: NgModule,
|
|
3352
3517
|
args: [{
|
|
3353
3518
|
imports: [ToolbarButtonComponent, ToolbarActionComponent, ToolbarMenuItemComponent, ToolbarMenuComponent],
|
|
@@ -3383,5 +3548,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3383
3548
|
* Generated bundle index. Do not edit.
|
|
3384
3549
|
*/
|
|
3385
3550
|
|
|
3386
|
-
export { AppExtensionService, AppHookService, AppService, AppSettingsService, AppSharedRuleGuard, AutoDownloadService, ContentApiService, ContextActionsDirective, DefaultExtensionLoaderFactory, DefaultMimeTypes, DocumentBasePageService, DocumentBasePageServiceMock, EXTENSION_DATA_LOADERS, ExtensionsDataLoaderGuard, GenericErrorComponent, InfoDrawerComponent, LibTestingModule, LockedByComponent, NodePermissionService, OpenInAppComponent, PageComponent, PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutModule, PaginationDirective, PluginEnabledGuard, RouterExtensionService, SharedModule, SharedToolbarModule, ToolbarActionComponent, ToolbarButtonComponent, ToolbarButtonType, ToolbarComponent, ToolbarMenuComponent, ToolbarMenuItemComponent, UserProfileService, discoveryApiServiceMockValue, initialState, isLibrary, isLocked, resetInvoked };
|
|
3551
|
+
export { AppExtensionService, AppHookService, AppService, AppSettingsService, AppSharedRuleGuard, AutoDownloadService, ContentApiService, ContextActionsDirective, DefaultExtensionLoaderFactory, DefaultMimeTypes, DocumentBasePageService, DocumentBasePageServiceMock, EXTENSION_DATA_LOADERS, ExtensionsDataLoaderGuard, GenericErrorComponent, InfoDrawerComponent, LibTestingModule, LockedByComponent, NavigationHistoryService, NodePermissionService, OpenInAppComponent, PageComponent, PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutModule, PaginationDirective, PluginEnabledGuard, RouterExtensionService, SharedModule, SharedToolbarModule, ToolbarActionComponent, ToolbarButtonComponent, ToolbarButtonType, ToolbarComponent, ToolbarMenuComponent, ToolbarMenuItemComponent, UserProfileService, discoveryApiServiceMockValue, initialState, isLibrary, isLocked, resetInvoked };
|
|
3387
3552
|
//# sourceMappingURL=alfresco-aca-shared.mjs.map
|