ngx-pivot-table
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -13,3 +13,2 @@ (function (global, factory) { | ||
function NgxPivotTableComponent() { | ||
this.availableLocales = ['cs', 'da', 'de', 'es', 'fr', 'it', 'nl', 'pl', 'pt', 'ru', 'sq', 'tr', 'zh']; | ||
} | ||
@@ -23,13 +22,5 @@ /** | ||
function () { | ||
var _this = this; | ||
System.import('script-loader!./pivot.min.js').then(function () { | ||
for (var /** @type {?} */ i = 0; i < _this.availableLocales.length; i++) { | ||
System.import('script-loader!./locale/pivot.' + _this.availableLocales[i] + '.min.js'); | ||
} | ||
System.import('script-loader!./plugins/subtotal.min.js').then(function () { | ||
_this.isPivotInit = true; | ||
_this.pivotConfig = {}; | ||
_this.render(); | ||
}); | ||
}); | ||
this.isPivotInit = true; | ||
this.pivotConfig = {}; | ||
this.render(); | ||
}; | ||
@@ -60,3 +51,3 @@ /** | ||
this.pivotConfig.renderers = this.useSubtotal ? $.pivotUtilities.subtotal_renderers : undefined; | ||
$(this.mypivottable.nativeElement).pivotUI(data, this.pivotConfig, true, this.useLocale); | ||
$(this.ngxpivottable.nativeElement).pivotUI(data, this.pivotConfig, true, this.useLocale); | ||
} | ||
@@ -68,6 +59,3 @@ }; | ||
selector: 'ngx-pivot-table', | ||
template: '<div #mypivottable></div>', | ||
encapsulation: core.ViewEncapsulation.None, | ||
styles: [".pvtUi{color:#333}table.pvtTable{font-size:8pt;text-align:left;border-collapse:collapse}table.pvtTable tbody tr th,table.pvtTable thead tr th{background-color:#e6EEEE;border:1px solid #CDCDCD;font-size:8pt;padding:5px}table.pvtTable .pvtColLabel{text-align:center}table.pvtTable .pvtTotalLabel{text-align:right}table.pvtTable tbody tr td{color:#3D3D3D;padding:5px;background-color:#FFF;border:1px solid #CDCDCD;vertical-align:top;text-align:right}.pvtGrandTotal,.pvtTotal{font-weight:700}.pvtVals{text-align:center;white-space:nowrap}.pvtColOrder,.pvtRowOrder{cursor:pointer;width:15px;margin-left:5px;display:inline-block}.pvtAggregator{margin-bottom:5px}.pvtAxisContainer,.pvtVals{border:1px solid gray;background:#EEE;padding:5px;min-width:20px;min-height:20px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}.pvtAxisContainer li{padding:8px 6px;list-style-type:none;cursor:move}.pvtAxisContainer li.pvtPlaceholder{-webkit-border-radius:5px;padding:3px 15px;-moz-border-radius:5px;border-radius:5px;border:1px dashed #aaa}.pvtAxisContainer li span.pvtAttr{-webkit-text-size-adjust:100%;background:#F3F3F3;border:1px solid #DEDEDE;padding:2px 5px;white-space:nowrap;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.pvtTriangle{cursor:pointer;color:grey}.pvtHorizList li{display:inline}.pvtVertList{vertical-align:top}.pvtFilteredAttribute{font-style:italic}.pvtFilterBox{z-index:100;width:300px;border:1px solid gray;background-color:#fff;position:absolute;text-align:center}.pvtFilterBox h4{margin:15px}.pvtFilterBox p{margin:10px auto}.pvtFilterBox label{font-weight:400}.pvtFilterBox input[type=checkbox]{margin-right:10px;margin-left:10px}.pvtFilterBox input[type=text]{width:230px}.pvtFilterBox .count{color:gray;font-weight:400;margin-left:3px}.pvtCheckContainer{text-align:left;font-size:14px;white-space:nowrap;overflow-y:scroll;width:100%;max-height:250px;border-top:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3}.pvtCheckContainer p{margin:5px}.pvtRendererArea{padding:5px}", | ||
"table.pvtTable .pvtColSubtotal,table.pvtTable .pvtRowSubtotal{font-weight:700}body{font-family:Verdana}table.pvtTable .pvtAxisLabel{white-space:nowrap}table.pvtTable .pvtAxisLabel.expanded{white-space:nowrap;cursor:zoom-out!important}table.pvtTable .pvtAxisLabel.collapsed{white-space:nowrap;cursor:zoom-in!important}table.pvtTable tbody tr th.pvtRowLabel{vertical-align:top!important;white-space:nowrap!important;background-color:#fff!important;border-width:0 0 thin!important}table.pvtTable tbody tr th.pvtRowLabel.rowexpanded{cursor:zoom-out!important}table.pvtTable tbody tr th.pvtRowLabel.rowcollapsed{cursor:zoom-in!important}table.pvtTable .pvtRowLabelFiller{background-color:#fff;border-width:0 0 thin!important}table.pvtTable .pvtColLabelFiller,table.pvtTable tr td.pvtColSubtotal,table.pvtTable tr td.pvtRowSubtotal.rowcollapsed{background-color:#EFEFEF!important}table.pvtTable thead tr th.pvtColLabel{white-space:nowrap}table.pvtTable thead tr th.pvtColLabel.colexpanded{cursor:zoom-out!important}table.pvtTable thead tr th.pvtColLabel.colcollapsed{cursor:zoom-in!important}table.pvtTable tr .colhide,table.pvtTable tr .rowhide{display:none}"] | ||
template: '<div #ngxpivottable></div>' | ||
},] }, | ||
@@ -80,3 +68,3 @@ ]; | ||
"useLocale": [{ type: core.Input },], | ||
"mypivottable": [{ type: core.ViewChild, args: ['mypivottable',] },], | ||
"ngxpivottable": [{ type: core.ViewChild, args: ['ngxpivottable',] },], | ||
}; | ||
@@ -83,0 +71,0 @@ return NgxPivotTableComponent; |
@@ -1,2 +0,2 @@ | ||
import { Component, Input, ViewChild, ViewEncapsulation, NgModule } from '@angular/core'; | ||
import { Component, Input, ViewChild, NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
@@ -9,5 +9,2 @@ | ||
class NgxPivotTableComponent { | ||
constructor() { | ||
this.availableLocales = ['cs', 'da', 'de', 'es', 'fr', 'it', 'nl', 'pl', 'pt', 'ru', 'sq', 'tr', 'zh']; | ||
} | ||
/** | ||
@@ -17,12 +14,5 @@ * @return {?} | ||
ngOnInit() { | ||
System.import('script-loader!./pivot.min.js').then(() => { | ||
for (let /** @type {?} */ i = 0; i < this.availableLocales.length; i++) { | ||
System.import('script-loader!./locale/pivot.' + this.availableLocales[i] + '.min.js'); | ||
} | ||
System.import('script-loader!./plugins/subtotal.min.js').then(() => { | ||
this.isPivotInit = true; | ||
this.pivotConfig = {}; | ||
this.render(); | ||
}); | ||
}); | ||
this.isPivotInit = true; | ||
this.pivotConfig = {}; | ||
this.render(); | ||
} | ||
@@ -46,3 +36,3 @@ /** | ||
this.pivotConfig.renderers = this.useSubtotal ? $.pivotUtilities.subtotal_renderers : undefined; | ||
$(this.mypivottable.nativeElement).pivotUI(data, this.pivotConfig, true, this.useLocale); | ||
$(this.ngxpivottable.nativeElement).pivotUI(data, this.pivotConfig, true, this.useLocale); | ||
} | ||
@@ -55,6 +45,3 @@ } | ||
selector: 'ngx-pivot-table', | ||
template: '<div #mypivottable></div>', | ||
encapsulation: ViewEncapsulation.None, | ||
styles: [`.pvtUi{color:#333}table.pvtTable{font-size:8pt;text-align:left;border-collapse:collapse}table.pvtTable tbody tr th,table.pvtTable thead tr th{background-color:#e6EEEE;border:1px solid #CDCDCD;font-size:8pt;padding:5px}table.pvtTable .pvtColLabel{text-align:center}table.pvtTable .pvtTotalLabel{text-align:right}table.pvtTable tbody tr td{color:#3D3D3D;padding:5px;background-color:#FFF;border:1px solid #CDCDCD;vertical-align:top;text-align:right}.pvtGrandTotal,.pvtTotal{font-weight:700}.pvtVals{text-align:center;white-space:nowrap}.pvtColOrder,.pvtRowOrder{cursor:pointer;width:15px;margin-left:5px;display:inline-block}.pvtAggregator{margin-bottom:5px}.pvtAxisContainer,.pvtVals{border:1px solid gray;background:#EEE;padding:5px;min-width:20px;min-height:20px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}.pvtAxisContainer li{padding:8px 6px;list-style-type:none;cursor:move}.pvtAxisContainer li.pvtPlaceholder{-webkit-border-radius:5px;padding:3px 15px;-moz-border-radius:5px;border-radius:5px;border:1px dashed #aaa}.pvtAxisContainer li span.pvtAttr{-webkit-text-size-adjust:100%;background:#F3F3F3;border:1px solid #DEDEDE;padding:2px 5px;white-space:nowrap;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.pvtTriangle{cursor:pointer;color:grey}.pvtHorizList li{display:inline}.pvtVertList{vertical-align:top}.pvtFilteredAttribute{font-style:italic}.pvtFilterBox{z-index:100;width:300px;border:1px solid gray;background-color:#fff;position:absolute;text-align:center}.pvtFilterBox h4{margin:15px}.pvtFilterBox p{margin:10px auto}.pvtFilterBox label{font-weight:400}.pvtFilterBox input[type=checkbox]{margin-right:10px;margin-left:10px}.pvtFilterBox input[type=text]{width:230px}.pvtFilterBox .count{color:gray;font-weight:400;margin-left:3px}.pvtCheckContainer{text-align:left;font-size:14px;white-space:nowrap;overflow-y:scroll;width:100%;max-height:250px;border-top:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3}.pvtCheckContainer p{margin:5px}.pvtRendererArea{padding:5px}`, | ||
`table.pvtTable .pvtColSubtotal,table.pvtTable .pvtRowSubtotal{font-weight:700}body{font-family:Verdana}table.pvtTable .pvtAxisLabel{white-space:nowrap}table.pvtTable .pvtAxisLabel.expanded{white-space:nowrap;cursor:zoom-out!important}table.pvtTable .pvtAxisLabel.collapsed{white-space:nowrap;cursor:zoom-in!important}table.pvtTable tbody tr th.pvtRowLabel{vertical-align:top!important;white-space:nowrap!important;background-color:#fff!important;border-width:0 0 thin!important}table.pvtTable tbody tr th.pvtRowLabel.rowexpanded{cursor:zoom-out!important}table.pvtTable tbody tr th.pvtRowLabel.rowcollapsed{cursor:zoom-in!important}table.pvtTable .pvtRowLabelFiller{background-color:#fff;border-width:0 0 thin!important}table.pvtTable .pvtColLabelFiller,table.pvtTable tr td.pvtColSubtotal,table.pvtTable tr td.pvtRowSubtotal.rowcollapsed{background-color:#EFEFEF!important}table.pvtTable thead tr th.pvtColLabel{white-space:nowrap}table.pvtTable thead tr th.pvtColLabel.colexpanded{cursor:zoom-out!important}table.pvtTable thead tr th.pvtColLabel.colcollapsed{cursor:zoom-in!important}table.pvtTable tr .colhide,table.pvtTable tr .rowhide{display:none}`] | ||
template: '<div #ngxpivottable></div>' | ||
},] }, | ||
@@ -67,3 +54,3 @@ ]; | ||
"useLocale": [{ type: Input },], | ||
"mypivottable": [{ type: ViewChild, args: ['mypivottable',] },], | ||
"ngxpivottable": [{ type: ViewChild, args: ['ngxpivottable',] },], | ||
}; | ||
@@ -70,0 +57,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Component, Input, ViewChild, ViewEncapsulation, NgModule } from '@angular/core'; | ||
import { Component, Input, ViewChild, NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
@@ -10,3 +10,2 @@ | ||
function NgxPivotTableComponent() { | ||
this.availableLocales = ['cs', 'da', 'de', 'es', 'fr', 'it', 'nl', 'pl', 'pt', 'ru', 'sq', 'tr', 'zh']; | ||
} | ||
@@ -20,13 +19,5 @@ /** | ||
function () { | ||
var _this = this; | ||
System.import('script-loader!./pivot.min.js').then(function () { | ||
for (var /** @type {?} */ i = 0; i < _this.availableLocales.length; i++) { | ||
System.import('script-loader!./locale/pivot.' + _this.availableLocales[i] + '.min.js'); | ||
} | ||
System.import('script-loader!./plugins/subtotal.min.js').then(function () { | ||
_this.isPivotInit = true; | ||
_this.pivotConfig = {}; | ||
_this.render(); | ||
}); | ||
}); | ||
this.isPivotInit = true; | ||
this.pivotConfig = {}; | ||
this.render(); | ||
}; | ||
@@ -57,3 +48,3 @@ /** | ||
this.pivotConfig.renderers = this.useSubtotal ? $.pivotUtilities.subtotal_renderers : undefined; | ||
$(this.mypivottable.nativeElement).pivotUI(data, this.pivotConfig, true, this.useLocale); | ||
$(this.ngxpivottable.nativeElement).pivotUI(data, this.pivotConfig, true, this.useLocale); | ||
} | ||
@@ -65,6 +56,3 @@ }; | ||
selector: 'ngx-pivot-table', | ||
template: '<div #mypivottable></div>', | ||
encapsulation: ViewEncapsulation.None, | ||
styles: [".pvtUi{color:#333}table.pvtTable{font-size:8pt;text-align:left;border-collapse:collapse}table.pvtTable tbody tr th,table.pvtTable thead tr th{background-color:#e6EEEE;border:1px solid #CDCDCD;font-size:8pt;padding:5px}table.pvtTable .pvtColLabel{text-align:center}table.pvtTable .pvtTotalLabel{text-align:right}table.pvtTable tbody tr td{color:#3D3D3D;padding:5px;background-color:#FFF;border:1px solid #CDCDCD;vertical-align:top;text-align:right}.pvtGrandTotal,.pvtTotal{font-weight:700}.pvtVals{text-align:center;white-space:nowrap}.pvtColOrder,.pvtRowOrder{cursor:pointer;width:15px;margin-left:5px;display:inline-block}.pvtAggregator{margin-bottom:5px}.pvtAxisContainer,.pvtVals{border:1px solid gray;background:#EEE;padding:5px;min-width:20px;min-height:20px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}.pvtAxisContainer li{padding:8px 6px;list-style-type:none;cursor:move}.pvtAxisContainer li.pvtPlaceholder{-webkit-border-radius:5px;padding:3px 15px;-moz-border-radius:5px;border-radius:5px;border:1px dashed #aaa}.pvtAxisContainer li span.pvtAttr{-webkit-text-size-adjust:100%;background:#F3F3F3;border:1px solid #DEDEDE;padding:2px 5px;white-space:nowrap;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.pvtTriangle{cursor:pointer;color:grey}.pvtHorizList li{display:inline}.pvtVertList{vertical-align:top}.pvtFilteredAttribute{font-style:italic}.pvtFilterBox{z-index:100;width:300px;border:1px solid gray;background-color:#fff;position:absolute;text-align:center}.pvtFilterBox h4{margin:15px}.pvtFilterBox p{margin:10px auto}.pvtFilterBox label{font-weight:400}.pvtFilterBox input[type=checkbox]{margin-right:10px;margin-left:10px}.pvtFilterBox input[type=text]{width:230px}.pvtFilterBox .count{color:gray;font-weight:400;margin-left:3px}.pvtCheckContainer{text-align:left;font-size:14px;white-space:nowrap;overflow-y:scroll;width:100%;max-height:250px;border-top:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3}.pvtCheckContainer p{margin:5px}.pvtRendererArea{padding:5px}", | ||
"table.pvtTable .pvtColSubtotal,table.pvtTable .pvtRowSubtotal{font-weight:700}body{font-family:Verdana}table.pvtTable .pvtAxisLabel{white-space:nowrap}table.pvtTable .pvtAxisLabel.expanded{white-space:nowrap;cursor:zoom-out!important}table.pvtTable .pvtAxisLabel.collapsed{white-space:nowrap;cursor:zoom-in!important}table.pvtTable tbody tr th.pvtRowLabel{vertical-align:top!important;white-space:nowrap!important;background-color:#fff!important;border-width:0 0 thin!important}table.pvtTable tbody tr th.pvtRowLabel.rowexpanded{cursor:zoom-out!important}table.pvtTable tbody tr th.pvtRowLabel.rowcollapsed{cursor:zoom-in!important}table.pvtTable .pvtRowLabelFiller{background-color:#fff;border-width:0 0 thin!important}table.pvtTable .pvtColLabelFiller,table.pvtTable tr td.pvtColSubtotal,table.pvtTable tr td.pvtRowSubtotal.rowcollapsed{background-color:#EFEFEF!important}table.pvtTable thead tr th.pvtColLabel{white-space:nowrap}table.pvtTable thead tr th.pvtColLabel.colexpanded{cursor:zoom-out!important}table.pvtTable thead tr th.pvtColLabel.colcollapsed{cursor:zoom-in!important}table.pvtTable tr .colhide,table.pvtTable tr .rowhide{display:none}"] | ||
template: '<div #ngxpivottable></div>' | ||
},] }, | ||
@@ -77,3 +65,3 @@ ]; | ||
"useLocale": [{ type: Input },], | ||
"mypivottable": [{ type: ViewChild, args: ['mypivottable',] },], | ||
"ngxpivottable": [{ type: ViewChild, args: ['ngxpivottable',] },], | ||
}; | ||
@@ -80,0 +68,0 @@ return NgxPivotTableComponent; |
@@ -6,6 +6,5 @@ import { OnInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core'; | ||
useLocale: string; | ||
mypivottable: ElementRef; | ||
ngxpivottable: ElementRef; | ||
private isPivotInit; | ||
private pivotConfig; | ||
private availableLocales; | ||
ngOnInit(): void; | ||
@@ -12,0 +11,0 @@ ngOnChanges(changes: SimpleChanges): void; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"NgxPivotTableModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"ngx-pivot-table","template":"<div #mypivottable></div>","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":13,"character":17},"member":"None"},"styles":[".pvtUi{color:#333}table.pvtTable{font-size:8pt;text-align:left;border-collapse:collapse}table.pvtTable tbody tr th,table.pvtTable thead tr th{background-color:#e6EEEE;border:1px solid #CDCDCD;font-size:8pt;padding:5px}table.pvtTable .pvtColLabel{text-align:center}table.pvtTable .pvtTotalLabel{text-align:right}table.pvtTable tbody tr td{color:#3D3D3D;padding:5px;background-color:#FFF;border:1px solid #CDCDCD;vertical-align:top;text-align:right}.pvtGrandTotal,.pvtTotal{font-weight:700}.pvtVals{text-align:center;white-space:nowrap}.pvtColOrder,.pvtRowOrder{cursor:pointer;width:15px;margin-left:5px;display:inline-block}.pvtAggregator{margin-bottom:5px}.pvtAxisContainer,.pvtVals{border:1px solid gray;background:#EEE;padding:5px;min-width:20px;min-height:20px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}.pvtAxisContainer li{padding:8px 6px;list-style-type:none;cursor:move}.pvtAxisContainer li.pvtPlaceholder{-webkit-border-radius:5px;padding:3px 15px;-moz-border-radius:5px;border-radius:5px;border:1px dashed #aaa}.pvtAxisContainer li span.pvtAttr{-webkit-text-size-adjust:100%;background:#F3F3F3;border:1px solid #DEDEDE;padding:2px 5px;white-space:nowrap;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.pvtTriangle{cursor:pointer;color:grey}.pvtHorizList li{display:inline}.pvtVertList{vertical-align:top}.pvtFilteredAttribute{font-style:italic}.pvtFilterBox{z-index:100;width:300px;border:1px solid gray;background-color:#fff;position:absolute;text-align:center}.pvtFilterBox h4{margin:15px}.pvtFilterBox p{margin:10px auto}.pvtFilterBox label{font-weight:400}.pvtFilterBox input[type=checkbox]{margin-right:10px;margin-left:10px}.pvtFilterBox input[type=text]{width:230px}.pvtFilterBox .count{color:gray;font-weight:400;margin-left:3px}.pvtCheckContainer{text-align:left;font-size:14px;white-space:nowrap;overflow-y:scroll;width:100%;max-height:250px;border-top:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3}.pvtCheckContainer p{margin:5px}.pvtRendererArea{padding:5px}","table.pvtTable .pvtColSubtotal,table.pvtTable .pvtRowSubtotal{font-weight:700}body{font-family:Verdana}table.pvtTable .pvtAxisLabel{white-space:nowrap}table.pvtTable .pvtAxisLabel.expanded{white-space:nowrap;cursor:zoom-out!important}table.pvtTable .pvtAxisLabel.collapsed{white-space:nowrap;cursor:zoom-in!important}table.pvtTable tbody tr th.pvtRowLabel{vertical-align:top!important;white-space:nowrap!important;background-color:#fff!important;border-width:0 0 thin!important}table.pvtTable tbody tr th.pvtRowLabel.rowexpanded{cursor:zoom-out!important}table.pvtTable tbody tr th.pvtRowLabel.rowcollapsed{cursor:zoom-in!important}table.pvtTable .pvtRowLabelFiller{background-color:#fff;border-width:0 0 thin!important}table.pvtTable .pvtColLabelFiller,table.pvtTable tr td.pvtColSubtotal,table.pvtTable tr td.pvtRowSubtotal.rowcollapsed{background-color:#EFEFEF!important}table.pvtTable thead tr th.pvtColLabel{white-space:nowrap}table.pvtTable thead tr th.pvtColLabel.colexpanded{cursor:zoom-out!important}table.pvtTable thead tr th.pvtColLabel.colcollapsed{cursor:zoom-in!important}table.pvtTable tr .colhide,table.pvtTable tr .rowhide{display:none}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"useSubtotal":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"useLocale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"mypivottable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":22,"character":3},"arguments":["mypivottable"]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"render":[{"__symbolic":"method"}]}}},"origins":{"NgxPivotTableModule":"./ngx-pivot-table.module","ɵa":"./ngx-pivot-table.component"},"importAs":"ngx-pivot-table"} | ||
{"__symbolic":"module","version":4,"metadata":{"NgxPivotTableModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"ngx-pivot-table","template":"<div #ngxpivottable></div>"}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"useSubtotal":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"useLocale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"ngxpivottable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":14,"character":3},"arguments":["ngxpivottable"]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"render":[{"__symbolic":"method"}]}}},"origins":{"NgxPivotTableModule":"./ngx-pivot-table.module","ɵa":"./ngx-pivot-table.component"},"importAs":"ngx-pivot-table"} |
{ | ||
"name": "ngx-pivot-table", | ||
"version": "1.0.1", | ||
"description": "Angular 5 wrapper for pivottable.js", | ||
"typings": "./ngx-pivot-table.d.ts", | ||
"main": "./bundles/ngx-pivot-table.umd.js", | ||
"module": "./esm5/ngx-pivot-table.js", | ||
"es2015": "./esm2015/ngx-pivot-table.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/franckcharlier/ngx-pivot-table.git" | ||
}, | ||
"author": "Franck Charlier", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/franckcharlier/ngx-pivot-table/issues" | ||
}, | ||
"homepage": "https://github.com/franckcharlier/ngx-pivot-table#readme", | ||
"peerDependencies": { | ||
"jquery": "^3.3.1", | ||
"jquery-ui-dist": "^1.12.1" | ||
}, | ||
"devDependencies": { | ||
"script-loader": "^0.7.2" | ||
} | ||
} | ||
"name": "ngx-pivot-table", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve", | ||
"build": "angular-package-builder" | ||
}, | ||
"typings": "./ngx-pivot-table.d.ts", | ||
"main": "./bundles/ngx-pivot-table.umd.js", | ||
"module": "./esm5/ngx-pivot-table.js", | ||
"es2015": "./esm2015/ngx-pivot-table.js", | ||
"private": false, | ||
"dependencies": { | ||
"jquery": "^3.3.1", | ||
"jquery-ui-dist": "^1.12.1", | ||
"pivottable": "^2.20.0", | ||
"subtotal": "^1.11.0-alpha.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
0
1
1
30801
4
11
279
3
+ Addedjquery@^3.3.1
+ Addedjquery-ui-dist@^1.12.1
+ Addedpivottable@^2.20.0
+ Addedsubtotal@^1.11.0-alpha.0
+ Addedpivottable@2.23.0(transitive)
+ Addedsubtotal@1.11.0-alpha.0(transitive)