chore: 添加多个图片和资源文件

添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
This commit is contained in:
2025-06-15 13:04:37 +08:00
parent 1e61dc3970
commit 7e47ce238b
13220 changed files with 1377028 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+42
View File
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>
<head>
<title>WebDataRocks</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="webdatarocks.min.css" rel="stylesheet" />
<script src="webdatarocks.toolbar.min.js"></script>
<script src="webdatarocks.js"></script>
</head>
<body>
<div id="wdr-component"></div>
<script>
var pivot = new WebDataRocks({
container: "#wdr-component",
toolbar: true,
beforetoolbarcreated: customizeToolbar,
// report: {
// filename: "admin.csv",
// },
global: {
localization: "./zh.json"
}
});
function customizeToolbar(toolbar) {
var tabs = toolbar.getTabs(); // get all tabs from the toolbar
toolbar.getTabs = function() {
tabs[0].menu=undefined;
tabs[0].id="reflash";
tabs[0].title="更新数据";
tabs[0].icon='<svg t="1629769424436" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3255" width="36" height="36"><path d="M917.8 111.2l-84.6 84.6-2.5-7.4C743.5 106.3 641.5 64 517.1 64s-231.5 42.3-318.6 129.4C111.3 280.5 69 387.5 69 511.9S111.3 740.8 198.4 828c87.1 87.1 194.1 132 318.6 132s229-44.9 316-132c47.2-44.8 79.7-94.6 102-151.8l-208.9-79.7c-10 24.9-29.8 49.8-49.8 72.2-44.8 44.9-97.1 67.3-159.2 67.3s-114.5-22.4-159.3-67.2c-42.3-42.3-64.7-94.5-64.7-156.8s22.4-114.5 64.7-159.3c44.8-42.3 97.1-64.7 159.3-64.7 59.7 0 112 19.9 154.3 59.7l14.9-12.5-14.9 12.5 4.9 4.9-84.6 84.6c-7.4 4.9-7.4 10-10 14.9-2.5 7.5-2.5 10 0 12.5 2.5 4.9 4.9 7.4 10 7.4l333.5 2.5c2.5 0 7.5-2.5 12.5-2.5 4.9-4.9 7.5-10 12.5-14.9 2.5-4.9 4.9-10 4.9-12.5l-4.9-333.5v-2.5c0-4.9-2.5-4.9-4.9-7.4 0 0-2.5 0-2.5-2.5-2.5 0-4.9 2.5-10 2.5-5.1 2.6-12.6 5.1-15 10z" p-id="3256"></path></svg>';
tabs[0].handler=function(){
pivot.updateData({filename: 'admin.csv'});
}
return tabs;
}
}
</script>
</body>
</html>
@@ -0,0 +1,41 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="webdatarocks-icons" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
<glyph unicode="&#xe900;" glyph-name="arrow-down" d="M798.133 371.467c-16.533 16.533-43.733 16.533-60.267 0l-183.2-183.2v579.733c0 23.467-19.2 42.667-42.667 42.667s-42.667-19.2-42.667-42.667v-579.733l-183.2 183.2c-16.533 16.533-43.733 16.533-60.267 0s-16.533-43.733 0-60.267l256-256c0.533-0.533 1.067-1.067 1.6-1.6 0 0 0 0 0 0s0.267-0.267 0.267-0.267c0 0 0 0 0.267-0.267 0 0 0 0 0.267-0.267 0 0 0.267-0.267 0.267-0.267s0 0 0 0 0.267-0.267 0.267-0.267c0 0 0 0 0 0 3.2-2.667 6.4-4.533 9.867-6.133 0 0 0 0 0.267 0 0 0 0 0 0.267 0 4.533-1.867 9.6-3.2 14.933-3.467 0 0 0 0 0 0 0.267 0 0.267 0 0.533 0 0 0 0 0 0 0s0.267 0 0.267 0c0 0 0.267 0 0.267 0s0.267 0 0.267 0 0.267 0 0.533 0 0.267 0 0.533 0c0 0 0.267 0 0.267 0s0.267 0 0.267 0c0 0 0.267 0 0.267 0s0 0 0 0c0.267 0 0.267 0 0.533 0 0 0 0 0 0 0 5.333 0.267 10.4 1.333 14.933 3.467 0 0 0 0 0 0s0.267 0 0.267 0c0 0 0.267 0 0.267 0s0 0 0 0c3.2 1.333 6.133 3.2 9.067 5.6 0 0 0 0 0 0s0.267 0.267 0.267 0.267c0 0 0 0 0 0s0.267 0.267 0.267 0.267c0 0 0 0 0.267 0.267 0 0 0 0 0.267 0.267 0 0 0.267 0.267 0.267 0.267s0 0 0 0c0.8 0.533 1.333 1.333 2.133 2.133l255.733 255.733c17.333 16.8 17.333 44 0.533 60.533z" />
<glyph unicode="&#xe901;" glyph-name="check" d="M883.467 712.8c-16.533 16.533-43.733 16.533-60.267 0l-439.2-439.2-183.2 183.2c-16.533 16.533-43.733 16.533-60.267 0s-16.533-43.733 0-60.267l213.333-213.333c8.267-8.267 19.2-12.533 30.133-12.533s21.867 4.267 30.133 12.533l469.333 469.333c16.8 16.533 16.8 43.733 0 60.267z" />
<glyph unicode="&#xe902;" glyph-name="chevron-down" d="M798.133 584.8c-16.533 16.533-43.733 16.533-60.267 0l-225.867-225.867-225.867 225.867c-16.533 16.533-43.733 16.533-60.267 0s-16.533-43.733 0-60.267l256-256c8.267-8.267 19.2-12.533 30.133-12.533s21.867 4.267 30.133 12.533l256 256c16.8 16.533 16.8 43.733 0 60.267z" />
<glyph unicode="&#xe903;" glyph-name="chevron-right" d="M670.133 456.8l-256 256c-16.533 16.533-43.733 16.533-60.267 0s-16.533-43.733 0-60.267l225.867-225.867-225.867-225.867c-16.533-16.533-16.533-43.733 0-60.267 8.267-8.267 19.2-12.533 30.133-12.533s21.867 4.267 30.133 12.533l256 256c16.8 16.533 16.8 43.733 0 60.267z" />
<glyph unicode="&#xe904;" glyph-name="chevron-up" d="M798.133 328.8l-256 256c-16.533 16.533-43.733 16.533-60.267 0l-256-256c-16.533-16.533-16.533-43.733 0-60.267s43.733-16.533 60.267 0l225.867 225.867 225.867-225.867c8.267-8.267 19.2-12.533 30.133-12.533s21.867 4.267 30.133 12.533c16.8 16.533 16.8 43.733 0 60.267z" />
<glyph unicode="&#xe907;" glyph-name="menu" d="M896 469.334h-768c-23.467 0-42.667-19.2-42.667-42.667s19.2-42.667 42.667-42.667h768c23.467 0 42.667 19.2 42.667 42.667s-19.2 42.667-42.667 42.667zM128 640h768c23.467 0 42.667 19.2 42.667 42.667s-19.2 42.667-42.667 42.667h-768c-23.467 0-42.667-19.2-42.667-42.667s19.2-42.667 42.667-42.667zM896 213.334h-768c-23.467 0-42.667-19.2-42.667-42.667s19.2-42.667 42.667-42.667h768c23.467 0 42.667 19.2 42.667 42.667s-19.2 42.667-42.667 42.667z" />
<glyph unicode="&#xe908;" glyph-name="x" d="M572.267 426.667l225.867 225.867c16.533 16.533 16.533 43.733 0 60.267s-43.733 16.533-60.267 0l-225.867-225.867-225.867 225.867c-16.533 16.533-43.733 16.533-60.267 0s-16.533-43.733 0-60.267l225.867-225.867-225.867-225.867c-16.533-16.533-16.533-43.733 0-60.267 8.267-8.267 19.2-12.533 30.133-12.533s21.867 4.267 30.133 12.533l225.867 225.867 225.867-225.867c8.267-8.267 19.2-12.533 30.133-12.533s21.867 4.267 30.133 12.533c16.533 16.533 16.533 43.733 0 60.267l-225.867 225.867z" />
<glyph unicode="&#xe909;" glyph-name="act_add" d="M512 789.333c-188.513 0-341.333-152.82-341.333-341.333s152.82-341.333 341.333-341.333c188.513 0 341.333 152.82 341.333 341.333s-152.82 341.333-341.333 341.333zM682.667 411.477h-134.144v-134.144h-73.045v134.144h-134.144v73.045h134.144v134.144h73.045v-134.144h134.144z" />
<glyph unicode="&#xe90a;" glyph-name="act_calc" d="M763.221 806.4h-502.443c-31.123-0.941-55.995-26.396-55.995-57.661 0-0.489 0.006-0.976 0.018-1.462l-0.001-598.627c-0.011-0.414-0.017-0.901-0.017-1.39 0-31.264 24.872-56.72 55.909-57.659l502.529-0.002c31.123 0.941 55.995 26.396 55.995 57.661 0 0.489-0.006 0.976-0.018 1.462l0.001 598.627c0.011 0.414 0.017 0.901 0.017 1.39 0 31.264-24.872 56.72-55.909 57.659zM387.755 189.611c0.003-0.106 0.004-0.231 0.004-0.356 0-8.621-6.801-15.654-15.33-16.027l-79.906-0.001c-8.563 0.374-15.364 7.407-15.364 16.028 0 0.125 0.001 0.25 0.004 0.374v82.584c-0.003 0.106-0.004 0.231-0.004 0.356 0 8.621 6.801 15.654 15.33 16.027l78.199 0.001c8.563-0.374 15.364-7.407 15.364-16.028 0-0.125-0.001-0.25-0.004-0.374zM387.755 372.565c0.003-0.106 0.004-0.231 0.004-0.356 0-8.621-6.801-15.654-15.33-16.027l-79.906-0.001c-8.563 0.374-15.364 7.407-15.364 16.028 0 0.125 0.001 0.25 0.004 0.374v82.584c-0.003 0.106-0.004 0.231-0.004 0.356 0 8.621 6.801 15.654 15.33 16.027l78.199 0.001c8.563-0.374 15.364-7.407 15.364-16.028 0-0.125-0.001-0.25-0.004-0.374zM568.32 189.611c0.003-0.106 0.004-0.231 0.004-0.356 0-8.621-6.801-15.654-15.33-16.027l-79.906-0.001c-8.563 0.374-15.364 7.407-15.364 16.028 0 0.125 0.001 0.25 0.004 0.374v82.584c-0.003 0.106-0.004 0.231-0.004 0.356 0 8.621 6.801 15.654 15.33 16.027l78.199 0.001c8.563-0.374 15.364-7.407 15.364-16.028 0-0.125-0.001-0.25-0.004-0.374zM568.32 372.565c0.003-0.106 0.004-0.231 0.004-0.356 0-8.621-6.801-15.654-15.33-16.027l-79.906-0.001c-8.563 0.374-15.364 7.407-15.364 16.028 0 0.125 0.001 0.25 0.004 0.374v82.584c-0.003 0.106-0.004 0.231-0.004 0.356 0 8.621 6.801 15.654 15.33 16.027l78.199 0.001c8.563-0.374 15.364-7.407 15.364-16.028 0-0.125-0.001-0.25-0.004-0.374zM748.885 189.611c0.003-0.106 0.004-0.231 0.004-0.356 0-8.621-6.801-15.654-15.33-16.027l-80.247-0.001c-8.563 0.374-15.364 7.407-15.364 16.028 0 0.125 0.001 0.25 0.004 0.374v82.584c-0.003 0.106-0.004 0.231-0.004 0.356 0 8.621 6.801 15.654 15.33 16.027l78.199 0.001c8.563-0.374 15.364-7.407 15.364-16.028 0-0.125-0.001-0.25-0.004-0.374zM748.885 372.565c0.003-0.106 0.004-0.231 0.004-0.356 0-8.621-6.801-15.654-15.33-16.027l-80.247-0.001c-8.563 0.374-15.364 7.407-15.364 16.028 0 0.125 0.001 0.25 0.004 0.374v82.584c-0.003 0.106-0.004 0.231-0.004 0.356 0 8.621 6.801 15.654 15.33 16.027l78.199 0.001c8.563-0.374 15.364-7.407 15.364-16.028 0-0.125-0.001-0.25-0.004-0.374zM748.885 570.539c0.003-0.106 0.004-0.231 0.004-0.356 0-8.621-6.801-15.654-15.33-16.027l-441.036-0.001c-8.563 0.374-15.364 7.407-15.364 16.028 0 0.125 0.001 0.25 0.004 0.374v147.779c-0.003 0.106-0.004 0.231-0.004 0.356 0 8.621 6.801 15.654 15.33 16.027l438.988 0.001c8.563-0.374 15.364-7.407 15.364-16.028 0-0.125-0.001-0.25-0.004-0.374z" />
<glyph unicode="&#xe90e;" glyph-name="act_filter" d="M844.8 806.4h-665.6l256-358.4v-358.4l153.6 153.6v204.8z" />
<glyph unicode="&#xe90f;" glyph-name="act_font" d="M415.744 259.584h192.171l34.133-118.784h143.019l-197.291 614.4h-151.893l-196.949-614.4h142.336zM512 588.971v0l63.488-217.429h-128.341z" />
<glyph unicode="&#xe910;" glyph-name="act_move" d="M307.2 627.2h409.6v-51.2h-409.6v51.2zM307.2 473.6h409.6v-51.2h-409.6v51.2zM307.2 320h409.6v-51.2h-409.6v51.2z" />
<glyph unicode="&#xe913;" glyph-name="act_search" d="M647.089 366.868h-28.751l-10.634 10.634c35.681 39.692 57.503 92.468 57.503 150.34 0 0.315-0.001 0.631-0.002 0.946 0 129.155-104.74 233.896-233.944 233.896s-233.945-104.741-233.945-233.945c0-129.204 104.741-233.945 233.945-233.945 0.266-0.001 0.582-0.002 0.897-0.002 57.872 0 110.647 21.822 150.547 57.686l10.427-10.817v-28.751l179.988-179.988 53.957 53.957zM430.868 366.868c-89.399 0-161.871 72.472-161.871 161.871s72.472 161.871 161.871 161.871c89.399 0 161.871-72.472 161.871-161.871 0-0.117 0-0.256 0-0.394 0-89.181-72.296-161.477-161.477-161.477-0.139 0-0.277 0-0.416 0.001z" />
<glyph unicode="&#xe914;" glyph-name="act_sigma" d="M256 684.308h512v-111.458h-90.978v32.689h-226.462l146.511-157.538-146.511-157.538h226.855v30.72h90.585v-109.489h-512l222.523 236.308z" />
<glyph unicode="&#xe915;" glyph-name="act_table_settings" d="M158.208 325.12l67.072-112.64c6.119-9.974 16.963-16.526 29.338-16.526 3.788 0 7.433 0.614 10.84 1.748l-0.242-0.070 98.816 32.256c7.52-4.955 16.404-10.063 25.589-14.659l1.547-0.701 18.432-98.816c3.403-15.046 16.659-26.113 32.499-26.113 0.095 0 0.189 0 0.283 0.001h134.642c0.080-0.001 0.174-0.001 0.269-0.001 15.84 0 29.096 11.067 32.457 25.89l0.042 0.223 20.48 99.328c10.742 5.309 19.626 10.417 28.174 15.996l-1.038-0.636 98.816-32.256c3.165-1.064 6.81-1.678 10.598-1.678 12.375 0 23.219 6.552 29.253 16.377l0.085 0.149 67.072 112.64c2.846 4.665 4.531 10.308 4.531 16.345 0 9.904-4.536 18.749-11.643 24.57l-0.056 0.045-75.776 66.048c0 5.12 0 10.24 0 15.36s0 10.24 0 15.36l78.848 66.56c7.164 5.866 11.699 14.711 11.699 24.615 0 6.037-1.685 11.68-4.611 16.485l0.079-0.14-67.584 112.64c-6.165 9.733-16.877 16.101-29.076 16.101-3.885 0-7.62-0.646-11.102-1.836l0.241 0.072-98.816-32.256c-7.518 4.952-16.401 10.061-25.586 14.657l-1.55 0.703-18.432 99.328c-3.358 15.105-16.642 26.23-32.525 26.23-0.987 0-1.964-0.043-2.928-0.127l0.125 0.009h-134.144c-0.84 0.075-1.816 0.118-2.803 0.118-15.882 0-29.166-11.126-32.483-26.009l-0.041-0.222-20.48-99.328c-10.748-5.315-19.631-10.423-28.182-16l1.046 0.64-96.768 32.768c-3.241 1.119-6.975 1.765-10.86 1.765-12.199 0-22.911-6.368-28.993-15.96l-67.155-113.292c-2.846-4.665-4.531-10.308-4.531-16.345 0-9.904 4.536-18.749 11.643-24.57l0.056-0.045 78.336-66.56c0-5.12 0-10.24 0-15.36s0-10.24 0-15.36l-78.848-66.56c-6.964-5.862-11.359-14.585-11.359-24.333 0-6.153 1.75-11.897 4.781-16.761l-0.078 0.134zM512 578.56c70.322-2.276 126.464-59.83 126.464-130.496 0-72.106-58.454-130.56-130.56-130.56-72.084 0-130.523 58.417-130.56 130.492v0.004c1.144 72.358 60.070 130.576 132.592 130.576 0.726 0 1.45-0.006 2.173-0.017l-0.109 0.001z" />
<glyph unicode="&#xe948;" glyph-name="notif_info" d="M588.8 704c0-42.415-34.385-76.8-76.8-76.8s-76.8 34.385-76.8 76.8c0 42.415 34.385 76.8 76.8 76.8s76.8-34.385 76.8-76.8zM460.8 550.4h102.4v-435.2h-102.4v435.2z" />
<glyph unicode="&#xe949;" glyph-name="notif_warning" d="M563.2 179.2c0-28.277-22.923-51.2-51.2-51.2s-51.2 22.923-51.2 51.2c0 28.277 22.923 51.2 51.2 51.2s51.2-22.923 51.2-51.2zM435.2 768l25.6-435.2h102.4l25.6 435.2h-153.6z" />
<glyph unicode="&#xe94e;" glyph-name="preloader" d="M512.235 21.333c-141.739 0-274.133 71.851-352.768 187.477v-174.869h-34.155v256h256.149v-34.133h-211.008c69.077-122.56 200.384-200.384 341.781-200.384 211.221 0 387.2 171.819 392.277 382.997l34.155-0.768c-5.547-229.589-196.843-416.32-426.432-416.32zM85.675 441.088l17.067 0.256-17.173 1.92c-0.149 1.557-0.235 3.115-0.235 4.736 0 235.264 191.531 426.667 426.901 426.667 146.688 0 281.195-74.923 358.976-195.541v170.987h34.155v-256.021h-256.171v34.176h212.053c-67.179 129.835-201.408 212.309-349.013 212.309-216.555 0-392.747-176.128-392.747-392.555l0.32-6.421-34.133-0.512z" />
<glyph unicode="&#xe950;" glyph-name="kpi_status_good" d="M512 960c-282.773 0-512-229.227-512-512s229.227-512 512-512 512 229.227 512 512-229.227 512-512 512z" />
<glyph unicode="&#xe951;" glyph-name="kpi_status_bad" d="M512 960c-282.773 0-512-229.227-512-512s229.227-512 512-512 512 229.227 512 512-229.227 512-512 512zM512 64c-212.075 0-384 171.925-384 384s171.925 384 384 384c212.075 0 384-171.925 384-384s-171.925-384-384-384z" />
<glyph unicode="&#xe952;" glyph-name="kpi_status_ok" d="M512 960c-282.773 0-512-229.227-512-512s229.227-512 512-512 512 229.227 512 512-229.227 512-512 512zM128 448c0 212.075 171.925 384 384 384v-768c-212.075 0-384 171.925-384 384z" />
<glyph unicode="&#xe953;" glyph-name="kpi_status_rising" d="M512 960c-282.667 0-512-229.333-512-512s229.333-512 512-512 512 229.333 512 512-229.333 512-512 512zM128 448c0 212.053 171.947 384 384 384v-384h-384z" />
<glyph unicode="&#xe954;" glyph-name="kpi_status_risk" d="M512 960c-282.667 0-512-229.333-512-512s229.333-512 512-512 512 229.333 512 512-229.333 512-512 512zM512 64c-212.053 0-384 171.947-384 384s171.947 384 384 384v-384h384c0-212.053-171.947-384-384-384z" />
<glyph unicode="&#xe97b;" glyph-name="spinner2" d="M1024 448c-1.278 66.862-15.784 133.516-42.576 194.462-26.704 61-65.462 116.258-113.042 161.92-47.552 45.696-103.944 81.82-164.984 105.652-61.004 23.924-126.596 35.352-191.398 33.966-64.81-1.282-129.332-15.374-188.334-41.356-59.048-25.896-112.542-63.47-156.734-109.576-44.224-46.082-79.16-100.708-102.186-159.798-23.114-59.062-34.128-122.52-32.746-185.27 1.286-62.76 14.964-125.148 40.134-182.206 25.088-57.1 61.476-108.828 106.11-151.548 44.61-42.754 97.472-76.504 154.614-98.72 57.118-22.304 118.446-32.902 179.142-31.526 60.708 1.29 120.962 14.554 176.076 38.914 55.15 24.282 105.116 59.48 146.366 102.644 41.282 43.14 73.844 94.236 95.254 149.43 13.034 33.458 21.88 68.4 26.542 103.798 1.246-0.072 2.498-0.12 3.762-0.12 35.346 0 64 28.652 64 64 0 1.796-0.094 3.572-0.238 5.332h0.238zM922.306 278.052c-23.472-53.202-57.484-101.4-99.178-141.18-41.67-39.81-91-71.186-144.244-91.79-53.228-20.678-110.29-30.452-166.884-29.082-56.604 1.298-112.596 13.736-163.82 36.474-51.25 22.666-97.684 55.49-135.994 95.712-38.338 40.198-68.528 87.764-88.322 139.058-19.87 51.284-29.228 106.214-27.864 160.756 1.302 54.552 13.328 108.412 35.254 157.69 21.858 49.3 53.498 93.97 92.246 130.81 38.73 36.868 84.53 65.87 133.874 84.856 49.338 19.060 102.136 28.006 154.626 26.644 52.5-1.306 104.228-12.918 151.562-34.034 47.352-21.050 90.256-51.502 125.624-88.782 35.396-37.258 63.21-81.294 81.39-128.688 18.248-47.392 26.782-98.058 25.424-148.496h0.238c-0.144-1.76-0.238-3.536-0.238-5.332 0-33.012 24.992-60.174 57.086-63.624-6.224-34.822-16.53-68.818-30.78-100.992z" />
<glyph unicode="&#xe994;" glyph-name="cog" d="M933.79 349.75c-53.726 93.054-21.416 212.304 72.152 266.488l-100.626 174.292c-28.75-16.854-62.176-26.518-97.846-26.518-107.536 0-194.708 87.746-194.708 195.99h-201.258c0.266-33.41-8.074-67.282-25.958-98.252-53.724-93.056-173.156-124.702-266.862-70.758l-100.624-174.292c28.97-16.472 54.050-40.588 71.886-71.478 53.638-92.908 21.512-211.92-71.708-266.224l100.626-174.292c28.65 16.696 61.916 26.254 97.4 26.254 107.196 0 194.144-87.192 194.7-194.958h201.254c-0.086 33.074 8.272 66.57 25.966 97.218 53.636 92.906 172.776 124.594 266.414 71.012l100.626 174.29c-28.78 16.466-53.692 40.498-71.434 71.228zM512 240.668c-114.508 0-207.336 92.824-207.336 207.334 0 114.508 92.826 207.334 207.336 207.334 114.508 0 207.332-92.826 207.332-207.334-0.002-114.51-92.824-207.334-207.332-207.334z" />
<glyph unicode="&#xea0c;" glyph-name="info" d="M448 656c0 26.4 21.6 48 48 48h32c26.4 0 48-21.6 48-48v-32c0-26.4-21.6-48-48-48h-32c-26.4 0-48 21.6-48 48v32zM640 192h-256v64h64v192h-64v64h192v-256h64zM512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512 32c-229.75 0-416 186.25-416 416s186.25 416 416 416 416-186.25 416-416-186.25-416-416-416z" />
<glyph unicode="&#xea3a;" glyph-name="arrow-up2" d="M877.254 557.254l-320 320c-24.992 24.994-65.514 24.994-90.508 0l-320-320c-24.994-24.994-24.994-65.516 0-90.51 24.994-24.996 65.516-24.996 90.51 0l210.744 210.746v-613.49c0-35.346 28.654-64 64-64s64 28.654 64 64v613.49l210.746-210.746c12.496-12.496 28.876-18.744 45.254-18.744s32.758 6.248 45.254 18.746c24.994 24.994 24.994 65.514 0 90.508z" />
<glyph unicode="&#xea3b;" glyph-name="arrow-up-right2" d="M237.254 82.746l530.746 530.744v-229.49c0-35.346 28.654-64 64-64s64 28.654 64 64v384c0 25.884-15.594 49.222-39.508 59.126-7.924 3.284-16.242 4.84-24.492 4.838v0.036h-384c-35.346 0-64-28.654-64-64 0-35.348 28.654-64 64-64h229.49l-530.744-530.746c-12.498-12.496-18.746-28.876-18.746-45.254s6.248-32.758 18.746-45.254c24.992-24.994 65.516-24.994 90.508 0z" />
<glyph unicode="&#xea3c;" glyph-name="arrow-right2" d="M621.254 82.746l320 320c24.994 24.992 24.994 65.516 0 90.51l-320 320c-24.994 24.992-65.516 24.992-90.51 0-24.994-24.994-24.994-65.516 0-90.51l210.746-210.746h-613.49c-35.346 0-64-28.654-64-64s28.654-64 64-64h613.49l-210.746-210.746c-12.496-12.496-18.744-28.876-18.744-45.254s6.248-32.758 18.744-45.254c24.994-24.994 65.516-24.994 90.51 0z" />
<glyph unicode="&#xea3d;" glyph-name="arrow-down-right2" d="M146.746 722.746l530.742-530.746h-229.488c-35.346 0-64-28.654-64-64s28.654-64 64-64h384c25.884 0 49.222 15.594 59.126 39.508 3.284 7.924 4.84 16.242 4.838 24.492h0.036v384c0 35.346-28.654 64-64 64-35.348 0-64-28.654-64-64v-229.49l-530.746 530.744c-12.496 12.498-28.874 18.746-45.254 18.746s-32.758-6.248-45.254-18.746c-24.994-24.992-24.994-65.516 0-90.508z" />
<glyph unicode="&#xea3e;" glyph-name="arrow-down22" d="M877.254 338.746l-320-320c-24.992-24.994-65.514-24.994-90.508 0l-320 320c-24.994 24.994-24.994 65.516 0 90.51 24.994 24.996 65.516 24.996 90.51 0l210.744-210.746v613.49c0 35.346 28.654 64 64 64s64-28.654 64-64v-613.49l210.746 210.746c12.496 12.496 28.876 18.744 45.254 18.744s32.758-6.248 45.254-18.746c24.994-24.994 24.994-65.514 0-90.508z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,117 @@
@import "..\webdatarocks-base.less";
@font-family: Arial, sans-serif;
@font-size: 12px;
@font-size-mobile: 14px;
/* ===== theme colors ===== */
/* ===== not used in webdatarocks-base.less directly; used in this file to define bg, border and other colors ===== */
@theme-color: #868e94;
@theme-color-dark: #d5d5d5;
@theme-color-superdark: #868e94;
@theme-color-midlight: #303030; //not used
@theme-color-light: #303030; //not used
@theme-color-superlight: #303030;
@theme-color-supersuperlight: #424242;
/* ===== basic grey colors, common for all themes ===== */
@theme-base-color: #999;
@theme-base-color-dark: #555;
@theme-base-color-superdark: #3c3c3c;
@theme-base-color-midlight: @theme-color;
@theme-base-color-light: @theme-color;
@theme-base-color-superlight: #f7f7f7;
@theme-base-color-supersuperlight: #fbfbfb;
/* ===== text colors ===== */
@theme-text-color: #f2f2f2;
@theme-text-color-inverted: #212121;
@theme-text-color-midlight: @theme-text-color;
@theme-text-color-light: #d5d5d5;
@theme-text-color-superlight: #cecece;
@toolbar-text-color: #bababa;
/* ===== background colors ===== */
@background-base-color: #212121;
@background-ui-element-base-color: #212121;
@ui-background-dark: @theme-color;
@ui-background: @theme-color;
@ui-background-light: @theme-color-superlight;
@ui-background-superlight: #303030;
/* ===== border colors ===== */
@ui-border-color-dark: @theme-color;
@ui-border-color: @theme-color;//#999;
@ui-border-color-light: #424242;//@theme-color-light;//#d5d5d5;
@ui-border-color-superlight: @theme-color-superlight;
@ui-border-dark: 1px solid @ui-border-color;
@ui-border: 1px solid @ui-border-color;
@ui-border-light: 1px solid @ui-border-color-light;
@ui-border-superlight: 1px solid @ui-border-color-superlight;
/* ===== grid ===== */
@grid-sheet-header-text-color: @theme-color;
@grid-sheet-header-color: #303030;
@grid-sheet-header-border-color: #424242;
@grid-sheet-header-border: 1px solid @grid-sheet-header-border-color;
@grid-icon-color: @theme-text-color-midlight;
@grid-table-header-text-color: @theme-text-color-midlight;
@grid-table-header-color: @theme-color-supersuperlight;
@grid-table-header-border-color: #424242;
@grid-table-header-border: 1px solid @grid-table-header-border-color;
@grid-filter-color: #515151;
@grid-filter-color-hover: @theme-color;
@grid-filter-text-color: #f2f2f2;
@grid-filter-subtext-color: @grid-filter-text-color;
@grid-filter-icon-color: @grid-filter-text-color;
@grid-cell-color: @background-base-color;
@grid-cell-text-color: @theme-text-color;
@grid-cell-border-color: #303030;
@grid-cell-border: 1px solid @grid-cell-border-color;
@grid-drilldown-link-text-color: #bababa;
@grid-selection-canvas-color: rgba(134, 142, 148, 0.2);
@grid-selection-canvas-border: 2px solid @theme-base-color-light;
@grid-auto-calculation-bar: #515151;
/* ===== ui ===== */
@ui-component-border: @ui-border-light;
@ui-pop-up-border: @ui-border-light;
@ui-element-border-color: @ui-border-color-light;
@ui-element-border: @ui-border-light;
@ui-element-inner-border: @ui-border-light;
@ui-element-text-color: @theme-text-color;
@ui-element-font-size: 14px;
@ui-btn-color-dark-hover: #d5d5d5;
@ui-btn-color-hover: #424242;
@ui-btn-color-light-hover: #424242;
@ui-btn-font-size: 14px;
@ui-btn-text-color: @theme-color-dark;
@ui-btn-dark-text-color: @theme-text-color-inverted;
@ui-btn-light-text-color: @theme-text-color;
@ui-btn-toggle-text-color: @theme-color;
@ui-btn-toggle-selected-text-color: @theme-text-color;
@ui-btn-toggle-dark-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-selected-text-color: @theme-text-color-inverted;
@ui-btn-calc-text-color: @theme-text-color-inverted;
@ui-icon-color: #bababa;
@ui-icon-color-dark: @theme-color-dark;
@ui-label-color-dark: @theme-color-dark;
@ui-label-color: @theme-text-color;
@ui-label-color-light: @theme-text-color;
@ui-label-font-size: 14px;
@ui-text-area-color: @theme-text-color-inverted;
@ui-title-color: @theme-text-color;
@ui-title-font-size: 24px;
@ui-title-font-size-smaller: 18px;
@ui-subtitle-color: @ui-label-color-light;
@ui-subtitle-font-size: @ui-label-font-size;
@ui-prompt-color: @theme-text-color-superlight;
@ui-prompt-icon-color: @ui-border-color-superlight;
File diff suppressed because one or more lines are too long
@@ -0,0 +1,118 @@
@import "..\webdatarocks-base.less";
@font-family: Arial, sans-serif;
@font-size: 12px;
@font-size-mobile: 14px;
/* ===== theme colors ===== */
/* ===== not used in webdatarocks-base.less directly; used in this file to define bg, border and other colors ===== */
@theme-color: #999;
@theme-color-dark: #555;
@theme-color-superdark: #3c3c3c;
@theme-color-midlight: #d5d5d5;//cdcdcd;
@theme-color-light: #DBDBDB;//#ebebeb;
@theme-color-superlight: #f1f1f1;
@theme-color-supersuperlight: #fbfbfb;
/* ===== basic grey colors, common for all themes ===== */
@theme-base-color: #999;
@theme-base-color-dark: #555;
@theme-base-color-superdark: #3c3c3c;
@theme-base-color-midlight: #d5d5d5;//cdcdcd;
@theme-base-color-light: #DBDBDB;//#ebebeb;
@theme-base-color-superlight: #f1f1f1;
@theme-base-color-supersuperlight: #fbfbfb;
/* ===== text colors ===== */
@theme-text-color: #111;
@theme-text-color-inverted: #fff;
@theme-text-color-midlight: #555;
@theme-text-color-light: #999;
@theme-text-color-superlight: #cecece;
@toolbar-text-color: #888;
/* ===== background colors ===== */
@background-base-color: #fff;
@background-ui-element-base-color: #fff;
@ui-background-dark: @theme-color-dark;
@ui-background: @theme-color;
@ui-background-light: @theme-color-superlight;
@ui-background-superlight: @theme-color-supersuperlight;
/* ===== border colors ===== */
@ui-border-color-dark: @theme-color-dark;
@ui-border-color: @theme-color;
@ui-border-color-light: @theme-color-midlight;
@ui-border-color-superlight: @theme-color-light;
@ui-border-dark: 1px solid @ui-border-color-dark;
@ui-border: 1px solid @ui-border-color;
@ui-border-light: 1px solid @ui-border-color-light;
@ui-border-superlight: 1px solid @ui-border-color-superlight;
/* ===== grid ===== */
@grid-sheet-header-text-color: @theme-color;
@grid-sheet-header-color: @theme-color-superlight;
@grid-sheet-header-border-color: @theme-color-light;
@grid-sheet-header-border: 1px solid @grid-sheet-header-border-color;
@grid-icon-color: @theme-color;
@grid-table-header-text-color: @theme-text-color;
@grid-table-header-color: @theme-color-superlight;
@grid-table-header-border-color: @theme-color-light;
@grid-table-header-border: 1px solid @grid-table-header-border-color;
@grid-filter-color: @theme-color-light;
@grid-filter-color-hover: darken(@grid-filter-color, 5%);
@grid-filter-text-color: @theme-text-color;
@grid-filter-subtext-color: #888;
@grid-filter-icon-color: @grid-icon-color;
@grid-cell-color: @background-base-color;
@grid-cell-text-color: @theme-text-color;
@grid-cell-border-color: @theme-color-light;
@grid-cell-border: 1px solid @grid-cell-border-color;
@grid-drilldown-link-text-color: #888;
@grid-selection-canvas-color: rgba(66, 133, 244, 0.1);
@grid-selection-canvas-border: 1px solid @grid-accent-color;
@grid-accent-color: #4285f4;
@grid-auto-calculation-bar: #888888;
/* ===== ui ===== */
@ui-component-border: @ui-border-light;
@ui-pop-up-border: @ui-border-light;
@ui-element-border-color: @ui-border-color-light;
@ui-element-border: @ui-border-light;
@ui-element-inner-border: @ui-border-superlight;
@ui-element-text-color: @theme-text-color;
@ui-element-font-size: 14px;
@ui-btn-color: @theme-color-light;
@ui-btn-color-hover: lighten(@ui-btn-color, 3%);
@ui-btn-color-light-hover: @ui-background-superlight;
@ui-btn-color-dark-hover: lighten(@ui-background-dark, 5%);// @theme-color-superdark;
@ui-btn-font-size: 14px;
@ui-btn-text-color: @theme-color-dark;
@ui-btn-dark-text-color: @theme-text-color-inverted;
@ui-btn-light-text-color: @theme-text-color-midlight;
@ui-btn-toggle-text-color: @theme-text-color-light;
@ui-btn-toggle-selected-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-selected-text-color: @theme-text-color-inverted;
@ui-btn-calc-text-color: @theme-text-color-inverted;
@ui-icon-color: @theme-color;
@ui-icon-color-dark: @theme-color-dark;
@ui-label-color-dark: @theme-color-dark;
@ui-label-color: @theme-text-color;
@ui-label-color-light: @theme-text-color-light;
@ui-label-font-size: 14px;
@ui-text-area-color: @ui-element-text-color;
@ui-title-color: @theme-text-color;
@ui-title-font-size: 24px;
@ui-title-font-size-smaller: 18px;
@ui-subtitle-color: @ui-label-color-light;
@ui-subtitle-font-size: @ui-label-font-size;
@ui-prompt-color: @theme-text-color-superlight;
@ui-prompt-icon-color: @ui-border-color-superlight;
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,117 @@
@import "..\webdatarocks-base.less";
@font-family: Arial, sans-serif;
@font-size: 12px;
@font-size-mobile: 14px;
/* ===== theme colors ===== */
/* ===== not used in webdatarocks-base.less directly; used in this file to define bg, border and other colors ===== */
@theme-color: #03A9F4;
@theme-color-dark: #039BE5;
@theme-color-superdark: #0288D1;
@theme-color-midlight: #03A9F4; //not used
@theme-color-light: #03A9F4; //not used
@theme-color-superlight: #E1F5FE;
@theme-color-supersuperlight: #F3FAFD;
/* ===== basic grey colors, common for all themes ===== */
@theme-base-color: #999;
@theme-base-color-dark: #555;
@theme-base-color-superdark: #3c3c3c;
@theme-base-color-midlight: #d5d5d5;//cdcdcd;
@theme-base-color-light: #e9e9e9;//#ebebeb;
@theme-base-color-superlight: #f7f7f7;
@theme-base-color-supersuperlight: #fbfbfb;
/* ===== text colors ===== */
@theme-text-color: #111;
@theme-text-color-inverted: #fff;
@theme-text-color-midlight: #888;
@theme-text-color-light: @theme-text-color;//#999;
@theme-text-color-superlight: #cecece;
@toolbar-text-color: #888;
/* ===== background colors ===== */
@background-base-color: #fff;
@background-ui-element-base-color: #fff;
@ui-background-dark: @theme-color-dark;
@ui-background: @theme-color;
@ui-background-light: @theme-color-superlight;
@ui-background-superlight: @theme-color-supersuperlight;
/* ===== border colors ===== */
@ui-border-color-dark: @theme-color-dark;
@ui-border-color: @theme-color;//#999;
@ui-border-color-light: #f0f0f0;//@theme-color-light;//#d5d5d5;
@ui-border-color-superlight: @theme-color-superlight;
@ui-border-dark: 1px solid @ui-border-color-dark;
@ui-border: 1px solid @ui-border-color;
@ui-border-light: 1px solid @ui-border-color-light;
@ui-border-superlight: 1px solid @ui-border-color-superlight;
/* ===== grid ===== */
@grid-sheet-header-text-color: #999;
@grid-sheet-header-color: #fff;
@grid-sheet-header-border-color: #f0f0f0;
@grid-sheet-header-border: 1px solid @grid-sheet-header-border-color;
@grid-icon-color: @theme-color;
@grid-table-header-text-color: @theme-text-color-midlight;
@grid-table-header-color: @theme-color-supersuperlight;
@grid-table-header-border-color: #f0f0f0;
@grid-table-header-border: 1px solid @grid-table-header-border-color;
@grid-filter-color: @theme-color;
@grid-filter-color-hover: @theme-color-dark;
@grid-filter-text-color: #fff;
@grid-filter-subtext-color: @grid-filter-text-color;
@grid-filter-icon-color: @grid-filter-text-color;
@grid-cell-color: @background-base-color;
@grid-cell-text-color: @theme-text-color;
@grid-cell-border-color: #f0f0f0;
@grid-cell-border: 1px solid @grid-cell-border-color;
@grid-drilldown-link-text-color: #888;
@grid-selection-canvas-color: rgba(121, 204, 255, 0.2);
@grid-selection-canvas-border: 2px solid @theme-base-color-light;
@grid-auto-calculation-bar: #51c5fd;
/* ===== ui ===== */
@ui-component-border: @ui-border-light;
@ui-pop-up-border: @ui-border-light;
@ui-element-border-color: @ui-border-color-light;
@ui-element-border: @ui-border-light;
@ui-element-inner-border: @ui-border-light;
@ui-element-text-color: @theme-text-color;
@ui-element-font-size: 14px;
@ui-btn-color: @ui-background-light;
@ui-btn-color-hover: lighten(@ui-btn-color, 3%);
@ui-btn-color-light-hover: @ui-background-superlight;
@ui-btn-color-dark-color-hover: @theme-color-superdark;
@ui-btn-font-size: 14px;
@ui-btn-text-color: @theme-color-dark;
@ui-btn-dark-text-color: @theme-text-color-inverted;
@ui-btn-light-text-color: @theme-text-color-light;
@ui-btn-toggle-text-color: @theme-text-color-light;
@ui-btn-toggle-selected-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-selected-text-color: @theme-text-color-inverted;
@ui-btn-calc-text-color: @theme-text-color-inverted;
@ui-icon-color: @theme-color;
@ui-icon-color-dark: @theme-color-dark;
@ui-label-color-dark: @theme-color-dark;
@ui-label-color: @theme-text-color;
@ui-label-color-light: @theme-text-color-light;
@ui-label-font-size: 14px;
@ui-text-area-color: @ui-element-text-color;
@ui-title-color: @theme-text-color;
@ui-title-font-size: 24px;
@ui-title-font-size-smaller: 18px;
@ui-subtitle-color: @ui-label-color-light;
@ui-subtitle-font-size: @ui-label-font-size;
@ui-prompt-color: @theme-text-color-superlight;
@ui-prompt-icon-color: @ui-border-color-superlight;
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,124 @@
@import "..\webdatarocks-base.less";
@font-family: Arial, sans-serif;
@font-size: 12px;
@font-size-mobile: 14px;
/* ===== theme colors ===== */
/* ===== not used in webdatarocks-base.less directly; used in this file to define bg, border and other colors ===== */
@theme-color: #E64A19;
@theme-color-dark: #D84315;
@theme-color-superdark: #BF360C;
@theme-color-midlight: #FF9E80;
@theme-color-light: #FFCCBC;
@theme-color-superlight: #FBE9E7;
@theme-color-supersuperlight: #FBE9E7;
/* ===== basic grey colors, common for all themes ===== */
@theme-base-color: #999;
@theme-base-color-dark: #555;
@theme-base-color-superdark: #3c3c3c;
@theme-base-color-midlight: #d5d5d5;//cdcdcd;
@theme-base-color-light: #e9e9e9;//#ebebeb;
@theme-base-color-superlight: #f7f7f7;
@theme-base-color-supersuperlight: #fbfbfb;
/* ===== text colors ===== */
@theme-text-color: #111;
@theme-text-color-inverted: #fff;
@theme-text-color-midlight: #888;
@theme-text-color-light: @theme-text-color;//#999;
@theme-text-color-superlight: #cecece;
@toolbar-text-color: #888;
/* ===== background colors ===== */
@background-base-color: #fff;
@background-ui-element-base-color: #fff;
@ui-background-dark: @theme-color-dark;
@ui-background: @theme-color;
@ui-background-light: @theme-color-superlight;
@ui-background-superlight: @theme-color-supersuperlight;
/* ===== border colors ===== */
@ui-border-color-dark: @theme-color-dark;
@ui-border-color: @theme-color;//#999;
@ui-border-color-light: #f0f0f0;//@theme-color-light;//#d5d5d5;
@ui-border-color-superlight: @theme-color-superlight;
@ui-border-dark: 1px solid @ui-border-color-dark;
@ui-border: 1px solid @ui-border-color;
@ui-border-light: 1px solid @ui-border-color-light;
@ui-border-superlight: 1px solid @ui-border-color-superlight;
/* ===== grid ===== */
@grid-sheet-header-text-color: #999;
@grid-sheet-header-color: #fff;
@grid-sheet-header-border-color: #f0f0f0;
@grid-sheet-header-border: 1px solid @grid-sheet-header-border-color;
@grid-icon-color: @theme-color;
@grid-table-header-text-color: @theme-text-color;
@grid-table-header-color: @theme-color-supersuperlight;
@grid-table-header-border-color: #f0f0f0;
@grid-table-header-border: 1px solid @grid-table-header-border-color;
@grid-filter-color: @theme-color-superlight;
@grid-filter-color-hover: @theme-color-light;
@grid-filter-text-color: @theme-text-color;
@grid-filter-subtext-color: @grid-filter-text-color;
@grid-filter-icon-color: @theme-color;
@grid-cell-color: @background-base-color;
@grid-cell-text-color: @theme-text-color;
@grid-cell-border-color: #f0f0f0;
@grid-cell-border: 1px solid @grid-cell-border-color;
@grid-drilldown-link-text-color: #888;
@grid-selection-canvas-color: rgba(255, 245, 106, 0.2);
@grid-selection-canvas-border: 1px solid @theme-base-color-light;
@grid-auto-calculation-bar: #f08463;
/* ===== ui ===== */
@ui-component-border: @ui-border-light;
@ui-pop-up-border: @ui-border-light;
@ui-element-border-color: @ui-border-color-light;
@ui-element-border: @ui-border-light;
@ui-element-inner-border: @ui-border-light;
@ui-element-text-color: @theme-text-color;
@ui-element-font-size: 14px;
@ui-btn-dark-color-hover: @theme-color-superdark;
@ui-btn-color-hover: @ui-background-light;//#f2f2f2;
@ui-btn-color-light-hover: @ui-background-superlight;
@ui-btn-font-size: 14px;
@ui-btn-text-color: @theme-color-dark;
@ui-btn-dark-text-color: @theme-text-color-inverted;
@ui-btn-light-text-color: @theme-text-color-light;
@ui-btn-toggle-text-color: @theme-text-color-light;
@ui-btn-toggle-selected-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-selected-text-color: @theme-text-color-inverted;
@ui-btn-calc-text-color: @theme-text-color-inverted;
@ui-icon-color: @theme-color;
@ui-icon-color-dark: @theme-color-dark;
@ui-label-color-dark: @theme-color-dark;
@ui-label-color: @theme-text-color;
@ui-label-color-light: @theme-text-color-light;
@ui-label-font-size: 14px;
@ui-text-area-color: @ui-element-text-color;
@ui-title-color: @theme-text-color;
@ui-title-font-size: 24px;
@ui-title-font-size-smaller: 18px;
@ui-subtitle-color: @ui-label-color-light;
@ui-subtitle-font-size: @ui-label-font-size;
@ui-prompt-color: @theme-text-color-superlight;
@ui-prompt-icon-color: @ui-border-color-superlight;
#fm-pivot-view .fm-grid-layout div.fm-header {
border-right: 1px solid @theme-color-supersuperlight;
border-bottom: 1px solid @theme-color-supersuperlight;
}
/*#fm-pivot-view .fm-grid-layout div.fm-header-c.fm-empty {
background-color: @grid-cell-color;
}*/
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,117 @@
@import "..\webdatarocks-base.less";
@font-family: Arial, sans-serif;
@font-size: 12px;
@font-size-mobile: 14px;
/* ===== theme colors ===== */
/* ===== not used in webdatarocks-base.less directly; used in this file to define bg, border and other colors ===== */
@theme-color: #009688;
@theme-color-dark: #00897B;
@theme-color-superdark: #00796B;
@theme-color-midlight: #009688; //not used
@theme-color-light: #009688; //not used
@theme-color-superlight: #E0F2F1;
@theme-color-supersuperlight: #f1fbfa;
/* ===== basic grey colors, common for all themes ===== */
@theme-base-color: #999;
@theme-base-color-dark: #555;
@theme-base-color-superdark: #3c3c3c;
@theme-base-color-midlight: #d5d5d5;//cdcdcd;
@theme-base-color-light: #e9e9e9;//#ebebeb;
@theme-base-color-superlight: #f7f7f7;
@theme-base-color-supersuperlight: #fbfbfb;
/* ===== text colors ===== */
@theme-text-color: #111;
@theme-text-color-inverted: #fff;
@theme-text-color-midlight: #888;
@theme-text-color-light: @theme-text-color;//#999;
@theme-text-color-superlight: #cecece;
@toolbar-text-color: #888;
/* ===== background colors ===== */
@background-base-color: #fff;
@background-ui-element-base-color: #fff;
@ui-background-dark: @theme-color-dark;
@ui-background: @theme-color;
@ui-background-light: @theme-color-superlight;
@ui-background-superlight: @theme-color-supersuperlight;
/* ===== border colors ===== */
@ui-border-color-dark: @theme-color-dark;
@ui-border-color: @theme-color;//#999;
@ui-border-color-light: #f0f0f0;//@theme-color-light;//#d5d5d5;
@ui-border-color-superlight: @theme-color-superlight;
@ui-border-dark: 1px solid @ui-border-color-dark;
@ui-border: 1px solid @ui-border-color;
@ui-border-light: 1px solid @ui-border-color-light;
@ui-border-superlight: 1px solid @ui-border-color-superlight;
/* ===== grid ===== */
@grid-sheet-header-text-color: #999;
@grid-sheet-header-color: #fff;
@grid-sheet-header-border-color: #f0f0f0;
@grid-sheet-header-border: 1px solid @grid-sheet-header-border-color;
@grid-icon-color: @theme-color;
@grid-table-header-text-color: @theme-text-color-midlight;
@grid-table-header-color: @theme-color-supersuperlight;
@grid-table-header-border-color: #f0f0f0;
@grid-table-header-border: 1px solid @grid-table-header-border-color;
@grid-filter-color: @theme-color;
@grid-filter-color-hover: @theme-color-dark;
@grid-filter-text-color: #fff;
@grid-filter-subtext-color: @grid-filter-text-color;
@grid-filter-icon-color: @grid-filter-text-color;
@grid-cell-color: @background-base-color;
@grid-cell-text-color: @theme-text-color;
@grid-cell-border-color: #f0f0f0;
@grid-cell-border: 1px solid @grid-cell-border-color;
@grid-drilldown-link-text-color: #888;
@grid-selection-canvas-color: rgba(255, 245, 106, 0.2);
@grid-selection-canvas-border: 1px solid @theme-base-color-light;
@grid-auto-calculation-bar: #009688;
/* ===== ui ===== */
@ui-component-border: @ui-border-light;
@ui-pop-up-border: @ui-border-light;
@ui-element-border-color: @ui-border-color-light;
@ui-element-border: @ui-border-light;
@ui-element-inner-border: @ui-border-light;
@ui-element-text-color: @theme-text-color;
@ui-element-font-size: 14px;
@ui-btn-color: @ui-background-light;
@ui-btn-color-hover: lighten(@ui-btn-color, 3%);
@ui-btn-color-light-hover: @ui-background-superlight;
@ui-btn-color-dark-color-hover: @theme-color-superdark;
@ui-btn-font-size: 14px;
@ui-btn-text-color: @theme-color-dark;
@ui-btn-dark-text-color: @theme-text-color-inverted;
@ui-btn-light-text-color: @theme-text-color-light;
@ui-btn-toggle-text-color: @theme-text-color-light;
@ui-btn-toggle-selected-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-text-color: @ui-element-text-color;
@ui-btn-toggle-dark-selected-text-color: @theme-text-color-inverted;
@ui-btn-calc-text-color: @theme-text-color-inverted;
@ui-icon-color: @theme-color;
@ui-icon-color-dark: @theme-color-dark;
@ui-label-color-dark: @theme-color-dark;
@ui-label-color: @theme-text-color;
@ui-label-color-light: @theme-text-color-light;
@ui-label-font-size: 14px;
@ui-text-area-color: @ui-element-text-color;
@ui-title-color: @theme-text-color;
@ui-title-font-size: 24px;
@ui-title-font-size-smaller: 18px;
@ui-subtitle-color: @ui-label-color-light;
@ui-subtitle-font-size: @ui-label-font-size;
@ui-prompt-color: @theme-text-color-superlight;
@ui-prompt-icon-color: @ui-border-color-superlight;
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,144 @@
/**
* WebDataRocks Reporting v1.3.3 (http://www.webdatarocks.com/)
* Copyright 2020 WebDataRocks. All rights reserved.
*/
(function () {
WebDataRocksAmcharts = {};
WebDataRocksAmcharts.getData = function (options, callbackHandler, updateHandler) {
//define slice to select the data you would like to show (different from data that webdatarocks instance is showing)
//leave it undefined to get the data that webdatarocks instance is showing
var slice = options.slice;
//please use prepareDataFunction if you need to prepare the data another way
var _prepareDataFunction = options.prepareDataFunction;
var _updateHandler;
if (updateHandler != null) {
_updateHandler = function (data) {
if (_prepareDataFunction != undefined) {
updateHandler(_prepareDataFunction(data), data);
} else {
updateHandler(prepareData(data), data);
}
};
}
this.instance.getData({
slice: slice
}, function (data) {
if (_prepareDataFunction != undefined) {
callbackHandler(_prepareDataFunction(data), data);
} else {
callbackHandler(prepareData(data), data);
}
}, _updateHandler
);
}
WebDataRocksAmcharts.getNumberFormatPattern = function (format) {
var str = "###";
if (format == null) return str;
var thousandsSeparator = (format["thousandsSeparator"] != undefined && format["thousandsSeparator"] != "");
if (thousandsSeparator) {
str = "#," + str;
}
var maxDecimalPlaces = (format["maxDecimalPlaces"] != undefined && format["maxDecimalPlaces"] > 0);
var decimalPlaces = (format["decimalPlaces"] != undefined && format["decimalPlaces"] > 0);
if (decimalPlaces) {
str = str + ".";
var numberOfDecimals = (maxDecimalPlaces && format["maxDecimalPlaces"] < format["decimalPlaces"]) ? format["maxDecimalPlaces"] : format["decimalPlaces"];
for (var i = 0; i < numberOfDecimals; i++) {
str = str + "0";
}
} else if (maxDecimalPlaces) {
str = str + ".";
for (var i = 0; i < format["maxDecimalPlaces"]; i++) {
str = str + "#";
}
}
if (format["isPercent"] == true) {
str = str + "%";
} else if (format["currencySymbol"] != undefined && format["currencySymbol"] != "") {
str = (format["currencySymbolAlign"] == "left" || (format["isPercent"] == true && format["currencySymbol"] == "%"))
? format["currencySymbol"] + str
: str + format["currencySymbol"];
}
return str;
}
WebDataRocksAmcharts.getCategoryName = function (rawData) {
var categoryName;
if (rawData.meta && rawData.meta["rAmount"] > 0) {
categoryName = rawData.meta["r0Name"];
} else if (rawData.meta && rawData.meta["cAmount"] > 0) {
categoryName = rawData.meta["c0Name"];
}
return categoryName;
}
WebDataRocksAmcharts.getMeasureNameByIndex = function (rawData, measureIndex) {
return (rawData.meta && rawData.meta["vAmount"] > 0) ? rawData.meta["v" + measureIndex + "Name"] : undefined;
}
WebDataRocksAmcharts.getNumberOfMeasures = function (rawData) {
return (rawData.meta) ? rawData.meta["vAmount"] : undefined;
}
function prepareData(data) {
var output = {};
output.options = prepareChartInfo(data);
prepareSeries(output, data);
return output;
}
function prepareChartInfo(data) {
var output = {
title: (data.meta && data.meta.caption) ? data.meta.caption : ""
};
return output;
}
function prepareSeries(output, data) {
var records = [];
var basedOnRows = false;
var basedOnColumns = false;
for (var i = 0; i < data.data.length; i++) {
if (i == 0) {
var headerRow = {};
if (data.meta["rAmount"] > 0) {
headerRow["r0Name"] = data.meta["r0Name"];
basedOnRows = true;
} else if (data.meta["cAmount"] > 0) {
headerRow["c0Name"] = data.meta["c0Name"];
basedOnColumns = true;
}
for (var j = 0; j < data.meta["vAmount"]; j++) {
headerRow["v" + j + "Name"] = data.meta["v" + j + "Name"];
}
}
var record = data.data[i];
var recordIsNotAFact = false;
var _record = {};
if (basedOnRows) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] != undefined || record["v0"] == undefined) continue;
_record[headerRow["r0Name"]] = record["r0"];
}
if (basedOnColumns) {
if (record["c0"] == undefined || record["c1"] != undefined || record["r0"] != undefined || record["v0"] == undefined) continue;
_record[headerRow["c0Name"]] = record["c0"];
}
for (var j = 0; j < data.meta["vAmount"]; j++) {
if (record["v" + j] == undefined) {
recordIsNotAFact = true;
continue;
}
_record[headerRow["v" + j + "Name"]] = !isNaN(record["v" + j]) ? record["v" + j] : 0;
}
if (recordIsNotAFact) continue;
records.push(_record);
}
output.data = records;
}
})();
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,519 @@
/**
* WebDataRocks Reporting v1.3.3 (http://www.webdatarocks.com/)
* Copyright 2020 WebDataRocks. All rights reserved.
*/
(function () {
WebDataRocksFusioncharts = {};
WebDataRocksFusioncharts.getData = function (options, callbackHandler, updateHandler) {
var type = options.type;
var _options = {
type: options.type
}
//define slice to select the data you would like to show (different from data that webdatarocks instance is showing)
//leave it undefined to get the data that webdatarocks instance is showing
var slice = options.slice;
//in case WebDataRocksFusioncharts does not include the type of chart you need
//or you need to preprocess the data in a different way
//please use prepareDataFunction
var _prepareDataFunction = options.prepareDataFunction;
var _updateHandler;
if (updateHandler != null) {
_updateHandler = function (data) {
if (_prepareDataFunction != undefined) {
updateHandler(_prepareDataFunction(data, _options), data);
} else {
updateHandler(prepareData(data, _options.type), data);
}
};
}
this.instance.getData({
slice: slice
}, function (data) {
if (_prepareDataFunction != undefined) {
callbackHandler(_prepareDataFunction(data, _options), data);
} else {
callbackHandler(prepareData(data, _options.type), data);
}
}, _updateHandler
);
}
WebDataRocksFusioncharts.getNumberFormat = function (fmt) {
var format = {};
if (fmt != null) {
var thousandsSeparator = (fmt["thousandsSeparator"] != undefined && fmt["thousandsSeparator"] != "");
if (thousandsSeparator) {
format.thousandSeparator = fmt["thousandsSeparator"];
}
var decimalSeparator = (fmt["decimalSeparator"] != undefined && fmt["decimalSeparator"] != "");
if (decimalSeparator) {
format.decimalSeparator = fmt["decimalSeparator"];
}
var decimalPlaces = (fmt["decimalPlaces"] != undefined && fmt["decimalPlaces"] != -1);
if (decimalPlaces) {
format.decimals = fmt["decimalPlaces"];
format.forceDecimals = "1";
}
var currencySymbol = fmt["currencySymbol"] != undefined && fmt["currencySymbol"] != "";
if (currencySymbol) {
if (fmt["currencySymbolAlign"] == "left") {
format.numberPrefix = fmt["currencySymbol"];
} else if (fmt["currencySymbolAlign"] == "right") {
format.numberSuffix = fmt["currencySymbol"];
}
}
}
return format;
}
function prepareData(data, type) {
switch (type) {
case "column2d":
case "column3d":
case "line":
case "area2d":
case "bar2d":
case "bar3d":
case "pie2d":
case "pie3d":
case "doughnut2d":
case "doughnut3d":
case "pareto2d":
case "pareto3d":
case "spline":
case "splinearea":
return prepareSingleSeriesChart(data, type);
case "mscolumn2d":
case "mscolumn3d":
case "mscolumn3dlinedy":
case "msline":
case "msbar2d":
case "msbar3d":
case "msarea":
case "marimekko":
case "stackedcolumn2d":
case "stackedcolumn3d":
case "stackedbar2d":
case "stackedbar2d":
case "stackedarea2d":
case "msspline":
case "mssplinearea":
case "radar":
return prepareMultiSeriesChart(data, type);
case "maps/worldwithcountries":
return prepareMap(data, type);
default:
return data;
}
}
function prepareSingleSeriesChart(data, type) {
var output = prepareChartInfo(data, type);
output.data = [];
for (var i = 0; i < data.data.length; i++) {
var elem = {};
var record = data.data[i];
if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] != undefined || record["v0"] == undefined) continue;
elem["label"] = record["r0"];
elem["value"] = record["v0"];
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined || record["r0"] != undefined || record["v0"] == undefined) continue;
elem["label"] = record["c0"];
elem["value"] = record["v0"];
} else {
if (record["v0"] == undefined) continue;
elem["value"] = record["v0"];
}
output.data.push(elem);
}
return output;
}
function prepareMultiSeriesChart(data, type) {
var output = prepareChartInfo(data, type);
output.categories = [];
output.dataset = [];
var categories = {};
var series = {};
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["v0"] == undefined) continue;
if (categories[record["r0"]] == undefined) categories[record["r0"]] = { "label": record["r0"] };
if (record["c0"] == undefined || record["c1"] != undefined) continue;
if (series[record["c0"]] == undefined) series[record["c0"]] = [];
series[record["c0"]].push({ "value": [record["v0"]] });
} else if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["v0"] == undefined) continue;
if (categories[record["r0"]] == undefined) categories[record["r0"]] = { "label": record["r0"] };
if (series[""] == undefined) series[""] = [];
series[""].push({ "value": [record["v0"]] });
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined || record["v0"] == undefined) continue;
if (categories[record["c0"]] == undefined) categories[record["c0"]] = { "label": record["c0"] };
if (series[""] == undefined) series[""] = [];
series[""].push({ "value": [record["v0"]] });
}
}
var cats = [];
for (var category in categories) {
cats.push(categories[category]);
}
output.categories.push({ "category": cats });
for (var seriesname in series) {
output.dataset.push({ "seriesname": seriesname, "data": series[seriesname] });
}
return output;
}
function prepareChartInfo(data, type) {
var output = {
chart: {}
};
output.chart.caption = data.meta.caption;
//number formatting
var format = WebDataRocksFusioncharts.getNumberFormat(data.meta.formats[0]);
for (var prop in format) {
output.chart[prop] = format[prop];
}
//for the 2nd y axis
if (data.meta.formats.length > 1) {
var format2 = WebDataRocksFusioncharts.getNumberFormat(data.meta.formats[1]);
for (var prop in format2) {
output.chart["s" + prop] = format2[prop];
}
}
switch (type) {
case "pie2d":
case "pie3d":
case "doughnut2d":
case "doughnut3d":
case "radar":
break;
case "pareto2d":
case "pareto3d":
output.chart.pYAxisName = data.meta.v0Name;
break;
default:
output.chart.xAxisName = (data.meta.r0Name != undefined) ? data.meta.r0Name : ((data.meta.c0Name != undefined) ? data.meta.c0Name : "");
output.chart.yAxisName = data.meta.v0Name;
}
return output;
}
function prepareMap(data, type) {
var output = prepareMapInfo(data, type);
output.data = [];
var minValue;
var maxValue;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] != undefined || record["v0"] == undefined) continue;
output.data.push({
"id": toMapID(record["r0"]),
"value": record["v0"]
});
minValue = (minValue == undefined || record["v0"] < minValue) ? record["v0"] : minValue;
maxValue = (maxValue == undefined || record["v0"] > maxValue) ? record["v0"] : maxValue;
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined || record["r0"] != undefined || record["v0"] == undefined) continue;
output.data.push({
"id": toMapID(record["c0"]),
"value": record["v0"]
});
minValue = (minValue == undefined || record["v0"] < minValue) ? record["v0"] : minValue;
maxValue = (maxValue == undefined || record["v0"] > maxValue) ? record["v0"] : maxValue;
}
}
output.extradata = {
"minValue": minValue,
"maxValue": maxValue
};
return output;
}
function prepareMapInfo(data, type) {
var output = {
chart: {}
};
output.chart.caption = data.meta.caption;
//number formatting
var format = WebDataRocksFusioncharts.getNumberFormat(data.meta.formats[0]);
for (var prop in format) {
output.chart[prop] = format[prop];
}
return output;
}
function toMapID(label) {
var countries = {
"Antigua and Barbuda": "01",
"Bahamas": "02",
"Barbados": "03",
"Belize": "04",
"Canada": "05",
"Costa Rica": "06",
"Cuba": "07",
"Dominica": "08",
"Dominican Republic": "09",
"El Salvador": "10",
"Grenada": "11",
"Guatemala": "12",
"Haiti": "13",
"Honduras": "14",
"Jamaica": "15",
"Mexico": "16",
"Nicaragua": "17",
"Panama": "18",
"St.Kitts & Nevis": "19",
"St.Lucia": "20",
"St.Vincent & the Grenadines": "21",
"Trinidad & Tobago": "22",
"United States": "23",
"Greenland": "24",
"Argentina": "25",
"Bolivia": "26",
"Brazil": "27",
"Chile": "28",
"Colombia": "29",
"Ecuador": "30",
"Falkland Islands": "31",
"French Guiana": "32",
"Guyana": "33",
"Paraguay": "34",
"Peru": "35",
"Suriname": "36",
"Uruguay": "37",
"Venezuela": "38",
"Algeria": "39",
"Angola": "40",
"Benin": "41",
"Botswana": "42",
"Burkina Faso": "43",
"Burundi": "44",
"Cameroon": "45",
"Cape Verde": "46",
"Central African Republic": "47",
"Chad": "48",
"Comoros": "49",
"Cote divoire": "50",
"Democratic Republic of the Congo": "51",
"Djibouti": "52",
"Egypt": "53",
"Equatorial Guinea": "54",
"Eritrea": "55",
"Ethiopia": "56",
"Gabon": "57",
"Ghana": "58",
"Guinea": "59",
"Guinea-Bissau": "60",
"Kenya": "61",
"Lesotho": "62",
"Liberia": "63",
"Libya": "64",
"Madagascar": "65",
"Malawi": "66",
"Mali": "67",
"Mauritania": "68",
"Morocco": "69",
"Mozambique": "70",
"Namibia": "71",
"Niger": "72",
"Nigeria": "73",
"Rwanda": "74",
"Sao Tome and Principe": "75",
"Senegal": "76",
"Seychelles": "77",
"Sierra Leone": "78",
"Somalia": "79",
"South Africa": "80",
"Sudan": "81",
"Swaziland": "82",
"Tanzania": "83",
"Togo": "84",
"Tunisia": "85",
"Uganda": "86",
"Western Sahara": "87",
"Zambia": "88",
"Zimbabwe": "89",
"Gambia": "90",
"Congo": "91",
"Mauritius": "92",
"Afghanistan": "93",
"Armenia": "94",
"Azerbaijan": "95",
"Bangladesh": "96",
"Bhutan": "97",
"Brunei": "98",
"Burma (Myanmar)": "99",
"Cambodia": "100",
"China": "101",
"East Timor": "102",
"Georgia": "103",
"India": "104",
"Indonesia": "105",
"Iran": "106",
"Japan": "107",
"Kazakhstan": "108",
"Korea (north)": "109",
"Korea (south)": "110",
"Kyrgyzstan": "111",
"Laos": "112",
"Malaysia": "113",
"Mongolia": "114",
"Nepal": "115",
"Pakistan": "116",
"Philippines": "117",
"Russia": "118",
"Singapore": "119",
"Sri Lanka": "120",
"Tajikistan": "121",
"Thailand": "122",
"Turkmenistan": "123",
"Uzbekistan": "124",
"Vietnam": "125",
"Taiwan": "126",
"Hong Kong": "127",
"Macau": "128",
"Albania": "129",
"Andorra": "130",
"Austria": "131",
"Belarus": "132",
"Belgium": "133",
"Bosnia and Herzegovina": "134",
"Bulgaria": "135",
"Croatia": "136",
"Czech Republic": "137",
"Denmark": "138",
"Estonia": "139",
"Finland": "140",
"France": "141",
"Germany": "142",
"Greece": "143",
"Hungary": "144",
"Iceland": "145",
"Ireland": "146",
"Italy": "147",
"Latvia": "148",
"Liechtenstein": "149",
"Lithuania": "150",
"Luxembourg": "151",
"Macedonia": "152",
"Malta": "153",
"Moldova": "154",
"Monaco": "155",
"Montenegro": "156",
"Netherlands": "157",
"Norway": "158",
"Poland": "159",
"Portugal": "160",
"Romania": "161",
"San Marino": "162",
"Serbia": "163",
"Slovakia": "164",
"Slovenia": "165",
"Spain": "166",
"Sweden": "167",
"Switzerland": "168",
"Ukraine": "169",
"United Kingdom": "170",
"Vatican City": "171",
"Cyprus": "172",
"Turkey": "173",
"Australia": "175",
"Fiji": "176",
"Kiribati": "177",
"Marshall Islands": "178",
"Micronesia": "179",
"Nauru": "180",
"New Zealand": "181",
"Palau": "182",
"Papua New Guinea": "183",
"Samoa": "184",
"Solomon Islands": "185",
"Tonga": "186",
"Tuvalu": "187",
"Vanuatu": "188",
"New Caledonia": "189",
"Bahrain": "190",
"Iraq": "191",
"Israel": "192",
"Jordan": "193",
"Kuwait": "194",
"Lebanon": "195",
"Oman": "196",
"Qatar": "197",
"Saudi Arabia": "198",
"Syria": "199",
"United Arab Emirates": "200",
"Yemen": "201",
"Puerto Rico": "202",
"Cayman Islands": "203",
"South Sudan": "204",
"Kosovo": "205",
"Aruba": "206",
"Anguilla": "207",
"American Samoa": "208",
"Bermuda": "209",
"Christmas Island": "210",
"Cocos (Keeling) Islands": "211",
"Cook Islands": "212",
"Faroe Islands": "213",
"French Polynesia": "214",
"Gaza Strip": "215",
"Gibraltar": "216",
"Guadeloupe": "217",
"Guam": "218",
"Guernsey": "219",
"Jersey": "220",
"Kingman Reef": "221",
"Maldives": "222",
"Isle of Man": "223",
"Martinique": "224",
"Mayotte": "225",
"Montserrat": "226",
"BES Islands": "227",
"Curacao": "228",
"Sint Maarten": "229",
"Niue": "230",
"Norfolk Island": "231",
"Northern Mariana Islands": "232",
"Pitcairn Islands": "233",
"Reunion": "234",
"Saint Helena": "235",
"Saint Pierre and Miquelon": "236",
"Turks and Caicos Islands": "237",
"Virgin Islands (UK)": "238",
"Virgin Islands (US)": "239",
"West Bank": "240",
"Wallis and Futuna": "241"
};
if (countries[label] == undefined) {
if (label == "Moldova Republic of") label = "Moldova";
if (label == "United Kingdom (Scotland)") label = "United Kingdom";
if (label == "Korea, Democratic People's Republic of") label = "Korea (north)";
if (label == "Russian Federation") label = "Russia";
}
return (countries[label] != undefined) ? countries[label] : "";
}
})();
@@ -0,0 +1,212 @@
/**
* WebDataRocks Reporting v1.3.3 (http://www.webdatarocks.com/)
* Copyright 2020 WebDataRocks. All rights reserved.
*/
(function () {
WebDataRocksGooglecharts = {};
WebDataRocksGooglecharts.getData = function (options, callbackHandler, updateHandler) {
var type = options.type;
//define slice to select the data you would like to show (different from data that webdatarocks instance is showing)
//leave it undefined to get the data that webdatarocks instance is showing
var slice = options.slice;
//in case WebDataRocksGooglecharts does not include the type of chart you need
//or you need to preprocess the data in a different way
//please use prepareDataFunction
var _prepareDataFunction = options.prepareDataFunction;
var _updateHandler;
if (updateHandler != null) {
_updateHandler = function (data) {
if (_prepareDataFunction != undefined) {
updateHandler(_prepareDataFunction(data), data);
} else {
updateHandler(prepareData(data, type), data);
}
};
}
this.instance.getData({
slice: slice
}, function (data) {
if (_prepareDataFunction != undefined) {
callbackHandler(_prepareDataFunction(data), data);
} else {
callbackHandler(prepareData(data, type), data);
}
}, _updateHandler
);
}
WebDataRocksGooglecharts.getNumberFormat = function (format) {
if (format == null) return {};
var googleFormat = {
decimalSymbol: format["decimalSeparator"]
};
if (format["decimalPlaces"] != undefined && format["decimalPlaces"] != -1) {
googleFormat.fractionDigits = format["decimalPlaces"];
}
if (format["thousandsSeparator"] != undefined && format["thousandsSeparator"] != "") {
googleFormat.groupingSymbol = format["thousandsSeparator"];
}
if (format["currencySymbol"] != undefined && format["currencySymbol"] != "") {
if (format["currencySymbolAlign"] == "left" || (format["isPercent"] == true && format["currencySymbol"] == "%")) {
googleFormat.prefix = format["currencySymbol"];
} else {
googleFormat.suffix = format["currencySymbol"];
}
} else if (format["isPercent"] == true) {
googleFormat.suffix = "%";
}
return googleFormat;
}
WebDataRocksGooglecharts.getNumberFormatPattern = function (format) {
var str = "###";
if (format == null) return str;
var thousandsSeparator = (format["thousandsSeparator"] != undefined && format["thousandsSeparator"] != "");
if (thousandsSeparator) {
str = "#," + str;
}
var decimalPlaces = (format["decimalPlaces"] != undefined && format["decimalPlaces"] > 0);
if (decimalPlaces) {
str = str + format["decimalSeparator"];
for (var i = 0; i < format["decimalPlaces"]; i++) {
str = str + "#";
}
}
if (format["currencySymbol"] != undefined && format["currencySymbol"] != "") {
str = (format["currencySymbolAlign"] == "left" || (format["isPercent"] == true && format["currencySymbol"] == "%"))
? format["currencySymbol"] + str
: str + format["currencySymbol"];
} else if (format["isPercent"] == true) {
str = str + "%";
}
return str;
}
function prepareData(data, type) {
var output = {};
output.options = prepareChartInfo(data);
switch (type) {
case "area":
case "bar":
case "column":
case "line":
case "pie":
prepareSingleSeries(output, data);
break;
case "sankey":
default:
prepareSeries(output, data);
}
return output;
}
function prepareChartInfo(data) {
var output = {
title: data.meta.caption,
/*hAxis: {
title: (data.meta.r0Name != undefined) ? data.meta.r0Name : ((data.meta.c0Name != undefined) ? data.meta.c0Name : "")
},
vAxis: {
title: data.meta.v0Name
}*/
};
return output;
}
function prepareSingleSeries(output, data) {
var table = [];
var basedOnRows = false;
var basedOnColumns = false;
for (var i = 0; i < data.data.length; i++) {
if (i == 0) {
var headerRow = [];
if (data.meta["rAmount"] > 0) {
headerRow.push(data.meta["r0Name"]);
basedOnRows = true;
} else if (data.meta["cAmount"] > 0) {
headerRow.push(data.meta["c0Name"]);
basedOnColumns = true;
}
for (var j = 0; j < data.meta["vAmount"]; j++) {
headerRow.push(data.meta["v" + j + "Name"]);
}
table.push(headerRow);
}
var record = data.data[i];
var recordIsNotAFact = false;
var _record = [];
if (basedOnRows) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] != undefined || record["v0"] == undefined) continue;
_record.push(record["r0"]);
}
if (basedOnColumns) {
if (record["c0"] == undefined || record["c1"] != undefined || record["r0"] != undefined || record["v0"] == undefined) continue;
_record.push(record["c0"]);
}
for (var j = 0; j < data.meta["vAmount"]; j++) {
if (record["v" + j] == undefined) {
recordIsNotAFact = true;
continue;
}
_record.push(!isNaN(record["v" + j]) ? record["v" + j] : 0);
}
if (recordIsNotAFact) continue;
table.push(_record);
}
output.data = table;
}
function prepareSeries(output, data) {
var table = [];
for (var i = 0; i < data.data.length; i++) {
if (i == 0) {
var headerRow = [];
for (var j = 0; j < data.meta["rAmount"]; j++) {
headerRow.push(data.meta["r" + j + "Name"]);
}
for (var j = 0; j < data.meta["cAmount"]; j++) {
headerRow.push(data.meta["c" + j + "Name"]);
}
for (var j = 0; j < data.meta["vAmount"]; j++) {
headerRow.push(data.meta["v" + j + "Name"]);
}
table.push(headerRow);
}
var record = data.data[i];
var recordIsNotAFact = false;
var _record = [];
for (var j = 0; j < data.meta["rAmount"]; j++) {
if (record["r" + j] == undefined) {
recordIsNotAFact = true;
continue;
}
_record.push(record["r" + j]);
}
for (var j = 0; j < data.meta["cAmount"]; j++) {
if (record["c" + j] == undefined) {
recordIsNotAFact = true;
continue;
}
_record.push(record["c" + j]);
}
for (var j = 0; j < data.meta["vAmount"]; j++) {
if (record["v" + j] == undefined) {
recordIsNotAFact = true;
continue;
}
_record.push(!isNaN(record["v" + j]) ? record["v" + j] : 0);
}
if (recordIsNotAFact) continue;
table.push(_record);
}
output.data = table;
}
})();
@@ -0,0 +1,533 @@
/**
* WebDataRocks Reporting v1.3.3 (http://www.webdatarocks.com/)
* Copyright 2020 WebDataRocks. All rights reserved.
*/
(function () {
WebDataRocksHighcharts = {};
WebDataRocksHighcharts.getData = function (options, callbackHandler, updateHandler) {
var _options = {
type: options.type,
xAxisType: (options.xAxisType == "datetime") ? options.xAxisType : "",
valuesOnly: (options.valuesOnly != undefined && options.valuesOnly == true) ? true : false,
withDrilldown: (options.withDrilldown != undefined && options.withDrilldown == true) ? true : false
}
//define slice to select the data you would like to show (different from data that webdatarocks instance is showing)
//leave it undefined to get the data that webdatarocks instance is showing
var slice = options.slice;
//in case WebDataRocksHighcharts does not include the type of chart you need
//or you need to preprocess the data in a different way
//please use prepareDataFunction
var _prepareDataFunction = options.prepareDataFunction;
var _updateHandler;
if (updateHandler != null) {
_updateHandler = function (data) {
if (_prepareDataFunction != undefined) {
updateHandler(_prepareDataFunction(data, _options), data);
} else {
_options.withDrilldown = options.withDrilldown && data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0; //not enough data
updateHandler(prepareData(data, _options), data);
}
};
}
this.instance.getData({
slice: slice
}, function (data) {
if (_prepareDataFunction != undefined) {
callbackHandler(_prepareDataFunction(data, _options), data);
} else {
_options.withDrilldown = options.withDrilldown && data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0; //not enough data
callbackHandler(prepareData(data, _options), data);
}
}, _updateHandler
);
}
WebDataRocksHighcharts.getAxisFormat = function (format) {
return getFormatedString("value", format);
}
WebDataRocksHighcharts.getPointXFormat = function (format) {
return getFormatedString("point.x", format);
}
WebDataRocksHighcharts.getPointYFormat = function (format) {
return getFormatedString("point.y", format);
}
WebDataRocksHighcharts.getPointZFormat = function (format) {
return getFormatedString("point.z", format);
}
function getFormatedString(val, format) {
var str = val;
if (format == null) return str;
var thousandsSeparator = (format["thousandsSeparator"] != undefined && format["thousandsSeparator"] != "");
var decimalPlaces = (format["decimalPlaces"] != undefined && format["decimalPlaces"] != -1);
if (thousandsSeparator || decimalPlaces) {
str = thousandsSeparator
? str + ":,." + (decimalPlaces ? format["decimalPlaces"] : "") + "f"
: str + ":." + (decimalPlaces ? format["decimalPlaces"] : "") + "f";
}
str = "{" + str + "}";
if (format["currencySymbol"] != undefined && format["currencySymbol"] != "") {
str = (format["currencySymbolAlign"] == "left")
? format["currencySymbol"] + str
: str + format["currencySymbol"];
}
return str;
}
function prepareData(data, options) {
switch (options.type) {
case "area":
case "areaspline":
case "bar":
case "column":
case "waterfall":
return prepareDataWithCategories(data, options);
case "funnel":
case "pie":
case "pyramid":
return prepareDataForPie(data, options);
case "arearange":
case "areasplinerange":
case "columnrange":
case "errorbar":
return prepareDataRange(data, options);
case "bubble":
return prepareDataForBubble(data, options);
case "scatter":
options.valuesOnly = true;
case "polygon":
case "spline":
default:
//line chart
if (options.valuesOnly == true) {
return prepareDataWithNumbers(data, options);
} else {
return prepareDataWithCategories(data, options);
}
//not included
//case "boxplot":
//case "gauge":
//case "solidgauge":
//case "heatmap":
//case "treemap":
}
}
function prepareDataWithCategories(data, options) {
var output = prepareChartInfo(data, options);
if (options.withDrilldown) {
prepareSeriesWithDrilldown(output, data);
} else {
if (options.xAxisType == "datetime") {
prepareSeriesDatetime(output, data);
} else {
prepareSeries(output, data);
}
}
return output;
}
function prepareDataForPie(data, options) {
var output = prepareChartInfo(data, options);
if (options.withDrilldown) {
prepareSeriesWithDrilldown(output, data);
} else {
prepareSeriesWithY(output, data);
}
return output;
}
function prepareDataWithNumbers(data, options) {
var output = prepareChartInfo(data, options);
prepareSeriesXYNumeric(output, data);
return output;
}
function prepareDataRange(data, options) {
var output = prepareChartInfo(data, options);
prepareSeriesRange(output, data);
return output;
}
function prepareDataForBubble(data, options) {
var output = prepareChartInfo(data, options);
if (options.valuesOnly == true) {
prepareSeriesXYZNumeric(output, data);
} else {
prepareSeriesXYZ(output, data);
}
return output;
}
function prepareChartInfo(data, options) {
var output = {
title: {
text: data.meta.caption
}
};
if (options.type != undefined) output.chart = { type: options.type };
if (options.valuesOnly == true) {
output.xAxis = {
title: {
text: data.meta.v0Name
}
};
output.yAxis = {
title: {
text: (data.meta.v1Name != undefined) ? data.meta.v1Name : ""
}
};
} else {
output.xAxis = {
title: {
text: (data.meta.r0Name != undefined) ? data.meta.r0Name : ((data.meta.c0Name != undefined) ? data.meta.c0Name : "")
}
};
output.yAxis = [];
var yAxesAmount = (options.valuesOnly == true || options.withDrilldown == true
|| options.type == "arearange" || options.type == "areasplinerange"
|| options.type == "columnrange" || options.type == "errorbar"
|| options.type == "bubble")
? 1 : data.meta.vAmount;
for (var i = 0; i < yAxesAmount; i++) {
output.yAxis.push({
title: {
text: data.meta["v" + i + "Name"]
},
opposite: (i > 0)
});
}
}
if (options.xAxisType == "datetime") {
output.xAxis.type = "datetime";
}
if (options.withDrilldown) {
output.xAxis.type = "category";
}
return output;
}
function prepareSeries(output, data) {
var categories = [];
var series = {};
var _yName;
var _seriesName;
var value;
var _seriesBasedOnC = false;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined) continue;
if (categories.indexOf(record["r0"]) == -1) categories.push(record["r0"]);
if (record["c0"] == undefined || record["c1"] != undefined) continue;
_seriesBasedOnC = true;
} else if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined) continue;
if (categories.indexOf(record["r0"]) == -1) categories.push(record["r0"]);
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined) continue;
if (categories.indexOf(record["c0"]) == -1) categories.push(record["c0"]);
}
for (var j = 0; j < data.meta.vAmount; j++) {
_yName = data.meta["v" + j + "Name"];
_seriesName = _seriesBasedOnC ? record["c0"] : _yName;
if (series[_yName] == undefined) {
series[_yName] = {};
}
if (series[_yName][_seriesName] == undefined) {
series[_yName][_seriesName] = [];
}
value = isNaN(record["v" + j]) ? null : record["v" + j];
series[_yName][_seriesName].push(value);
}
}
output.xAxis.categories = categories;
output.series = [];
var yn = 0;
for (var yAxis in series) {
var _series = series[yAxis];
for (var seriesname in _series) {
var s = {
name: (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0 && data.meta["vAmount"] > 1)
? yAxis + " - " + seriesname
: seriesname,
data: _series[seriesname]
};
if (output.yAxis.length > 1) {
s.yAxis = yn;
}
output.series.push(s);
}
if (output.yAxis.length > 1) {
yn++;
}
}
}
function prepareSeriesDatetime(output, data) {
var categories = [];
var series = {};
var _yName;
var _seriesName;
var value;
var _seriesBasedOnC = false;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined) continue;
if (categories.indexOf(record["r0"]) == -1) categories.push(record["r0"]);
if (record["c0"] == undefined || record["c1"] != undefined) continue;
_seriesBasedOnC = true;
} else if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined) continue;
if (categories.indexOf(record["r0"]) == -1) categories.push(record["r0"]);
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined) continue;
if (categories.indexOf(record["c0"]) == -1) categories.push(record["c0"]);
}
for (var j = 0; j < data.meta.vAmount; j++) {
_yName = data.meta["v" + j + "Name"];
_seriesName = _seriesBasedOnC ? record["c0"] : _yName;
if (series[_yName] == undefined) {
series[_yName] = {};
}
if (series[_yName][_seriesName] == undefined) {
series[_yName][_seriesName] = [];
}
value = isNaN(record["v" + j]) ? null : record["v" + j];
series[_yName][_seriesName].push([(record["r0"] != undefined ? record["r0"] : record["c0"]), value]);
}
}
//output.xAxis.categories = categories;
output.series = [];
var yn = 0;
for (var yAxis in series) {
var _series = series[yAxis];
for (var seriesname in _series) {
var s = {
name: (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0 && data.meta["vAmount"] > 1)
? yAxis + " - " + seriesname
: seriesname,
data: _series[seriesname]
};
if (output.yAxis.length > 1) {
s.yAxis = yn;
}
output.series.push(s);
}
if (output.yAxis.length > 1) {
yn++;
}
}
}
function prepareSeriesWithY(output, data) {
var series = {};
var value;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] != undefined) continue;
if (series[data.meta.v0Name] == undefined) series[data.meta.v0Name] = [];
value = isNaN(record["v0"]) ? null : record["v0"];
series[data.meta.v0Name].push({ name: record["r0"], y: value });
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined || record["r0"] != undefined) continue;
if (series[data.meta.v0Name] == undefined) series[data.meta.v0Name] = [];
value = isNaN(record["v0"]) ? null : record["v0"];
series[data.meta.v0Name].push({ name: record["c0"], y: value });
}
}
output.series = [];
for (var seriesname in series) {
output.series.push({ "name": seriesname, "data": series[seriesname] });
}
}
function prepareSeriesXYNumeric(output, data) {
output.series = [];
if (data.meta.v1Name == undefined) return; //not enough data
var series = {};
var xValue;
var yValue;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] == undefined || record["c1"] != undefined) continue;
if (series[record["c0"]] == undefined) series[record["c0"]] = [];
xValue = isNaN(record["v0"]) ? null : record["v0"];
yValue = isNaN(record["v1"]) ? null : record["v1"];
series[record["c0"]].push({ name: record["r0"], x: xValue, y: yValue });
} else if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined) continue;
if (series[data.meta.v1Name] == undefined) series[data.meta.v1Name] = [];
xValue = isNaN(record["v0"]) ? null : record["v0"];
yValue = isNaN(record["v1"]) ? null : record["v1"];
series[data.meta.v1Name].push({ name: record["r0"], x: xValue, y: yValue });
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined) continue;
if (series[data.meta.v1Name] == undefined) series[data.meta.v1Name] = [];
xValue = isNaN(record["v0"]) ? null : record["v0"];
yValue = isNaN(record["v1"]) ? null : record["v1"];
series[data.meta.v1Name].push({ name: record["c0"], x: xValue, y: yValue });
}
}
for (var seriesname in series) {
output.series.push({ "name": seriesname, "data": series[seriesname] });
}
}
function prepareSeriesXYZNumeric(output, data) {
output.series = [];
if (data.meta.v2Name == undefined) return; //not enough data
var series = {};
var xValue;
var yValue;
var zValue;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] == undefined || record["c1"] != undefined) continue;
if (series[record["c0"]] == undefined) series[record["c0"]] = [];
xValue = isNaN(record["v0"]) ? null : record["v0"];
yValue = isNaN(record["v1"]) ? null : record["v1"];
zValue = isNaN(record["v2"]) ? null : record["v2"];
series[record["c0"]].push({ name: record["r0"], x: xValue, y: yValue, z: zValue });
} else if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] != undefined) continue;
if (series[data.meta.v2Name] == undefined) series[data.meta.v2Name] = [];
xValue = isNaN(record["v0"]) ? null : record["v0"];
yValue = isNaN(record["v1"]) ? null : record["v1"];
zValue = isNaN(record["v2"]) ? null : record["v2"];
series[data.meta.v2Name].push({ name: record["r0"], x: xValue, y: yValue, z: zValue });
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined || record["r0"] != undefined) continue;
if (series[data.meta.v2Name] == undefined) series[data.meta.v2Name] = [];
xValue = isNaN(record["v0"]) ? null : record["v0"];
yValue = isNaN(record["v1"]) ? null : record["v1"];
zValue = isNaN(record["v2"]) ? null : record["v2"];
series[data.meta.v2Name].push({ name: record["c0"], x: xValue, y: yValue, z: zValue });
}
}
for (var seriesname in series) {
output.series.push({ "name": seriesname, "data": series[seriesname] });
}
}
function prepareSeriesXYZ(output, data) {
output.series = [];
if (data.meta.v1Name == undefined) return; //not enough data
var categories = [];
var series = {};
var yValue;
var zValue;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined) continue;
if (categories.indexOf(record["r0"]) == -1) categories.push(record["r0"]);
if (record["c0"] == undefined || record["c1"] != undefined) continue;
if (series[record["c0"]] == undefined) series[record["c0"]] = [];
yValue = isNaN(record["v0"]) ? null : record["v0"];
zValue = isNaN(record["v1"]) ? null : record["v1"];
series[record["c0"]].push([record["r0"], yValue, zValue]);
} else if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] != undefined) continue;
if (series[data.meta.v1Name] == undefined) series[data.meta.v1Name] = [];
yValue = isNaN(record["v0"]) ? null : record["v0"];
zValue = isNaN(record["v1"]) ? null : record["v1"];
series[data.meta.v1Name].push([record["r0"], yValue, zValue]);
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined || record["r0"] != undefined) continue;
if (series[data.meta.v1Name] == undefined) series[data.meta.v1Name] = [];
yValue = isNaN(record["v0"]) ? null : record["v0"];
zValue = isNaN(record["v1"]) ? null : record["v1"];
series[data.meta.v1Name].push([record["c0"], yValue, zValue]);
}
}
output.xAxis.categories = categories;
for (var seriesname in series) {
output.series.push({ "name": seriesname, "data": series[seriesname] });
}
}
function prepareSeriesWithDrilldown(output, data) {//can drill be for more than one level?
var mainSeries = {};
var series = {};
var value;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0 && data.meta["cAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined) continue;
if (mainSeries[data.meta["r0Name"]] == undefined) mainSeries[data.meta["r0Name"]] = [];
if (record["c0"] == undefined) {
value = isNaN(record["v0"]) ? null : record["v0"];
mainSeries[data.meta["r0Name"]].push({ name: record["r0"], y: value, drilldown: record["r0"] });
}
if (record["c0"] == undefined || record["c1"] != undefined) continue;
if (series[record["r0"]] == undefined) series[record["r0"]] = [];
value = isNaN(record["v0"]) ? null : record["v0"];
series[record["r0"]].push([record["c0"], value]);
}
}
output.series = [];
for (var mainseriesname in mainSeries) {
output.series.push({ "name": mainseriesname, colorByPoint: true, "data": mainSeries[mainseriesname] });
}
output.drilldown = {};
output.drilldown.series = [];
for (var seriesname in series) {
output.drilldown.series.push({ "name": seriesname, "id": seriesname, "data": series[seriesname] });
}
}
function prepareSeriesRange(output, data) {
var categories = [];
var series = {};
var low;
var high;
for (var i = 0; i < data.data.length; i++) {
var record = data.data[i];
if (data.meta["rAmount"] > 0) {
if (record["r0"] == undefined || record["r1"] != undefined || record["c0"] != undefined) continue;
if (categories.indexOf(record["r0"]) == -1) categories.push(record["r0"]);
} else if (data.meta["cAmount"] > 0) {
if (record["c0"] == undefined || record["c1"] != undefined || record["r0"] != undefined) continue;
if (categories.indexOf(record["c0"]) == -1) categories.push(record["c0"]);
}
if (series[data.meta.v0Name] == undefined) series[data.meta.v0Name] = [];
low = isNaN(record["v0"]) ? null : record["v0"];
high = (data.meta.v1Name != undefined)
? isNaN(record["v1"]) ? null : record["v1"]
: low;
series[data.meta.v0Name].push([low, high]);
}
output.xAxis.categories = categories;
output.series = [];
for (var seriesname in series) {
output.series.push({ "name": seriesname, "data": series[seriesname] });
}
}
})();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
+125
View File
@@ -0,0 +1,125 @@
var WebDataRocksToolbar=function(a,b,d,f,m){this.pivot=b;this.pivotContainer=a;this.width="number"==typeof f||0>f.indexOf("px")&&0>f.indexOf("%")?f+"px":f;this.Labels=m};
WebDataRocksToolbar.prototype.getTabs=function(){var a=[],b=this.Labels;a.push({title:b.connect,id:"wdr-tab-connect",icon:this.icons.connect,menu:[{title:b.connect_local_csv,id:"wdr-tab-connect-local-csv",handler:this.connectLocalCSVHandler,mobile:!1,icon:this.icons.connect_csv},{title:b.connect_local_json,id:"wdr-tab-connect-local-json",handler:this.connectLocalJSONHandler,mobile:!1,icon:this.icons.connect_json},{title:this.osUtils.isMobile?b.connect_remote_csv_mobile:b.connect_remote_csv,id:"wdr-tab-connect-remote-csv",
handler:this.connectRemoteCSV,icon:this.icons.connect_csv},{title:this.osUtils.isMobile?b.connect_remote_json_mobile:b.connect_remote_json,id:"wdr-tab-connect-remote-json",handler:this.connectRemoteJSON,icon:this.icons.connect_json}]});a.push({title:b.open,id:"wdr-tab-open",icon:this.icons.open,menu:[{title:b.local_report,id:"wdr-tab-open-local-report",handler:this.openLocalReport,mobile:!1,icon:this.icons.open_local},{title:this.osUtils.isMobile?b.remote_report_mobile:b.remote_report,id:"wdr-tab-open-remote-report",
handler:this.openRemoteReport,icon:this.icons.open_remote}]});a.push({title:b.save,id:"wdr-tab-save",handler:this.saveHandler,mobile:!1,icon:this.icons.save});a.push({title:b.export,id:"wdr-tab-export",mobile:!1,icon:this.icons.export,menu:[{title:b.export_print,id:"wdr-tab-export-print",handler:this.printHandler,icon:this.icons.export_print},{title:b.export_html,id:"wdr-tab-export-html",handler:this.exportHandler,args:"html",icon:this.icons.export_html},{title:b.export_excel,id:"wdr-tab-export-excel",
handler:this.exportHandler,args:"excel",icon:this.icons.export_excel},{title:b.export_pdf,id:"wdr-tab-export-pdf",handler:this.exportHandler,args:"pdf",icon:this.icons.export_pdf}]});a.push({title:b.format,id:"wdr-tab-format",icon:this.icons.format,rightGroup:!0,menu:[{title:this.osUtils.isMobile?b.format_cells_mobile:b.format_cells,id:"wdr-tab-format-cells",handler:this.formatCellsHandler,icon:this.icons.format_number},{title:this.osUtils.isMobile?b.conditional_formatting_mobile:b.conditional_formatting,
id:"wdr-tab-format-conditional",handler:this.conditionalFormattingHandler,icon:this.icons.format_conditional}]});a.push({title:b.options,id:"wdr-tab-options",handler:this.optionsHandler,icon:this.icons.options,rightGroup:!0});a.push({title:b.fields,id:"wdr-tab-fields",handler:this.fieldsHandler,icon:this.icons.fields,rightGroup:!0});void 0!=document.addEventListener&&a.push({title:b.fullscreen,id:"wdr-tab-fullscreen",handler:this.fullscreenHandler,mobile:!1,icon:this.icons.fullscreen,rightGroup:!0});
return a};WebDataRocksToolbar.prototype.create=function(){this.popupManager=new WebDataRocksToolbar.PopupManager(this);this.dataProvider=this.getTabs();this.init()};
WebDataRocksToolbar.prototype.applyToolbarLayoutClasses=function(){if(!this.osUtils.isMobile){var a=this,b=function(){if(a.toolbarWrapper){var b=a.toolbarWrapper.getBoundingClientRect().width;a.toolbarWrapper.classList.remove("wdr-layout-500");a.toolbarWrapper.classList.remove("wdr-layout-360");a.toolbarWrapper.classList.remove("wdr-layout-300");500>b&&a.toolbarWrapper.classList.add("wdr-layout-500");360>b&&a.toolbarWrapper.classList.add("wdr-layout-360");300>b&&a.toolbarWrapper.classList.add("wdr-layout-300")}};
b();window.addEventListener("resize",b)}};
WebDataRocksToolbar.prototype.init=function(){this.container=this.pivotContainer;this.container.style.position=""==this.container.style.position?"relative":this.container.style.position;this.toolbarWrapper=document.createElement("div");this.toolbarWrapper.id="wdr-toolbar-wrapper";this.toolbarWrapper.style.width=this.width;this.osUtils.isMobile&&this.addClass(this.toolbarWrapper,"wdr-mobile");this.addClass(this.toolbarWrapper,"wdr-toolbar-ui");this.toolbarWrapper.style.width=this.width;var a=document.createElement("ul");
a.id="wdr-toolbar";var b=document.createElement("div");b.classList.add("wdr-toolbar-group-right");a.appendChild(b);for(var d=0;d<this.dataProvider.length;d++)if(!this.isDisabled(this.dataProvider[d]))if(this.osUtils.isMobile&&null!=this.dataProvider[d].menu&&!0!=this.dataProvider[d].collapse)for(var f=0;f<this.dataProvider[d].menu.length;f++)this.isDisabled(this.dataProvider[d].menu[f])||a.appendChild(this.createTab(this.dataProvider[d].menu[f]));else f=this.dataProvider[d].divider?this.createDivider(this.dataProvider[d]):
this.createTab(this.dataProvider[d]),b&&this.dataProvider[d].rightGroup?b.appendChild(f):a.appendChild(f);this.toolbarWrapper.appendChild(a);this.container.insertBefore(this.toolbarWrapper,this.container.firstChild);this.updateLabels(this.Labels);this.applyToolbarLayoutClasses()};
WebDataRocksToolbar.prototype.updateLabels=function(a){a=this.Labels=a;this.setText(document.querySelector("#wdr-tab-connect > a > span"),a.connect);this.setText(document.querySelector("#wdr-tab-connect-local-csv > a > span"),a.connect_local_csv);this.setText(document.querySelector("#wdr-tab-connect-local-json > a > span"),a.connect_local_json);this.setText(document.querySelector("#wdr-tab-connect-remote-csv > a > span"),this.osUtils.isMobile?a.connect_remote_csv_mobile:a.connect_remote_csv);this.setText(document.querySelector("#wdr-tab-open > a > span"),
a.open);this.setText(document.querySelector("#wdr-tab-open-local-report > a > span"),a.local_report);this.setText(document.querySelector("#wdr-tab-open-remote-report > a > span"),this.osUtils.isMobile?a.remote_report_mobile:a.remote_report);this.setText(document.querySelector("#wdr-tab-save > a > span"),a.save);this.setText(document.querySelector("#wdr-tab-format > a > span"),a.format);this.setText(document.querySelector("#wdr-tab-format-cells > a > span"),this.osUtils.isMobile?a.format_cells_mobile:
a.format_cells);this.setText(document.querySelector("#wdr-tab-format-conditional > a > span"),this.osUtils.isMobile?a.conditional_formatting_mobile:a.conditional_formatting);this.setText(document.querySelector("#wdr-tab-options > a > span"),a.options);this.setText(document.querySelector("#wdr-tab-fullscreen > a > span"),a.fullscreen);this.setText(document.querySelector("#wdr-tab-export > a > span"),a.export);this.setText(document.querySelector("#wdr-tab-export-print > a > span"),a.export_print);this.setText(document.querySelector("#wdr-tab-export-html > a > span"),
a.export_html);this.setText(document.querySelector("#wdr-tab-export-excel > a > span"),a.export_excel);this.setText(document.querySelector("#wdr-tab-export-pdf > a > span"),a.export_pdf);this.setText(document.querySelector("#wdr-tab-fields > a > span"),a.fields)};
WebDataRocksToolbar.prototype.icons={connect:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-305.5 396.5 36 36"><title>menu_connect</title><path fill="#555" d="M-274.5 425.409s-.988.277-1.422.761l-3.536-1.783c.189-.509.258-1.066.07-1.572l3.719-1.76a2.36 2.36 0 0 0 3.317.147 2.341 2.341 0 0 0 .157-3.3 2.335 2.335 0 0 0-4.055 1.582c-.009.122-.008.237.001.358l-3.896 1.884a2.281 2.281 0 0 0-1.359-.451 2.338 2.338 0 0 0-2.177 2.481 2.33 2.33 0 0 0 2.177 2.179c.491 0 .967-.156 1.359-.451l3.921 1.892a2.317 2.317 0 0 0 1.981 2.604 2.316 2.316 0 0 0 2.604-1.981c.171-1.269-1-2.432-2.262-2.603a8.794 8.794 0 0 0-.6-.026v.039zM-301.592 413.883c-.008.105-.908.222.092.326v6.836c0 2.587 5.827 5.455 13.177 5.455h1.081c-1.146-3 .303-6.854 3.299-8.155-1.448.172-2.868.069-4.334.069-7.056.009-12.775-2.093-13.315-4.531z"/><path fill="#555" d="M-288.5 416.217c7.377 0 13-2.097 13-4.683v-6.853c0-2.586-5.647-4.682-13-4.682-7.352 0-13 2.104-13 4.69v6.853c0 2.586 5.648 4.675 13 4.675zm.177-15.268c5.903 0 10.691 1.661 10.691 3.741s-4.796 3.741-10.691 3.741c-5.894 0-10.683-1.67-10.683-3.741 0-2.072 4.79-3.741 10.683-3.741z"/></svg>',connect_csv:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path d="M11 24l6 0V27h-6V24z"/><path d="M12.8 22L12.8 22l1.2-2.5L15.1 22h1.9l-2-3.9L16.9 14h-1.8l-1 2.5L12.9 14h-1.8l1.9 3.9L11 22H12.8z"/><path d="M19 19h6v3h-6V19z"/><path d="M19 14h6v3L19 17V14z"/><path d="M19 24h6v3h-6V24z"/><path d="M23 4H7v28h22V11L23 4zM8 31V5h14v7h6v19H8L8 31z"/></svg>',
connect_json:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path d="M23 4H7v28h22V11L23 4zM8 31V5h14v7h6v19H8L8 31z"/><path d="M19 24c0 0.6-0.4 1-1 1 -0.6 0-1-0.4-1-1v-2c0-0.6 0.4-1 1-1 0.6 0 1 0.4 1 1V24zM21 18v-2c0-0.6-0.4 0-1 0 -0.6 0-1-0.4-1-1 0-0.6 0.4-1 1-1 1.7 0 3 0.3 3 2v2c0 1.1 0.9 2 2 2 0.6 0 1 0.4 1 1 0 0.6-0.4 1-1 1 -1.1 0-2 0.9-2 2v2c0 1.7-1.3 2-3 2 -0.6 0-1-0.4-1-1s0.4-1 1-1c0.6 0 1 0.6 1 0v-2c0-1.2 0.5-2.3 1.4-3C21.5 20.3 21 19.2 21 18zM11 20c1.1 0 2-0.9 2-2v-2c0-1.7 1.3-2 3-2 0.6 0 1 0.4 1 1 0 0.6-0.4 1-1 1 -0.6 0-1-0.6-1 0v2c0 1.2-0.5 2.3-1.4 3 0.8 0.7 1.4 1.8 1.4 3v2c0 0.6 0.4 0 1 0 0.6 0 1 0.4 1 1s-0.4 1-1 1c-1.7 0-3-0.3-3-2v-2c0-1.1-0.9-2-2-2 -0.6 0-1-0.4-1-1C10 20.4 10.4 20 11 20z"/><path d="M18 17c0.6 0 1 0.4 1 1s-0.4 1-1 1 -1-0.4-1-1S17.4 17 18 17z"/></svg>',
open:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-305.5 396.5 36 36"><title>menu_open</title><path fill="#555" d="M-279.351 408.5h8.976c.064 0 .126-.067.167-.025.021.052.021.055 0 .107l-2.053 20.701c-.01.117-.104.217-.219.217h-30.102c-.116 0-.21-.104-.221-.22l-1.989-16.009c-.022-.041-.022.124 0 .083.042-.054.115.146.178.146h21.198c.87 0 1.665-.726 2.053-1.499l1.812-3.446a.414.414 0 0 1 .2-.055zm-4.052 2.473c.084-.011.162-.052.194-.126l1.813-3.288c.408-.754 1.196-1.059 2.054-1.059h7.842v-2.637c0-1.102-.83-2.166-1.929-2.25-.053 0-.183-.113-.235-.113h-18.328c-.104 0-.188.006-.241-.09.01-1.1-.858-1.91-1.958-1.91h-6.902c-1.226 0-2.406.864-2.406 2.089v9.426l20.096-.042z"/></svg>',
open_local:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><style>.a{fill:none;}</style><path d="M30.9 10.6C30.8 10.4 30.2 10 30 10h-1V8c0-0.4-0.6-1-1-1H15l-1-2H8C7.6 5 7 5.6 7 6v4H6c-0.2 0-0.8 0.4-0.9 0.6 -0.1 0.1-0.2 0.3-0.1 0.5l2.1 19.5C7.2 30.8 7.7 31 8 31h20c0.3 0 0.8-0.2 0.9-0.5l2.1-19.5C31 10.9 31 10.7 30.9 10.6zM28 30H8L6 11h24L28 30z"/><line x1="11" y1="23" x2="11" y2="23" class="a"/><line x1="25" y1="23" x2="25" y2="23" class="a"/><polygon points="11 15 11 23 17 23 17 25 14 25 14 26 22 26 22 25 19 25 19 23 25 23 25 15 "/></svg>',
open_remote:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path d="M30.9 10.6C30.8 10.4 30.2 10 30 10h-1V8c0-0.4-0.6-1-1-1H15l-1-2H8C7.6 5 7 5.6 7 6v4H6c-0.2 0-0.8 0.4-0.9 0.6 -0.1 0.1-0.2 0.3-0.1 0.5l2.1 19.5C7.2 30.8 7.7 31 8 31h20c0.3 0 0.8-0.2 0.9-0.5l2.1-19.5C31 10.9 31 10.7 30.9 10.6zM28 30H8L6 11h24L28 30z"/><path d="M24.8 18.1l-0.8 1.5c-0.2 0.2-0.5 0.2-0.8 0 -1.3-1.2-3.2-1.9-5.3-1.9 -2.1 0-4 0.7-5.3 1.9 -0.2 0.2-0.5 0.2-0.8 0l-0.8-1.5c-0.1-0.1-0.2-0.2-0.2-0.3 0-0.1 0.1-0.2 0.2-0.3 1.7-1.5 4.1-2.5 6.8-2.5 2.7 0 5.1 0.9 6.8 2.5 0.1 0 0.2 0.2 0.2 0.3C25 17.9 24.9 18 24.8 18.1zM18 19.6c1.5 0 2.8 0.5 3.8 1.4 0.2 0.2 0.2 0.5 0 0.7l-0.8 1.5c-0.2 0.2-0.5 0.2-0.8 0 -0.6-0.5-1.4-0.8-2.3-0.8 -0.9 0-1.7 0.3-2.3 0.8 -0.2 0.2-0.5 0.2-0.8 0l-0.8-1.5c-0.2-0.2-0.2-0.5 0-0.7C15.2 20.1 16.5 19.6 18 19.6zM18 23.4c0.8 0 1.4 0.6 1.4 1.3 0 0.7-0.6 1.3-1.4 1.3 -0.8 0-1.4-0.6-1.4-1.3C16.6 24 17.2 23.4 18 23.4z"/></svg>',
save:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-17.5 774.5 36 36"><title>menu_save</title><g fill="#555"><path d="M15.191 783.284l-5.457-5.467a1.101 1.101 0 0 0-.781-.317h-.835c-.2 0-.618.163-.618.363v8.889c0 .618-.245.748-.853.748H-5.638c-.617 0-.862-.14-.862-.748v-8.889c0-.2-.409-.363-.609-.363h-6.283c-.618 0-1.108.499-1.108 1.107v27.785c0 .617.5 1.107 1.108 1.107h27.784c.618 0 1.108-.499 1.108-1.107v-22.337c0-.29-.109-.562-.309-.771zM8.98 801.463c0 .618-.499 1.037-1.107 1.037H-6.873c-.617 0-.627-.357-.627-.966v-8.626c0-.617.019-1.408.627-1.408H7.882c.618 0 1.108.613 1.108 1.223l-.01 8.74z"/><path d="M-4.167 784.5h9.361c.2 0 .306.228.306.028v-6.665c0-.2-.106-.363-.306-.363h-9.361c-.2 0-.333.163-.333.363v6.665c0 .191.124-.028.333-.028zm5.667-4.294c0-.618.392-1.108 1-1.108.618 0 1 .5 1 1.108v1.97c0 .618-.392 1.108-1 1.108-.618 0-1-.5-1-1.108v-1.97zM4.168 796.5h-7.31c-.617 0-1.108.393-1.108 1s.5 1 1.108 1h7.31c.617 0 1.107-.393 1.107-1s-.498-1-1.107-1z"/></g></svg>',
export:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-17.5 774.5 36 36"><title>menu_export</title><g fill="#555"><path d="M15.446 795.615l-4.289-6.461c-.346-.515-.803-.654-1.428-.654H7.788c-.186 0-.346-.029-.363.156-.008.076.017.07.059.137l4.76 7.108c.042.06.034.337-.017.38-.025.025-.067.219-.102.219H6.699c-.194 0-.354-.063-.363.125-.305 3.23-3.174 5.495-6.407 5.192-2.81-.263-5.039-2.329-5.3-5.14-.009-.195-.168-.178-.363-.178h-5.401c-.076 0-.144-.281-.144-.357 0-.025.008-.157.017-.175l4.76-7.203c.102-.16.05-.245-.109-.347-.06-.035-.118.082-.187.082h-1.94c-.616 0-1.199.145-1.553.658l-4.664 6.547c-.203.304-.545.586-.545.95v9.216c1 .911 1.267 1.646 2.187 1.629h27.625c.903.009 1.188-.709 1.188-1.611v-9.233c1-.373.157-.735-.054-1.04z"/><path d="M-3.674 783.5H-2.5v10.2c1 1.4 1.764 2.464 3.165 2.371 1.274-.083 1.835-1.097 2.835-2.371v-10.2h1.207c.346 0 .641-.04.65-.387.008-.151-.042-.193-.144-.311l-4.186-5.11c-.228-.287-.642-.302-.929-.073-.042.034-.076.081-.101.115l-4.135 5.172c-.22.271-.187.447.084.668.11.085.244-.074.38-.074z"/></g></svg>',
export_print:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-17.5 774.5 36 36"><title>dd_save_print</title><path fill="#555" d="M-5.5 798.685v3.815h11v-7h-11v3.185zm2-1.185h7v1h-7v-1zm0 2h7v1h-7v-1zM5.5 786.308V782.5h-11v7h11z"/><path fill="#555" d="M8.94 786.5H7.5v4h-14v-4h-1.44c-1.493 0-2.56 1.064-2.56 2.558v6.87c0 1.493 1.067 2.572 2.56 2.572h1.44v-4h14v4h1.44c1.493 0 2.56-1.064 2.56-2.557v-6.878c0-1.501-1.074-2.565-2.56-2.565z"/></svg>',export_excel:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path d="M24.4 15h-3.8L18 18.6 15.3 15h-3.8l4.5 5.2L11 27h7.3L18 25h-2l2-3L21.1 27H25l-5.1-6.8L24.4 15z"/><path d="M23 4H7v28h22V11L23 4zM8 31V5h14v7h6v19H8L8 31z"/></svg>',
export_html:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path d="M25.7 20.8l-2.3-2.5c-0.2-0.2-0.4-0.3-0.6-0.3 -0.2 0-0.4 0.1-0.6 0.3 -0.3 0.4-0.3 1 0 1.4l1.7 1.9 -1.7 1.9c-0.2 0.2-0.3 0.4-0.3 0.7 0 0.3 0.1 0.5 0.3 0.7 0.2 0.2 0.4 0.3 0.6 0.3 0.2 0 0.4-0.1 0.6-0.3l2.3-2.5C26.1 21.8 26.1 21.2 25.7 20.8z"/><path d="M14 24c0-0.3-0.1-0.5-0.3-0.7l-1.7-1.9 1.7-1.9c0.3-0.4 0.3-1 0-1.4 -0.2-0.2-0.4-0.3-0.6-0.3 -0.2 0-0.4 0.1-0.6 0.3l-2.3 2.5c-0.3 0.4-0.3 1 0 1.4l2.3 2.5c0.2 0.2 0.4 0.3 0.6 0.3 0.2 0 0.4-0.1 0.6-0.3C13.9 24.5 14 24.3 14 24z"/><path d="M20.4 15.1c-0.1 0-0.2-0.1-0.3-0.1 -0.4 0-0.8 0.3-0.9 0.6l-4.1 11.1c-0.1 0.2-0.1 0.5 0 0.7 0.1 0.2 0.3 0.4 0.5 0.5C15.7 28 15.8 28 16 28c0.4 0 0.8-0.3 0.9-0.6l4.1-11.1C21.1 15.8 20.9 15.2 20.4 15.1z"/><path d="M23 4H7v28h22V11L23 4zM8 31V5h14v7h6v19H8L8 31z"/></svg>',
export_pdf:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path d="M17.2 17.1L17.2 17.1C17.3 17.1 17.3 17.1 17.2 17.1c0.1-0.5 0.2-0.7 0.2-1V15.8c0.1-0.6 0.1-1 0-1.1 0 0 0 0 0-0.1l-0.1-0.1 0 0 0 0c0 0 0 0.1-0.1 0.1C16.9 15.2 16.9 16 17.2 17.1L17.2 17.1zM13.8 24.8c-0.2 0.1-0.4 0.2-0.6 0.3 -0.8 0.7-1.3 1.5-1.5 1.8l0 0 0 0 0 0C12.5 26.9 13.1 26.2 13.8 24.8 13.9 24.8 13.9 24.8 13.8 24.8 13.9 24.8 13.8 24.8 13.8 24.8zM24.1 23.1c-0.1-0.1-0.6-0.5-2.1-0.5 -0.1 0-0.1 0-0.2 0l0 0c0 0 0 0 0 0.1 0.8 0.3 1.6 0.6 2.1 0.6 0.1 0 0.1 0 0.2 0l0 0h0.1c0 0 0 0 0-0.1l0 0C24.2 23.3 24.1 23.3 24.1 23.1zM24.6 24c-0.2 0.1-0.6 0.2-1 0.2 -0.9 0-2.2-0.2-3.4-0.8 -1.9 0.2-3.4 0.5-4.5 0.9 -0.1 0-0.1 0-0.2 0.1 -1.3 2.4-2.5 3.5-3.4 3.5 -0.2 0-0.3 0-0.4-0.1l-0.6-0.3v-0.1c-0.1-0.2-0.1-0.3-0.1-0.6 0.1-0.6 0.8-1.6 2.1-2.4 0.2-0.1 0.6-0.3 1-0.6 0.3-0.6 0.7-1.2 1.1-2 0.6-1.1 0.9-2.3 1.2-3.3l0 0c-0.4-1.4-0.7-2.1-0.2-3.7 0.1-0.5 0.4-0.9 0.9-0.9h0.2c0.2 0 0.4 0.1 0.7 0.2 0.8 0.8 0.4 2.6 0 4.1 0 0.1 0 0.1 0 0.1 0.4 1.2 1.1 2.3 1.8 2.9 0.3 0.2 0.6 0.5 1 0.7 0.6 0 1-0.1 1.5-0.1 1.3 0 2.2 0.2 2.6 0.8 0.1 0.2 0.1 0.5 0.1 0.7C24.9 23.5 24.8 23.8 24.6 24zM17.3 19.6c-0.2 0.8-0.7 1.7-1.1 2.7 -0.2 0.5-0.4 0.8-0.7 1.2h0.1 0.1l0 0c1.5-0.6 2.8-0.9 3.7-1 -0.2-0.1-0.3-0.2-0.4-0.3C18.4 21.6 17.7 20.7 17.3 19.6z"/><path d="M23 4H7v28h22V11L23 4zM8 31V5h14v7h6v19H8L8 31z"/></svg>',
format:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-17.5 774.5 36 36"><title>menu_format</title><g fill="#555"><path d="M15.144 781.92a7.62 7.62 0 0 0-4.238-4.157 4.634 4.634 0 0 0-1.201-.254.99.99 0 0 0-.906.36l-10.797 10.829c-1.462 1.462-2.916 2.908-4.37 4.378a1.347 1.347 0 0 0-.326.596c-.481 2.197-.939 4.402-1.413 6.607a.639.639 0 0 0 .792.793l6.551-1.381c.253-.049.49-.171.67-.359 5.063-5.08 10.127-10.144 15.19-15.207.237-.229.384-.548.4-.882a8.491 8.491 0 0 0-.352-1.323zm-16.825 16.652l-2.54.531a2.367 2.367 0 0 0-1.911-1.87c.18-.906.384-1.813.571-2.729a2.05 2.05 0 0 1 1.078.229 6.007 6.007 0 0 1 2.671 2.605c.139.318.245.653.311.996 0 .157 0 .157-.18.238z"/><path d="M6.568 804.5H-11.5v-18h7.761l1.83-2.118 1.593-1.882h-12.455c-.947 0-1.729 1.241-1.729 2.18v21.097c0 .947.77 1.724 1.726 1.724H8.283c.947 0 2.217-.769 2.217-1.724v-12.488l-4 3.438v7.773h.068z"/></g></svg>',
format_number:'<svg xmlns="http://www.w3.org/2000/svg" width="52" height="36" viewBox="0 0 52 36"><path d="M31 19.2v-3.4l2.5-0.4c0.2-0.7 0.5-1.4 0.9-2.1l-1.4-2 2.4-2.4 2 1.4c0.7-0.4 1.4-0.7 2.1-0.9l0.4-2.5h3.4l0.4 2.5c0.7 0.2 1.4 0.5 2.1 0.9l2-1.4 2.4 2.4 -1.4 2c0.4 0.7 0.7 1.4 0.9 2.1L52 15.8v3.4l-2.5 0.4c-0.2 0.7-0.5 1.4-0.9 2.1l1.4 2 -2.4 2.4 -2-1.5c-0.7 0.4-1.4 0.7-2.1 0.9l-0.4 2.5h-3.4l-0.4-2.5c-0.7-0.2-1.4-0.5-2.1-0.9l-2 1.5 -2.4-2.4 1.4-2c-0.4-0.7-0.7-1.4-0.9-2.1L31 19.2zM41.5 21c1.9 0 3.5-1.6 3.5-3.5 0-1.9-1.6-3.5-3.5-3.5 -1.9 0-3.5 1.6-3.5 3.5C38 19.4 39.6 21 41.5 21z"/><path d="M38 30H1V6h36V5H0v26h38V30L38 30z"/><path d="M9.4 21.1c-0.3 0.3-0.7 0.4-1.2 0.4 -0.5 0-0.9-0.2-1.2-0.5s-0.4-0.8-0.4-1.4H5c0 0.9 0.2 1.7 0.7 2.2 0.5 0.6 1.2 0.9 2 1v1.3h1.1v-1.4c0.8-0.1 1.5-0.4 1.9-0.9 0.5-0.5 0.7-1.1 0.7-1.9 0-0.4-0.1-0.8-0.2-1.1 -0.1-0.3-0.3-0.6-0.5-0.8 -0.2-0.2-0.5-0.4-0.8-0.6 -0.3-0.2-0.8-0.4-1.4-0.6 -0.6-0.2-1-0.4-1.2-0.7s-0.4-0.6-0.4-1c0-0.4 0.1-0.8 0.4-1 0.2-0.2 0.6-0.4 1-0.4 0.4 0 0.8 0.2 1 0.5 0.3 0.3 0.4 0.8 0.4 1.4h1.6c0-0.9-0.2-1.6-0.6-2.2 -0.4-0.6-1-0.9-1.8-1v-1.5H7.9v1.5C7.1 12.6 6.5 12.9 6 13.4s-0.7 1.1-0.7 1.9c0 1.1 0.5 2 1.6 2.6 0.3 0.2 0.8 0.4 1.3 0.6 0.6 0.2 1 0.4 1.2 0.7s0.4 0.6 0.4 1C9.8 20.5 9.7 20.8 9.4 21.1z"/><path d="M16.3 12.6h-0.2l-3.8 1.5v1.4l2.4-0.8v8.1h1.6V12.6z"/><path d="M19.9 23.8c0.2-0.5 0.4-1 0.4-1.5l0-1.2h-1.5v1.3c0 0.3-0.1 0.6-0.2 1 -0.1 0.3-0.3 0.7-0.5 1.1l0.9 0.5C19.3 24.7 19.6 24.3 19.9 23.8z"/><path d="M27 16.7c0-1.4-0.3-2.5-0.8-3.2s-1.3-1.1-2.4-1.1c-1.1 0-1.9 0.4-2.4 1.1 -0.5 0.7-0.8 1.8-0.8 3.3v1.8c0 1.4 0.3 2.5 0.8 3.2s1.3 1.1 2.4 1.1c1.1 0 1.9-0.4 2.4-1.1 0.5-0.7 0.8-1.8 0.8-3.3V16.7zM25.4 18.9c0 0.9-0.1 1.6-0.4 2 -0.2 0.4-0.6 0.6-1.2 0.6 -0.5 0-0.9-0.2-1.2-0.7 -0.3-0.5-0.4-1.2-0.4-2.1v-2.3c0-0.9 0.1-1.5 0.4-2 0.3-0.4 0.6-0.6 1.2-0.6 0.5 0 0.9 0.2 1.2 0.7 0.3 0.4 0.4 1.1 0.4 2.1V18.9z"/></svg>',
format_conditional:'<svg xmlns="http://www.w3.org/2000/svg" width="52" height="36" viewBox="0 0 52 36"><polygon points="38 5 0 5 0 31 26 31 26 30 1 30 1 6 37 6 37 10 38 10 "/><path d="M9 13H8.6L5 14.4v1.4l2-0.8V23h2V13z"/><path d="M17 22h-4l2.4-2.9c0.6-0.7 1-1.3 1.3-1.8 0.3-0.5 0.4-1.1 0.4-1.5 0-0.8-0.3-1.5-0.8-2 -0.5-0.5-1.2-0.7-2.2-0.7 -0.6 0-1.2 0.1-1.7 0.4s-0.9 0.6-1.1 1C11.1 14.9 11 16 11 16h1.6c0 0 0.1-0.9 0.4-1.3s0.7-0.4 1.2-0.4c0.4 0 0.8 0.2 1 0.5 0.3 0.3 0.4 0.7 0.4 1.1 0 0.4-0.1 0.7-0.3 1.1 -0.2 0.4-0.6 0.8-1.1 1.3L11 21.9V23h6V22z"/><path d="M21 19h0.8c0.6 0 1-0.1 1.3 0.2 0.3 0.3 0.4 0.6 0.4 1.1 0 0.5-0.1 0.8-0.4 1.1 -0.3 0.3-0.6 0.4-1.1 0.4 -0.5 0-0.8-0.3-1.1-0.5C20.6 20.9 20.5 21 20.5 20h-1.5c0 1 0.3 1.6 0.8 2.1s1.3 0.8 2.1 0.8c0.9 0 1.6-0.2 2.2-0.7 0.6-0.5 0.8-1.2 0.8-2.1 0-0.5-0.1-1-0.4-1.4 -0.3-0.4-0.6-0.7-1.1-0.9 0.4-0.2 0.7-0.5 1-0.9 0.3-0.4 0.4-0.8 0.4-1.2 0-0.9-0.3-1.5-0.8-2 -0.5-0.5-1.2-0.7-2.1-0.7 -0.5 0-1 0.1-1.5 0.3 -0.4 0.2-0.8 0.7-1 1.1S19.1 15 19.1 16h1.5c0-1 0.1-0.9 0.4-1.1 0.3-0.3 0.6-0.5 1-0.5 0.5 0 0.8 0.1 1 0.3s0.3 0.6 0.3 1.1c0 0.5-0.1 0.7-0.4 1C22.7 17 22.3 17 21.9 17H21V19z"/><path d="M47.8 7C50.1 7 52 8.9 52 11.2c0 1-0.3 1.8-0.8 2.5l-1.7 1.7L43.6 9.5l1.7-1.7C46 7.3 46.8 7 47.8 7zM30.7 22.4L29 30l7.6-1.7 11.6-11.6 -5.9-5.9L30.7 22.4zM42 17.9l-5.1 5.1 -0.9-0.9 5.1-5L42 17.9z"/></svg>',
options:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-17.5 774.5 36 36"><title>menu_options</title><path fill="#555" d="M11.363 789.058l-.76-1.838a33.692 33.692 0 0 0 1.601-4.223l-2.327-2.328a31.444 31.444 0 0 0-4.142 1.691l-1.829-.76a32.88 32.88 0 0 0-1.83-4.101h-3.291a32.106 32.106 0 0 0-1.731 4.133l-1.83.76a33.556 33.556 0 0 0-4.206-1.609l-2.328 2.32a31.563 31.563 0 0 0 1.69 4.141l-.759 1.838a34.366 34.366 0 0 0-4.117 1.838v3.3a32.519 32.519 0 0 0 4.117 1.731l.759 1.829a33.633 33.633 0 0 0-1.608 4.223l2.327 2.328a32.986 32.986 0 0 0 4.133-1.699l1.83.76a31.481 31.481 0 0 0 1.862 4.108h3.291a32.194 32.194 0 0 0 1.732-4.133l1.837-.76a33.57 33.57 0 0 0 4.207 1.609l2.327-2.328a31.481 31.481 0 0 0-1.69-4.141l.76-1.838a32.532 32.532 0 0 0 4.108-1.829v-3.3a30.142 30.142 0 0 0-4.133-1.722zM.5 799.202a6.706 6.706 0 1 1 6.706-6.706A6.71 6.71 0 0 1 .5 799.202z"/></svg>',
fields:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-17.5 774.5 36 36"><title>menu_fields</title><g fill="#555"><path d="M11.351 787.279c1.112.367 2.027 1.221 2.55 2.221H13.5v-10.627c0-.744-.089-1.357-.825-1.373h-26.339c-.736.008-.836.612-.836 1.349v21.656c0 .735.093.995.836.995h10.836c-.008 0 .205-1.314.629-2.025-.073-.098-.123.025-.18.025H-12.5v-6h10.563l.83-1.699c.4-.76 1.606-1.258 1.606-1.667V785.5h10.843l.009 1.779zM-1.5 791.5h-11v-6h11v6z"/><path d="M15.805 801.444l-1.602-1.308c0-.237.082-.49.082-.817a2.483 2.483 0 0 0-.082-.817l1.602-1.389a.399.399 0 0 0 .082-.49l-1.528-2.86a.364.364 0 0 0-.278-.123.678.678 0 0 0-.18 0l-1.912.866a6.95 6.95 0 0 0-1.299-.817l-.311-1.989c-.017-.195-.188-.199-.384-.199H6.93c-.147 0-.384.037-.384.199l-.311 2.053c-.458.229-.899.468-1.299.786l-1.912-.834c-.041-.008-.09-.016-.131-.008a.356.356 0 0 0-.319.192l-1.528 2.817c-.082.164-.082.408.082.489l1.749 1.308c0 .237-.082.489-.082.816a2.48 2.48 0 0 0 .082.817l-1.602 1.356a.399.399 0 0 0-.082.49l1.528 2.86a.364.364 0 0 0 .278.123.678.678 0 0 0 .18 0l1.912-.817c.4.318.842.597 1.299.817l.311 2.116a.322.322 0 0 0 .221.4c.033.008.065.017.09.017h3.065c.147 0 .384-.164.384-.327l.311-2.215c.466-.212.907-.49 1.299-.817l1.831.817a.441.441 0 0 0 .54-.163l1.528-2.86c.056-.08-.018-.326-.165-.489zm-7.306.744a2.865 2.865 0 0 1-3.064-2.664c-.114-1.585 1.079-2.95 2.664-3.064a2.867 2.867 0 0 1 3.072 2.868 2.804 2.804 0 0 1-2.672 2.86z"/></g></svg>',
fullscreen:'<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="-17.5 774.5 36 36"><title>menu_fullscreen_open</title><g fill="#555"><path d="M-7.5 779.976V777.5h-7v7h3v-2.752l3.758 4.067 1.74-1.846-4.342-4.003 2.844.01zM-7.742 799.096l-3.758 4.101V800.5h-3v7h7v-2h-2.618l-.049-.371 4.124-4.054-1.699-1.979zM8.746 785.913l3.754-4.092v2.679h3v-7h-7v2h2.602l.082.381-4.126 4.041 1.688 1.991zM13.5 800.5v2.598l-.382.074-4.058-4.003-1.882 1.575 4.006 3.756H8.5v3h7v-7h-2zM-4 786.5h9c1.104 0 2.5.908 2.5 2.011v7.996c0 1.103-1.396 1.993-2.5 1.993h-9c-1.104 0-2.5-.891-2.5-1.993v-8.005c0-1.103 1.396-2.002 2.5-2.002z"/></g></svg>'};
WebDataRocksToolbar.prototype.connectLocalCSVHandler=function(){this.pivot.connectTo({dataSourceType:"csv",browseForFile:!0})};WebDataRocksToolbar.prototype.connectLocalJSONHandler=function(){this.pivot.connectTo({dataSourceType:"json",browseForFile:!0})};WebDataRocksToolbar.prototype.connectRemoteCSV=function(){this.showConnectToRemoteCSVDialog()};WebDataRocksToolbar.prototype.connectRemoteJSON=function(){this.showConnectToRemoteJSONDialog()};WebDataRocksToolbar.prototype.openLocalReport=function(){this.pivot.open()};
WebDataRocksToolbar.prototype.openRemoteReport=function(){this.showOpenRemoteReportDialog()};WebDataRocksToolbar.prototype.saveHandler=function(){this.pivot.save("report.json","file")};WebDataRocksToolbar.prototype.formatCellsHandler=function(){this.showFormatCellsDialog()};WebDataRocksToolbar.prototype.conditionalFormattingHandler=function(){this.showConditionalFormattingDialog()};WebDataRocksToolbar.prototype.optionsHandler=function(){this.showOptionsDialog()};
WebDataRocksToolbar.prototype.fieldsHandler=function(){this.pivot.openFieldsList()};WebDataRocksToolbar.prototype.printHandler=function(){this.pivot.print()};WebDataRocksToolbar.prototype.exportHandler=function(a){"pdf"==a?this.showExportPdfDialog():this.pivot.exportTo(a)};WebDataRocksToolbar.prototype.fullscreenHandler=function(){this.toggleFullscreen()};WebDataRocksToolbar.prototype.defaults={};
WebDataRocksToolbar.prototype.showConnectToRemoteCSVDialog=function(){var a=this,b=this.Labels,d=this.popupManager.createPopup();d.content.classList.add("wdr-popup-w500");d.setTitle(b.open_remote_csv);d.setToolbar([{id:"wdr-btn-open",label:b.open,handler:function(){0<f.value.length&&a.pivot.connectTo({filename:f.value,dataSourceType:"csv"})},isPositive:!0},{id:"wdr-btn-cancel",label:b.cancel}]);var b=document.createElement("div"),f=document.createElement("input");f.id="wdr-inp-file-url";f.type="text";
f.value="https://cdn.webdatarocks.com/data/data.csv";b.appendChild(f);d.setContent(b);this.popupManager.addPopup(d.content)};
WebDataRocksToolbar.prototype.showConnectToRemoteJSONDialog=function(){var a=this,b=this.Labels,d=this.popupManager.createPopup();d.content.classList.add("wdr-popup-w500");d.setTitle(b.open_remote_json);d.setToolbar([{id:"wdr-btn-open",label:b.open,handler:function(){0<f.value.length&&a.pivot.connectTo({filename:f.value,dataSourceType:"json"})},isPositive:!0},{id:"wdr-btn-cancel",label:b.cancel}]);var b=document.createElement("div"),f=document.createElement("input");f.id="wdr-inp-file-url";f.type=
"text";f.value="https://cdn.webdatarocks.com/data/data.json";b.appendChild(f);d.setContent(b);this.popupManager.addPopup(d.content)};
WebDataRocksToolbar.prototype.showOpenRemoteReportDialog=function(){var a=this,b=this.Labels,d=this.popupManager.createPopup();d.content.classList.add("wdr-popup-w500");d.setTitle(b.open_remote_report);d.setToolbar([{id:"wdr-btn-open",label:b.open,handler:function(){0<f.value.length&&a.pivot.load(f.value)},isPositive:!0},{id:"wdr-btn-cancel",label:b.cancel}]);var b=document.createElement("div"),f=document.createElement("input");f.type="text";var m=a.pivot.getOptions()||{};f.value=m.grid&&"flat"==
m.grid.type?"https://cdn.webdatarocks.com/reports/report-flat.json":"https://cdn.webdatarocks.com/reports/report.json";b.appendChild(f);d.setContent(b);this.popupManager.addPopup(d.content)};
WebDataRocksToolbar.prototype.showFormatCellsDialog=function(){var a=this,b=this.Labels,d=function(){n.disabled=h.disabled=w.disabled=p.disabled=q.disabled=r.disabled=s.disabled=t.disabled="empty"==e.value;var b=a.pivot.getFormat(e.value);n.value="left"==b.textAlign||"right"==b.textAlign?b.textAlign:"right";h.value=b.thousandsSeparator;w.value=b.decimalSeparator;p.value=b.decimalPlaces;q.value=b.currencySymbol;r.value=b.currencySymbolAlign;s.value=b.nullValue;t.value=!0==b.isPercent?!0:!1},f=this.popupManager.createPopup();
f.content.id="wdr-popup-format-cells";f.setTitle(this.osUtils.isMobile?b.format:b.format_cells);f.setToolbar([{id:"wdr-btn-apply",label:b.apply,handler:function(){var b={};""==e.value&&(b.name="");b.textAlign=n.value;b.thousandsSeparator=h.value;b.decimalSeparator=w.value;b.decimalPlaces=p.value;b.currencySymbol=q.value;b.currencySymbolAlign=r.value;b.nullValue=s.value;b.isPercent="true"==t.value?!0:!1;a.pivot.setFormat(b,""==e.value?null:e.value);a.pivot.refresh()},isPositive:!0},{id:"wdr-btn-cancel",
label:b.cancel}],!0);var m=document.createElement("div"),g=document.createElement("div");g.classList.add("wdr-inp-group");m.appendChild(g);var c=document.createElement("div");c.classList.add("wdr-inp-row");c.classList.add("wdr-ir-horizontal");g.appendChild(c);var k=document.createElement("label");k.classList.add("wdr-uc");a.setText(k,b.choose_value);c.appendChild(k);var l=a.createSelect(),e=l.select;e.onchange=d;e.options[0]=new Option(b.choose_value,"empty");e.options[0].disabled=!0;e.options[1]=
new Option(b.all_values,"");c.appendChild(l);c=document.createElement("div");c.classList.add("wdr-inp-row");c.classList.add("wdr-ir-horizontal");g.appendChild(c);g=document.createElement("div");g.classList.add("wdr-inp-group");m.appendChild(g);c=document.createElement("div");c.classList.add("wdr-inp-row");c.classList.add("wdr-ir-horizontal");g.appendChild(c);k=document.createElement("label");a.setText(k,b.text_align);c.appendChild(k);var l=a.createSelect(),n=l.select;n.options[0]=new Option(b.align_left,
"left");n.options[1]=new Option(b.align_right,"right");c.appendChild(l);c=document.createElement("div");c.classList.add("wdr-inp-row");c.classList.add("wdr-ir-horizontal");g.appendChild(c);k=document.createElement("label");a.setText(k,b.thousand_separator);c.appendChild(k);var l=a.createSelect(),h=l.select;h.options[0]=new Option(b.none,"");h.options[1]=new Option(b.space," ");h.options[2]=new Option(",",",");h.options[3]=new Option(".",".");c.appendChild(l);c=document.createElement("div");c.classList.add("wdr-inp-row");
c.classList.add("wdr-ir-horizontal");g.appendChild(c);k=document.createElement("label");a.setText(k,b.decimal_separator);c.appendChild(k);var l=a.createSelect(),w=l.select;w.options[0]=new Option(".",".");w.options[1]=new Option(",",",");c.appendChild(l);c=document.createElement("div");c.classList.add("wdr-inp-row");c.classList.add("wdr-ir-horizontal");g.appendChild(c);k=document.createElement("label");a.setText(k,b.decimal_places);c.appendChild(k);for(var l=a.createSelect(),p=l.select,k=0;11>k;k++)p.options[k]=
new Option(0===k?b.none:k-1,k-1);c.appendChild(l);c=document.createElement("div");c.classList.add("wdr-inp-row");c.classList.add("wdr-ir-horizontal");g.appendChild(c);k=document.createElement("label");a.setText(k,b.currency_symbol);c.appendChild(k);var q=document.createElement("input");q.classList.add("wdr-inp");q.type="text";c.appendChild(q);c=document.createElement("div");c.classList.add("wdr-inp-row");c.classList.add("wdr-ir-horizontal");g.appendChild(c);k=document.createElement("label");a.setText(k,
b.currency_align);c.appendChild(k);var l=a.createSelect(),r=l.select;r.options[0]=new Option(b.align_left,"left");r.options[1]=new Option(b.align_right,"right");c.appendChild(l);c=document.createElement("div");c.classList.add("wdr-inp-row");c.classList.add("wdr-ir-horizontal");g.appendChild(c);k=document.createElement("label");a.setText(k,b.null_value);c.appendChild(k);var s=document.createElement("input");s.classList.add("wdr-inp");s.type="text";c.appendChild(s);c=document.createElement("div");c.classList.add("wdr-inp-row");
c.classList.add("wdr-ir-horizontal");g.appendChild(c);k=document.createElement("label");a.setText(k,b.is_percent);c.appendChild(k);var l=a.createSelect(),t=l.select;t.options[0]=new Option(b.true_value,!0);t.options[1]=new Option(b.false_value,!1);c.appendChild(l);f.setContent(m);this.popupManager.addPopup(f.content);b=a.pivot.getMeasures();for(k=0;k<b.length;k++)e.options[k+2]=new Option(b[k].caption,b[k].uniqueName);d()};
WebDataRocksToolbar.prototype.showConditionalFormattingDialog=function(){var a=this,b=this.Labels,d=this.pivot.getAllConditions(),f=function(a){for(var b=a.match(/\W\d+\.*\d*/g),c=[],d=!1,f="",g=0;g<a.length;g++)'"'==a[g]||"'"==a[g]?(d?c.push(f):f="",d=!d):d&&(f+=a[g]);a=a.match(/<=|>=|<|>|=|=|!=|isNaN/g);return null==b&&null==c?{}:{value1:null!=b?b[0].replace(/\s/,""):c[0],value2:null!=b&&1<b.length?b[1].replace(/\s/,""):"",sign:a?a.join(""):""}},m=this.popupManager.createPopup();m.content.id="wdr-popup-conditional";
m.setTitle(this.osUtils.isMobile?b.conditional:b.conditional_formatting);m.setToolbar([{id:"wdr-btn-apply",label:b.apply,handler:function(){a.pivot.removeAllConditions();for(var b=0;b<d.length;b++){var c;c=d[b].sign;var e=d[b].value1,f=d[b].value2,g="",m=null==f||0==f.length,p="><"===c,q="isNaN"===c;(null==e||0==e.length)&&!q||p&&m||(p&&!m?g="AND(#value > "+e+", #value < "+f+")":q?g="isNaN(#value)":(isNaN(parseFloat(e))&&(e="'"+e+"'"),g="#value "+c+" "+e));c=g;if(null==c)return;d[b].formula=c;a.pivot.addCondition(d[b])}a.pivot.refresh()},
isPositive:!0},{id:"wdr-btn-cancel",label:b.cancel}],!0);var g=document.createElement("a");g.id="wdr-add-btn";g.setAttribute("href","javascript:void(0)");g.classList.add("wdr-ui-btn");g.classList.add("wdr-ui-btn-light");g.classList.add("wdr-button-add");g.onclick=function(){var b={sign:"<",value1:"0",measures:a.pivot.getMeasures(),format:{fontFamily:"Arial",fontSize:"12px",color:"#000000",backgroundColor:"#FFFFFF"}};d.push(b);c.appendChild(a.createConditionalFormattingItem(b,d));a.popupManager.centerPopup(m.content)};
g.setAttribute("title",b.add_condition);b=document.createElement("span");b.classList.add("wdr-icon");b.classList.add("wdr-icon-act_add");g.appendChild(b);m.toolbar.insertBefore(g,m.toolbar.firstChild);var c=document.createElement("div");c.classList.add("wdr-popup-content");c.onclick=function(b){b.target.classList.contains("wdr-cr-delete")&&a.popupManager.centerPopup(m.content)};for(g=0;g<d.length;g++)b=f(d[g].formula),d[g].value1=b.value1,d[g].value2=b.value2,d[g].sign=b.sign,d[g].measures=a.pivot.getMeasures(),
c.appendChild(a.createConditionalFormattingItem(d[g],d));m.setContent(c);this.popupManager.addPopup(m.content)};WebDataRocksToolbar.prototype.defaults.fontSizes="8px 9px 10px 11px 12px 13px 14px".split(" ");WebDataRocksToolbar.prototype.defaults.fonts="Arial;Lucida Sans Unicode;Verdana;Courier New;Palatino Linotype;Tahoma;Impact;Trebuchet MS;Georgia;Times New Roman".split(";");
WebDataRocksToolbar.prototype.defaults.conditions=[{label:"less_than",sign:"<"},{label:"less_than_or_equal",sign:"<="},{label:"greater_than",sign:">"},{label:"greater_than_or_equal",sign:">="},{label:"equal_to",sign:"="},{label:"not_equal_to",sign:"!="},{label:"between",sign:"><"},{label:"is_empty",sign:"isNaN"}];
WebDataRocksToolbar.prototype.createConditionalFormattingItem=function(a,b){var d=this,f=this.Labels,m=function(a,b){h[0]=new Option(f.all_values,"");for(var c=d.pivot.getOptions()||{},c=c.grid&&"flat"==c.grid.type,e=0;e<a.length;e++)c&&7==a[e].type||(h[h.options.length]=new Option(a[e].caption,a[e].uniqueName));null!=b?h.value=b:h.selectedIndex=0},g=function(){"sign"in a&&"><"===a.sign?(p.classList.remove("wdr-width120"),p.classList.add("wdr-width50"),p.style.display="inline-block",r.value="value2"in
a?a.value2:"0",r.style.display="inline-block",q.style.display="inline-block"):("sign"in a&&"isNaN"===a.sign?p.style.display="none":(p.classList.add("wdr-width120"),p.classList.remove("wdr-width50"),p.style.display="inline-block"),r.style.display="none",q.style.display="none")},c=function(){var b=a.format;null!=b&&(v.style.backgroundColor=b.backgroundColor||"#fff",v.style.color=b.color||"#000",v.style.fontFamily=b.fontFamily||"Arial",v.style.fontSize=b.fontSize||"12px")},k=document.createElement("div");
k.classList.add("wdr-condition-row");var l=document.createElement("div");l.classList.add("wdr-wrap-relative");k.appendChild(l);var e=document.createElement("span");e.classList.add("wdr-cr-delete");e.classList.add("wdr-icon");e.classList.add("wdr-icon-act_trash");e.onclick=function(){var c=b.indexOf(a);-1<c&&b.splice(c,1);k.parentNode.removeChild(k)};l.appendChild(e);e=document.createElement("div");e.classList.add("wdr-cr-inner");l.appendChild(e);var n=document.createElement("div");n.classList.add("wdr-cr-lbl");
n.classList.add("wdr-width50");d.setText(n,f.value+":");e.appendChild(n);n=d.createSelect();n.id="wdr-values";var h=n.select;"measures"in a?(m(a.measures,a.measure),h.disabled=0===a.measures.length):h.disabled=!0;h.onchange=function(){a.measure=h.value};e.appendChild(n);n=d.createSelect();n.id="wdr-conditions";var w=n.select;(function(a){for(var b=0;b<d.defaults.conditions.length;b++)w[b]=new Option(f[d.defaults.conditions[b].label],d.defaults.conditions[b].sign);null!=a?w.value=a:w.selectedIndex=
0})("sign"in a?a.sign:null);w.onchange=function(){a.sign=w.value;"sign"in a&&"><"===a.sign?a.value2=0:("sign"in a&&"isNaN"===a.sign&&delete a.value1,delete a.value2);g()};e.appendChild(n);var p=document.createElement("input");p.classList.add("wdr-number-inp");p.classList.add("wdr-width50");p.type="number";p.value="value1"in a?a.value1:"0";p.onchange=function(){a.value1=0==p.value.length?"0":p.value};e.appendChild(p);var q=document.createElement("span");q.id="wdr-and-label";q.classList.add("wdr-width20");
d.setText(q,f.and_symbole);e.appendChild(q);var r=document.createElement("input");r.classList.add("wdr-number-inp");r.classList.add("wdr-width50");r.type="number";r.value="value2"in a?a.value2:"0";r.onchange=function(){a.value2=0==r.value.length?"0":r.value};e.appendChild(r);g();e=document.createElement("div");e.classList.add("wdr-cr-inner");l.appendChild(e);n=document.createElement("div");n.classList.add("wdr-cr-lbl");n.classList.add("wdr-width50");d.setText(n,f.format+":");e.appendChild(n);n=d.createSelect();
n.id="wdr-font-family";var s=n.select;(function(a){for(var b=0;b<d.defaults.fonts.length;b++)s[b]=new Option(d.defaults.fonts[b],d.defaults.fonts[b]);s.value=null==a?"Arial":a})(a.hasOwnProperty("format")&&a.format.hasOwnProperty("fontFamily")?a.format.fontFamily:null);s.onchange=function(){null!=a.format&&(a.format.fontFamily=s.value,c())};e.appendChild(n);n=d.createSelect();n.id="wdr-font-size";var t=n.select;(function(a){for(var b=0;b<d.defaults.fontSizes.length;b++)t[b]=new Option(d.defaults.fontSizes[b],
d.defaults.fontSizes[b]);t.value=null==a?"12px":a})(a.hasOwnProperty("format")&&a.format.hasOwnProperty("fontSize")?a.format.fontSize:null);t.onchange=function(){null!=a.format&&(a.format.fontSize=t.value,c())};e.appendChild(n);var u=new WebDataRocksToolbar.ColorPicker(this,k);u.setColor(a.hasOwnProperty("format")&&a.format.hasOwnProperty("backgroundColor")?a.format.backgroundColor:"0xFFFFFF","bg");u.setColor(a.hasOwnProperty("format")&&a.format.hasOwnProperty("color")?a.format.color:"0x000000","font");
u.changeHandler=function(){null!=a.format&&(v.style.color=u.fontColor||"#000",v.style.backgroundColor=u.backgroundColor||"#fff")};u.applyHandler=function(){null!=a.format&&(a.format.color=u.fontColor,a.format.backgroundColor=u.backgroundColor,c())};u.cancelHandler=function(){null!=a.format&&(u.setColor(a.format.hasOwnProperty("backgroundColor")?a.format.backgroundColor:"0xFFFFFF","bg"),u.setColor(a.format.hasOwnProperty("color")?a.format.color:"0x000000","font"));c()};e.appendChild(u.element);var v=
document.createElement("input");v.id="wdr-sample";v.classList.add("wdr-inp");v.type="number";v.value="73.93";v.style.pointerEvents="none";e.appendChild(v);c();return k};
WebDataRocksToolbar.prototype.showOptionsDialog=function(){var a=this,b=this.Labels,d=this.popupManager.createPopup();d.content.id="wdr-popup-options";d.setTitle(this.osUtils.isMobile?b.options:b.layout_options);d.setToolbar([{id:"wdr-btn-apply",label:b.apply,handler:function(){var b;n.checked?b="off":w.checked?b="on":p.checked?b="rows":q.checked&&(b="columns");var c;u.checked?c="off":v.checked?c="on":x.checked?c="rows":y.checked&&(c="columns");var d="compact";s&&s.checked?d="classic":t&&t.checked&&
(d="flat");var e=a.pivot.getOptions(),e={grid:{showGrandTotals:b,showTotals:c,type:d}};a.pivot.setOptions(e);a.pivot.refresh()},isPositive:!0},{id:"wdr-btn-cancel",label:b.cancel}],!0);var f=document.createElement("div");f.classList.add("wdr-popup-content");var m=document.createElement("div");m.classList.add("wdr-ui-row");f.appendChild(m);var g=document.createElement("div");g.classList.add("wdr-ui-col-2");m.appendChild(g);var c=document.createElement("div");c.classList.add("wdr-title-2");a.setText(c,
b.grand_totals);g.appendChild(c);var k="wdr-grand-totals-"+Date.now(),c=document.createElement("ul");c.classList.add("wdr-radiobtn-list");g.appendChild(c);var l=document.createElement("li"),e=document.createElement("div");e.classList.add("wdr-radio-wrap");var n=document.createElement("input");n.type="radio";n.name=k;n.id="wdr-gt-1";n.value="off";e.appendChild(n);var h=document.createElement("label");h.setAttribute("for","wdr-gt-1");a.setText(h,b.grand_totals_off);e.appendChild(h);l.appendChild(e);
c.appendChild(l);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var w=document.createElement("input");w.type="radio";w.name=k;w.id="wdr-gt-2";w.value="on";e.appendChild(w);h=document.createElement("label");h.setAttribute("for","wdr-gt-2");a.setText(h,b.grand_totals_on);e.appendChild(h);l.appendChild(e);c.appendChild(l);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var p=document.createElement("input");
p.type="radio";p.name=k;p.id="wdr-gt-3";p.value="rows";e.appendChild(p);h=document.createElement("label");h.setAttribute("for","wdr-gt-3");a.setText(h,b.grand_totals_on_rows);e.appendChild(h);l.appendChild(e);c.appendChild(l);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var q=document.createElement("input");q.type="radio";q.name=k;q.id="wdr-gt-4";q.value="rows";e.appendChild(q);h=document.createElement("label");h.setAttribute("for","wdr-gt-4");a.setText(h,
b.grand_totals_on_columns);e.appendChild(h);l.appendChild(e);c.appendChild(l);c=document.createElement("div");c.classList.add("wdr-title-2");a.setText(c,b.layout);g.appendChild(c);var r="wdr-layout-"+Date.now(),c=document.createElement("ul");c.classList.add("wdr-radiobtn-list");g.appendChild(c);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");k=document.createElement("input");k.type="radio";k.name=r;k.id="wdr-lt-1";k.value="compact";e.appendChild(k);
h=document.createElement("label");h.setAttribute("for","wdr-lt-1");a.setText(h,b.compact_view);e.appendChild(h);l.appendChild(e);c.appendChild(l);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var s=document.createElement("input");s.type="radio";s.name=r;s.id="wdr-lt-2";s.value="classic";e.appendChild(s);h=document.createElement("label");h.setAttribute("for","wdr-lt-2");a.setText(h,b.classic_view);e.appendChild(h);l.appendChild(e);c.appendChild(l);
g=a.pivot.getReport({withDefaults:!0,withGlobals:!0});l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var t=document.createElement("input");t.type="radio";t.name=r;t.id="wdr-lt-3";t.value="flat";e.appendChild(t);h=document.createElement("label");h.setAttribute("for","wdr-lt-3");a.setText(h,b.flat_view);e.appendChild(h);l.appendChild(e);c.appendChild(l);g=document.createElement("div");g.classList.add("wdr-ui-col-2");m.appendChild(g);c=document.createElement("div");
c.classList.add("wdr-title-2");a.setText(c,b.subtotals);g.appendChild(c);m="wdr-subtotals-"+Date.now();c=document.createElement("ul");c.classList.add("wdr-radiobtn-list");g.appendChild(c);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var u=document.createElement("input");u.type="radio";u.name=m;u.id="wdr-st-1";u.value="off";e.appendChild(u);h=document.createElement("label");h.setAttribute("for","wdr-st-1");a.setText(h,b.subtotals_off);e.appendChild(h);
l.appendChild(e);c.appendChild(l);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var v=document.createElement("input");v.type="radio";v.name=m;v.id="wdr-st-2";v.value="on";e.appendChild(v);h=document.createElement("label");h.setAttribute("for","wdr-st-2");a.setText(h,b.subtotals_on);e.appendChild(h);l.appendChild(e);c.appendChild(l);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var x=document.createElement("input");
x.type="radio";x.name=m;x.id="wdr-st-3";x.value="rows";e.appendChild(x);h=document.createElement("label");h.setAttribute("for","wdr-st-3");a.setText(h,b.subtotals_on_rows);e.appendChild(h);l.appendChild(e);c.appendChild(l);l=document.createElement("li");e=document.createElement("div");e.classList.add("wdr-radio-wrap");var y=document.createElement("input");y.type="radio";y.name=m;y.id="wdr-st-4";y.value="columns";e.appendChild(y);h=document.createElement("label");h.setAttribute("for","wdr-st-4");a.setText(h,
b.subtotals_on_columns);e.appendChild(h);l.appendChild(e);c.appendChild(l);d.setContent(f);this.popupManager.addPopup(d.content);g=a.pivot.getOptions()||{};b=g.grid||{};"off"==b.showGrandTotals||!1==b.showGrandTotals?n.checked=!0:"on"==b.showGrandTotals||!0==b.showGrandTotals?w.checked=!0:"rows"==b.showGrandTotals?p.checked=!0:"columns"==b.showGrandTotals&&(q.checked=!0);"off"==b.showTotals?u.checked=!0:"on"==b.showTotals?v.checked=!0:"rows"==b.showTotals?x.checked=!0:"columns"==b.showTotals&&(y.checked=
!0);"flat"==b.type&&t?t.checked=!0:"classic"==b.type&&s?s.checked=!0:k&&(k.checked=!0)};
WebDataRocksToolbar.prototype.showExportPdfDialog=function(){var a=this,b=this.Labels,d=this.popupManager.createPopup();d.setTitle(b.choose_page_orientation);d.setToolbar([{id:"wdr-btn-apply",label:b.apply,handler:function(){var b="portrait";k.checked&&(b="landscape");a.pivot.exportTo("pdf",{pageOrientation:b})},isPositive:!0},{id:"wdr-btn-cancel",label:b.cancel}]);var f=document.createElement("div"),m=document.createElement("ul");m.classList.add("wdr-radiobtn-list");f.appendChild(m);var g=document.createElement("li");
m.appendChild(g);var c=document.createElement("div");c.classList.add("wdr-radio-wrap");g.appendChild(c);g=document.createElement("input");g.id="wdr-portrait-radio";g.type="radio";g.name="wdr-pdf-orientation";g.checked=!0;c.appendChild(g);g=document.createElement("label");g.setAttribute("for","wdr-portrait-radio");a.setText(g,b.portrait);c.appendChild(g);g=document.createElement("li");m.appendChild(g);c=document.createElement("div");c.classList.add("wdr-radio-wrap");g.appendChild(c);var k=document.createElement("input");
k.id="wdr-landscape-radio";k.type="radio";k.name="wdr-pdf-orientation";c.appendChild(k);g=document.createElement("label");g.setAttribute("for","wdr-landscape-radio");a.setText(g,b.landscape);c.appendChild(g);d.setContent(f);this.popupManager.addPopup(d.content)};WebDataRocksToolbar.prototype.toggleFullscreen=function(){this.isFullscreen()?this.exitFullscreen():this.enterFullscreen(this.container)};
WebDataRocksToolbar.prototype.isFullscreen=function(){return document.fullScreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};
WebDataRocksToolbar.prototype.enterFullscreen=function(a){if(a.requestFullscreen||a.webkitRequestFullScreen||a.mozRequestFullScreen||a.msRequestFullscreen&&window==top){this.containerStyle={width:this.container.style.width,height:this.container.style.height,position:this.container.style.position,top:this.container.style.top,bottom:this.container.style.bottom,left:this.container.style.left,right:this.container.style.right,marginTop:this.container.style.marginTop,marginLeft:this.container.style.left,
toolbarWidth:this.toolbarWrapper.style.width};this.container.style.width="100%";this.container.style.height="100%";this.container.style.position="fixed";this.container.style.top="0px";this.container.style.left="0px";this.toolbarWrapper.style.width="100%";if(a.requestFullscreen)a.requestFullscreen();else if(a.webkitRequestFullScreen){var b=navigator.userAgent;-1<b.indexOf("Safari")&&-1==b.indexOf("Chrome")?a.webkitRequestFullScreen():a.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}else a.mozRequestFullScreen?
a.mozRequestFullScreen():a.msRequestFullscreen&&(window==top?a.msRequestFullscreen():alert("Fullscreen mode in IE 11 is not currently supported while Pivot embeded in iframe."));a.addEventListener("fullscreenchange",function(){window.screenTop||window.screenY||this.isFullscreen()||this.exitFullscreen()}.bind(this),!1);a.addEventListener("webkitfullscreenchange",function(){window.screenTop||window.screenY||this.isFullscreen()||this.exitFullscreen()}.bind(this),!1);a.addEventListener("mozfullscreenchange",
function(){window.fullScreen||window.innerWidth==screen.width&&window.innerHeight==screen.height||this.exitFullscreen()}.bind(this),!1)}};
WebDataRocksToolbar.prototype.exitFullscreen=function(){this.container.style.width=this.containerStyle.width;this.container.style.height=this.containerStyle.height;this.container.style.position=this.containerStyle.position;this.container.style.top=this.containerStyle.top;this.container.style.left=this.containerStyle.left;this.container.style.marginTop=this.containerStyle.marginTop;this.container.style.marginLeft=this.containerStyle.marginLeft;this.toolbarWrapper.style.width=this.containerStyle.toolbarWidth;
document.exitFullscreen?document.exitFullscreen():document.cancelFullscreen?document.cancelFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullScreen?document.webkitExitFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()};WebDataRocksToolbar.prototype.nullOrUndefined=function(a){return"undefined"===typeof a||null===a};
WebDataRocksToolbar.prototype.hasClass=function(a,b){return a.className.match(RegExp("(\\s|^)"+b+"(\\s|$)"))};WebDataRocksToolbar.prototype.addClass=function(a,b){this.hasClass(a,b)||(a.className+=" "+b)};WebDataRocksToolbar.prototype.removeClass=function(a,b){this.hasClass(a,b)&&(a.className=a.className.replace(RegExp("(\\s|^)"+b+"(\\s|$)")," "))};WebDataRocksToolbar.prototype.setText=function(a,b){a&&(void 0!==a.innerText&&(a.innerText=b),void 0!==a.textContent&&(a.textContent=b))};
WebDataRocksToolbar.prototype.createSelect=function(){var a=document.createElement("div");a.classList.add("wdr-select");var b=document.createElement("select");a.appendChild(b);a.select=b;return a};WebDataRocksToolbar.prototype.createDivider=function(a){a=document.createElement("li");a.className="wdr-divider";return a};
WebDataRocksToolbar.prototype.createTab=function(a){var b=document.createElement("li");b.id=a.id;var d=document.createElement("a");a.hasOwnProperty("class_attr")&&d.setAttribute("class",a.class_attr);d.setAttribute("href","javascript:void(0)");if(a.icon){var f=document.createElement("div");f.classList.add("wdr-svg-icon");f.innerHTML=a.icon;d.appendChild(f)}f=document.createElement("span");this.setText(f,a.title);d.appendChild(f);var m=this,f="function"==typeof a.handler?a.handler:this[a.handler];
this.nullOrUndefined(f)||(d.onclick=function(a,b){return function(){a.call(m,b)}}(f,a.args));this.nullOrUndefined(this[a.onShowHandler])||(d.onmouseover=function(a){return function(){a.call(m)}}(this[a.onShowHandler]));b.onmouseover=function(){m.showDropdown(this)};b.onmouseout=function(){m.hideDropdown(this)};b.appendChild(d);null==a.menu||this.osUtils.isMobile&&!0!=a.collapse||b.appendChild(this.createTabMenu(a.menu));return b};
WebDataRocksToolbar.prototype.showDropdown=function(a){var b=a.querySelectorAll(".wdr-dropdown")[0];b&&(b.style.display="block",b.getBoundingClientRect().right>this.toolbarWrapper.getBoundingClientRect().right&&(b.style.right=0,this.addClass(a,"wdr-align-rigth")))};WebDataRocksToolbar.prototype.hideDropdown=function(a){var b=a.querySelectorAll(".wdr-dropdown")[0];b&&(b.style.display="none",b.style.right=null,this.removeClass(a,"wdr-align-rigth"))};
WebDataRocksToolbar.prototype.createTabMenu=function(a){var b=document.createElement("div");b.className="wdr-dropdown wdr-shadow-container";var d=document.createElement("ul");d.className="wdr-dropdown-content";for(var f=0;f<a.length;f++)this.isDisabled(a[f])||d.appendChild(a[f].divider?this.createMenuDivider():this.createTab(a[f]));b.appendChild(d);return b};WebDataRocksToolbar.prototype.createMenuDivider=function(){var a=document.createElement("li");a.className="wdr-v-divider";return a};
WebDataRocksToolbar.prototype.isDisabled=function(a){return this.nullOrUndefined(a)?!0:!1===a.ios&&this.osUtils.isIOS||!1===a.android&&this.osUtils.isAndroid||!1===a.mobile&&this.osUtils.isMobile};WebDataRocksToolbar.prototype.getElementById=function(a,b){var d=function(a,b){for(var g=0;g<a.childNodes.length;g++){var c=a.childNodes[g];if(c.id==b)return c;c=d(c,b);if(null!=c)return c}return null};return d(b||this.toolbarWrapper,a)};
WebDataRocksToolbar.prototype.osUtils={isIOS:navigator.userAgent.match(/iPhone|iPad|iPod/i)||navigator.platform.match(/iPhone|iPad|iPod/i)?!0:!1,isMac:/Mac/i.test(navigator.platform),isAndroid:navigator.userAgent.match(/Android/i)?!0:!1,isBlackBerry:/BlackBerry/i.test(navigator.platform),isMobile:navigator.userAgent.match(/iPhone|iPad|iPod/i)||navigator.platform.match(/iPhone|iPad|iPod/i)||navigator.userAgent.match(/Android/i)||/BlackBerry/i.test(navigator.platform)};
WebDataRocksToolbar.PopupManager=function(a){this.toolbar=a;this.activePopup=null};WebDataRocksToolbar.PopupManager.prototype.createPopup=function(){return new WebDataRocksToolbar.PopupManager.PopupWindow(this)};
WebDataRocksToolbar.PopupManager.prototype.addPopup=function(a){if(null!=a){this.removePopup();this.modalOverlay=this.createModalOverlay();this.activePopup=a;this.toolbar.toolbarWrapper.appendChild(a);this.toolbar.toolbarWrapper.appendChild(this.modalOverlay);this.addLayoutClasses(a);this.centerPopup(a);var b=this;a.resizeHandler=function(){a&&(b.addLayoutClasses(a),b.centerPopup(a))};window.addEventListener("resize",a.resizeHandler)}};
WebDataRocksToolbar.PopupManager.prototype.addLayoutClasses=function(a){a.classList.remove("wdr-layout-tablet");a.classList.remove("wdr-layout-mobile");a.classList.remove("wdr-layout-mobile-small");var b=this.getBoundingRect(this.toolbar.container);768>b.width&&a.classList.add("wdr-layout-tablet");580>b.width&&a.classList.add("wdr-layout-mobile");460>b.width&&a.classList.add("wdr-layout-mobile-small")};
WebDataRocksToolbar.PopupManager.prototype.centerPopup=function(a){var b=this.getBoundingRect(this.toolbar.container),d=this.getBoundingRect(a),f=this.getBoundingRect(this.toolbar.toolbarWrapper);a.style.zIndex=parseInt(this.modalOverlay.style.zIndex)+1;this.modalOverlay.style.height=b.height+"px";a.style.left=Math.max(0,(f.width-d.width)/2)+"px";a.style.top=Math.max(0,(b.height-d.height)/2)+"px"};
WebDataRocksToolbar.PopupManager.prototype.removePopup=function(a){a=a||this.activePopup;null!=this.modalOverlay&&(this.toolbar.toolbarWrapper.removeChild(this.modalOverlay),this.modalOverlay=null);null!=a&&(this.toolbar.toolbarWrapper.removeChild(a),this.activePopup=null,window.removeEventListener("resize",a.resizeHandler))};
WebDataRocksToolbar.PopupManager.prototype.getBoundingRect=function(a){var b=a.getBoundingClientRect();return{left:b.left,right:b.right,top:b.top,bottom:b.bottom,width:b.width||a.clientWidth,height:b.height||a.clientHeight}};WebDataRocksToolbar.PopupManager.prototype.createModalOverlay=function(){var a=document.createElement("div");a.className="wdr-modal-overlay";a.id="wdr-popUp-modal-overlay";var b=this;a.addEventListener("click",function(a){b.removePopup(b.activePopup)});return a};
WebDataRocksToolbar.PopupManager.PopupWindow=function(a){this.popupManager=a;var b=document.createElement("div");b.className="wdr-panel-content";var d=document.createElement("div");d.className="wdr-title-bar";var f=document.createElement("div");f.className="wdr-title-text";var m=document.createElement("div");m.className="wdr-toolbox";m.style.clear="both";this.content=document.createElement("div");this.content.className="wdr-popup wdr-panel wdr-toolbar-ui wdr-ui";this.content.appendChild(b);b.appendChild(d);
d.appendChild(f);this.setTitle=function(a){WebDataRocksToolbar.prototype.setText(f,a)};this.setContent=function(a){b.insertBefore(a,d.nextSibling)};var g=this;this.setToolbar=function(a,k){m.innerHTML="";for(var l=a.length-1;0<=l;l--){var e=document.createElement("a");e.setAttribute("href","javascript:void(0)");e.className="wdr-ui-btn"+(a[l].isPositive?" wdr-ui-btn-dark":"");a[l].id&&(e.id=a[l].id);WebDataRocksToolbar.prototype.setText(e,a[l].label);e.onclick=function(a){return function(){null!=a&&
a.call();g.popupManager.removePopup()}}(a[l].handler);!0===a[l].disabled?WebDataRocksToolbar.prototype.addClass(e,"wdr-ui-disabled"):WebDataRocksToolbar.prototype.removeClass(e,"wdr-ui-disabled");a[l].isPositive&&(WebDataRocksToolbar.prototype.osUtils.isMac||WebDataRocksToolbar.prototype.osUtils.isIOS)?m.appendChild(e):m.insertBefore(e,m.firstChild)}k?(m.classList.add("wdr-ui-col"),d.appendChild(m),d.classList.add("wdr-ui-row"),f.classList.add("wdr-ui-col")):b.appendChild(m)};this.toolbar=m;this.titleBar=
d;this.title=f;return this};
WebDataRocksToolbar.ColorPicker=function(a,b){function d(a){a=a.target.getAttribute("data-c");h.drawShades(h.colors[a]);h.setColor(a,h.currentType,!0)}function f(a){a=a.target.getAttribute("data-c");h.setColor(a,h.currentType,!0)}function m(a){h.currentType=a;k.classList.remove("wdr-current");l.classList.remove("wdr-current");"bg"==a?(l.classList.add("wdr-current"),h.setColor(h.backgroundColor,a,!1)):(k.classList.add("wdr-current"),h.setColor(h.fontColor,a,!1))}function g(){h.closePopup();h.cancelHandler&&
h.cancelHandler()}this.toolbar=a;this.element=document.createElement("div");this.element.classList.add("wdr-colorpick-wrap");this.element.classList.add("wdr-width40");this.colorPickerButton=document.createElement("div");this.colorPickerButton.classList.add("wdr-colorpick-btn");this.element.appendChild(this.colorPickerButton);this.colorPickerIcon=document.createElement("span");this.colorPickerIcon.classList.add("wdr-icon");this.colorPickerIcon.classList.add("wdr-icon-act_font");this.colorPickerButton.appendChild(this.colorPickerIcon);
this.popup=document.createElement("div");this.popup.classList.add("wdr-colorpick-popup");this.popup.onclick=function(a){a.stopPropagation()};b.appendChild(this.popup);var c=document.createElement("div");c.classList.add("wdr-color-targ-switch");this.popup.appendChild(c);var k=document.createElement("a");k.classList.add("wdr-cts-item");k.classList.add("wdr-current");k.href="javascript:void(0);";k.innerHTML=a.Labels.cp_text;k.onclick=function(){m("font")};c.appendChild(k);var l=document.createElement("a");
l.classList.add("wdr-cts-item");l.innerHTML=a.Labels.cp_highlight;l.href="javascript:void(0);";l.onclick=function(){m("bg")};c.appendChild(l);c=document.createElement("div");c.classList.add("wdr-cp-sett-row");this.popup.appendChild(c);this.colorInput=document.createElement("input");this.colorInput.type="text";this.colorInput.classList.add("wdr-inp");this.colorInput.classList.add("wdr-width140");this.colorInput.classList.add("wdr-tac");this.colorInput.onchange=function(){var a=h.colorInput.value;h.isColor(a)&&
h.setColor(a,h.currentType,!0)};c.appendChild(this.colorInput);this.colorPreview=document.createElement("div");this.colorPreview.classList.add("wdr-cp-curr-color");this.colorPreview.classList.add("wdr-width140");c.appendChild(this.colorPreview);this.mainColors=document.createElement("div");this.mainColors.classList.add("wdr-row-9colors");this.popup.appendChild(this.mainColors);for(var e in this.colors){c=document.createElement("div");c.classList.add("wdr-r9c-item");c.style.backgroundColor=e;c.setAttribute("data-c",
e);c.addEventListener("click",d);this.mainColors.appendChild(c);var n=document.createElement("span");n.classList.add("wdr-cp-currentmark");n.classList.add("wdr-icon");n.classList.add("wdr-icon-act_check");c.appendChild(n);n=document.createElement("span");n.classList.add("wdr-r9c-arrow");n.style.borderTopColor=e;c.appendChild(n)}this.shadeColors=document.createElement("div");this.shadeColors.classList.add("wdr-row-4colors");this.popup.appendChild(this.shadeColors);for(e=0;8>e;e++)c=document.createElement("div"),
c.classList.add("wdr-r4c-item"),c.addEventListener("click",f),this.shadeColors.appendChild(c),n=document.createElement("span"),n.classList.add("wdr-cp-currentmark"),n.classList.add("wdr-icon"),n.classList.add("wdr-icon-act_check"),c.appendChild(n);this.drawShades(this.colors["#000000"]);c=document.createElement("div");c.classList.add("wdr-cp-btns-row");this.popup.appendChild(c);e=document.createElement("a");e.innerHTML=a.Labels.apply;e.classList.add("wdr-ui-btn");e.classList.add("wdr-ui-btn-dark");
e.addEventListener("click",function(){h.closePopup();h.applyHandler&&h.applyHandler()});n=document.createElement("a");n.innerHTML=a.Labels.cancel;n.classList.add("wdr-ui-btn");n.addEventListener("click",g);WebDataRocksToolbar.prototype.osUtils.isMac||WebDataRocksToolbar.prototype.osUtils.isIOS?(c.appendChild(n),c.appendChild(e)):(c.appendChild(e),c.appendChild(n));this.currentType="font";this.colorPickerButton.addEventListener("click",function(a){a.stopPropagation();h.isOpened()?h.closePopup():h.openPopup()});
document.body.addEventListener("click",function(a){g()});var h=this};
WebDataRocksToolbar.ColorPicker.prototype.colors={"#000000":"#000000 #212121 #424242 #616161 #757575 #9E9E9E #BDBDBD #FFFFFF".split(" "),"#F44336":"#D32F2F #E53935 #F44336 #EF5350 #E57373 #EF9A9A #FFCDD2 #FFEBEE".split(" "),"#FF9800":"#F57C00 #FB8C00 #FF9800 #FFA726 #FFB74D #FFCC80 #FFE0B2 #FFF3E0".split(" "),"#FFEB3B":"#FBC02D #FDD835 #FFEB3B #FFEE58 #FFF176 #FFF59D #FFF9C4 #FFFDE7".split(" "),"#8BC34A":"#689F38 #7CB342 #8BC34A #9CCC65 #AED581 #C5E1A5 #DCEDC8 #F1F8E9".split(" "),"#009688":"#00796B #00897B #009688 #26A69A #4DB6AC #80CBC4 #B2DFDB #E0F2F1".split(" "),
"#03A9F4":"#0288D1 #039BE5 #03A9F4 #29B6F6 #4FC3F7 #81D4FA #B3E5FC #E1F5FE".split(" "),"#3F51B5":"#303F9F #3949AB #3F51B5 #5C6BC0 #7986CB #9FA8DA #C5CAE9 #E8EAF6".split(" "),"#9C27B0":"#7B1FA2 #8E24AA #9C27B0 #AB47BC #BA68C8 #CE93D8 #E1BEE7 #F3E5F5".split(" ")};WebDataRocksToolbar.ColorPicker.prototype.isOpened=function(){return this.popup.parentElement&&this.popup.parentElement.classList.contains("wdr-popup-opened")};
WebDataRocksToolbar.ColorPicker.prototype.drawShades=function(a){if(a)for(var b=this.shadeColors.children,d=0;d<b.length;d++){var f=b[d];f.setAttribute("data-c",a[d]);f.style.backgroundColor=a[d];f.style.borderRight="#FFFFFF"==a[d]?"1px solid #d5d5d5":"none";f.style.borderBottom="#FFFFFF"==a[d]?"1px solid #d5d5d5":"none"}};
WebDataRocksToolbar.ColorPicker.prototype.setColor=function(a,b,d){"string"===typeof a&&0==a.indexOf("0x")&&(a="#"+a.substr(2));"bg"==b?(this.backgroundColor=a,this.colorPickerButton.style.backgroundColor=a):(this.fontColor=a,this.colorPickerIcon.style.color=a);this.colorInput.value=a;this.colorPreview.style.backgroundColor=a;this.drawSelected();d&&this.changeHandler&&this.changeHandler()};
WebDataRocksToolbar.ColorPicker.prototype.drawSelected=function(){var a="bg"==this.currentType?this.backgroundColor:this.fontColor,b=this.findMain(a);this.drawShades(this.colors[b]);for(var d=this.mainColors.children,f=0;f<d.length;f++)d[f].classList.remove("wdr-current");(b=this.mainColors.querySelector("[data-c='"+b+"']"))&&b.classList.add("wdr-current");d=this.shadeColors.children;for(f=0;f<d.length;f++)d[f].classList.remove("wdr-current");(a=this.shadeColors.querySelector("[data-c='"+a+"']"))&&
a.classList.add("wdr-current")};WebDataRocksToolbar.ColorPicker.prototype.findMain=function(a){"string"===typeof a&&0==a.indexOf("0x")&&(a="#"+a.substr(2));for(var b in this.colors)if(0<=this.colors[b].indexOf(a))return b};WebDataRocksToolbar.ColorPicker.prototype.isColor=function(a){return a.match(/^#?[0-9A-Fa-f]{6}$/g)};WebDataRocksToolbar.ColorPicker.prototype.closePopup=function(){this.popup.parentElement&&this.popup.parentElement.classList.remove("wdr-popup-opened")};
WebDataRocksToolbar.ColorPicker.prototype.openPopup=function(){for(var a=this.toolbar.toolbarWrapper.querySelectorAll(".wdr-colorpick-popup"),b=0;b<a.length;b++)a[b].parentElement.classList.remove("wdr-popup-opened");this.popup.parentElement&&(a=this.toolbar.toolbarWrapper.querySelector("#wdr-popup-conditional .wdr-panel-content"),b=this.getWhere(this.colorPickerButton,a),0>this.getWhere(this.colorPickerButton,document.body).top-this.popup.clientHeight?(this.popup.classList.remove("wdr-arrow-down"),
this.popup.classList.add("wdr-arrow-up"),this.popup.style.top=this.colorPickerButton.clientHeight+b.top+11+"px",this.popup.style.bottom=""):(this.popup.classList.add("wdr-arrow-down"),this.popup.classList.remove("wdr-arrow-up"),this.popup.style.bottom=a.clientHeight-b.top+5+"px",this.popup.style.top=""),this.popup.style.left=b.left+this.colorPickerButton.clientWidth/2+2+"px",this.popup.parentElement.classList.add("wdr-popup-opened"))};
WebDataRocksToolbar.ColorPicker.prototype.getWhere=function(a,b){var d=0,f=0,m=0,g=0;if(a.offsetParent){for(var d=a.offsetLeft,f=a.offsetTop,c=a;(c=c.parentNode)&&c!=b;)m=c.scrollTop?c.scrollTop:0,g=0,d-=g,f-=m;for(;(a=a.offsetParent)&&a!=b;)d+=a.offsetLeft,f+=a.offsetTop}return{top:f+0,left:d+0}};
+388
View File
@@ -0,0 +1,388 @@
{
"fieldsList": {
"flatHierarchyBox": "选择和重排列",
"hierarchyBox": "拖拽大小",
"filterBox": "删除并重排报表筛选",
"rowBox": "删除并重排行",
"columnBox": "删除并重排列",
"measureBox": "删除并重排值",
"values": "值",
"addCalculatedMeasure": "增加计算值",
"expandAll": "展开所有",
"collapseAll": "折叠所有",
"formulasGroupName": "计算后的值",
"allFields": "所有字段",
"rows": "行",
"columns": "列",
"filters": "报表筛选",
"dropField": "从这里移除字段",
"title": "字段",
"subtitle": "拖拽和移除字段来重排"
},
"filter": {
"all": "所有",
"multipleItems": "多项",
"selectAll": "选择所有",
"selectAllResults": "选择所有结果",
"top": "顶部",
"bottom": "底部",
"ascSort": "A-Z升序",
"descSort": "Z-A降序",
"topX": "前10",
"clearTopX": "清除",
"measuresPrompt": "选择值",
"search": "搜索",
"amountSelected": "{1}中已选择{0}项",
"amountFound": "{1}中发现{0}项已选择",
"sort": "排序:",
"addGroup": "增加组",
"groupName": "组1",
"ungroup": "取消组"
},
"drillThrough": {
"title": "详情",
"row": "行: <b>{0}</b>",
"column": "列: <b>{0}</b>",
"value": "{0}: <b>{1}</b>"
},
"calculatedView": {
"title": "已计算值",
"measureBox": "拖拽值到公式",
"measureName": "值名称",
"formula": "公式",
"formulaPrompt": "拖拽值并在此编辑公式",
"calculateIndividualValues": "计算自定义值",
"removeValue": "移除",
"removeValueTitle": "移除 {0}?",
"removeValueMessage": "您确定要移除该已计算值吗?",
"header": "增加已计算值",
"allValues": "所有值"
},
"grid": {
"total": "小计",
"totals": "合计",
"grandTotal": "总计",
"blankMember": "(空)",
"dateInvalidCaption": "无效日期",
"reportInformation": "模板信息"
},
"tooltips": {
"row": "行:",
"column": "列:",
"headerResize": "拖拽调整",
"headerFit": "双击适应",
"filterIcon": "单击筛选",
"filtered": "已筛选",
"expandIcon": "单击展开",
"collapseIcon": "单击折叠",
"drillDown": "单击向下钻取",
"drillUp": "单击向上钻取",
"sortIcon": "单击降序",
"sortedDescIcon": "单击升序",
"sortedAscIcon": "单击降序",
"close": "单击关闭"
},
"aggregations": {
"sum": {
"caption": "求和",
"totalCaption": "{0}求和",
"grandTotalCaption": "{0}求和总计"
},
"count": {
"caption": "计数",
"totalCaption": "{0}计数",
"grandTotalCaption": "{0}计数总计"
},
"distinctCount": {
"caption": "计数(去重)",
"totalCaption": "{0}计数(去重)",
"grandTotalCaption": "{0}计数(去重)总计"
},
"difference": {
"caption": "差值",
"totalCaption": "{0}差值",
"grandTotalCaption": "{0}差值总计"
},
"percentDifference": {
"caption": "%差值",
"totalCaption": "{0}%差值",
"grandTotalCaption": "{0}%差值总计"
},
"average": {
"caption": "平均值",
"totalCaption": "{0}平均值",
"grandTotalCaption": "{0}平均值总计"
},
"product": {
"caption": "乘积",
"totalCaption": "{0}乘积",
"grandTotalCaption": "{0}乘积总计"
},
"min": {
"caption": "最小值",
"totalCaption": "{0}最小值",
"grandTotalCaption": "{0}最小值总计"
},
"max": {
"caption": "最大值",
"totalCaption": "{0}最大值",
"grandTotalCaption": "{0}最大值总计"
},
"percent": {
"caption": "总计(%)",
"totalCaption": "{0}总计(%)",
"grandTotalCaption": "{0}总计(%)和"
},
"percentOfColumn": {
"caption": "列(%)",
"totalCaption": "{0}列(%)",
"grandTotalCaption": "{0}列(%)总计"
},
"percentOfRow": {
"caption": "行(%)",
"totalCaption": "{0}行(%)",
"grandTotalCaption": "{0}行(%)总计"
},
"index": {
"caption": "指数",
"totalCaption": "{0}指数",
"grandTotalCaption": "{0}指数总计"
},
"none": {
"caption": "不计算"
}
},
"messages": {
"error": "错误!",
"warning": "警告!",
"limitation": "有限制!",
"browse": "浏览",
"confirmation": "确认",
"reportFileType": "Flexmonster模板文件",
"loading": "正在加载...",
"loadingConfiguration": "",
"loadingData": "正在加载数据...",
"waiting": "响应中请等待{0}秒.",
"progress": "{0}K",
"progressUnknown": "已加载{0}K",
"analyzing": "分析数据中...",
"analyzingProgress": "{0} records of {1} ({2}%)",
"analyzingRecords": "{0}% 记录",
"saving": "保存中...",
"loadingDimensions": "维度加载中...",
"loadingHierarchies": "层级加载中...",
"loadingMeasures": "度量加载中...",
"loadingKPIs": "KPI加载中...",
"loadingMembers": "成员加载中...",
"loadingLevels": "等级加载中...",
"loadingProperties": "属性加载中...",
"fullscreen": "在全屏模式下打开报表?",
"exportComplete": "导出数据已创建,请单击\"保存\"按钮保存数据.",
"exportProgress": "导出正在处理中...",
"exportError": "导出失败,发生意外错误.",
"generatingPDF": "正在生成PDF",
"pleaseWait": "请稍等.",
"pagesWereGenerated": "页面已生成.",
"uploading": "上传中...",
"cantSaveFile": "不能保存文件.",
"cantSaveToClipboard": "错误:无法写入剪切板.",
"saveReportToFile": "模板已准备保存到文件,请单击\"保存\"按钮保存模板.",
"loadReportFromFile": "选择模板文件加载.",
"inputNewName": "输入新名称",
"inputReportName": "输入新模板名称",
"invalidDataSource": "无效的数据源或目录.请检查. <br/><br/><u><a href='https://www.flexmonster.com/doc/typical-errors/#invalid-datasource' target='_blank'>阅读关于这个错误的更多信息</a></u>",
"dataStreamError": "加载'{0}'时发生数据流错误.<br/><br/><u><a href='https://www.flexmonster.com/doc/typical-errors/#stream-error' target='_blank'>阅读关于这个错误的更多信息</a></u>",
"unableToOpenFile": "不能打开文件:{0}.<br/><br/>似乎这个文件不存在或资源中缺少'Access-Control-Allow-Origin'请求头.<br/><br/><u><a href='https://www.flexmonster.com/doc/typical-errors/#unable-to-open-file' target='_blank'>阅读关于这个错误的更多信息</a></u>",
"unableTwoFileBrowsingSessions": "浏览文件的面板已打开.",
"inappropriateFileFormat": "数据文件格式不匹配.",
"invalidJSONdata": "JSON数据无效.",
"wrongFormulaFormat": "错误的公式格式,请检查.",
"excelCsvChartsExportError": "图表无法导出到Microsoft Excel或CSV.",
"excelPdfExportLimitation": "当前版本无法导出到Microsoft Excel或PDF.",
"excelExportLimitation": "当前版本无法导出.",
"noDataAvailable": "数据源为空,请检查CSV文件.",
"saveDataToFile": "数据已准备保存到文件,请单击\"保存\"按钮保存文件.",
"dataWasUpdated": "数据源已在服务器上更新。要刷新模板吗?",
"ocsvIncompatible": "不能读取数据源.似乎OCSV文件使用新版本压缩过,请更正{0}或更新的版本的组件.",
"unknownError": "发生未知错误.",
"invalidReportFormat": "无效的模板格式或文件拒绝访问.",
"csvHeaderParsingError": "CSV页眉解析错误.",
"tooManyColumnsInClassicMode": "经典方式下列太多.请把视图切换到简洁方式.",
"cantExpand": "有些字段无法展开.请缩小数据范围.",
"cantExpandTitle": "数据集太大."
},
"buttons": {
"ok": "好",
"apply": "应用",
"cancel": "取消",
"save": "保存",
"clear": "清除",
"select": "选择",
"yes": "是",
"no": "否"
},
"contextMenu": {
"clearSorting": "清除排序",
"collapse": "折叠",
"drillThrough": "钻取",
"expand": "展开",
"openFilter": "打开筛选",
"sortColumnAsc": "列升序",
"sortColumnDesc": "列降序",
"sortRowAsc": "行升序",
"sortRowDesc": "行降序"
},
"date": {
"year": "年",
"quarter": "季",
"month": "月",
"day": "天"
},
"quarters": {
"q1": "一季度",
"q2": "二季度",
"q3": "三季度",
"q4": "四季度"
},
"months": {
"january": "一月",
"february": "二月",
"march": "三月",
"april": "四月",
"may": "五月",
"june": "六月",
"july": "七月",
"august": "八月",
"september": "九月",
"october": "十月",
"november": "十一月",
"december": "十二月"
},
"monthsShort": {
"january": "Jan",
"february": "Feb",
"march": "Mar",
"april": "Apr",
"may": "May",
"june": "Jun",
"july": "Jul",
"august": "Aug",
"september": "Sep",
"october": "Oct",
"november": "Nov",
"december": "Dec"
},
"weekdays": {
"first": "周日",
"second": "周一",
"third": "周二",
"fourth": "周三",
"fifth": "周四",
"sixth": "周五",
"seventh": "周六"
},
"weekdaysShort": {
"first": "Sun",
"second": "Mon",
"third": "Tue",
"fourth": "Wed",
"fifth": "Thu",
"sixth": "Fri",
"seventh": "Sat"
},
"toolbar": {
"connect": "连接",
"connect_local_csv": "连接本地CSV文件",
"connect_local_ocsv": "连接本地OCSV文件",
"connect_local_json": "连接本地JSON文件",
"connect_remote_csv": "连接远程CSV文件",
"connect_remote_csv_mobile": "CSV",
"connect_remote_json": "连接远程JSON文件",
"connect_remote_json_mobile": "JSON",
"open": "打开",
"local_report": "本地模板",
"remote_report": "远程模板",
"remote_report_mobile": "模板",
"save": "保存",
"save_json": null,
"load_json": "JSON模板",
"grid": "网格",
"grid_flat": "扁平",
"grid_classic": "经典",
"grid_compact": "简洁",
"format": "格式化",
"format_cells": "格式化单元格",
"format_cells_mobile": "格式化",
"conditional_formatting": "条件格式化",
"conditional_formatting_mobile": "条件",
"options": "选项",
"fullscreen": "全屏显示",
"minimize": "最小化",
"export": "导出",
"export_print": "打印",
"export_html": "按HTML导出",
"export_excel": "按Excel导出",
"export_pdf": "按PDF导出",
"fields": "字段",
"ok": "好",
"apply": "应用",
"done": "完成",
"cancel": "取消",
"value": "值",
"delete": "删除",
"if": "如果",
"then": "那么",
"open_remote_csv": "打开远程CSV文件",
"open_remote_json": "打开远程JSON文件",
"csv": "CSV",
"open_remote_report": "打开远程模板",
"choose_value": "选择值",
"text_align": "文字居中",
"align_left": "居左",
"align_right": "居右",
"none": "不设置",
"space": "(空格)",
"thousand_separator": "千位分隔符",
"decimal_separator": "小数分隔符",
"decimal_places": "小数位数",
"currency_symbol": "货币符号",
"currency_align": "货币对齐",
"null_value": "空值",
"is_percent": "百分比格式",
"true_value": "是",
"false_value": "否",
"conditional": "条件",
"add_condition": "增加条件",
"less_than": "小于",
"less_than_or_equal": "小于等于",
"greater_than": "大于",
"greater_than_or_equal": "大于等于",
"equal_to": "等于",
"not_equal_to": "不等于",
"between": "介于两者之间",
"is_empty": "空值",
"all_values": "所有值",
"and": "和",
"and_symbole": "&",
"cp_text": "文本",
"cp_highlight": "高亮",
"layout_options": "布局项",
"layout": "布局",
"compact_view": "简洁方式",
"classic_view": "经典方式",
"flat_view": "扁平方式",
"grand_totals": "总计",
"grand_totals_off": "不显示总计",
"grand_totals_on": "显示总计",
"grand_totals_on_rows": "仅在行显示总计",
"grand_totals_on_columns": "仅在列显示总计",
"subtotals": "小计",
"subtotals_off": "不显示小计",
"subtotals_on": "显示小计",
"subtotals_on_rows": "仅在行显示小计",
"subtotals_on_columns": "仅在列显示小计",
"choose_page_orientation": "选择页面方向",
"landscape": "横向",
"portrait": "纵向"
}
}