pivotkit-react 0.7.0 → 0.8.1
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.
- package/CHANGELOG.md +191 -1
- package/README.md +33 -15
- package/dist/chunks/{chunk-JMRTIOX4.js → chunk-2N2UGSIG.js} +7 -0
- package/dist/chunks/{chunk-XN5HNKJ2.js → chunk-3WWWKPB4.js} +98 -33
- package/dist/chunks/{chunk-ZK5RVCHP.js → chunk-6OWC6X5W.js} +1 -1
- package/dist/chunks/{chunk-YXLANLGL.js → chunk-GUSQWPTH.js} +56 -3
- package/dist/chunks/{chunk-E6M57YLL.js → chunk-MU5BTKSY.js} +7 -0
- package/dist/chunks/{chunk-4WZ5F2TJ.js → chunk-W2SVDHGN.js} +371 -32
- package/dist/chunks/{chunk-TR2HROIK.js → chunk-ZM45YU3W.js} +66 -5
- package/dist/chunks/{unused-texts-Y4R67XSN.js → unused-texts-LRYVWFFN.js} +1 -1
- package/dist/chunks/{unused-texts-de-6YVPTNVS.js → unused-texts-de-GB3IWWEM.js} +1 -1
- package/dist/echarts.js +426 -35
- package/dist/import-ui.js +2 -2
- package/dist/index.js +728 -393
- package/dist/labels.js +6 -6
- package/dist/menu-texts-de.js +1 -1
- package/dist/menus.js +1534 -1020
- package/dist/styles.css +292 -171
- package/package.json +3 -3
- package/types/PivotReport.d.ts +6 -0
- package/types/add-menu.d.ts +48 -0
- package/types/chart-colors.d.ts +8 -0
- package/types/chart-decorate.d.ts +66 -3
- package/types/chart-legend.d.ts +176 -0
- package/types/chart-summary.d.ts +8 -3
- package/types/chart-tooltip.d.ts +159 -17
- package/types/chart.d.ts +21 -3
- package/types/date-context.d.ts +30 -0
- package/types/drill-panel.d.ts +4 -2
- package/types/echarts.d.ts +7 -3
- package/types/export-run.d.ts +7 -14
- package/types/export-scope.d.ts +13 -2
- package/types/field-info.d.ts +12 -0
- package/types/files.d.ts +14 -0
- package/types/filter.d.ts +18 -0
- package/types/group-context.d.ts +20 -0
- package/types/index.d.ts +35 -6
- package/types/label-room.d.ts +13 -0
- package/types/labels.d.ts +85 -16
- package/types/lazy-menus.d.ts +2 -2
- package/types/levels.d.ts +16 -7
- package/types/menu-labels.d.ts +67 -1
- package/types/menu-ops.d.ts +10 -0
- package/types/menu-topics.d.ts +110 -21
- package/types/menus.d.ts +2 -1
- package/types/names.d.ts +32 -3
- package/types/overflow.d.ts +18 -30
- package/types/rove.d.ts +10 -0
- package/types/toolbar-panels.d.ts +34 -10
- package/types/unused-texts.d.ts +7 -0
- package/types/use-big-result.d.ts +24 -9
- package/types/use-export.d.ts +2 -2
- package/types/view-ops.d.ts +19 -8
- package/types/view-tabs.d.ts +12 -0
- package/types/zones.d.ts +41 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MENU_TEXTS,
|
|
3
3
|
mergeLabels
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3WWWKPB4.js";
|
|
5
5
|
|
|
6
6
|
// src/menu-labels.js
|
|
7
7
|
var en = {
|
|
@@ -25,6 +25,10 @@ var en = {
|
|
|
25
25
|
drillCopy: "The rows as the panel shows them, with a header row: tab-separated, pastes into Excel or Google Sheets as columns.",
|
|
26
26
|
drillJson: "The rows as JSON objects, with the data's field names and raw values, for a program.",
|
|
27
27
|
groupLabels: "With two or more fields in Rows: the outer field's items written once under the axis, below their categories.",
|
|
28
|
+
chartColors: "A switch shows or hides each series or slice. The colour beside it fixes its colour by name, in the view and in every chart that shows that name.",
|
|
29
|
+
tooltip: "Automatic: a bar, segment or point shows only itself. Between them, every series shows. Stacked sums and counts also show the total. All series: always every series of that category.",
|
|
30
|
+
stackPercent: "Each stack fills the axis; each part shows its share. Value labels show the share too. Only for sums and counts. A stack with parts below zero does not fill the axis, and one that adds up to nothing is left out.",
|
|
31
|
+
zoom: "A slider under the axis shows a part of the categories. Automatic: with more than 20 categories, or when the axis would leave out 3 names or more between two. It cannot be moved by keyboard yet: Off shows every category. Files and prints show every category.",
|
|
28
32
|
labelPosition: "Outside: each slice's name and number next to it. Inside: the number on the slice, the names in the legend; outside when a donut's ring is too thin for it.",
|
|
29
33
|
sharedView: "Only admins can change shared views.",
|
|
30
34
|
valuesFilter: "Values are not filtered here: filter a field on Rows or Columns through its menu, or move a field to Filters."
|
|
@@ -37,6 +41,10 @@ var en = {
|
|
|
37
41
|
searchMenuShort: "Search in this menu (key /)",
|
|
38
42
|
searchResults: "Results",
|
|
39
43
|
searchNothing: "Nothing found. Try another word, or clear the search.",
|
|
44
|
+
// the menu of "+ Add" in a zone: a field there already, one that moves, a second value
|
|
45
|
+
addAlready: "Already in {zone}.",
|
|
46
|
+
addMoves: "Moves it from {zone}.",
|
|
47
|
+
addSecond: "Adds a second value of it.",
|
|
40
48
|
// the topics of a field's menu and what they show when nothing is set
|
|
41
49
|
sortByValue: "Sort by value",
|
|
42
50
|
sortOldestShort: "Oldest",
|
|
@@ -273,8 +281,10 @@ var en = {
|
|
|
273
281
|
sortOldest: "Oldest first",
|
|
274
282
|
sortNewest: "Newest first",
|
|
275
283
|
groupNone: "No grouping (every date and time)",
|
|
276
|
-
groupTimeline: "
|
|
277
|
-
groupCyclic: "Same period
|
|
284
|
+
groupTimeline: "One item per period",
|
|
285
|
+
groupCyclic: "Same period, years combined",
|
|
286
|
+
groupDataRange: { one: "Data before filters: {range} ({count} day)", other: "Data before filters: {range} ({count} days)" },
|
|
287
|
+
groupYearsTogether: { one: "{count} year together", other: "{count} years together" },
|
|
278
288
|
unitHints: {
|
|
279
289
|
year: "2025",
|
|
280
290
|
yearQuarter: "Q1 2025",
|
|
@@ -324,10 +334,16 @@ var en = {
|
|
|
324
334
|
exportPrint: "Print or save as PDF\u2026",
|
|
325
335
|
exportPngNeedsChart: "Switch to Chart first.",
|
|
326
336
|
exportNeedsField: "Add a field first.",
|
|
337
|
+
exportNeedsRows: "The data has no rows yet.",
|
|
327
338
|
exportDataGroup: "Source data",
|
|
328
339
|
exportDataCsv: "All rows as CSV (.csv)",
|
|
329
340
|
exportDataJson: "All rows as JSON (.json)",
|
|
330
341
|
copyTable: "Copy table",
|
|
342
|
+
copyChart: "Copy chart image",
|
|
343
|
+
toastChartCopied: "Chart copied as an image",
|
|
344
|
+
toastImageCopyBlocked: "This page does not allow copying the image.",
|
|
345
|
+
toastChartNotDrawn: "The chart is not drawn yet. Try again in a moment.",
|
|
346
|
+
downloadPng: "Download PNG",
|
|
331
347
|
copyDataJson: "Copy data as JSON",
|
|
332
348
|
toastTableCopied: "Table copied: tab-separated, pastes into Excel or Google Sheets as columns",
|
|
333
349
|
toastDataCopied: "Data copied as JSON",
|
|
@@ -354,6 +370,8 @@ var en = {
|
|
|
354
370
|
// read after the state of a menu row when it is not the default (its dot)
|
|
355
371
|
sectionChanged: ", changed",
|
|
356
372
|
help: "Help",
|
|
373
|
+
// More's first entry: it opens Help
|
|
374
|
+
helpAndShortcuts: "Help and keyboard shortcuts",
|
|
357
375
|
shortcutsTitle: "Keyboard shortcuts",
|
|
358
376
|
// the keys of the shortcuts; "Mod" is Ctrl, or ⌘ on a Mac
|
|
359
377
|
keys: { Mod: "Ctrl", Shift: "Shift", "Arrow keys": "Arrow keys", Enter: "Enter", Space: "Space", Escape: "Escape", F10: "F10" },
|
|
@@ -374,12 +392,47 @@ var en = {
|
|
|
374
392
|
chartTitle: "Title",
|
|
375
393
|
chartTitleNone: "No title",
|
|
376
394
|
smoothLines: "Smooth lines",
|
|
395
|
+
// the chart's reference lines (Average, Trend and Target are pivotkit-core's words, labels.core)
|
|
396
|
+
referenceLines: "Reference lines",
|
|
397
|
+
targetNone: "No target",
|
|
398
|
+
// the Reference lines row when none is on
|
|
399
|
+
linesOff: "Off",
|
|
400
|
+
targetPercent: "A percentage: type 25% or 0.25.",
|
|
401
|
+
targetPercent100: "A percentage: type 25 or 25%.",
|
|
402
|
+
// a bare number above 1 for a value shown as a share: {typed} as typed, {shown} what it means
|
|
403
|
+
targetPercentHigh: "{typed} is {shown}. Type {typed}% for {share}.",
|
|
404
|
+
targetRemove: "Remove the target",
|
|
405
|
+
// why a reference line is not offered (pivotkit-core's referenceLineRules notes)
|
|
406
|
+
linesNotes: {
|
|
407
|
+
noTotal: "These lines need a total. Switch to Bars, not stacked, to draw them.",
|
|
408
|
+
negative: "A stack with values below zero has no single total, so it gets no average and no trend.",
|
|
409
|
+
percentStack: "Every stack to 100 % is the same height, so it gets no lines.",
|
|
410
|
+
noTime: "A trend needs dates on Rows, in date order.",
|
|
411
|
+
byIndex: "Some categories have no date, so the trend counts them as evenly spaced.",
|
|
412
|
+
mixedUnits: "The values have different units, so one target does not fit them.",
|
|
413
|
+
table: "The lines show here once the chart is drawn."
|
|
414
|
+
},
|
|
377
415
|
labelPosition: "Labels",
|
|
378
416
|
labelPositionNames: { outside: "Outside", inside: "Inside" },
|
|
379
417
|
axisLabels: "Axis labels",
|
|
380
418
|
axisLabelNames: { auto: "Automatic", all: "All (slanted)", nth: "Every n-th" },
|
|
381
419
|
groupLabels: "Group labels under the axis",
|
|
382
420
|
groupLabelNames: { auto: "Automatic", on: "On", off: "Off" },
|
|
421
|
+
tooltip: "Tooltip",
|
|
422
|
+
tooltipNames: { auto: "Automatic", axis: "All series" },
|
|
423
|
+
zoom: "Zoom slider",
|
|
424
|
+
zoomNames: { auto: "Automatic", on: "On", off: "Off" },
|
|
425
|
+
stackPercent: "Stacked to 100 %",
|
|
426
|
+
shownSeries: "Series",
|
|
427
|
+
seriesShownOf: "{shown} of {count} shown",
|
|
428
|
+
chartAxis: "Axis",
|
|
429
|
+
chartLayout: "Layout",
|
|
430
|
+
tooltipShare: "Share in the tooltip",
|
|
431
|
+
colorOf: "Colour of {name}",
|
|
432
|
+
colorDefault: "Default",
|
|
433
|
+
colorRemove: "Remove",
|
|
434
|
+
colorsNotShown: "Colours of names not shown",
|
|
435
|
+
seriesOnly: "The only series is always shown",
|
|
383
436
|
defaultName: "Use the default name",
|
|
384
437
|
// sharing a view (the Views menu): the group's title
|
|
385
438
|
shareThisView: "Share this view",
|
|
@@ -426,8 +479,16 @@ var en = {
|
|
|
426
479
|
collapseAllDone: "Every group is collapsed already.",
|
|
427
480
|
groupsCollapsed: { one: "{count} group collapsed", other: "{count} groups collapsed" },
|
|
428
481
|
groupsExpanded: { one: "{count} group expanded", other: "{count} groups expanded" },
|
|
429
|
-
//
|
|
430
|
-
|
|
482
|
+
// Expand all and Collapse all in Chart settings › Layout, named by the fields of Rows (the table's
|
|
483
|
+
// Collapse all shows chartShowOnly as its hint); the plain words with one field in Rows
|
|
484
|
+
chartShowEach: "Show each {field}",
|
|
485
|
+
chartShowOnly: "Show {field} only",
|
|
486
|
+
chartShowDetails: "Show details",
|
|
487
|
+
chartShowTotals: "Show group totals only",
|
|
488
|
+
// Layout's row: how the groups of Rows show now
|
|
489
|
+
chartFoldEach: "Each {field}",
|
|
490
|
+
chartFoldOnly: "{field} only",
|
|
491
|
+
chartFoldSome: "Some groups collapsed",
|
|
431
492
|
// what sharing and the exports said (share-actions.js, export-run.js)
|
|
432
493
|
toastExported: "Exported {file}",
|
|
433
494
|
toastLinkCopied: "Link copied",
|