wt-front-shared 1.0.93 → 1.0.94
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.
|
@@ -7471,10 +7471,10 @@ class SelectDialogComponent {
|
|
|
7471
7471
|
}
|
|
7472
7472
|
}
|
|
7473
7473
|
SelectDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectDialogComponent, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
7474
|
-
SelectDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SelectDialogComponent, selector: "app-select-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,rgba(109,207,113,.7882352941),#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,rgba(252,178,2,.5294117647),rgba(252,178,2,.031372549))}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,rgba(242,104,100,.5803921569),#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7474
|
+
SelectDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SelectDialogComponent, selector: "app-select-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n [disabled]=\"!!selectOption\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,rgba(109,207,113,.7882352941),#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,rgba(252,178,2,.5294117647),rgba(252,178,2,.031372549))}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,rgba(242,104,100,.5803921569),#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7475
7475
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectDialogComponent, decorators: [{
|
|
7476
7476
|
type: Component,
|
|
7477
|
-
args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,rgba(109,207,113,.7882352941),#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,rgba(252,178,2,.5294117647),rgba(252,178,2,.031372549))}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,rgba(242,104,100,.5803921569),#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"] }]
|
|
7477
|
+
args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n [disabled]=\"!!selectOption\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,rgba(109,207,113,.7882352941),#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,rgba(252,178,2,.5294117647),rgba(252,178,2,.031372549))}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,rgba(242,104,100,.5803921569),#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"] }]
|
|
7478
7478
|
}], ctorParameters: function () { return [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
7479
7479
|
type: Inject,
|
|
7480
7480
|
args: [MAT_DIALOG_DATA]
|