@sheetxl/react 0.8.0-beta.15 → 0.8.0-beta.16

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 (99) hide show
  1. package/LICENSE.md +8 -7
  2. package/browser/esm/{Eccqvu_ltQH3yLm8.mjs → 1nN0NNMaAIsgiI3e.mjs} +3 -3
  3. package/browser/esm/{kQVuIBGvAYMVXPYJ.mjs → BDR2ekvOkyo3laAm.mjs} +4 -4
  4. package/browser/esm/{D3EZj2DZtqvEw39q.mjs → BMlHmy5KHq4fpX89.mjs} +2 -2
  5. package/browser/esm/{mQlxlB1jsEg5m2tk.mjs → Bt2sBBEyKZJu0p0G.mjs} +3 -3
  6. package/browser/esm/{CCL1HOWXz62tDziU.mjs → BuI1QOZfQOLRxv4Q.mjs} +2 -2
  7. package/browser/esm/{CBAt-J0K7H2yH-2w.mjs → C1C6etLFfhuqi99X.mjs} +2 -2
  8. package/browser/esm/{YYwEGf_7TmjEmW6k.mjs → C8xSJkoMQ48a6FUE.mjs} +2 -2
  9. package/browser/esm/{DFGGb7jiCJcfCaYj.mjs → CKxfHbnDDNWdSgCa.mjs} +2 -2
  10. package/browser/esm/{CW3DK5L4GYrbHYn3.mjs → Ce1bW8Vmpp1o5nH7.mjs} +4 -4
  11. package/browser/esm/{CmX0QHgElbcLT_eT.mjs → CttfqXbX8QGBlLUy.mjs} +7 -7
  12. package/browser/esm/{CnmhZ0sv8-uJ3jIh.mjs → D2ttaxNfmCgJPpIL.mjs} +2 -2
  13. package/browser/esm/{CJAAYqzB5y5hTJ85.mjs → D4UxXbJprFoh8e8r.mjs} +2 -2
  14. package/browser/esm/{B7PnGz42UySqvnvf.mjs → DD8k94MkULtCDCqI.mjs} +4 -4
  15. package/browser/esm/{W9-RoLMW94RtA2yw.mjs → DGAgjGwo1pLorNXf.mjs} +2 -2
  16. package/browser/esm/{DCUlR5K3bBO-sXSf.mjs → DK2-0QyEDqx8d0XH.mjs} +5 -5
  17. package/browser/esm/{CqZpzm1L_Z2tVGiu.mjs → DL8bI9YEl5Otd-ih.mjs} +2 -2
  18. package/browser/esm/{CWdNVd2X-jRKlB_b.mjs → MmP_sX1FvMvViZZD.mjs} +3 -3
  19. package/browser/esm/{DOQHq7WB1-h05twR.mjs → UiFSvM9Z6y0t72hV.mjs} +7 -7
  20. package/browser/esm/{BSaF1NUo5Ilp--Rg.mjs → Z5bFuSFQeh75HMWA.mjs} +6 -6
  21. package/browser/esm/chart.mjs +4 -4
  22. package/browser/esm/control.mjs +3 -3
  23. package/browser/esm/{Jsf-8NM-LoKvVsYf.mjs → dAnrqhgO4VFyrocf.mjs} +2 -2
  24. package/browser/esm/{NshsRiPQnC1BkiQA.mjs → ep5bfXSko9E1UYpO.mjs} +2 -2
  25. package/browser/esm/group.mjs +4 -4
  26. package/browser/esm/{CWLi88m6LfSPOUoJ.mjs → hjwXRlBRxr2wVnGG.mjs} +2 -2
  27. package/browser/esm/index.mjs +10720 -9114
  28. package/browser/esm/note.mjs +5 -5
  29. package/browser/esm/picture.mjs +3 -3
  30. package/browser/esm/shape.mjs +3 -3
  31. package/browser/esm/slicer.mjs +5 -5
  32. package/browser/esm/{CvedGF4lbJchD_Tg.mjs → xnubiISd6zDiHAww.mjs} +2 -2
  33. package/node/esm/{CfFmAB75wf0KyCat.mjs → B6FEw5vtIODLY_8C.mjs} +6 -6
  34. package/node/esm/{BzxeGvZj4Pgqhney.mjs → BShOuK0OXwR9NSdj.mjs} +5 -5
  35. package/node/esm/{CnTs_0-4eOpvZg8R.mjs → BZxcC1cfoQJEQCbW.mjs} +2 -2
  36. package/node/esm/{eQJQMKkYOP7uVRYY.mjs → BvtqxTJsH9qrs0oo.mjs} +2 -2
  37. package/node/esm/{BE_wecWj_wouzvwo.mjs → CQyoYz8uAb2rwRgR.mjs} +2 -2
  38. package/node/esm/{CBKs0BGWFyKb6fAa.mjs → CW9MYVxiw-BHoWOv.mjs} +2 -2
  39. package/node/esm/{FEK43PhLZa-Z0PJl.mjs → CZ4oenvKO_nsgqT3.mjs} +2 -2
  40. package/node/esm/{CHJu5Pijhfp2u8iw.mjs → CaqQCNAPYBQPStW6.mjs} +3 -3
  41. package/node/esm/{DuoOyDpiOAdK8IZQ.mjs → CczY1geYlm7dZykP.mjs} +2 -2
  42. package/node/esm/{CDFWR8VuVJHAYNNI.mjs → CeDLAkScaM4r3aRY.mjs} +2 -2
  43. package/node/esm/{XLCT3m2EOLskQps9.mjs → Cxg42ySbHoSgZz4m.mjs} +2 -2
  44. package/node/esm/{D87-gdOPXyqWeq9r.mjs → D1kwQ7kj4CIEHF6o.mjs} +2 -2
  45. package/node/esm/{a4vck0pT0feFFXSx.mjs → DBdfrbP95AgBwjj2.mjs} +3 -3
  46. package/node/esm/{ZTIwQN07Ioz-tn17.mjs → DF1hQLrsJatoimsP.mjs} +2 -2
  47. package/node/esm/{Df37YYiPX3A6lmeA.mjs → DNioL3BfDain0oLO.mjs} +2 -2
  48. package/node/esm/{qOitqMlh9UUnFpG4.mjs → DYHX-Y0Lgclu8imk.mjs} +3 -3
  49. package/node/esm/{BWvLL25LXIqgwEQR.mjs → OB-WWDXKQNnQq71Y.mjs} +2 -2
  50. package/node/esm/{DHwhGqtfOi4qGI5j.mjs → RfipyLtZiGFsXmFH.mjs} +3 -3
  51. package/node/esm/chart.mjs +3 -3
  52. package/node/esm/control.mjs +3 -3
  53. package/node/esm/{CNZvdFLLo0flJEA-.mjs → gbWplmokh3BEFa8d.mjs} +2 -2
  54. package/node/esm/group.mjs +4 -4
  55. package/node/esm/index.mjs +8307 -6746
  56. package/node/esm/note.mjs +5 -5
  57. package/node/esm/picture.mjs +6 -6
  58. package/node/esm/shape.mjs +7 -7
  59. package/node/esm/slicer.mjs +5 -5
  60. package/node/esm/{C9D9KK3BOuRjzee8.mjs → stixLaWCsDf8jtRL.mjs} +2 -2
  61. package/package.json +8 -8
  62. package/resources/contents.json +6 -0
  63. package/resources/locales/contents.json +14 -0
  64. package/resources/locales/de/pivot.cmd.json +71 -0
  65. package/resources/locales/de/sheet.cmd.json +40 -0
  66. package/resources/locales/de/ui.msg.json +47 -0
  67. package/resources/locales/de/workbook.cmd.json +1 -1
  68. package/resources/locales/en/pivot.cmd.json +71 -0
  69. package/resources/locales/en/sheet.cmd.json +40 -0
  70. package/resources/locales/en/ui.msg.json +47 -0
  71. package/resources/locales/en/workbook.cmd.json +1 -1
  72. package/types/src/cell/PivotButton.d.ts +55 -0
  73. package/types/src/cell/_DropdownFace.d.ts +29 -0
  74. package/types/src/cell/index.d.ts +1 -0
  75. package/types/src/frame/CommandContext.d.ts +31 -1
  76. package/types/src/index.d.ts +3 -0
  77. package/types/src/layer/PivotLayer.d.ts +47 -0
  78. package/types/src/layer/PivotToolbar.d.ts +29 -0
  79. package/types/src/layer/RangeToolbar.d.ts +75 -0
  80. package/types/src/layer/SheetCellLayer.d.ts +2 -2
  81. package/types/src/layer/SheetPivotCommandLayer.d.ts +13 -0
  82. package/types/src/layer/TableToolbar.d.ts +6 -25
  83. package/types/src/layer/_tableColor.d.ts +5 -3
  84. package/types/src/layer/index.d.ts +3 -0
  85. package/types/src/pivot/PivotAreas.d.ts +16 -0
  86. package/types/src/pivot/PivotChip.d.ts +33 -0
  87. package/types/src/pivot/PivotChipMenu.d.ts +74 -0
  88. package/types/src/pivot/PivotCommands.d.ts +24 -0
  89. package/types/src/pivot/PivotFieldList.d.ts +14 -0
  90. package/types/src/pivot/PivotFields.d.ts +47 -0
  91. package/types/src/pivot/PivotFieldsModel.d.ts +143 -0
  92. package/types/src/pivot/PivotTablePane.d.ts +49 -0
  93. package/types/src/pivot/_PivotFieldsContext.d.ts +41 -0
  94. package/types/src/pivot/_pivotNew.d.ts +12 -0
  95. package/types/src/pivot/_pivotRegion.d.ts +14 -0
  96. package/types/src/pivot/index.d.ts +9 -0
  97. package/types/src/pivot/usePivotFields.d.ts +17 -0
  98. package/types/src/sheet/IWorksheetElement.d.ts +10 -2
  99. package/types/src/workbook/IWorkbookElement.d.ts +11 -1
package/node/esm/note.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.15
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./CnTs_0-4eOpvZg8R.mjs";
8
- import { t as o } from "./Df37YYiPX3A6lmeA.mjs";
9
- import { t } from "./FEK43PhLZa-Z0PJl.mjs";
7
+ import { t as e } from "./BZxcC1cfoQJEQCbW.mjs";
8
+ import { t as o } from "./DNioL3BfDain0oLO.mjs";
9
+ import { t } from "./CZ4oenvKO_nsgqT3.mjs";
10
10
  import { Color as r, IColor as n, IFont as i, IFontStyle as l, IStroke as a } from "@sheetxl/sdk";
11
11
  import { forwardRef as s, memo as d, useReducer as c } from "react";
12
12
  import { jsx as g } from "react/jsx-runtime";
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.15
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t } from "./CnTs_0-4eOpvZg8R.mjs";
8
- import { n as e } from "./C9D9KK3BOuRjzee8.mjs";
9
- import { t as o } from "./CBKs0BGWFyKb6fAa.mjs";
10
- import { i as r, r as i, t as n } from "./ZTIwQN07Ioz-tn17.mjs";
7
+ import { t } from "./BZxcC1cfoQJEQCbW.mjs";
8
+ import { n as e } from "./stixLaWCsDf8jtRL.mjs";
9
+ import { t as o } from "./CW9MYVxiw-BHoWOv.mjs";
10
+ import { i as r, r as i, t as n } from "./DF1hQLrsJatoimsP.mjs";
11
11
  import { forwardRef as l, memo as a, useEffect as s, useId as h, useMemo as d, useReducer as c, useRef as u, useState as p } from "react";
12
12
  import { jsx as g, jsxs as f } from "react/jsx-runtime";
13
13
  import { useSurfaceStateSetter as m } from "@sheetxl/grid-react";
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.15
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./CnTs_0-4eOpvZg8R.mjs";
8
- import { n as t } from "./C9D9KK3BOuRjzee8.mjs";
9
- import { t as n } from "./Df37YYiPX3A6lmeA.mjs";
10
- import { t as o } from "./eQJQMKkYOP7uVRYY.mjs";
11
- import { i as r, n as s, r as i, t as l } from "./ZTIwQN07Ioz-tn17.mjs";
7
+ import { t as e } from "./BZxcC1cfoQJEQCbW.mjs";
8
+ import { n as t } from "./stixLaWCsDf8jtRL.mjs";
9
+ import { t as n } from "./DNioL3BfDain0oLO.mjs";
10
+ import { t as o } from "./BvtqxTJsH9qrs0oo.mjs";
11
+ import { i as r, n as s, r as i, t as l } from "./DF1hQLrsJatoimsP.mjs";
12
12
  import { forwardRef as a, memo as p, useCallback as c, useEffect as d, useMemo as h, useReducer as u, useRef as m, useState as g } from "react";
13
13
  import { jsx as f, jsxs as y } from "react/jsx-runtime";
14
14
  import { messageKey as v } from "@sheetxl/utils";
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.15
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./CnTs_0-4eOpvZg8R.mjs";
8
- import { n as t } from "./C9D9KK3BOuRjzee8.mjs";
9
- import { i as r, r as o, t as l } from "./BWvLL25LXIqgwEQR.mjs";
7
+ import { t as e } from "./BZxcC1cfoQJEQCbW.mjs";
8
+ import { n as t } from "./stixLaWCsDf8jtRL.mjs";
9
+ import { i as r, r as o, t as l } from "./OB-WWDXKQNnQq71Y.mjs";
10
10
  import { IFont as i } from "@sheetxl/sdk";
11
11
  import { forwardRef as n, memo as s, useCallback as a, useEffect as c, useLayoutEffect as d, useMemo as h, useReducer as p, useRef as u, useState as m } from "react";
12
12
  import { jsx as g, jsxs as f } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.15
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
7
  import { createContext as r, useContext as t } from "react";
8
8
  import { jsx as e } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sheetxl/react",
3
3
  "description": "React - React components needed to build advanced grid and spreadsheet UIs.",
4
- "version": "0.8.0-beta.15",
5
- "license": "SEE LICENSE IN <LICENSE>",
4
+ "version": "0.8.0-beta.16",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
@@ -89,11 +89,11 @@
89
89
  "@dnd-kit/modifiers": "^9.0.0",
90
90
  "@dnd-kit/sortable": "^10.0.0",
91
91
  "@dnd-kit/utilities": "^3.2.2",
92
- "@sheetxl/grid-react": "^0.8.0-beta.15",
93
- "@sheetxl/io": "^0.8.0-beta.15",
94
- "@sheetxl/sdk": "^0.8.0-beta.15",
95
- "@sheetxl/utils": "^0.8.0-beta.15",
96
- "@sheetxl/utils-react": "^0.8.0-beta.15",
92
+ "@sheetxl/grid-react": "^0.8.0-beta.16",
93
+ "@sheetxl/io": "^0.8.0-beta.16",
94
+ "@sheetxl/sdk": "^0.8.0-beta.16",
95
+ "@sheetxl/utils": "^0.8.0-beta.16",
96
+ "@sheetxl/utils-react": "^0.8.0-beta.16",
97
97
  "clsx": "^2.1.1",
98
98
  "echarts": "~6.1.0",
99
99
  "react-merge-refs": "^3.0.2",
@@ -104,7 +104,7 @@
104
104
  "react-dom": "^19.0.0"
105
105
  },
106
106
  "devDependencies": {
107
- "@sheetxl/io-xlsx": "^0.8.0-beta.15",
107
+ "@sheetxl/io-xlsx": "^0.8.0-beta.16",
108
108
  "@types/react": "^19.3.0",
109
109
  "@types/react-dom": "^19.3.0"
110
110
  }
@@ -18,6 +18,9 @@
18
18
  {
19
19
  "path": "locales/de/picture.cmd.json"
20
20
  },
21
+ {
22
+ "path": "locales/de/pivot.cmd.json"
23
+ },
21
24
  {
22
25
  "path": "locales/de/selection.cmd.json"
23
26
  },
@@ -54,6 +57,9 @@
54
57
  {
55
58
  "path": "locales/en/picture.cmd.json"
56
59
  },
60
+ {
61
+ "path": "locales/en/pivot.cmd.json"
62
+ },
57
63
  {
58
64
  "path": "locales/en/selection.cmd.json"
59
65
  },
@@ -37,6 +37,13 @@
37
37
  "scope": "picture",
38
38
  "sourceId": "picture"
39
39
  },
40
+ {
41
+ "path": "de/pivot.cmd.json",
42
+ "locale": "de",
43
+ "role": "catalog",
44
+ "scope": "pivot",
45
+ "sourceId": "pivot"
46
+ },
40
47
  {
41
48
  "path": "de/selection.cmd.json",
42
49
  "locale": "de",
@@ -119,6 +126,13 @@
119
126
  "scope": "picture",
120
127
  "sourceId": "picture"
121
128
  },
129
+ {
130
+ "path": "en/pivot.cmd.json",
131
+ "locale": "en",
132
+ "role": "catalog",
133
+ "scope": "pivot",
134
+ "sourceId": "pivot"
135
+ },
122
136
  {
123
137
  "path": "en/selection.cmd.json",
124
138
  "locale": "en",
@@ -0,0 +1,71 @@
1
+ {
2
+ "$schema": "../../../utils-react/command-catalog.schema.json",
3
+ "scope": "pivot",
4
+ "label": "PivotTable",
5
+ "tag": "de",
6
+ "version": 1,
7
+ "commands": {
8
+ "pivotTableFields": {
9
+ "label": "PivotTable-Felder",
10
+ "icon": "Table"
11
+ },
12
+ "pivotStyleOptions": {
13
+ "label": "Optionen für PivotTable-Formate",
14
+ "description": "Auswählen, welche Teile des PivotTable-Formats angezeigt werden.",
15
+ "groupLabels": {
16
+ "pivotToolbar": "Format"
17
+ }
18
+ },
19
+ "pivotRefreshOptions": {
20
+ "label": "Aktualisieren",
21
+ "description": "Die Quelle der PivotTable erneut lesen und sie neu anordnen, oder alles aktualisieren, was die Arbeitsmappe liest.",
22
+ "icon": "RefreshAll"
23
+ },
24
+ "pivotShowOptions": {
25
+ "label": "Anzeigen",
26
+ "description": "Auswählen, welche Schaltflächen und Kopfzeilen der PivotTable angezeigt werden."
27
+ },
28
+ "pivotDrillIndicatorsToggle": {
29
+ "label": "PivotTable-Schaltflächen +/- ein/aus",
30
+ "description": "Die Schaltflächen zum Erweitern und Reduzieren der PivotTable-Elemente ein- oder ausblenden.",
31
+ "groupLabels": {
32
+ "pivotShowOptions": "Schaltflächen +/-"
33
+ }
34
+ },
35
+ "pivotFieldHeadersToggle": {
36
+ "label": "PivotTable-Feldkopfzeilen ein/aus",
37
+ "description": "Die Beschriftungen und Filterschaltflächen über den Zeilen- und Spaltenfeldern der PivotTable ein- oder ausblenden.",
38
+ "groupLabels": {
39
+ "pivotShowOptions": "Feldkopfzeilen"
40
+ }
41
+ },
42
+ "pivotRowHeadersToggle": {
43
+ "label": "PivotTable-Zeilenkopfzeilen ein/aus",
44
+ "description": "Die erste Spalte der PivotTable besonders formatieren.",
45
+ "groupLabels": {
46
+ "pivotStyleOptions": "Zeilenköpfe"
47
+ }
48
+ },
49
+ "pivotColumnHeadersToggle": {
50
+ "label": "PivotTable-Spaltenkopfzeilen ein/aus",
51
+ "description": "Die erste Zeile der PivotTable besonders formatieren.",
52
+ "groupLabels": {
53
+ "pivotStyleOptions": "Spaltenköpfe"
54
+ }
55
+ },
56
+ "pivotBandedRowsToggle": {
57
+ "label": "PivotTable-Zeilen gebändert ein/aus",
58
+ "description": "Gebänderte Zeilen anzeigen: gerade Zeilen anders formatiert als ungerade.",
59
+ "groupLabels": {
60
+ "pivotStyleOptions": "Gebänderte Zeilen"
61
+ }
62
+ },
63
+ "pivotBandedColumnsToggle": {
64
+ "label": "PivotTable-Spalten gebändert ein/aus",
65
+ "description": "Gebänderte Spalten anzeigen: gerade Spalten anders formatiert als ungerade.",
66
+ "groupLabels": {
67
+ "pivotStyleOptions": "Gebänderte Spalten"
68
+ }
69
+ }
70
+ }
71
+ }
@@ -1467,6 +1467,46 @@
1467
1467
  "mutator"
1468
1468
  ]
1469
1469
  },
1470
+ "insertPivotTable": {
1471
+ "label": "PivotTable",
1472
+ "description": "Daten in einer PivotTable zusammenfassen. Quelle und Ziel wählen, dann ihre Felder.",
1473
+ "groupLabels": {
1474
+ "contextMenu": "PivotTable einfügen…"
1475
+ },
1476
+ "icon": "Table"
1477
+ },
1478
+ "editPivotTable": {
1479
+ "label": "PivotTable bearbeiten…",
1480
+ "description": "Die Felder der PivotTable anzeigen, um zu wählen, was sie gruppiert und was sie berechnet.",
1481
+ "groupLabels": {
1482
+ "pivotToolbar": "Feldliste"
1483
+ },
1484
+ "icon": "Table"
1485
+ },
1486
+ "refreshPivotTable": {
1487
+ "label": "PivotTable aktualisieren",
1488
+ "description": "Die Quelle der PivotTable erneut lesen und sie neu anordnen.",
1489
+ "groupLabels": {
1490
+ "pivotRefreshOptions": "Aktualisieren"
1491
+ },
1492
+ "icon": "RefreshAll",
1493
+ "shortcut": "alt+F5"
1494
+ },
1495
+ "deletePivotTable": {
1496
+ "label": "PivotTable löschen",
1497
+ "description": "Die PivotTable und ihre Zellen entfernen.",
1498
+ "icon": "Delete"
1499
+ },
1500
+ "formatPivotStyle": {
1501
+ "label": "PivotTable-Formate",
1502
+ "description": "Ein Format auf die PivotTable anwenden.",
1503
+ "icon": "PresetStyles"
1504
+ },
1505
+ "formatPivotStyleClear": {
1506
+ "label": "PivotTable-Format löschen",
1507
+ "description": "Das Format der PivotTable entfernen.",
1508
+ "icon": "ClearFormats"
1509
+ },
1470
1510
  "tableFilterToggle": {
1471
1511
  "label": "Sortieren und Filtern",
1472
1512
  "groupLabels": {
@@ -183,6 +183,7 @@
183
183
  "op.moveCells": "Zellen verschieben",
184
184
  "op.moveMovable": "Verschieben",
185
185
  "op.nudgeMovable": "Verschieben",
186
+ "op.pivotValueSettings": "PivotTable-Werteinstellungen",
186
187
  "op.resizeColumnsNamed": "{count, plural, one {Breite von Spalte ''{name}'' ändern} other {Breite der Spalten ''{name}'' ändern}}",
187
188
  "op.resizeMovable": "Größe ändern",
188
189
  "op.resizeRowsNamed": "{count, plural, one {Höhe von Zeile ''{name}'' ändern} other {Höhe der Zeilen ''{name}'' ändern}}",
@@ -204,6 +205,51 @@
204
205
  "picker.noMatches": "Keine Treffer",
205
206
  "picker.noValues": "Keine Werte",
206
207
  "picker.search": "Suchen",
208
+ "pivot.area.column": "Spalten",
209
+ "pivot.area.hint": "Felder hierher ziehen",
210
+ "pivot.area.page": "Filter",
211
+ "pivot.area.row": "Zeilen",
212
+ "pivot.area.values": "Werte",
213
+ "pivot.chip.filtered": "Gefiltert",
214
+ "pivot.chip.rename": "Name",
215
+ "pivot.chip.valuesAsColumns": "Werte als Spalten",
216
+ "pivot.chip.valuesAsRows": "Werte als Zeilen",
217
+ "pivot.empty.hintInside": "Wählen Sie zum Erstellen eines Berichts Felder aus der PivotTable-Feldliste aus",
218
+ "pivot.empty.hintOutside": "Klicken Sie in diesen Bereich, um mit dem PivotTable-Bericht zu arbeiten",
219
+ "pivot.fields.list": "Felder",
220
+ "pivot.fields.none": "Kein Feld passt.",
221
+ "pivot.fields.search": "Felder suchen",
222
+ "pivot.function.average": "Mittelwert",
223
+ "pivot.function.count": "Anzahl",
224
+ "pivot.function.countNums": "Anzahl Zahlen",
225
+ "pivot.function.max": "Max",
226
+ "pivot.function.min": "Min",
227
+ "pivot.function.product": "Produkt",
228
+ "pivot.function.stdDev": "Standardabweichung (Stichprobe)",
229
+ "pivot.function.stdDevp": "Standardabweichung (Grundgesamtheit)",
230
+ "pivot.function.sum": "Summe",
231
+ "pivot.function.var": "Varianz (Stichprobe)",
232
+ "pivot.function.varp": "Varianz (Grundgesamtheit)",
233
+ "pivot.menu.button": "Feldoptionen",
234
+ "pivot.menu.filter": "Filtern…",
235
+ "pivot.menu.moveDown": "Nach unten",
236
+ "pivot.menu.moveTo.column": "In Spalten verschieben",
237
+ "pivot.menu.moveTo.page": "In Filter verschieben",
238
+ "pivot.menu.moveTo.row": "In Zeilen verschieben",
239
+ "pivot.menu.moveTo.values": "In Werte verschieben",
240
+ "pivot.menu.moveToEnd": "An das Ende",
241
+ "pivot.menu.moveToStart": "An den Anfang",
242
+ "pivot.menu.moveUp": "Nach oben",
243
+ "pivot.menu.remove": "Entfernen",
244
+ "pivot.menu.sortAndFilter": "Sortieren und filtern…",
245
+ "pivot.menu.valueSettings": "Werteinstellungen…",
246
+ "pivot.pane.deleted": "Diese PivotTable wurde gelöscht.",
247
+ "pivot.pane.empty": "Eine Zelle in einer PivotTable auswählen, um ihre Felder zu sehen.",
248
+ "pivot.type.blank": "Leer",
249
+ "pivot.type.date": "Datumswerte",
250
+ "pivot.type.mixed": "Gemischt",
251
+ "pivot.type.number": "Zahlen",
252
+ "pivot.type.text": "Text",
207
253
  "reason.alreadyTable": "Die Auswahl befindet sich bereits in einer Tabelle.",
208
254
  "reason.cannotFlip": "Keine der ausgewählten Zeichnungen kann gespiegelt werden.",
209
255
  "reason.cellHasNote": "Die Zelle hat eine Notiz.",
@@ -225,6 +271,7 @@
225
271
  "reason.noMerge": "Keine verbundenen Zellen in der Auswahl.",
226
272
  "reason.noNote": "Die Zelle hat keine Notiz.",
227
273
  "reason.noNotes": "Das Blatt hat keine Notizen.",
274
+ "reason.noPivotStyle": "Kein PivotTable-Format zum Entfernen.",
228
275
  "reason.noPreviousSearch": "Es wurde noch nicht gesucht.",
229
276
  "reason.noSelection": "Nichts ausgewählt.",
230
277
  "reason.noSheetBackground": "Das Blatt hat keinen Hintergrund.",
@@ -234,7 +234,7 @@
234
234
  },
235
235
  "refreshAll": {
236
236
  "label": "Alle aktualisieren",
237
- "description": "Die neuesten Daten aus allen Quellen der Arbeitsmappe abrufen: alle Formeln neu berechnen, was ihre Funktionen aus dem Web lesen erneut abrufen statt aus der Kopie in der Arbeitsmappe, und alle externen Verknüpfungen aktualisieren.",
237
+ "description": "Die neuesten Daten aus allen Quellen der Arbeitsmappe abrufen: alle Formeln neu berechnen, was ihre Funktionen aus dem Web lesen erneut abrufen statt aus der Kopie in der Arbeitsmappe, alle externen Verknüpfungen aktualisieren und alle PivotTables aus ihren Quellen aktualisieren.",
238
238
  "icon": "RefreshAll",
239
239
  "shortcut": "ctrl+alt+F5"
240
240
  },
@@ -0,0 +1,71 @@
1
+ {
2
+ "$schema": "../../../utils-react/command-catalog.schema.json",
3
+ "scope": "pivot",
4
+ "label": "PivotTable",
5
+ "tag": "en",
6
+ "version": 1,
7
+ "commands": {
8
+ "pivotTableFields": {
9
+ "label": "PivotTable Fields",
10
+ "icon": "Table"
11
+ },
12
+ "pivotStyleOptions": {
13
+ "label": "PivotTable Style Options",
14
+ "description": "Choose which parts of the PivotTable style show.",
15
+ "groupLabels": {
16
+ "pivotToolbar": "Style"
17
+ }
18
+ },
19
+ "pivotRefreshOptions": {
20
+ "label": "Refresh",
21
+ "description": "Read the PivotTable's source again and lay it out, or refresh everything the workbook reads.",
22
+ "icon": "RefreshAll"
23
+ },
24
+ "pivotShowOptions": {
25
+ "label": "Show",
26
+ "description": "Choose which of the PivotTable's buttons and headers show."
27
+ },
28
+ "pivotDrillIndicatorsToggle": {
29
+ "label": "Toggle PivotTable +/- Buttons",
30
+ "description": "Show or hide the buttons that expand and collapse the PivotTable's items.",
31
+ "groupLabels": {
32
+ "pivotShowOptions": "+/- Buttons"
33
+ }
34
+ },
35
+ "pivotFieldHeadersToggle": {
36
+ "label": "Toggle PivotTable Field Headers",
37
+ "description": "Show or hide the captions and filter buttons over the PivotTable's row and column fields.",
38
+ "groupLabels": {
39
+ "pivotShowOptions": "Field Headers"
40
+ }
41
+ },
42
+ "pivotRowHeadersToggle": {
43
+ "label": "Toggle PivotTable Row Headers",
44
+ "description": "Show special formatting for the first column of the PivotTable.",
45
+ "groupLabels": {
46
+ "pivotStyleOptions": "Row Headers"
47
+ }
48
+ },
49
+ "pivotColumnHeadersToggle": {
50
+ "label": "Toggle PivotTable Column Headers",
51
+ "description": "Show special formatting for the first row of the PivotTable.",
52
+ "groupLabels": {
53
+ "pivotStyleOptions": "Column Headers"
54
+ }
55
+ },
56
+ "pivotBandedRowsToggle": {
57
+ "label": "Toggle PivotTable Banded Rows",
58
+ "description": "Show banded rows, even rows formatted differently from odd ones.",
59
+ "groupLabels": {
60
+ "pivotStyleOptions": "Banded Rows"
61
+ }
62
+ },
63
+ "pivotBandedColumnsToggle": {
64
+ "label": "Toggle PivotTable Banded Columns",
65
+ "description": "Show banded columns, even columns formatted differently from odd ones.",
66
+ "groupLabels": {
67
+ "pivotStyleOptions": "Banded Columns"
68
+ }
69
+ }
70
+ }
71
+ }
@@ -1480,6 +1480,46 @@
1480
1480
  "mutator"
1481
1481
  ]
1482
1482
  },
1483
+ "insertPivotTable": {
1484
+ "label": "PivotTable",
1485
+ "description": "Summarize data in a PivotTable. Choose its source and where it goes, then pick its fields.",
1486
+ "groupLabels": {
1487
+ "contextMenu": "Insert PivotTable…"
1488
+ },
1489
+ "icon": "Table"
1490
+ },
1491
+ "editPivotTable": {
1492
+ "label": "Edit PivotTable…",
1493
+ "description": "Show the PivotTable's fields to choose what it groups and what it computes.",
1494
+ "groupLabels": {
1495
+ "pivotToolbar": "Field List"
1496
+ },
1497
+ "icon": "Table"
1498
+ },
1499
+ "refreshPivotTable": {
1500
+ "label": "Refresh PivotTable",
1501
+ "description": "Read the PivotTable's source again and lay it out.",
1502
+ "groupLabels": {
1503
+ "pivotRefreshOptions": "Refresh"
1504
+ },
1505
+ "icon": "RefreshAll",
1506
+ "shortcut": "alt+F5"
1507
+ },
1508
+ "deletePivotTable": {
1509
+ "label": "Delete PivotTable",
1510
+ "description": "Remove the PivotTable and its cells.",
1511
+ "icon": "Delete"
1512
+ },
1513
+ "formatPivotStyle": {
1514
+ "label": "PivotTable Styles",
1515
+ "description": "Apply a style to the PivotTable.",
1516
+ "icon": "PresetStyles"
1517
+ },
1518
+ "formatPivotStyleClear": {
1519
+ "label": "Clear PivotTable Style",
1520
+ "description": "Remove the PivotTable's style.",
1521
+ "icon": "ClearFormats"
1522
+ },
1483
1523
  "tableFilterToggle": {
1484
1524
  "label": "Sort & Filter",
1485
1525
  "description": "Toggle Auto Table on/off.",
@@ -185,6 +185,7 @@
185
185
  "op.moveCells": "Move Cells",
186
186
  "op.moveMovable": "Move",
187
187
  "op.nudgeMovable": "Nudge",
188
+ "op.pivotValueSettings": "PivotTable Value Settings",
188
189
  "op.resizeColumnsNamed": "{count, plural, one {Resize Column ''{name}''} other {Resize Columns ''{name}''}}",
189
190
  "op.resizeMovable": "Resize",
190
191
  "op.resizeRowsNamed": "{count, plural, one {Resize Row ''{name}''} other {Resize Rows ''{name}''}}",
@@ -206,6 +207,51 @@
206
207
  "picker.noMatches": "No matches",
207
208
  "picker.noValues": "No values",
208
209
  "picker.search": "Search",
210
+ "pivot.area.column": "Columns",
211
+ "pivot.area.hint": "Drag fields here",
212
+ "pivot.area.page": "Filters",
213
+ "pivot.area.row": "Rows",
214
+ "pivot.area.values": "Values",
215
+ "pivot.chip.filtered": "Filtered",
216
+ "pivot.chip.rename": "Name",
217
+ "pivot.chip.valuesAsColumns": "Values as columns",
218
+ "pivot.chip.valuesAsRows": "Values as rows",
219
+ "pivot.empty.hintInside": "To build a report, choose fields from the PivotTable Field List",
220
+ "pivot.empty.hintOutside": "Click in this area to work with the PivotTable report",
221
+ "pivot.fields.list": "Fields",
222
+ "pivot.fields.none": "No field matches.",
223
+ "pivot.fields.search": "Search fields",
224
+ "pivot.function.average": "Average",
225
+ "pivot.function.count": "Count",
226
+ "pivot.function.countNums": "Count Numbers",
227
+ "pivot.function.max": "Max",
228
+ "pivot.function.min": "Min",
229
+ "pivot.function.product": "Product",
230
+ "pivot.function.stdDev": "StdDev",
231
+ "pivot.function.stdDevp": "StdDevp",
232
+ "pivot.function.sum": "Sum",
233
+ "pivot.function.var": "Var",
234
+ "pivot.function.varp": "Varp",
235
+ "pivot.menu.button": "Field options",
236
+ "pivot.menu.filter": "Filter…",
237
+ "pivot.menu.moveDown": "Move down",
238
+ "pivot.menu.moveTo.column": "Move to Columns",
239
+ "pivot.menu.moveTo.page": "Move to Filters",
240
+ "pivot.menu.moveTo.row": "Move to Rows",
241
+ "pivot.menu.moveTo.values": "Move to Values",
242
+ "pivot.menu.moveToEnd": "Move to end",
243
+ "pivot.menu.moveToStart": "Move to beginning",
244
+ "pivot.menu.moveUp": "Move up",
245
+ "pivot.menu.remove": "Remove",
246
+ "pivot.menu.sortAndFilter": "Sort and filter…",
247
+ "pivot.menu.valueSettings": "Value settings…",
248
+ "pivot.pane.deleted": "This PivotTable was deleted.",
249
+ "pivot.pane.empty": "Select a cell in a PivotTable to see its fields.",
250
+ "pivot.type.blank": "Blank",
251
+ "pivot.type.date": "Dates",
252
+ "pivot.type.mixed": "Mixed",
253
+ "pivot.type.number": "Numbers",
254
+ "pivot.type.text": "Text",
209
255
  "reason.alreadyTable": "The selection is already in a table.",
210
256
  "reason.cannotFlip": "None of the selected drawings can be flipped.",
211
257
  "reason.cellHasNote": "The cell has a note.",
@@ -227,6 +273,7 @@
227
273
  "reason.noMerge": "No merged cells in the selection.",
228
274
  "reason.noNote": "The cell has no note.",
229
275
  "reason.noNotes": "The sheet has no notes.",
276
+ "reason.noPivotStyle": "No PivotTable style to clear.",
230
277
  "reason.noPreviousSearch": "Nothing has been searched for yet.",
231
278
  "reason.noSelection": "Nothing is selected.",
232
279
  "reason.noSheetBackground": "The sheet has no background.",
@@ -234,7 +234,7 @@
234
234
  },
235
235
  "refreshAll": {
236
236
  "label": "Refresh All",
237
- "description": "Get the latest data from every source the workbook reads: recalculate every formula, fetch what its functions read from the web again rather than from the copy the workbook keeps, and update every external link.",
237
+ "description": "Get the latest data from every source the workbook reads: recalculate every formula, fetch what its functions read from the web again rather than from the copy the workbook keeps, update every external link, and refresh every PivotTable from its source.",
238
238
  "icon": "RefreshAll",
239
239
  "shortcut": "ctrl+alt+F5"
240
240
  },
@@ -0,0 +1,55 @@
1
+ import { default as React } from 'react';
2
+ import { Bounds } from '@sheetxl/utils';
3
+ import { IPivotTable } from '@sheetxl/sdk';
4
+ /**
5
+ * The pivot table button configuration.
6
+ *
7
+ * @remarks
8
+ * Rides the shared `propsCellRender` channel, as the column buttons' does. Consumed by the pivot
9
+ * layer (`PivotLayer`), not the text cell renderer.
10
+ */
11
+ export interface PivotButtonConfigProps {
12
+ /**
13
+ * Callback for when a pivot table's field dropdown has been pressed.
14
+ *
15
+ * @param event - The mouse event (its `currentTarget` anchors the menu)
16
+ * @param fields - The fields the button is for: one, or a compact header's row or column fields
17
+ */
18
+ onPivotButtonMouseDown?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, fields: readonly IPivotTable.IField[]) => void;
19
+ }
20
+ /**
21
+ * Props for {@link PivotDropdownButton}.
22
+ */
23
+ export interface PivotDropdownButtonProps extends React.HTMLAttributes<HTMLElement> {
24
+ /** The cell's box the button pins itself into. */
25
+ bounds: Bounds;
26
+ zoom: number;
27
+ disabled: boolean;
28
+ /** The fields the button is for. */
29
+ fields: readonly IPivotTable.IField[];
30
+ onPivotButtonMouseDown?: PivotButtonConfigProps['onPivotButtonMouseDown'];
31
+ }
32
+ /**
33
+ * A pivot table field's dropdown: the column button's look, filtered while a field it is for shows
34
+ * less than all of its items.
35
+ */
36
+ export declare const PivotDropdownButton: (props: PivotDropdownButtonProps) => React.ReactElement;
37
+ /**
38
+ * Props for {@link PivotToggleButton}.
39
+ */
40
+ export interface PivotToggleButtonProps {
41
+ /** Whether the item's details show: the button collapses them. */
42
+ expanded: boolean;
43
+ /** The edge of the square, in pixels. */
44
+ size: number;
45
+ disabled?: boolean;
46
+ /** A localized description of what a press does. */
47
+ title?: string;
48
+ onToggle: () => void;
49
+ style?: React.CSSProperties;
50
+ }
51
+ /**
52
+ * A pivot table item's expand/collapse box: a square with a `+` or a `−`, as the outline's.
53
+ */
54
+ export declare const PivotToggleButton: (props: PivotToggleButtonProps) => React.ReactElement;
55
+ //# sourceMappingURL=PivotButton.d.ts.map