@alfresco/adf-core 8.1.0-16120632321 → 8.1.0-16122789145
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-core.mjs +12 -13
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/auth/oidc/auth.module.d.ts +4 -4
- package/lib/auth/oidc/view/authentication-confirmation/authentication-confirmation.component.d.ts +1 -1
- package/lib/dialogs/confirm-dialog/confirm.dialog.d.ts +1 -1
- package/lib/dialogs/confirm-dialog/confirm.dialog.module.d.ts +2 -6
- package/package.json +3 -3
package/fesm2022/adf-core.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { CommonModule, DOCUMENT, NgIf, NgClass, NgForOf, AsyncPipe, NgTemplateOu
|
|
|
5
5
|
import * as i2 from '@angular/material/table';
|
|
6
6
|
import { MatTableModule, MatTableDataSource } from '@angular/material/table';
|
|
7
7
|
import * as i1$1 from '@ngx-translate/core';
|
|
8
|
-
import { TranslatePipe,
|
|
8
|
+
import { TranslatePipe, TranslateStore, TranslateService, TranslateLoader, TranslateModule } from '@ngx-translate/core';
|
|
9
9
|
import * as i1$7 from '@angular/common/http';
|
|
10
10
|
import { HttpClient, HttpHeaders, HttpResponse, HTTP_INTERCEPTORS, HttpClientModule, HttpClientXsrfModule } from '@angular/common/http';
|
|
11
11
|
import { ReplaySubject, BehaviorSubject, of, Subject, switchMap as switchMap$1, from, fromEvent, Observable, throwError, combineLatest, defer, EMPTY, race, forkJoin, merge } from 'rxjs';
|
|
@@ -10587,14 +10587,13 @@ class IdentityRoleModel {
|
|
|
10587
10587
|
class AuthenticationConfirmationComponent {
|
|
10588
10588
|
constructor() { }
|
|
10589
10589
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AuthenticationConfirmationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10590
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: AuthenticationConfirmationComponent, isStandalone:
|
|
10590
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: AuthenticationConfirmationComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: '<div data-automation-id="auth-confirmation"></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10591
10591
|
}
|
|
10592
10592
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AuthenticationConfirmationComponent, decorators: [{
|
|
10593
10593
|
type: Component,
|
|
10594
10594
|
args: [{
|
|
10595
10595
|
template: '<div data-automation-id="auth-confirmation"></div>',
|
|
10596
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
10597
|
-
standalone: false
|
|
10596
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
10598
10597
|
}]
|
|
10599
10598
|
}], ctorParameters: () => [] });
|
|
10600
10599
|
|
|
@@ -10762,7 +10761,7 @@ class AuthModule {
|
|
|
10762
10761
|
};
|
|
10763
10762
|
}
|
|
10764
10763
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10765
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: AuthModule,
|
|
10764
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: AuthModule, imports: [AuthRoutingModule, i1$9.OAuthModule, AuthenticationConfirmationComponent] }); }
|
|
10766
10765
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AuthModule, providers: [
|
|
10767
10766
|
{ provide: OAuthStorage, useFactory: oauthStorageFactory },
|
|
10768
10767
|
{ provide: AuthenticationService },
|
|
@@ -10787,8 +10786,7 @@ class AuthModule {
|
|
|
10787
10786
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AuthModule, decorators: [{
|
|
10788
10787
|
type: NgModule,
|
|
10789
10788
|
args: [{
|
|
10790
|
-
|
|
10791
|
-
imports: [AuthRoutingModule, OAuthModule.forRoot()],
|
|
10789
|
+
imports: [AuthRoutingModule, OAuthModule.forRoot(), AuthenticationConfirmationComponent],
|
|
10792
10790
|
providers: [
|
|
10793
10791
|
{ provide: OAuthStorage, useFactory: oauthStorageFactory },
|
|
10794
10792
|
{ provide: AuthenticationService },
|
|
@@ -26937,11 +26935,11 @@ class ConfirmDialogComponent {
|
|
|
26937
26935
|
return this.sanitizer.sanitize(SecurityContext.HTML, this.htmlContent);
|
|
26938
26936
|
}
|
|
26939
26937
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1$4.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26940
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ConfirmDialogComponent, isStandalone:
|
|
26938
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ConfirmDialogComponent, isStandalone: true, selector: "adf-confirm-dialog", host: { classAttribute: "adf-confirm-dialog" }, ngImport: i0, template: "<h1 mat-dialog-title data-automation-id=\"adf-confirm-dialog-title\">{{ title | translate }}</h1>\n<mat-dialog-content>\n <div class=\"adf-confirm-dialog-content\">\n <p *ngIf=\"!htmlContent; else customContent\" data-automation-id=\"adf-confirm-dialog-base-message\">\n {{ message | translate }}\n </p>\n <ng-template #customContent>\n <span [innerHTML]=\"sanitizedHtmlContent()\" data-automation-id=\"adf-confirm-dialog-custom-content\"></span>\n </ng-template>\n </div>\n</mat-dialog-content>\n<mat-dialog-actions>\n <span class=\"adf-dialog-spacer\" data-automation-id=\"adf-confirm-dialog-spacer\"></span>\n <button id=\"adf-confirm-accept\"\n class=\"adf-confirm-dialog-button\"\n mat-button\n color=\"primary\"\n data-automation-id=\"adf-confirm-dialog-confirmation\"\n [mat-dialog-close]=\"true\">\n {{ yesLabel | translate }}\n </button>\n <button *ngIf=\"thirdOptionLabel\"\n id=\"adf-confirm-all\"\n class=\"adf-confirm-dialog-button\"\n mat-button\n [mat-dialog-close]=\"thirdOptionLabel\"\n data-automation-id=\"adf-confirm-dialog-confirm-all\">{{ thirdOptionLabel | translate }}\n </button>\n <button id=\"adf-confirm-cancel\"\n class=\"adf-confirm-dialog-button\"\n mat-button\n [mat-dialog-close]=\"false\"\n data-automation-id=\"adf-confirm-dialog-reject\"\n cdkFocusInitial>\n {{ noLabel | translate }}\n </button>\n</mat-dialog-actions>\n", styles: [".adf-dialog-spacer{flex:1 1 auto}.adf-confirm-dialog .adf-confirm-dialog-button{text-transform:uppercase}.adf-confirm-dialog .adf-confirm-dialog-content{width:100%}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$6.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$6.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$6.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$6.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
26941
26939
|
}
|
|
26942
26940
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
26943
26941
|
type: Component,
|
|
26944
|
-
args: [{ selector: 'adf-confirm-dialog', host: { class: 'adf-confirm-dialog' }, encapsulation: ViewEncapsulation.None, standalone:
|
|
26942
|
+
args: [{ selector: 'adf-confirm-dialog', host: { class: 'adf-confirm-dialog' }, encapsulation: ViewEncapsulation.None, standalone: true, imports: [TranslatePipe, MatDialogModule, NgIf, MatButtonModule], template: "<h1 mat-dialog-title data-automation-id=\"adf-confirm-dialog-title\">{{ title | translate }}</h1>\n<mat-dialog-content>\n <div class=\"adf-confirm-dialog-content\">\n <p *ngIf=\"!htmlContent; else customContent\" data-automation-id=\"adf-confirm-dialog-base-message\">\n {{ message | translate }}\n </p>\n <ng-template #customContent>\n <span [innerHTML]=\"sanitizedHtmlContent()\" data-automation-id=\"adf-confirm-dialog-custom-content\"></span>\n </ng-template>\n </div>\n</mat-dialog-content>\n<mat-dialog-actions>\n <span class=\"adf-dialog-spacer\" data-automation-id=\"adf-confirm-dialog-spacer\"></span>\n <button id=\"adf-confirm-accept\"\n class=\"adf-confirm-dialog-button\"\n mat-button\n color=\"primary\"\n data-automation-id=\"adf-confirm-dialog-confirmation\"\n [mat-dialog-close]=\"true\">\n {{ yesLabel | translate }}\n </button>\n <button *ngIf=\"thirdOptionLabel\"\n id=\"adf-confirm-all\"\n class=\"adf-confirm-dialog-button\"\n mat-button\n [mat-dialog-close]=\"thirdOptionLabel\"\n data-automation-id=\"adf-confirm-dialog-confirm-all\">{{ thirdOptionLabel | translate }}\n </button>\n <button id=\"adf-confirm-cancel\"\n class=\"adf-confirm-dialog-button\"\n mat-button\n [mat-dialog-close]=\"false\"\n data-automation-id=\"adf-confirm-dialog-reject\"\n cdkFocusInitial>\n {{ noLabel | translate }}\n </button>\n</mat-dialog-actions>\n", styles: [".adf-dialog-spacer{flex:1 1 auto}.adf-confirm-dialog .adf-confirm-dialog-button{text-transform:uppercase}.adf-confirm-dialog .adf-confirm-dialog-content{width:100%}\n"] }]
|
|
26945
26943
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
26946
26944
|
type: Inject,
|
|
26947
26945
|
args: [MAT_DIALOG_DATA]
|
|
@@ -26963,16 +26961,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
26963
26961
|
* See the License for the specific language governing permissions and
|
|
26964
26962
|
* limitations under the License.
|
|
26965
26963
|
*/
|
|
26964
|
+
/** @deprecated use `ConfirmDialogComponent` directly instead of importing this module */
|
|
26966
26965
|
class ConfirmDialogModule {
|
|
26967
26966
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ConfirmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
26968
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: ConfirmDialogModule,
|
|
26969
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ConfirmDialogModule, imports: [
|
|
26967
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: ConfirmDialogModule, imports: [ConfirmDialogComponent], exports: [ConfirmDialogComponent] }); }
|
|
26968
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ConfirmDialogModule, imports: [ConfirmDialogComponent] }); }
|
|
26970
26969
|
}
|
|
26971
26970
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ConfirmDialogModule, decorators: [{
|
|
26972
26971
|
type: NgModule,
|
|
26973
26972
|
args: [{
|
|
26974
|
-
declarations: [
|
|
26975
|
-
imports: [
|
|
26973
|
+
declarations: [],
|
|
26974
|
+
imports: [ConfirmDialogComponent],
|
|
26976
26975
|
exports: [ConfirmDialogComponent]
|
|
26977
26976
|
}]
|
|
26978
26977
|
}] });
|