@alfresco/adf-extensions 8.6.0-27406412358 → 9.0.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/fesm2022/adf-extensions.mjs +31 -32
- package/fesm2022/adf-extensions.mjs.map +1 -1
- package/index.d.ts +1017 -3
- package/package.json +4 -4
- package/lib/components/dynamic-column/dynamic-column.component.d.ts +0 -31
- package/lib/components/dynamic-component/dynamic.component.d.ts +0 -41
- package/lib/components/dynamic-tab/dynamic-tab.component.d.ts +0 -33
- package/lib/components/public-api.d.ts +0 -21
- package/lib/components/viewer/preview-extension.component.d.ts +0 -39
- package/lib/components/viewer/viewer-extension.interface.d.ts +0 -22
- package/lib/config/action.extensions.d.ts +0 -50
- package/lib/config/document-list.extensions.d.ts +0 -49
- package/lib/config/extension-element.d.ts +0 -21
- package/lib/config/extension-utils.d.ts +0 -30
- package/lib/config/extension.config.d.ts +0 -40
- package/lib/config/icon.extensions.d.ts +0 -20
- package/lib/config/navbar.extensions.d.ts +0 -35
- package/lib/config/permission.extensions.d.ts +0 -19
- package/lib/config/routing.extensions.d.ts +0 -27
- package/lib/config/rule.extensions.d.ts +0 -41
- package/lib/config/sidebar.extensions.d.ts +0 -26
- package/lib/config/viewer.extensions.d.ts +0 -25
- package/lib/evaluators/core.evaluators.d.ts +0 -20
- package/lib/extensions.module.d.ts +0 -30
- package/lib/providers.d.ts +0 -55
- package/lib/services/app-extension.service.d.ts +0 -30
- package/lib/services/component-register.service.d.ts +0 -31
- package/lib/services/extension-loader.service.d.ts +0 -35
- package/lib/services/extension.service.d.ts +0 -157
- package/lib/services/rule.service.d.ts +0 -39
- package/lib/store/states/navigation.state.d.ts +0 -21
- package/lib/store/states/profile.state.d.ts +0 -27
- package/lib/store/states/repository.state.d.ts +0 -22
- package/lib/store/states/selection.state.d.ts +0 -28
- package/public-api.d.ts +0 -40
|
@@ -3,7 +3,6 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { inject, Injectable, InjectionToken, EventEmitter, DestroyRef, ViewContainerRef, Output, Input, ViewChild, Component, ChangeDetectionStrategy, ViewEncapsulation, provideAppInitializer, NgModule } from '@angular/core';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
5
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
|
-
import '@alfresco/js-api';
|
|
7
6
|
|
|
8
7
|
/*!
|
|
9
8
|
* @license
|
|
@@ -472,10 +471,10 @@ class ExtensionLoaderService {
|
|
|
472
471
|
}
|
|
473
472
|
return extensions.map((file) => file.match('(?!.*/).+')[0]).filter((fileName) => !ignoreReferenceList.includes(fileName));
|
|
474
473
|
}
|
|
475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
476
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionLoaderService, providedIn: 'root' }); }
|
|
477
476
|
}
|
|
478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionLoaderService, decorators: [{
|
|
479
478
|
type: Injectable,
|
|
480
479
|
args: [{
|
|
481
480
|
providedIn: 'root'
|
|
@@ -572,10 +571,10 @@ class ComponentRegisterService {
|
|
|
572
571
|
hasComponentById(id) {
|
|
573
572
|
return !!this.getComponentById(id);
|
|
574
573
|
}
|
|
575
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
576
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
574
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ComponentRegisterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
575
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ComponentRegisterService, providedIn: 'root' }); }
|
|
577
576
|
}
|
|
578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ComponentRegisterService, decorators: [{
|
|
579
578
|
type: Injectable,
|
|
580
579
|
args: [{ providedIn: 'root' }]
|
|
581
580
|
}] });
|
|
@@ -658,10 +657,10 @@ class RuleService {
|
|
|
658
657
|
}
|
|
659
658
|
return false;
|
|
660
659
|
}
|
|
661
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
662
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
660
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RuleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
661
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RuleService, providedIn: 'root' }); }
|
|
663
662
|
}
|
|
664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: RuleService, decorators: [{
|
|
665
664
|
type: Injectable,
|
|
666
665
|
args: [{
|
|
667
666
|
providedIn: 'root'
|
|
@@ -892,10 +891,10 @@ class ExtensionService {
|
|
|
892
891
|
}
|
|
893
892
|
return value;
|
|
894
893
|
}
|
|
895
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
896
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
894
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
895
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionService, providedIn: 'root' }); }
|
|
897
896
|
}
|
|
898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionService, decorators: [{
|
|
899
898
|
type: Injectable,
|
|
900
899
|
args: [{
|
|
901
900
|
providedIn: 'root'
|
|
@@ -965,10 +964,10 @@ class AppExtensionService {
|
|
|
965
964
|
}
|
|
966
965
|
return false;
|
|
967
966
|
}
|
|
968
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
969
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
967
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AppExtensionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
968
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AppExtensionService, providedIn: 'root' }); }
|
|
970
969
|
}
|
|
971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: AppExtensionService, decorators: [{
|
|
972
971
|
type: Injectable,
|
|
973
972
|
args: [{
|
|
974
973
|
providedIn: 'root'
|
|
@@ -1116,10 +1115,10 @@ class PreviewExtensionComponent {
|
|
|
1116
1115
|
}
|
|
1117
1116
|
}
|
|
1118
1117
|
}
|
|
1119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PreviewExtensionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1119
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PreviewExtensionComponent, isStandalone: true, selector: "adf-preview-extension", inputs: { id: "id", nodeId: "nodeId", url: "url", extension: "extension" }, outputs: { contentLoaded: "contentLoaded" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: `<div #content></div>`, isInline: true }); }
|
|
1121
1120
|
}
|
|
1122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PreviewExtensionComponent, decorators: [{
|
|
1123
1122
|
type: Component,
|
|
1124
1123
|
args: [{
|
|
1125
1124
|
selector: 'adf-preview-extension',
|
|
@@ -1184,10 +1183,10 @@ class DynamicColumnComponent {
|
|
|
1184
1183
|
this.componentRef.instance.context = this.context;
|
|
1185
1184
|
}
|
|
1186
1185
|
}
|
|
1187
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1188
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DynamicColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1187
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: DynamicColumnComponent, isStandalone: true, selector: "adf-dynamic-column", inputs: { id: "id", context: "context" }, host: { classAttribute: "adf-dynamic-column" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: `<ng-container #content />`, isInline: true, styles: [".adf-dynamic-column{display:flex;align-items:center;width:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1189
1188
|
}
|
|
1190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DynamicColumnComponent, decorators: [{
|
|
1191
1190
|
type: Component,
|
|
1192
1191
|
args: [{ selector: 'adf-dynamic-column', template: `<ng-container #content />`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'adf-dynamic-column' }, styles: [".adf-dynamic-column{display:flex;align-items:center;width:inherit}\n"] }]
|
|
1193
1192
|
}], propDecorators: { content: [{
|
|
@@ -1265,10 +1264,10 @@ class DynamicExtensionComponent {
|
|
|
1265
1264
|
lifecycleHookIsImplemented(lifecycleMethod) {
|
|
1266
1265
|
return !!this.componentRef.instance[lifecycleMethod];
|
|
1267
1266
|
}
|
|
1268
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1269
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DynamicExtensionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1268
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: DynamicExtensionComponent, isStandalone: true, selector: "adf-dynamic-component", inputs: { id: "id", data: "data" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: `<div #content></div>`, isInline: true }); }
|
|
1270
1269
|
}
|
|
1271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DynamicExtensionComponent, decorators: [{
|
|
1272
1271
|
type: Component,
|
|
1273
1272
|
args: [{
|
|
1274
1273
|
selector: 'adf-dynamic-component',
|
|
@@ -1327,10 +1326,10 @@ class DynamicTabComponent {
|
|
|
1327
1326
|
this.componentRef.instance.node = this.node;
|
|
1328
1327
|
}
|
|
1329
1328
|
}
|
|
1330
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1331
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DynamicTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1330
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: DynamicTabComponent, isStandalone: true, selector: "adf-dynamic-tab", inputs: { id: "id", node: "node" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: `<div #content></div>`, isInline: true }); }
|
|
1332
1331
|
}
|
|
1333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DynamicTabComponent, decorators: [{
|
|
1334
1333
|
type: Component,
|
|
1335
1334
|
args: [{
|
|
1336
1335
|
selector: 'adf-dynamic-tab',
|
|
@@ -1400,11 +1399,11 @@ class ExtensionsModule {
|
|
|
1400
1399
|
ngModule: ExtensionsModule
|
|
1401
1400
|
};
|
|
1402
1401
|
}
|
|
1403
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1404
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1405
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1402
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1403
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: ExtensionsModule }); }
|
|
1404
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionsModule }); }
|
|
1406
1405
|
}
|
|
1407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExtensionsModule, decorators: [{
|
|
1408
1407
|
type: NgModule
|
|
1409
1408
|
}] });
|
|
1410
1409
|
|