Built files from Bizgaze WebServer
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pivot.ru.js 3.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. (function() {
  2. var callWithJQuery;
  3. callWithJQuery = function(pivotModule) {
  4. if (typeof exports === "object" && typeof module === "object") {
  5. return pivotModule(require("jquery"));
  6. } else if (typeof define === "function" && define.amd) {
  7. return define(["jquery"], pivotModule);
  8. } else {
  9. return pivotModule(jQuery);
  10. }
  11. };
  12. callWithJQuery(function($) {
  13. var frFmt, frFmtInt, frFmtPct, nf, tpl;
  14. nf = $.pivotUtilities.numberFormat;
  15. tpl = $.pivotUtilities.aggregatorTemplates;
  16. frFmt = nf({
  17. thousandsSep: " ",
  18. decimalSep: ","
  19. });
  20. frFmtInt = nf({
  21. digitsAfterDecimal: 0,
  22. thousandsSep: " ",
  23. decimalSep: ","
  24. });
  25. frFmtPct = nf({
  26. digitsAfterDecimal: 1,
  27. scaler: 100,
  28. suffix: "%",
  29. thousandsSep: " ",
  30. decimalSep: ","
  31. });
  32. return $.pivotUtilities.locales.ru = {
  33. localeStrings: {
  34. renderError: "Ошибка рендеринга страницы.",
  35. computeError: "Ошибка табличных расчетов.",
  36. uiRenderError: "Ошибка во время прорисовки и динамического расчета таблицы.",
  37. selectAll: "Выбрать все",
  38. selectNone: "Снять выделение",
  39. tooMany: "(Выбрано слишком много значений)",
  40. filterResults: "Возможные значения",
  41. totals: "Всего",
  42. vs: "на",
  43. by: "с"
  44. },
  45. aggregators: {
  46. "Кол-во": tpl.count(frFmtInt),
  47. "Кол-во уникальных": tpl.countUnique(frFmtInt),
  48. "Список уникальных": tpl.listUnique(", "),
  49. "Сумма": tpl.sum(frFmt),
  50. "Сумма целых": tpl.sum(frFmtInt),
  51. "Среднее": tpl.average(frFmt),
  52. "Минимум": tpl.min(frFmt),
  53. "Максимум": tpl.max(frFmt),
  54. "Сумма по сумме": tpl.sumOverSum(frFmt),
  55. "80% верхней границы": tpl.sumOverSumBound80(true, frFmt),
  56. "80% нижней границы": tpl.sumOverSumBound80(false, frFmt),
  57. "Доля по всему": tpl.fractionOf(tpl.sum(), "total", frFmtPct),
  58. "Доля по строке": tpl.fractionOf(tpl.sum(), "row", frFmtPct),
  59. "Доля по столбцу": tpl.fractionOf(tpl.sum(), "col", frFmtPct),
  60. "Кол-во по всему": tpl.fractionOf(tpl.count(), "total", frFmtPct),
  61. "Кол-во по строке": tpl.fractionOf(tpl.count(), "row", frFmtPct),
  62. "Кол-во по столбцу": tpl.fractionOf(tpl.count(), "col", frFmtPct)
  63. },
  64. renderers: {
  65. "Таблица": $.pivotUtilities.renderers["Table"],
  66. "График столбцы": $.pivotUtilities.renderers["Table Barchart"],
  67. "Тепловая карта": $.pivotUtilities.renderers["Heatmap"],
  68. "Тепловая карта по строке": $.pivotUtilities.renderers["Row Heatmap"],
  69. "Тепловая карта по столбцу": $.pivotUtilities.renderers["Col Heatmap"]
  70. }
  71. };
  72. });
  73. }).call(this);