@univerjs-pro/sheets-pivot-ui 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +1 -0
  2. package/lib/cjs/index.js +1 -0
  3. package/lib/es/index.js +1 -0
  4. package/lib/index.css +1 -0
  5. package/lib/locale/en-US.json +89 -0
  6. package/lib/locale/ru-RU.json +89 -0
  7. package/lib/locale/vi-VN.json +89 -0
  8. package/lib/locale/zh-CN.json +89 -0
  9. package/lib/locale/zh-TW.json +89 -0
  10. package/lib/types/commands/commands/add-pivot-field.command.d.ts +4 -0
  11. package/lib/types/commands/commands/add-pivot-table.command.d.ts +4 -0
  12. package/lib/types/commands/commands/move-pivot-field.command.d.ts +4 -0
  13. package/lib/types/commands/commands/remove-pivot-field.command.d.ts +4 -0
  14. package/lib/types/commands/commands/set-pivot-collapse.command.d.ts +4 -0
  15. package/lib/types/commands/commands/set-pivot-filter.command.d.ts +4 -0
  16. package/lib/types/commands/commands/set-pivot-sort.command.d.ts +4 -0
  17. package/lib/types/commands/commands/update-pivot-setting.command.d.ts +4 -0
  18. package/lib/types/commands/commands/update-pivot-source.command.d.ts +4 -0
  19. package/lib/types/commands/commands/update-value-position.command.d.ts +4 -0
  20. package/lib/types/commands/operations/open-pivot-filter-panel.operation.d.ts +4 -0
  21. package/lib/types/commands/operations/open-pivot-range-panel.operation.d.ts +3 -0
  22. package/lib/types/commands/operations/open-pivot-setting-dialog.operation.d.ts +4 -0
  23. package/lib/types/commands/operations/open-pivot-table-panel.operation.d.ts +4 -0
  24. package/lib/types/const.d.ts +13 -0
  25. package/lib/types/controllers/sheets-pivot-clear.controller.d.ts +13 -0
  26. package/lib/types/controllers/sheets-pivot-confirm.controller.d.ts +20 -0
  27. package/lib/types/controllers/sheets-pivot-edit.controller.d.ts +16 -0
  28. package/lib/types/controllers/sheets-pivot-menu.controller.d.ts +11 -0
  29. package/lib/types/controllers/sheets-pivot-panel.controller.d.ts +18 -0
  30. package/lib/types/controllers/sheets-pivot-ref-range.controller.d.ts +23 -0
  31. package/lib/types/controllers/sheets-pivot-remove-sheet.controller.d.ts +10 -0
  32. package/lib/types/controllers/sheets-pivot-render.controller.d.ts +21 -0
  33. package/lib/types/controllers/sheets-pivot-table-menu.controller.d.ts +13 -0
  34. package/lib/types/index.d.ts +15 -0
  35. package/lib/types/locale/en-US.d.ts +4 -0
  36. package/lib/types/locale/ru-RU.d.ts +4 -0
  37. package/lib/types/locale/vi-VN.d.ts +4 -0
  38. package/lib/types/locale/zh-CN.d.ts +90 -0
  39. package/lib/types/locale/zh-TW.d.ts +4 -0
  40. package/lib/types/plugin.d.ts +20 -0
  41. package/lib/types/services/sheets-pivot-ui.service.d.ts +44 -0
  42. package/lib/types/type.d.ts +97 -0
  43. package/lib/types/util.d.ts +12 -0
  44. package/lib/types/views/components/PivotFilterPanel.d.ts +10 -0
  45. package/lib/types/views/components/PivotNumfmtDialog.d.ts +14 -0
  46. package/lib/types/views/components/PivotPanel.d.ts +13 -0
  47. package/lib/types/views/components/PivotPanelArea.d.ts +14 -0
  48. package/lib/types/views/components/PivotPanelSourceRange.d.ts +11 -0
  49. package/lib/types/views/components/PivotSourceList.d.ts +16 -0
  50. package/lib/types/views/components/PivotTableRangeSelector.d.ts +25 -0
  51. package/lib/types/views/components/SettingDialog.d.ts +15 -0
  52. package/lib/types/views/components/const.d.ts +24 -0
  53. package/lib/types/views/components/util.d.ts +78 -0
  54. package/lib/types/views/menu.d.ts +4 -0
  55. package/lib/types/views/widgets/drawing.d.ts +9 -0
  56. package/lib/types/views/widgets/icons.d.ts +5 -0
  57. package/lib/types/views/widgets/pivot-button.shape.d.ts +35 -0
  58. package/lib/umd/index.js +1 -0
  59. package/package.json +111 -0
package/lib/index.css ADDED
@@ -0,0 +1 @@
1
+ .univer-pivot-panel{font-family:PingFang SC;font-size:13px;font-style:normal}.univer-pivot-panel-menu{display:inline-flex;padding:8px;flex-direction:column;align-items:flex-start;border-radius:8px;border:1px solid rgb(var(--grey-200));background:rgb(var(--color-white));box-shadow:0 4px 16px #1e222b14}.univer-pivot-panel-menu-wrap{min-width:120px!important}.univer-pivot-panel-menu-item{display:flex;padding:6px 8px;align-items:center;align-self:stretch;color:rgb(var(--color-black));font-size:13px;font-weight:400;line-height:20px;cursor:pointer}.univer-pivot-panel-menu-item:hover{background:#1e222b0f}.univer-pivot-panel-wrap{width:100%;padding-top:16px;overflow:hidden}.univer-pivot-panel-block,.univer-pivot-panel-source{margin-bottom:16px}.univer-pivot-panel-source-header{height:20px;line-height:20px;font-size:13px;margin-bottom:8px}.univer-pivot-panel-source-header-label{float:left;color:rgb(var(--color-black));text-align:justify;font-style:normal;font-weight:500}.univer-pivot-panel-source-header-desc{float:right;color:rgb(var(--grey-600));font-style:normal;font-weight:400}.univer-pivot-panel-source-input{position:relative}.univer-pivot-panel-source-mask{position:absolute;left:0;top:0;z-index:1000;height:28px;width:calc(100% - 22px)}.univer-pivot-panel-list{position:relative;width:100%;display:flex;flex-direction:row;height:32px;line-height:16px;padding:8px 4px;border-radius:6px;cursor:pointer;box-sizing:border-box}.univer-pivot-panel-list-area-item:first-child{margin-top:8px}.univer-pivot-panel-list-area-item:last-child{margin-bottom:8px}.univer-pivot-panel-list-drag{cursor:move;color:rgb(var(--color-black));font-size:16px}.univer-pivot-panel-list-checkbox{font-size:14px;color:#bcbcbc;width:14px}.univer-pivot-panel-list-type{font-size:12px;color:#bcbcbc;margin:0 6px}.univer-pivot-panel-list-wrap{padding:0 8px;border-radius:8px;border:1px solid rgb(var(--grey-200));background:#fff;box-sizing:border-box}.univer-pivot-panel-list-title{color:rgb(var(--color-black));font-size:13px;font-style:normal;font-weight:500;line-height:20px;margin-top:0;margin-bottom:4px}.univer-pivot-panel-list-desc{color:rgb(var(--grey-600));font-size:12px;font-weight:400;line-height:16px;margin-top:0;margin-bottom:8px}.univer-pivot-panel-list-content{flex:1;display:inline-block;color:rgb(var(--color-black));font-size:12px;font-style:normal;font-weight:400;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:250px;display:flex}.univer-pivot-panel-list:hover{background-color:#f0f0f0;white-space:nowrap}.univer-pivot-panel-field-area{padding:0 8px}.univer-pivot-panel-field-area-title{width:100%;color:rgb(var(--color-black));font-size:13px;font-weight:400;line-height:16px;margin-bottom:8px;margin-top:0;display:flex}.univer-pivot-panel-field-area-title-icon{font-size:16px;line-height:16px;width:16px;margin-right:6px}.univer-pivot-panel-field-area-title-text{display:inline-block;vertical-align:top}.univer-pivot-panel-field-area-empty{display:flex;height:160px;padding:0 8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;align-self:stretch}.univer-pivot-panel-field-area-empty-icon{width:32px;height:32px}.univer-pivot-panel-field-area-empty-desc{color:rgb(var(--grey-600));text-align:center;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:400;line-height:16px}.univer-pivot-panel-field-area-wrap{flex:1;min-height:200px;padding:4px}.univer-pivot-panel-field-area-content{height:160px;width:113px;padding:8px 0;flex-direction:column;justify-content:center;align-items:center;border-radius:8px;border:1px solid rgb(var(--border-color));background:linear-gradient(0deg,#1e222b05,#1e222b05),var(--color-white)}.univer-pivot-panel-field-area-content-dropping{border:1px solid rgb(var(--primary-color-hover))}.univer-pivot-panel-field-area-placeholder{max-width:118px;height:1px;overflow:hidden}.univer-pivot-panel-field-area-item{display:flex;padding:2px;align-items:center;gap:4px;align-self:stretch;line-height:16px;border:1px solid transparent}.univer-pivot-panel-field-area-item-text{flex:1 0 0;color:#1e222b;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:400;line-height:16px;max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-pivot-panel-field-area-item-dragging{background-color:#f0f0f0}.univer-pivot-panel-field-area-item-handle{font-size:16px}.univer-pivot-panel-field-area-item:hover{background-color:#f0f0f0}.univer-pivot-panel-field-area-group{display:flex;flex-direction:row;gap:16px}.univer-pivot-panel-dialog-title{display:flex;justify-content:space-between;align-items:center;align-self:stretch;line-height:20px}.univer-pivot-panel-dialog-title-text{color:rgb(var(--color-black));font-size:13px;font-weight:500;line-height:20px}.univer-pivot-panel-dialog-title-desc{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:rgb(var(--text-color-secondary))}.univer-pivot-panel-dialog-input{width:100%;margin-top:8px;margin-bottom:20px;padding:6px 10px;font-size:13px;height:32px;line-height:20px;border-radius:6px;box-sizing:border-box}.univer-pivot-panel-dialog-footer{display:flex;justify-content:space-between;align-items:center;align-self:stretch;margin-top:20px}.univer-pivot-panel-dialog-footer-btn{height:32px;padding:0 12px;border:none;border-radius:var(--border-radius-base);cursor:pointer}.univer-pivot-panel-dialog-footer-cancel{color:#7a7a7a;background-color:#fff;border:1px solid rgb(var(--border-color))}.univer-pivot-panel-dialog-footer-fmt{display:flex;height:24px;padding:0 8px;justify-content:center;align-items:center;gap:6px;background-color:#fff;color:rgb(var(--primary-color))}.univer-pivot-panel-dialog-footer-control{display:flex;align-items:flex-start;gap:12px;font-size:14px}.univer-pivot-panel-dialog-summarize{display:flex;padding:8px;width:100%;align-items:flex-start;height:160px}.univer-pivot-panel-dialog-summarize-select{flex:1;height:160px;border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-base)}.univer-pivot-panel-dialog-summarize-label{color:rgb(var(--color-black));font-size:14px;font-weight:500;line-height:normal;margin-bottom:8px}.univer-pivot-panel-dialog-summarize-item{display:flex;padding:6px 8px;border-radius:6px;align-items:center;gap:6px;align-self:stretch;font-size:13px;font-style:normal;font-weight:400;line-height:20px;text-transform:capitalize}.univer-pivot-panel-dialog-summarize-item-icon{font-size:16px;color:rgb(var(--success-color));width:16px}.univer-pivot-panel-dialog-summarize-item:hover{background-color:rgb(var(--bg-color-hover))}.univer-pivot-panel-dialog-content{display:flex;flex-direction:column;gap:16px}.univer-pivot-dialog-range-selector-sub-title,.univer-pivot-dialog-range-selector-sub-title-last{margin-bottom:var(--margin-xs);font-size:var(--font-size-xs);font-weight:500;height:20px;line-height:20px}.univer-pivot-dialog-range-selector-sub-title-last{margin-top:var(--margin-lg)}.univer-pivot-dialog-range-selector-last{margin-top:var(--margin-xs)}.univer-pivot-dialog-range-selector-error,.univer-pivot-dialog-range-selector-error:hover{border:1px solid rgb(var(--red-400))}.univer-pivot-dialog-range-selector-error-text{height:20px;line-height:20px;color:rgb(var(--red-400));font-size:var(--font-size-xs);font-weight:400}.univer-pivot-dialog-range-selector-footer{margin-top:var(--margin-lg);display:flex;justify-content:flex-end}.univer-pivot-dialog-range-selector-footer-confirm{margin-left:var(--margin-sm)}.univer-pivot-dialog-sort{display:flex}.univer-pivot-dialog-sort-item{flex:1;display:flex;cursor:pointer;align-items:center;justify-content:center;width:140px;text-align:center;height:32px;font-size:13px;line-height:32px;border-radius:6px;border:1px solid rgb(var(--grey-200))}.univer-pivot-dialog-sort-item:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.univer-pivot-dialog-sort-item:last-child{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.univer-pivot-dialog-sort-item-checked{background-color:rgb(var(--grey-200))}.univer-pivot-dialog-filter{border:1px solid rgb(var(--grey-200));margin:var(--margin-sm) 0 var(--margin-base);padding:var(--padding-sm);border-radius:var(--border-radius-lg);height:300px}.univer-pivot-dialog-filter-scroll{height:100%}.univer-pivot-dialog-filter-item{height:28px;padding:5px 4px 5px 22px;margin-bottom:4px;font-size:13px;box-sizing:border-box}.univer-pivot-dialog-filter-item:last-child{margin-bottom:0}.univer-pivot-dialog-filter-item-checkbox{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-pivot-dialog-filter-footer{display:flex;justify-content:space-between;align-items:center}.univer-pivot-dialog-filter-footer-clear{cursor:pointer;font-size:12px;color:rgb(var(--hyacinth-500))}.univer-pivot-dialog-filter-footer-group{display:flex;align-items:center}.univer-pivot-dialog-filter-footer-group button:last-child{margin-left:8px}.univer-pivot-dialog-numfmt-header{display:flex}.univer-pivot-dialog-numfmt-header-back{font-size:var(--font-size-lg);font-weight:500;height:24px;line-height:24px;margin-bottom:var(--margin-lg);display:flex;align-items:center;cursor:pointer}.univer-pivot-dialog-numfmt-header-back svg{margin-right:8px}.univer-pivot-dialog-numfmt-sub-header{height:20px;line-height:20px;font-size:var(--font-size-xs);font-weight:500;margin-bottom:var(--margin-xs)}.univer-pivot-dialog-numfmt-main-select{width:100%}.univer-pivot-dialog-numfmt-note{margin-top:6px;font-size:13px;line-height:20px;color:rgba(var(--grey-600))}.univer-pivot-dialog-numfmt-accounting,.univer-pivot-dialog-numfmt-currency,.univer-pivot-dialog-numfmt-date,.univer-pivot-dialog-numfmt-thousand{margin-top:20px}.univer-pivot-dialog-numfmt-accounting-body,.univer-pivot-dialog-numfmt-currency-body,.univer-pivot-dialog-numfmt-date-body,.univer-pivot-dialog-numfmt-thousand-body{margin-top:16px}.univer-pivot-dialog-numfmt-sm-options-group{display:flex;justify-content:space-between;align-items:center}.univer-pivot-dialog-numfmt-number-input{height:32px;box-sizing:border-box}.univer-pivot-dialog-numfmt-main-panel{height:176px;border-radius:8px;padding:8px;border:1px solid rgb(var(--grey-200));box-sizing:border-box}.univer-pivot-dialog-numfmt-sm-options{width:136px}.univer-pivot-dialog-numfmt-sm-options-title{margin-bottom:8px;font-size:13px;font-weight:500}.univer-pivot-dialog-numfmt-footer{display:flex;justify-content:flex-end;margin-top:var(--margin-lg)}.univer-pivot-dialog-numfmt-footer button:last-child{margin-left:var(--margin-sm)}.univer-pivot-dialog-numfmt .univer-select-single .univer-select-selector{height:32px}.univer-pivot-dialog-numfmt .univer-select-list{padding:8px;border-radius:8px;scrollbar-color:rgba(var(--scrollbar-color),.7) transparent;scrollbar-gutter:auto;scrollbar-width:thin}.univer-radio-group-vertical{display:flex;flex-direction:column;font-weight:400;gap:var(--margin-xs)}.univer-univer-pivot-filter-dialog .univer-univer-dialog-title-content{padding:var(--padding-lg) var(--padding-lg) 0}.univer-univer-pivot-filter-dialog .univer-univer-dialog-content{padding:0 var(--padding-lg) var(--padding-lg)}
@@ -0,0 +1,89 @@
1
+ {
2
+ "sheets-pivot-panel": {
3
+ "title": "Pivot Table",
4
+ "sourceRangeLabel": "Data Source",
5
+ "sourceRangePlaceholder": "Data source has been updated",
6
+ "sourceFieldTile": "Data Source Fields",
7
+ "sourceFieldDescription": "Drag fields to the areas below",
8
+ "filter": "Filter",
9
+ "column": "Column",
10
+ "row": "Row",
11
+ "value": "Value",
12
+ "multipleValue": "Σ Values",
13
+ "filterDesc": "Drag fields to filter data",
14
+ "columnDesc": "Drag fields to columns",
15
+ "rowDesc": "Drag fields to rows",
16
+ "valueDesc": "Calculated results of rows and columns",
17
+ "addToFilter": "Add to Filter",
18
+ "addToColumn": "Add to Column",
19
+ "addToRow": "Add to Row",
20
+ "addToValue": "Add to Value",
21
+ "removeField": "Remove Field",
22
+ "filterField": "Filter Field",
23
+ "fieldSettings": "Field Settings",
24
+ "moveToRow": "Move to Row",
25
+ "moveToColumn": "Move to Column",
26
+ "dialog": {
27
+ "fieldName": "Field Name",
28
+ "sourceName": "Source Field Name:",
29
+ "summarizeBy": "Summarize by",
30
+ "format": "Number Format",
31
+ "ok": "OK",
32
+ "cancel": "Cancel",
33
+ "filter": {
34
+ "ascending": "Ascending",
35
+ "descending": "Descending",
36
+ "selectAll": "Select All",
37
+ "clearFilter": "Clear Filter",
38
+ "blank": "(Blank)",
39
+ "cancel": "Cancel",
40
+ "confirm": "OK"
41
+ },
42
+ "numfmt": {
43
+ "general": "General",
44
+ "accounting": "Accounting",
45
+ "currency": "Currency",
46
+ "date": "Date",
47
+ "thousandthPercentile": "Thousandth Percentile",
48
+ "fieldSetting": "Field Settings",
49
+ "formatTypes": "Format Types",
50
+ "confirm": "OK",
51
+ "cancel": "Cancel",
52
+ "generalDesc": "General format does not contain any specific number format.",
53
+ "accountingDesc": "Accounting number format aligns currency symbols and decimal points in a column.",
54
+ "currencyDesc": "Currency format is used for general monetary values, accounting format aligns decimal points in a column of values.",
55
+ "dateDesc": "Date format displays date and time serial numbers as date values.",
56
+ "thousandthPercentileDesc": "Thousandth percentile format is used for general numbers, currency and accounting formats provide specialized formats for monetary values.",
57
+ "decimalPlaces": "Decimal Places",
58
+ "currencyTypes": "Currency Types",
59
+ "negativeNumberTypes": "Negative Number Types",
60
+ "dateTypes": "Date Types"
61
+ }
62
+ },
63
+ "subtotal": {
64
+ "average": "Average",
65
+ "count": "Count",
66
+ "countNums": "Count Numbers",
67
+ "max": "Maximum",
68
+ "min": "Minimum",
69
+ "product": "Product",
70
+ "stdDev": "Standard Deviation",
71
+ "stdDevp": "Population Standard Deviation",
72
+ "sum": "Sum",
73
+ "var": "Variance",
74
+ "varp": "Population Variance"
75
+ },
76
+ "subTotalText": "Subtotal",
77
+ "grandTotalText": "Grand Total",
78
+ "perform": {
79
+ "info": "There is already data in the target area. This action will overwrite the existing data. Do you want to continue?",
80
+ "confirm": "Confirm",
81
+ "cancel": "Cancel",
82
+ "rowColError": "This change cannot be made to the selected cells because it would affect the pivot table. Please use the field list to modify the report. If you are trying to insert or delete cells, move the pivot table and try again."
83
+ },
84
+ "msg": {
85
+ "emptySourceRange": "Data source range is empty",
86
+ "invalidSize": "Data source range is invalid"
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "sheets-pivot-panel": {
3
+ "title": "Сводная таблица",
4
+ "sourceRangeLabel": "Источник данных",
5
+ "sourceRangePlaceholder": "Источник данных обновлен",
6
+ "sourceFieldTile": "Поля источника данных",
7
+ "sourceFieldDescription": "Перетащите поля в области ниже",
8
+ "filter": "Фильтр",
9
+ "column": "Столбец",
10
+ "row": "Строка",
11
+ "value": "Значение",
12
+ "multipleValue": "Σ Значения",
13
+ "filterDesc": "Перетащите поля для фильтрации данных",
14
+ "columnDesc": "Перетащите поля в столбцы",
15
+ "rowDesc": "Перетащите поля в строки",
16
+ "valueDesc": "Вычисленные результаты строк и столбцов",
17
+ "addToFilter": "Добавить в фильтр",
18
+ "addToColumn": "Добавить в столбец",
19
+ "addToRow": "Добавить в строку",
20
+ "addToValue": "Добавить в значение",
21
+ "removeField": "Удалить поле",
22
+ "filterField": "Поле фильтрации",
23
+ "fieldSettings": "Настройки поля",
24
+ "moveToRow": "Переместить в строку",
25
+ "moveToColumn": "Переместить в столбец",
26
+ "dialog": {
27
+ "fieldName": "Название поля",
28
+ "sourceName": "Название поля источника:",
29
+ "summarizeBy": "Сводка по",
30
+ "format": "Формат числа",
31
+ "ok": "ОК",
32
+ "cancel": "Отмена",
33
+ "filter": {
34
+ "ascending": "По возрастанию",
35
+ "descending": "По убыванию",
36
+ "selectAll": "Выбрать все",
37
+ "clearFilter": "Очистить фильтр",
38
+ "blank": "(Пусто)",
39
+ "cancel": "Отмена",
40
+ "confirm": "ОК"
41
+ },
42
+ "numfmt": {
43
+ "general": "Общий",
44
+ "accounting": "Бухгалтерский",
45
+ "currency": "Валюта",
46
+ "date": "Дата",
47
+ "thousandthPercentile": "Тысячная доля",
48
+ "fieldSetting": "Настройки поля",
49
+ "formatTypes": "Типы форматов",
50
+ "confirm": "ОК",
51
+ "cancel": "Отмена",
52
+ "generalDesc": "Общий формат не содержит никаких специфических форматов чисел.",
53
+ "accountingDesc": "Бухгалтерский формат чисел выравнивает символы валюты и десятичные точки в столбце.",
54
+ "currencyDesc": "Формат валюты используется для общих денежных значений, бухгалтерский формат выравнивает десятичные точки в столбце значений.",
55
+ "dateDesc": "Формат даты отображает серийные номера даты и времени в виде значений даты.",
56
+ "thousandthPercentileDesc": "Формат тысячной доли используется для общих чисел, форматы валюты и бухгалтерии предоставляют специальные форматы для денежных значений.",
57
+ "decimalPlaces": "Десятичные разряды",
58
+ "currencyTypes": "Типы валют",
59
+ "negativeNumberTypes": "Типы отрицательных чисел",
60
+ "dateTypes": "Типы дат"
61
+ }
62
+ },
63
+ "subtotal": {
64
+ "average": "Среднее значение",
65
+ "count": "Количество",
66
+ "countNums": "Количество чисел",
67
+ "max": "Максимум",
68
+ "min": "Минимум",
69
+ "product": "Произведение",
70
+ "stdDev": "Стандартное отклонение",
71
+ "stdDevp": "Общее стандартное отклонение",
72
+ "sum": "Сумма",
73
+ "var": "Дисперсия",
74
+ "varp": "Общая дисперсия"
75
+ },
76
+ "subTotalText": "Промежуточный итог",
77
+ "grandTotalText": "Итог",
78
+ "perform": {
79
+ "info": "В целевой области уже есть данные, это действие перезапишет их. Продолжить?",
80
+ "confirm": "Подтвердить",
81
+ "cancel": "Отмена",
82
+ "rowColError": "Это изменение не может быть внесено в выбранные ячейки, так как оно повлияет на сводную таблицу. Пожалуйста, используйте список полей для изменения отчета. Если вы пытаетесь вставить или удалить ячейки, переместите сводную таблицу и попробуйте снова."
83
+ },
84
+ "msg": {
85
+ "emptySourceRange": "Источник данных пуст",
86
+ "invalidSize": "Недопустимый размер источника данных"
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "sheets-pivot-panel": {
3
+ "title": "Bảng Pivot",
4
+ "sourceRangeLabel": "Nguồn dữ liệu",
5
+ "sourceRangePlaceholder": "Nguồn dữ liệu đã được cập nhật",
6
+ "sourceFieldTile": "Trường dữ liệu",
7
+ "sourceFieldDescription": "Kéo trường vào các khu vực dưới đây",
8
+ "filter": "Lọc",
9
+ "column": "Cột",
10
+ "row": "Hàng",
11
+ "value": "Giá trị",
12
+ "multipleValue": "ΣGiá trị",
13
+ "filterDesc": "Kéo trường vào để lọc dữ liệu",
14
+ "columnDesc": "Kéo trường để điền vào cột",
15
+ "rowDesc": "Kéo trường để điền vào hàng",
16
+ "valueDesc": "Kết quả tính toán của hàng và cột",
17
+ "addToFilter": "Thêm vào Lọc",
18
+ "addToColumn": "Thêm vào Cột",
19
+ "addToRow": "Thêm vào Hàng",
20
+ "addToValue": "Thêm vào Giá trị",
21
+ "removeField": "Xóa trường",
22
+ "filterField": "Lọc trường",
23
+ "fieldSettings": "Cài đặt trường",
24
+ "moveToRow": "Chuyển đến Hàng",
25
+ "moveToColumn": "Chuyển đến Cột",
26
+ "dialog": {
27
+ "fieldName": "Tên trường",
28
+ "sourceName": "Tên trường nguồn:",
29
+ "summarizeBy": "Tóm tắt theo",
30
+ "format": "Định dạng số",
31
+ "ok": "OK",
32
+ "cancel": "Hủy bỏ",
33
+ "filter": {
34
+ "ascending": "Tăng dần",
35
+ "descending": "Giảm dần",
36
+ "selectAll": "Chọn tất cả",
37
+ "clearFilter": "Xóa lọc",
38
+ "blank": "(Trống)",
39
+ "cancel": "Hủy bỏ",
40
+ "confirm": "Xác nhận"
41
+ },
42
+ "numfmt": {
43
+ "general": "Chung",
44
+ "accounting": "Kế toán",
45
+ "currency": "Tiền tệ",
46
+ "date": "Ngày",
47
+ "thousandthPercentile": "Phân vị nghìn",
48
+ "fieldSetting": "Cài đặt trường",
49
+ "formatTypes": "Loại định dạng",
50
+ "confirm": "Xác nhận",
51
+ "cancel": "Hủy bỏ",
52
+ "generalDesc": "Định dạng chung không bao gồm bất kỳ định dạng số cụ thể nào.",
53
+ "accountingDesc": "Định dạng số kế toán có thể căn chỉnh biểu tượng tiền tệ và dấu thập phân trong một cột.",
54
+ "currencyDesc": "Định dạng tiền tệ dùng để biểu diễn các giá trị tiền tệ chung, định dạng kế toán có thể căn chỉnh dấu thập phân trong một cột số.",
55
+ "dateDesc": "Định dạng ngày sẽ hiển thị giá trị ngày từ một chuỗi số ngày và thời gian.",
56
+ "thousandthPercentileDesc": "Định dạng phân vị nghìn dùng để biểu diễn số chung, định dạng tiền tệ và kế toán cung cấp định dạng đặc biệt để tính toán giá trị tiền tệ.",
57
+ "decimalPlaces": "Số thập phân",
58
+ "currencyTypes": "Loại tiền tệ",
59
+ "negativeNumberTypes": "Loại số âm",
60
+ "dateTypes": "Loại ngày"
61
+ }
62
+ },
63
+ "subtotal": {
64
+ "average": "Trung bình",
65
+ "count": "Đếm",
66
+ "countNums": "Đếm số",
67
+ "max": "Giá trị lớn nhất",
68
+ "min": "Giá trị nhỏ nhất",
69
+ "product": "Tích",
70
+ "stdDev": "Độ lệch chuẩn",
71
+ "stdDevp": "Độ lệch chuẩn tổng thể",
72
+ "sum": "Tổng",
73
+ "var": "Phương sai",
74
+ "varp": "Phương sai tổng thể"
75
+ },
76
+ "subTotalText": "Tổng phụ",
77
+ "grandTotalText": "Tổng cộng",
78
+ "perform": {
79
+ "info": "Khu vực mục tiêu đã có dữ liệu, thao tác này sẽ ghi đè dữ liệu hiện có. Bạn có muốn tiếp tục không?",
80
+ "confirm": "Xác nhận",
81
+ "cancel": "Hủy bỏ",
82
+ "rowColError": "Không thể thực hiện thay đổi cho ô đã chọn vì nó sẽ ảnh hưởng đến bảng Pivot. Vui lòng sử dụng danh sách trường để thay đổi báo cáo. Nếu bạn đang cố chèn hoặc xóa ô, hãy di chuyển bảng Pivot rồi thử lại."
83
+ },
84
+ "msg": {
85
+ "emptySourceRange": "Vui lòng chọn nguồn dữ liệu",
86
+ "invalidSize": "Kích thước dữ liệu không hợp lệ"
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "sheets-pivot-panel": {
3
+ "title": "数据透视表",
4
+ "sourceRangeLabel": "数据源",
5
+ "sourceRangePlaceholder": "数据源已经更新",
6
+ "sourceFieldTile": "数据源字段",
7
+ "sourceFieldDescription": "拖动字段到以下区域",
8
+ "filter": "筛选",
9
+ "column": "列",
10
+ "row": "行",
11
+ "value": "值",
12
+ "multipleValue": "Σ数值",
13
+ "filterDesc": "拖入字段筛选数据",
14
+ "columnDesc": "拖动字段填充为列",
15
+ "rowDesc": "拖动字段填充为行",
16
+ "valueDesc": "行和列的计算结果",
17
+ "addToFilter": "添加到筛选",
18
+ "addToColumn": "添加到列",
19
+ "addToRow": "添加到行",
20
+ "addToValue": "添加到值",
21
+ "removeField": "移除字段",
22
+ "filterField": "筛选字段",
23
+ "fieldSettings": "字段设置",
24
+ "moveToRow": "移动到行",
25
+ "moveToColumn": "移动到列",
26
+ "dialog": {
27
+ "fieldName": "字段名称",
28
+ "sourceName": "源字段名:",
29
+ "summarizeBy": "汇总方式",
30
+ "format": "数字格式",
31
+ "ok": "确定",
32
+ "cancel": "取消",
33
+ "filter": {
34
+ "ascending": "升序",
35
+ "descending": "降序",
36
+ "selectAll": "全选",
37
+ "clearFilter": "清除筛选",
38
+ "blank": "(空白)",
39
+ "cancel": "取消",
40
+ "confirm": "确定"
41
+ },
42
+ "numfmt": {
43
+ "general": "常规",
44
+ "accounting": "会计",
45
+ "currency": "货币",
46
+ "date": "日期",
47
+ "thousandthPercentile": "千分位符",
48
+ "fieldSetting": "字段设置",
49
+ "formatTypes": "格式类型",
50
+ "confirm": "确定",
51
+ "cancel": "取消",
52
+ "generalDesc": "常规格式不包含任何特定的数字格式。",
53
+ "accountingDesc": "会计数字格式可对一列数值进行货币符号和小数点对齐。",
54
+ "currencyDesc": "货币格式用于表示一般货币数值,会计格式可以对一列数值进行小数点对齐。",
55
+ "dateDesc": "日期格式将日期和时间系列数值品示为日期值。",
56
+ "thousandthPercentileDesc": "千分位符格式用于一般数字的表示,货币和会计格式则提供货币值计算的专用格式。",
57
+ "decimalPlaces": "小数位数",
58
+ "currencyTypes": "货币类型",
59
+ "negativeNumberTypes": "负数类型",
60
+ "dateTypes": "日期类型"
61
+ }
62
+ },
63
+ "subtotal": {
64
+ "average": "平均值",
65
+ "count": "计数",
66
+ "countNums": "数值计数",
67
+ "max": "最大值",
68
+ "min": "最小值",
69
+ "product": "乘积",
70
+ "stdDev": "标准差",
71
+ "stdDevp": "总体标准差",
72
+ "sum": "求和",
73
+ "var": "方差",
74
+ "varp": "总体方差"
75
+ },
76
+ "subTotalText": "汇总",
77
+ "grandTotalText": "总计",
78
+ "perform": {
79
+ "info": "目标区域中已有数据,该操作将覆盖原有数据,是否继续?",
80
+ "confirm": "确认",
81
+ "cancel": "取消",
82
+ "rowColError": "无法对所选单元格进行此更改,因为它会影响数据透视表。请使用字段列表更改报表。如果您试图插入或删除单元格,请移动数据透视表,然后再试。"
83
+ },
84
+ "msg": {
85
+ "emptySourceRange": "数据源范围为空",
86
+ "invalidSize": "数据源范围不合法"
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "sheets-pivot-panel": {
3
+ "title": "資料透視表",
4
+ "sourceRangeLabel": "數據源",
5
+ "sourceRangePlaceholder": "數據源已經更新",
6
+ "sourceFieldTile": "數據源字段",
7
+ "sourceFieldDescription": "拖動字段到以下區域",
8
+ "filter": "篩選",
9
+ "column": "列",
10
+ "row": "行",
11
+ "value": "值",
12
+ "multipleValue": "Σ數值",
13
+ "filterDesc": "拖入字段篩選數據",
14
+ "columnDesc": "拖動字段填充為列",
15
+ "rowDesc": "拖動字段填充為行",
16
+ "valueDesc": "行和列的計算結果",
17
+ "addToFilter": "添加到篩選",
18
+ "addToColumn": "添加到列",
19
+ "addToRow": "添加到行",
20
+ "addToValue": "添加到值",
21
+ "removeField": "移除字段",
22
+ "filterField": "篩選字段",
23
+ "fieldSettings": "字段設置",
24
+ "moveToRow": "移動到行",
25
+ "moveToColumn": "移動到列",
26
+ "dialog": {
27
+ "fieldName": "字段名稱",
28
+ "sourceName": "源字段名:",
29
+ "summarizeBy": "匯總方式",
30
+ "format": "數字格式",
31
+ "ok": "確定",
32
+ "cancel": "取消",
33
+ "filter": {
34
+ "ascending": "升序",
35
+ "descending": "降序",
36
+ "selectAll": "全選",
37
+ "clearFilter": "清除篩選",
38
+ "blank": "(空白)",
39
+ "cancel": "取消",
40
+ "confirm": "確定"
41
+ },
42
+ "numfmt": {
43
+ "general": "常規",
44
+ "accounting": "會計",
45
+ "currency": "貨幣",
46
+ "date": "日期",
47
+ "thousandthPercentile": "千分位符",
48
+ "fieldSetting": "字段設置",
49
+ "formatTypes": "格式類型",
50
+ "confirm": "確定",
51
+ "cancel": "取消",
52
+ "generalDesc": "常規格式不包含任何特定的數字格式。",
53
+ "accountingDesc": "會計數字格式可對一列數值進行貨幣符號和小數點對齊。",
54
+ "currencyDesc": "貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。",
55
+ "dateDesc": "日期格式將日期和時間系列數值顯示為日期值。",
56
+ "thousandthPercentileDesc": "千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。",
57
+ "decimalPlaces": "小數位數",
58
+ "currencyTypes": "貨幣類型",
59
+ "negativeNumberTypes": "負數類型",
60
+ "dateTypes": "日期類型"
61
+ }
62
+ },
63
+ "subtotal": {
64
+ "average": "平均值",
65
+ "count": "計數",
66
+ "countNums": "數值計數",
67
+ "max": "最大值",
68
+ "min": "最小值",
69
+ "product": "乘積",
70
+ "stdDev": "標準差",
71
+ "stdDevp": "總體標準差",
72
+ "sum": "求和",
73
+ "var": "方差",
74
+ "varp": "總體方差"
75
+ },
76
+ "subTotalText": "匯總",
77
+ "grandTotalText": "總計",
78
+ "perform": {
79
+ "info": "目標區域中已有數據,該操作將覆蓋原有數據,是否繼續?",
80
+ "confirm": "確認",
81
+ "cancel": "取消",
82
+ "rowColError": "無法對所選單元格進行此更改,因為它會影響資料透視表。請使用字段列表更改報表。如果您試圖插入或刪除單元格,請移動資料透視表,然後再試。"
83
+ },
84
+ "msg": {
85
+ "emptySourceRange": "請選擇數據源",
86
+ "invalidSize": "無效的數據大小"
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IAddPivotFieldCommandParams } from '../../type';
3
+
4
+ export declare const AddPivotFieldCommand: ICommand<IAddPivotFieldCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IAddPivotTableCommandParams } from '@univerjs-pro/sheets-pivot';
3
+
4
+ export declare const AddPivotTableCommand: ICommand<IAddPivotTableCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IMovePivotFieldCommandParams } from '../../type';
3
+
4
+ export declare const MovePivotFieldCommand: ICommand<IMovePivotFieldCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IRemovePivotFieldCommandParams } from '../../type';
3
+
4
+ export declare const RemovePivotFieldCommand: ICommand<IRemovePivotFieldCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { ISetPivotCollapseCommandParams } from '../../type';
3
+
4
+ export declare const SetPivotCollapseCommand: ICommand<ISetPivotCollapseCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { ISetPivotFilterCommandParams } from '../../type';
3
+
4
+ export declare const SetPivotFilterCommand: ICommand<ISetPivotFilterCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { ISetPivotSortCommandParams } from '../../type';
3
+
4
+ export declare const SetPivotSortCommand: ICommand<ISetPivotSortCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IUpdatePivotFieldSettingCommandParams } from '../../type';
3
+
4
+ export declare const UpdatePivotFieldSettingCommand: ICommand<IUpdatePivotFieldSettingCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IUpdatePivotTableSourceRangeCommandParams } from '../../type';
3
+
4
+ export declare const UpdatePivotTableSourceRangeCommand: ICommand<IUpdatePivotTableSourceRangeCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IUpdatePivotValuePositionCommandParams } from '../../type';
3
+
4
+ export declare const UpdatePivotValuePositionCommand: ICommand<IUpdatePivotValuePositionCommandParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IOpenPivotTableFilterPanelOperationParams } from '../../type';
3
+
4
+ export declare const OpenPivotTableFilterPanelOperation: ICommand<IOpenPivotTableFilterPanelOperationParams>;
@@ -0,0 +1,3 @@
1
+ import { ICommand } from '@univerjs/core';
2
+
3
+ export declare const OpenPivotTableRangeSelectorPanelOperation: ICommand;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IOpenPivotTableFieldSettingDialogOperationParams } from '../../type';
3
+
4
+ export declare const OpenPivotTableFieldSettingDialogOperation: ICommand<IOpenPivotTableFieldSettingDialogOperationParams>;
@@ -0,0 +1,4 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IOpenPivotTablePanelOperationParams } from '../../type';
3
+
4
+ export declare const OpenPivotTablePanelOperation: ICommand<IOpenPivotTablePanelOperationParams>;
@@ -0,0 +1,13 @@
1
+ export declare const UNIVER_SHEET_PIVOT_PANEL = "UNIVER_SHEET_PIVOT_PANEL";
2
+ export declare const UNIVER_SHEET_PIVOT_PANEL_ID = "UNIVER_SHEET_PIVOT_PANEL_ID";
3
+ export declare const UNIVER_SHEET_PIVOT_FILTER_PANEL = "UNIVER_SHEET_PIVOT_FILTER_PANEL";
4
+ export declare const UNIVER_SHEET_PIVOT_FILTER_PANEL_ID = "UNIVER_SHEET_PIVOT_FILTER_PANEL_ID";
5
+ export declare const UNIVER_SHEET_PIVOT_FIELD_SETTING = "UNIVER_SHEET_PIVOT_FIELD_SETTING";
6
+ export declare const UNIVER_SHEET_PIVOT_FIELD_SETTING_ID = "UNIVER_SHEET_PIVOT_FIELD_SETTING_ID";
7
+ export declare const UNIVER_SHEET_PIVOT_FIELD_NUMFMT = "UNIVER_SHEET_PIVOT_FIELD_NUMFMT";
8
+ export declare const UNIVER_SHEET_PIVOT_FIELD_NUMFMT_ID = "UNIVER_SHEET_PIVOT_FIELD_NUMFMT_ID";
9
+ export declare const DEFAULT_EMPTY_PIVOT_ROW_COUNT = 14;
10
+ export declare const DEFAULT_EMPTY_PIVOT_COL_COUNT = 6;
11
+ export declare const PIVOT_TABLE_ICON_KEY = "PIVOT_TABLE_ICON_KEY";
12
+ export declare const PIVOT_TABLE_BACK_KEY = "PIVOT_TABLE_BACK_KEY";
13
+ export declare const SHEET_PIVOT_AUTO_FIT_COLUMN_TEST_COUNT = 100;
@@ -0,0 +1,13 @@
1
+ import { SheetsPivotTableConfigModel } from '@univerjs-pro/sheets-pivot';
2
+ import { Disposable, DisposableCollection, IUniverInstanceService } from '@univerjs/core';
3
+ import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
4
+
5
+ export declare class SheetsPivotClearController extends Disposable {
6
+ private readonly _univerInstanceService;
7
+ private readonly _sheetInterceptorService;
8
+ private readonly _sheetsSelectionsService;
9
+ private readonly _sheetsPivotTableConfigModel;
10
+ disposableCollection: DisposableCollection;
11
+ constructor(_univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _sheetsSelectionsService: SheetsSelectionsService, _sheetsPivotTableConfigModel: SheetsPivotTableConfigModel);
12
+ private _initClearSelectionCommandInterceptor;
13
+ }
@@ -0,0 +1,20 @@
1
+ import { SheetsPivotTableAdaptorModel, SheetsPivotTableConfigModel } from '@univerjs-pro/sheets-pivot';
2
+ import { Disposable, Injector, IUniverInstanceService, LocaleService } from '@univerjs/core';
3
+ import { SheetInterceptorService } from '@univerjs/sheets';
4
+ import { IConfirmService, IMessageService } from '@univerjs/ui';
5
+ import { SheetsPivotTableUIService } from '../services/sheets-pivot-ui.service';
6
+
7
+ export declare class SheetsPivotConfirmController extends Disposable {
8
+ private readonly _injector;
9
+ private readonly _univerInstanceService;
10
+ private readonly _sheetsPivotTableAdaptorModel;
11
+ private readonly _sheetInterceptorService;
12
+ private readonly _confirmService;
13
+ private readonly _localeService;
14
+ private readonly _sheetsPivotTableConfigModel;
15
+ private readonly _sheetsPivotTableUIService;
16
+ private readonly _messageService;
17
+ constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _sheetsPivotTableAdaptorModel: SheetsPivotTableAdaptorModel, _sheetInterceptorService: SheetInterceptorService, _confirmService: IConfirmService, _localeService: LocaleService, _sheetsPivotTableConfigModel: SheetsPivotTableConfigModel, _sheetsPivotTableUIService: SheetsPivotTableUIService, _messageService: IMessageService);
18
+ private _initMoveRangeConfirmCheck;
19
+ private _initRowColOperationCheck;
20
+ }
@@ -0,0 +1,16 @@
1
+ import { SheetsPivotTableAdaptorModel, SheetsPivotTableConfigModel } from '@univerjs-pro/sheets-pivot';
2
+ import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
3
+ import { SheetsSelectionsService } from '@univerjs/sheets';
4
+ import { IRangeSelectorService, ISidebarService } from '@univerjs/ui';
5
+
6
+ export declare class SheetsPivotTableEditController extends Disposable {
7
+ private readonly _sheetsSelectionsService;
8
+ private readonly _univerInstanceService;
9
+ private readonly _sheetsPivotTableAdaptorModel;
10
+ private readonly _commandService;
11
+ private readonly _sidebarService;
12
+ private _rangeSelectorService;
13
+ private _sheetsPivotTableConfigModel;
14
+ constructor(_sheetsSelectionsService: SheetsSelectionsService, _univerInstanceService: IUniverInstanceService, _sheetsPivotTableAdaptorModel: SheetsPivotTableAdaptorModel, _commandService: ICommandService, _sidebarService: ISidebarService, _rangeSelectorService: IRangeSelectorService, _sheetsPivotTableConfigModel: SheetsPivotTableConfigModel);
15
+ private _initEditListener;
16
+ }