pivotkit-react 0.1.0 → 0.2.0

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 (53) hide show
  1. package/CHANGELOG.md +143 -1
  2. package/README.md +48 -298
  3. package/dist/chunks/chunk-53ZMK4BH.js +177 -0
  4. package/dist/chunks/{chunk-ILHFIV2P.js → chunk-F6MVUAQD.js} +35 -78
  5. package/dist/chunks/chunk-LQCWFJBS.js +310 -0
  6. package/dist/chunks/chunk-OYY4BKIL.js +93 -0
  7. package/dist/chunks/chunk-QBD4FOBB.js +254 -0
  8. package/dist/chunks/{chunk-KKJO36W5.js → chunk-X7H7BAVT.js} +243 -324
  9. package/dist/chunks/unused-texts-YTNJCFFC.js +10 -0
  10. package/dist/chunks/unused-texts-de-SGOHV4N7.js +6 -0
  11. package/dist/echarts.js +96 -11
  12. package/dist/index.js +619 -527
  13. package/dist/labels.js +13 -4
  14. package/dist/menu-texts-de.js +6 -0
  15. package/dist/menus.js +787 -191
  16. package/dist/styles.css +113 -31
  17. package/package.json +2 -2
  18. package/types/chart-layout.d.ts +111 -0
  19. package/types/chart-types.d.ts +0 -91
  20. package/types/drill-panel.d.ts +5 -22
  21. package/types/drill-table.d.ts +71 -0
  22. package/types/drill.d.ts +0 -36
  23. package/types/help.d.ts +21 -0
  24. package/types/icons.d.ts +4 -0
  25. package/types/labels.d.ts +43 -101
  26. package/types/lazy-menus.d.ts +16 -4
  27. package/types/menu-labels-de.d.ts +2 -0
  28. package/types/menu-labels.d.ts +71 -9
  29. package/types/menu-ops.d.ts +145 -0
  30. package/types/menu-texts.d.ts +2 -0
  31. package/types/menus.d.ts +1 -1
  32. package/types/names.d.ts +19 -19
  33. package/types/overflow.d.ts +4 -1
  34. package/types/popover.d.ts +10 -6
  35. package/types/section.d.ts +7 -24
  36. package/types/sections.d.ts +2 -0
  37. package/types/share-actions.d.ts +99 -0
  38. package/types/share.d.ts +0 -9
  39. package/types/table.d.ts +9 -3
  40. package/types/templates.d.ts +7 -1
  41. package/types/tips.d.ts +9 -7
  42. package/types/toolbar-panels.d.ts +8 -5
  43. package/types/unused-load.d.ts +23 -0
  44. package/types/unused-texts-de.d.ts +2 -0
  45. package/types/unused-texts.d.ts +130 -0
  46. package/types/unused.d.ts +22 -0
  47. package/types/use-view-history.d.ts +7 -4
  48. package/types/view-history.d.ts +23 -6
  49. package/types/view-ops.d.ts +72 -123
  50. package/types/view-save.d.ts +76 -0
  51. package/types/view-store.d.ts +13 -6
  52. package/dist/chunks/chunk-C32TYSHG.js +0 -441
  53. package/dist/chunks/chunk-XYP47DJ3.js +0 -123
@@ -0,0 +1,177 @@
1
+ // src/unused-texts.js
2
+ var en = {
3
+ // "Quakes: the colour scale needs two or three colours - the default colours are used"
4
+ item: "{subject}: {text}",
5
+ // a key of the view this version does not know, as the subject
6
+ quote: "\u201C{key}\u201D",
7
+ // two lines about different entries with the same name: which one ({part}: the zone or section)
8
+ position: "{subject} (no. {n} in {part})",
9
+ // what an issue is about when no field or value is named
10
+ view: "The view",
11
+ sections: {
12
+ sort: "Sorting",
13
+ derived: "Groupings",
14
+ totals: "Totals",
15
+ collapsed: "Collapsed groups",
16
+ display: "Table or chart",
17
+ chart: "Chart",
18
+ formatting: "Formatting"
19
+ },
20
+ // the setting of an unknown choice ({setting}), by the last part of its path
21
+ settings: {
22
+ display: "display",
23
+ type: "chart type",
24
+ valueLabels: "value labels",
25
+ legend: "legend position",
26
+ axisLabels: "axis labels",
27
+ groupLabels: "group labels",
28
+ labelPosition: "label position",
29
+ other: "setting"
30
+ },
31
+ // what the report does instead, by the part of the view ({dropped} in a text)
32
+ dropped: {
33
+ rows: "it is left out of Rows",
34
+ cols: "it is left out of Columns",
35
+ values: "this value is left out",
36
+ filters: "this filter is left out",
37
+ sort: "the usual order is used",
38
+ derived: "this grouping is left out",
39
+ other: "it is left out"
40
+ },
41
+ codes: {
42
+ notView: "this is not a pivotkit view - the report starts empty",
43
+ notJson: "this is not valid JSON - the report starts empty",
44
+ tooLarge: "the view is too large - the report starts empty",
45
+ badVersion: "the view has an unknown version - the report starts empty",
46
+ newerVersion: "the view comes from a newer pivotkit - the report starts empty; update pivotkit to open it",
47
+ noMigration: "the view cannot be brought to this version - the report starts empty",
48
+ unknownKey: "this setting is unknown here - it is ignored",
49
+ notList: "this is not a list - nothing of it is used",
50
+ tooMany: "more than {max} entries - only the first {max} are used",
51
+ tooManyItems: "more than {max} items - only the first {max} are used",
52
+ itemType: "the item \u201C{value}\u201D does not fit a {type} field - it is left out",
53
+ unknownField: "the data has no field \u201C{field}\u201D - {dropped}",
54
+ // the same, when the line is about that field itself (Rows, Columns, a filter or a sort)
55
+ unknownFieldHere: "the data has no field of this name - {dropped}",
56
+ placedTwice: "the field is in Rows or Columns twice - only its first place is used",
57
+ groupingNoName: "the grouping has no name - it is left out",
58
+ groupingNameTaken: "the data already has a field of this name - the grouping is left out",
59
+ groupingNoSource: "the data has no field \u201C{field}\u201D to group - the grouping is left out",
60
+ groupingUnknown: "the grouping \u201C{value}\u201D is unknown - it is left out",
61
+ binsNeedNumber: "ranges need a number field, \u201C{field}\u201D is not one - the grouping is left out",
62
+ groupingNeedsDate: "a date grouping needs a date field, \u201C{field}\u201D is not one - the grouping is left out",
63
+ binSize: "ranges need a size above zero - the grouping is left out",
64
+ notValueRef: "this is not a value - {dropped}",
65
+ unknownAggregator: "the calculation \u201C{value}\u201D is unknown - {dropped}",
66
+ aggregatorNeedsField: "{agg} needs a field - {dropped}",
67
+ aggregatorType: "{agg} does not work on \u201C{field}\u201D ({type}) - {dropped}",
68
+ unknownFormat: "the number format \u201C{value}\u201D is unknown - the usual format is used",
69
+ badLabel: "the name is empty or longer than {max} characters - the usual name is used",
70
+ unknownShowAs: "\u201CShow as\u201D \u201C{value}\u201D is unknown - the plain value is shown",
71
+ showAsNotAdditive: "this \u201CShow as\u201D needs a sum or a count, not {agg} - the plain value is shown",
72
+ showAsNotNumber: "{agg} gives no number to show as a share - the plain value is shown",
73
+ unknownConditional: "the colour format \u201C{value}\u201D is unknown - the value is shown without colours",
74
+ conditionalNotNumber: "colours need a number value - the value is shown without colours",
75
+ colorScaleColors: "the colour scale needs two or three colours - the default colours are used",
76
+ dataBarColor: "the bar colour is not a colour - the default colour is used",
77
+ unknownFilterType: "the filter type \u201C{value}\u201D is unknown - this filter is left out",
78
+ filterNoItems: "the filter lists no items - it is left out",
79
+ filterLabelOp: "the text condition \u201C{value}\u201D is unknown - this filter is left out",
80
+ filterText: "the text condition has no text - this filter is left out",
81
+ filterNotNumber: "{agg} gives no number to filter by - this filter is left out",
82
+ filterCount: "Top needs a whole number from 1 to {max} - this filter is left out",
83
+ filterValue: "the condition needs a comparison and a number - this filter is left out",
84
+ filterValue2: "\u201C{value}\u201D needs a second number - this filter is left out",
85
+ sortNoItems: "the custom order lists no items - the usual order is used",
86
+ sortedTwice: "the field is sorted twice - only its first sort is used",
87
+ badTotals: "the totals cannot be read - the usual totals are shown",
88
+ collapsedPath: "a collapsed group does not fit the fields - it is shown expanded",
89
+ unknownSetting: "the {setting} \u201C{value}\u201D is unknown - the default is used",
90
+ badTitle: "the title is empty or longer than {max} characters - the chart has no title",
91
+ unknownLocale: "the language \u201C{value}\u201D is unknown - the report's language is used",
92
+ unknownTimeZone: "the time zone \u201C{value}\u201D is unknown - the data's time zone is used",
93
+ timeZoneMismatch: "the view was made for the time zone {value}, the data is in {zone} - times are read in {zone}"
94
+ },
95
+ // a problem this version has no text for (a newer pivotkit-core)
96
+ other: "this part could not be used - it is left out"
97
+ };
98
+ var isObject = (v) => v !== null && typeof v === "object" && !Array.isArray(v);
99
+ var own = (obj, key) => isObject(obj) && Object.hasOwn(obj, key) ? obj[key] : void 0;
100
+ var text = (v) => typeof v === "string" && v.trim() !== "" ? v.trim() : null;
101
+ var ENTRY = /^(rows|cols|values|filters|sort|derived)\[(\d+)\]/;
102
+ function valueName(entry, ctx) {
103
+ const label = text(own(entry, "label"));
104
+ if (label) {
105
+ return label;
106
+ }
107
+ const agg = own(entry, "agg");
108
+ if (typeof agg !== "string") {
109
+ return null;
110
+ }
111
+ const field = own(entry, "field");
112
+ return ctx.value({ field: typeof field === "string" ? field : null, agg, label: null, showAs: null });
113
+ }
114
+ function subjectOf(issue, raw, texts, ctx) {
115
+ if (issue.code === "unknownKey") {
116
+ return ctx.fill(texts.quote, { key: issue.path });
117
+ }
118
+ const m = ENTRY.exec(issue.path);
119
+ if (m) {
120
+ const list = own(raw, m[1]);
121
+ const entry = Array.isArray(list) ? list[Number(m[2])] : void 0;
122
+ const name = m[1] === "values" ? valueName(entry, ctx) : text(m[1] === "rows" || m[1] === "cols" ? entry : m[1] === "derived" ? own(entry, "name") : own(entry, "field"));
123
+ if (name) {
124
+ return m[1] === "values" || m[1] === "derived" ? name : ctx.field(name);
125
+ }
126
+ }
127
+ const head = /^[a-z]*/i.exec(issue.path)?.[0] ?? "";
128
+ return own(ctx.labels.zones, head) ?? own(texts.sections, head) ?? texts.view;
129
+ }
130
+ function unusedItem(issue, raw, texts, ctx) {
131
+ const { labels, fill } = ctx;
132
+ const head = /^[a-z]*/i.exec(issue.path)?.[0] ?? "";
133
+ const code = typeof issue.code === "string" ? issue.code : "";
134
+ const key = code === "unknownField" && /^(rows|cols|filters|sort)\[\d+\]$/.test(issue.path) ? "unknownFieldHere" : code;
135
+ const template = code ? own(texts.codes, key) ?? texts.other : "{message}";
136
+ const params = (
137
+ /** @type {import("pivotkit-core").IssueParams} */
138
+ isObject(issue.params) ? issue.params : {}
139
+ );
140
+ const core = labels.core;
141
+ const values = {
142
+ dropped: own(texts.dropped, head) ?? texts.dropped.other,
143
+ setting: own(texts.settings, issue.path.split(".").pop() ?? "") ?? texts.settings.other,
144
+ field: typeof params.field === "string" ? ctx.field(params.field) : "",
145
+ value: params.value ?? "",
146
+ agg: typeof params.agg === "string" ? own(core.aggregators, params.agg) ?? params.agg : "",
147
+ type: typeof params.type === "string" ? own(labels.types, params.type) ?? params.type : "",
148
+ max: typeof params.max === "number" ? params.max.toLocaleString(labels.lang) : "",
149
+ zone: params.zone ?? "",
150
+ message: issue.message
151
+ };
152
+ const [before, after = ""] = texts.item.split("{subject}");
153
+ const line = { text: fill(template, values) };
154
+ return { pre: fill(before, line), subject: subjectOf(issue, raw, texts, ctx), post: fill(after, line) };
155
+ }
156
+ function unusedItems(notes, texts, ctx) {
157
+ const items = notes.map((n) => ({ ...unusedItem(n.issue, n.raw, texts, ctx), at: ENTRY.exec(n.issue.path) }));
158
+ const entries = /* @__PURE__ */ new Map();
159
+ for (const it of items) {
160
+ const set = entries.get(it.subject) ?? /* @__PURE__ */ new Set();
161
+ set.add(it.at ? it.at[0] : "");
162
+ entries.set(it.subject, set);
163
+ }
164
+ return items.map(({ at, ...it }) => {
165
+ if (!at || entries.get(it.subject).size < 2) {
166
+ return it;
167
+ }
168
+ const part = own(ctx.labels.zones, at[1]) ?? own(texts.sections, at[1]) ?? at[1];
169
+ return { ...it, subject: ctx.fill(texts.position, { subject: it.subject, n: Number(at[2]) + 1, part }) };
170
+ });
171
+ }
172
+
173
+ export {
174
+ en,
175
+ unusedItem,
176
+ unusedItems
177
+ };
@@ -45,6 +45,8 @@ var en = {
45
45
  noFieldMatch: "No field matches \u201C{query}\u201D.",
46
46
  fieldMenu: "Options for {field}",
47
47
  addTo: "Add to {zone}",
48
+ // the field's menu, for a field in Values already: a second value of it (a sum and its share, say)
49
+ addAgain: "Add to {zone} again",
48
50
  // a click on a field that is in its zone already: said in the status line
49
51
  alreadyIn: "{field} is already in {zone}",
50
52
  move: "Move",
@@ -68,6 +70,8 @@ var en = {
68
70
  redo: "Redo",
69
71
  reset: "Reset",
70
72
  resetHint: "Back to the start view",
73
+ // next to Views: the name of the view loaded, and the mark while it has changes not saved
74
+ unsavedChanges: "Unsaved changes",
71
75
  swap: "Swap rows and columns",
72
76
  // the zones folded into one line (compact layout), and the toolbar button that does it (pressed: open)
73
77
  layout: "Layout",
@@ -78,11 +82,6 @@ var en = {
78
82
  views: "Views",
79
83
  exportLabel: "Export",
80
84
  options: "Options",
81
- totals: "Totals",
82
- grandTotalRow: "Grand total row",
83
- grandTotalColumn: "Grand total column",
84
- rowSubtotals: "Row subtotals",
85
- colSubtotals: "Column subtotals",
86
85
  expand: "Expand {label}",
87
86
  collapse: "Collapse {label}",
88
87
  showAs: "Show as",
@@ -93,6 +92,11 @@ var en = {
93
92
  sortCustomDesc: "Custom order, reversed",
94
93
  sortValueDesc: "Largest {value} first",
95
94
  sortValueAsc: "Smallest {value} first",
95
+ // a click on a table header: its tooltip (what the next click does) and what a screen reader hears after it
96
+ headerSort: "Sort {field}: {order}",
97
+ headerSortDesc: "Sort by {value}: largest first",
98
+ headerSortAsc: "Sort by {value}: smallest first",
99
+ headerSorted: "{field} sorted: {order}",
96
100
  units: {
97
101
  year: "Year",
98
102
  yearQuarter: "Quarter",
@@ -132,7 +136,6 @@ var en = {
132
136
  filterTitle: "Filter {field}",
133
137
  // the condition on the labels of a field: text, or a number's label
134
138
  condition: "Text condition",
135
- labelOps: { equals: "is", notEquals: "is not", contains: "contains", notContains: "does not contain", beginsWith: "begins with", endsWith: "ends with" },
136
139
  // result
137
140
  emptyTitle: "Build your report in three steps",
138
141
  emptySteps: [
@@ -150,7 +153,13 @@ var en = {
150
153
  tooMuchWork: "This layout needs {value} cell updates, more than the limit of {max}. Remove a field from Rows or Columns, or a value such as a median or a unique count.",
151
154
  zoneFull: "{zone} holds at most {max} fields. Remove one first.",
152
155
  viewTrimmed: "\u201C{name}\u201D has more than {max} fields in {zone}; the report shows the first {max}.",
153
- issues: "Some parts of the view were not used:",
156
+ // the warning above the result: parts of a view the report could not use (unused.jsx; each part's
157
+ // own line in plain words loads with unused-texts.js), and the technical line under each
158
+ unusedParts: { one: "{count} part of this view could not be used", other: "{count} parts of this view could not be used" },
159
+ unusedPath: "For developers:",
160
+ // the lines past the first few (three, two on a narrow report) of an open warning
161
+ unusedMore: { one: "Show {count} more", other: "Show {count} more" },
162
+ unusedFewer: "Show fewer",
154
163
  dismissIssues: "Dismiss",
155
164
  loadingChart: "Loading chart\u2026",
156
165
  noChartData: "Add a value to see a chart.",
@@ -175,7 +184,8 @@ var en = {
175
184
  toastUndone: "Undone: {step}",
176
185
  toastRedone: "Redone: {step}",
177
186
  toastReset: "Back to the start view",
178
- toastExported: "Exported {file}",
187
+ // New's step said in the status line, and its entry in the Views menu
188
+ newEmpty: "New, empty report",
179
189
  toastLoaded: "View \u201C{name}\u201D loaded",
180
190
  toastExportFailed: "Export failed: {message}",
181
191
  // what an undo step was, for "Undone: ..."
@@ -197,6 +207,7 @@ var en = {
197
207
  swap: "rows and columns swapped",
198
208
  template: "view \u201C{name}\u201D",
199
209
  reset: "back to the start view",
210
+ new: "new, empty report",
200
211
  outside: "change from outside the report",
201
212
  viewLoaded: "view loaded",
202
213
  chartDisplay: "chart display",
@@ -231,7 +242,7 @@ var en = {
231
242
  afterDrag: "Undo takes the last step back. Every field and chip also has a menu with the same moves.",
232
243
  saveTemplate: "Save this view to open it again later?",
233
244
  menus: "Every field also has a menu, and the toolbar has Undo.",
234
- cells: "Click a value, or press Enter on it, to see the rows behind it. The arrow keys move between values."
245
+ cells: "Click a value, or press Enter on it, to see the rows behind it; click a header to sort. The arrow keys move between values."
235
246
  },
236
247
  tipActions: {
237
248
  removeFilters: "Remove filter",
@@ -243,16 +254,6 @@ var en = {
243
254
  },
244
255
  dismissTip: "Dismiss tip",
245
256
  tipsTitle: "Tips",
246
- shortcuts: {
247
- undo: "Undo",
248
- redo: "Redo",
249
- move: "Move between values in the table",
250
- open: "Open the rows behind a value; open a menu",
251
- drag: "Pick up a field or chip, and drop it",
252
- close: "Close a menu, a panel or a tip",
253
- fields: "In the field list: up and down between fields, left and right to a field's grip, its \u201Ci\u201D and its menu",
254
- fieldMenu: "Open the menu of the field in focus"
255
- },
256
257
  // the first stop of the report for the keyboard: past the field list to the toolbar
257
258
  skipToToolbar: "Skip to the toolbar",
258
259
  // field descriptions (fieldDefaults)
@@ -281,15 +282,9 @@ var en = {
281
282
  // a menu whose panel could not be loaded (offline, or the host did not deploy dist/chunks/)
282
283
  menuFailed: "This menu could not be loaded.",
283
284
  tryAgain: "Try again",
284
- // chart display (the chart type menu)
285
- chartDisplay: "Display",
286
285
  axisEvery: "One label in every {n} is shown; point at a bar or point for its name.",
287
286
  // the × in a text field
288
287
  clearText: "Clear",
289
- toastLinkCopied: "Link copied",
290
- toastJsonCopied: "View copied as JSON",
291
- toastCopyFailed: "This page does not allow copying. Use \u201CDownload view\u201D instead.",
292
- toastLinkTooLong: "This view is too large for a link. Use \u201CDownload view\u201D instead.",
293
288
  toastViewLoaded: "View loaded",
294
289
  toastViewLoadedPartly: "View loaded; some parts did not fit this data",
295
290
  toastLinkOpened: "Opened the view from the link",
@@ -301,9 +296,6 @@ var en = {
301
296
  loadCheckChanged: "Fields of another type here: {fields}.",
302
297
  // a link in the page's address for other data: asked before it is opened
303
298
  linkCheckTitle: "The link's view may not fit this data",
304
- viewMissingFields: "fields this data does not have ({fields})",
305
- viewOtherIssue: "{count} other setting",
306
- viewOtherIssues: "{count} other settings",
307
299
  viewFailed: {
308
300
  empty: "Paste a view or choose a file first.",
309
301
  tooLarge: "This is too large for a view.",
@@ -314,7 +306,6 @@ var en = {
314
306
  file: "The file could not be read."
315
307
  },
316
308
  // filters
317
- filterIs: "Filter: {filter}",
318
309
  valueConditions: { compare: "{value} {op} {number}", between: "{value} between {from} and {to}", notBetween: "{value} not between {from} and {to}" },
319
310
  // the i next to each zone's title (shown while explanations are on)
320
311
  zoneInfo: {
@@ -323,21 +314,11 @@ var en = {
323
314
  values: "Values are the numbers in the cells, summed, counted or averaged for each row and column. Example: Revenue in Values shows the revenue of each region.",
324
315
  filters: "Filters keep only some items of a field in the whole report, without a row or column for it. Example: Country in Filters with only Germany selected."
325
316
  },
326
- // Options: expand and collapse all, and the totals that would change nothing (their reason)
327
- expandNothing: "Nothing is collapsed.",
328
- collapseNeedsRows: "Needs two or more fields in Rows.",
329
- needsRowField: "Needs a field in Rows.",
330
- needsColField: "Needs a field in Columns.",
331
- needsRowFields: "Needs two or more fields in Rows.",
332
- needsColFields: "Needs two or more fields in Columns.",
333
317
  // the result area: bigger, and the full screen
334
318
  enlarge: "Enlarge",
335
319
  // the same button while the result is enlarged
336
320
  reduce: "Reduce",
337
- fullScreen: "Full screen",
338
- collapseAllDone: "Every group is collapsed already.",
339
- groupsCollapsed: { one: "{count} group collapsed", other: "{count} groups collapsed" },
340
- groupsExpanded: { one: "{count} group expanded", other: "{count} groups expanded" }
321
+ fullScreen: "Full screen"
341
322
  };
342
323
  var de = {
343
324
  lang: "de",
@@ -400,6 +381,7 @@ var de = {
400
381
  noFieldMatch: "Kein Feld passt zu \u201E{query}\u201C.",
401
382
  fieldMenu: "Optionen f\xFCr {field}",
402
383
  addTo: "Zu {zone} hinzuf\xFCgen",
384
+ addAgain: "Noch einmal zu {zone} hinzuf\xFCgen",
403
385
  alreadyIn: "{field} ist bereits in {zone}",
404
386
  move: "Verschieben",
405
387
  moveTo: "Nach {zone} verschieben",
@@ -421,6 +403,7 @@ var de = {
421
403
  redo: "Wiederholen",
422
404
  reset: "Zur\xFCcksetzen",
423
405
  resetHint: "Zur\xFCck zur Startansicht",
406
+ unsavedChanges: "Nicht gespeicherte \xC4nderungen",
424
407
  swap: "Zeilen und Spalten tauschen",
425
408
  layout: "Anordnung",
426
409
  showLayout: "Feldanordnung zeigen",
@@ -429,11 +412,6 @@ var de = {
429
412
  views: "Ansichten",
430
413
  exportLabel: "Export",
431
414
  options: "Optionen",
432
- totals: "Summen",
433
- grandTotalRow: "Gesamtzeile",
434
- grandTotalColumn: "Gesamtspalte",
435
- rowSubtotals: "Teilergebnisse der Zeilen",
436
- colSubtotals: "Teilergebnisse der Spalten",
437
415
  expand: "{label} aufklappen",
438
416
  collapse: "{label} zuklappen",
439
417
  showAs: "Anzeigen als",
@@ -444,6 +422,10 @@ var de = {
444
422
  sortCustomDesc: "Eigene Reihenfolge, umgekehrt",
445
423
  sortValueDesc: "Gr\xF6\xDFte {value} zuerst",
446
424
  sortValueAsc: "Kleinste {value} zuerst",
425
+ headerSort: "{field} sortieren: {order}",
426
+ headerSortDesc: "Nach {value} sortieren: gr\xF6\xDFte zuerst",
427
+ headerSortAsc: "Nach {value} sortieren: kleinste zuerst",
428
+ headerSorted: "{field} sortiert: {order}",
447
429
  units: {
448
430
  year: "Jahr",
449
431
  yearQuarter: "Quartal",
@@ -481,7 +463,6 @@ var de = {
481
463
  filterSummary: "{shown} von {total}",
482
464
  filterTitle: "{field} filtern",
483
465
  condition: "Textbedingung",
484
- labelOps: { equals: "ist", notEquals: "ist nicht", contains: "enth\xE4lt", notContains: "enth\xE4lt nicht", beginsWith: "beginnt mit", endsWith: "endet mit" },
485
466
  emptyTitle: "Den Bericht in drei Schritten bauen",
486
467
  emptySteps: [
487
468
  "Ein Feld wie Team oder Region in Zeilen ziehen.",
@@ -498,7 +479,10 @@ var de = {
498
479
  tooMuchWork: "Diese Anordnung braucht {value} Zellberechnungen, mehr als die Grenze von {max}. Ein Feld aus Zeilen oder Spalten entfernen oder einen Wert wie Median oder Anzahl eindeutiger Werte.",
499
480
  zoneFull: "{zone} nimmt h\xF6chstens {max} Felder auf. Zuerst eines entfernen.",
500
481
  viewTrimmed: "\u201E{name}\u201C hat mehr als {max} Felder in {zone}; der Bericht zeigt die ersten {max}.",
501
- issues: "Einige Teile der Ansicht wurden nicht verwendet:",
482
+ unusedParts: { one: "{count} Teil dieser Ansicht konnte nicht verwendet werden", other: "{count} Teile dieser Ansicht konnten nicht verwendet werden" },
483
+ unusedPath: "F\xFCr Entwickler:",
484
+ unusedMore: { one: "{count} weiteren zeigen", other: "{count} weitere zeigen" },
485
+ unusedFewer: "Weniger zeigen",
502
486
  dismissIssues: "Ausblenden",
503
487
  loadingChart: "Diagramm wird geladen\u2026",
504
488
  noChartData: "Einen Wert hinzuf\xFCgen, um ein Diagramm zu sehen.",
@@ -519,7 +503,7 @@ var de = {
519
503
  toastUndone: "R\xFCckg\xE4ngig: {step}",
520
504
  toastRedone: "Wiederholt: {step}",
521
505
  toastReset: "Zur\xFCck zur Startansicht",
522
- toastExported: "{file} exportiert",
506
+ newEmpty: "Neuer, leerer Bericht",
523
507
  toastLoaded: "Ansicht \u201E{name}\u201C geladen",
524
508
  toastExportFailed: "Export fehlgeschlagen: {message}",
525
509
  steps: {
@@ -540,6 +524,7 @@ var de = {
540
524
  swap: "Zeilen und Spalten getauscht",
541
525
  template: "Ansicht \u201E{name}\u201C",
542
526
  reset: "zur\xFCck zur Startansicht",
527
+ new: "neuer, leerer Bericht",
543
528
  outside: "\xC4nderung von au\xDFerhalb des Berichts",
544
529
  viewLoaded: "Ansicht geladen",
545
530
  chartDisplay: "Diagrammdarstellung",
@@ -572,7 +557,7 @@ var de = {
572
557
  afterDrag: "R\xFCckg\xE4ngig nimmt den letzten Schritt zur\xFCck. Jedes Feld und jeder Chip hat auch ein Men\xFC mit denselben Schritten.",
573
558
  saveTemplate: "Diese Ansicht speichern, um sie sp\xE4ter wieder zu \xF6ffnen?",
574
559
  menus: "Jedes Feld hat auch ein Men\xFC, und die Werkzeugleiste hat R\xFCckg\xE4ngig.",
575
- cells: "Auf einen Wert klicken oder darauf Eingabe dr\xFCcken, um die Zeilen dahinter zu sehen. Die Pfeiltasten wechseln zwischen den Werten."
560
+ cells: "Auf einen Wert klicken oder darauf Eingabe dr\xFCcken, um die Zeilen dahinter zu sehen; auf eine \xDCberschrift klicken, um zu sortieren. Die Pfeiltasten wechseln zwischen den Werten."
576
561
  },
577
562
  tipActions: {
578
563
  removeFilters: "Filter entfernen",
@@ -584,16 +569,6 @@ var de = {
584
569
  },
585
570
  dismissTip: "Tipp ausblenden",
586
571
  tipsTitle: "Tipps",
587
- shortcuts: {
588
- undo: "R\xFCckg\xE4ngig",
589
- redo: "Wiederholen",
590
- move: "Zwischen den Werten der Tabelle wechseln",
591
- open: "Die Zeilen hinter einem Wert \xF6ffnen; ein Men\xFC \xF6ffnen",
592
- drag: "Ein Feld oder einen Chip aufnehmen und ablegen",
593
- close: "Ein Men\xFC, ein Fenster oder einen Tipp schlie\xDFen",
594
- fields: "In der Feldliste: auf und ab zwischen den Feldern, links und rechts zum Griff eines Felds, seinem \u201Ei\u201C und seinem Men\xFC",
595
- fieldMenu: "Das Men\xFC des Felds im Fokus \xF6ffnen"
596
- },
597
572
  skipToToolbar: "Zur Werkzeugleiste springen",
598
573
  aboutField: "\xDCber {field}",
599
574
  learnMore: "Mehr erfahren",
@@ -616,13 +591,8 @@ var de = {
616
591
  loadingMenu: "Wird geladen\u2026",
617
592
  menuFailed: "Dieses Men\xFC konnte nicht geladen werden.",
618
593
  tryAgain: "Erneut versuchen",
619
- chartDisplay: "Darstellung",
620
594
  axisEvery: "Jede {n}. Beschriftung wird gezeigt; auf einen Balken oder Punkt zeigen, um seinen Namen zu sehen.",
621
595
  clearText: "Leeren",
622
- toastLinkCopied: "Link kopiert",
623
- toastJsonCopied: "Ansicht als JSON kopiert",
624
- toastCopyFailed: "Diese Seite erlaubt kein Kopieren. Stattdessen \u201EAnsicht herunterladen\u201C verwenden.",
625
- toastLinkTooLong: "Diese Ansicht ist zu gro\xDF f\xFCr einen Link. Stattdessen \u201EAnsicht herunterladen\u201C verwenden.",
626
596
  toastViewLoaded: "Ansicht geladen",
627
597
  toastViewLoadedPartly: "Ansicht geladen; einige Teile passen nicht zu diesen Daten",
628
598
  toastLinkOpened: "Ansicht aus dem Link ge\xF6ffnet",
@@ -633,9 +603,6 @@ var de = {
633
603
  loadCheckMissing: "Felder, die diese Daten nicht haben: {fields}.",
634
604
  loadCheckChanged: "Felder mit anderem Typ hier: {fields}.",
635
605
  linkCheckTitle: "Die Ansicht des Links passt vielleicht nicht zu diesen Daten",
636
- viewMissingFields: "Felder, die diese Daten nicht haben ({fields})",
637
- viewOtherIssue: "{count} weitere Einstellung",
638
- viewOtherIssues: "{count} weitere Einstellungen",
639
606
  viewFailed: {
640
607
  empty: "Zuerst eine Ansicht einf\xFCgen oder eine Datei w\xE4hlen.",
641
608
  tooLarge: "Das ist zu gro\xDF f\xFCr eine Ansicht.",
@@ -645,7 +612,6 @@ var de = {
645
612
  badLink: "Dieser Link ist besch\xE4digt oder kein pivotkit-Link.",
646
613
  file: "Die Datei konnte nicht gelesen werden."
647
614
  },
648
- filterIs: "Filter: {filter}",
649
615
  valueConditions: { compare: "{value} {op} {number}", between: "{value} zwischen {from} und {to}", notBetween: "{value} nicht zwischen {from} und {to}" },
650
616
  zoneInfo: {
651
617
  rows: "Zeilen gruppieren den Bericht nach einem Feld: Jeder Eintrag bekommt eine Zeile. Beispiel: Region in Zeilen listet Nord, S\xFCd und West untereinander.",
@@ -653,18 +619,9 @@ var de = {
653
619
  values: "Werte sind die Zahlen in den Zellen, summiert, gez\xE4hlt oder gemittelt f\xFCr jede Zeile und Spalte. Beispiel: Umsatz in Werte zeigt den Umsatz jeder Region.",
654
620
  filters: "Filter behalten nur einige Eintr\xE4ge eines Felds im ganzen Bericht, ohne Zeile oder Spalte daf\xFCr. Beispiel: Land in Filter mit nur Deutschland ausgew\xE4hlt."
655
621
  },
656
- expandNothing: "Nichts ist zugeklappt.",
657
- collapseNeedsRows: "Braucht zwei oder mehr Felder in Zeilen.",
658
- needsRowField: "Braucht ein Feld in Zeilen.",
659
- needsColField: "Braucht ein Feld in Spalten.",
660
- needsRowFields: "Braucht zwei oder mehr Felder in Zeilen.",
661
- needsColFields: "Braucht zwei oder mehr Felder in Spalten.",
662
622
  enlarge: "Vergr\xF6\xDFern",
663
623
  reduce: "Verkleinern",
664
- fullScreen: "Vollbild",
665
- collapseAllDone: "Alle Gruppen sind schon zugeklappt.",
666
- groupsCollapsed: { one: "{count} Gruppe zugeklappt", other: "{count} Gruppen zugeklappt" },
667
- groupsExpanded: { one: "{count} Gruppe aufgeklappt", other: "{count} Gruppen aufgeklappt" }
624
+ fullScreen: "Vollbild"
668
625
  };
669
626
  var LABELS = Object.freeze({ en, de });
670
627
  function messageOf(error) {