UNPKG

gdrive-lib

Version:

LawVu's GDrive Angular library

2 lines 2.42 kB
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("gdrive-lib",["exports","@angular/core"],n):n(e["gdrive-lib"]={},e.ng.core)}(this,function(e,n){"use strict";var o=(t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t);function t(){}var r=(i.prototype.ngOnInit=function(){},i.prototype.showModal=function(){$("#notificationModal").modal("show")},i.prototype.hideModal=function(){$("#notificationModal").modal("hide"),this.successMessage=""},i.decorators=[{type:n.Component,args:[{selector:"lawvu-gdrive-sync",template:'<p>\r\n \x3c!-- <button type="submit" class="btn btn-primary greenbg" [disabled]="false">{{\'LawVu GDrive Sync\'}}</button> --\x3e\r\n <button type="button" class="btn btn-primary" (click)="showModal()">{{\'GDrive Sync\'}}</button>\r\n </p>\r\n \r\n \r\n \x3c!-- The Modal --\x3e\r\n <div class="modal fade" id="notificationModal">\r\n <div class="modal-dialog">\r\n <div class="modal-content">\r\n \x3c!-- Modal Header --\x3e\r\n <div class="modal-header">\r\n <h5 class="modal-title">{{\'GDrive Sync\'}}</h5>\r\n <button type="button" class="close" (click)="hideModal()">&times;</button>\r\n </div>\r\n \x3c!-- Modal body --\x3e\r\n <div class="modal-body">\r\n <div class="notification-modal-body">\r\n <p>{{"A voucher has been created successfully and sent to the patient\'s mobile number"}}</p>\r\n </div>\r\n </div>\r\n \x3c!-- Modal footer --\x3e\r\n <div class="modal-footer">\r\n <button type="button" class="btn btn-danger" (click)="hideModal()">Close</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>',styles:["#notificationModal .notification-modal-body p{color:#fff;font-size:1.6rem;padding:15px;font-weight:400;text-align:center}"]}]}],i.ctorParameters=function(){return[]},i);function i(){this.successMessage=""}a.decorators=[{type:n.NgModule,args:[{declarations:[r],imports:[],exports:[r]}]}],n=a;function a(){}e.LauVuGdriveSyncService=o,e.LawVuGdriveSyncComponent=r,e.GdriveLibModule=n,Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=gdrive-lib.umd.min.js.map