5ffe32a423dfcc95b434d72c7b98a11c4ded69744b9f6f9e926911b845067fd5.json 1.9 KB

1
  1. {"ast":null,"code":"import { MAT_DIALOG_DATA } from '@angular/material/dialog';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/button\";\nimport * as i2 from \"@angular/material/dialog\";\nexport let ConfirmMessageComponent = /*#__PURE__*/(() => {\n class ConfirmMessageComponent {\n constructor(data) {\n this.data = data;\n }\n static #_ = this.ɵfac = function ConfirmMessageComponent_Factory(t) {\n return new (t || ConfirmMessageComponent)(i0.ɵɵdirectiveInject(MAT_DIALOG_DATA));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ConfirmMessageComponent,\n selectors: [[\"app-confirm-message\"]],\n decls: 8,\n vars: 2,\n consts: [[1, \"container\"], [1, \"justify-content-center\", \"mb-2\"], [\"mat-dialog-content\", \"\", 1, \"row\", \"justify-content-center\", \"my-2\"], [1, \"text-center\"], [\"mat-dialog-actions\", \"\", 1, \"row\", \"justify-content-center\", \"mt-2\", \"mb-1\"], [\"mat-raised-button\", \"\", \"color\", \"primary\", 3, \"mat-dialog-close\"]],\n template: function ConfirmMessageComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵelement(1, \"div\", 1);\n i0.ɵɵelementStart(2, \"div\", 2)(3, \"h3\", 3);\n i0.ɵɵtext(4);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"button\", 5);\n i0.ɵɵtext(7, \"Ok\");\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(4);\n i0.ɵɵtextInterpolate(ctx.data.response.message);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"mat-dialog-close\", true);\n }\n },\n dependencies: [i1.MatButton, i2.MatDialogClose, i2.MatDialogContent, i2.MatDialogActions]\n });\n }\n return ConfirmMessageComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}