pivotkit-react 0.2.0 → 0.3.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.
- package/CHANGELOG.md +164 -1
- package/README.md +1 -1
- package/dist/chunks/{chunk-F6MVUAQD.js → chunk-32Z33U6S.js} +23 -0
- package/dist/chunks/{chunk-QBD4FOBB.js → chunk-7CC4JHDY.js} +123 -14
- package/dist/chunks/{chunk-LQCWFJBS.js → chunk-APB4NW4O.js} +146 -22
- package/dist/chunks/{chunk-53ZMK4BH.js → chunk-EM23V5GH.js} +6 -0
- package/dist/chunks/{chunk-X7H7BAVT.js → chunk-IOPAM4JD.js} +307 -179
- package/dist/chunks/{chunk-OYY4BKIL.js → chunk-RWYHJRQO.js} +6 -0
- package/dist/chunks/{unused-texts-YTNJCFFC.js → unused-texts-K3VFH65P.js} +1 -1
- package/dist/chunks/{unused-texts-de-SGOHV4N7.js → unused-texts-de-OW4TGIVX.js} +1 -1
- package/dist/index.js +58 -56
- package/dist/labels.js +5 -5
- package/dist/menu-texts-de.js +1 -1
- package/dist/menus.js +2429 -670
- package/dist/styles.css +557 -117
- package/package.json +2 -2
- package/types/chip-menus.d.ts +20 -4
- package/types/dnd.d.ts +8 -4
- package/types/filter-level.d.ts +16 -0
- package/types/filter.d.ts +31 -0
- package/types/help.d.ts +0 -7
- package/types/labels.d.ts +71 -0
- package/types/lazy-menus.d.ts +2 -2
- package/types/levels.d.ts +105 -0
- package/types/menu-fields.d.ts +80 -0
- package/types/menu-labels.d.ts +214 -19
- package/types/menu-ops.d.ts +150 -9
- package/types/menu-topics.d.ts +293 -0
- package/types/menus.d.ts +1 -1
- package/types/names.d.ts +141 -1
- package/types/place.d.ts +44 -0
- package/types/section.d.ts +8 -11
- package/types/tips.d.ts +1 -36
- package/types/toolbar-panels.d.ts +15 -8
- package/types/unused-texts.d.ts +6 -0
- package/types/use-view-history.d.ts +2 -1
- package/types/view-ops.d.ts +12 -0
- package/types/zones.d.ts +5 -4
- package/types/sections.d.ts +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MENU_TEXTS,
|
|
3
3
|
mergeLabels
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-32Z33U6S.js";
|
|
5
5
|
|
|
6
6
|
// src/menu-labels.js
|
|
7
7
|
var en = {
|
|
@@ -26,9 +26,144 @@ var en = {
|
|
|
26
26
|
newReport: "Takes every field out, to start over. Undo brings them back; saved views stay.",
|
|
27
27
|
valuesFilter: "Values are not filtered here: filter a field on Rows or Columns through its menu, or move a field to Filters."
|
|
28
28
|
},
|
|
29
|
+
// a menu in levels: the way back, a level's title, the search of a menu
|
|
30
|
+
back: "Back",
|
|
31
|
+
backTo: "Back to the menu of {name}",
|
|
32
|
+
levelTitle: "{name} \u203A {topic}",
|
|
33
|
+
searchMenu: "Search in the menu of {name}",
|
|
34
|
+
searchMenuShort: "Search in this menu (key /)",
|
|
35
|
+
searchResults: "Results",
|
|
36
|
+
searchNothing: "Nothing found. Try another word, or clear the search.",
|
|
37
|
+
// the topics of a field's menu and what they show when nothing is set
|
|
38
|
+
sortByValue: "Sort by value",
|
|
39
|
+
sortOldestShort: "Oldest",
|
|
40
|
+
sortNewestShort: "Newest",
|
|
41
|
+
filterTopic: "Filter",
|
|
42
|
+
filterAll: "All",
|
|
43
|
+
groupTopic: "Group",
|
|
44
|
+
groupNoneShort: "None",
|
|
45
|
+
off: "Off",
|
|
46
|
+
moveToTitle: "Move to",
|
|
47
|
+
topOwn: "Top N\u2026",
|
|
48
|
+
binsOff: "Remove ranges",
|
|
49
|
+
// the Filter level: how many items the list keeps, the condition on a value as a sentence
|
|
50
|
+
valueConditionTitle: "Condition on a value",
|
|
51
|
+
nameHint: "Applies with Enter or when you leave the field; Escape gives the name back.",
|
|
52
|
+
// more words the search of a menu finds an entry by
|
|
53
|
+
showAsKeywords: "percent % share",
|
|
54
|
+
nameKeywords: "rename label title",
|
|
55
|
+
filterKeywords: "values pick choose rule rules condition range dates",
|
|
56
|
+
formatDecimals: { one: "Number, {count} decimal", other: "Number, {count} decimals" },
|
|
57
|
+
// the Filter level: what it keeps in words, what its buttons take away, its folded part
|
|
58
|
+
listAnd: " and ",
|
|
59
|
+
// the Filter level's summary card: what shows, why not the rest, the rows and the data's dates
|
|
60
|
+
summaryAll: "All {total} {noun} shown",
|
|
61
|
+
summarySome: "{shown} of {total} {noun} shown",
|
|
62
|
+
summaryNone: "Nothing shown",
|
|
63
|
+
summaryOk: "Every item is picked, no rules.",
|
|
64
|
+
summaryKept: "Every item is picked; the rules keep them all.",
|
|
65
|
+
summaryQuickOnly: "Every item is picked; {quick}.",
|
|
66
|
+
summaryPicks: "{count} left out by your picks",
|
|
67
|
+
summaryQuick: "{count} outside {quick}",
|
|
68
|
+
// {items}: the items left out; the plural form goes by the number of rules
|
|
69
|
+
summaryRules: { one: "{items} left out by the rule", other: "{items} left out by the rules" },
|
|
70
|
+
summaryTotals: { one: "{items} left out by the rule on the total", other: "{items} left out by the rules on the totals" },
|
|
71
|
+
summaryRows: "{rows} of {total} rows",
|
|
72
|
+
summaryData: "data {range}",
|
|
73
|
+
yearsAll: "{years} combined",
|
|
74
|
+
yearsOne: "{year} only",
|
|
75
|
+
emptyPicks: "Nothing is picked.",
|
|
76
|
+
emptyRules: "No {noun} meets {rules}.",
|
|
77
|
+
emptyTotal: "No {noun} has a total {rule} \u2013 {spread}.",
|
|
78
|
+
totalSpread: "the totals go from {low} ({lowItem}) to {high} ({highItem})",
|
|
79
|
+
totalWords: "{measure} that {op} {number}",
|
|
80
|
+
totalWordsTwo: "{measure} that {op} {from} and {to}",
|
|
81
|
+
resetFilter: "Reset filter",
|
|
82
|
+
// the nouns of a field's items, by its grouping ("3 of 12 months shown")
|
|
83
|
+
nouns: {
|
|
84
|
+
item: { one: "item", other: "items" },
|
|
85
|
+
value: { one: "value", other: "values" },
|
|
86
|
+
date: { one: "date", other: "dates" },
|
|
87
|
+
year: { one: "year", other: "years" },
|
|
88
|
+
quarter: { one: "quarter", other: "quarters" },
|
|
89
|
+
month: { one: "month", other: "months" },
|
|
90
|
+
week: { one: "week", other: "weeks" },
|
|
91
|
+
day: { one: "day", other: "days" },
|
|
92
|
+
weekday: { one: "weekday", other: "weekdays" },
|
|
93
|
+
hour: { one: "hour", other: "hours" },
|
|
94
|
+
range: { one: "range", other: "ranges" }
|
|
95
|
+
},
|
|
96
|
+
// the Filter level of a date field: its quick choices ("Last [5] years" around the number typed),
|
|
97
|
+
// each with the data's share and the rows it keeps, the ones not offered, the reference date
|
|
98
|
+
quickTitle: "Quick choices",
|
|
99
|
+
quickCount: { year: "Number of years", month: "Number of months", day: "Number of days" },
|
|
100
|
+
quickLast: { year: { one: "Last {count} year", other: "Last {count} years" }, month: { one: "Last {count} month", other: "Last {count} months" }, day: { one: "Last {count} day", other: "Last {count} days" } },
|
|
101
|
+
quickRows: "{rows} rows",
|
|
102
|
+
quickHidden: { one: "{choices} is not offered: the data end {latest}.", other: "{choices} are not offered: the data end {latest}." },
|
|
103
|
+
anchorLabel: "Counted back from",
|
|
104
|
+
anchorToday: "today ({date})",
|
|
105
|
+
anchorLatest: "the latest record ({date})",
|
|
106
|
+
quickLine: "Quick choice: {text}",
|
|
107
|
+
changeAbove: "change it above",
|
|
108
|
+
// a cyclic grouping ("month of the year") combines the years: the ones ticked
|
|
109
|
+
yearsCombined: "Years combined",
|
|
110
|
+
yearsCombinedHint: "one {noun} over the years ticked",
|
|
111
|
+
yearsCombinedOne: "The table shows {year} only.",
|
|
112
|
+
// the foldable sections: the items to pick, the rules, with their state and what takes them off
|
|
113
|
+
pickItems: "Pick items",
|
|
114
|
+
picksState: "{picked} of {total} picked",
|
|
115
|
+
picksAll: "all {total} picked",
|
|
116
|
+
clear: "Clear",
|
|
117
|
+
clearPicks: "Clear picks",
|
|
118
|
+
rulesState: { one: "{count} rule", other: "{count} rules" },
|
|
119
|
+
rulesNoneState: "No rules",
|
|
120
|
+
removeAll: "Remove",
|
|
121
|
+
removeRules: "Remove the rules",
|
|
122
|
+
tailOut: { one: "Left out by the rules ({count}) \u2013 its tick applies again once they go", other: "Left out by the rules ({count}) \u2013 their ticks apply again once they go" },
|
|
123
|
+
rulesKeep: "Keep the {noun} for which all of these are true:",
|
|
124
|
+
rulesNone: "Keep the {noun} for which all of these are true. Add one below.",
|
|
125
|
+
ruleKeeps: "Keeps {kept} of {total} {noun}",
|
|
126
|
+
ruleKeepsNone: "Keeps 0 of {total} {noun} \u2013 {spread}.",
|
|
127
|
+
ruleIncomplete: "Applies once it is complete.",
|
|
128
|
+
explainRule: "Explain this rule",
|
|
129
|
+
// the "i" of a rule: what it compares, with an example
|
|
130
|
+
ruleInfo: {
|
|
131
|
+
number: "Compares the value itself, not its total. Example: \u201Cis between 20 and 25\u201D keeps the values from 20 to 25.",
|
|
132
|
+
date: "Compares each date by its calendar day. Example: \u201Cis before Mar 1, 2022\u201D keeps every day up to Feb 28, 2022.",
|
|
133
|
+
group: "Compares each {noun} by its place on the time line. Example: \u201Cis from 2022\u201D keeps 2022 and every later one.",
|
|
134
|
+
cyclic: "Compares each {noun} by its place in the year, over all the years combined. Example: \u201Cis from Jun\u201D keeps Jun to Dec.",
|
|
135
|
+
total: "The total is the {noun}\u2019s Grand Total \u2013 the {measure} over {scope}, as the Grand Total row shows it \u2013 not a single cell. Example: \u201Cis greater than 20\u201D keeps the {nouns} whose total is above 20.",
|
|
136
|
+
name: "Compares the name of each {noun} as the table writes it. Example: \u201Ccontains ar\u201D keeps Mar and March."
|
|
137
|
+
},
|
|
138
|
+
scopeItems: "all {count} {field} items",
|
|
139
|
+
scopeDates: "the dates {range}",
|
|
140
|
+
scopeRows: "every row",
|
|
141
|
+
// the searchable picker of a rule's item (a long list): its search, its matches
|
|
142
|
+
pickerSearch: "Search items",
|
|
143
|
+
pickerMatch: "{count} of {total} match",
|
|
144
|
+
pickerNone: "No match",
|
|
145
|
+
// the rules under "More ways to filter", all of them together: on the item, its total, its name
|
|
146
|
+
rulesTitle: "Rules",
|
|
147
|
+
ruleAnd: "and",
|
|
148
|
+
addRule: "Add a rule",
|
|
149
|
+
addRuleItem: "Compare {field}",
|
|
150
|
+
addRuleTotal: "Compare its total",
|
|
151
|
+
addRuleName: "Rule on the name",
|
|
152
|
+
removeRule: "Remove this rule",
|
|
153
|
+
rulesFull: "At most {max} rules per field.",
|
|
154
|
+
ruleName: "The name",
|
|
155
|
+
ruleValue: "Value",
|
|
156
|
+
ruleDate: "Date",
|
|
157
|
+
dateOps: { "=": "is", "!=": "is not", ">": "is after", ">=": "is from", "<": "is before", "<=": "is up to", between: "is between", notBetween: "is not between" },
|
|
158
|
+
lastOp: { one: "is in the last", other: "is in the last" },
|
|
159
|
+
ruleUnits: { year: { one: "year", other: "years" }, month: { one: "month", other: "months" }, day: { one: "day", other: "days" } },
|
|
160
|
+
// a rule on the total, as a sentence: "Product items whose / Count of Cycle / is greater than / 3"
|
|
161
|
+
ruleWhose: "{field} items whose total",
|
|
162
|
+
blanksOut: "Blank items are not kept.",
|
|
163
|
+
ruleUnit: "Unit",
|
|
29
164
|
moveLeft: "Move left",
|
|
30
165
|
moveRight: "Move right",
|
|
31
|
-
// the
|
|
166
|
+
// the last item of a chip menu: takes the field (or value) out of the report
|
|
32
167
|
remove: "Remove field",
|
|
33
168
|
// the hint of "Automatic" in the chart type menu: the type it draws for this view
|
|
34
169
|
chartAutoNow: "Now: {type}",
|
|
@@ -116,10 +251,9 @@ var en = {
|
|
|
116
251
|
rename: "Name",
|
|
117
252
|
sortOldest: "Oldest first",
|
|
118
253
|
sortNewest: "Newest first",
|
|
119
|
-
groupBy: "Group dates by",
|
|
120
254
|
groupNone: "No grouping (every date and time)",
|
|
121
255
|
groupTimeline: "Along the time line",
|
|
122
|
-
groupCyclic: "
|
|
256
|
+
groupCyclic: "Same period every year",
|
|
123
257
|
unitHints: {
|
|
124
258
|
year: "2025",
|
|
125
259
|
yearQuarter: "Q1 2025",
|
|
@@ -134,17 +268,13 @@ var en = {
|
|
|
134
268
|
bin: ""
|
|
135
269
|
},
|
|
136
270
|
bins: "Number ranges",
|
|
137
|
-
binsStart: "Group into ranges\u2026",
|
|
138
271
|
binsState: "Ranges of {size} from {start}",
|
|
139
272
|
binSize: "Range size",
|
|
140
273
|
binStart: "Starting at",
|
|
141
274
|
binStartFar: "Ranges from {start} cannot hold this field's values ({min} to {max}): every row would be blank. Pick a start closer to them.",
|
|
142
275
|
apply: "Apply",
|
|
143
|
-
//
|
|
144
|
-
change: "Change",
|
|
145
|
-
removeSetting: "Remove",
|
|
276
|
+
// the Top items level
|
|
146
277
|
topN: "Top items",
|
|
147
|
-
topStart: "Show top items\u2026",
|
|
148
278
|
topCount: "Count",
|
|
149
279
|
bottom: "Bottom",
|
|
150
280
|
topBy: "by",
|
|
@@ -188,10 +318,7 @@ var en = {
|
|
|
188
318
|
// the "i" of the settings, the zones and the field descriptions
|
|
189
319
|
showSettingInfo: "Show explanations",
|
|
190
320
|
resetTips: "Show dismissed tips again",
|
|
191
|
-
//
|
|
192
|
-
resetSections: "Reset menu sections",
|
|
193
|
-
resetSectionsDone: "Menu sections reset",
|
|
194
|
-
// read after a folded section's state when it is not the default (its dot)
|
|
321
|
+
// read after the state of a menu row when it is not the default (its dot)
|
|
195
322
|
sectionChanged: ", changed",
|
|
196
323
|
help: "Help",
|
|
197
324
|
shortcutsTitle: "Keyboard shortcuts",
|
|
@@ -221,7 +348,8 @@ var en = {
|
|
|
221
348
|
groupLabels: "Group labels under the axis",
|
|
222
349
|
groupLabelNames: { auto: "Automatic", on: "On", off: "Off" },
|
|
223
350
|
defaultName: "Use the default name",
|
|
224
|
-
// sharing a view (the Views menu)
|
|
351
|
+
// sharing a view (the Views menu): the group heading above the Share row, and the row
|
|
352
|
+
shareThisView: "Share this view",
|
|
225
353
|
share: "Share",
|
|
226
354
|
copyLink: "Copy link",
|
|
227
355
|
copyJson: "Copy view as JSON",
|
|
@@ -240,16 +368,15 @@ var en = {
|
|
|
240
368
|
switchStartsFresh: "Switching shows the other data with this view; Undo starts there.",
|
|
241
369
|
numberInvalid: "Enter a number, such as {example}.",
|
|
242
370
|
countInvalid: "Enter a whole number of 1 or more.",
|
|
371
|
+
countMax: "Enter a whole number up to {max}.",
|
|
243
372
|
sizeInvalid: "Enter a number above 0, such as {example}.",
|
|
244
|
-
chooseValues: "Choose values\u2026",
|
|
245
|
-
valueFilter: "Value condition\u2026",
|
|
246
373
|
valueFilterBy: "Value",
|
|
247
374
|
valueFilterOp: "Condition",
|
|
248
375
|
valueFilterNumber: "Number",
|
|
249
376
|
valueFilterTo: "and",
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
//
|
|
377
|
+
// a value condition as a sentence: "… whose Sum of Units is greater than 10"
|
|
378
|
+
valueOps: { "=": "is", "!=": "is not", ">": "is greater than", ">=": "is at least", "<": "is less than", "<=": "is at most", between: "is between", notBetween: "is not between" },
|
|
379
|
+
// the second group of a level's choices
|
|
253
380
|
moreFormats: "More formats",
|
|
254
381
|
// Options: the totals, and why one would change nothing; expand and collapse all, and what they did
|
|
255
382
|
totals: "Totals",
|
|
@@ -268,9 +395,6 @@ var en = {
|
|
|
268
395
|
groupsExpanded: { one: "{count} group expanded", other: "{count} groups expanded" },
|
|
269
396
|
// the chart type menu: how the chart is drawn
|
|
270
397
|
chartDisplay: "Display",
|
|
271
|
-
// the filter: its text conditions, and what a chip menu says it keeps
|
|
272
|
-
labelOps: { equals: "is", notEquals: "is not", contains: "contains", notContains: "does not contain", beginsWith: "begins with", endsWith: "ends with" },
|
|
273
|
-
filterIs: "Filter: {filter}",
|
|
274
398
|
// what sharing and the exports said (share-actions.js, export-run.js)
|
|
275
399
|
toastExported: "Exported {file}",
|
|
276
400
|
toastLinkCopied: "Link copied",
|
|
@@ -82,6 +82,12 @@ var en = {
|
|
|
82
82
|
filterCount: "Top needs a whole number from 1 to {max} - this filter is left out",
|
|
83
83
|
filterValue: "the condition needs a comparison and a number - this filter is left out",
|
|
84
84
|
filterValue2: "\u201C{value}\u201D needs a second number - this filter is left out",
|
|
85
|
+
filterCompareField: "only numbers and dates can be compared - this filter is left out",
|
|
86
|
+
filterCompareValue: "the comparison needs an operator and a number or a date (2022-03-01) that fits the field - this filter is left out",
|
|
87
|
+
filterRelativeField: "a range like \u201Clast 5 years\u201D needs a date field - this filter is left out",
|
|
88
|
+
filterRelativeUnit: "the unit \u201C{value}\u201D is unknown (years, months or days) - this filter is left out",
|
|
89
|
+
filterRelativeCount: "the range needs a whole number from 1 to {max} - this filter is left out",
|
|
90
|
+
filterRelativeAnchor: "the range can count back from \u201Ctoday\u201D or from \u201Clatest\u201D (the latest record), not from \u201C{value}\u201D - this filter is left out",
|
|
85
91
|
sortNoItems: "the custom order lists no items - the usual order is used",
|
|
86
92
|
sortedTwice: "the field is sorted twice - only its first sort is used",
|
|
87
93
|
badTotals: "the totals cannot be read - the usual totals are shown",
|