@sunbird-cb/utils 1.0.20-ang-13-16 → 1.0.21-ang-13-16
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.
|
@@ -35,10 +35,10 @@ export class LogoutComponent {
|
|
|
35
35
|
return false;
|
|
36
36
|
}
|
|
37
37
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LogoutComponent, deps: [{ token: i1.MatLegacyDialogRef }, { token: i2.AuthKeycloakService }, { token: i3.ConfigurationsService }, { token: i4.UtilityService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LogoutComponent, selector: "ws-utils-logout", ngImport: i0, template: "<h1 mat-dialog-title i18n>Logout Now</h1>\r\n<div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LogoutComponent, selector: "ws-utils-logout", ngImport: i0, template: "<div class=\"logout-outer\">\r\n <h1 mat-dialog-title i18n>Logout Now</h1>\r\n <div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n Note: On logging out all the downloaded content will be deleted.\r\n </div>\r\n <div mat-dialog-content class=\"text-base hide-overflow\" i18n>\r\n Are you sure?\r\n </div>\r\n <div mat-dialog-actions class=\"flex-row-reverse\">\r\n <button mat-flat-button color=\"warn\" [disabled]=\"disabled\" (click)=\"confirmed()\" i18n>\r\n Yes\r\n </button>\r\n <button mat-button class=\"margin-right-xs\" [mat-dialog-close] cdkFocusInitial i18n>No</button>\r\n </div>\r\n</div>", styles: [".hide-overflow{overflow:hidden}.logout-outer{padding:16px 0}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1.MatLegacyDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1.MatLegacyDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatLegacyDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1.MatLegacyDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] }); }
|
|
39
39
|
}
|
|
40
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LogoutComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
|
-
args: [{ selector: 'ws-utils-logout', template: "<h1 mat-dialog-title i18n>Logout Now</h1>\r\n<div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n
|
|
42
|
+
args: [{ selector: 'ws-utils-logout', template: "<div class=\"logout-outer\">\r\n <h1 mat-dialog-title i18n>Logout Now</h1>\r\n <div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n Note: On logging out all the downloaded content will be deleted.\r\n </div>\r\n <div mat-dialog-content class=\"text-base hide-overflow\" i18n>\r\n Are you sure?\r\n </div>\r\n <div mat-dialog-actions class=\"flex-row-reverse\">\r\n <button mat-flat-button color=\"warn\" [disabled]=\"disabled\" (click)=\"confirmed()\" i18n>\r\n Yes\r\n </button>\r\n <button mat-button class=\"margin-right-xs\" [mat-dialog-close] cdkFocusInitial i18n>No</button>\r\n </div>\r\n</div>", styles: [".hide-overflow{overflow:hidden}.logout-outer{padding:16px 0}\n"] }]
|
|
43
43
|
}], ctorParameters: function () { return [{ type: i1.MatLegacyDialogRef }, { type: i2.AuthKeycloakService }, { type: i3.ConfigurationsService }, { type: i4.UtilityService }]; } });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nb3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcnkvc3VuYmlyZC1jYi91dGlscy9zcmMvbGliL2hlbHBlcnMvbG9nb3V0L2xvZ291dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJ5L3N1bmJpcmQtY2IvdXRpbHMvc3JjL2xpYi9oZWxwZXJzL2xvZ291dC9sb2dvdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQTs7Ozs7Ozs7QUFZakQsTUFBTSxPQUFPLGVBQWU7SUFLMUIsWUFDUyxTQUF3QyxFQUN2QyxPQUE0QixFQUM1QixTQUFnQyxFQUNoQyxVQUEwQjtRQUgzQixjQUFTLEdBQVQsU0FBUyxDQUErQjtRQUN2QyxZQUFPLEdBQVAsT0FBTyxDQUFxQjtRQUM1QixjQUFTLEdBQVQsU0FBUyxDQUF1QjtRQUNoQyxlQUFVLEdBQVYsVUFBVSxDQUFnQjtRQVBwQyxhQUFRLEdBQUcsS0FBSyxDQUFBO1FBQ2hCLHNCQUFpQixHQUFHLEtBQUssQ0FBQTtRQUN6QiwwQkFBcUIsR0FBRyxLQUFLLENBQUE7SUFPekIsQ0FBQztJQUVMLFFBQVE7UUFDTixJQUF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bGFzcz1cImxvZ291dC1vdXRlclwiPlxyXG4gIDxoMSBtYXQtZGlhbG9nLXRpdGxlIGkxOG4+TG9nb3V0IE5vdzwvaDE+XHJcbiAgPGRpdiBjbGFzcz1cIndzLW1hdC1wcmltYXJ5LXRleHQgdGV4dC1iYXNlIHBiLTIgdGl0bGUtdGV4dFwiICpuZ0lmPVwiaXNEb3dubG9hZGFibGVcIiBpMThuPlxyXG4gICAgTm90ZTogT24gbG9nZ2luZyBvdXQgYWxsIHRoZSBkb3dubG9hZGVkIGNvbnRlbnQgd2lsbCBiZSBkZWxldGVkLlxyXG4gIDwvZGl2PlxyXG4gIDxkaXYgbWF0LWRpYWxvZy1jb250ZW50IGNsYXNzPVwidGV4dC1iYXNlIGhpZGUtb3ZlcmZsb3dcIiBpMThuPlxyXG4gICAgQXJlIHlvdSBzdXJlP1xyXG4gIDwvZGl2PlxyXG4gIDxkaXYgbWF0LWRpYWxvZy1hY3Rpb25zIGNsYXNzPVwiZmxleC1yb3ctcmV2ZXJzZVwiPlxyXG4gICAgPGJ1dHRvbiBtYXQtZmxhdC1idXR0b24gY29sb3I9XCJ3YXJuXCIgW2Rpc2FibGVkXT1cImRpc2FibGVkXCIgKGNsaWNrKT1cImNvbmZpcm1lZCgpXCIgaTE4bj5cclxuICAgICAgWWVzXHJcbiAgICA8L2J1dHRvbj5cclxuICAgIDxidXR0b24gbWF0LWJ1dHRvbiBjbGFzcz1cIm1hcmdpbi1yaWdodC14c1wiIFttYXQtZGlhbG9nLWNsb3NlXSBjZGtGb2N1c0luaXRpYWwgaTE4bj5ObzwvYnV0dG9uPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj4iXX0=
|
|
@@ -1602,11 +1602,11 @@ class LogoutComponent {
|
|
|
1602
1602
|
return false;
|
|
1603
1603
|
}
|
|
1604
1604
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LogoutComponent, deps: [{ token: i1$1.MatLegacyDialogRef }, { token: AuthKeycloakService }, { token: ConfigurationsService }, { token: UtilityService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1605
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LogoutComponent, selector: "ws-utils-logout", ngImport: i0, template: "<h1 mat-dialog-title i18n>Logout Now</h1>\r\n<div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n
|
|
1605
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LogoutComponent, selector: "ws-utils-logout", ngImport: i0, template: "<div class=\"logout-outer\">\r\n <h1 mat-dialog-title i18n>Logout Now</h1>\r\n <div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n Note: On logging out all the downloaded content will be deleted.\r\n </div>\r\n <div mat-dialog-content class=\"text-base hide-overflow\" i18n>\r\n Are you sure?\r\n </div>\r\n <div mat-dialog-actions class=\"flex-row-reverse\">\r\n <button mat-flat-button color=\"warn\" [disabled]=\"disabled\" (click)=\"confirmed()\" i18n>\r\n Yes\r\n </button>\r\n <button mat-button class=\"margin-right-xs\" [mat-dialog-close] cdkFocusInitial i18n>No</button>\r\n </div>\r\n</div>", styles: [".hide-overflow{overflow:hidden}.logout-outer{padding:16px 0}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1$1.MatLegacyDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$1.MatLegacyDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$1.MatLegacyDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$1.MatLegacyDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] }); }
|
|
1606
1606
|
}
|
|
1607
1607
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LogoutComponent, decorators: [{
|
|
1608
1608
|
type: Component,
|
|
1609
|
-
args: [{ selector: 'ws-utils-logout', template: "<h1 mat-dialog-title i18n>Logout Now</h1>\r\n<div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n
|
|
1609
|
+
args: [{ selector: 'ws-utils-logout', template: "<div class=\"logout-outer\">\r\n <h1 mat-dialog-title i18n>Logout Now</h1>\r\n <div class=\"ws-mat-primary-text text-base pb-2 title-text\" *ngIf=\"isDownloadable\" i18n>\r\n Note: On logging out all the downloaded content will be deleted.\r\n </div>\r\n <div mat-dialog-content class=\"text-base hide-overflow\" i18n>\r\n Are you sure?\r\n </div>\r\n <div mat-dialog-actions class=\"flex-row-reverse\">\r\n <button mat-flat-button color=\"warn\" [disabled]=\"disabled\" (click)=\"confirmed()\" i18n>\r\n Yes\r\n </button>\r\n <button mat-button class=\"margin-right-xs\" [mat-dialog-close] cdkFocusInitial i18n>No</button>\r\n </div>\r\n</div>", styles: [".hide-overflow{overflow:hidden}.logout-outer{padding:16px 0}\n"] }]
|
|
1610
1610
|
}], ctorParameters: function () { return [{ type: i1$1.MatLegacyDialogRef }, { type: AuthKeycloakService }, { type: ConfigurationsService }, { type: UtilityService }]; } });
|
|
1611
1611
|
|
|
1612
1612
|
class LogoutModule {
|