Commit 76b0c13e by Ildar Safiullin

pivot

parent 6f3cedca
.gradle/
build/
target/
\ No newline at end of file
Bundle-Name: pivot
Bundle-SymbolicName: ru.systematic.cisstat
Bundle-Version: 1.0.0
Export-Package: ru.systematic.cisstat.constants
\ No newline at end of file
dependencies {
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compileOnly group: "javax.portlet", name: "portlet-api", version: "2.0"
compileOnly group: "javax.servlet", name: "javax.servlet-api", version: "3.0.1"
compileOnly group: "jstl", name: "jstl", version: "1.2"
compileOnly group: "org.osgi", name: "osgi.cmpn", version: "6.0.0"
}
package ru.systematic.cisstat.constants;
/**
* @author safiu
*/
public class PivotPortletKeys {
public static final String Pivot = "Pivot";
}
\ No newline at end of file
package ru.systematic.cisstat.portlet;
import ru.systematic.cisstat.constants.PivotPortletKeys;
import com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet;
import javax.portlet.Portlet;
import org.osgi.service.component.annotations.Component;
/**
* @author safiu
*/
@Component(
immediate = true,
property = {
"com.liferay.portlet.display-category=category.sample",
"com.liferay.portlet.instanceable=true",
"javax.portlet.display-name=pivot Portlet",
"javax.portlet.init-param.template-path=/",
"javax.portlet.init-param.view-template=/view.jsp",
"javax.portlet.name=" + PivotPortletKeys.Pivot,
"javax.portlet.resource-bundle=content.Language",
"javax.portlet.security-role-ref=power-user,user"
},
service = Portlet.class
)
public class PivotPortlet extends MVCPortlet {
}
\ No newline at end of file
(function(){var t;(t=function(t){return"object"==typeof exports&&"object"==typeof module?t(require("jquery"),require("c3")):"function"==typeof define&&define.amd?define(["jquery","c3"],t):t(jQuery,c3)})(function(t,e){var n;return n=function(n){return null==n&&(n={}),function(r,a){var o,l,i,u,s,c,h,g,p,d,f,y,v,x,b,j,m,z,w,k,A,C,S,q,B,H,_,F,K,T,L,N,Q,R,U,W,D,E,G,I,J,M,O,P,V,X,Y,Z,$,tt,et,nt,rt,at,ot,lt,it,ut;if(m={localeStrings:{vs:"vs",by:"by"},c3:{}},a=t.extend(!0,{},m,a),null==(i=a.c3).size&&(i.size={}),null==(u=a.c3.size).width&&(u.width=window.innerWidth/1.4),null==(s=a.c3.size).height&&(s.height=window.innerHeight/1.4-50),null==n.type&&(n.type="line"),null==n.horizontal&&(n.horizontal=!1),null==n.stacked&&(n.stacked=!1),Y=r.getRowKeys(),0===Y.length&&Y.push([]),x=r.getColKeys(),0===x.length&&x.push([]),S=function(){var t,e,n;for(n=[],t=0,e=x.length;t<e;t++)A=x[t],n.push(A.join("-"));return n}(),O=0,w=r.aggregatorName,r.valAttrs.length&&(w+="("+r.valAttrs.join(", ")+")"),"scatter"===n.type)for($={x:{},y:{},t:{}},l=r.rowAttrs.concat(r.colAttrs),rt=null!=(D=l[0])?D:"",C=null!=(E=l[1])?E:"",k=l.slice(2).join("-"),nt=rt,""!==C&&(nt+=" "+a.localeStrings.vs+" "+C),""!==k&&(nt+=" "+a.localeStrings.by+" "+k),q=0,F=Y.length;q<F;q++)for(X=Y[q],B=0,K=x.length;B<K;B++)v=x[B],o=r.getAggregator(X,v),null!=o.value()&&(ot=X.concat(v),tt=ot.slice(2).join("-"),""===tt&&(tt="series"),null==(c=$.x)[tt]&&(c[tt]=[]),null==(h=$.y)[tt]&&(h[tt]=[]),ut=null!=(G=ot[0])?G:0,lt=null!=(I=ot[1])?I:0,$.y[tt].push(ut),$.x[tt].push(lt),null==(g=$.t)[tt]&&(g[tt]={}),null==(p=$.t[tt])[lt]&&(p[lt]={}),$.t[tt][lt][ut]=o.value());else{for(R=0,H=0,T=S.length;H<T;H++)lt=S[H],R+=lt.length;for(R>50&&(O=45),b=[],_=0,L=Y.length;_<L;_++){for(X=Y[_],V=X.join("-"),P=[""===V?w:V],Q=0,N=x.length;Q<N;Q++)v=x[Q],at=parseFloat(r.getAggregator(X,v).value()),isFinite(at)?P.push(at):P.push(null);b.push(P)}rt=w,n.horizontal?(C=r.rowAttrs.join("-"),k=r.colAttrs.join("-")):(C=r.colAttrs.join("-"),k=r.rowAttrs.join("-")),nt=w,""!==C&&(nt+=" "+a.localeStrings.vs+" "+C),""!==k&&(nt+=" "+a.localeStrings.by+" "+k)}if(et=t("<p>",{style:"text-align: center; font-weight: bold"}),et.text(nt),z=r.getAggregator([],[]).format,W={axis:{rotated:n.horizontal,y:{label:rt,tick:{}},x:{label:C,tick:{rotate:O,multiline:!1}}},data:{type:n.type,order:null},tooltip:{grouped:!1},color:{pattern:["#3366cc","#dc3912","#ff9900","#109618","#990099","#0099c6","#dd4477","#66aa00","#b82e2e","#316395","#994499","#22aa99","#aaaa11","#6633cc","#e67300","#8b0707","#651067","#329262","#5574a6","#3b3eac"]}},W=t.extend(!0,{},W,a.c3),"scatter"===n.type){it={},U=0,j=[];for(Z in $.x)U+=1,it[Z]=Z+"_x",j.push([Z+"_x"].concat($.x[Z])),j.push([Z].concat($.y[Z]));W.data.xs=it,W.data.columns=j,W.axis.x.tick={fit:!1},1===U&&(W.legend={show:!1}),W.tooltip.format={title:function(){return w},name:function(){return""},value:function(t,e,n,r,a){var o;return o=a[0],tt=o.name,ut=o.value,lt=o.x,z($.t[tt][lt][ut])}}}else W.axis.x.type="category",null==(d=W.axis.y.tick).format&&(d.format=function(t){return z(t)}),W.tooltip.format={value:function(t){return z(t)}},n.horizontal?(y=function(){var t,e,n;for(n=[],e=0,t=b.length;e<t;e++)f=b[e],n.push(f.shift());return n}(),1===y.length&&y[0]===w&&(y=[""]),W.axis.x.categories=y,1===S.length&&""===S[0]&&(S=[w]),b.unshift(S),W.data.rows=b):(W.axis.x.categories=S,W.data.columns=b);return n.stacked&&(n.horizontal?W.data.groups=[function(){var t,e,n;for(n=[],e=0,t=x.length;e<t;e++)lt=x[e],n.push(lt.join("-"));return n}()]:W.data.groups=[function(){var t,e,n;for(n=[],e=0,t=Y.length;e<t;e++)lt=Y[e],n.push(lt.join("-"));return n}()]),J=t("<div>",{style:"display:none;"}).appendTo(t("body")),M=t("<div>").appendTo(J),W.bindto=M[0],e.generate(W),M.detach(),J.remove(),t("<div>").append(et,M)}},t.pivotUtilities.c3_renderers={"Horizontal Bar Chart":n({type:"bar",horizontal:!0}),"Horizontal Stacked Bar Chart":n({type:"bar",stacked:!0,horizontal:!0}),"Bar Chart":n({type:"bar"}),"Stacked Bar Chart":n({type:"bar",stacked:!0}),"Line Chart":n(),"Area Chart":n({type:"area",stacked:!0}),"Scatter Chart":n({type:"scatter"})}})}).call(this);
//# sourceMappingURL=c3_renderers.min.js.map
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"), require("d3"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery", "d3"], pivotModule);
} else {
return pivotModule(jQuery, d3);
}
};
callWithJQuery(function($, d3) {
return $.pivotUtilities.d3_renderers = {
Treemap: function(pivotData, opts) {
var addToTree, color, defaults, height, i, len, ref, result, rowKey, tree, treemap, value, width;
defaults = {
localeStrings: {},
d3: {
width: function() {
return $(window).width() / 1.4;
},
height: function() {
return $(window).height() / 1.4;
}
}
};
opts = $.extend(true, {}, defaults, opts);
result = $("<div>").css({
width: "100%",
height: "100%"
});
tree = {
name: "All",
children: []
};
addToTree = function(tree, path, value) {
var child, i, len, newChild, ref, x;
if (path.length === 0) {
tree.value = value;
return;
}
if (tree.children == null) {
tree.children = [];
}
x = path.shift();
ref = tree.children;
for (i = 0, len = ref.length; i < len; i++) {
child = ref[i];
if (!(child.name === x)) {
continue;
}
addToTree(child, path, value);
return;
}
newChild = {
name: x
};
addToTree(newChild, path, value);
return tree.children.push(newChild);
};
ref = pivotData.getRowKeys();
for (i = 0, len = ref.length; i < len; i++) {
rowKey = ref[i];
value = pivotData.getAggregator(rowKey, []).value();
if (value != null) {
addToTree(tree, rowKey, value);
}
}
color = d3.scale.category10();
width = opts.d3.width();
height = opts.d3.height();
treemap = d3.layout.treemap().size([width, height]).sticky(true).value(function(d) {
return d.size;
});
d3.select(result[0]).append("div").style("position", "relative").style("width", width + "px").style("height", height + "px").datum(tree).selectAll(".node").data(treemap.padding([15, 0, 0, 0]).value(function(d) {
return d.value;
}).nodes).enter().append("div").attr("class", "node").style("background", function(d) {
if (d.children != null) {
return "lightgrey";
} else {
return color(d.name);
}
}).text(function(d) {
return d.name;
}).call(function() {
this.style("left", function(d) {
return d.x + "px";
}).style("top", function(d) {
return d.y + "px";
}).style("width", function(d) {
return Math.max(0, d.dx - 1) + "px";
}).style("height", function(d) {
return Math.max(0, d.dy - 1) + "px";
});
});
return result;
}
};
});
}).call(this);
//# sourceMappingURL=d3_renderers.js.map
{"version":3,"file":"d3_renderers.js","sources":["d3_renderers.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EAA+B,OAAA,CAAQ,IAAR,CAA/B,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,EAAW,IAAX,CAAP,EAAyB,WAAzB,EADC;KAAA,MAAA;aAID,WAAA,CAAY,MAAZ,EAAoB,EAApB,EAJC;;EAHQ;;EASjB,cAAA,CAAe,SAAC,CAAD,EAAI,EAAJ;WAEX,CAAC,CAAC,cAAc,CAAC,YAAjB,GAAgC;MAAA,OAAA,EAAS,SAAC,SAAD,EAAY,IAAZ;AACrC,YAAA;QAAA,QAAA,GACI;UAAA,aAAA,EAAe,EAAf;UACA,EAAA,EACI;YAAA,KAAA,EAAO,SAAA;qBAAG,CAAA,CAAE,MAAF,CAAS,CAAC,KAAV,CAAA,CAAA,GAAoB;YAAvB,CAAP;YACA,MAAA,EAAQ,SAAA;qBAAG,CAAA,CAAE,MAAF,CAAS,CAAC,MAAV,CAAA,C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AAC,GAAL,CAAS,CAAT,EAAY,CAAC,CAAC,EAAF,GAAO,CAAnB,CAAA,GAAsB;UAA7B,CAFpB,CAGI,CAAC,KAHL,CAGW,QAHX,EAGoB,SAAC,CAAD;mBAAO,IAAI,CAAC,GAAL,CAAS,CAAT,EAAY,CAAC,CAAC,EAAF,GAAO,CAAnB,CAAA,GAAsB;UAA7B,CAHpB;QADF,CAXV;AAkBA,eAAO;MA1D8B,CAAT;;EAFrB,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\"), require(\"d3\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\", \"d3\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery, d3\n\ncallWithJQuery ($, d3) ->\n\n $.pivotUtilities.d3_renderers = Treemap: (pivotData, opts) ->\n defaults =\n localeStrings: {}\n d3:\n width: -> $(window).width() / 1.4\n height: -> $(window).height() / 1.4\n\n opts = $.extend(true, {}, defaults, opts)\n\n\n result = $(\"<div>\").css(width: \"100%\", height: \"100%\")\n\n tree = name: \"All\", children: []\n addToTree = (tree, path, value) ->\n if path.length == 0\n tree.value = value\n return\n tree.children ?= []\n x = path.shift()\n for child in tree.children when child.name == x\n addToTree(child, path, value)\n return\n newChild = name: x\n addToTree(newChild, path, value)\n tree.children.push newChild\n\n for rowKey in pivotData.getRowKeys()\n value = pivotData.getAggregator(rowKey, []).value()\n if value?\n addToTree(tree, rowKey, value)\n\n color = d3.scale.category10()\n width = opts.d3.width()\n height = opts.d3.height()\n\n treemap = d3.layout.treemap()\n .size([width, height])\n .sticky(true)\n .value( (d) -> d.size )\n\n d3.select(result[0])\n .append(\"div\")\n .style(\"position\", \"relative\")\n .style(\"width\", width + \"px\")\n .style(\"height\", height + \"px\")\n .datum(tree).selectAll(\".node\")\n .data(treemap.padding([15,0,0,0]).value( (d) -> d.value ).nodes)\n .enter().append(\"div\")\n .attr(\"class\", \"node\")\n .style(\"background\", (d) -> if d.children? then \"lightgrey\" else color(d.name) )\n .text( (d) -> d.name )\n .call ->\n this.style(\"left\", (d) -> d.x+\"px\" )\n .style(\"top\", (d) -> d.y+\"px\" )\n .style(\"width\", (d) -> Math.max(0, d.dx - 1)+\"px\" )\n .style(\"height\",(d) -> Math.max(0, d.dy - 1)+\"px\" )\n return\n\n return result\n\n\n\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery"),require("d3")):"function"==typeof define&&define.amd?define(["jquery","d3"],e):e(jQuery,d3)})(function(e,t){return e.pivotUtilities.d3_renderers={Treemap:function(n,i){var r,u,l,d,o,a,c,h,f,s,p,y,g;for(l={localeStrings:{},d3:{width:function(){return e(window).width()/1.4},height:function(){return e(window).height()/1.4}}},i=e.extend(!0,{},l,i),h=e("<div>").css({width:"100%",height:"100%"}),s={name:"All",children:[]},r=function(e,t,n){var i,u,l,d,o,a;if(0===t.length)return void(e.value=n);for(null==e.children&&(e.children=[]),a=t.shift(),o=e.children,u=0,l=o.length;u<l;u++)if(i=o[u],i.name===a)return void r(i,t,n);return d={name:a},r(d,t,n),e.children.push(d)},c=n.getRowKeys(),o=0,a=c.length;o<a;o++)f=c[o],y=n.getAggregator(f,[]).value(),null!=y&&r(s,f,y);return u=t.scale.category10(),g=i.d3.width(),d=i.d3.height(),p=t.layout.treemap().size([g,d]).sticky(!0).value(function(e){return e.size}),t.select(h[0]).append("div").style("position","relative").style("width",g+"px").style("height",d+"px").datum(s).selectAll(".node").data(p.padding([15,0,0,0]).value(function(e){return e.value}).nodes).enter().append("div").attr("class","node").style("background",function(e){return null!=e.children?"lightgrey":u(e.name)}).text(function(e){return e.name}).call(function(){this.style("left",function(e){return e.x+"px"}).style("top",function(e){return e.y+"px"}).style("width",function(e){return Math.max(0,e.dx-1)+"px"}).style("height",function(e){return Math.max(0,e.dy-1)+"px"})}),h}}})}).call(this);
//# sourceMappingURL=d3_renderers.min.js.map
{"version":3,"sources":["d3_renderers.coffee","d3_renderers.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","d3","$","pivotUtilities","d3_renderers","Treemap","pivotData","opts","addToTree","color","defaults","height","i","len","ref","result","rowKey","tree","treemap","value","width","localeStrings","window","extend","css","name","children","path","child","newChild","x","length","shift","push","getRowKeys","getAggregator","scale","category10","layout","size","sticky","d","select","append","style","datum","selectAll","data","padding","nodes","enter","attr","text","call","this","y","Math","max","dx","dy"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,UAAWA,QAAQ,OAClB,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,SAAU,MAAOJ,GAGzBA,EAAYM,OAAQC,MAEb,SAACC,EAAGD,GCKf,MDHAC,GAAEC,eAAeC,cAAeC,QAAS,SAACC,EAAWC,GACjD,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,CAyBA,KAzBAV,GACIW,iBACApB,IACImB,MAAO,WCMT,MDNYlB,GAAEoB,QAAQF,QAAU,KAC9BT,OAAQ,WCQV,MDRaT,GAAEoB,QAAQX,SAAW,OAExCJ,EAAOL,EAAEqB,QAAO,KAAUb,EAAUH,GAGpCQ,EAASb,EAAE,SAASsB,KAAIJ,MAAO,OAAQT,OAAQ,SAE/CM,GAAOQ,KAAM,MAAOC,aACpBlB,EAAY,SAACS,EAAMU,EAAMR,GACrB,GAAAS,GAAAhB,EAAAC,EAAAgB,EAAAf,EAAAgB,CAAA,IAAkB,IAAfH,EAAKI,OAEJ,YADAd,EAAKE,MAAQA,EAIjB,KCamB,MAAjBF,EAAKS,WDfPT,EAAKS,aACLI,EAAIH,EAAKK,QACTlB,EAAAG,EAAAS,SAAAd,EAAA,EAAAC,EAAAC,EAAAiB,OAAAnB,EAAAC,EAAAD,ICoBA,GAD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5Cd,MAAM,SAAS,SAACH,GC4B7B,MD5BmCe,MAAKC,IAAI,EAAGhB,EAAEkB,GAAK,GAAG,SAGtD5C,QCiCZsC,KAAKC","file":"d3_renderers.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\"), require(\"d3\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\", \"d3\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery, d3\n\ncallWithJQuery ($, d3) ->\n\n $.pivotUtilities.d3_renderers = Treemap: (pivotData, opts) ->\n defaults =\n localeStrings: {}\n d3:\n width: -> $(window).width() / 1.4\n height: -> $(window).height() / 1.4\n\n opts = $.extend(true, {}, defaults, opts)\n\n\n result = $(\"<div>\").css(width: \"100%\", height: \"100%\")\n\n tree = name: \"All\", children: []\n addToTree = (tree, path, value) ->\n if path.length == 0\n tree.value = value\n return\n tree.children ?= []\n x = path.shift()\n for child in tree.children when child.name == x\n addToTree(child, path, value)\n return\n newChild = name: x\n addToTree(newChild, path, value)\n tree.children.push newChild\n\n for rowKey in pivotData.getRowKeys()\n value = pivotData.getAggregator(rowKey, []).value()\n if value?\n addToTree(tree, rowKey, value)\n\n color = d3.scale.category10()\n width = opts.d3.width()\n height = opts.d3.height()\n\n treemap = d3.layout.treemap()\n .size([width, height])\n .sticky(true)\n .value( (d) -> d.size )\n\n d3.select(result[0])\n .append(\"div\")\n .style(\"position\", \"relative\")\n .style(\"width\", width + \"px\")\n .style(\"height\", height + \"px\")\n .datum(tree).selectAll(\".node\")\n .data(treemap.padding([15,0,0,0]).value( (d) -> d.value ).nodes)\n .enter().append(\"div\")\n .attr(\"class\", \"node\")\n .style(\"background\", (d) -> if d.children? then \"lightgrey\" else color(d.name) )\n .text( (d) -> d.name )\n .call ->\n this.style(\"left\", (d) -> d.x+\"px\" )\n .style(\"top\", (d) -> d.y+\"px\" )\n .style(\"width\", (d) -> Math.max(0, d.dx - 1)+\"px\" )\n .style(\"height\",(d) -> Math.max(0, d.dy - 1)+\"px\" )\n return\n\n return result\n\n\n\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"), require(\"d3\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\", \"d3\"], pivotModule);\n } else {\n return pivotModule(jQuery, d3);\n }\n };\n\n callWithJQuery(function($, d3) {\n return $.pivotUtilities.d3_renderers = {\n Treemap: function(pivotData, opts) {\n var addToTree, color, defaults, height, i, len, ref, result, rowKey, tree, treemap, value, width;\n defaults = {\n localeStrings: {},\n d3: {\n width: function() {\n return $(window).width() / 1.4;\n },\n height: function() {\n return $(window).height() / 1.4;\n }\n }\n };\n opts = $.extend(true, {}, defaults, opts);\n result = $(\"<div>\").css({\n width: \"100%\",\n height: \"100%\"\n });\n tree = {\n name: \"All\",\n children: []\n };\n addToTree = function(tree, path, value) {\n var child, i, len, newChild, ref, x;\n if (path.length === 0) {\n tree.value = value;\n return;\n }\n if (tree.children == null) {\n tree.children = [];\n }\n x = path.shift();\n ref = tree.children;\n for (i = 0, len = ref.length; i < len; i++) {\n child = ref[i];\n if (!(child.name === x)) {\n continue;\n }\n addToTree(child, path, value);\n return;\n }\n newChild = {\n name: x\n };\n addToTree(newChild, path, value);\n return tree.children.push(newChild);\n };\n ref = pivotData.getRowKeys();\n for (i = 0, len = ref.length; i < len; i++) {\n rowKey = ref[i];\n value = pivotData.getAggregator(rowKey, []).value();\n if (value != null) {\n addToTree(tree, rowKey, value);\n }\n }\n color = d3.scale.category10();\n width = opts.d3.width();\n height = opts.d3.height();\n treemap = d3.layout.treemap().size([width, height]).sticky(true).value(function(d) {\n return d.size;\n });\n d3.select(result[0]).append(\"div\").style(\"position\", \"relative\").style(\"width\", width + \"px\").style(\"height\", height + \"px\").datum(tree).selectAll(\".node\").data(treemap.padding([15, 0, 0, 0]).value(function(d) {\n return d.value;\n }).nodes).enter().append(\"div\").attr(\"class\", \"node\").style(\"background\", function(d) {\n if (d.children != null) {\n return \"lightgrey\";\n } else {\n return color(d.name);\n }\n }).text(function(d) {\n return d.name;\n }).call(function() {\n this.style(\"left\", function(d) {\n return d.x + \"px\";\n }).style(\"top\", function(d) {\n return d.y + \"px\";\n }).style(\"width\", function(d) {\n return Math.max(0, d.dx - 1) + \"px\";\n }).style(\"height\", function(d) {\n return Math.max(0, d.dy - 1) + \"px\";\n });\n });\n return result;\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=d3_renderers.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
return $.pivotUtilities.export_renderers = {
"TSV Export": function(pivotData, opts) {
var agg, colAttrs, colKey, colKeys, defaults, i, j, k, l, len, len1, len2, len3, len4, len5, m, n, r, result, row, rowAttr, rowAttrs, rowKey, rowKeys, text;
defaults = {
localeStrings: {}
};
opts = $.extend(true, {}, defaults, opts);
rowKeys = pivotData.getRowKeys();
if (rowKeys.length === 0) {
rowKeys.push([]);
}
colKeys = pivotData.getColKeys();
if (colKeys.length === 0) {
colKeys.push([]);
}
rowAttrs = pivotData.rowAttrs;
colAttrs = pivotData.colAttrs;
result = [];
row = [];
for (i = 0, len = rowAttrs.length; i < len; i++) {
rowAttr = rowAttrs[i];
row.push(rowAttr);
}
if (colKeys.length === 1 && colKeys[0].length === 0) {
row.push(pivotData.aggregatorName);
} else {
for (j = 0, len1 = colKeys.length; j < len1; j++) {
colKey = colKeys[j];
row.push(colKey.join("-"));
}
}
result.push(row);
for (k = 0, len2 = rowKeys.length; k < len2; k++) {
rowKey = rowKeys[k];
row = [];
for (l = 0, len3 = rowKey.length; l < len3; l++) {
r = rowKey[l];
row.push(r);
}
for (m = 0, len4 = colKeys.length; m < len4; m++) {
colKey = colKeys[m];
agg = pivotData.getAggregator(rowKey, colKey);
if (agg.value() != null) {
row.push(agg.value());
} else {
row.push("");
}
}
result.push(row);
}
text = "";
for (n = 0, len5 = result.length; n < len5; n++) {
r = result[n];
text += r.join("\t") + "\n";
}
return $("<textarea>").text(text).css({
width: ($(window).width() / 2) + "px",
height: ($(window).height() / 2) + "px"
});
}
};
});
}).call(this);
//# sourceMappingURL=export_renderers.js.map
{"version":3,"file":"export_renderers.js","sources":["export_renderers.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADC;KAAA,MAAA;aAID,WAAA,CAAY,MAAZ,EAJC;;EAHQ;;EASjB,cAAA,CAAe,SAAC,CAAD;WAEX,CAAC,CAAC,cAAc,CAAC,gBAAjB,GAAoC;MAAA,YAAA,EAAc,SAAC,SAAD,EAAY,IAAZ;AAC9C,YAAA;QAAA,QAAA,GAAW;UAAA,aAAA,EAAe,EAAf;;QAEX,IAAA,GAAO,CAAC,CAAC,MAAF,CAAS,IAAT,EAAe,EAAf,EAAmB,QAAnB,EAA6B,IAA7B;QAEP,OAAA,GAAU,SAAS,CAAC,UAAV,CAAA;QACV,IAAmB,OAAO,CAAC,MAAR,KAAkB,CAArC;UAAA,OAAO,CAAC,IAAR,CAAa,EAAb,EAAA;;QACA,OAAA,GAAU,SAAS,CAAC,UAAV,CAAA;QACV,IAAmB,OAAO,CAAC,MAAR,KAAkB,CAArC;UAAA,OAAO,CAAC,IAAR,CAAa,EAAb,EAAA;;QACA,QAAA,GAAW,S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;MAzCuC,CAAd;;EAFzB,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n\n $.pivotUtilities.export_renderers = \"TSV Export\": (pivotData, opts) ->\n defaults = localeStrings: {}\n\n opts = $.extend(true, {}, defaults, opts)\n\n rowKeys = pivotData.getRowKeys()\n rowKeys.push [] if rowKeys.length == 0\n colKeys = pivotData.getColKeys()\n colKeys.push [] if colKeys.length == 0\n rowAttrs = pivotData.rowAttrs\n colAttrs = pivotData.colAttrs\n\n result = []\n\n row = []\n for rowAttr in rowAttrs\n row.push rowAttr\n if colKeys.length == 1 and colKeys[0].length == 0\n row.push pivotData.aggregatorName\n else\n for colKey in colKeys\n row.push colKey.join(\"-\")\n\n result.push row\n\n for rowKey in rowKeys\n row = []\n for r in rowKey\n row.push r\n\n for colKey in colKeys\n agg = pivotData.getAggregator(rowKey, colKey)\n if agg.value()?\n row.push agg.value()\n else\n row.push \"\"\n result.push row\n text = \"\"\n for r in result\n text += r.join(\"\\t\")+\"\\n\"\n\n return $(\"<textarea>\").text(text).css(\n width: ($(window).width() / 2) + \"px\",\n height: ($(window).height() / 2) + \"px\")\n\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){return e.pivotUtilities.export_renderers={"TSV Export":function(t,n){var r,o,h,u,i,l,g,s,p,f,a,c,d,w,x,y,j,v,m,q,A,b,K,S,C;for(i={localeStrings:{}},n=e.extend(!0,{},i,n),S=t.getRowKeys(),0===S.length&&S.push([]),u=t.getColKeys(),0===u.length&&u.push([]),b=t.rowAttrs,o=t.colAttrs,m=[],q=[],l=0,f=b.length;l<f;l++)A=b[l],q.push(A);if(1===u.length&&0===u[0].length)q.push(t.aggregatorName);else for(g=0,a=u.length;g<a;g++)h=u[g],q.push(h.join("-"));for(m.push(q),s=0,c=S.length;s<c;s++){for(K=S[s],q=[],p=0,d=K.length;p<d;p++)v=K[p],q.push(v);for(y=0,w=u.length;y<w;y++)h=u[y],r=t.getAggregator(K,h),null!=r.value()?q.push(r.value()):q.push("");m.push(q)}for(C="",j=0,x=m.length;j<x;j++)v=m[j],C+=v.join("\t")+"\n";return e("<textarea>").text(C).css({width:e(window).width()/2+"px",height:e(window).height()/2+"px"})}}})}).call(this);
//# sourceMappingURL=export_renderers.min.js.map
{"version":3,"sources":["export_renderers.coffee","export_renderers.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","pivotUtilities","export_renderers","TSV Export","pivotData","opts","agg","colAttrs","colKey","colKeys","defaults","i","j","k","l","len","len1","len2","len3","len4","len5","m","n","r","result","row","rowAttr","rowAttrs","rowKey","rowKeys","text","localeStrings","extend","getRowKeys","length","push","getColKeys","aggregatorName","join","getAggregator","value","css","width","window","height","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GCKZ,MDHAA,GAAEC,eAAeC,kBAAmBC,aAAc,SAACC,EAAWC,GAC1D,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,CAcA,KAdApB,GAAWqB,kBAEX1B,EAAOL,EAAEgC,QAAO,KAAUtB,EAAUL,GAEpCwB,EAAUzB,EAAU6B,aACiB,IAAlBJ,EAAQK,QAA3BL,EAA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n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n\n $.pivotUtilities.export_renderers = \"TSV Export\": (pivotData, opts) ->\n defaults = localeStrings: {}\n\n opts = $.extend(true, {}, defaults, opts)\n\n rowKeys = pivotData.getRowKeys()\n rowKeys.push [] if rowKeys.length == 0\n colKeys = pivotData.getColKeys()\n colKeys.push [] if colKeys.length == 0\n rowAttrs = pivotData.rowAttrs\n colAttrs = pivotData.colAttrs\n\n result = []\n\n row = []\n for rowAttr in rowAttrs\n row.push rowAttr\n if colKeys.length == 1 and colKeys[0].length == 0\n row.push pivotData.aggregatorName\n else\n for colKey in colKeys\n row.push colKey.join(\"-\")\n\n result.push row\n\n for rowKey in rowKeys\n row = []\n for r in rowKey\n row.push r\n\n for colKey in colKeys\n agg = pivotData.getAggregator(rowKey, colKey)\n if agg.value()?\n row.push agg.value()\n else\n row.push \"\"\n result.push row\n text = \"\"\n for r in result\n text += r.join(\"\\t\")+\"\\n\"\n\n return $(\"<textarea>\").text(text).css(\n width: ($(window).width() / 2) + \"px\",\n height: ($(window).height() / 2) + \"px\")\n\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n return $.pivotUtilities.export_renderers = {\n \"TSV Export\": function(pivotData, opts) {\n var agg, colAttrs, colKey, colKeys, defaults, i, j, k, l, len, len1, len2, len3, len4, len5, m, n, r, result, row, rowAttr, rowAttrs, rowKey, rowKeys, text;\n defaults = {\n localeStrings: {}\n };\n opts = $.extend(true, {}, defaults, opts);\n rowKeys = pivotData.getRowKeys();\n if (rowKeys.length === 0) {\n rowKeys.push([]);\n }\n colKeys = pivotData.getColKeys();\n if (colKeys.length === 0) {\n colKeys.push([]);\n }\n rowAttrs = pivotData.rowAttrs;\n colAttrs = pivotData.colAttrs;\n result = [];\n row = [];\n for (i = 0, len = rowAttrs.length; i < len; i++) {\n rowAttr = rowAttrs[i];\n row.push(rowAttr);\n }\n if (colKeys.length === 1 && colKeys[0].length === 0) {\n row.push(pivotData.aggregatorName);\n } else {\n for (j = 0, len1 = colKeys.length; j < len1; j++) {\n colKey = colKeys[j];\n row.push(colKey.join(\"-\"));\n }\n }\n result.push(row);\n for (k = 0, len2 = rowKeys.length; k < len2; k++) {\n rowKey = rowKeys[k];\n row = [];\n for (l = 0, len3 = rowKey.length; l < len3; l++) {\n r = rowKey[l];\n row.push(r);\n }\n for (m = 0, len4 = colKeys.length; m < len4; m++) {\n colKey = colKeys[m];\n agg = pivotData.getAggregator(rowKey, colKey);\n if (agg.value() != null) {\n row.push(agg.value());\n } else {\n row.push(\"\");\n }\n }\n result.push(row);\n }\n text = \"\";\n for (n = 0, len5 = result.length; n < len5; n++) {\n r = result[n];\n text += r.join(\"\\t\") + \"\\n\";\n }\n return $(\"<textarea>\").text(text).css({\n width: ($(window).width() / 2) + \"px\",\n height: ($(window).height() / 2) + \"px\"\n });\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=export_renderers.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var makeGoogleChart;
makeGoogleChart = function(chartType, extraOptions) {
return function(pivotData, opts) {
var agg, base, base1, colKey, colKeys, dataArray, dataTable, defaults, fullAggName, groupByTitle, h, hAxisTitle, headers, i, j, len, len1, numCharsInHAxis, options, ref, result, row, rowKey, rowKeys, title, tree2, vAxisTitle, val, wrapper, x, y;
defaults = {
localeStrings: {
vs: "vs",
by: "by"
},
gchart: {}
};
opts = $.extend(true, {}, defaults, opts);
if ((base = opts.gchart).width == null) {
base.width = window.innerWidth / 1.4;
}
if ((base1 = opts.gchart).height == null) {
base1.height = window.innerHeight / 1.4;
}
rowKeys = pivotData.getRowKeys();
if (rowKeys.length === 0) {
rowKeys.push([]);
}
colKeys = pivotData.getColKeys();
if (colKeys.length === 0) {
colKeys.push([]);
}
fullAggName = pivotData.aggregatorName;
if (pivotData.valAttrs.length) {
fullAggName += "(" + (pivotData.valAttrs.join(", ")) + ")";
}
headers = (function() {
var i, len, results;
results = [];
for (i = 0, len = rowKeys.length; i < len; i++) {
h = rowKeys[i];
results.push(h.join("-"));
}
return results;
})();
headers.unshift("");
numCharsInHAxis = 0;
if (chartType === "ScatterChart") {
dataArray = [];
ref = pivotData.tree;
for (y in ref) {
tree2 = ref[y];
for (x in tree2) {
agg = tree2[x];
dataArray.push([parseFloat(x), parseFloat(y), fullAggName + ": \n" + agg.format(agg.value())]);
}
}
dataTable = new google.visualization.DataTable();
dataTable.addColumn('number', pivotData.colAttrs.join("-"));
dataTable.addColumn('number', pivotData.rowAttrs.join("-"));
dataTable.addColumn({
type: "string",
role: "tooltip"
});
dataTable.addRows(dataArray);
hAxisTitle = pivotData.colAttrs.join("-");
vAxisTitle = pivotData.rowAttrs.join("-");
title = "";
} else {
dataArray = [headers];
for (i = 0, len = colKeys.length; i < len; i++) {
colKey = colKeys[i];
row = [colKey.join("-")];
numCharsInHAxis += row[0].length;
for (j = 0, len1 = rowKeys.length; j < len1; j++) {
rowKey = rowKeys[j];
agg = pivotData.getAggregator(rowKey, colKey);
if (agg.value() != null) {
val = agg.value();
if ($.isNumeric(val)) {
if (val < 1) {
row.push(parseFloat(val.toPrecision(3)));
} else {
row.push(parseFloat(val.toFixed(3)));
}
} else {
row.push(val);
}
} else {
row.push(null);
}
}
dataArray.push(row);
}
dataTable = google.visualization.arrayToDataTable(dataArray);
title = vAxisTitle = fullAggName;
hAxisTitle = pivotData.colAttrs.join("-");
if (hAxisTitle !== "") {
title += " " + opts.localeStrings.vs + " " + hAxisTitle;
}
groupByTitle = pivotData.rowAttrs.join("-");
if (groupByTitle !== "") {
title += " " + opts.localeStrings.by + " " + groupByTitle;
}
}
options = {
title: title,
hAxis: {
title: hAxisTitle,
slantedText: numCharsInHAxis > 50
},
vAxis: {
title: vAxisTitle
},
tooltip: {
textStyle: {
fontName: 'Arial',
fontSize: 12
}
}
};
if (chartType === "ColumnChart") {
options.vAxis.minValue = 0;
}
if (chartType === "ScatterChart") {
options.legend = {
position: "none"
};
options.chartArea = {
'width': '80%',
'height': '80%'
};
} else if (dataArray[0].length === 2 && dataArray[0][1] === "") {
options.legend = {
position: "none"
};
}
options = $.extend(true, {}, options, opts.gchart, extraOptions);
result = $("<div>").css({
width: "100%",
height: "100%"
});
wrapper = new google.visualization.ChartWrapper({
dataTable: dataTable,
chartType: chartType,
options: options
});
wrapper.draw(result[0]);
result.bind("dblclick", function() {
var editor;
editor = new google.visualization.ChartEditor();
google.visualization.events.addListener(editor, 'ok', function() {
return editor.getChartWrapper().draw(result[0]);
});
return editor.openDialog(wrapper);
});
return result;
};
};
return $.pivotUtilities.gchart_renderers = {
"Line Chart": makeGoogleChart("LineChart"),
"Bar Chart": makeGoogleChart("ColumnChart"),
"Stacked Bar Chart": makeGoogleChart("ColumnChart", {
isStacked: true
}),
"Area Chart": makeGoogleChart("AreaChart", {
isStacked: true
}),
"Scatter Chart": makeGoogleChart("ScatterChart")
};
});
}).call(this);
//# sourceMappingURL=gchart_renderers.js.map
{"version":3,"file":"gchart_renderers.js","sources":["gchart_renderers.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,I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,mBAAA,EAAqB,eAAA,CAAgB,aAAhB,EAA+B;QAAA,SAAA,EAAW,IAAX;OAA/B,CAFrB;MAGA,YAAA,EAAc,eAAA,CAAgB,WAAhB,EAA6B;QAAA,SAAA,EAAW,IAAX;OAA7B,CAHd;MAIA,eAAA,EAAiB,eAAA,CAAgB,cAAhB,CAJjB;;EAjGO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n\n makeGoogleChart = (chartType, extraOptions) -> (pivotData, opts) ->\n defaults =\n localeStrings:\n vs: \"vs\"\n by: \"by\"\n gchart: {}\n\n opts = $.extend(true, {}, defaults, opts)\n opts.gchart.width ?= window.innerWidth / 1.4\n opts.gchart.height ?= window.innerHeight / 1.4\n\n rowKeys = pivotData.getRowKeys()\n rowKeys.push [] if rowKeys.length == 0\n colKeys = pivotData.getColKeys()\n colKeys.push [] if colKeys.length == 0\n fullAggName = pivotData.aggregatorName\n if pivotData.valAttrs.length\n fullAggName += \"(#{pivotData.valAttrs.join(\", \")})\"\n headers = (h.join(\"-\") for h in rowKeys)\n headers.unshift \"\"\n\n numCharsInHAxis = 0\n if chartType == \"ScatterChart\"\n dataArray = []\n for y, tree2 of pivotData.tree\n for x, agg of tree2\n dataArray.push [\n parseFloat(x),\n parseFloat(y),\n fullAggName+\": \\n\"+agg.format(agg.value())\n ]\n dataTable = new google.visualization.DataTable()\n dataTable.addColumn 'number', pivotData.colAttrs.join(\"-\")\n dataTable.addColumn 'number', pivotData.rowAttrs.join(\"-\")\n dataTable.addColumn type: \"string\", role: \"tooltip\"\n dataTable.addRows dataArray\n hAxisTitle = pivotData.colAttrs.join(\"-\")\n vAxisTitle = pivotData.rowAttrs.join(\"-\")\n title = \"\"\n else\n dataArray = [headers]\n for colKey in colKeys\n row = [colKey.join(\"-\")]\n numCharsInHAxis += row[0].length\n for rowKey in rowKeys\n agg = pivotData.getAggregator(rowKey, colKey)\n if agg.value()?\n val = agg.value()\n if $.isNumeric val\n if val < 1\n row.push parseFloat(val.toPrecision(3))\n else\n row.push parseFloat(val.toFixed(3))\n else\n row.push val\n else row.push null\n dataArray.push row\n\n dataTable = google.visualization.arrayToDataTable(dataArray)\n\n title = vAxisTitle = fullAggName\n hAxisTitle = pivotData.colAttrs.join(\"-\")\n title += \" #{opts.localeStrings.vs} #{hAxisTitle}\" if hAxisTitle != \"\"\n groupByTitle = pivotData.rowAttrs.join(\"-\")\n title += \" #{opts.localeStrings.by} #{groupByTitle}\" if groupByTitle != \"\"\n\n options =\n title: title\n hAxis: {title: hAxisTitle, slantedText: numCharsInHAxis > 50}\n vAxis: {title: vAxisTitle}\n tooltip: { textStyle: { fontName: 'Arial', fontSize: 12 } }\n\n if chartType == \"ColumnChart\"\n options.vAxis.minValue = 0\n\n if chartType == \"ScatterChart\"\n options.legend = position: \"none\"\n options.chartArea = {'width': '80%', 'height': '80%'}\n\n else if dataArray[0].length == 2 and dataArray[0][1] == \"\"\n options.legend = position: \"none\"\n\n options = $.extend(true, {}, options, opts.gchart, extraOptions)\n\n result = $(\"<div>\").css(width: \"100%\", height: \"100%\")\n wrapper = new google.visualization.ChartWrapper {dataTable, chartType, options}\n wrapper.draw(result[0])\n result.bind \"dblclick\", ->\n editor = new google.visualization.ChartEditor()\n google.visualization.events.addListener editor, 'ok', ->\n editor.getChartWrapper().draw(result[0])\n editor.openDialog(wrapper)\n return result\n\n $.pivotUtilities.gchart_renderers =\n \"Line Chart\": makeGoogleChart(\"LineChart\")\n \"Bar Chart\": makeGoogleChart(\"ColumnChart\")\n \"Stacked Bar Chart\": makeGoogleChart(\"ColumnChart\", isStacked: true)\n \"Area Chart\": makeGoogleChart(\"AreaChart\", isStacked: true)\n \"Scatter Chart\": makeGoogleChart(\"ScatterChart\")\n"]}
\ No newline at end of file
(function(){var t;(t=function(t){return"object"==typeof exports&&"object"==typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){var e;return e=function(e,r){return function(n,a){var o,i,l,h,s,u,g,d,c,p,f,v,C,w,A,m,y,j,b,S,x,z,T,k,F,q,D,L,N,W,B;if(d={localeStrings:{vs:"vs",by:"by"},gchart:{}},a=t.extend(!0,{},d,a),null==(i=a.gchart).width&&(i.width=window.innerWidth/1.4),null==(l=a.gchart).height&&(l.height=window.innerHeight/1.4),k=n.getRowKeys(),0===k.length&&k.push([]),s=n.getColKeys(),0===s.length&&s.push([]),c=n.aggregatorName,n.valAttrs.length&&(c+="("+n.valAttrs.join(", ")+")"),C=function(){var t,e,r;for(r=[],t=0,e=k.length;t<e;t++)f=k[t],r.push(f.join("-"));return r}(),C.unshift(""),j=0,"ScatterChart"===e){u=[],S=n.tree;for(B in S){q=S[B];for(W in q)o=q[W],u.push([parseFloat(W),parseFloat(B),c+": \n"+o.format(o.value())])}g=new google.visualization.DataTable,g.addColumn("number",n.colAttrs.join("-")),g.addColumn("number",n.rowAttrs.join("-")),g.addColumn({type:"string",role:"tooltip"}),g.addRows(u),v=n.colAttrs.join("-"),D=n.rowAttrs.join("-"),F=""}else{for(u=[C],w=0,m=s.length;w<m;w++){for(h=s[w],z=[h.join("-")],j+=z[0].length,A=0,y=k.length;A<y;A++)T=k[A],o=n.getAggregator(T,h),null!=o.value()?(L=o.value(),t.isNumeric(L)?L<1?z.push(parseFloat(L.toPrecision(3))):z.push(parseFloat(L.toFixed(3))):z.push(L)):z.push(null);u.push(z)}g=google.visualization.arrayToDataTable(u),F=D=c,v=n.colAttrs.join("-"),""!==v&&(F+=" "+a.localeStrings.vs+" "+v),p=n.rowAttrs.join("-"),""!==p&&(F+=" "+a.localeStrings.by+" "+p)}return b={title:F,hAxis:{title:v,slantedText:j>50},vAxis:{title:D},tooltip:{textStyle:{fontName:"Arial",fontSize:12}}},"ColumnChart"===e&&(b.vAxis.minValue=0),"ScatterChart"===e?(b.legend={position:"none"},b.chartArea={width:"80%",height:"80%"}):2===u[0].length&&""===u[0][1]&&(b.legend={position:"none"}),b=t.extend(!0,{},b,a.gchart,r),x=t("<div>").css({width:"100%",height:"100%"}),N=new google.visualization.ChartWrapper({dataTable:g,chartType:e,options:b}),N.draw(x[0]),x.bind("dblclick",function(){var t;return t=new google.visualization.ChartEditor,google.visualization.events.addListener(t,"ok",function(){return t.getChartWrapper().draw(x[0])}),t.openDialog(N)}),x}},t.pivotUtilities.gchart_renderers={"Line Chart":e("LineChart"),"Bar Chart":e("ColumnChart"),"Stacked Bar Chart":e("ColumnChart",{isStacked:!0}),"Area Chart":e("AreaChart",{isStacked:!0}),"Scatter Chart":e("ScatterChart")}})}).call(this);
//# sourceMappingURL=gchart_renderers.min.js.map
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var csFmt, csFmtInt, csFmtPct, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
csFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
csFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
csFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.cs = {
localeStrings: {
renderError: "Došlo k chybě při vykreslování výsledků PivotTable.",
computeError: "Došlo k chybě při výpočtu výsledků PivotTable.",
uiRenderError: "Došlo k chybě při vykreslování PivotTable UI.",
selectAll: "Vybrat vše",
selectNone: "Zrušit výběr",
tooMany: "(příliš mnoho položek)",
filterResults: "Hodnoty pro filtr",
apply: "Použít",
cancel: "Zrušit",
totals: "Celkem",
vs: "ku",
by: "z"
},
aggregators: {
"Počet": tpl.count(csFmtInt),
"Počet unikátních hodnot": tpl.countUnique(csFmtInt),
"Výčet unikátních hodnot": tpl.listUnique(", "),
"Součet": tpl.sum(csFmt),
"Celočíselný součet": tpl.sum(csFmtInt),
"Průměr": tpl.average(csFmt),
"Medián": tpl.median(csFmt),
"Rozptyl": tpl["var"](1, csFmt),
"Směrodatná odchylka": tpl.stdev(1, csFmt),
"Minimum": tpl.min(csFmt),
"Maximum": tpl.max(csFmt),
"První": tpl.first(csFmt),
"Poslední": tpl.last(csFmt),
"Součet přes součet": tpl.sumOverSum(csFmt),
"80% horní hranice": tpl.sumOverSumBound80(true, csFmt),
"80% spodní hranice": tpl.sumOverSumBound80(false, csFmt),
"Součet jako poměr z celku": tpl.fractionOf(tpl.sum(), "total", csFmtPct),
"Součet jako poměr z řádků": tpl.fractionOf(tpl.sum(), "row", csFmtPct),
"Součet jako poměr ze sloupců": tpl.fractionOf(tpl.sum(), "col", csFmtPct),
"Počet jako poměr z celku": tpl.fractionOf(tpl.count(), "total", csFmtPct),
"Počet jako poměr z řádků": tpl.fractionOf(tpl.count(), "row", csFmtPct),
"Počet jako poměr ze sloupců": tpl.fractionOf(tpl.count(), "col", csFmtPct)
},
renderers: {
"Tabulka": $.pivotUtilities.renderers["Table"],
"Tabulka se sloupcovým grafem": $.pivotUtilities.renderers["Table Barchart"],
"Teplotní mapa": $.pivotUtilities.renderers["Heatmap"],
"Teplotní mapa z řádků": $.pivotUtilities.renderers["Row Heatmap"],
"Teplotní mapa ze sloupců": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.cs.js.map
{"version":3,"file":"pivot.cs.js","sources":["pivot.cs.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ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AAJ,CAAA,CAAf,EAA4B,OAA5B,EAAqC,QAArC,CAnBhC;QAoBA,0BAAA,EAAgC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CApBhC;QAqBA,6BAAA,EAAgC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CArBhC;OAfJ;MAsCA,SAAA,EACI;QAAA,SAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,OAAA,CAA3D;QACA,8BAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,gBAAA,CAD3D;QAEA,eAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,SAAA,CAF3D;QAGA,uBAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAH3D;QAIA,0BAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJ3D;OAvCJ;;EATO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n csFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n csFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n csFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.cs =\n localeStrings:\n renderError: \"Došlo k chybě při vykreslování výsledků PivotTable.\"\n computeError: \"Došlo k chybě při výpočtu výsledků PivotTable.\"\n uiRenderError: \"Došlo k chybě při vykreslování PivotTable UI.\"\n selectAll: \"Vybrat vše\"\n selectNone: \"Zrušit výběr\"\n tooMany: \"(příliš mnoho položek)\"\n filterResults: \"Hodnoty pro filtr\"\n apply: \"Použít\"\n cancel: \"Zrušit\"\n totals: \"Celkem\"\n vs: \"ku\"\n by: \"z\"\n\n aggregators: \n \"Počet\": tpl.count(csFmtInt)\n \"Počet unikátních hodnot\": tpl.countUnique(csFmtInt)\n \"Výčet unikátních hodnot\": tpl.listUnique(\", \")\n \"Součet\": tpl.sum(csFmt)\n \"Celočíselný součet\": tpl.sum(csFmtInt)\n \"Průměr\": tpl.average(csFmt)\n \"Medián\": tpl.median(csFmt),\n \"Rozptyl\": tpl[\"var\"](1, csFmt),\n \"Směrodatná odchylka\": tpl.stdev(1, csFmt),\n \"Minimum\": tpl.min(csFmt)\n \"Maximum\": tpl.max(csFmt)\n \"První\": tpl.first(csFmt)\n \"Poslední\": tpl.last(csFmt)\n \"Součet přes součet\": tpl.sumOverSum(csFmt)\n \"80% horní hranice\": tpl.sumOverSumBound80(true, csFmt)\n \"80% spodní hranice\": tpl.sumOverSumBound80(false, csFmt)\n \"Součet jako poměr z celku\": tpl.fractionOf(tpl.sum(), \"total\", csFmtPct)\n \"Součet jako poměr z řádků\": tpl.fractionOf(tpl.sum(), \"row\", csFmtPct)\n \"Součet jako poměr ze sloupců\": tpl.fractionOf(tpl.sum(), \"col\", csFmtPct)\n \"Počet jako poměr z celku\": tpl.fractionOf(tpl.count(), \"total\", csFmtPct)\n \"Počet jako poměr z řádků\": tpl.fractionOf(tpl.count(), \"row\", csFmtPct)\n \"Počet jako poměr ze sloupců\": tpl.fractionOf(tpl.count(), \"col\", csFmtPct)\n\n renderers:\n \"Tabulka\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabulka se sloupcovým grafem\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Teplotní mapa\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Teplotní mapa z řádků\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Teplotní mapa ze sloupců\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var o,t,r,i,a;return i=e.pivotUtilities.numberFormat,a=e.pivotUtilities.aggregatorTemplates,o=i({thousandsSep:" ",decimalSep:","}),t=i({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),r=i({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.cs={localeStrings:{renderError:"Došlo k chybě při vykreslování výsledků PivotTable.",computeError:"Došlo k chybě při výpočtu výsledků PivotTable.",uiRenderError:"Došlo k chybě při vykreslování PivotTable UI.",selectAll:"Vybrat vše",selectNone:"Zrušit výběr",tooMany:"(příliš mnoho položek)",filterResults:"Hodnoty pro filtr",apply:"Použít",cancel:"Zrušit",totals:"Celkem",vs:"ku",by:"z"},aggregators:{"Počet":a.count(t),"Počet unikátních hodnot":a.countUnique(t),"Výčet unikátních hodnot":a.listUnique(", "),"Součet":a.sum(o),"Celočíselný součet":a.sum(t),"Průměr":a.average(o),"Medián":a.median(o),Rozptyl:a["var"](1,o),"Směrodatná odchylka":a.stdev(1,o),Minimum:a.min(o),Maximum:a.max(o),"První":a.first(o),"Poslední":a.last(o),"Součet přes součet":a.sumOverSum(o),"80% horní hranice":a.sumOverSumBound80(!0,o),"80% spodní hranice":a.sumOverSumBound80(!1,o),"Součet jako poměr z celku":a.fractionOf(a.sum(),"total",r),"Součet jako poměr z řádků":a.fractionOf(a.sum(),"row",r),"Součet jako poměr ze sloupců":a.fractionOf(a.sum(),"col",r),"Počet jako poměr z celku":a.fractionOf(a.count(),"total",r),"Počet jako poměr z řádků":a.fractionOf(a.count(),"row",r),"Počet jako poměr ze sloupců":a.fractionOf(a.count(),"col",r)},renderers:{Tabulka:e.pivotUtilities.renderers.Table,"Tabulka se sloupcovým grafem":e.pivotUtilities.renderers["Table Barchart"],"Teplotní mapa":e.pivotUtilities.renderers.Heatmap,"Teplotní mapa z řádků":e.pivotUtilities.renderers["Row Heatmap"],"Teplotní mapa ze sloupců":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.cs.min.js.map
{"version":3,"sources":["pivot.cs.coffee","pivot.cs.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","csFmt","csFmtInt","csFmtPct","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","cs","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","apply","cancel","totals","vs","by","aggregators","Počet","count","Počet unikátních hodnot","countUnique","Výčet unikátních hodnot","listUnique","Součet","sum","Celočíselný součet","Průměr","average","Medián","median","Rozptyl","Směrodatná odchylka","stdev","Minimum","min","Maximum","max","První","first","Poslední","last","Součet přes součet","sumOverSum","80% horní hranice","sumOverSumBound80","80% spodní hranice","Součet jako poměr z celku","fractionOf","Součet jako poměr z řádků","Součet jako poměr ze sloupců","Počet jako poměr z celku","Počet jako poměr z řádků","Počet jako poměr ze sloupců","renderers","Tabulka","Tabulka se sloupcovým grafem","Teplotní mapa","Teplotní mapa z řádků","Teplotní mapa ze sloupců","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GACZ,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,CCuBA,ODvBAD,GAAKJ,EAAEM,eAAeC,aACtBF,EAAML,EAAEM,eAAeE,oBAEvBP,EAAWG,GAAGK,aAAc,IAAKC,WAAY,MAC7CR,EAAWE,GAAGO,mBAAoB,EAAG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I0B,QAAS,MAAS5B,IAEzE+D,WACIC,QAAgCnE,EAAEM,eAAe4D,UAAU,MAC3DE,+BAAgCpE,EAAEM,eAAe4D,UAAU,kBAC3DG,gBAAgCrE,EAAEM,eAAe4D,UAAU,QAC3DI,wBAAgCtE,EAAEM,eAAe4D,UAAU,eAC3DK,2BAAgCvE,EAAEM,eAAe4D,UAAU,qBCqBpEM,KAAKC","file":"pivot.cs.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n csFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n csFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n csFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.cs =\n localeStrings:\n renderError: \"Došlo k chybě při vykreslování výsledků PivotTable.\"\n computeError: \"Došlo k chybě při výpočtu výsledků PivotTable.\"\n uiRenderError: \"Došlo k chybě při vykreslování PivotTable UI.\"\n selectAll: \"Vybrat vše\"\n selectNone: \"Zrušit výběr\"\n tooMany: \"(příliš mnoho položek)\"\n filterResults: \"Hodnoty pro filtr\"\n apply: \"Použít\"\n cancel: \"Zrušit\"\n totals: \"Celkem\"\n vs: \"ku\"\n by: \"z\"\n\n aggregators: \n \"Počet\": tpl.count(csFmtInt)\n \"Počet unikátních hodnot\": tpl.countUnique(csFmtInt)\n \"Výčet unikátních hodnot\": tpl.listUnique(\", \")\n \"Součet\": tpl.sum(csFmt)\n \"Celočíselný součet\": tpl.sum(csFmtInt)\n \"Průměr\": tpl.average(csFmt)\n \"Medián\": tpl.median(csFmt),\n \"Rozptyl\": tpl[\"var\"](1, csFmt),\n \"Směrodatná odchylka\": tpl.stdev(1, csFmt),\n \"Minimum\": tpl.min(csFmt)\n \"Maximum\": tpl.max(csFmt)\n \"První\": tpl.first(csFmt)\n \"Poslední\": tpl.last(csFmt)\n \"Součet přes součet\": tpl.sumOverSum(csFmt)\n \"80% horní hranice\": tpl.sumOverSumBound80(true, csFmt)\n \"80% spodní hranice\": tpl.sumOverSumBound80(false, csFmt)\n \"Součet jako poměr z celku\": tpl.fractionOf(tpl.sum(), \"total\", csFmtPct)\n \"Součet jako poměr z řádků\": tpl.fractionOf(tpl.sum(), \"row\", csFmtPct)\n \"Součet jako poměr ze sloupců\": tpl.fractionOf(tpl.sum(), \"col\", csFmtPct)\n \"Počet jako poměr z celku\": tpl.fractionOf(tpl.count(), \"total\", csFmtPct)\n \"Počet jako poměr z řádků\": tpl.fractionOf(tpl.count(), \"row\", csFmtPct)\n \"Počet jako poměr ze sloupců\": tpl.fractionOf(tpl.count(), \"col\", csFmtPct)\n\n renderers:\n \"Tabulka\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabulka se sloupcovým grafem\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Teplotní mapa\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Teplotní mapa z řádků\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Teplotní mapa ze sloupců\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var csFmt, csFmtInt, csFmtPct, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n csFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n csFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n csFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.cs = {\n localeStrings: {\n renderError: \"Došlo k chybě při vykreslování výsledků PivotTable.\",\n computeError: \"Došlo k chybě při výpočtu výsledků PivotTable.\",\n uiRenderError: \"Došlo k chybě při vykreslování PivotTable UI.\",\n selectAll: \"Vybrat vše\",\n selectNone: \"Zrušit výběr\",\n tooMany: \"(příliš mnoho položek)\",\n filterResults: \"Hodnoty pro filtr\",\n apply: \"Použít\",\n cancel: \"Zrušit\",\n totals: \"Celkem\",\n vs: \"ku\",\n by: \"z\"\n },\n aggregators: {\n \"Počet\": tpl.count(csFmtInt),\n \"Počet unikátních hodnot\": tpl.countUnique(csFmtInt),\n \"Výčet unikátních hodnot\": tpl.listUnique(\", \"),\n \"Součet\": tpl.sum(csFmt),\n \"Celočíselný součet\": tpl.sum(csFmtInt),\n \"Průměr\": tpl.average(csFmt),\n \"Medián\": tpl.median(csFmt),\n \"Rozptyl\": tpl[\"var\"](1, csFmt),\n \"Směrodatná odchylka\": tpl.stdev(1, csFmt),\n \"Minimum\": tpl.min(csFmt),\n \"Maximum\": tpl.max(csFmt),\n \"První\": tpl.first(csFmt),\n \"Poslední\": tpl.last(csFmt),\n \"Součet přes součet\": tpl.sumOverSum(csFmt),\n \"80% horní hranice\": tpl.sumOverSumBound80(true, csFmt),\n \"80% spodní hranice\": tpl.sumOverSumBound80(false, csFmt),\n \"Součet jako poměr z celku\": tpl.fractionOf(tpl.sum(), \"total\", csFmtPct),\n \"Součet jako poměr z řádků\": tpl.fractionOf(tpl.sum(), \"row\", csFmtPct),\n \"Součet jako poměr ze sloupců\": tpl.fractionOf(tpl.sum(), \"col\", csFmtPct),\n \"Počet jako poměr z celku\": tpl.fractionOf(tpl.count(), \"total\", csFmtPct),\n \"Počet jako poměr z řádků\": tpl.fractionOf(tpl.count(), \"row\", csFmtPct),\n \"Počet jako poměr ze sloupců\": tpl.fractionOf(tpl.count(), \"col\", csFmtPct)\n },\n renderers: {\n \"Tabulka\": $.pivotUtilities.renderers[\"Table\"],\n \"Tabulka se sloupcovým grafem\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Teplotní mapa\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Teplotní mapa z řádků\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Teplotní mapa ze sloupců\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.cs.js.map\n"]}
\ No newline at end of file
.pvtUi { color: #333; }
table.pvtTable {
font-size: 8pt;
text-align: left;
border-collapse: collapse;
}
table.pvtTable thead tr th, table.pvtTable tbody 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;
}
.pvtTotal, .pvtGrandTotal { font-weight: bold; }
.pvtVals { text-align: center; white-space: nowrap;}
.pvtRowOrder, .pvtColOrder {
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: normal; }
.pvtFilterBox input[type='checkbox'] { margin-right: 10px; margin-left: 10px; }
.pvtFilterBox input[type='text'] { width: 230px; }
.pvtFilterBox .count { color: gray; font-weight: normal; 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 lightgrey;
border-bottom: 1px solid lightgrey;
}
.pvtCheckContainer p{ margin: 5px; }
.pvtRendererArea { padding: 5px;}
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var nf, o, r, t, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
r = nf({
thousandsSep: ".",
decimalSep: ","
});
t = nf({
digitsAfterDecimal: 0,
thousandsSep: ".",
decimalSep: ","
});
o = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: ".",
decimalSep: ","
});
return $.pivotUtilities.locales.da = {
localeStrings: {
renderError: "Der opstod en fejl, mens du trak i feltet",
computeError: "Der opstod en fejl ved beregningen af feltet",
uiRenderError: "Der opstod en fejl, mens den grafiske brugerflade blev beregnet",
selectAll: "Vælg alle",
selectNone: "Vælg ingen",
tooMany: "(for mange værdier til at vise)",
filterResults: "Filter værdier",
totals: "I alt",
vs: "vs",
by: "af"
},
aggregators: {
"Antal": tpl.count(t),
"Antal Unikke værdier": tpl.countUnique(t),
"Liste unikke værdier": tpl.listUnique(", "),
"Sum": tpl.sum(r),
"Sum i heltal": tpl.sum(t),
"Gennemsnit": tpl.average(r),
"Minimum": tpl.min(r),
"Maximum": tpl.max(r),
"Sum iforhold til sum": tpl.sumOverSum(r),
"Sum iforhold til sum, øverst 80%": tpl.sumOverSumBound80(!0, r),
"Sum iforhold til sum, lavest 80%": tpl.sumOverSumBound80(!1, r),
"Andel af i alt sum": tpl.fractionOf(tpl.sum(), "total", o),
"Andel af række sum": tpl.fractionOf(tpl.sum(), "row", o),
"Andel af kolonner sum": tpl.fractionOf(tpl.sum(), "col", o),
"Andel af i alt antal": tpl.fractionOf(tpl.count(), "total", o),
"Andel af række antal": tpl.fractionOf(tpl.count(), "row", o),
"Andel af kolonner antal": tpl.fractionOf(tpl.count(), "col", o)
},
renderers: {
"Tabel": $.pivotUtilities.renderers.Table,
"Tabel med søjler": $.pivotUtilities.renderers["Table Barchart"],
"Heatmap": $.pivotUtilities.renderers.Heatmap,
"Heatmap per række": $.pivotUtilities.renderers["Row Heatmap"],
"Heatmap per kolonne": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.da.js.map
{"version":3,"file":"pivot.da.js","sources":["pivot.da.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADC;KAAA,MAAA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cAAc,CAAC,SAAU,CAAA,aAAA,CAHhD;QAIA,qBAAA,EAAuB,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJlD;OA9BJ;;EAxBO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n r = nf({\n thousandsSep: \".\",\n decimalSep: \",\"\n })\n\n t = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \".\",\n decimalSep: \",\"\n })\n\n o = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \".\",\n decimalSep: \",\"\n })\n\n $.pivotUtilities.locales.da = \n localeStrings: \n renderError: \"Der opstod en fejl, mens du trak i feltet\",\n computeError: \"Der opstod en fejl ved beregningen af feltet\",\n uiRenderError: \"Der opstod en fejl, mens den grafiske brugerflade blev beregnet\",\n selectAll: \"Vælg alle\",\n selectNone: \"Vælg ingen\",\n tooMany: \"(for mange værdier til at vise)\",\n filterResults: \"Filter værdier\",\n totals: \"I alt\",\n vs: \"vs\",\n by: \"af\"\n aggregators: \n \"Antal\": tpl.count(t),\n \"Antal Unikke værdier\": tpl.countUnique(t),\n \"Liste unikke værdier\": tpl.listUnique(\", \"),\n \"Sum\": tpl.sum(r),\n \"Sum i heltal\": tpl.sum(t),\n \"Gennemsnit\": tpl.average(r),\n \"Minimum\": tpl.min(r),\n \"Maximum\": tpl.max(r),\n \"Sum iforhold til sum\": tpl.sumOverSum(r),\n \"Sum iforhold til sum, øverst 80%\": tpl.sumOverSumBound80(!0, r),\n \"Sum iforhold til sum, lavest 80%\": tpl.sumOverSumBound80(!1, r),\n \"Andel af i alt sum\": tpl.fractionOf(tpl.sum(), \"total\", o),\n \"Andel af række sum\": tpl.fractionOf(tpl.sum(), \"row\", o),\n \"Andel af kolonner sum\": tpl.fractionOf(tpl.sum(), \"col\", o),\n \"Andel af i alt antal\": tpl.fractionOf(tpl.count(), \"total\", o),\n \"Andel af række antal\": tpl.fractionOf(tpl.count(), \"row\", o),\n \"Andel af kolonner antal\": tpl.fractionOf(tpl.count(), \"col\", o)\n renderers: \n \"Tabel\": $.pivotUtilities.renderers.Table,\n \"Tabel med søjler\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Heatmap\": $.pivotUtilities.renderers.Heatmap,\n \"Heatmap per række\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Heatmap per kolonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t,r,i,a,n;return t=e.pivotUtilities.numberFormat,n=e.pivotUtilities.aggregatorTemplates,i=t({thousandsSep:".",decimalSep:","}),a=t({digitsAfterDecimal:0,thousandsSep:".",decimalSep:","}),r=t({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:".",decimalSep:","}),e.pivotUtilities.locales.da={localeStrings:{renderError:"Der opstod en fejl, mens du trak i feltet",computeError:"Der opstod en fejl ved beregningen af feltet",uiRenderError:"Der opstod en fejl, mens den grafiske brugerflade blev beregnet",selectAll:"Vælg alle",selectNone:"Vælg ingen",tooMany:"(for mange værdier til at vise)",filterResults:"Filter værdier",totals:"I alt",vs:"vs",by:"af"},aggregators:{Antal:n.count(a),"Antal Unikke værdier":n.countUnique(a),"Liste unikke værdier":n.listUnique(", "),Sum:n.sum(i),"Sum i heltal":n.sum(a),Gennemsnit:n.average(i),Minimum:n.min(i),Maximum:n.max(i),"Sum iforhold til sum":n.sumOverSum(i),"Sum iforhold til sum, øverst 80%":n.sumOverSumBound80(!0,i),"Sum iforhold til sum, lavest 80%":n.sumOverSumBound80(!1,i),"Andel af i alt sum":n.fractionOf(n.sum(),"total",r),"Andel af række sum":n.fractionOf(n.sum(),"row",r),"Andel af kolonner sum":n.fractionOf(n.sum(),"col",r),"Andel af i alt antal":n.fractionOf(n.count(),"total",r),"Andel af række antal":n.fractionOf(n.count(),"row",r),"Andel af kolonner antal":n.fractionOf(n.count(),"col",r)},renderers:{Tabel:e.pivotUtilities.renderers.Table,"Tabel med søjler":e.pivotUtilities.renderers["Table Barchart"],Heatmap:e.pivotUtilities.renderers.Heatmap,"Heatmap per række":e.pivotUtilities.renderers["Row Heatmap"],"Heatmap per kolonne":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.da.min.js.map
{"version":3,"sources":["pivot.da.coffee","pivot.da.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","nf","o","r","t","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","da","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","totals","vs","by","aggregators","Antal","count","Antal Unikke værdier","countUnique","Liste unikke værdier","listUnique","Sum","sum","Sum i heltal","Gennemsnit","average","Minimum","min","Maximum","max","Sum iforhold til sum","sumOverSum","Sum iforhold til sum, øverst 80%","sumOverSumBound80","Sum iforhold til sum, lavest 80%","Andel af i alt sum","fractionOf","Andel af række sum","Andel af kolonner sum","Andel af i alt antal","Andel af række antal","Andel af kolonner antal","renderers","Tabel","Table","Tabel med søjler","Heatmap","Heatmap per række","Heatmap per kolonne","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GACZ,GAAAC,GAAAC,EAAAC,EAAAC,EA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D,EAAEM,eAAeiD,UAAU,kBAC/CI,QAAW3D,EAAEM,eAAeiD,UAAUI,QACtCC,oBAAqB5D,EAAEM,eAAeiD,UAAU,eAChDM,sBAAuB7D,EAAEM,eAAeiD,UAAU,qBCQ3DO,KAAKC","file":"pivot.da.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n r = nf({\n thousandsSep: \".\",\n decimalSep: \",\"\n })\n\n t = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \".\",\n decimalSep: \",\"\n })\n\n o = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \".\",\n decimalSep: \",\"\n })\n\n $.pivotUtilities.locales.da = \n localeStrings: \n renderError: \"Der opstod en fejl, mens du trak i feltet\",\n computeError: \"Der opstod en fejl ved beregningen af feltet\",\n uiRenderError: \"Der opstod en fejl, mens den grafiske brugerflade blev beregnet\",\n selectAll: \"Vælg alle\",\n selectNone: \"Vælg ingen\",\n tooMany: \"(for mange værdier til at vise)\",\n filterResults: \"Filter værdier\",\n totals: \"I alt\",\n vs: \"vs\",\n by: \"af\"\n aggregators: \n \"Antal\": tpl.count(t),\n \"Antal Unikke værdier\": tpl.countUnique(t),\n \"Liste unikke værdier\": tpl.listUnique(\", \"),\n \"Sum\": tpl.sum(r),\n \"Sum i heltal\": tpl.sum(t),\n \"Gennemsnit\": tpl.average(r),\n \"Minimum\": tpl.min(r),\n \"Maximum\": tpl.max(r),\n \"Sum iforhold til sum\": tpl.sumOverSum(r),\n \"Sum iforhold til sum, øverst 80%\": tpl.sumOverSumBound80(!0, r),\n \"Sum iforhold til sum, lavest 80%\": tpl.sumOverSumBound80(!1, r),\n \"Andel af i alt sum\": tpl.fractionOf(tpl.sum(), \"total\", o),\n \"Andel af række sum\": tpl.fractionOf(tpl.sum(), \"row\", o),\n \"Andel af kolonner sum\": tpl.fractionOf(tpl.sum(), \"col\", o),\n \"Andel af i alt antal\": tpl.fractionOf(tpl.count(), \"total\", o),\n \"Andel af række antal\": tpl.fractionOf(tpl.count(), \"row\", o),\n \"Andel af kolonner antal\": tpl.fractionOf(tpl.count(), \"col\", o)\n renderers: \n \"Tabel\": $.pivotUtilities.renderers.Table,\n \"Tabel med søjler\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Heatmap\": $.pivotUtilities.renderers.Heatmap,\n \"Heatmap per række\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Heatmap per kolonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var nf, o, r, t, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n r = nf({\n thousandsSep: \".\",\n decimalSep: \",\"\n });\n t = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \".\",\n decimalSep: \",\"\n });\n o = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \".\",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.da = {\n localeStrings: {\n renderError: \"Der opstod en fejl, mens du trak i feltet\",\n computeError: \"Der opstod en fejl ved beregningen af feltet\",\n uiRenderError: \"Der opstod en fejl, mens den grafiske brugerflade blev beregnet\",\n selectAll: \"Vælg alle\",\n selectNone: \"Vælg ingen\",\n tooMany: \"(for mange værdier til at vise)\",\n filterResults: \"Filter værdier\",\n totals: \"I alt\",\n vs: \"vs\",\n by: \"af\"\n },\n aggregators: {\n \"Antal\": tpl.count(t),\n \"Antal Unikke værdier\": tpl.countUnique(t),\n \"Liste unikke værdier\": tpl.listUnique(\", \"),\n \"Sum\": tpl.sum(r),\n \"Sum i heltal\": tpl.sum(t),\n \"Gennemsnit\": tpl.average(r),\n \"Minimum\": tpl.min(r),\n \"Maximum\": tpl.max(r),\n \"Sum iforhold til sum\": tpl.sumOverSum(r),\n \"Sum iforhold til sum, øverst 80%\": tpl.sumOverSumBound80(!0, r),\n \"Sum iforhold til sum, lavest 80%\": tpl.sumOverSumBound80(!1, r),\n \"Andel af i alt sum\": tpl.fractionOf(tpl.sum(), \"total\", o),\n \"Andel af række sum\": tpl.fractionOf(tpl.sum(), \"row\", o),\n \"Andel af kolonner sum\": tpl.fractionOf(tpl.sum(), \"col\", o),\n \"Andel af i alt antal\": tpl.fractionOf(tpl.count(), \"total\", o),\n \"Andel af række antal\": tpl.fractionOf(tpl.count(), \"row\", o),\n \"Andel af kolonner antal\": tpl.fractionOf(tpl.count(), \"col\", o)\n },\n renderers: {\n \"Tabel\": $.pivotUtilities.renderers.Table,\n \"Tabel med søjler\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Heatmap\": $.pivotUtilities.renderers.Heatmap,\n \"Heatmap per række\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Heatmap per kolonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.da.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var frFmt, frFmtInt, frFmtPct, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
frFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.de = {
localeStrings: {
renderError: "Bei der Darstellung der Pivot-Tabelle ist ein Fehler aufgetreten.",
computeError: "Bei der Berechnung der Pivot-Tabelle ist ein Fehler aufgetreten.",
uiRenderError: "Bei der Darstellung Oberfläche der Pivot-Tabelle ist ein Fehler aufgetreten.",
selectAll: "Alles auswählen",
selectNone: "Nichts auswählen",
tooMany: "(zu viele für Liste)",
filterResults: "Ergebnisse filtern",
totals: "Gesamt",
vs: "gegen",
by: "pro"
},
aggregators: {
"Anzahl": tpl.count(frFmtInt),
"Anzahl eindeutiger Werte": tpl.countUnique(frFmtInt),
"Liste eindeutiger Werte": tpl.listUnique(", "),
"Summe": tpl.sum(frFmt),
"Ganzzahlige Summe": tpl.sum(frFmtInt),
"Durchschnitt": tpl.average(frFmt),
"Minimum": tpl.min(frFmt),
"Maximum": tpl.max(frFmt),
"Summe über Summe": tpl.sumOverSum(frFmt),
"80% Obergrenze": tpl.sumOverSumBound80(true, frFmt),
"80% Untergrenze": tpl.sumOverSumBound80(false, frFmt),
"Summe als Anteil von Gesamt": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Summe als Anteil von Zeile": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Summe als Anteil von Spalte": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Anzahl als Anteil von Gesamt": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Anzahl als Anteil von Zeile": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Anzahl als Anteil von Spalte": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Tabelle": $.pivotUtilities.renderers["Table"],
"Tabelle mit Balkendiagramm": $.pivotUtilities.renderers["Table Barchart"],
"Heatmap": $.pivotUtilities.renderers["Heatmap"],
"Heatmap pro Zeile": $.pivotUtilities.renderers["Row Heatmap"],
"Heatmap pro Spalte": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.de.js.map
{"version":3,"file":"pivot.de.js","sources":["pivot.de.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADC;KAAA,MAAA;aAID,WAAA,CAAY,MAAZ,EAJC;;EAHQ;;EASjB,cAAA,CAAe,SAAC,CAAD;AACX,QAAA;IAAA,EAAA,GAAK,CAAC,CAAC,cAAc,CAAC;IACtB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IAEvB,KAAA,GAAW,EAAA,CAAG;MAAA,YAAA,EAAc,GAAd;MAAmB,UAAA,EAAY,GAA/B;KAAH;IACX,QAAA,GAAW,EAAA,CAAG;MAAA,kBAAA,EAAoB,CAApB;MAAuB,YAAA,EAAc,GAArC;MAA0C,UAAA,EAAY,GAAtD;KAAH;IACX,QAAA,GAAW,EAAA,CAAG;MAAA,kBAAA,EAAoB,CAApB;MAAuB,MAAA,EAAQ,GAA/B;MAAoC,MAAA,EAAQ,GAA5C;MAAiD,YAAA,EAAc,GAA/D;MAAoE,UAAA,EAAY,GAAhF;KAAH;WAEX,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAzB,GACI;MAAA,aAAA,EACI;QAAA,WAAA,EAAa,mEAAb;QACA,YAAA,EAAc,kEADd;QAEA,aAAA,EAAe,8EAFf;QAGA,SAAA,EAAW,iBAHX;QAIA,UAAA,EA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,CAAA,CAAf,EAA4B,OAA5B,EAAqC,QAArC,CAdhC;QAeA,6BAAA,EAAgC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAfhC;QAgBA,8BAAA,EAAgC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAhBhC;OAbJ;MA+BA,SAAA,EACI;QAAA,SAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,OAAA,CAA3D;QACA,4BAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,gBAAA,CAD3D;QAEA,SAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,SAAA,CAF3D;QAGA,mBAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAH3D;QAIA,oBAAA,EAAgC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJ3D;OAhCJ;;EATO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.de = \n localeStrings:\n renderError: \"Bei der Darstellung der Pivot-Tabelle ist ein Fehler aufgetreten.\"\n computeError: \"Bei der Berechnung der Pivot-Tabelle ist ein Fehler aufgetreten.\"\n uiRenderError: \"Bei der Darstellung Oberfläche der Pivot-Tabelle ist ein Fehler aufgetreten.\"\n selectAll: \"Alles auswählen\"\n selectNone: \"Nichts auswählen\"\n tooMany: \"(zu viele für Liste)\"\n filterResults: \"Ergebnisse filtern\"\n totals: \"Gesamt\"\n vs: \"gegen\"\n by: \"pro\"\n\n aggregators: \n \"Anzahl\": tpl.count(frFmtInt)\n \"Anzahl eindeutiger Werte\": tpl.countUnique(frFmtInt)\n \"Liste eindeutiger Werte\": tpl.listUnique(\", \")\n \"Summe\": tpl.sum(frFmt)\n \"Ganzzahlige Summe\":\t\t\ttpl.sum(frFmtInt)\n \"Durchschnitt\": tpl.average(frFmt)\n \"Minimum\": tpl.min(frFmt)\n \"Maximum\": tpl.max(frFmt)\n \"Summe über Summe\": tpl.sumOverSum(frFmt)\n \"80% Obergrenze\": tpl.sumOverSumBound80(true, frFmt)\n \"80% Untergrenze\": \t\ttpl.sumOverSumBound80(false, frFmt)\n \"Summe als Anteil von Gesamt\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Summe als Anteil von Zeile\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Summe als Anteil von Spalte\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Anzahl als Anteil von Gesamt\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Anzahl als Anteil von Zeile\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Anzahl als Anteil von Spalte\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabelle\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabelle mit Balkendiagramm\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Heatmap pro Zeile\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Heatmap pro Spalte\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t,i,r,l,a;return l=e.pivotUtilities.numberFormat,a=e.pivotUtilities.aggregatorTemplates,t=l({thousandsSep:" ",decimalSep:","}),i=l({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),r=l({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.de={localeStrings:{renderError:"Bei der Darstellung der Pivot-Tabelle ist ein Fehler aufgetreten.",computeError:"Bei der Berechnung der Pivot-Tabelle ist ein Fehler aufgetreten.",uiRenderError:"Bei der Darstellung Oberfläche der Pivot-Tabelle ist ein Fehler aufgetreten.",selectAll:"Alles auswählen",selectNone:"Nichts auswählen",tooMany:"(zu viele für Liste)",filterResults:"Ergebnisse filtern",totals:"Gesamt",vs:"gegen",by:"pro"},aggregators:{Anzahl:a.count(i),"Anzahl eindeutiger Werte":a.countUnique(i),"Liste eindeutiger Werte":a.listUnique(", "),Summe:a.sum(t),"Ganzzahlige Summe":a.sum(i),Durchschnitt:a.average(t),Minimum:a.min(t),Maximum:a.max(t),"Summe über Summe":a.sumOverSum(t),"80% Obergrenze":a.sumOverSumBound80(!0,t),"80% Untergrenze":a.sumOverSumBound80(!1,t),"Summe als Anteil von Gesamt":a.fractionOf(a.sum(),"total",r),"Summe als Anteil von Zeile":a.fractionOf(a.sum(),"row",r),"Summe als Anteil von Spalte":a.fractionOf(a.sum(),"col",r),"Anzahl als Anteil von Gesamt":a.fractionOf(a.count(),"total",r),"Anzahl als Anteil von Zeile":a.fractionOf(a.count(),"row",r),"Anzahl als Anteil von Spalte":a.fractionOf(a.count(),"col",r)},renderers:{Tabelle:e.pivotUtilities.renderers.Table,"Tabelle mit Balkendiagramm":e.pivotUtilities.renderers["Table Barchart"],Heatmap:e.pivotUtilities.renderers.Heatmap,"Heatmap pro Zeile":e.pivotUtilities.renderers["Row Heatmap"],"Heatmap pro Spalte":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.de.min.js.map
{"version":3,"sources":["pivot.de.coffee","pivot.de.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","frFmt","frFmtInt","frFmtPct","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","de","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","totals","vs","by","aggregators","Anzahl","count","Anzahl eindeutiger Werte","countUnique","Liste eindeutiger Werte","listUnique","Summe","sum","Ganzzahlige Summe","Durchschnitt","average","Minimum","min","Maximum","max","Summe über Summe","sumOverSum","80% Obergrenze","sumOverSumBound80","80% Untergrenze","Summe als Anteil von Gesamt","fractionOf","Summe als Anteil von Zeile","Summe als Anteil von Spalte","Anzahl als Anteil von Gesamt","Anzahl als Anteil von Zeile","Anzahl als Anteil von Spalte","renderers","Tabelle","Tabelle mit Balkendiagramm","Heatmap","Heatmap pro Zeile","Heatmap pro Spalte","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GACZ,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,CCuBA,ODvBAD,GAAKJ,EAAEM,eAAeC,aACtBF,EAAML,EAAEM,eAAeE,oBAEvBP,EAAWG,GAAGK,aAAc,IAAKC,WAAY,MAC7CR,EAAWE,GAAGO,mBAAoB,EAAGF,aAAc,IAAKC,WAAY,MACpEP,EAAWC,GAAGO,mBAAoB,EAAGC,OAAQ,IAAKC,OAAQ,IAAKJ,aAAc,IAAKC,WAAY,MAE9FV,EAAEM,eAAeQ,QAAQC,IACrBC,eACIC,YAAa,oEACbC,aAAc,mEACdC,cAAe,+EACfC,UAAW,kBACXC,WAAY,mBACZC,QAAS,uBACTC,cAAe,qBACfC,OAAQ,SACRC,GAAI,QACJC,GAAI,OAERC,aACIC,OAAgCvB,EAAIwB,MAAM3B,GAC1C4B,2BAAgCzB,EAAI0B,YAAY7B,GAChD8B,0BAAgC3B,EAAI4B,WAAW,MAC/CC,MAAgC7B,EAAI8B,IAAIlC,GACxCmC,oBAAuB/B,EAAI8B,IAAIjC,GAC/BmC,aAAgChC,EAAIiC,QAAQrC,GAC5CsC,QAAgClC,EAAImC,IAAIvC,GACxCwC,QAAgCpC,EAAIqC,IAAIzC,GACxC0C,mBAAgCtC,EAAIuC,WAAW3C,GAC/C4C,iBAAgCxC,EAAIyC,mBAAkB,EAAM7C,GAC5D8C,kBAA4B1C,EAAIyC,mBAAkB,EAAO7C,GACzD+C,8BAAgC3C,EAAI4C,WAAW5C,EAAI8B,MAAS,QAAShC,GACrE+C,6BAAgC7C,EAAI4C,WAAW5C,EAAI8B,MAAS,MAAShC,GACrEgD,8BAAgC9C,EAAI4C,WAAW5C,EAAI8B,MAAS,MAAShC,GACrEiD,+BAAgC/C,EAAI4C,WAAW5C,EAAIwB,QAAS,QAAS1B,GACrEkD,8BAAgChD,EAAI4C,WAAW5C,EAAIwB,QAAS,MAAS1B,GACrEmD,+BAAgCjD,EAAI4C,WAAW5C,EAAIwB,QAAS,MAAS1B,IAEzEoD,WACIC,QAAgCxD,EAAEM,eAAeiD,UAAU,MAC3DE,6BAAgCzD,EAAEM,eAAeiD,UAAU,kBAC3DG,QAAgC1D,EAAEM,eAAeiD,UAAU,QAC3DI,oBAAgC3D,EAAEM,eAAeiD,UAAU,eAC3DK,qBAAgC5D,EAAEM,eAAeiD,UAAU,qBCqBpEM,KAAKC","file":"pivot.de.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.de = \n localeStrings:\n renderError: \"Bei der Darstellung der Pivot-Tabelle ist ein Fehler aufgetreten.\"\n computeError: \"Bei der Berechnung der Pivot-Tabelle ist ein Fehler aufgetreten.\"\n uiRenderError: \"Bei der Darstellung Oberfläche der Pivot-Tabelle ist ein Fehler aufgetreten.\"\n selectAll: \"Alles auswählen\"\n selectNone: \"Nichts auswählen\"\n tooMany: \"(zu viele für Liste)\"\n filterResults: \"Ergebnisse filtern\"\n totals: \"Gesamt\"\n vs: \"gegen\"\n by: \"pro\"\n\n aggregators: \n \"Anzahl\": tpl.count(frFmtInt)\n \"Anzahl eindeutiger Werte\": tpl.countUnique(frFmtInt)\n \"Liste eindeutiger Werte\": tpl.listUnique(\", \")\n \"Summe\": tpl.sum(frFmt)\n \"Ganzzahlige Summe\":\t\t\ttpl.sum(frFmtInt)\n \"Durchschnitt\": tpl.average(frFmt)\n \"Minimum\": tpl.min(frFmt)\n \"Maximum\": tpl.max(frFmt)\n \"Summe über Summe\": tpl.sumOverSum(frFmt)\n \"80% Obergrenze\": tpl.sumOverSumBound80(true, frFmt)\n \"80% Untergrenze\": \t\ttpl.sumOverSumBound80(false, frFmt)\n \"Summe als Anteil von Gesamt\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Summe als Anteil von Zeile\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Summe als Anteil von Spalte\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Anzahl als Anteil von Gesamt\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Anzahl als Anteil von Zeile\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Anzahl als Anteil von Spalte\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabelle\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabelle mit Balkendiagramm\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Heatmap pro Zeile\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Heatmap pro Spalte\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var frFmt, frFmtInt, frFmtPct, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n frFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.de = {\n localeStrings: {\n renderError: \"Bei der Darstellung der Pivot-Tabelle ist ein Fehler aufgetreten.\",\n computeError: \"Bei der Berechnung der Pivot-Tabelle ist ein Fehler aufgetreten.\",\n uiRenderError: \"Bei der Darstellung Oberfläche der Pivot-Tabelle ist ein Fehler aufgetreten.\",\n selectAll: \"Alles auswählen\",\n selectNone: \"Nichts auswählen\",\n tooMany: \"(zu viele für Liste)\",\n filterResults: \"Ergebnisse filtern\",\n totals: \"Gesamt\",\n vs: \"gegen\",\n by: \"pro\"\n },\n aggregators: {\n \"Anzahl\": tpl.count(frFmtInt),\n \"Anzahl eindeutiger Werte\": tpl.countUnique(frFmtInt),\n \"Liste eindeutiger Werte\": tpl.listUnique(\", \"),\n \"Summe\": tpl.sum(frFmt),\n \"Ganzzahlige Summe\": tpl.sum(frFmtInt),\n \"Durchschnitt\": tpl.average(frFmt),\n \"Minimum\": tpl.min(frFmt),\n \"Maximum\": tpl.max(frFmt),\n \"Summe über Summe\": tpl.sumOverSum(frFmt),\n \"80% Obergrenze\": tpl.sumOverSumBound80(true, frFmt),\n \"80% Untergrenze\": tpl.sumOverSumBound80(false, frFmt),\n \"Summe als Anteil von Gesamt\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Summe als Anteil von Zeile\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Summe als Anteil von Spalte\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Anzahl als Anteil von Gesamt\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Anzahl als Anteil von Zeile\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Anzahl als Anteil von Spalte\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n },\n renderers: {\n \"Tabelle\": $.pivotUtilities.renderers[\"Table\"],\n \"Tabelle mit Balkendiagramm\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Heatmap pro Zeile\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Heatmap pro Spalte\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.de.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var frFmt, frFmtInt, frFmtPct, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
frFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.es = {
localeStrings: {
renderError: "Ocurrió un error durante la interpretación de la tabla dinámica.",
computeError: "Ocurrió un error durante el cálculo de la tabla dinámica.",
uiRenderError: "Ocurrió un error durante el dibujado de la tabla dinámica.",
selectAll: "Seleccionar todo",
selectNone: "Deseleccionar todo",
tooMany: "(demasiados valores)",
filterResults: "Filtrar resultados",
totals: "Totales",
vs: "vs",
by: "por"
},
aggregators: {
"Cuenta": tpl.count(frFmtInt),
"Cuenta de valores únicos": tpl.countUnique(frFmtInt),
"Lista de valores únicos": tpl.listUnique(", "),
"Suma": tpl.sum(frFmt),
"Suma de enteros": tpl.sum(frFmtInt),
"Promedio": tpl.average(frFmt),
"Mínimo": tpl.min(frFmt),
"Máximo": tpl.max(frFmt),
"Suma de sumas": tpl.sumOverSum(frFmt),
"Cota 80% superior": tpl.sumOverSumBound80(true, frFmt),
"Cota 80% inferior": tpl.sumOverSumBound80(false, frFmt),
"Proporción del total (suma)": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Proporción de la fila (suma)": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Proporción de la columna (suma)": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Proporción del total (cuenta)": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Proporción de la fila (cuenta)": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Proporción de la columna (cuenta)": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Tabla": $.pivotUtilities.renderers["Table"],
"Tabla con barras": $.pivotUtilities.renderers["Table Barchart"],
"Heatmap": $.pivotUtilities.renderers["Heatmap"],
"Heatmap por filas": $.pivotUtilities.renderers["Row Heatmap"],
"Heatmap por columnas": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.es.js.map
{"version":3,"file":"pivot.es.js","sources":["pivot.es.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADC;KAAA,MAAA;aAID,WAAA,CAAY,MAAZ,EAJC;;EAHQ;;EASjB,cAAA,CAAe,SAAC,CAAD;AACX,QAAA;IAAA,EAAA,GAAK,CAAC,CAAC,cAAc,CAAC;IACtB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IAEvB,KAAA,GAAW,EAAA,CAAG;MAAA,YAAA,EAAc,GAAd;MAAmB,UAAA,EAAY,GAA/B;KAAH;IACX,QAAA,GAAW,EAAA,CAAG;MAAA,kBAAA,EAAoB,CAApB;MAAuB,YAAA,EAAc,GAArC;MAA0C,UAAA,EAAY,GAAtD;KAAH;IACX,QAAA,GAAW,EAAA,CAAG;MAAA,kBAAA,EAAoB,CAApB;MAAuB,MAAA,EAAQ,GAA/B;MAAoC,MAAA,EAAQ,GAA5C;MAAiD,YAAA,EAAc,GAA/D;MAAoE,UAAA,EAAY,GAAhF;KAAH;WAEX,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAzB,GAEI;MAAA,aAAA,EACI;QAAA,WAAA,EAAa,kEAAb;QACA,YAAA,EAAc,2DADd;QAEA,aAAA,EAAe,4DAFf;QAGA,SAAA,EAAW,kBAHX;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AG,CAAC,KAAJ,CAAA,CAAf,EAA4B,OAA5B,EAAqC,QAArC,CAdrC;QAeA,gCAAA,EAAoC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAfpC;QAgBA,mCAAA,EAAqC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAhBrC;OAZJ;MA8BA,SAAA,EACI;QAAA,OAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,OAAA,CAA9D;QACA,kBAAA,EAAkC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,gBAAA,CAD7D;QAEA,SAAA,EAA0B,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,SAAA,CAFrD;QAGA,mBAAA,EAA0B,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAHrD;QAIA,sBAAA,EAA2B,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJtD;OA/BJ;;EAVO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.es = \n\n localeStrings:\n renderError: \"Ocurrió un error durante la interpretación de la tabla dinámica.\"\n computeError: \"Ocurrió un error durante el cálculo de la tabla dinámica.\"\n uiRenderError: \"Ocurrió un error durante el dibujado de la tabla dinámica.\"\n selectAll: \"Seleccionar todo\"\n selectNone: \"Deseleccionar todo\"\n tooMany: \"(demasiados valores)\"\n filterResults: \"Filtrar resultados\"\n totals: \"Totales\"\n vs: \"vs\"\n by: \"por\"\n aggregators: \n \"Cuenta\": tpl.count(frFmtInt)\n \"Cuenta de valores únicos\": tpl.countUnique(frFmtInt)\n \"Lista de valores únicos\": tpl.listUnique(\", \")\n \"Suma\": tpl.sum(frFmt)\n \"Suma de enteros\": tpl.sum(frFmtInt)\n \"Promedio\": tpl.average(frFmt)\n \"Mínimo\": tpl.min(frFmt)\n \"Máximo\": tpl.max(frFmt)\n \"Suma de sumas\": tpl.sumOverSum(frFmt)\n \"Cota 80% superior\": tpl.sumOverSumBound80(true, frFmt)\n \"Cota 80% inferior\": tpl.sumOverSumBound80(false, frFmt)\n \"Proporción del total (suma)\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Proporción de la fila (suma)\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Proporción de la columna (suma)\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Proporción del total (cuenta)\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Proporción de la fila (cuenta)\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Proporción de la columna (cuenta)\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabla\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabla con barras\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Heatmap por filas\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Heatmap por columnas\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var r,a,t,o,i;return o=e.pivotUtilities.numberFormat,i=e.pivotUtilities.aggregatorTemplates,r=o({thousandsSep:" ",decimalSep:","}),a=o({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),t=o({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.es={localeStrings:{renderError:"Ocurrió un error durante la interpretación de la tabla dinámica.",computeError:"Ocurrió un error durante el cálculo de la tabla dinámica.",uiRenderError:"Ocurrió un error durante el dibujado de la tabla dinámica.",selectAll:"Seleccionar todo",selectNone:"Deseleccionar todo",tooMany:"(demasiados valores)",filterResults:"Filtrar resultados",totals:"Totales",vs:"vs",by:"por"},aggregators:{Cuenta:i.count(a),"Cuenta de valores únicos":i.countUnique(a),"Lista de valores únicos":i.listUnique(", "),Suma:i.sum(r),"Suma de enteros":i.sum(a),Promedio:i.average(r),"Mínimo":i.min(r),"Máximo":i.max(r),"Suma de sumas":i.sumOverSum(r),"Cota 80% superior":i.sumOverSumBound80(!0,r),"Cota 80% inferior":i.sumOverSumBound80(!1,r),"Proporción del total (suma)":i.fractionOf(i.sum(),"total",t),"Proporción de la fila (suma)":i.fractionOf(i.sum(),"row",t),"Proporción de la columna (suma)":i.fractionOf(i.sum(),"col",t),"Proporción del total (cuenta)":i.fractionOf(i.count(),"total",t),"Proporción de la fila (cuenta)":i.fractionOf(i.count(),"row",t),"Proporción de la columna (cuenta)":i.fractionOf(i.count(),"col",t)},renderers:{Tabla:e.pivotUtilities.renderers.Table,"Tabla con barras":e.pivotUtilities.renderers["Table Barchart"],Heatmap:e.pivotUtilities.renderers.Heatmap,"Heatmap por filas":e.pivotUtilities.renderers["Row Heatmap"],"Heatmap por columnas":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.es.min.js.map
{"version":3,"sources":["pivot.es.coffee","pivot.es.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","frFmt","frFmtInt","frFmtPct","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","es","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","totals","vs","by","aggregators","Cuenta","count","Cuenta de valores únicos","countUnique","Lista de valores únicos","listUnique","Suma","sum","Suma de enteros","Promedio","average","Mínimo","min","Máximo","max","Suma de sumas","sumOverSum","Cota 80% superior","sumOverSumBound80","Cota 80% inferior","Proporción del total (suma)","fractionOf","Proporción de la fila (suma)","Proporción de la columna (suma)","Proporción del total (cuenta)","Proporción de la fila (cuenta)","Proporción de la columna (cuenta)","renderers","Tabla","Tabla con barras","Heatmap","Heatmap por filas","Heatmap por columnas","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GACZ,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,CCuBA,ODvBAD,GAAKJ,EAAEM,eAAeC,aACtBF,EAAML,EAAEM,eAAeE,oBAEvBP,EAAWG,GAAGK,aAAc,IAAKC,WAAY,MAC7CR,EAAWE,GAAGO,mBAAoB,EAAGF,aAAc,IAAKC,WAAY,MACpEP,EAAWC,GAAGO,mBAAoB,EAAGC,OAAQ,IAAKC,OAAQ,IAAKJ,aAAc,IAAKC,WAAY,MAE9FV,EAAEM,eAAeQ,QAAQC,IAErBC,eACIC,YAAa,mEACbC,aAAc,4DACdC,cAAe,6DACfC,UAAW,mBACXC,WAAY,qBACZC,QAAS,uBACTC,cAAe,qBACfC,OAAQ,UACRC,GAAI,KACJC,GAAI,OACRC,aACIC,OAAsCvB,EAAIwB,MAAM3B,GAChD4B,2BAAqCzB,EAAI0B,YAAY7B,GACrD8B,0BAAqC3B,EAAI4B,WAAW,MACpDC,KAAqC7B,EAAI8B,IAAIlC,GAC7CmC,kBAAqC/B,EAAI8B,IAAIjC,GAC7CmC,SAAuChC,EAAIiC,QAAQrC,GACnDsC,SAAgDlC,EAAImC,IAAIvC,GACxDwC,SAAgDpC,EAAIqC,IAAIzC,GACxD0C,gBAAoCtC,EAAIuC,WAAW3C,GACnD4C,oBAA4BxC,EAAIyC,mBAAkB,EAAM7C,GACxD8C,oBAA4B1C,EAAIyC,mBAAkB,EAAO7C,GACzD+C,8BAAoC3C,EAAI4C,WAAW5C,EAAI8B,MAAS,QAAShC,GACzE+C,+BAAmC7C,EAAI4C,WAAW5C,EAAI8B,MAAS,MAAShC,GACxEgD,kCAAoC9C,EAAI4C,WAAW5C,EAAI8B,MAAS,MAAShC,GACzEiD,gCAAqC/C,EAAI4C,WAAW5C,EAAIwB,QAAS,QAAS1B,GAC1EkD,iCAAoChD,EAAI4C,WAAW5C,EAAIwB,QAAS,MAAS1B,GACzEmD,oCAAqCjD,EAAI4C,WAAW5C,EAAIwB,QAAS,MAAS1B,IAE9EoD,WACIC,MAAmCxD,EAAEM,eAAeiD,UAAU,MAC9DE,mBAAkCzD,EAAEM,eAAeiD,UAAU,kBAC7DG,QAA0B1D,EAAEM,eAAeiD,UAAU,QACrDI,oBAA0B3D,EAAEM,eAAeiD,UAAU,eACrDK,uBAA2B5D,EAAEM,eAAeiD,UAAU,qBCqB/DM,KAAKC","file":"pivot.es.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.es = \n\n localeStrings:\n renderError: \"Ocurrió un error durante la interpretación de la tabla dinámica.\"\n computeError: \"Ocurrió un error durante el cálculo de la tabla dinámica.\"\n uiRenderError: \"Ocurrió un error durante el dibujado de la tabla dinámica.\"\n selectAll: \"Seleccionar todo\"\n selectNone: \"Deseleccionar todo\"\n tooMany: \"(demasiados valores)\"\n filterResults: \"Filtrar resultados\"\n totals: \"Totales\"\n vs: \"vs\"\n by: \"por\"\n aggregators: \n \"Cuenta\": tpl.count(frFmtInt)\n \"Cuenta de valores únicos\": tpl.countUnique(frFmtInt)\n \"Lista de valores únicos\": tpl.listUnique(\", \")\n \"Suma\": tpl.sum(frFmt)\n \"Suma de enteros\": tpl.sum(frFmtInt)\n \"Promedio\": tpl.average(frFmt)\n \"Mínimo\": tpl.min(frFmt)\n \"Máximo\": tpl.max(frFmt)\n \"Suma de sumas\": tpl.sumOverSum(frFmt)\n \"Cota 80% superior\": tpl.sumOverSumBound80(true, frFmt)\n \"Cota 80% inferior\": tpl.sumOverSumBound80(false, frFmt)\n \"Proporción del total (suma)\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Proporción de la fila (suma)\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Proporción de la columna (suma)\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Proporción del total (cuenta)\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Proporción de la fila (cuenta)\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Proporción de la columna (cuenta)\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabla\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabla con barras\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Heatmap por filas\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Heatmap por columnas\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var frFmt, frFmtInt, frFmtPct, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n frFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.es = {\n localeStrings: {\n renderError: \"Ocurrió un error durante la interpretación de la tabla dinámica.\",\n computeError: \"Ocurrió un error durante el cálculo de la tabla dinámica.\",\n uiRenderError: \"Ocurrió un error durante el dibujado de la tabla dinámica.\",\n selectAll: \"Seleccionar todo\",\n selectNone: \"Deseleccionar todo\",\n tooMany: \"(demasiados valores)\",\n filterResults: \"Filtrar resultados\",\n totals: \"Totales\",\n vs: \"vs\",\n by: \"por\"\n },\n aggregators: {\n \"Cuenta\": tpl.count(frFmtInt),\n \"Cuenta de valores únicos\": tpl.countUnique(frFmtInt),\n \"Lista de valores únicos\": tpl.listUnique(\", \"),\n \"Suma\": tpl.sum(frFmt),\n \"Suma de enteros\": tpl.sum(frFmtInt),\n \"Promedio\": tpl.average(frFmt),\n \"Mínimo\": tpl.min(frFmt),\n \"Máximo\": tpl.max(frFmt),\n \"Suma de sumas\": tpl.sumOverSum(frFmt),\n \"Cota 80% superior\": tpl.sumOverSumBound80(true, frFmt),\n \"Cota 80% inferior\": tpl.sumOverSumBound80(false, frFmt),\n \"Proporción del total (suma)\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Proporción de la fila (suma)\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Proporción de la columna (suma)\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Proporción del total (cuenta)\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Proporción de la fila (cuenta)\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Proporción de la columna (cuenta)\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n },\n renderers: {\n \"Tabla\": $.pivotUtilities.renderers[\"Table\"],\n \"Tabla con barras\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Heatmap por filas\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Heatmap por columnas\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.es.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var frFmt, frFmtInt, frFmtPct, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
frFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.fr = {
localeStrings: {
renderError: "Une erreur est survenue en dessinant le tableau croisé.",
computeError: "Une erreur est survenue en calculant le tableau croisé.",
uiRenderError: "Une erreur est survenue en dessinant l'interface du tableau croisé dynamique.",
selectAll: "Sélectionner tout",
selectNone: "Sélectionner rien",
tooMany: "(trop de valeurs à afficher)",
filterResults: "Filtrer les valeurs",
totals: "Totaux",
vs: "sur",
by: "par",
apply: "Appliquer",
cancel: "Annuler"
},
aggregators: {
"Nombre": tpl.count(frFmtInt),
"Nombre de valeurs uniques": tpl.countUnique(frFmtInt),
"Liste de valeurs uniques": tpl.listUnique(", "),
"Somme": tpl.sum(frFmt),
"Somme en entiers": tpl.sum(frFmtInt),
"Moyenne": tpl.average(frFmt),
"Minimum": tpl.min(frFmt),
"Maximum": tpl.max(frFmt),
"Premier": tpl.min(frFmt),
"Dernier": tpl.max(frFmt),
"Ratio de sommes": tpl.sumOverSum(frFmt),
"Borne supérieure 80%": tpl.sumOverSumBound80(true, frFmt),
"Borne inférieure 80%": tpl.sumOverSumBound80(false, frFmt),
"Somme en proportion du totale": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Somme en proportion de la ligne": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Somme en proportion de la colonne": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Nombre en proportion du totale": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Nombre en proportion de la ligne": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Nombre en proportion de la colonne": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Table": $.pivotUtilities.renderers["Table"],
"Table avec barres": $.pivotUtilities.renderers["Table Barchart"],
"Carte de chaleur": $.pivotUtilities.renderers["Heatmap"],
"Carte de chaleur par ligne": $.pivotUtilities.renderers["Row Heatmap"],
"Carte de chaleur par colonne": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.fr.js.map
{"version":3,"file":"pivot.fr.js","sources":["pivot.fr.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAA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,CAjBtC;QAkBA,oCAAA,EAAsC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAlBtC;OAfJ;MAmCA,SAAA,EACI;QAAA,OAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,OAAA,CAA9D;QACA,mBAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,gBAAA,CAD9D;QAEA,kBAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,SAAA,CAF9D;QAGA,4BAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAH9D;QAIA,8BAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJ9D;OApCJ;;EATO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.fr =\n localeStrings:\n renderError: \"Une erreur est survenue en dessinant le tableau croisé.\"\n computeError: \"Une erreur est survenue en calculant le tableau croisé.\"\n uiRenderError: \"Une erreur est survenue en dessinant l'interface du tableau croisé dynamique.\"\n selectAll: \"Sélectionner tout\"\n selectNone: \"Sélectionner rien\"\n tooMany: \"(trop de valeurs à afficher)\"\n filterResults: \"Filtrer les valeurs\"\n totals: \"Totaux\"\n vs: \"sur\"\n by: \"par\"\n apply: \"Appliquer\"\n cancel: \"Annuler\"\n\n aggregators:\n \"Nombre\": tpl.count(frFmtInt)\n \"Nombre de valeurs uniques\": tpl.countUnique(frFmtInt)\n \"Liste de valeurs uniques\": tpl.listUnique(\", \")\n \"Somme\": tpl.sum(frFmt)\n \"Somme en entiers\": tpl.sum(frFmtInt)\n \"Moyenne\": tpl.average(frFmt)\n \"Minimum\": tpl.min(frFmt)\n \"Maximum\": tpl.max(frFmt)\n \"Premier\": tpl.min(frFmt)\n \"Dernier\": tpl.max(frFmt)\n \"Ratio de sommes\": tpl.sumOverSum(frFmt)\n \"Borne supérieure 80%\": tpl.sumOverSumBound80(true, frFmt)\n \"Borne inférieure 80%\": tpl.sumOverSumBound80(false, frFmt)\n \"Somme en proportion du totale\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Somme en proportion de la ligne\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Somme en proportion de la colonne\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Nombre en proportion du totale\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Nombre en proportion de la ligne\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Nombre en proportion de la colonne\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Table\": $.pivotUtilities.renderers[\"Table\"]\n \"Table avec barres\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Carte de chaleur\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Carte de chaleur par ligne\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Carte de chaleur par colonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var r,t,o,n,i;return n=e.pivotUtilities.numberFormat,i=e.pivotUtilities.aggregatorTemplates,r=n({thousandsSep:" ",decimalSep:","}),t=n({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),o=n({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.fr={localeStrings:{renderError:"Une erreur est survenue en dessinant le tableau croisé.",computeError:"Une erreur est survenue en calculant le tableau croisé.",uiRenderError:"Une erreur est survenue en dessinant l'interface du tableau croisé dynamique.",selectAll:"Sélectionner tout",selectNone:"Sélectionner rien",tooMany:"(trop de valeurs à afficher)",filterResults:"Filtrer les valeurs",totals:"Totaux",vs:"sur",by:"par",apply:"Appliquer",cancel:"Annuler"},aggregators:{Nombre:i.count(t),"Nombre de valeurs uniques":i.countUnique(t),"Liste de valeurs uniques":i.listUnique(", "),Somme:i.sum(r),"Somme en entiers":i.sum(t),Moyenne:i.average(r),Minimum:i.min(r),Maximum:i.max(r),Premier:i.min(r),Dernier:i.max(r),"Ratio de sommes":i.sumOverSum(r),"Borne supérieure 80%":i.sumOverSumBound80(!0,r),"Borne inférieure 80%":i.sumOverSumBound80(!1,r),"Somme en proportion du totale":i.fractionOf(i.sum(),"total",o),"Somme en proportion de la ligne":i.fractionOf(i.sum(),"row",o),"Somme en proportion de la colonne":i.fractionOf(i.sum(),"col",o),"Nombre en proportion du totale":i.fractionOf(i.count(),"total",o),"Nombre en proportion de la ligne":i.fractionOf(i.count(),"row",o),"Nombre en proportion de la colonne":i.fractionOf(i.count(),"col",o)},renderers:{Table:e.pivotUtilities.renderers.Table,"Table avec barres":e.pivotUtilities.renderers["Table Barchart"],"Carte de chaleur":e.pivotUtilities.renderers.Heatmap,"Carte de chaleur par ligne":e.pivotUtilities.renderers["Row Heatmap"],"Carte de chaleur par colonne":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.fr.min.js.map
{"version":3,"sources":["pivot.fr.coffee","pivot.fr.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","frFmt","frFmtInt","frFmtPct","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","fr","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","totals","vs","by","apply","cancel","aggregators","Nombre","count","Nombre de valeurs uniques","countUnique","Liste de valeurs uniques","listUnique","Somme","sum","Somme en entiers","Moyenne","average","Minimum","min","Maximum","max","Premier","Dernier","Ratio de sommes","sumOverSum","Borne supérieure 80%","sumOverSumBound80","Borne inférieure 80%","Somme en proportion du totale","fractionOf","Somme en proportion de la ligne","Somme en proportion de la colonne","Nombre en proportion du totale","Nombre en proportion de la ligne","Nombre en proportion de la colonne","renderers","Table","Table avec barres","Carte de chaleur","Carte de chaleur par ligne","Carte de chaleur par colonne","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GACZ,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,CCuBA,ODvBAD,GAAKJ,EAAEM,eAAeC,aACtBF,EAAML,EAAEM,eAAeE,oBAEvBP,EAAWG,GAAGK,aAAc,IAAKC,WAAY,MAC7CR,EAAWE,GAAGO,mBAAoB,EAAGF,aAAc,IAAKC,WAAY,MACpEP,EAAWC,GAAGO,mBAAoB,EAAGC,OAAQ,IAAKC,OAAQ,IAAKJ,aAAc,IAAKC,WAAY,MAE9FV,EAAEM,eAAeQ,QAAQC,IACrBC,eACIC,YAAa,0DACbC,aAAc,0DACdC,cAAe,gFACfC,UAAW,oBACXC,WAAY,oBACZC,QAAS,+BACTC,cAAe,sBACfC,OAAQ,SACRC,GAAI,MACJC,GAAI,MACJC,MAAO,YACPC,OAAQ,WAEZC,aACIC,OAAsCzB,EAAI0B,MAAM7B,GAChD8B,4BAAsC3B,EAAI4B,YAAY/B,GACtDgC,2BAAsC7B,EAAI8B,WAAW,MACrDC,MAAsC/B,EAAIgC,IAAIpC,GAC9CqC,mBAAsCjC,EAAIgC,IAAInC,GAC9CqC,QAAsClC,EAAImC,QAAQvC,GAClDwC,QAAsCpC,EAAIqC,IAAIzC,GAC9C0C,QAAsCtC,EAAIuC,IAAI3C,GAC9C4C,QAAsCxC,EAAIqC,IAAIzC,GAC9C6C,QAAsCzC,EAAIuC,IAAI3C,GAC9C8C,kBAAsC1C,EAAI2C,WAAW/C,GACrDgD,uBAAsC5C,EAAI6C,mBAAkB,EAAMjD,GAClEkD,uBAAsC9C,EAAI6C,mBAAkB,EAAOjD,GACnEmD,gCAAsC/C,EAAIgD,WAAWhD,EAAIgC,MAAS,QAASlC,GAC3EmD,kCAAsCjD,EAAIgD,WAAWhD,EAAIgC,MAAS,MAASlC,GAC3EoD,oCAAsClD,EAAIgD,WAAWhD,EAAIgC,MAAS,MAASlC,GAC3EqD,iCAAsCnD,EAAIgD,WAAWhD,EAAI0B,QAAS,QAAS5B,GAC3EsD,mCAAsCpD,EAAIgD,WAAWhD,EAAI0B,QAAS,MAAS5B,GAC3EuD,qCAAsCrD,EAAIgD,WAAWhD,EAAI0B,QAAS,MAAS5B,IAE/EwD,WACIC,MAAmC5D,EAAEM,eAAeqD,UAAU,MAC9DE,oBAAmC7D,EAAEM,eAAeqD,UAAU,kBAC9DG,mBAAmC9D,EAAEM,eAAeqD,UAAU,QAC9DI,6BAAmC/D,EAAEM,eAAeqD,UAAU,eAC9DK,+BAAmChE,EAAEM,eAAeqD,UAAU,qBCqBvEM,KAAKC","file":"pivot.fr.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.fr =\n localeStrings:\n renderError: \"Une erreur est survenue en dessinant le tableau croisé.\"\n computeError: \"Une erreur est survenue en calculant le tableau croisé.\"\n uiRenderError: \"Une erreur est survenue en dessinant l'interface du tableau croisé dynamique.\"\n selectAll: \"Sélectionner tout\"\n selectNone: \"Sélectionner rien\"\n tooMany: \"(trop de valeurs à afficher)\"\n filterResults: \"Filtrer les valeurs\"\n totals: \"Totaux\"\n vs: \"sur\"\n by: \"par\"\n apply: \"Appliquer\"\n cancel: \"Annuler\"\n\n aggregators:\n \"Nombre\": tpl.count(frFmtInt)\n \"Nombre de valeurs uniques\": tpl.countUnique(frFmtInt)\n \"Liste de valeurs uniques\": tpl.listUnique(\", \")\n \"Somme\": tpl.sum(frFmt)\n \"Somme en entiers\": tpl.sum(frFmtInt)\n \"Moyenne\": tpl.average(frFmt)\n \"Minimum\": tpl.min(frFmt)\n \"Maximum\": tpl.max(frFmt)\n \"Premier\": tpl.min(frFmt)\n \"Dernier\": tpl.max(frFmt)\n \"Ratio de sommes\": tpl.sumOverSum(frFmt)\n \"Borne supérieure 80%\": tpl.sumOverSumBound80(true, frFmt)\n \"Borne inférieure 80%\": tpl.sumOverSumBound80(false, frFmt)\n \"Somme en proportion du totale\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Somme en proportion de la ligne\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Somme en proportion de la colonne\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Nombre en proportion du totale\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Nombre en proportion de la ligne\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Nombre en proportion de la colonne\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Table\": $.pivotUtilities.renderers[\"Table\"]\n \"Table avec barres\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Carte de chaleur\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Carte de chaleur par ligne\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Carte de chaleur par colonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var frFmt, frFmtInt, frFmtPct, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n frFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.fr = {\n localeStrings: {\n renderError: \"Une erreur est survenue en dessinant le tableau croisé.\",\n computeError: \"Une erreur est survenue en calculant le tableau croisé.\",\n uiRenderError: \"Une erreur est survenue en dessinant l'interface du tableau croisé dynamique.\",\n selectAll: \"Sélectionner tout\",\n selectNone: \"Sélectionner rien\",\n tooMany: \"(trop de valeurs à afficher)\",\n filterResults: \"Filtrer les valeurs\",\n totals: \"Totaux\",\n vs: \"sur\",\n by: \"par\",\n apply: \"Appliquer\",\n cancel: \"Annuler\"\n },\n aggregators: {\n \"Nombre\": tpl.count(frFmtInt),\n \"Nombre de valeurs uniques\": tpl.countUnique(frFmtInt),\n \"Liste de valeurs uniques\": tpl.listUnique(\", \"),\n \"Somme\": tpl.sum(frFmt),\n \"Somme en entiers\": tpl.sum(frFmtInt),\n \"Moyenne\": tpl.average(frFmt),\n \"Minimum\": tpl.min(frFmt),\n \"Maximum\": tpl.max(frFmt),\n \"Premier\": tpl.min(frFmt),\n \"Dernier\": tpl.max(frFmt),\n \"Ratio de sommes\": tpl.sumOverSum(frFmt),\n \"Borne supérieure 80%\": tpl.sumOverSumBound80(true, frFmt),\n \"Borne inférieure 80%\": tpl.sumOverSumBound80(false, frFmt),\n \"Somme en proportion du totale\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Somme en proportion de la ligne\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Somme en proportion de la colonne\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Nombre en proportion du totale\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Nombre en proportion de la ligne\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Nombre en proportion de la colonne\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n },\n renderers: {\n \"Table\": $.pivotUtilities.renderers[\"Table\"],\n \"Table avec barres\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Carte de chaleur\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Carte de chaleur par ligne\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Carte de chaleur par colonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.fr.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var frFmt, frFmtInt, frFmtPct, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
frFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.it = {
localeStrings: {
renderError: "Si è verificato un errore durante la creazione della tabella.",
computeError: "Si è verificato un errore di calcolo nella tabella.",
uiRenderError: "Si è verificato un errore durante il disegno di interfaccia della tabella pivot.",
selectAll: "Seleziona tutto",
selectNone: "Deseleziona tutto",
tooMany: "(troppi valori da visualizzare)",
filterResults: "Filtra i valori",
apply: "Applica",
cancel: "Annulla",
totals: "Totali",
vs: "su",
by: "da"
},
aggregators: {
"Numero": tpl.count(frFmtInt),
"Numero di valori unici": tpl.countUnique(frFmtInt),
"Elenco di valori unici": tpl.listUnique(", "),
"Somma": tpl.sum(frFmt),
"Somma intera": tpl.sum(frFmtInt),
"Media": tpl.average(frFmt),
"Minimo": tpl.min(frFmt),
"Massimo": tpl.max(frFmt),
"Rapporto": tpl.sumOverSum(frFmt),
"Limite superiore 80%": tpl.sumOverSumBound80(true, frFmt),
"limite inferiore 80%": tpl.sumOverSumBound80(false, frFmt),
"Somma proporzionale al totale": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Somma proporzionale alla riga": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Somma proporzionale alla colonna": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Numero proporzionale al totale": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Numero proporzionale alla riga": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Numero proporzionale alla colonna": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Tabella": $.pivotUtilities.renderers["Table"],
"Tabella con grafico": $.pivotUtilities.renderers["Table Barchart"],
"Mappa di calore": $.pivotUtilities.renderers["Heatmap"],
"Mappa di calore per righe": $.pivotUtilities.renderers["Row Heatmap"],
"Mappa di calore per colonne": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.it.js.map
{"version":3,"file":"pivot.it.js","sources":["pivot.it.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACf,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACE,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADF;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACH,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADG;KAAA,MAAA;aAIH,WAAA,CAAY,MAAZ,EAJG;;EAHU;;EASjB,cAAA,CAAe,SAAC,CAAD;AACb,QAAA;IAAA,EAAA,GAAK,CAAC,CAAC,cAAc,CAAC;IACtB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IAEvB,KAAA,GAAW,EAAA,CAAG;MAAA,YAAA,EAAc,GAAd;MAAmB,UAAA,EAAY,GAA/B;KAAH;IACX,QAAA,GAAW,EAAA,CAAG;MAAA,kBAAA,EAAoB,CAApB;MAAuB,YAAA,EAAc,GAArC;MAA0C,UAAA,EAAY,GAAtD;KAAH;IACX,QAAA,GAAW,EAAA,CAAG;MAAA,kBAAA,EAAoB,CAApB;MAAuB,MAAA,EAAQ,GAA/B;MAAoC,MAAA,EAAQ,GAA5C;MAAiD,YAAA,EAAc,GAA/D;MAAoE,UAAA,EAAY,GAAhF;KAAH;WAEX,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAzB,GACE;MAAA,aAAA,EACE;QAAA,WAAA,EAAa,+DAAb;QACA,YAAA,EAAc,qDADd;QAEA,aAAA,EAAe,kFAFf;QAGA,SAAA,EAAW,iBAHX;QAIA,UAAA,EAAY,mBAJZ;QAKA,OAAA,EAAS,iCALT;QAMA,aAAA,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CAAA,CAAf,EAA4B,OAA5B,EAAqC,QAArC,CAdtC;QAeA,gCAAA,EAAsC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAftC;QAgBA,mCAAA,EAAsC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAhBtC;OAfF;MAiCA,SAAA,EACE;QAAA,SAAA,EAAqC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,OAAA,CAAhE;QACA,qBAAA,EAAqC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,gBAAA,CADhE;QAEA,iBAAA,EAAqC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,SAAA,CAFhE;QAGA,2BAAA,EAAqC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAHhE;QAIA,6BAAA,EAAqC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJhE;OAlCF;;EATW,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n# Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.it =\n localeStrings:\n renderError: \"Si è verificato un errore durante la creazione della tabella.\"\n computeError: \"Si è verificato un errore di calcolo nella tabella.\"\n uiRenderError: \"Si è verificato un errore durante il disegno di interfaccia della tabella pivot.\"\n selectAll: \"Seleziona tutto\"\n selectNone: \"Deseleziona tutto\"\n tooMany: \"(troppi valori da visualizzare)\"\n filterResults: \"Filtra i valori\"\n apply: \"Applica\"\n cancel: \"Annulla\"\n totals: \"Totali\"\n vs: \"su\"\n by: \"da\"\n\n aggregators:\n \"Numero\": tpl.count(frFmtInt)\n \"Numero di valori unici\": tpl.countUnique(frFmtInt)\n \"Elenco di valori unici\": tpl.listUnique(\", \")\n \"Somma\": tpl.sum(frFmt)\n \"Somma intera\": tpl.sum(frFmtInt)\n \"Media\": tpl.average(frFmt)\n \"Minimo\": tpl.min(frFmt)\n \"Massimo\": tpl.max(frFmt)\n \"Rapporto\": tpl.sumOverSum(frFmt)\n \"Limite superiore 80%\": tpl.sumOverSumBound80(true, frFmt)\n \"limite inferiore 80%\": tpl.sumOverSumBound80(false, frFmt)\n \"Somma proporzionale al totale\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Somma proporzionale alla riga\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Somma proporzionale alla colonna\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Numero proporzionale al totale\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Numero proporzionale alla riga\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Numero proporzionale alla colonna\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabella\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabella con grafico\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Mappa di calore\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Mappa di calore per righe\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Mappa di calore per colonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var i,o,a,r,t;return r=e.pivotUtilities.numberFormat,t=e.pivotUtilities.aggregatorTemplates,i=r({thousandsSep:" ",decimalSep:","}),o=r({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),a=r({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.it={localeStrings:{renderError:"Si è verificato un errore durante la creazione della tabella.",computeError:"Si è verificato un errore di calcolo nella tabella.",uiRenderError:"Si è verificato un errore durante il disegno di interfaccia della tabella pivot.",selectAll:"Seleziona tutto",selectNone:"Deseleziona tutto",tooMany:"(troppi valori da visualizzare)",filterResults:"Filtra i valori",apply:"Applica",cancel:"Annulla",totals:"Totali",vs:"su",by:"da"},aggregators:{Numero:t.count(o),"Numero di valori unici":t.countUnique(o),"Elenco di valori unici":t.listUnique(", "),Somma:t.sum(i),"Somma intera":t.sum(o),Media:t.average(i),Minimo:t.min(i),Massimo:t.max(i),Rapporto:t.sumOverSum(i),"Limite superiore 80%":t.sumOverSumBound80(!0,i),"limite inferiore 80%":t.sumOverSumBound80(!1,i),"Somma proporzionale al totale":t.fractionOf(t.sum(),"total",a),"Somma proporzionale alla riga":t.fractionOf(t.sum(),"row",a),"Somma proporzionale alla colonna":t.fractionOf(t.sum(),"col",a),"Numero proporzionale al totale":t.fractionOf(t.count(),"total",a),"Numero proporzionale alla riga":t.fractionOf(t.count(),"row",a),"Numero proporzionale alla colonna":t.fractionOf(t.count(),"col",a)},renderers:{Tabella:e.pivotUtilities.renderers.Table,"Tabella con grafico":e.pivotUtilities.renderers["Table Barchart"],"Mappa di calore":e.pivotUtilities.renderers.Heatmap,"Mappa di calore per righe":e.pivotUtilities.renderers["Row Heatmap"],"Mappa di calore per colonne":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.it.min.js.map
{"version":3,"sources":["pivot.it.coffee","pivot.it.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","frFmt","frFmtInt","frFmtPct","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","it","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","apply","cancel","totals","vs","by","aggregators","Numero","count","Numero di valori unici","countUnique","Elenco di valori unici","listUnique","Somma","sum","Somma intera","Media","average","Minimo","min","Massimo","max","Rapporto","sumOverSum","Limite superiore 80%","sumOverSumBound80","limite inferiore 80%","Somma proporzionale al totale","fractionOf","Somma proporzionale alla riga","Somma proporzionale alla colonna","Numero proporzionale al totale","Numero proporzionale alla riga","Numero proporzionale alla colonna","renderers","Tabella","Tabella con grafico","Mappa di calore","Mappa di calore per righe","Mappa di calore per colonne","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GAChB,MAAqB,gBAAXC,UAAyC,gBAAVC,QACvCF,EAAYG,QAAQ,WACG,kBAAVC,SAAyBA,OAAOC,IAC7CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAED,SAACC,GACd,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,CCuBE,ODvBFD,GAAKJ,EAAEM,eAAeC,aACtBF,EAAML,EAAEM,eAAeE,oBAEvBP,EAAWG,GAAGK,aAAc,IAAKC,WAAY,MAC7CR,EAAWE,GAAGO,mBAAoB,EAAGF,aAAc,IAAKC,WAAY,MACpEP,EAAWC,GAAGO,mBAAoB,EAAGC,OAAQ,IAAKC,OAAQ,IAAKJ,aAAc,IAAKC,WAAY,MAE9FV,EAAEM,eAAeQ,QAAQC,IACvBC,eACEC,YAAa,gEACbC,aAAc,sDACdC,cAAe,mFACfC,UAAW,kBACXC,WAAY,oBACZC,QAAS,kCACTC,cAAe,kBACfC,MAAO,UACPC,OAAQ,UACRC,OAAQ,SACRC,GAAI,KACJC,GAAI,MAENC,aACEC,OAAsCzB,EAAI0B,MAAM7B,GAChD8B,yBAAsC3B,EAAI4B,YAAY/B,GACtDgC,yBAAsC7B,EAAI8B,WAAW,MACrDC,MAAsC/B,EAAIgC,IAAIpC,GAC9CqC,eAAsCjC,EAAIgC,IAAInC,GAC9CqC,MAAsClC,EAAImC,QAAQvC,GAClDwC,OAAsCpC,EAAIqC,IAAIzC,GAC9C0C,QAAsCtC,EAAIuC,IAAI3C,GAC9C4C,SAAsCxC,EAAIyC,WAAW7C,GACrD8C,uBAAsC1C,EAAI2C,mBAAkB,EAAM/C,GAClEgD,uBAAsC5C,EAAI2C,mBAAkB,EAAO/C,GACnEiD,gCAAsC7C,EAAI8C,WAAW9C,EAAIgC,MAAS,QAASlC,GAC3EiD,gCAAsC/C,EAAI8C,WAAW9C,EAAIgC,MAAS,MAASlC,GAC3EkD,mCAAsChD,EAAI8C,WAAW9C,EAAIgC,MAAS,MAASlC,GAC3EmD,iCAAsCjD,EAAI8C,WAAW9C,EAAI0B,QAAS,QAAS5B,GAC3EoD,iCAAsClD,EAAI8C,WAAW9C,EAAI0B,QAAS,MAAS5B,GAC3EqD,oCAAsCnD,EAAI8C,WAAW9C,EAAI0B,QAAS,MAAS5B,IAE7EsD,WACEC,QAAqC1D,EAAEM,eAAemD,UAAU,MAChEE,sBAAqC3D,EAAEM,eAAemD,UAAU,kBAChEG,kBAAqC5D,EAAEM,eAAemD,UAAU,QAChEI,4BAAqC7D,EAAEM,eAAemD,UAAU,eAChEK,8BAAqC9D,EAAEM,eAAemD,UAAU,qBCqBnEM,KAAKC","file":"pivot.it.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n# Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.it =\n localeStrings:\n renderError: \"Si è verificato un errore durante la creazione della tabella.\"\n computeError: \"Si è verificato un errore di calcolo nella tabella.\"\n uiRenderError: \"Si è verificato un errore durante il disegno di interfaccia della tabella pivot.\"\n selectAll: \"Seleziona tutto\"\n selectNone: \"Deseleziona tutto\"\n tooMany: \"(troppi valori da visualizzare)\"\n filterResults: \"Filtra i valori\"\n apply: \"Applica\"\n cancel: \"Annulla\"\n totals: \"Totali\"\n vs: \"su\"\n by: \"da\"\n\n aggregators:\n \"Numero\": tpl.count(frFmtInt)\n \"Numero di valori unici\": tpl.countUnique(frFmtInt)\n \"Elenco di valori unici\": tpl.listUnique(\", \")\n \"Somma\": tpl.sum(frFmt)\n \"Somma intera\": tpl.sum(frFmtInt)\n \"Media\": tpl.average(frFmt)\n \"Minimo\": tpl.min(frFmt)\n \"Massimo\": tpl.max(frFmt)\n \"Rapporto\": tpl.sumOverSum(frFmt)\n \"Limite superiore 80%\": tpl.sumOverSumBound80(true, frFmt)\n \"limite inferiore 80%\": tpl.sumOverSumBound80(false, frFmt)\n \"Somma proporzionale al totale\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Somma proporzionale alla riga\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Somma proporzionale alla colonna\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Numero proporzionale al totale\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Numero proporzionale alla riga\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Numero proporzionale alla colonna\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabella\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabella con grafico\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Mappa di calore\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Mappa di calore per righe\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Mappa di calore per colonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var frFmt, frFmtInt, frFmtPct, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n frFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.it = {\n localeStrings: {\n renderError: \"Si è verificato un errore durante la creazione della tabella.\",\n computeError: \"Si è verificato un errore di calcolo nella tabella.\",\n uiRenderError: \"Si è verificato un errore durante il disegno di interfaccia della tabella pivot.\",\n selectAll: \"Seleziona tutto\",\n selectNone: \"Deseleziona tutto\",\n tooMany: \"(troppi valori da visualizzare)\",\n filterResults: \"Filtra i valori\",\n apply: \"Applica\",\n cancel: \"Annulla\",\n totals: \"Totali\",\n vs: \"su\",\n by: \"da\"\n },\n aggregators: {\n \"Numero\": tpl.count(frFmtInt),\n \"Numero di valori unici\": tpl.countUnique(frFmtInt),\n \"Elenco di valori unici\": tpl.listUnique(\", \"),\n \"Somma\": tpl.sum(frFmt),\n \"Somma intera\": tpl.sum(frFmtInt),\n \"Media\": tpl.average(frFmt),\n \"Minimo\": tpl.min(frFmt),\n \"Massimo\": tpl.max(frFmt),\n \"Rapporto\": tpl.sumOverSum(frFmt),\n \"Limite superiore 80%\": tpl.sumOverSumBound80(true, frFmt),\n \"limite inferiore 80%\": tpl.sumOverSumBound80(false, frFmt),\n \"Somma proporzionale al totale\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Somma proporzionale alla riga\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Somma proporzionale alla colonna\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Numero proporzionale al totale\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Numero proporzionale alla riga\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Numero proporzionale alla colonna\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n },\n renderers: {\n \"Tabella\": $.pivotUtilities.renderers[\"Table\"],\n \"Tabella con grafico\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Mappa di calore\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Mappa di calore per righe\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Mappa di calore per colonne\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.it.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var jaFmtInt, jaFmtPct, jpFmt, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
jpFmt = nf({
thousandsSep: ",",
decimalSep: "."
});
jaFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: ",",
decimalSep: "."
});
jaFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: ",",
decimalSep: "."
});
return $.pivotUtilities.locales.ja = {
localeStrings: {
renderError: "描画処理でエラーが発生しました。",
computeError: "処理中にエラーが発生しました。",
uiRenderError: "表示処理中にエラーが発生しました。",
selectAll: "全選択",
selectNone: "選択解除",
tooMany: "項目が多すぎます",
filterResults: "項目を検索する",
totals: "合計",
vs: "vs",
by: "per",
apply: "適用する",
cancel: "キャンセル"
},
aggregators: {
"件数": tpl.count(jpFmtInt),
"件数(ユニーク)": tpl.countUnique(jpFmtInt),
"ユニーク値を表示 (CSV)": tpl.listUnique(", "),
"合計": tpl.sum(jpFmt),
"合計(整数)": tpl.sum(jpFmtInt),
"平均": tpl.average(jpFmt),
"最小": tpl.min(jpFmt),
"最大": tpl.max(jpFmt),
"選択2項目の比率": tpl.sumOverSum(jpFmt),
"選択2項目の比率(上限80%)": tpl.sumOverSumBound80(true, jpFmt),
"選択2項目の比率(下限80%)": tpl.sumOverSumBound80(false, jpFmt),
"合計割合": tpl.fractionOf(tpl.sum(), "total", jpFmtPct),
"合計割合(行)": tpl.fractionOf(tpl.sum(), "row", jpFmtPct),
"合計割合(列)": tpl.fractionOf(tpl.sum(), "col", jpFmtPct),
"件数割合": tpl.fractionOf(tpl.count(), "total", jpFmtPct),
"件数割合(行)": tpl.fractionOf(tpl.count(), "row", jpFmtPct),
"件数割合(列)": tpl.fractionOf(tpl.count(), "col", jpFmtPct)
},
renderers: {
"表": $.pivotUtilities.renderers["Table"],
"表(棒グラフ)": $.pivotUtilities.renderers["Table Barchart"],
"ヒートマップ": $.pivotUtilities.renderers["Heatmap"],
"ヒートマップ(行)": $.pivotUtilities.renderers["Row Heatmap"],
"ヒートマップ(列)": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.jp.js.map
{"version":3,"file":"pivot.jp.js","sources":["pivot.jp.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA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OAAA,CAA1D;QACA,SAAA,EAAyB,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,gBAAA,CADpD;QAEA,QAAA,EAAyB,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,SAAA,CAFpD;QAGA,WAAA,EAAkB,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAH7C;QAIA,WAAA,EAAgB,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJ3C;OAlCJ;;EATO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n jpFmt = nf(thousandsSep: \",\", decimalSep: \".\")\n jaFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \",\", decimalSep: \".\")\n jaFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \",\", decimalSep: \".\")\n\n $.pivotUtilities.locales.ja =\n localeStrings:\n renderError: \"描画処理でエラーが発生しました。\"\n computeError: \"処理中にエラーが発生しました。\"\n uiRenderError: \"表示処理中にエラーが発生しました。\"\n selectAll: \"全選択\"\n selectNone: \"選択解除\"\n tooMany: \"項目が多すぎます\"\n filterResults: \"項目を検索する\"\n totals: \"合計\"\n vs: \"vs\"\n by: \"per\"\n apply: \"適用する\"\n cancel: \"キャンセル\"\n\n aggregators:\n \"件数\": tpl.count(jpFmtInt)\n \"件数(ユニーク)\": tpl.countUnique(jpFmtInt)\n \"ユニーク値を表示 (CSV)\": tpl.listUnique(\", \")\n \"合計\": tpl.sum(jpFmt)\n \"合計(整数)\": tpl.sum(jpFmtInt)\n \"平均\": tpl.average(jpFmt)\n \"最小\": tpl.min(jpFmt)\n \"最大\": tpl.max(jpFmt)\n \"選択2項目の比率\": tpl.sumOverSum(jpFmt)\n \"選択2項目の比率(上限80%)\": tpl.sumOverSumBound80(true, jpFmt)\n \"選択2項目の比率(下限80%)\": tpl.sumOverSumBound80(false, jpFmt)\n \"合計割合\": tpl.fractionOf(tpl.sum(), \"total\", jpFmtPct)\n \"合計割合(行)\": tpl.fractionOf(tpl.sum(), \"row\", jpFmtPct)\n \"合計割合(列)\": tpl.fractionOf(tpl.sum(), \"col\", jpFmtPct)\n \"件数割合\": tpl.fractionOf(tpl.count(), \"total\", jpFmtPct)\n \"件数割合(行)\": tpl.fractionOf(tpl.count(), \"row\", jpFmtPct)\n \"件数割合(列)\": tpl.fractionOf(tpl.count(), \"col\", jpFmtPct)\n\n renderers:\n \"表\": $.pivotUtilities.renderers[\"Table\"]\n \"表(棒グラフ)\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"ヒートマップ\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"ヒートマップ(行)\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"ヒートマップ(列)\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n\n"]}
\ No newline at end of file
(function(){var t;(t=function(t){return"object"==typeof exports&&"object"==typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){var e,r,i,o,n;return o=t.pivotUtilities.numberFormat,n=t.pivotUtilities.aggregatorTemplates,i=o({thousandsSep:",",decimalSep:"."}),e=o({digitsAfterDecimal:0,thousandsSep:",",decimalSep:"."}),r=o({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:",",decimalSep:"."}),t.pivotUtilities.locales.ja={localeStrings:{renderError:"描画処理でエラーが発生しました。",computeError:"処理中にエラーが発生しました。",uiRenderError:"表示処理中にエラーが発生しました。",selectAll:"全選択",selectNone:"選択解除",tooMany:"項目が多すぎます",filterResults:"項目を検索する",totals:"合計",vs:"vs",by:"per",apply:"適用する",cancel:"キャンセル"},aggregators:{"件数":n.count(jpFmtInt),"件数(ユニーク)":n.countUnique(jpFmtInt),"ユニーク値を表示 (CSV)":n.listUnique(", "),"合計":n.sum(i),"合計(整数)":n.sum(jpFmtInt),"平均":n.average(i),"最小":n.min(i),"最大":n.max(i),"選択2項目の比率":n.sumOverSum(i),"選択2項目の比率(上限80%)":n.sumOverSumBound80(!0,i),"選択2項目の比率(下限80%)":n.sumOverSumBound80(!1,i),"合計割合":n.fractionOf(n.sum(),"total",jpFmtPct),"合計割合(行)":n.fractionOf(n.sum(),"row",jpFmtPct),"合計割合(列)":n.fractionOf(n.sum(),"col",jpFmtPct),"件数割合":n.fractionOf(n.count(),"total",jpFmtPct),"件数割合(行)":n.fractionOf(n.count(),"row",jpFmtPct),"件数割合(列)":n.fractionOf(n.count(),"col",jpFmtPct)},renderers:{"表":t.pivotUtilities.renderers.Table,"表(棒グラフ)":t.pivotUtilities.renderers["Table Barchart"],"ヒートマップ":t.pivotUtilities.renderers.Heatmap,"ヒートマップ(行)":t.pivotUtilities.renderers["Row Heatmap"],"ヒートマップ(列)":t.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.jp.min.js.map
{"version":3,"sources":["pivot.jp.coffee","pivot.jp.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","jaFmtInt","jaFmtPct","jpFmt","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","ja","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","totals","vs","by","apply","cancel","aggregators","件数","count","jpFmtInt","件数(ユニーク)","countUnique","ユニーク値を表示 (CSV)","listUnique","合計","sum","合計(整数)","平均","average","最小","min","最大","max","選択2項目の比率","sumOverSum","選択2項目の比率(上限80%)","sumOverSumBound80","選択2項目の比率(下限80%)","合計割合","fractionOf","jpFmtPct","合計割合(行)","合計割合(列)","件数割合","件数割合(行)","件数割合(列)","renderers","表","表(棒グラ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DE,UAAYlD,EAAI+C,WAAW/C,EAAIiC,MAAS,MAASe,UACjDG,OAAYnD,EAAI+C,WAAW/C,EAAI0B,QAAS,QAASsB,UACjDI,UAAapD,EAAI+C,WAAW/C,EAAI0B,QAAS,MAASsB,UAClDK,UAAWrD,EAAI+C,WAAW/C,EAAI0B,QAAS,MAASsB,WAEpDM,WACIC,IAA+B5D,EAAEM,eAAeqD,UAAU,MAC1DE,UAAyB7D,EAAEM,eAAeqD,UAAU,kBACpDG,SAAyB9D,EAAEM,eAAeqD,UAAU,QACpDI,YAAkB/D,EAAEM,eAAeqD,UAAU,eAC7CK,YAAgBhE,EAAEM,eAAeqD,UAAU,qBCqBpDM,KAAKC","file":"pivot.jp.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n jpFmt = nf(thousandsSep: \",\", decimalSep: \".\")\n jaFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \",\", decimalSep: \".\")\n jaFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \",\", decimalSep: \".\")\n\n $.pivotUtilities.locales.ja =\n localeStrings:\n renderError: \"描画処理でエラーが発生しました。\"\n computeError: \"処理中にエラーが発生しました。\"\n uiRenderError: \"表示処理中にエラーが発生しました。\"\n selectAll: \"全選択\"\n selectNone: \"選択解除\"\n tooMany: \"項目が多すぎます\"\n filterResults: \"項目を検索する\"\n totals: \"合計\"\n vs: \"vs\"\n by: \"per\"\n apply: \"適用する\"\n cancel: \"キャンセル\"\n\n aggregators:\n \"件数\": tpl.count(jpFmtInt)\n \"件数(ユニーク)\": tpl.countUnique(jpFmtInt)\n \"ユニーク値を表示 (CSV)\": tpl.listUnique(\", \")\n \"合計\": tpl.sum(jpFmt)\n \"合計(整数)\": tpl.sum(jpFmtInt)\n \"平均\": tpl.average(jpFmt)\n \"最小\": tpl.min(jpFmt)\n \"最大\": tpl.max(jpFmt)\n \"選択2項目の比率\": tpl.sumOverSum(jpFmt)\n \"選択2項目の比率(上限80%)\": tpl.sumOverSumBound80(true, jpFmt)\n \"選択2項目の比率(下限80%)\": tpl.sumOverSumBound80(false, jpFmt)\n \"合計割合\": tpl.fractionOf(tpl.sum(), \"total\", jpFmtPct)\n \"合計割合(行)\": tpl.fractionOf(tpl.sum(), \"row\", jpFmtPct)\n \"合計割合(列)\": tpl.fractionOf(tpl.sum(), \"col\", jpFmtPct)\n \"件数割合\": tpl.fractionOf(tpl.count(), \"total\", jpFmtPct)\n \"件数割合(行)\": tpl.fractionOf(tpl.count(), \"row\", jpFmtPct)\n \"件数割合(列)\": tpl.fractionOf(tpl.count(), \"col\", jpFmtPct)\n\n renderers:\n \"表\": $.pivotUtilities.renderers[\"Table\"]\n \"表(棒グラフ)\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"ヒートマップ\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"ヒートマップ(行)\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"ヒートマップ(列)\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var jaFmtInt, jaFmtPct, jpFmt, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n jpFmt = nf({\n thousandsSep: \",\",\n decimalSep: \".\"\n });\n jaFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \",\",\n decimalSep: \".\"\n });\n jaFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \",\",\n decimalSep: \".\"\n });\n return $.pivotUtilities.locales.ja = {\n localeStrings: {\n renderError: \"描画処理でエラーが発生しました。\",\n computeError: \"処理中にエラーが発生しました。\",\n uiRenderError: \"表示処理中にエラーが発生しました。\",\n selectAll: \"全選択\",\n selectNone: \"選択解除\",\n tooMany: \"項目が多すぎます\",\n filterResults: \"項目を検索する\",\n totals: \"合計\",\n vs: \"vs\",\n by: \"per\",\n apply: \"適用する\",\n cancel: \"キャンセル\"\n },\n aggregators: {\n \"件数\": tpl.count(jpFmtInt),\n \"件数(ユニーク)\": tpl.countUnique(jpFmtInt),\n \"ユニーク値を表示 (CSV)\": tpl.listUnique(\", \"),\n \"合計\": tpl.sum(jpFmt),\n \"合計(整数)\": tpl.sum(jpFmtInt),\n \"平均\": tpl.average(jpFmt),\n \"最小\": tpl.min(jpFmt),\n \"最大\": tpl.max(jpFmt),\n \"選択2項目の比率\": tpl.sumOverSum(jpFmt),\n \"選択2項目の比率(上限80%)\": tpl.sumOverSumBound80(true, jpFmt),\n \"選択2項目の比率(下限80%)\": tpl.sumOverSumBound80(false, jpFmt),\n \"合計割合\": tpl.fractionOf(tpl.sum(), \"total\", jpFmtPct),\n \"合計割合(行)\": tpl.fractionOf(tpl.sum(), \"row\", jpFmtPct),\n \"合計割合(列)\": tpl.fractionOf(tpl.sum(), \"col\", jpFmtPct),\n \"件数割合\": tpl.fractionOf(tpl.count(), \"total\", jpFmtPct),\n \"件数割合(行)\": tpl.fractionOf(tpl.count(), \"row\", jpFmtPct),\n \"件数割合(列)\": tpl.fractionOf(tpl.count(), \"col\", jpFmtPct)\n },\n renderers: {\n \"表\": $.pivotUtilities.renderers[\"Table\"],\n \"表(棒グラフ)\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"ヒートマップ\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"ヒートマップ(行)\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"ヒートマップ(列)\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.jp.js.map\n"]}
\ No newline at end of file
.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}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var frFmt, frFmtInt, frFmtPct, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
frFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.nl = {
localeStrings: {
renderError: "Er is een fout opgetreden bij het renderen van de kruistabel.",
computeError: "Er is een fout opgetreden bij het berekenen van de kruistabel.",
uiRenderError: "Er is een fout opgetreden bij het tekenen van de interface van de kruistabel.",
selectAll: "Alles selecteren",
selectNone: "Niets selecteren",
tooMany: "(te veel waarden om weer te geven)",
filterResults: "Filter resultaten",
totals: "Totaal",
vs: "versus",
by: "per"
},
aggregators: {
"Aantal": tpl.count(frFmtInt),
"Aantal unieke waarden": tpl.countUnique(frFmtInt),
"Lijst unieke waarden": tpl.listUnique(", "),
"Som": tpl.sum(frFmt),
"Som van gehele getallen": tpl.sum(frFmtInt),
"Gemiddelde": tpl.average(frFmt),
"Minimum": tpl.min(frFmt),
"Maximum": tpl.max(frFmt),
"Som over som": tpl.sumOverSum(frFmt),
"80% bovengrens": tpl.sumOverSumBound80(true, frFmt),
"80% ondergrens": tpl.sumOverSumBound80(false, frFmt),
"Som in verhouding tot het totaal": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Som in verhouding tot de rij": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Som in verhouding tot de kolom": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Aantal in verhouding tot het totaal": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Aantal in verhouding tot de rij": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Aantal in verhouding tot de kolom": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Tabel": $.pivotUtilities.renderers["Table"],
"Tabel met staafdiagrammen": $.pivotUtilities.renderers["Table Barchart"],
"Warmtekaart": $.pivotUtilities.renderers["Heatmap"],
"Warmtekaart per rij": $.pivotUtilities.renderers["Row Heatmap"],
"Warmtekaart per kolom": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.nl.js.map
{"version":3,"file":"pivot.nl.js","sources":["pivot.nl.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADC;KAAA,MAAA;aAID,WAAA,CAAY,MAAZ,EAJC;;EAHQ;;EASjB,cAAA,CAAe,SAAC,CAAD;AACX,QAAA;IAAA,EAAA,GAAK,CAAC,CAAC,cAAc,CAAC;IACtB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IAEvB,KAAA,GAAW,EAAA,CAAG;MAAA,YAAA,EAAc,GAAd;MAAmB,UAAA,EAAY,GAA/B;KAAH;IACX,QAAA,GAAW,EAAA,C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BAAJ,CAAsB,KAAtB,EAA6B,KAA7B,CAV/B;QAWA,kCAAA,EAAuC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,GAAJ,CAAA,CAAf,EAA4B,OAA5B,EAAqC,QAArC,CAXvC;QAYA,8BAAA,EAAuC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,GAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAZvC;QAaA,gCAAA,EAAuC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,GAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAbvC;QAcA,qCAAA,EAAuC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,OAA5B,EAAqC,QAArC,CAdvC;QAeA,iCAAA,EAAuC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAfvC;QAgBA,mCAAA,EAAuC,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAqC,QAArC,CAhBvC;OAbJ;MA+BA,SAAA,EACI;QAAA,OAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,OAAA,CAA9D;QACA,2BAAA,EAA2C,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,gBAAA,CADtE;QAEA,aAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,SAAA,CAF9D;QAGA,qBAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAH9D;QAIA,uBAAA,EAAmC,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJ9D;OAhCJ;;EATO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.nl = \n localeStrings:\n renderError: \"Er is een fout opgetreden bij het renderen van de kruistabel.\"\n computeError: \"Er is een fout opgetreden bij het berekenen van de kruistabel.\"\n uiRenderError: \"Er is een fout opgetreden bij het tekenen van de interface van de kruistabel.\"\n selectAll: \"Alles selecteren\"\n selectNone: \"Niets selecteren\"\n tooMany: \"(te veel waarden om weer te geven)\"\n filterResults: \"Filter resultaten\"\n totals: \"Totaal\"\n vs: \"versus\"\n by: \"per\"\n\n aggregators: \n \"Aantal\": tpl.count(frFmtInt)\n \"Aantal unieke waarden\": tpl.countUnique(frFmtInt)\n \"Lijst unieke waarden\": tpl.listUnique(\", \")\n \"Som\": tpl.sum(frFmt)\n \"Som van gehele getallen\": tpl.sum(frFmtInt)\n \"Gemiddelde\": tpl.average(frFmt)\n \"Minimum\": tpl.min(frFmt)\n \"Maximum\": tpl.max(frFmt)\n \"Som over som\": tpl.sumOverSum(frFmt)\n \"80% bovengrens\": tpl.sumOverSumBound80(true, frFmt)\n \"80% ondergrens\": \t\t\t tpl.sumOverSumBound80(false, frFmt)\n \"Som in verhouding tot het totaal\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Som in verhouding tot de rij\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Som in verhouding tot de kolom\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Aantal in verhouding tot het totaal\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Aantal in verhouding tot de rij\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Aantal in verhouding tot de kolom\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabel\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabel met staafdiagrammen\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Warmtekaart\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Warmtekaart per rij\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Warmtekaart per kolom\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t,r,i,n,o;return n=e.pivotUtilities.numberFormat,o=e.pivotUtilities.aggregatorTemplates,t=n({thousandsSep:" ",decimalSep:","}),r=n({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),i=n({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.nl={localeStrings:{renderError:"Er is een fout opgetreden bij het renderen van de kruistabel.",computeError:"Er is een fout opgetreden bij het berekenen van de kruistabel.",uiRenderError:"Er is een fout opgetreden bij het tekenen van de interface van de kruistabel.",selectAll:"Alles selecteren",selectNone:"Niets selecteren",tooMany:"(te veel waarden om weer te geven)",filterResults:"Filter resultaten",totals:"Totaal",vs:"versus",by:"per"},aggregators:{Aantal:o.count(r),"Aantal unieke waarden":o.countUnique(r),"Lijst unieke waarden":o.listUnique(", "),Som:o.sum(t),"Som van gehele getallen":o.sum(r),Gemiddelde:o.average(t),Minimum:o.min(t),Maximum:o.max(t),"Som over som":o.sumOverSum(t),"80% bovengrens":o.sumOverSumBound80(!0,t),"80% ondergrens":o.sumOverSumBound80(!1,t),"Som in verhouding tot het totaal":o.fractionOf(o.sum(),"total",i),"Som in verhouding tot de rij":o.fractionOf(o.sum(),"row",i),"Som in verhouding tot de kolom":o.fractionOf(o.sum(),"col",i),"Aantal in verhouding tot het totaal":o.fractionOf(o.count(),"total",i),"Aantal in verhouding tot de rij":o.fractionOf(o.count(),"row",i),"Aantal in verhouding tot de kolom":o.fractionOf(o.count(),"col",i)},renderers:{Tabel:e.pivotUtilities.renderers.Table,"Tabel met staafdiagrammen":e.pivotUtilities.renderers["Table Barchart"],Warmtekaart:e.pivotUtilities.renderers.Heatmap,"Warmtekaart per rij":e.pivotUtilities.renderers["Row Heatmap"],"Warmtekaart per kolom":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.nl.min.js.map
{"version":3,"sources":["pivot.nl.coffee","pivot.nl.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","frFmt","frFmtInt","frFmtPct","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","nl","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","totals","vs","by","aggregators","Aantal","count","Aantal unieke waarden","countUnique","Lijst unieke waarden","listUnique","Som","sum","Som van gehele getallen","Gemiddelde","average","Minimum","min","Maximum","max","Som over som","sumOverSum","80% bovengrens","sumOverSumBound80","80% ondergrens","Som in verhouding tot het totaal","fractionOf","Som in verhouding tot de rij","Som in verhouding tot de kolom","Aantal in verhouding tot het totaal","Aantal in verhouding tot de rij","Aantal in verhouding tot de kolom","renderers","Tabel","Tabel met staafdiagrammen","Warmtekaart","Warmtekaart per rij","Warmtekaart per kolom","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GACZ,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,CCuBA,ODvBAD,GAAKJ,EAAEM,eAAeC,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AU,kBACtEG,YAAmC1D,EAAEM,eAAeiD,UAAU,QAC9DI,sBAAmC3D,EAAEM,eAAeiD,UAAU,eAC9DK,wBAAmC5D,EAAEM,eAAeiD,UAAU,qBCqBvEM,KAAKC","file":"pivot.nl.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.nl = \n localeStrings:\n renderError: \"Er is een fout opgetreden bij het renderen van de kruistabel.\"\n computeError: \"Er is een fout opgetreden bij het berekenen van de kruistabel.\"\n uiRenderError: \"Er is een fout opgetreden bij het tekenen van de interface van de kruistabel.\"\n selectAll: \"Alles selecteren\"\n selectNone: \"Niets selecteren\"\n tooMany: \"(te veel waarden om weer te geven)\"\n filterResults: \"Filter resultaten\"\n totals: \"Totaal\"\n vs: \"versus\"\n by: \"per\"\n\n aggregators: \n \"Aantal\": tpl.count(frFmtInt)\n \"Aantal unieke waarden\": tpl.countUnique(frFmtInt)\n \"Lijst unieke waarden\": tpl.listUnique(\", \")\n \"Som\": tpl.sum(frFmt)\n \"Som van gehele getallen\": tpl.sum(frFmtInt)\n \"Gemiddelde\": tpl.average(frFmt)\n \"Minimum\": tpl.min(frFmt)\n \"Maximum\": tpl.max(frFmt)\n \"Som over som\": tpl.sumOverSum(frFmt)\n \"80% bovengrens\": tpl.sumOverSumBound80(true, frFmt)\n \"80% ondergrens\": \t\t\t tpl.sumOverSumBound80(false, frFmt)\n \"Som in verhouding tot het totaal\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Som in verhouding tot de rij\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Som in verhouding tot de kolom\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Aantal in verhouding tot het totaal\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Aantal in verhouding tot de rij\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Aantal in verhouding tot de kolom\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabel\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabel met staafdiagrammen\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Warmtekaart\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Warmtekaart per rij\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Warmtekaart per kolom\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var frFmt, frFmtInt, frFmtPct, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n frFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.nl = {\n localeStrings: {\n renderError: \"Er is een fout opgetreden bij het renderen van de kruistabel.\",\n computeError: \"Er is een fout opgetreden bij het berekenen van de kruistabel.\",\n uiRenderError: \"Er is een fout opgetreden bij het tekenen van de interface van de kruistabel.\",\n selectAll: \"Alles selecteren\",\n selectNone: \"Niets selecteren\",\n tooMany: \"(te veel waarden om weer te geven)\",\n filterResults: \"Filter resultaten\",\n totals: \"Totaal\",\n vs: \"versus\",\n by: \"per\"\n },\n aggregators: {\n \"Aantal\": tpl.count(frFmtInt),\n \"Aantal unieke waarden\": tpl.countUnique(frFmtInt),\n \"Lijst unieke waarden\": tpl.listUnique(\", \"),\n \"Som\": tpl.sum(frFmt),\n \"Som van gehele getallen\": tpl.sum(frFmtInt),\n \"Gemiddelde\": tpl.average(frFmt),\n \"Minimum\": tpl.min(frFmt),\n \"Maximum\": tpl.max(frFmt),\n \"Som over som\": tpl.sumOverSum(frFmt),\n \"80% bovengrens\": tpl.sumOverSumBound80(true, frFmt),\n \"80% ondergrens\": tpl.sumOverSumBound80(false, frFmt),\n \"Som in verhouding tot het totaal\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Som in verhouding tot de rij\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Som in verhouding tot de kolom\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Aantal in verhouding tot het totaal\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Aantal in verhouding tot de rij\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Aantal in verhouding tot de kolom\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n },\n renderers: {\n \"Tabel\": $.pivotUtilities.renderers[\"Table\"],\n \"Tabel met staafdiagrammen\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Warmtekaart\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Warmtekaart per rij\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Warmtekaart per kolom\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.nl.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var nf, plFmt, plFmtInt, plFmtPct, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
plFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
plFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
plFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.pl = {
localeStrings: {
renderError: "Wystąpił błąd podczas renderowania wyników PivotTable.",
computeError: "Wystąpił błąd podczas obliczania wyników PivotTable.",
uiRenderError: "Wystąpił błąd podczas renderowania UI PivotTable.",
selectAll: "Zaznacz wszystko",
selectNone: "Odznacz wszystkie",
tooMany: "(za dużo do wylistowania)",
filterResults: "Filtruj wartości",
apply: "Zastosuj",
cancel: "Anuluj",
totals: "Podsumowanie",
vs: "vs",
by: "przez"
},
aggregators: {
"Liczba": tpl.count(plFmtInt),
"Liczba Unikatowych Wartości": tpl.countUnique(plFmtInt),
"Lista Unikatowych Wartości": tpl.listUnique(", "),
"Suma": tpl.sum(plFmt),
"Całkowita Suma": tpl.sum(plFmtInt),
"Średnia": tpl.average(plFmt),
"Minimum": tpl.min(plFmt),
"Maksimum": tpl.max(plFmt),
"Pierwszy": tpl.first(plFmt),
"Ostatni": tpl.last(plFmt),
"Suma po Sumie": tpl.sumOverSum(plFmt),
"80% Kres Dolny": tpl.sumOverSumBound80(true, plFmt),
"80% Kres Górny": tpl.sumOverSumBound80(false, plFmt),
"Suma jako Ułamek Całości": tpl.fractionOf(tpl.sum(), "total", plFmtPct),
"Suma jako Ułamek w Wierszach": tpl.fractionOf(tpl.sum(), "row", plFmtPct),
"Suma jako Ułamek w Kolumnach": tpl.fractionOf(tpl.sum(), "col", plFmtPct),
"Liczba jako Ułamek Całości": tpl.fractionOf(tpl.count(), "total", plFmtPct),
"Liczba jako Ułamek w Wierszach": tpl.fractionOf(tpl.count(), "row", plFmtPct),
"Liczba jako Ułamek w Kolumnach": tpl.fractionOf(tpl.count(), "col", plFmtPct)
},
renderers: {
"Tabela": $.pivotUtilities.renderers["Table"],
"Tabela z Wykresem Słupkowym": $.pivotUtilities.renderers["Table Barchart"],
"Mapa cieplna": $.pivotUtilities.renderers["Heatmap"],
"Mapa cieplna po Wierszach": $.pivotUtilities.renderers["Row Heatmap"],
"Mapa cieplna po Kolumnach": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.pl.js.map
{"version":3,"file":"pivot.pl.js","sources":["pivot.pl.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADC;KAAA,MAAA;aAID,WAAA,CAAY,MAAZ,EAJC;;EAHQ;;EASjB,cAAA,CAAe,SAAC,CAAD;AACX,QAAA;IAAA,EAAA,GAAK,CAAC,CAAC,cAAc,CAAC;IACtB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IAEvB,KAAA,GAAW,EAAA,CAAG;MAAA,YAAA,EAAc,GAAd;MAAmB,UAAA,EAAY,GAA/B;KAAH;IACX,QAAA,GAAW,EAAA,CAAG;MAAA,kBAAA,EAAoB,CAApB;MAAuB,YAAA,EAAc,GAArC;MAA0C,UAAA,EAAY,GAAtD;KAAH;IACX,QAAA,GAAW,EAAA,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" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n plFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n plFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n plFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.pl =\n localeStrings:\n renderError: \"Wystąpił błąd podczas renderowania wyników PivotTable.\"\n computeError: \"Wystąpił błąd podczas obliczania wyników PivotTable.\"\n uiRenderError: \"Wystąpił błąd podczas renderowania UI PivotTable.\"\n selectAll: \"Zaznacz wszystko\"\n selectNone: \"Odznacz wszystkie\"\n tooMany: \"(za dużo do wylistowania)\"\n filterResults: \"Filtruj wartości\"\n apply: \"Zastosuj\"\n cancel: \"Anuluj\"\n totals: \"Podsumowanie\"\n vs: \"vs\"\n by: \"przez\"\n\n aggregators: \n \"Liczba\": tpl.count(plFmtInt)\n \"Liczba Unikatowych Wartości\": tpl.countUnique(plFmtInt)\n \"Lista Unikatowych Wartości\": tpl.listUnique(\", \")\n \"Suma\": tpl.sum(plFmt)\n \"Całkowita Suma\": tpl.sum(plFmtInt)\n \"Średnia\": tpl.average(plFmt)\n \"Minimum\": tpl.min(plFmt)\n \"Maksimum\": tpl.max(plFmt)\n \"Pierwszy\": tpl.first(plFmt)\n \"Ostatni\": tpl.last(plFmt)\n \"Suma po Sumie\": tpl.sumOverSum(plFmt)\n \"80% Kres Dolny\": tpl.sumOverSumBound80(true, plFmt)\n \"80% Kres Górny\": tpl.sumOverSumBound80(false, plFmt)\n \"Suma jako Ułamek Całości\": tpl.fractionOf(tpl.sum(), \"total\", plFmtPct)\n \"Suma jako Ułamek w Wierszach\": tpl.fractionOf(tpl.sum(), \"row\", plFmtPct)\n \"Suma jako Ułamek w Kolumnach\": tpl.fractionOf(tpl.sum(), \"col\", plFmtPct)\n \"Liczba jako Ułamek Całości\": tpl.fractionOf(tpl.count(), \"total\", plFmtPct)\n \"Liczba jako Ułamek w Wierszach\": tpl.fractionOf(tpl.count(), \"row\", plFmtPct)\n \"Liczba jako Ułamek w Kolumnach\": tpl.fractionOf(tpl.count(), \"col\", plFmtPct)\n\n renderers:\n \"Tabela\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabela z Wykresem Słupkowym\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Mapa cieplna\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Mapa cieplna po Wierszach\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Mapa cieplna po Kolumnach\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var a,i,t,o,r;return a=e.pivotUtilities.numberFormat,r=e.pivotUtilities.aggregatorTemplates,i=a({thousandsSep:" ",decimalSep:","}),t=a({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),o=a({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.pl={localeStrings:{renderError:"Wystąpił błąd podczas renderowania wyników PivotTable.",computeError:"Wystąpił błąd podczas obliczania wyników PivotTable.",uiRenderError:"Wystąpił błąd podczas renderowania UI PivotTable.",selectAll:"Zaznacz wszystko",selectNone:"Odznacz wszystkie",tooMany:"(za dużo do wylistowania)",filterResults:"Filtruj wartości",apply:"Zastosuj",cancel:"Anuluj",totals:"Podsumowanie",vs:"vs",by:"przez"},aggregators:{Liczba:r.count(t),"Liczba Unikatowych Wartości":r.countUnique(t),"Lista Unikatowych Wartości":r.listUnique(", "),Suma:r.sum(i),"Całkowita Suma":r.sum(t),"Średnia":r.average(i),Minimum:r.min(i),Maksimum:r.max(i),Pierwszy:r.first(i),Ostatni:r.last(i),"Suma po Sumie":r.sumOverSum(i),"80% Kres Dolny":r.sumOverSumBound80(!0,i),"80% Kres Górny":r.sumOverSumBound80(!1,i),"Suma jako Ułamek Całości":r.fractionOf(r.sum(),"total",o),"Suma jako Ułamek w Wierszach":r.fractionOf(r.sum(),"row",o),"Suma jako Ułamek w Kolumnach":r.fractionOf(r.sum(),"col",o),"Liczba jako Ułamek Całości":r.fractionOf(r.count(),"total",o),"Liczba jako Ułamek w Wierszach":r.fractionOf(r.count(),"row",o),"Liczba jako Ułamek w Kolumnach":r.fractionOf(r.count(),"col",o)},renderers:{Tabela:e.pivotUtilities.renderers.Table,"Tabela z Wykresem Słupkowym":e.pivotUtilities.renderers["Table Barchart"],"Mapa cieplna":e.pivotUtilities.renderers.Heatmap,"Mapa cieplna po Wierszach":e.pivotUtilities.renderers["Row Heatmap"],"Mapa cieplna po Kolumnach":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.pl.min.js.map
{"version":3,"sources":["pivot.pl.coffee","pivot.pl.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","nf","plFmt","plFmtInt","plFmtPct","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","pl","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","apply","cancel","totals","vs","by","aggregators","Liczba","count","Liczba Unikatowych Wartości","countUnique","Lista Unikatowych Wartości","listUnique","Suma","sum","Całkowita Suma","Średnia","average","Minimum","min","Maksimum","max","Pierwszy","first","Ostatni","last","Suma po Sumie","sumOverSum","80% Kres Dolny","sumOverSumBound80","80% Kres Górny","Suma jako Ułamek Całości","fractionOf","Suma jako Ułamek w Wierszach","Suma jako Ułamek w Kolumnach","Liczba jako Ułamek Całości","Liczba jako Ułamek w Wierszach","Liczba jako Ułamek w Kolumnach","renderers","Tabela","Tabela z Wykresem Słupkowym","Mapa cieplna","Mapa cieplna po Wierszach","Mapa cieplna po Kolumnach","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GACZ,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,CCuBA,ODvBAJ,GAAKD,EAAEM,eAAeC,aACtBF,EAAML,EAAEM,eAAeE,oBAEvBN,EAAWD,GAAGQ,aAAc,IAAKC,WAAY,MAC7CP,EAAWF,GAAGU,mBAAoB,EAAGF,aAAc,IAAKC,WAAY,MACpEN,EAAWH,GAAGU,mBAAoB,EAAGC,OAAQ,IAAKC,OAAQ,IAAKJ,aAAc,IAAKC,WAAY,MAE9FV,EAAEM,eAAeQ,QAAQC,IACrBC,eACIC,YAAa,yDACbC,aAAc,uDACdC,cAAe,oDACfC,UAAW,mBACXC,WAAY,oBACZC,QAAS,4BACTC,cAAe,mBACfC,MAAO,WACPC,OAAQ,SACRC,OAAQ,eACRC,GAAI,KACJC,GAAI,SAERC,aACIC,OAAgCzB,EAAI0B,MAAM5B,GAC1C6B,8BAAgC3B,EAAI4B,YAAY9B,GAChD+B,6BAAgC7B,EAAI8B,WAAW,MAC/CC,KAAgC/B,EAAIgC,IAAInC,GACxCoC,iBAAgCjC,EAAIgC,IAAIlC,GACxCoC,UAAgClC,EAAImC,QAAQtC,GAC5CuC,QAAgCpC,EAAIqC,IAAIxC,GACxCyC,SAAgCtC,EAAIuC,IAAI1C,GACxC2C,SAAgCxC,EAAIyC,MAAM5C,GAC1C6C,QAAgC1C,EAAI2C,KAAK9C,GACzC+C,gBAAgC5C,EAAI6C,WAAWhD,GAC/CiD,iBAAgC9C,EAAI+C,mBAAkB,EAAMlD,GAC5DmD,iBAAgChD,EAAI+C,mBAAkB,EAAOlD,GAC7DoD,2BAAgCjD,EAAIkD,WAAWlD,EAAIgC,MAAa,QAASjC,GACzEoD,+BAAoCnD,EAAIkD,WAAWlD,EAAIgC,MAAS,MAASjC,GACzEqD,+BAAoCpD,EAAIkD,WAAWlD,EAAIgC,MAAS,MAASjC,GACzEsD,6BAAoCrD,EAAIkD,WAAWlD,EAAI0B,QAAS,QAAS3B,GACzEuD,iCAAoCtD,EAAIkD,WAAWlD,EAAI0B,QAAS,MAAS3B,GACzEwD,iCAAoCvD,EAAIkD,WAAWlD,EAAI0B,QAAS,MAAS3B,IAE7EyD,WACIC,OAAgC9D,EAAEM,eAAeuD,UAAU,MAC3DE,8BAAgC/D,EAAEM,eAAeuD,UAAU,kBAC3DG,eAAgChE,EAAEM,eAAeuD,UAAU,QAC3DI,4BAAgCjE,EAAEM,eAAeuD,UAAU,eAC3DK,4BAAgClE,EAAEM,eAAeuD,UAAU,qBCqBpEM,KAAKC","file":"pivot.pl.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n plFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n plFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n plFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.pl =\n localeStrings:\n renderError: \"Wystąpił błąd podczas renderowania wyników PivotTable.\"\n computeError: \"Wystąpił błąd podczas obliczania wyników PivotTable.\"\n uiRenderError: \"Wystąpił błąd podczas renderowania UI PivotTable.\"\n selectAll: \"Zaznacz wszystko\"\n selectNone: \"Odznacz wszystkie\"\n tooMany: \"(za dużo do wylistowania)\"\n filterResults: \"Filtruj wartości\"\n apply: \"Zastosuj\"\n cancel: \"Anuluj\"\n totals: \"Podsumowanie\"\n vs: \"vs\"\n by: \"przez\"\n\n aggregators: \n \"Liczba\": tpl.count(plFmtInt)\n \"Liczba Unikatowych Wartości\": tpl.countUnique(plFmtInt)\n \"Lista Unikatowych Wartości\": tpl.listUnique(\", \")\n \"Suma\": tpl.sum(plFmt)\n \"Całkowita Suma\": tpl.sum(plFmtInt)\n \"Średnia\": tpl.average(plFmt)\n \"Minimum\": tpl.min(plFmt)\n \"Maksimum\": tpl.max(plFmt)\n \"Pierwszy\": tpl.first(plFmt)\n \"Ostatni\": tpl.last(plFmt)\n \"Suma po Sumie\": tpl.sumOverSum(plFmt)\n \"80% Kres Dolny\": tpl.sumOverSumBound80(true, plFmt)\n \"80% Kres Górny\": tpl.sumOverSumBound80(false, plFmt)\n \"Suma jako Ułamek Całości\": tpl.fractionOf(tpl.sum(), \"total\", plFmtPct)\n \"Suma jako Ułamek w Wierszach\": tpl.fractionOf(tpl.sum(), \"row\", plFmtPct)\n \"Suma jako Ułamek w Kolumnach\": tpl.fractionOf(tpl.sum(), \"col\", plFmtPct)\n \"Liczba jako Ułamek Całości\": tpl.fractionOf(tpl.count(), \"total\", plFmtPct)\n \"Liczba jako Ułamek w Wierszach\": tpl.fractionOf(tpl.count(), \"row\", plFmtPct)\n \"Liczba jako Ułamek w Kolumnach\": tpl.fractionOf(tpl.count(), \"col\", plFmtPct)\n\n renderers:\n \"Tabela\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabela z Wykresem Słupkowym\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Mapa cieplna\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Mapa cieplna po Wierszach\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Mapa cieplna po Kolumnach\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var nf, plFmt, plFmtInt, plFmtPct, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n plFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n plFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n plFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.pl = {\n localeStrings: {\n renderError: \"Wystąpił błąd podczas renderowania wyników PivotTable.\",\n computeError: \"Wystąpił błąd podczas obliczania wyników PivotTable.\",\n uiRenderError: \"Wystąpił błąd podczas renderowania UI PivotTable.\",\n selectAll: \"Zaznacz wszystko\",\n selectNone: \"Odznacz wszystkie\",\n tooMany: \"(za dużo do wylistowania)\",\n filterResults: \"Filtruj wartości\",\n apply: \"Zastosuj\",\n cancel: \"Anuluj\",\n totals: \"Podsumowanie\",\n vs: \"vs\",\n by: \"przez\"\n },\n aggregators: {\n \"Liczba\": tpl.count(plFmtInt),\n \"Liczba Unikatowych Wartości\": tpl.countUnique(plFmtInt),\n \"Lista Unikatowych Wartości\": tpl.listUnique(\", \"),\n \"Suma\": tpl.sum(plFmt),\n \"Całkowita Suma\": tpl.sum(plFmtInt),\n \"Średnia\": tpl.average(plFmt),\n \"Minimum\": tpl.min(plFmt),\n \"Maksimum\": tpl.max(plFmt),\n \"Pierwszy\": tpl.first(plFmt),\n \"Ostatni\": tpl.last(plFmt),\n \"Suma po Sumie\": tpl.sumOverSum(plFmt),\n \"80% Kres Dolny\": tpl.sumOverSumBound80(true, plFmt),\n \"80% Kres Górny\": tpl.sumOverSumBound80(false, plFmt),\n \"Suma jako Ułamek Całości\": tpl.fractionOf(tpl.sum(), \"total\", plFmtPct),\n \"Suma jako Ułamek w Wierszach\": tpl.fractionOf(tpl.sum(), \"row\", plFmtPct),\n \"Suma jako Ułamek w Kolumnach\": tpl.fractionOf(tpl.sum(), \"col\", plFmtPct),\n \"Liczba jako Ułamek Całości\": tpl.fractionOf(tpl.count(), \"total\", plFmtPct),\n \"Liczba jako Ułamek w Wierszach\": tpl.fractionOf(tpl.count(), \"row\", plFmtPct),\n \"Liczba jako Ułamek w Kolumnach\": tpl.fractionOf(tpl.count(), \"col\", plFmtPct)\n },\n renderers: {\n \"Tabela\": $.pivotUtilities.renderers[\"Table\"],\n \"Tabela z Wykresem Słupkowym\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Mapa cieplna\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Mapa cieplna po Wierszach\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Mapa cieplna po Kolumnach\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.pl.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var c3r, d3r, frFmt, frFmtInt, frFmtPct, gcr, nf, r, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
r = $.pivotUtilities.renderers;
gcr = $.pivotUtilities.gchart_renderers;
d3r = $.pivotUtilities.d3_renderers;
c3r = $.pivotUtilities.c3_renderers;
frFmt = nf({
thousandsSep: ".",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: ".",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 2,
scaler: 100,
suffix: "%",
thousandsSep: ".",
decimalSep: ","
});
$.pivotUtilities.locales.pt = {
localeStrings: {
renderError: "Ocorreu um error ao renderizar os resultados da Tabela Dinâmica.",
computeError: "Ocorreu um error ao computar os resultados da Tabela Dinâmica.",
uiRenderError: "Ocorreu um error ao renderizar a interface da Tabela Dinâmica.",
selectAll: "Selecionar Tudo",
selectNone: "Selecionar Nenhum",
tooMany: "(demais para listar)",
filterResults: "Filtrar resultados",
totals: "Totais",
apply: "Aplicar",
cancel: "Cancelar",
vs: "vs",
by: "por"
},
aggregators: {
"Contagem": tpl.count(frFmtInt),
"Contagem de Valores únicos": tpl.countUnique(frFmtInt),
"Lista de Valores únicos": tpl.listUnique(", "),
"Soma": tpl.sum(frFmt),
"Soma de Inteiros": tpl.sum(frFmtInt),
"Média": tpl.average(frFmt),
"Mínimo": tpl.min(frFmt),
"Máximo": tpl.max(frFmt),
"Primeiro": tpl.first(frFmt),
"Último": tpl.last(frFmt),
"Soma sobre Soma": tpl.sumOverSum(frFmt),
"Limite Superior a 80%": tpl.sumOverSumBound80(true, frFmt),
"Limite Inferior a 80%": tpl.sumOverSumBound80(false, frFmt),
"Soma como Fração do Total": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Soma como Fração da Linha": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Soma como Fração da Coluna": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Contagem como Fração do Total": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Contagem como Fração da Linha": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Contagem como Fração da Coluna": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Tabela": r["Table"],
"Tabela com Barras": r["Table Barchart"],
"Mapa de Calor": r["Heatmap"],
"Mapa de Calor por Linhas": r["Row Heatmap"],
"Mapa de Calor por Colunas": r["Col Heatmap"]
}
};
if (gcr) {
$.pivotUtilities.locales.pt.gchart_renderers = {
"Gráfico de Linhas": gcr["Line Chart"],
"Gráfico de Barras": gcr["Bar Chart"],
"Gráfico de Barras Empilhadas": gcr["Stacked Bar Chart"],
"Gráfico de Área": gcr["Area Chart"]
};
}
if (d3r) {
$.pivotUtilities.locales.pt.d3_renderers = {
"Mapa de Árvore": d3r["Treemap"]
};
}
if (c3r) {
$.pivotUtilities.locales.pt.c3_renderers = {
"Gráfico de Linhas": c3r["Line Chart"],
"Gráfico de Barras": c3r["Bar Chart"],
"Gráfico de Barras Empilhadas": c3r["Stacked Bar Chart"],
"Gráfico de Área": c3r["Area Chart"]
};
}
return $.pivotUtilities.locales.pt;
});
}).call(this);
//# sourceMappingURL=pivot.pt.js.map
{"version":3,"file":"pivot.pt.js","sources":["pivot.pt.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADC;KAAA,MAAA;aAID,WAAA,CAAY,MAAZ,EAJC;;EAHQ;;EASjB,cAAA,CAAe,SAAC,CAAD;AACX,QAAA;IAAA,EAAA,GAAK,CAAC,CAAC,cAAc,CAAC;IACtB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IACvB,CAAA,GAAI,CAAC,CAAC,cAAc,CAAC;IACrB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IACvB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IACvB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IAEvB,KAAA,GAAW,EAAA,CAAG;MAAA,YAAA,EAAc,GAAd;MAAmB,UAAA,EAAY,GAA/B;KAAH;IACX,QAAA,GAAW,EAAA,CAAG;MAAA,kBAAA,EA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C,GAAI,CAAA,YAAA,CAApC;QACA,mBAAA,EAAgC,GAAI,CAAA,WAAA,CADpC;QAEA,8BAAA,EAAgC,GAAI,CAAA,mBAAA,CAFpC;QAGA,iBAAA,EAAyB,GAAI,CAAA,YAAA,CAH7B;QAFR;;IAOA,IAAG,GAAH;MACI,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,YAA5B,GACI;QAAA,gBAAA,EAAkB,GAAI,CAAA,SAAA,CAAtB;QAFR;;IAIA,IAAG,GAAH;MACE,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,YAA5B,GACE;QAAA,mBAAA,EAAqB,GAAI,CAAA,YAAA,CAAzB;QACA,mBAAA,EAAqB,GAAI,CAAA,WAAA,CADzB;QAEA,8BAAA,EAAgC,GAAI,CAAA,mBAAA,CAFpC;QAGA,iBAAA,EAAyB,GAAI,CAAA,YAAA,CAH7B;QAFJ;;AAOA,WAAO,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC;EA1ErB,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n r = $.pivotUtilities.renderers\n gcr = $.pivotUtilities.gchart_renderers\n d3r = $.pivotUtilities.d3_renderers\n c3r = $.pivotUtilities.c3_renderers\n\n frFmt = nf(thousandsSep: \".\", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \".\", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 2, scaler: 100, suffix: \"%\", thousandsSep: \".\", decimalSep: \",\")\n\n $.pivotUtilities.locales.pt = \n\n localeStrings:\n renderError: \"Ocorreu um error ao renderizar os resultados da Tabela Dinâmica.\"\n computeError: \"Ocorreu um error ao computar os resultados da Tabela Dinâmica.\"\n uiRenderError: \"Ocorreu um error ao renderizar a interface da Tabela Dinâmica.\"\n selectAll: \"Selecionar Tudo\"\n selectNone: \"Selecionar Nenhum\"\n tooMany: \"(demais para listar)\"\n filterResults: \"Filtrar resultados\"\n totals: \"Totais\"\n apply:\"Aplicar\",\n cancel: \"Cancelar\",\n vs: \"vs\"\n by: \"por\"\n\n aggregators:\n \"Contagem\": tpl.count(frFmtInt)\n \"Contagem de Valores únicos\": tpl.countUnique(frFmtInt)\n \"Lista de Valores únicos\": tpl.listUnique(\", \")\n \"Soma\": tpl.sum(frFmt)\n \"Soma de Inteiros\": tpl.sum(frFmtInt)\n \"Média\": tpl.average(frFmt)\n \"Mínimo\": tpl.min(frFmt)\n \"Máximo\": tpl.max(frFmt)\n \"Primeiro\": tpl.first(frFmt),\n \"Último\": tpl.last(frFmt),\n \"Soma sobre Soma\": tpl.sumOverSum(frFmt)\n \"Limite Superior a 80%\": tpl.sumOverSumBound80(true, frFmt)\n \"Limite Inferior a 80%\": tpl.sumOverSumBound80(false, frFmt)\n \"Soma como Fração do Total\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Soma como Fração da Linha\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Soma como Fração da Coluna\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Contagem como Fração do Total\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Contagem como Fração da Linha\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Contagem como Fração da Coluna\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tabela\": r[\"Table\"]\n \"Tabela com Barras\": r[\"Table Barchart\"]\n \"Mapa de Calor\": r[\"Heatmap\"]\n \"Mapa de Calor por Linhas\": r[\"Row Heatmap\"]\n \"Mapa de Calor por Colunas\": r[\"Col Heatmap\"]\n\n if gcr\n $.pivotUtilities.locales.pt.gchart_renderers =\n \"Gráfico de Linhas\": gcr[\"Line Chart\"]\n \"Gráfico de Barras\": gcr[\"Bar Chart\"]\n \"Gráfico de Barras Empilhadas\": gcr[\"Stacked Bar Chart\"]\n \"Gráfico de Área\": gcr[\"Area Chart\"]\n\n if d3r\n $.pivotUtilities.locales.pt.d3_renderers =\n \"Mapa de Árvore\": d3r[\"Treemap\"]\n\n if c3r\n $.pivotUtilities.locales.pt.c3_renderers =\n \"Gráfico de Linhas\": c3r[\"Line Chart\"]\n \"Gráfico de Barras\": c3r[\"Bar Chart\"]\n \"Gráfico de Barras Empilhadas\": c3r[\"Stacked Bar Chart\"]\n \"Gráfico de Área\": c3r[\"Area Chart\"]\n\n return $.pivotUtilities.locales.pt\n"]}
\ No newline at end of file
(function(){var a;(a=function(a){return"object"==typeof exports&&"object"==typeof module?a(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)})(function(a){var e,r,o,i,t,s,l,n,c;return l=a.pivotUtilities.numberFormat,c=a.pivotUtilities.aggregatorTemplates,n=a.pivotUtilities.renderers,s=a.pivotUtilities.gchart_renderers,r=a.pivotUtilities.d3_renderers,e=a.pivotUtilities.c3_renderers,o=l({thousandsSep:".",decimalSep:","}),i=l({digitsAfterDecimal:0,thousandsSep:".",decimalSep:","}),t=l({digitsAfterDecimal:2,scaler:100,suffix:"%",thousandsSep:".",decimalSep:","}),a.pivotUtilities.locales.pt={localeStrings:{renderError:"Ocorreu um error ao renderizar os resultados da Tabela Dinâmica.",computeError:"Ocorreu um error ao computar os resultados da Tabela Dinâmica.",uiRenderError:"Ocorreu um error ao renderizar a interface da Tabela Dinâmica.",selectAll:"Selecionar Tudo",selectNone:"Selecionar Nenhum",tooMany:"(demais para listar)",filterResults:"Filtrar resultados",totals:"Totais",apply:"Aplicar",cancel:"Cancelar",vs:"vs",by:"por"},aggregators:{Contagem:c.count(i),"Contagem de Valores únicos":c.countUnique(i),"Lista de Valores únicos":c.listUnique(", "),Soma:c.sum(o),"Soma de Inteiros":c.sum(i),"Média":c.average(o),"Mínimo":c.min(o),"Máximo":c.max(o),Primeiro:c.first(o),"Último":c.last(o),"Soma sobre Soma":c.sumOverSum(o),"Limite Superior a 80%":c.sumOverSumBound80(!0,o),"Limite Inferior a 80%":c.sumOverSumBound80(!1,o),"Soma como Fração do Total":c.fractionOf(c.sum(),"total",t),"Soma como Fração da Linha":c.fractionOf(c.sum(),"row",t),"Soma como Fração da Coluna":c.fractionOf(c.sum(),"col",t),"Contagem como Fração do Total":c.fractionOf(c.count(),"total",t),"Contagem como Fração da Linha":c.fractionOf(c.count(),"row",t),"Contagem como Fração da Coluna":c.fractionOf(c.count(),"col",t)},renderers:{Tabela:n.Table,"Tabela com Barras":n["Table Barchart"],"Mapa de Calor":n.Heatmap,"Mapa de Calor por Linhas":n["Row Heatmap"],"Mapa de Calor por Colunas":n["Col Heatmap"]}},s&&(a.pivotUtilities.locales.pt.gchart_renderers={"Gráfico de Linhas":s["Line Chart"],"Gráfico de Barras":s["Bar Chart"],"Gráfico de Barras Empilhadas":s["Stacked Bar Chart"],"Gráfico de Área":s["Area Chart"]}),r&&(a.pivotUtilities.locales.pt.d3_renderers={"Mapa de Árvore":r.Treemap}),e&&(a.pivotUtilities.locales.pt.c3_renderers={"Gráfico de Linhas":e["Line Chart"],"Gráfico de Barras":e["Bar Chart"],"Gráfico de Barras Empilhadas":e["Stacked Bar Chart"],"Gráfico de Área":e["Area Chart"]}),a.pivotUtilities.locales.pt})}).call(this);
//# sourceMappingURL=pivot.pt.min.js.map
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var frFmt, frFmtInt, frFmtPct, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
frFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.ru = {
localeStrings: {
renderError: "Ошибка рендеринга страницы.",
computeError: "Ошибка табличных расчетов.",
uiRenderError: "Ошибка во время прорисовки и динамического расчета таблицы.",
selectAll: "Выбрать все",
selectNone: "Снять выделение",
tooMany: "(Выбрано слишком много значений)",
filterResults: "Возможные значения",
totals: "Всего",
vs: "на",
by: "с"
},
aggregators: {
"Кол-во": tpl.count(frFmtInt),
"Кол-во уникальных": tpl.countUnique(frFmtInt),
"Список уникальных": tpl.listUnique(", "),
"Сумма": tpl.sum(frFmt),
"Сумма целых": tpl.sum(frFmtInt),
"Среднее": tpl.average(frFmt),
"Минимум": tpl.min(frFmt),
"Максимум": tpl.max(frFmt),
"Сумма по сумме": tpl.sumOverSum(frFmt),
"80% верхней границы": tpl.sumOverSumBound80(true, frFmt),
"80% нижней границы": tpl.sumOverSumBound80(false, frFmt),
"Доля по всему": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Доля по строке": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Доля по столбцу": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Кол-во по всему": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Кол-во по строке": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Кол-во по столбцу": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Таблица": $.pivotUtilities.renderers["Table"],
"График столбцы": $.pivotUtilities.renderers["Table Barchart"],
"Тепловая карта": $.pivotUtilities.renderers["Heatmap"],
"Тепловая карта по строке": $.pivotUtilities.renderers["Row Heatmap"],
"Тепловая карта по столбцу": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.ru.js.map
{"version":3,"file":"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A,EAAqB,GAAG,CAAC,UAAJ,CAAe,GAAG,CAAC,KAAJ,CAAA,CAAf,EAA4B,KAA5B,EAAmC,QAAnC,CAhBrB;OAbJ;MA+BA,SAAA,EACI;QAAA,SAAA,EAAW,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,OAAA,CAAtC;QACA,gBAAA,EAAkB,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,gBAAA,CAD7C;QAEA,gBAAA,EAAkB,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,SAAA,CAF7C;QAGA,0BAAA,EAA4B,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAHvD;QAIA,2BAAA,EAA6B,CAAC,CAAC,cAAc,CAAC,SAAU,CAAA,aAAA,CAJxD;OAhCJ;;EATO,CAAf;AATA","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.ru = \n localeStrings:\n renderError: \"Ошибка рендеринга страницы.\",\n computeError: \"Ошибка табличных расчетов.\",\n uiRenderError: \"Ошибка во время прорисовки и динамического расчета таблицы.\",\n selectAll: \"Выбрать все\",\n selectNone: \"Снять выделение\",\n tooMany: \"(Выбрано слишком много значений)\",\n filterResults: \"Возможные значения\",\n totals: \"Всего\",\n vs: \"на\",\n by: \"с\"\n\n aggregators: \n \"Кол-во\": tpl.count(frFmtInt),\n \"Кол-во уникальных\": tpl.countUnique(frFmtInt),\n \"Список уникальных\": tpl.listUnique(\", \"),\n \"Сумма\": tpl.sum(frFmt),\n \"Сумма целых\": tpl.sum(frFmtInt),\n \"Среднее\": tpl.average(frFmt),\n \"Минимум\": tpl.min(frFmt),\n \"Максимум\": tpl.max(frFmt),\n \"Сумма по сумме\": tpl.sumOverSum(frFmt),\n \"80% верхней границы\": tpl.sumOverSumBound80(true, frFmt),\n \"80% нижней границы\": tpl.sumOverSumBound80(false, frFmt),\n \"Доля по всему\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Доля по строке\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Доля по столбцу\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Кол-во по всему\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Кол-во по строке\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Кол-во по столбцу\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Таблица\": $.pivotUtilities.renderers[\"Table\"]\n \"График столбцы\": $.pivotUtilities.renderers[\"Table Barchart\"] # TODO придумать более понятный вариант\n \"Тепловая карта\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Тепловая карта по строке\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Тепловая карта по столбцу\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t,r,i,o,s;return o=e.pivotUtilities.numberFormat,s=e.pivotUtilities.aggregatorTemplates,t=o({thousandsSep:" ",decimalSep:","}),r=o({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),i=o({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.ru={localeStrings:{renderError:"Ошибка рендеринга страницы.",computeError:"Ошибка табличных расчетов.",uiRenderError:"Ошибка во время прорисовки и динамического расчета таблицы.",selectAll:"Выбрать все",selectNone:"Снять выделение",tooMany:"(Выбрано слишком много значений)",filterResults:"Возможные значения",totals:"Всего",vs:"на",by:"с"},aggregators:{"Кол-во":s.count(r),"Кол-во уникальных":s.countUnique(r),"Список уникальных":s.listUnique(", "),"Сумма":s.sum(t),"Сумма целых":s.sum(r),"Среднее":s.average(t),"Минимум":s.min(t),"Максимум":s.max(t),"Сумма по сумме":s.sumOverSum(t),"80% верхней границы":s.sumOverSumBound80(!0,t),"80% нижней границы":s.sumOverSumBound80(!1,t),"Доля по всему":s.fractionOf(s.sum(),"total",i),"Доля по строке":s.fractionOf(s.sum(),"row",i),"Доля по столбцу":s.fractionOf(s.sum(),"col",i),"Кол-во по всему":s.fractionOf(s.count(),"total",i),"Кол-во по строке":s.fractionOf(s.count(),"row",i),"Кол-во по столбцу":s.fractionOf(s.count(),"col",i)},renderers:{"Таблица":e.pivotUtilities.renderers.Table,"График столбцы":e.pivotUtilities.renderers["Table Barchart"],"Тепловая карта":e.pivotUtilities.renderers.Heatmap,"Тепловая карта по строке":e.pivotUtilities.renderers["Row Heatmap"],"Тепловая карта по столбцу":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.ru.min.js.map
{"version":3,"sources":["pivot.ru.coffee","pivot.ru.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","frFmt","frFmtInt","frFmtPct","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","ru","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","totals","vs","by","aggregators","Кол-во","count","Кол-во уникальных","countUnique","Список уникальных","listUnique","Сумма","sum","Сумма целых","Среднее","average","Минимум","min","Максимум","max","Сумма по сумме","sumOverSum","80% верхней границы","sumOverSumBound80","80% нижней границы","Доля по всему","fractionOf","Доля по строке","Доля по столбцу","Кол-во по всему","Кол-во по строке","Кол-во по столбцу","renderers","Таблица","График столбцы","Тепловая карта","Тепловая карта по строке","Тепловая карта по столбцу","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC,gBAAVC,QACrCF,EAAYG,QAAQ,WACC,kBAAVC,SAAyBA,OAAOC,IAC3CD,QAAQ,UAAWJ,GAGnBA,EAAYM,UAEL,SAACC,GACZ,GAAAC,GAAAC,EAAAC,EAAAC,EAAAC,CCuBA,ODvBAD,GAAKJ,EAAEM,eAAeC,aACtBF,EAAML,EAAEM,eAAeE,oBAEvBP,EAAWG,GAAGK,aAAc,IAAKC,WAAY,MAC7CR,EAAWE,GAAGO,mBAAoB,EAAGF,aAAc,IAAKC,WAAY,MACpEP,EAAWC,GAAGO,mBAAoB,EAAGC,OAAQ,IAAKC,OAAQ,IAAKJ,aAAc,IAAKC,WAAY,MAE9FV,EAAEM,eAAeQ,QAAQC,IACrBC,eACIC,YAAa,8BACbC,aAAc,6BACdC,cAAe,8DACfC,UAAW,cACXC,WAAY,kBACZC,QAAS,mCACTC,cAAe,qBACfC,OAAQ,QACRC,GAAI,KACJC,GAAI,KAERC,aACIC,SAAUvB,EAAIwB,MAAM3B,GACpB4B,oBAAqBzB,EAAI0B,YAAY7B,GACrC8B,oBAAqB3B,EAAI4B,WAAW,MACpCC,QAAS7B,EAAI8B,IAAIlC,GACjBmC,cAAe/B,EAAI8B,IAAIjC,GACvBmC,UAAWhC,EAAIiC,QAAQrC,GACvBsC,UAAWlC,EAAImC,IAAIvC,GACnBwC,WAAYpC,EAAIqC,IAAIzC,GACpB0C,iBAAkBtC,EAAIuC,WAAW3C,GACjC4C,sBAAuBxC,EAAIyC,mBAAkB,EAAM7C,GACnD8C,qBAAsB1C,EAAIyC,mBAAkB,EAAO7C,GACnD+C,gBAAiB3C,EAAI4C,WAAW5C,EAAI8B,MAAO,QAAShC,GACpD+C,iBAAkB7C,EAAI4C,WAAW5C,EAAI8B,MAAO,MAAOhC,GACnDgD,kBAAmB9C,EAAI4C,WAAW5C,EAAI8B,MAAO,MAAOhC,GACpDiD,kBAAmB/C,EAAI4C,WAAW5C,EAAIwB,QAAS,QAAS1B,GACxDkD,mBAAoBhD,EAAI4C,WAAW5C,EAAIwB,QAAS,MAAO1B,GACvDmD,oBAAqBjD,EAAI4C,WAAW5C,EAAIwB,QAAS,MAAO1B,IAE5DoD,WACIC,UAAWxD,EAAEM,eAAeiD,UAAU,MACtCE,iBAAkBzD,EAAEM,eAAeiD,UAAU,kBAC7CG,iBAAkB1D,EAAEM,eAAeiD,UAAU,QAC7CI,2BAA4B3D,EAAEM,eAAeiD,UAAU,eACvDK,4BAA6B5D,EAAEM,eAAeiD,UAAU,qBCqBjEM,KAAKC","file":"pivot.ru.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.ru = \n localeStrings:\n renderError: \"Ошибка рендеринга страницы.\",\n computeError: \"Ошибка табличных расчетов.\",\n uiRenderError: \"Ошибка во время прорисовки и динамического расчета таблицы.\",\n selectAll: \"Выбрать все\",\n selectNone: \"Снять выделение\",\n tooMany: \"(Выбрано слишком много значений)\",\n filterResults: \"Возможные значения\",\n totals: \"Всего\",\n vs: \"на\",\n by: \"с\"\n\n aggregators: \n \"Кол-во\": tpl.count(frFmtInt),\n \"Кол-во уникальных\": tpl.countUnique(frFmtInt),\n \"Список уникальных\": tpl.listUnique(\", \"),\n \"Сумма\": tpl.sum(frFmt),\n \"Сумма целых\": tpl.sum(frFmtInt),\n \"Среднее\": tpl.average(frFmt),\n \"Минимум\": tpl.min(frFmt),\n \"Максимум\": tpl.max(frFmt),\n \"Сумма по сумме\": tpl.sumOverSum(frFmt),\n \"80% верхней границы\": tpl.sumOverSumBound80(true, frFmt),\n \"80% нижней границы\": tpl.sumOverSumBound80(false, frFmt),\n \"Доля по всему\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Доля по строке\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Доля по столбцу\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Кол-во по всему\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Кол-во по строке\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Кол-во по столбцу\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Таблица\": $.pivotUtilities.renderers[\"Table\"]\n \"График столбцы\": $.pivotUtilities.renderers[\"Table Barchart\"] # TODO придумать более понятный вариант\n \"Тепловая карта\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Тепловая карта по строке\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Тепловая карта по столбцу\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var frFmt, frFmtInt, frFmtPct, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n frFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.ru = {\n localeStrings: {\n renderError: \"Ошибка рендеринга страницы.\",\n computeError: \"Ошибка табличных расчетов.\",\n uiRenderError: \"Ошибка во время прорисовки и динамического расчета таблицы.\",\n selectAll: \"Выбрать все\",\n selectNone: \"Снять выделение\",\n tooMany: \"(Выбрано слишком много значений)\",\n filterResults: \"Возможные значения\",\n totals: \"Всего\",\n vs: \"на\",\n by: \"с\"\n },\n aggregators: {\n \"Кол-во\": tpl.count(frFmtInt),\n \"Кол-во уникальных\": tpl.countUnique(frFmtInt),\n \"Список уникальных\": tpl.listUnique(\", \"),\n \"Сумма\": tpl.sum(frFmt),\n \"Сумма целых\": tpl.sum(frFmtInt),\n \"Среднее\": tpl.average(frFmt),\n \"Минимум\": tpl.min(frFmt),\n \"Максимум\": tpl.max(frFmt),\n \"Сумма по сумме\": tpl.sumOverSum(frFmt),\n \"80% верхней границы\": tpl.sumOverSumBound80(true, frFmt),\n \"80% нижней границы\": tpl.sumOverSumBound80(false, frFmt),\n \"Доля по всему\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Доля по строке\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Доля по столбцу\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Кол-во по всему\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Кол-во по строке\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Кол-во по столбцу\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n },\n renderers: {\n \"Таблица\": $.pivotUtilities.renderers[\"Table\"],\n \"График столбцы\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Тепловая карта\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Тепловая карта по строке\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Тепловая карта по столбцу\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.ru.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var frFmt, frFmtInt, frFmtPct, nf, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
frFmt = nf({
thousandsSep: " ",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: " ",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: " ",
decimalSep: ","
});
return $.pivotUtilities.locales.sq = {
localeStrings: {
renderError: "Ka ndodhur një gabim gjatë shfaqjes së rezultateve të PivotTable.",
computeError: "Ka ndodhur një gabim gjatë llogaritjes së rezultateve të PivotTable.",
uiRenderError: "Ka ndodhur një gabim gjatë shfaqjes së ndërfaqes së PivotTable.",
selectAll: "Përzgjedh të gjitha",
selectNone: "Mos përzgjedh asnjërën",
tooMany: "(shumë për t'u listuar)",
filterResults: "Filtro vlerat",
totals: "Totalet",
vs: "kundër",
by: "për"
},
aggregators: {
"Numëro": tpl.count(frFmtInt),
"Numëro vlerat unike": tpl.countUnique(frFmtInt),
"Listo vlerat unike": tpl.listUnique(", "),
"Shuma": tpl.sum(frFmt),
"Shuma si numër i plotë": tpl.sum(frFmtInt),
"Mesatarja": tpl.average(frFmt),
"Minimumi": tpl.min(frFmt),
"Maksimumi": tpl.max(frFmt),
"Shuma mbi shumë": tpl.sumOverSum(frFmt),
"80% kufiri i sipërm": tpl.sumOverSumBound80(true, frFmt),
"80% kufiri i poshtëm": tpl.sumOverSumBound80(false, frFmt),
"Shuma si thyesë e totalit": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Shuma si thyesë e rreshtave": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Shuma si thyesë e kolonave": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Numërimi si thyesë e totalit": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Numërimi si thyesë e rreshtave": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Numërimi si thyesë e kolonave": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Tabela": $.pivotUtilities.renderers["Table"],
"Tabela me diagram vertikal": $.pivotUtilities.renderers["Table Barchart"],
"Heatmap": $.pivotUtilities.renderers["Heatmap"],
"Heatmap për rresht": $.pivotUtilities.renderers["Row Heatmap"],
"Heatmap për kolonë": $.pivotUtilities.renderers["Col Heatmap"]
}
};
});
}).call(this);
//# sourceMappingURL=pivot.sq.js.map
{"version":3,"file":"pivot.sq.js","sources":["pivot.sq.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,KAAkB,QAAlB,IAA+B,OAAO,MAAP,KAAiB,QAAnD;aACI,WAAA,CAAY,OAAA,CAAQ,QAAR,CAAZ,EADJ;KAAA,MAEK,IAAG,OAAO,MAAP,KAAiB,UAAjB,IAAgC,MAAM,CAAC,GAA1C;aACD,MAAA,CAAO,CAAC,QAAD,CAAP,EAAmB,WAAnB,EADC;KAAA,MAAA;aAID,WAAA,CAAY,MAAZ,EAJC;;EAHQ;;EASjB,cAAA,CAAe,SAAC,CAAD;AACX,QAAA;IAAA,EAAA,GAAK,CAAC,CAAC,cAAc,CAAC;IACtB,GAAA,GAAM,CAAC,CAAC,cAAc,CAAC;IAEvB,KAAA,GAAW,EAAA,CAAG;MAAA,YAAA,EAAc,GAAd;MAAmB,UAAA,EAAY,GAA/B;KAAH;IACX,QA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define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.sq = \n localeStrings:\n renderError: \"Ka ndodhur një gabim gjatë shfaqjes së rezultateve të PivotTable.\"\n computeError: \"Ka ndodhur një gabim gjatë llogaritjes së rezultateve të PivotTable.\"\n uiRenderError: \"Ka ndodhur një gabim gjatë shfaqjes së ndërfaqes së PivotTable.\"\n selectAll: \"Përzgjedh të gjitha\"\n selectNone: \"Mos përzgjedh asnjërën\"\n tooMany: \"(shumë për t'u listuar)\"\n filterResults: \"Filtro vlerat\"\n totals: \"Totalet\"\n vs: \"kundër\"\n by: \"për\"\n\n aggregators: \n \"Numëro\": tpl.count(frFmtInt)\n \"Numëro vlerat unike\": tpl.countUnique(frFmtInt)\n \"Listo vlerat unike\": tpl.listUnique(\", \")\n \"Shuma\": tpl.sum(frFmt)\n \"Shuma si numër i plotë\":\t\t\ttpl.sum(frFmtInt)\n \"Mesatarja\": tpl.average(frFmt)\n \"Minimumi\": tpl.min(frFmt)\n \"Maksimumi\": tpl.max(frFmt)\n \"Shuma mbi shumë\": tpl.sumOverSum(frFmt)\n \"80% kufiri i sipërm\": tpl.sumOverSumBound80(true, frFmt)\n \"80% kufiri i poshtëm\": \t\ttpl.sumOverSumBound80(false, frFmt)\n \"Shuma si thyesë e totalit\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Shuma si thyesë e rreshtave\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Shuma si thyesë e kolonave\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Numërimi si thyesë e totalit\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Numërimi si thyesë e rreshtave\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Numërimi si thyesë e kolonave\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n \n renderers:\n \"Tabela\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabela me diagram vertikal\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Heatmap për rresht\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Heatmap për kolonë\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t,i,r,a,s;return a=e.pivotUtilities.numberFormat,s=e.pivotUtilities.aggregatorTemplates,t=a({thousandsSep:" ",decimalSep:","}),i=a({digitsAfterDecimal:0,thousandsSep:" ",decimalSep:","}),r=a({digitsAfterDecimal:1,scaler:100,suffix:"%",thousandsSep:" ",decimalSep:","}),e.pivotUtilities.locales.sq={localeStrings:{renderError:"Ka ndodhur një gabim gjatë shfaqjes së rezultateve të PivotTable.",computeError:"Ka ndodhur një gabim gjatë llogaritjes së rezultateve të PivotTable.",uiRenderError:"Ka ndodhur një gabim gjatë shfaqjes së ndërfaqes së PivotTable.",selectAll:"Përzgjedh të gjitha",selectNone:"Mos përzgjedh asnjërën",tooMany:"(shumë për t'u listuar)",filterResults:"Filtro vlerat",totals:"Totalet",vs:"kundër",by:"për"},aggregators:{"Numëro":s.count(i),"Numëro vlerat unike":s.countUnique(i),"Listo vlerat unike":s.listUnique(", "),Shuma:s.sum(t),"Shuma si numër i plotë":s.sum(i),Mesatarja:s.average(t),Minimumi:s.min(t),Maksimumi:s.max(t),"Shuma mbi shumë":s.sumOverSum(t),"80% kufiri i sipërm":s.sumOverSumBound80(!0,t),"80% kufiri i poshtëm":s.sumOverSumBound80(!1,t),"Shuma si thyesë e totalit":s.fractionOf(s.sum(),"total",r),"Shuma si thyesë e rreshtave":s.fractionOf(s.sum(),"row",r),"Shuma si thyesë e kolonave":s.fractionOf(s.sum(),"col",r),"Numërimi si thyesë e totalit":s.fractionOf(s.count(),"total",r),"Numërimi si thyesë e rreshtave":s.fractionOf(s.count(),"row",r),"Numërimi si thyesë e kolonave":s.fractionOf(s.count(),"col",r)},renderers:{Tabela:e.pivotUtilities.renderers.Table,"Tabela me diagram vertikal":e.pivotUtilities.renderers["Table Barchart"],Heatmap:e.pivotUtilities.renderers.Heatmap,"Heatmap për rresht":e.pivotUtilities.renderers["Row Heatmap"],"Heatmap për kolonë":e.pivotUtilities.renderers["Col Heatmap"]}}})}).call(this);
//# sourceMappingURL=pivot.sq.min.js.map
{"version":3,"sources":["pivot.sq.coffee","pivot.sq.min.js"],"names":["callWithJQuery","pivotModule","exports","module","require","define","amd","jQuery","$","frFmt","frFmtInt","frFmtPct","nf","tpl","pivotUtilities","numberFormat","aggregatorTemplates","thousandsSep","decimalSep","digitsAfterDecimal","scaler","suffix","locales","sq","localeStrings","renderError","computeError","uiRenderError","selectAll","selectNone","tooMany","filterResults","totals","vs","by","aggregators","Numëro","count","Numëro vlerat unike","countUnique","Listo vlerat unike","listUnique","Shuma","sum","Shuma si numër i plotë","Mesatarja","average","Minimumi","min","Maksimumi","max","Shuma mbi shumë","sumOverSum","80% kufiri i sipërm","sumOverSumBound80","80% kufiri i poshtëm","Shuma si thyesë e totalit","fractionOf","Shuma si thyesë e rreshtave","Shuma si thyesë e kolonave","Numërimi si thyesë e totalit","Numërimi si thyesë e rreshtave","Numërimi si thyesë e kolonave","renderers","Tabela","Tabela me diagram vertikal","Heatmap","Heatmap për rresht","Heatmap për kolonë","call","this"],"mappings":"CAAA,WAAA,GAAAA,IAAAA,EAAiB,SAACC,GACd,MAAqB,gBAAXC,UAAyC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AAmChD,EAAI4C,WAAW5C,EAAIwB,QAAS,MAAS1B,GACxEmD,gCAAiCjD,EAAI4C,WAAW5C,EAAIwB,QAAS,MAAS1B,IAE1EoD,WACIC,OAA+BxD,EAAEM,eAAeiD,UAAU,MAC1DE,6BAAgCzD,EAAEM,eAAeiD,UAAU,kBAC3DG,QAAgC1D,EAAEM,eAAeiD,UAAU,QAC3DI,qBAAiC3D,EAAEM,eAAeiD,UAAU,eAC5DK,qBAAgC5D,EAAEM,eAAeiD,UAAU,qBCqBpEM,KAAKC","file":"pivot.sq.min.js","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n # Plain browser env\n else\n pivotModule jQuery\n \ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n\n frFmt = nf(thousandsSep: \" \", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \" \", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 1, scaler: 100, suffix: \"%\", thousandsSep: \" \", decimalSep: \",\")\n\n $.pivotUtilities.locales.sq = \n localeStrings:\n renderError: \"Ka ndodhur një gabim gjatë shfaqjes së rezultateve të PivotTable.\"\n computeError: \"Ka ndodhur një gabim gjatë llogaritjes së rezultateve të PivotTable.\"\n uiRenderError: \"Ka ndodhur një gabim gjatë shfaqjes së ndërfaqes së PivotTable.\"\n selectAll: \"Përzgjedh të gjitha\"\n selectNone: \"Mos përzgjedh asnjërën\"\n tooMany: \"(shumë për t'u listuar)\"\n filterResults: \"Filtro vlerat\"\n totals: \"Totalet\"\n vs: \"kundër\"\n by: \"për\"\n\n aggregators: \n \"Numëro\": tpl.count(frFmtInt)\n \"Numëro vlerat unike\": tpl.countUnique(frFmtInt)\n \"Listo vlerat unike\": tpl.listUnique(\", \")\n \"Shuma\": tpl.sum(frFmt)\n \"Shuma si numër i plotë\":\t\t\ttpl.sum(frFmtInt)\n \"Mesatarja\": tpl.average(frFmt)\n \"Minimumi\": tpl.min(frFmt)\n \"Maksimumi\": tpl.max(frFmt)\n \"Shuma mbi shumë\": tpl.sumOverSum(frFmt)\n \"80% kufiri i sipërm\": tpl.sumOverSumBound80(true, frFmt)\n \"80% kufiri i poshtëm\": \t\ttpl.sumOverSumBound80(false, frFmt)\n \"Shuma si thyesë e totalit\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Shuma si thyesë e rreshtave\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Shuma si thyesë e kolonave\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Numërimi si thyesë e totalit\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Numërimi si thyesë e rreshtave\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Numërimi si thyesë e kolonave\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n \n renderers:\n \"Tabela\": $.pivotUtilities.renderers[\"Table\"]\n \"Tabela me diagram vertikal\": $.pivotUtilities.renderers[\"Table Barchart\"]\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"]\n \"Heatmap për rresht\": $.pivotUtilities.renderers[\"Row Heatmap\"]\n \"Heatmap për kolonë\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n","(function() {\n var callWithJQuery;\n\n callWithJQuery = function(pivotModule) {\n if (typeof exports === \"object\" && typeof module === \"object\") {\n return pivotModule(require(\"jquery\"));\n } else if (typeof define === \"function\" && define.amd) {\n return define([\"jquery\"], pivotModule);\n } else {\n return pivotModule(jQuery);\n }\n };\n\n callWithJQuery(function($) {\n var frFmt, frFmtInt, frFmtPct, nf, tpl;\n nf = $.pivotUtilities.numberFormat;\n tpl = $.pivotUtilities.aggregatorTemplates;\n frFmt = nf({\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtInt = nf({\n digitsAfterDecimal: 0,\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n frFmtPct = nf({\n digitsAfterDecimal: 1,\n scaler: 100,\n suffix: \"%\",\n thousandsSep: \" \",\n decimalSep: \",\"\n });\n return $.pivotUtilities.locales.sq = {\n localeStrings: {\n renderError: \"Ka ndodhur një gabim gjatë shfaqjes së rezultateve të PivotTable.\",\n computeError: \"Ka ndodhur një gabim gjatë llogaritjes së rezultateve të PivotTable.\",\n uiRenderError: \"Ka ndodhur një gabim gjatë shfaqjes së ndërfaqes së PivotTable.\",\n selectAll: \"Përzgjedh të gjitha\",\n selectNone: \"Mos përzgjedh asnjërën\",\n tooMany: \"(shumë për t'u listuar)\",\n filterResults: \"Filtro vlerat\",\n totals: \"Totalet\",\n vs: \"kundër\",\n by: \"për\"\n },\n aggregators: {\n \"Numëro\": tpl.count(frFmtInt),\n \"Numëro vlerat unike\": tpl.countUnique(frFmtInt),\n \"Listo vlerat unike\": tpl.listUnique(\", \"),\n \"Shuma\": tpl.sum(frFmt),\n \"Shuma si numër i plotë\": tpl.sum(frFmtInt),\n \"Mesatarja\": tpl.average(frFmt),\n \"Minimumi\": tpl.min(frFmt),\n \"Maksimumi\": tpl.max(frFmt),\n \"Shuma mbi shumë\": tpl.sumOverSum(frFmt),\n \"80% kufiri i sipërm\": tpl.sumOverSumBound80(true, frFmt),\n \"80% kufiri i poshtëm\": tpl.sumOverSumBound80(false, frFmt),\n \"Shuma si thyesë e totalit\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct),\n \"Shuma si thyesë e rreshtave\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct),\n \"Shuma si thyesë e kolonave\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct),\n \"Numërimi si thyesë e totalit\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct),\n \"Numërimi si thyesë e rreshtave\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct),\n \"Numërimi si thyesë e kolonave\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n },\n renderers: {\n \"Tabela\": $.pivotUtilities.renderers[\"Table\"],\n \"Tabela me diagram vertikal\": $.pivotUtilities.renderers[\"Table Barchart\"],\n \"Heatmap\": $.pivotUtilities.renderers[\"Heatmap\"],\n \"Heatmap për rresht\": $.pivotUtilities.renderers[\"Row Heatmap\"],\n \"Heatmap për kolonë\": $.pivotUtilities.renderers[\"Col Heatmap\"]\n }\n };\n });\n\n}).call(this);\n\n//# sourceMappingURL=pivot.sq.js.map\n"]}
\ No newline at end of file
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var c3r, d3r, frFmt, frFmtInt, frFmtPct, gcr, nf, r, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
r = $.pivotUtilities.renderers;
gcr = $.pivotUtilities.gchart_renderers;
d3r = $.pivotUtilities.d3_renderers;
c3r = $.pivotUtilities.c3_renderers;
frFmt = nf({
thousandsSep: ".",
decimalSep: ","
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: ".",
decimalSep: ","
});
frFmtPct = nf({
digitsAfterDecimal: 2,
scaler: 100,
suffix: "%",
thousandsSep: ".",
decimalSep: ","
});
$.pivotUtilities.locales.tr = {
localeStrings: {
renderError: "PivotTable sonuçlarını oluştuturken hata oluştu",
computeError: "PivotTable sonuçlarını işlerken hata oluştu",
uiRenderError: "PivotTable UI sonuçlarını oluştuturken hata oluştu",
selectAll: "Tümünü Seç",
selectNone: "Tümünü Bırak",
tooMany: "(listelemek için fazla)",
filterResults: "Sonuçları filtrele",
totals: "Toplam",
vs: "vs",
by: "ile"
},
aggregators: {
"Sayı": tpl.count(frFmtInt),
"Benzersiz değerler sayısı": tpl.countUnique(frFmtInt),
"Benzersiz değerler listesi": tpl.listUnique(", "),
"Toplam": tpl.sum(frFmt),
"Toplam (tam sayı)": tpl.sum(frFmtInt),
"Ortalama": tpl.average(frFmt),
"Min": tpl.min(frFmt),
"Maks": tpl.max(frFmt),
"Miktarların toplamı": tpl.sumOverSum(frFmt),
"%80 daha yüksek": tpl.sumOverSumBound80(true, frFmt),
"%80 daha düşük": tpl.sumOverSumBound80(false, frFmt),
"Toplam oranı (toplam)": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"Satır oranı (toplam)": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"Sütunun oranı (toplam)": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"Toplam oranı (sayı)": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"Satır oranı (sayı)": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"Sütunun oranı (sayı)": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"Tablo": r["Table"],
"Tablo (Çubuklar)": r["Table Barchart"],
"İlgi haritası": r["Heatmap"],
"Satır ilgi haritası": r["Row Heatmap"],
"Sütun ilgi haritası": r["Col Heatmap"]
}
};
if (gcr) {
$.pivotUtilities.locales.tr.gchart_renderers = {
"Çizgi Grafiği": gcr["Line Chart"],
"Bar Grafiği": gcr["Bar Chart"],
"Yığılmış Çubuk Grafik ": gcr["Stacked Bar Chart"],
"Alan Grafiği": gcr["Area Chart"]
};
}
if (d3r) {
$.pivotUtilities.locales.tr.d3_renderers = {
"Hiyerarşik Alan Grafiği (Treemap)": d3r["Treemap"]
};
}
if (c3r) {
$.pivotUtilities.locales.tr.c3_renderers = {
"Çizgi Grafiği": c3r["Line Chart"],
"Bar Grafiği": c3r["Bar Chart"],
"Yığılmış Çubuk Grafik ": c3r["Stacked Bar Chart"],
"Alan Grafiği": c3r["Area Chart"]
};
}
return $.pivotUtilities.locales.tr;
});
}).call(this);
//# sourceMappingURL=pivot.tr.js.map
{"version":3,"file":"pivot.tr.js","sources":["pivot.tr.coffee"],"names":[],"mapp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","sourcesContent":["callWithJQuery = (pivotModule) ->\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\n pivotModule require(\"jquery\")\n else if typeof define is \"function\" and define.amd # AMD\n define [\"jquery\"], pivotModule\n# Plain browser env\n else\n pivotModule jQuery\n\ncallWithJQuery ($) ->\n nf = $.pivotUtilities.numberFormat\n tpl = $.pivotUtilities.aggregatorTemplates\n r = $.pivotUtilities.renderers\n gcr = $.pivotUtilities.gchart_renderers\n d3r = $.pivotUtilities.d3_renderers\n c3r = $.pivotUtilities.c3_renderers\n\n frFmt = nf(thousandsSep: \".\", decimalSep: \",\")\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \".\", decimalSep: \",\")\n frFmtPct = nf(digitsAfterDecimal: 2, scaler: 100, suffix: \"%\", thousandsSep: \".\", decimalSep: \",\")\n\n $.pivotUtilities.locales.tr =\n\n localeStrings:\n renderError: \"PivotTable sonuçlarını oluştuturken hata oluştu\"\n computeError: \"PivotTable sonuçlarını işlerken hata oluştu\"\n uiRenderError: \"PivotTable UI sonuçlarını oluştuturken hata oluştu\"\n selectAll: \"Tümünü Seç\"\n selectNone: \"Tümünü Bırak\"\n tooMany: \"(listelemek için fazla)\"\n filterResults: \"Sonuçları filtrele\"\n totals: \"Toplam\"\n vs: \"vs\"\n by: \"ile\"\n\n aggregators:\n \"Sayı\": tpl.count(frFmtInt)\n \"Benzersiz değerler sayısı\": tpl.countUnique(frFmtInt)\n \"Benzersiz değerler listesi\": tpl.listUnique(\", \")\n \"Toplam\": tpl.sum(frFmt)\n \"Toplam (tam sayı)\": tpl.sum(frFmtInt)\n \"Ortalama\": tpl.average(frFmt)\n \"Min\": tpl.min(frFmt)\n \"Maks\": tpl.max(frFmt)\n \"Miktarların toplamı\": tpl.sumOverSum(frFmt)\n \"%80 daha yüksek\": tpl.sumOverSumBound80(true, frFmt)\n \"%80 daha düşük\": tpl.sumOverSumBound80(false, frFmt)\n \"Toplam oranı (toplam)\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\n \"Satır oranı (toplam)\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\n \"Sütunun oranı (toplam)\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\n \"Toplam oranı (sayı)\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\n \"Satır oranı (sayı)\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\n \"Sütunun oranı (sayı)\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\n\n renderers:\n \"Tablo\": r[\"Table\"]\n \"Tablo (Çubuklar)\": r[\"Table Barchart\"]\n \"İlgi haritası\": r[\"Heatmap\"]\n \"Satır ilgi haritası\": r[\"Row Heatmap\"]\n \"Sütun ilgi haritası\": r[\"Col Heatmap\"]\n if gcr\n $.pivotUtilities.locales.tr.gchart_renderers =\n \"Çizgi Grafiği\": gcr[\"Line Chart\"]\n \"Bar Grafiği\": gcr[\"Bar Chart\"]\n \"Yığılmış Çubuk Grafik \": gcr[\"Stacked Bar Chart\"]\n \"Alan Grafiği\": gcr[\"Area Chart\"]\n\n if d3r\n $.pivotUtilities.locales.tr.d3_renderers =\n \"Hiyerarşik Alan Grafiği (Treemap)\": d3r[\"Treemap\"]\n\n if c3r\n $.pivotUtilities.locales.tr.c3_renderers =\n \"Çizgi Grafiği\": c3r[\"Line Chart\"]\n \"Bar Grafiği\": c3r[\"Bar Chart\"]\n \"Yığılmış Çubuk Grafik \": c3r[\"Stacked Bar Chart\"]\n \"Alan Grafiği\": c3r[\"Area Chart\"]\n\n return $.pivotUtilities.locales.tr\n\n"]}
\ No newline at end of file
(function(){var a;(a=function(a){return"object"==typeof exports&&"object"==typeof module?a(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)})(function(a){var e,r,t,i,l,o,n,s,u;return n=a.pivotUtilities.numberFormat,u=a.pivotUtilities.aggregatorTemplates,s=a.pivotUtilities.renderers,o=a.pivotUtilities.gchart_renderers,r=a.pivotUtilities.d3_renderers,e=a.pivotUtilities.c3_renderers,t=n({thousandsSep:".",decimalSep:","}),i=n({digitsAfterDecimal:0,thousandsSep:".",decimalSep:","}),l=n({digitsAfterDecimal:2,scaler:100,suffix:"%",thousandsSep:".",decimalSep:","}),a.pivotUtilities.locales.tr={localeStrings:{renderError:"PivotTable sonuçlarını oluştuturken hata oluştu",computeError:"PivotTable sonuçlarını işlerken hata oluştu",uiRenderError:"PivotTable UI sonuçlarını oluştuturken hata oluştu",selectAll:"Tümünü Seç",selectNone:"Tümünü Bırak",tooMany:"(listelemek için fazla)",filterResults:"Sonuçları filtrele",totals:"Toplam",vs:"vs",by:"ile"},aggregators:{"Sayı":u.count(i),"Benzersiz değerler sayısı":u.countUnique(i),"Benzersiz değerler listesi":u.listUnique(", "),Toplam:u.sum(t),"Toplam (tam sayı)":u.sum(i),Ortalama:u.average(t),Min:u.min(t),Maks:u.max(t),"Miktarların toplamı":u.sumOverSum(t),"%80 daha yüksek":u.sumOverSumBound80(!0,t),"%80 daha düşük":u.sumOverSumBound80(!1,t),"Toplam oranı (toplam)":u.fractionOf(u.sum(),"total",l),"Satır oranı (toplam)":u.fractionOf(u.sum(),"row",l),"Sütunun oranı (toplam)":u.fractionOf(u.sum(),"col",l),"Toplam oranı (sayı)":u.fractionOf(u.count(),"total",l),"Satır oranı (sayı)":u.fractionOf(u.count(),"row",l),"Sütunun oranı (sayı)":u.fractionOf(u.count(),"col",l)},renderers:{Tablo:s.Table,"Tablo (Çubuklar)":s["Table Barchart"],"İlgi haritası":s.Heatmap,"Satır ilgi haritası":s["Row Heatmap"],"Sütun ilgi haritası":s["Col Heatmap"]}},o&&(a.pivotUtilities.locales.tr.gchart_renderers={"Çizgi Grafiği":o["Line Chart"],"Bar Grafiği":o["Bar Chart"],"Yığılmış Çubuk Grafik ":o["Stacked Bar Chart"],"Alan Grafiği":o["Area Chart"]}),r&&(a.pivotUtilities.locales.tr.d3_renderers={"Hiyerarşik Alan Grafiği (Treemap)":r.Treemap}),e&&(a.pivotUtilities.locales.tr.c3_renderers={"Çizgi Grafiği":e["Line Chart"],"Bar Grafiği":e["Bar Chart"],"Yığılmış Çubuk Grafik ":e["Stacked Bar Chart"],"Alan Grafiği":e["Area Chart"]}),a.pivotUtilities.locales.tr})}).call(this);
//# sourceMappingURL=pivot.tr.min.js.map
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
return pivotModule(jQuery);
}
};
callWithJQuery(function($) {
var c3r, d3r, frFmt, frFmtInt, frFmtPct, gcr, nf, r, tpl;
nf = $.pivotUtilities.numberFormat;
tpl = $.pivotUtilities.aggregatorTemplates;
r = $.pivotUtilities.renderers;
gcr = $.pivotUtilities.gchart_renderers;
d3r = $.pivotUtilities.d3_renderers;
c3r = $.pivotUtilities.c3_renderers;
frFmt = nf({
thousandsSep: ",",
decimalSep: "."
});
frFmtInt = nf({
digitsAfterDecimal: 0,
thousandsSep: ",",
decimalSep: "."
});
frFmtPct = nf({
digitsAfterDecimal: 2,
scaler: 100,
suffix: "%",
thousandsSep: ",",
decimalSep: "."
});
$.pivotUtilities.locales.zh = {
localeStrings: {
renderError: "展示结果时出错。",
computeError: "计算结果时出错。",
uiRenderError: "展示界面时出错。",
selectAll: "选择全部",
selectNone: "全部不选",
tooMany: "(因数据过多而无法列出)",
filterResults: "输入值帮助筛选",
totals: "合计",
vs: "于",
by: "分组于"
},
aggregators: {
"频数": tpl.count(frFmtInt),
"非重复值的个数": tpl.countUnique(frFmtInt),
"列出非重复值": tpl.listUnique(", "),
"求和": tpl.sum(frFmt),
"求和后取整": tpl.sum(frFmtInt),
"平均值": tpl.average(frFmt),
"最小值": tpl.min(frFmt),
"最大值": tpl.max(frFmt),
"两和之比": tpl.sumOverSum(frFmt),
"二项分布:置信度为80%时的区间上限": tpl.sumOverSumBound80(true, frFmt),
"二项分布:置信度为80%时的区间下限": tpl.sumOverSumBound80(false, frFmt),
"和在总计中的比例": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
"和在行合计中的比例": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
"和在列合计中的比例": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
"频数在总计中的比例": tpl.fractionOf(tpl.count(), "total", frFmtPct),
"频数在行合计中的比例": tpl.fractionOf(tpl.count(), "row", frFmtPct),
"频数在列合计中的比例": tpl.fractionOf(tpl.count(), "col", frFmtPct)
},
renderers: {
"表格": r["Table"],
"表格内柱状图": r["Table Barchart"],
"热图": r["Heatmap"],
"行热图": r["Row Heatmap"],
"列热图": r["Col Heatmap"]
}
};
if (gcr) {
$.pivotUtilities.locales.zh.gchart_renderers = {
"折线图(g)": gcr["Line Chart"],
"柱形图(g)": gcr["Bar Chart"],
"堆栈柱形图(g)": gcr["Stacked Bar Chart"],
"面积图(g)": gcr["Area Chart"]
};
$.pivotUtilities.locales.zh.renderers = $.extend($.pivotUtilities.locales.zh.renderers, $.pivotUtilities.locales.zh.gchart_renderers);
}
if (d3r) {
$.pivotUtilities.locales.zh.d3_renderers = {
"树图": d3r["Treemap"]
};
$.pivotUtilities.locales.zh.renderers = $.extend($.pivotUtilities.locales.zh.renderers, $.pivotUtilities.locales.zh.d3_renderers);
}
if (c3r) {
$.pivotUtilities.locales.zh.c3_renderers = {
"折线图": c3r["Line Chart"],
"柱形图": c3r["Bar Chart"],
"堆栈柱形图": c3r["Stacked Bar Chart"],
"面积图": c3r["Area Chart"],
"散点图": c3r["Scatter Chart"]
};
$.pivotUtilities.locales.zh.renderers = $.extend($.pivotUtilities.locales.zh.renderers, $.pivotUtilities.locales.zh.c3_renderers);
}
return $.pivotUtilities.locales.zh;
});
}).call(this);
//# sourceMappingURL=pivot.zh.js.map
{"version":3,"file":"pivot.zh.js","sources":["pivot.zh.coffee"],"names":[],"mappings":"AAEA;AAAA,MAAA;;EAAA,cAAA,GAAiB,SAAC,WAAD;IACb,IAAG,OAAO,OAAP,K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MACI,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,YAA5B,GACI;QAAA,KAAA,EAAO,GAAI,CAAA,YAAA,CAAX;QACA,KAAA,EAAO,GAAI,CAAA,WAAA,CADX;QAEA,OAAA,EAAS,GAAI,CAAA,mBAAA,CAFb;QAGA,KAAA,EAAO,GAAI,CAAA,YAAA,CAHX;QAIA,KAAA,EAAO,GAAI,CAAA,eAAA,CAJX;;MAKJ,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,SAA5B,GAAwC,CAAC,CAAC,MAAF,CACpC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,SADQ,EAEpC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,YAFQ,EAP5C;;AAWA,WAAO,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC;EAhFrB,CAAf;AATA","sourcesContent":["# example: http://zhoulvjun.github.io/2016/02/08/pivottable/\r\n\r\ncallWithJQuery = (pivotModule) ->\r\n if typeof exports is \"object\" and typeof module is \"object\" # CommonJS\r\n pivotModule require(\"jquery\")\r\n else if typeof define is \"function\" and define.amd # AMD\r\n define [\"jquery\"], pivotModule\r\n # Plain browser env\r\n else\r\n pivotModule jQuery\r\n \r\ncallWithJQuery ($) ->\r\n nf = $.pivotUtilities.numberFormat\r\n tpl = $.pivotUtilities.aggregatorTemplates\r\n r = $.pivotUtilities.renderers\r\n gcr = $.pivotUtilities.gchart_renderers\r\n d3r = $.pivotUtilities.d3_renderers\r\n c3r = $.pivotUtilities.c3_renderers\r\n\r\n frFmt = nf(thousandsSep: \",\", decimalSep: \".\")\r\n frFmtInt = nf(digitsAfterDecimal: 0, thousandsSep: \",\", decimalSep: \".\")\r\n frFmtPct = nf(digitsAfterDecimal: 2, scaler: 100, suffix: \"%\", thousandsSep: \",\", decimalSep: \".\")\r\n\r\n $.pivotUtilities.locales.zh = \r\n\r\n localeStrings:\r\n renderError: \"展示结果时出错。\"\r\n computeError: \"计算结果时出错。\"\r\n uiRenderError: \"展示界面时出错。\"\r\n selectAll: \"选择全部\"\r\n selectNone: \"全部不选\"\r\n tooMany: \"(因数据过多而无法列出)\"\r\n filterResults: \"输入值帮助筛选\"\r\n totals: \"合计\"\r\n vs: \"于\"\r\n by: \"分组于\"\r\n\r\n aggregators:\r\n \"频数\": tpl.count(frFmtInt)\r\n \"非重复值的个数\": tpl.countUnique(frFmtInt)\r\n \"列出非重复值\": tpl.listUnique(\", \")\r\n \"求和\": tpl.sum(frFmt)\r\n \"求和后取整\": tpl.sum(frFmtInt)\r\n \"平均值\": tpl.average(frFmt)\r\n \"最小值\": tpl.min(frFmt)\r\n \"最大值\": tpl.max(frFmt)\r\n \"两和之比\": tpl.sumOverSum(frFmt)\r\n \"二项分布:置信度为80%时的区间上限\": tpl.sumOverSumBound80(true, frFmt)\r\n \"二项分布:置信度为80%时的区间下限\": tpl.sumOverSumBound80(false, frFmt)\r\n \"和在总计中的比例\": tpl.fractionOf(tpl.sum(), \"total\", frFmtPct)\r\n \"和在行合计中的比例\": tpl.fractionOf(tpl.sum(), \"row\", frFmtPct)\r\n \"和在列合计中的比例\": tpl.fractionOf(tpl.sum(), \"col\", frFmtPct)\r\n \"频数在总计中的比例\": tpl.fractionOf(tpl.count(), \"total\", frFmtPct)\r\n \"频数在行合计中的比例\": tpl.fractionOf(tpl.count(), \"row\", frFmtPct)\r\n \"频数在列合计中的比例\": tpl.fractionOf(tpl.count(), \"col\", frFmtPct)\r\n\r\n renderers:\r\n \"表格\": r[\"Table\"]\r\n \"表格内柱状图\": r[\"Table Barchart\"]\r\n \"热图\": r[\"Heatmap\"]\r\n \"行热图\": r[\"Row Heatmap\"]\r\n \"列热图\": r[\"Col Heatmap\"]\r\n \r\n if gcr\r\n $.pivotUtilities.locales.zh.gchart_renderers =\r\n \"折线图(g)\": gcr[\"Line Chart\"]\r\n \"柱形图(g)\": gcr[\"Bar Chart\"]\r\n \"堆栈柱形图(g)\": gcr[\"Stacked Bar Chart\"]\r\n \"面积图(g)\": gcr[\"Area Chart\"]\r\n $.pivotUtilities.locales.zh.renderers = $.extend(\r\n $.pivotUtilities.locales.zh.renderers,\r\n $.pivotUtilities.locales.zh.gchart_renderers)\r\n\r\n if d3r\r\n $.pivotUtilities.locales.zh.d3_renderers =\r\n \"树图\": d3r[\"Treemap\"]\r\n $.pivotUtilities.locales.zh.renderers = $.extend(\r\n $.pivotUtilities.locales.zh.renderers,\r\n $.pivotUtilities.locales.zh.d3_renderers)\r\n\r\n if c3r\r\n $.pivotUtilities.locales.zh.c3_renderers = \r\n \"折线图\": c3r[\"Line Chart\"]\r\n \"柱形图\": c3r[\"Bar Chart\"]\r\n \"堆栈柱形图\": c3r[\"Stacked Bar Chart\"]\r\n \"面积图\": c3r[\"Area Chart\"]\r\n \"散点图\": c3r[\"Scatter Chart\"]\r\n $.pivotUtilities.locales.zh.renderers = $.extend(\r\n $.pivotUtilities.locales.zh.renderers,\r\n $.pivotUtilities.locales.zh.c3_renderers)\r\n\r\n return $.pivotUtilities.locales.zh\r\n"]}
\ No newline at end of file
(function(){var e;(e=function(e){return"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){var t,r,i,o,s,a,l,n,c;return l=e.pivotUtilities.numberFormat,c=e.pivotUtilities.aggregatorTemplates,n=e.pivotUtilities.renderers,a=e.pivotUtilities.gchart_renderers,r=e.pivotUtilities.d3_renderers,t=e.pivotUtilities.c3_renderers,i=l({thousandsSep:",",decimalSep:"."}),o=l({digitsAfterDecimal:0,thousandsSep:",",decimalSep:"."}),s=l({digitsAfterDecimal:2,scaler:100,suffix:"%",thousandsSep:",",decimalSep:"."}),e.pivotUtilities.locales.zh={localeStrings:{renderError:"展示结果时出错。",computeError:"计算结果时出错。",uiRenderError:"展示界面时出错。",selectAll:"选择全部",selectNone:"全部不选",tooMany:"(因数据过多而无法列出)",filterResults:"输入值帮助筛选",totals:"合计",vs:"于",by:"分组于"},aggregators:{"频数":c.count(o),"非重复值的个数":c.countUnique(o),"列出非重复值":c.listUnique(", "),"求和":c.sum(i),"求和后取整":c.sum(o),"平均值":c.average(i),"最小值":c.min(i),"最大值":c.max(i),"两和之比":c.sumOverSum(i),"二项分布:置信度为80%时的区间上限":c.sumOverSumBound80(!0,i),"二项分布:置信度为80%时的区间下限":c.sumOverSumBound80(!1,i),"和在总计中的比例":c.fractionOf(c.sum(),"total",s),"和在行合计中的比例":c.fractionOf(c.sum(),"row",s),"和在列合计中的比例":c.fractionOf(c.sum(),"col",s),"频数在总计中的比例":c.fractionOf(c.count(),"total",s),"频数在行合计中的比例":c.fractionOf(c.count(),"row",s),"频数在列合计中的比例":c.fractionOf(c.count(),"col",s)},renderers:{"表格":n.Table,"表格内柱状图":n["Table Barchart"],"热图":n.Heatmap,"行热图":n["Row Heatmap"],"列热图":n["Col Heatmap"]}},a&&(e.pivotUtilities.locales.zh.gchart_renderers={"折线图(g)":a["Line Chart"],"柱形图(g)":a["Bar Chart"],"堆栈柱形图(g)":a["Stacked Bar Chart"],"面积图(g)":a["Area Chart"]},e.pivotUtilities.locales.zh.renderers=e.extend(e.pivotUtilities.locales.zh.renderers,e.pivotUtilities.locales.zh.gchart_renderers)),r&&(e.pivotUtilities.locales.zh.d3_renderers={"树图":r.Treemap},e.pivotUtilities.locales.zh.renderers=e.extend(e.pivotUtilities.locales.zh.renderers,e.pivotUtilities.locales.zh.d3_renderers)),t&&(e.pivotUtilities.locales.zh.c3_renderers={"折线图":t["Line Chart"],"柱形图":t["Bar Chart"],"堆栈柱形图":t["Stacked Bar Chart"],"面积图":t["Area Chart"],"散点图":t["Scatter Chart"]},e.pivotUtilities.locales.zh.renderers=e.extend(e.pivotUtilities.locales.zh.renderers,e.pivotUtilities.locales.zh.c3_renderers)),e.pivotUtilities.locales.zh})}).call(this);
//# sourceMappingURL=pivot.zh.min.js.map
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"), require("plotly.js"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery", "plotly.js"], pivotModule);
} else {
return pivotModule(jQuery, Plotly);
}
};
callWithJQuery(function($, Plotly) {
var makePlotlyChart, makePlotlyScatterChart;
makePlotlyChart = function(traceOptions, layoutOptions, transpose) {
if (traceOptions == null) {
traceOptions = {};
}
if (layoutOptions == null) {
layoutOptions = {};
}
if (transpose == null) {
transpose = false;
}
return function(pivotData, opts) {
var colKeys, data, datumKeys, defaults, fullAggName, groupByTitle, hAxisTitle, layout, result, rowKeys, titleText, traceKeys;
defaults = {
localeStrings: {
vs: "vs",
by: "by"
},
plotly: {}
};
opts = $.extend(true, {}, defaults, opts);
rowKeys = pivotData.getRowKeys();
colKeys = pivotData.getColKeys();
traceKeys = transpose ? colKeys : rowKeys;
if (traceKeys.length === 0) {
traceKeys.push([]);
}
datumKeys = transpose ? rowKeys : colKeys;
if (datumKeys.length === 0) {
datumKeys.push([]);
}
fullAggName = pivotData.aggregatorName;
if (pivotData.valAttrs.length) {
fullAggName += "(" + (pivotData.valAttrs.join(", ")) + ")";
}
data = traceKeys.map(function(traceKey) {
var datumKey, i, labels, len, trace, val, values;
values = [];
labels = [];
for (i = 0, len = datumKeys.length; i < len; i++) {
datumKey = datumKeys[i];
val = parseFloat(pivotData.getAggregator(transpose ? datumKey : traceKey, transpose ? traceKey : datumKey).value());
values.push(isFinite(val) ? val : null);
labels.push(datumKey.join('-') || ' ');
}
trace = {
name: traceKey.join('-') || fullAggName
};
trace.x = transpose ? values : labels;
trace.y = transpose ? labels : values;
return $.extend(trace, traceOptions);
});
if (transpose) {
hAxisTitle = pivotData.rowAttrs.join("-");
groupByTitle = pivotData.colAttrs.join("-");
} else {
hAxisTitle = pivotData.colAttrs.join("-");
groupByTitle = pivotData.rowAttrs.join("-");
}
titleText = fullAggName;
if (hAxisTitle !== "") {
titleText += " " + opts.localeStrings.vs + " " + hAxisTitle;
}
if (groupByTitle !== "") {
titleText += " " + opts.localeStrings.by + " " + groupByTitle;
}
layout = {
title: titleText,
hovermode: 'closest',
width: window.innerWidth / 1.4,
height: window.innerHeight / 1.4 - 50,
xaxis: {
title: transpose ? fullAggName : null,
automargin: true
},
yaxis: {
title: transpose ? null : fullAggName,
automargin: true
}
};
result = $("<div>").appendTo($("body"));
Plotly.newPlot(result[0], data, $.extend(layout, layoutOptions, opts.plotly));
return result.detach();
};
};
makePlotlyScatterChart = function() {
return function(pivotData, opts) {
var colKey, colKeys, data, defaults, i, j, layout, len, len1, renderArea, result, rowKey, rowKeys, v;
defaults = {
localeStrings: {
vs: "vs",
by: "by"
},
plotly: {}
};
opts = $.extend(true, {}, defaults, opts);
rowKeys = pivotData.getRowKeys();
if (rowKeys.length === 0) {
rowKeys.push([]);
}
colKeys = pivotData.getColKeys();
if (colKeys.length === 0) {
colKeys.push([]);
}
data = {
x: [],
y: [],
text: [],
type: 'scatter',
mode: 'markers'
};
for (i = 0, len = rowKeys.length; i < len; i++) {
rowKey = rowKeys[i];
for (j = 0, len1 = colKeys.length; j < len1; j++) {
colKey = colKeys[j];
v = pivotData.getAggregator(rowKey, colKey).value();
if (v != null) {
data.x.push(colKey.join('-'));
data.y.push(rowKey.join('-'));
data.text.push(v);
}
}
}
layout = {
title: pivotData.rowAttrs.join("-") + ' vs ' + pivotData.colAttrs.join("-"),
hovermode: 'closest',
xaxis: {
title: pivotData.colAttrs.join('-'),
domain: [0.1, 1.0]
},
yaxis: {
title: pivotData.rowAttrs.join('-')
},
width: window.innerWidth / 1.5,
height: window.innerHeight / 1.4 - 50
};
renderArea = $("<div>", {
style: "display:none;"
}).appendTo($("body"));
result = $("<div>").appendTo(renderArea);
Plotly.plot(result[0], [data], $.extend(layout, opts.plotly));
result.detach();
renderArea.remove();
return result;
};
};
return $.pivotUtilities.plotly_renderers = {
"Horizontal Bar Chart": makePlotlyChart({
type: 'bar',
orientation: 'h'
}, {
barmode: 'group'
}, true),
"Horizontal Stacked Bar Chart": makePlotlyChart({
type: 'bar',
orientation: 'h'
}, {
barmode: 'stack'
}, true),
"Bar Chart": makePlotlyChart({
type: 'bar'
}, {
barmode: 'group'
}),
"Stacked Bar Chart": makePlotlyChart({
type: 'bar'
}, {
barmode: 'stack'
}),
"Line Chart": makePlotlyChart(),
"Scatter Chart": makePlotlyScatterChart()
};
});
}).call(this);
//# sourceMappingURL=plotly_renderers.js.map
(function(){var t;(t=function(t){return"object"==typeof exports&&"object"==typeof module?t(require("jquery"),require("plotly.js")):"function"==typeof define&&define.amd?define(["jquery","plotly.js"],t):t(jQuery,Plotly)})(function(t,e){var o,n;return o=function(o,n,r){return null==o&&(o={}),null==n&&(n={}),null==r&&(r=!1),function(i,l){var a,s,u,d,h,p,y,g,c,v,j,f;return d={localeStrings:{vs:"vs",by:"by"},plotly:{}},l=t.extend(!0,{},d,l),v=i.getRowKeys(),a=i.getColKeys(),f=r?a:v,0===f.length&&f.push([]),u=r?v:a,0===u.length&&u.push([]),h=i.aggregatorName,i.valAttrs.length&&(h+="("+i.valAttrs.join(", ")+")"),s=f.map(function(e){var n,l,a,s,d,p,y;for(y=[],a=[],l=0,s=u.length;l<s;l++)n=u[l],p=parseFloat(i.getAggregator(r?n:e,r?e:n).value()),y.push(isFinite(p)?p:null),a.push(n.join("-")||" ");return d={name:e.join("-")||h},d.x=r?y:a,d.y=r?a:y,t.extend(d,o)}),r?(y=i.rowAttrs.join("-"),p=i.colAttrs.join("-")):(y=i.colAttrs.join("-"),p=i.rowAttrs.join("-")),j=h,""!==y&&(j+=" "+l.localeStrings.vs+" "+y),""!==p&&(j+=" "+l.localeStrings.by+" "+p),g={title:j,hovermode:"closest",width:window.innerWidth/1.4,height:window.innerHeight/1.4-50,xaxis:{title:r?h:null,automargin:!0},yaxis:{title:r?null:h,automargin:!0}},c=t("<div>").appendTo(t("body")),e.newPlot(c[0],s,t.extend(g,n,l.plotly)),c.detach()}},n=function(){return function(o,n){var r,i,l,a,s,u,d,h,p,y,g,c,v,j;for(a={localeStrings:{vs:"vs",by:"by"},plotly:{}},n=t.extend(!0,{},a,n),v=o.getRowKeys(),0===v.length&&v.push([]),i=o.getColKeys(),0===i.length&&i.push([]),l={x:[],y:[],text:[],type:"scatter",mode:"markers"},s=0,h=v.length;s<h;s++)for(c=v[s],u=0,p=i.length;u<p;u++)r=i[u],j=o.getAggregator(c,r).value(),null!=j&&(l.x.push(r.join("-")),l.y.push(c.join("-")),l.text.push(j));return d={title:o.rowAttrs.join("-")+" vs "+o.colAttrs.join("-"),hovermode:"closest",xaxis:{title:o.colAttrs.join("-"),domain:[.1,1]},yaxis:{title:o.rowAttrs.join("-")},width:window.innerWidth/1.5,height:window.innerHeight/1.4-50},y=t("<div>",{style:"display:none;"}).appendTo(t("body")),g=t("<div>").appendTo(y),e.plot(g[0],[l],t.extend(d,n.plotly)),g.detach(),y.remove(),g}},t.pivotUtilities.plotly_renderers={"Horizontal Bar Chart":o({type:"bar",orientation:"h"},{barmode:"group"},!0),"Horizontal Stacked Bar Chart":o({type:"bar",orientation:"h"},{barmode:"stack"},!0),"Bar Chart":o({type:"bar"},{barmode:"group"}),"Stacked Bar Chart":o({type:"bar"},{barmode:"stack"}),"Line Chart":o(),"Scatter Chart":n()}})}).call(this);
//# sourceMappingURL=plotly_renderers.min.js.map
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %><%@
taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %><%@
taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@
taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<liferay-theme:defineObjects />
<portlet:defineObjects />
\ No newline at end of file
<%@ include file="/init.jsp" %>
<!doctype html>
<html>
<body>
<div id="output"></div>
<!-- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script> -->
<script src="dist/pivot.js"></script>
<link rel="stylesheet" type="text/css" href="dist/pivot.css">
<script>
$(function(){
$("#output").pivotUI(
[
{color: "blue", shape: "circle"},
{color: "red", shape: "triangle"},
{color: "yellow", shape: "circle"},
{color: "yellow", shape: "triangle"}
],
{
rows: ["color"],
cols: ["shape"]
}
);
});
</script>
</body>
</html>
\ No newline at end of file
javax.portlet.display-name.pivot=pivot JSP
javax.portlet.keywords.pivot=pivot,jsp
javax.portlet.short-title.pivot=pivot JSP
javax.portlet.title.pivot=pivot JSP Portlet
pivot.caption=Hello from pivot JSP!
\ No newline at end of file
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
/> />
<li> <li>
<div class="date color_red">${dateUtil.getDate(entry.getModifiedDate(), dateFormat, locale)}</div> <div class="date color_red">${dateUtil.getDate(entry.getModifiedDate(), dateFormat, locale)}</div>
<a href="${viewURL}"> <a href="/topic-event/-/asset_publisher/Q1yD746PoYtv/content/${assetRenderer.getUrlTitle()}?redirect=topical-events">
${entry.getTitle(locale)} ${entry.getTitle(locale)}
</a> </a>
</li> </li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment