3bf7f9c9f3a50b26aac6043488c5136c3f6b655c150ecdb3b8cdca121dbe416f.json 2.0 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 ConfirmComponent = /*#__PURE__*/(() => {\n class ConfirmComponent {\n constructor(data) {\n this.data = data;\n }\n static #_ = this.ɵfac = function ConfirmComponent_Factory(t) {\n return new (t || ConfirmComponent)(i0.ɵɵdirectiveInject(MAT_DIALOG_DATA));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ConfirmComponent,\n selectors: [[\"app-confirm\"]],\n decls: 10,\n vars: 2,\n consts: [[1, \"container\"], [1, \"justify-content-center\", \"mb-4\"], [\"mat-dialog-title\", \"\", 1, \"text-center\"], [\"mat-dialog-content\", \"\", 1, \"row\", \"justify-content-center\", \"my-2\"], [1, \"text-center\"], [\"mat-dialog-actions\", \"\", 1, \"row\", \"justify-content-center\", \"mt-5\"], [\"mat-raised-button\", \"\", \"color\", \"primary\", 3, \"mat-dialog-close\"]],\n template: function ConfirmComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"h1\", 2);\n i0.ɵɵtext(3, \"Merci pour votre message\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(4, \"div\", 3)(5, \"h3\", 4);\n i0.ɵɵtext(6);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(7, \"div\", 5)(8, \"button\", 6);\n i0.ɵɵtext(9, \"Ok\");\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵtextInterpolate(ctx.data.response);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"mat-dialog-close\", true);\n }\n },\n dependencies: [i1.MatButton, i2.MatDialogClose, i2.MatDialogTitle, i2.MatDialogContent, i2.MatDialogActions]\n });\n }\n return ConfirmComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}