You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
5.1 KiB
1 lines
5.1 KiB
{"ast":null,"code":"import * as i0 from \"@angular/core\";\nimport * as i1 from \"src/constants/language/TranslationContentService\";\nimport * as i2 from \"../shared/services/routerService\";\nimport * as i3 from \"@angular/router\";\nimport * as i4 from \"../leave-status/leave-status.component\";\nexport let OdpnrComponent = /*#__PURE__*/(() => {\n class OdpnrComponent {\n constructor(translationContentService, routerService, router) {\n this.translationContentService = translationContentService;\n this.routerService = routerService;\n this.router = router;\n this.success = 'success';\n this.pending = 'pending';\n this.odpnrStatus = 'odpnrStatus';\n }\n\n ngOnInit() {\n this.translationContentService.getContent().subscribe(content => {\n this.languageConstants = Object.assign({}, content);\n });\n }\n\n applyLeave() {\n this.router.navigate(['applyLeave']);\n }\n\n }\n\n OdpnrComponent.ɵfac = function OdpnrComponent_Factory(t) {\n return new (t || OdpnrComponent)(i0.ɵɵdirectiveInject(i1.TranslationContentService), i0.ɵɵdirectiveInject(i2.RouterService), i0.ɵɵdirectiveInject(i3.Router));\n };\n\n OdpnrComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: OdpnrComponent,\n selectors: [[\"app-odpnr\"]],\n decls: 26,\n vars: 9,\n consts: [[\"id\", \"home-screen\", 1, \"page-container\"], [1, \"main-container\"], [1, \"content\"], [1, \"card\"], [1, \"flex-column\"], [1, \"align-middle\"], [1, \"txt-content\", \"font-body-xsmall-bold\"], [1, \"txt-content\", \"font-body-xsmall-bold\", \"number-txt\"], [\"type\", \"text\", \"id\", \"mobileNumber\", \"formControlName\", \"mobileNumber\", \"placeholder\", \"SEARCH FROM CALENDAR\", \"value\", \"\", 1, \"user-input\", \"font-body-xsmall-bold\"], [1, \"flex-row\", \"icons-position\"], [\"src\", \"assets/images/applyLeaveFinal.png\", 1, \"txtFld-icons\"], [\"src\", \"assets/svg/search.svg\", 1, \"txtFld-icons\"], [1, \"flex-column\", \"leave-status\"], [1, \"width-90\", \"margin-5\"], [3, \"leaveStatus\", \"showScreen\"]],\n template: function OdpnrComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵelementStart(1, \"main\", 1);\n i0.ɵɵelementStart(2, \"section\", 2);\n i0.ɵɵelementStart(3, \"div\", 3);\n i0.ɵɵelementStart(4, \"div\", 4);\n i0.ɵɵelementStart(5, \"div\", 5);\n i0.ɵɵelementStart(6, \"p\", 6);\n i0.ɵɵtext(7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"p\", 7);\n i0.ɵɵtext(9, \"2021\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(10, \"p\", 6);\n i0.ɵɵtext(11, \"OD/FPNR\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementEnd();\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(12, \"div\", 5);\n i0.ɵɵelement(13, \"input\", 8);\n i0.ɵɵelementStart(14, \"div\", 9);\n i0.ɵɵelement(15, \"img\", 10);\n i0.ɵɵelement(16, \"img\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementEnd();\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(17, \"div\", 12);\n i0.ɵɵelementStart(18, \"div\", 13);\n i0.ɵɵelement(19, \"app-leave-status\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(20, \"div\", 13);\n i0.ɵɵelement(21, \"app-leave-status\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"div\", 13);\n i0.ɵɵelement(23, \"app-leave-status\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(24, \"div\", 13);\n i0.ɵɵelement(25, \"app-leave-status\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementEnd();\n i0.ɵɵelementEnd();\n i0.ɵɵelementEnd();\n i0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵtextInterpolate(ctx.languageConstants.month);\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"leaveStatus\", ctx.success)(\"showScreen\", ctx.odpnrStatus);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"leaveStatus\", ctx.success)(\"showScreen\", ctx.odpnrStatus);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"leaveStatus\", ctx.pending)(\"showScreen\", ctx.odpnrStatus);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"leaveStatus\", ctx.success)(\"showScreen\", ctx.odpnrStatus);\n }\n },\n directives: [i4.LeaveStatusComponent],\n styles: [\"var[_ngcontent-%COMP%] resource[_ngcontent-%COMP%]{}(function()[_ngcontent-%COMP%] {var __webpack_modules__ = ({889: (function() {throw new Error('Module build failed (from ./node_modules/sass-loader/dist/cjs.js):nSassError: expected \\\":\\\".n \\\\2577n52 \\\\2502 $clr-blackn \\\\2502 ^n \\\\2575n src/styles/variables/colors.scss 52:11 @importn src/styles/variables/index.scss 2:9 @importn src/styles.scss 1:9 @importn src/app/odpnr/odpnr.component.scss 1:9 root stylesheet');})}); var __webpack_exports__ = {}; __webpack_modules__[889](); resource = __webpack_exports__;})()[_ngcontent-%COMP%]{}\"]\n });\n return OdpnrComponent;\n})();","map":null,"metadata":{},"sourceType":"module"}
|