You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@progress/kendo-angular-pdf-export

Package Overview
Dependencies
Maintainers
1
Versions
655
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.1.0-dev.201805171359

schematics/collection.json

2

dist/systemjs/kendo-angular-pdf-export.js

@@ -1,1 +0,1 @@

System.register("@progress/kendo-angular-pdf-export",["tslib","@progress/kendo-drawing","@angular/core","@progress/kendo-file-saver"],function(d){var o,r,a,n;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){r=t(e)},function(e){a=t(e)},function(e){n=t(e)}],execute:function(){!function(o){var r={};function a(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return o[e].call(t.exports,t,t.exports,a),t.loaded=!0,t.exports}a.m=o,a.c=r,a.p="",a(0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(1);t.PDFExportComponent=r.PDFExportComponent;var a=o(9);t.PDFExportModule=a.PDFExportModule;var n=o(7);t.PDFMarginComponent=n.PDFMarginComponent;var p=o(6);t.PDFTemplateDirective=p.PDFTemplateDirective;var i=o(8);t.compileTemplate=i.compileTemplate,function(e){for(var t in e)d(t,e[t])}(t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(3),n=o(4),p=o(5),i=o(6),d=o(7),s=o(8),c=function(){function e(e){this.element=e,this.creator="Kendo UI PDF Generator",this.fileName="export.pdf"}return Object.defineProperty(e.prototype,"drawMargin",{get:function(){var e=this.marginComponent,t=this.margin;return e&&(t=Object.assign(t||{},e.options)),t},enumerable:!0,configurable:!0}),e.prototype.saveAs=function(e){void 0===e&&(e=this.fileName),this.save(this.element.nativeElement,e)},e.prototype.export=function(){return this.exportElement(this.element.nativeElement)},e.prototype.save=function(e,t){var o=this;this.exportElement(e).then(function(e){return o.exportGroup(e,o.pdfOptions())}).then(function(e){return o.saveDataUri(e,t,o.saveOptions())})},e.prototype.exportElement=function(e){var t=this.drawElement(e,this.drawOptions()),o=this.cleanup.bind(this);return t.then(o,o),t},e.prototype.cleanup=function(){this.pageTemplate&&(this.pageTemplate.destroy(),delete this.pageTemplate)},e.prototype.drawOptions=function(){return this.pageTemplateDirective&&(this.pageTemplate=s.compileTemplate(this.pageTemplateDirective.templateRef)),{avoidLinks:this.avoidLinks,forcePageBreak:this.forcePageBreak,keepTogether:this.keepTogether,margin:this.drawMargin,paperSize:this.paperSize,landscape:this.landscape,repeatHeaders:this.repeatHeaders,scale:this.scale,template:this.pageTemplate}},e.prototype.pdfOptions=function(){return{author:this.author,creator:this.creator,date:this.date,imgDPI:this.imageResolution,keywords:this.keywords,landscape:this.landscape,margin:this.drawMargin,multiPage:!0,paperSize:this.paperSize,producer:this.producer,subject:this.subject,title:this.title}},e.prototype.saveOptions=function(){return{forceProxy:this.forceProxy,proxyData:this.proxyData,proxyTarget:this.proxyTarget,proxyURL:this.proxyURL}},e.prototype.drawElement=function(e,t){return n.drawDOM(e,t)},e.prototype.exportGroup=function(e,t){return n.exportPDF(e,t)},e.prototype.saveDataUri=function(e,t,o){p.saveAs(e,t,o)},r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"author",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"avoidLinks",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"forcePageBreak",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"keepTogether",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"creator",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Date)],e.prototype,"date",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"imageResolution",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"fileName",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"forceProxy",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"keywords",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"landscape",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"margin",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"paperSize",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"repeatHeaders",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"scale",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"proxyData",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"proxyURL",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"proxyTarget",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"producer",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"subject",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"title",void 0),r.__decorate([a.ContentChild(i.PDFTemplateDirective),r.__metadata("design:type",i.PDFTemplateDirective)],e.prototype,"pageTemplateDirective",void 0),r.__decorate([a.ContentChild(d.PDFMarginComponent),r.__metadata("design:type",d.PDFMarginComponent)],e.prototype,"marginComponent",void 0),e=r.__decorate([a.Component({selector:"kendo-pdf-export",template:"<div><ng-content></ng-content></div>"}),r.__metadata("design:paramtypes",[a.ElementRef])],e)}();t.PDFExportComponent=c},function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(3),n=function(){function e(e){this.templateRef=e}return e=r.__decorate([a.Directive({selector:"[kendoPDFTemplate]"}),r.__param(0,a.Optional()),r.__metadata("design:paramtypes",[a.TemplateRef])],e)}();t.PDFTemplateDirective=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(3),n=["bottom","left","right","top"],p=function(){function e(){}return Object.defineProperty(e.prototype,"options",{get:function(){for(var e={},t=0;t<n.length;t++){var o=n[t],r=this[o];void 0!==r&&(e[o]=r)}return e},enumerable:!0,configurable:!0}),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"left",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"top",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"right",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"bottom",void 0),e=r.__decorate([a.Component({selector:"kendo-pdf-export-margin",template:""})],e)}();t.PDFMarginComponent=p},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileTemplate=function(e){var o={},r=e.createEmbeddedView(o),t=function(e){Object.assign(o,e),r.detectChanges();var t=document.createElement("span");return r.rootNodes.forEach(function(e){t.appendChild(e.cloneNode(!0))}),t};return t.destroy=function(){r.destroy(),r=null},t}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(3),n=o(1),p=o(7),i=o(6),d=[n.PDFExportComponent,p.PDFMarginComponent,i.PDFTemplateDirective],s=function(){function e(){}return e=r.__decorate([a.NgModule({declarations:[d],exports:[d]})],e)}();t.PDFExportModule=s}])}}});
System.register("@progress/kendo-angular-pdf-export",["tslib","@angular/core","@progress/kendo-file-saver","@progress/kendo-drawing"],function(d){var o,r,a,n;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){r=t(e)},function(e){a=t(e)},function(e){n=t(e)}],execute:function(){!function(o){var r={};function a(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return o[e].call(t.exports,t,t.exports,a),t.loaded=!0,t.exports}a.m=o,a.c=r,a.p="",a(0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(1);t.PDFExportComponent=r.PDFExportComponent;var a=o(9);t.PDFExportModule=a.PDFExportModule;var n=o(7);t.PDFMarginComponent=n.PDFMarginComponent;var p=o(6);t.PDFTemplateDirective=p.PDFTemplateDirective;var i=o(8);t.compileTemplate=i.compileTemplate,function(e){for(var t in e)d(t,e[t])}(t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(3),n=o(4),p=o(5),i=o(6),d=o(7),s=o(8),c=function(){function e(e){this.element=e,this.creator="Kendo UI PDF Generator",this.fileName="export.pdf"}return Object.defineProperty(e.prototype,"drawMargin",{get:function(){var e=this.marginComponent,t=this.margin;return e&&(t=Object.assign(t||{},e.options)),t},enumerable:!0,configurable:!0}),e.prototype.saveAs=function(e){void 0===e&&(e=this.fileName),this.save(this.element.nativeElement,e)},e.prototype.export=function(){return this.exportElement(this.element.nativeElement)},e.prototype.save=function(e,t){var o=this;this.exportElement(e).then(function(e){return o.exportGroup(e,o.pdfOptions())}).then(function(e){return o.saveDataUri(e,t,o.saveOptions())})},e.prototype.exportElement=function(e){var t=this.drawElement(e,this.drawOptions()),o=this.cleanup.bind(this);return t.then(o,o),t},e.prototype.cleanup=function(){this.pageTemplate&&(this.pageTemplate.destroy(),delete this.pageTemplate)},e.prototype.drawOptions=function(){return this.pageTemplateDirective&&(this.pageTemplate=s.compileTemplate(this.pageTemplateDirective.templateRef)),{avoidLinks:this.avoidLinks,forcePageBreak:this.forcePageBreak,keepTogether:this.keepTogether,margin:this.drawMargin,paperSize:this.paperSize,landscape:this.landscape,repeatHeaders:this.repeatHeaders,scale:this.scale,template:this.pageTemplate}},e.prototype.pdfOptions=function(){return{author:this.author,creator:this.creator,date:this.date,imgDPI:this.imageResolution,keywords:this.keywords,landscape:this.landscape,margin:this.drawMargin,multiPage:!0,paperSize:this.paperSize,producer:this.producer,subject:this.subject,title:this.title}},e.prototype.saveOptions=function(){return{forceProxy:this.forceProxy,proxyData:this.proxyData,proxyTarget:this.proxyTarget,proxyURL:this.proxyURL}},e.prototype.drawElement=function(e,t){return n.drawDOM(e,t)},e.prototype.exportGroup=function(e,t){return n.exportPDF(e,t)},e.prototype.saveDataUri=function(e,t,o){p.saveAs(e,t,o)},r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"author",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"avoidLinks",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"forcePageBreak",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"keepTogether",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"creator",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Date)],e.prototype,"date",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"imageResolution",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"fileName",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"forceProxy",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"keywords",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"landscape",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"margin",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"paperSize",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],e.prototype,"repeatHeaders",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Number)],e.prototype,"scale",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"proxyData",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"proxyURL",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"proxyTarget",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"producer",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"subject",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],e.prototype,"title",void 0),r.__decorate([a.ContentChild(i.PDFTemplateDirective),r.__metadata("design:type",i.PDFTemplateDirective)],e.prototype,"pageTemplateDirective",void 0),r.__decorate([a.ContentChild(d.PDFMarginComponent),r.__metadata("design:type",d.PDFMarginComponent)],e.prototype,"marginComponent",void 0),e=r.__decorate([a.Component({selector:"kendo-pdf-export",template:"<div><ng-content></ng-content></div>"}),r.__metadata("design:paramtypes",[a.ElementRef])],e)}();t.PDFExportComponent=c},function(e,t){e.exports=o},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(3),n=function(){function e(e){this.templateRef=e}return e=r.__decorate([a.Directive({selector:"[kendoPDFTemplate]"}),r.__param(0,a.Optional()),r.__metadata("design:paramtypes",[a.TemplateRef])],e)}();t.PDFTemplateDirective=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(3),n=["bottom","left","right","top"],p=function(){function e(){}return Object.defineProperty(e.prototype,"options",{get:function(){for(var e={},t=0;t<n.length;t++){var o=n[t],r=this[o];void 0!==r&&(e[o]=r)}return e},enumerable:!0,configurable:!0}),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"left",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"top",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"right",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],e.prototype,"bottom",void 0),e=r.__decorate([a.Component({selector:"kendo-pdf-export-margin",template:""})],e)}();t.PDFMarginComponent=p},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileTemplate=function(e){var o={},r=e.createEmbeddedView(o),t=function(e){Object.assign(o,e),r.detectChanges();var t=document.createElement("span");return r.rootNodes.forEach(function(e){t.appendChild(e.cloneNode(!0))}),t};return t.destroy=function(){r.destroy(),r=null},t}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(3),n=o(1),p=o(7),i=o(6),d=[n.PDFExportComponent,p.PDFMarginComponent,i.PDFTemplateDirective],s=function(){function e(){}return e=r.__decorate([a.NgModule({declarations:[d],exports:[d]})],e)}();t.PDFExportModule=s}])}}});

@@ -6,3 +6,3 @@ {

"license": "SEE LICENSE IN LICENSE.md",
"version": "1.0.4",
"version": "1.1.0-dev.201805171359",
"main": "dist/npm/index.js",

@@ -37,2 +37,3 @@ "module": "dist/es/index.js",

"@progress/kendo-file-saver": "^1.0.1",
"@progress/kendo-schematics": "^0.2.0",
"tslib": "^1.7.0"

@@ -50,2 +51,4 @@ },

"@angular/platform-server": "^4.3.0",
"@angular-devkit/core": "^0.6.0",
"@angular-devkit/schematics": "^0.6.0",
"@krux/condition-jenkins": "1.0.1",

@@ -126,3 +129,4 @@ "@progress/kendo-angular-buttons": "^1.0.5",

"verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
}
},
"schematics": "./schematics/collection.json"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc