pivotkit-react 0.4.0 → 0.6.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 +267 -1
- package/README.md +5 -2
- package/dist/chunks/{chunk-YITKWZ4L.js → chunk-2RAVX4DO.js} +604 -505
- package/dist/chunks/{chunk-ZYEYZSYL.js → chunk-7LERNGUW.js} +36 -2
- package/dist/chunks/{chunk-EM23V5GH.js → chunk-E6M57YLL.js} +19 -8
- package/dist/chunks/{chunk-RWYHJRQO.js → chunk-JMRTIOX4.js} +17 -7
- package/dist/chunks/{chunk-XN55BQ4M.js → chunk-RIOSIYGC.js} +54 -7
- package/dist/chunks/{chunk-LEN5RPBM.js → chunk-TR2HROIK.js} +43 -7
- package/dist/chunks/chunk-W2KIPREL.js +36 -0
- package/dist/chunks/{chunk-6MDAL3IO.js → chunk-XN5HNKJ2.js} +88 -101
- package/dist/chunks/{chunk-WB4GKWFQ.js → chunk-YXLANLGL.js} +34 -6
- package/dist/chunks/report-run-BZBFOMPF.js +12 -0
- package/dist/chunks/{unused-texts-K3VFH65P.js → unused-texts-Y4R67XSN.js} +1 -1
- package/dist/chunks/{unused-texts-de-OW4TGIVX.js → unused-texts-de-6YVPTNVS.js} +1 -1
- package/dist/echarts.js +38 -156
- package/dist/import-ui.js +69 -168
- package/dist/index.js +160 -102
- package/dist/labels.js +6 -6
- package/dist/menu-texts-de.js +1 -1
- package/dist/menus.js +778 -277
- package/dist/styles.css +207 -93
- package/package.json +8 -4
- package/types/chart-decorate.d.ts +28 -4
- package/types/chart-types.d.ts +2 -4
- package/types/echarts.d.ts +1 -1
- package/types/export-run.d.ts +42 -4
- package/types/field-info.d.ts +3 -10
- package/types/filter.d.ts +1 -1
- package/types/icons.d.ts +1 -0
- package/types/import-host.d.ts +34 -8
- package/types/import-labels.d.ts +47 -0
- package/types/import-limits.d.ts +6 -0
- package/types/import-module.d.ts +1 -1
- package/types/import-steps.d.ts +8 -0
- package/types/import-ui.d.ts +18 -4
- package/types/index.d.ts +76 -17
- package/types/labels.d.ts +200 -24
- package/types/light-tokens.d.ts +16 -0
- package/types/menu-labels.d.ts +43 -14
- package/types/menu-ops.d.ts +166 -43
- package/types/menu-topics.d.ts +7 -4
- package/types/names.d.ts +47 -19
- package/types/place.d.ts +24 -0
- package/types/print-frame.d.ts +24 -0
- package/types/report-run.d.ts +14 -0
- package/types/share-actions.d.ts +17 -3
- package/types/share.d.ts +13 -17
- package/types/sheet-views.d.ts +60 -0
- package/types/templates.d.ts +21 -1
- package/types/theme.d.ts +2 -16
- package/types/tips.d.ts +5 -0
- package/types/toolbar-panels.d.ts +9 -6
- package/types/unused-texts.d.ts +13 -3
- package/types/use-export.d.ts +2 -2
- package/types/view-ops.d.ts +65 -6
- package/types/view-save.d.ts +10 -6
- package/types/view-store.d.ts +21 -11
- package/types/chart-layout.d.ts +0 -111
- package/types/import-source.d.ts +0 -32
package/types/labels.d.ts
CHANGED
|
@@ -122,24 +122,13 @@ export declare const en: {
|
|
|
122
122
|
};
|
|
123
123
|
derivedName: string;
|
|
124
124
|
unitInName: {
|
|
125
|
-
|
|
126
|
-
yearQuarter: string;
|
|
127
|
-
yearMonth: string;
|
|
128
|
-
yearWeek: string;
|
|
129
|
-
day: string;
|
|
130
|
-
quarter: string;
|
|
131
|
-
month: string;
|
|
132
|
-
week: string;
|
|
133
|
-
weekday: string;
|
|
134
|
-
hour: string;
|
|
135
|
-
bin: string;
|
|
125
|
+
[x: string]: string;
|
|
136
126
|
};
|
|
137
127
|
binsName: string;
|
|
138
128
|
top: string;
|
|
139
129
|
topBadge: string;
|
|
140
130
|
bottomBadge: string;
|
|
141
131
|
by: string;
|
|
142
|
-
filter: string;
|
|
143
132
|
filtered: string;
|
|
144
133
|
filterSummary: string;
|
|
145
134
|
/** a text the user typed or a name, quoted as the language quotes: a text condition, field names */
|
|
@@ -238,6 +227,7 @@ export declare const en: {
|
|
|
238
227
|
percentRunningTotal: string;
|
|
239
228
|
percentDifferenceFromPrevious: string;
|
|
240
229
|
};
|
|
230
|
+
colSubtotals: string;
|
|
241
231
|
chartOverTime: string;
|
|
242
232
|
pieSlices: string;
|
|
243
233
|
pieColumns: string;
|
|
@@ -260,6 +250,7 @@ export declare const en: {
|
|
|
260
250
|
saveTemplate: string;
|
|
261
251
|
bars: string;
|
|
262
252
|
auto: string;
|
|
253
|
+
colSubtotalsOff: string;
|
|
263
254
|
};
|
|
264
255
|
dismissTip: string;
|
|
265
256
|
tipsTitle: string;
|
|
@@ -318,8 +309,11 @@ export declare const en: {
|
|
|
318
309
|
contains: string;
|
|
319
310
|
notContains: string;
|
|
320
311
|
beginsWith: string;
|
|
312
|
+
notBeginsWith: string;
|
|
321
313
|
endsWith: string;
|
|
314
|
+
notEndsWith: string;
|
|
322
315
|
};
|
|
316
|
+
notRule: string;
|
|
323
317
|
relative: {
|
|
324
318
|
year: string;
|
|
325
319
|
years: string;
|
|
@@ -330,6 +324,100 @@ export declare const en: {
|
|
|
330
324
|
};
|
|
331
325
|
withRange: string;
|
|
332
326
|
relativeTo: string;
|
|
327
|
+
relativeMore: {
|
|
328
|
+
last: {
|
|
329
|
+
hour: {
|
|
330
|
+
one: string;
|
|
331
|
+
other: string;
|
|
332
|
+
};
|
|
333
|
+
day: {
|
|
334
|
+
one: string;
|
|
335
|
+
other: string;
|
|
336
|
+
};
|
|
337
|
+
week: {
|
|
338
|
+
one: string;
|
|
339
|
+
other: string;
|
|
340
|
+
};
|
|
341
|
+
month: {
|
|
342
|
+
one: string;
|
|
343
|
+
other: string;
|
|
344
|
+
};
|
|
345
|
+
quarter: {
|
|
346
|
+
one: string;
|
|
347
|
+
other: string;
|
|
348
|
+
};
|
|
349
|
+
year: {
|
|
350
|
+
one: string;
|
|
351
|
+
other: string;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
next: {
|
|
355
|
+
hour: {
|
|
356
|
+
one: string;
|
|
357
|
+
other: string;
|
|
358
|
+
};
|
|
359
|
+
day: {
|
|
360
|
+
one: string;
|
|
361
|
+
other: string;
|
|
362
|
+
};
|
|
363
|
+
week: {
|
|
364
|
+
one: string;
|
|
365
|
+
other: string;
|
|
366
|
+
};
|
|
367
|
+
month: {
|
|
368
|
+
one: string;
|
|
369
|
+
other: string;
|
|
370
|
+
};
|
|
371
|
+
quarter: {
|
|
372
|
+
one: string;
|
|
373
|
+
other: string;
|
|
374
|
+
};
|
|
375
|
+
year: {
|
|
376
|
+
one: string;
|
|
377
|
+
other: string;
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
before: {
|
|
381
|
+
hour: {
|
|
382
|
+
one: string;
|
|
383
|
+
other: string;
|
|
384
|
+
};
|
|
385
|
+
day: {
|
|
386
|
+
one: string;
|
|
387
|
+
other: string;
|
|
388
|
+
};
|
|
389
|
+
week: {
|
|
390
|
+
one: string;
|
|
391
|
+
other: string;
|
|
392
|
+
};
|
|
393
|
+
month: {
|
|
394
|
+
one: string;
|
|
395
|
+
other: string;
|
|
396
|
+
};
|
|
397
|
+
quarter: {
|
|
398
|
+
one: string;
|
|
399
|
+
other: string;
|
|
400
|
+
};
|
|
401
|
+
year: {
|
|
402
|
+
one: string;
|
|
403
|
+
other: string;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
this: {
|
|
407
|
+
hour: string;
|
|
408
|
+
day: string;
|
|
409
|
+
week: string;
|
|
410
|
+
month: string;
|
|
411
|
+
quarter: string;
|
|
412
|
+
year: string;
|
|
413
|
+
};
|
|
414
|
+
rolling: string;
|
|
415
|
+
withoutCurrent: string;
|
|
416
|
+
fromLatest: string;
|
|
417
|
+
fromFirst: string;
|
|
418
|
+
fromDate: string;
|
|
419
|
+
until: string;
|
|
420
|
+
};
|
|
333
421
|
withShare: string;
|
|
334
422
|
noData: {
|
|
335
423
|
one: string;
|
|
@@ -465,24 +553,13 @@ export declare const de: {
|
|
|
465
553
|
};
|
|
466
554
|
derivedName: string;
|
|
467
555
|
unitInName: {
|
|
468
|
-
|
|
469
|
-
yearQuarter: string;
|
|
470
|
-
yearMonth: string;
|
|
471
|
-
yearWeek: string;
|
|
472
|
-
day: string;
|
|
473
|
-
quarter: string;
|
|
474
|
-
month: string;
|
|
475
|
-
week: string;
|
|
476
|
-
weekday: string;
|
|
477
|
-
hour: string;
|
|
478
|
-
bin: string;
|
|
556
|
+
[x: string]: string;
|
|
479
557
|
};
|
|
480
558
|
binsName: string;
|
|
481
559
|
top: string;
|
|
482
560
|
topBadge: string;
|
|
483
561
|
bottomBadge: string;
|
|
484
562
|
by: string;
|
|
485
|
-
filter: string;
|
|
486
563
|
filtered: string;
|
|
487
564
|
filterSummary: string;
|
|
488
565
|
quote: string;
|
|
@@ -583,6 +660,7 @@ export declare const de: {
|
|
|
583
660
|
chartOverTime: string;
|
|
584
661
|
pieSlices: string;
|
|
585
662
|
pieColumns: string;
|
|
663
|
+
colSubtotals: string;
|
|
586
664
|
chartDates: string;
|
|
587
665
|
chartTrend: string;
|
|
588
666
|
chartSeries: string;
|
|
@@ -602,6 +680,7 @@ export declare const de: {
|
|
|
602
680
|
saveTemplate: string;
|
|
603
681
|
bars: string;
|
|
604
682
|
auto: string;
|
|
683
|
+
colSubtotalsOff: string;
|
|
605
684
|
};
|
|
606
685
|
dismissTip: string;
|
|
607
686
|
tipsTitle: string;
|
|
@@ -660,8 +739,11 @@ export declare const de: {
|
|
|
660
739
|
contains: string;
|
|
661
740
|
notContains: string;
|
|
662
741
|
beginsWith: string;
|
|
742
|
+
notBeginsWith: string;
|
|
663
743
|
endsWith: string;
|
|
744
|
+
notEndsWith: string;
|
|
664
745
|
};
|
|
746
|
+
notRule: string;
|
|
665
747
|
relative: {
|
|
666
748
|
year: string;
|
|
667
749
|
years: string;
|
|
@@ -672,6 +754,100 @@ export declare const de: {
|
|
|
672
754
|
};
|
|
673
755
|
withRange: string;
|
|
674
756
|
relativeTo: string;
|
|
757
|
+
relativeMore: {
|
|
758
|
+
last: {
|
|
759
|
+
hour: {
|
|
760
|
+
one: string;
|
|
761
|
+
other: string;
|
|
762
|
+
};
|
|
763
|
+
day: {
|
|
764
|
+
one: string;
|
|
765
|
+
other: string;
|
|
766
|
+
};
|
|
767
|
+
week: {
|
|
768
|
+
one: string;
|
|
769
|
+
other: string;
|
|
770
|
+
};
|
|
771
|
+
month: {
|
|
772
|
+
one: string;
|
|
773
|
+
other: string;
|
|
774
|
+
};
|
|
775
|
+
quarter: {
|
|
776
|
+
one: string;
|
|
777
|
+
other: string;
|
|
778
|
+
};
|
|
779
|
+
year: {
|
|
780
|
+
one: string;
|
|
781
|
+
other: string;
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
next: {
|
|
785
|
+
hour: {
|
|
786
|
+
one: string;
|
|
787
|
+
other: string;
|
|
788
|
+
};
|
|
789
|
+
day: {
|
|
790
|
+
one: string;
|
|
791
|
+
other: string;
|
|
792
|
+
};
|
|
793
|
+
week: {
|
|
794
|
+
one: string;
|
|
795
|
+
other: string;
|
|
796
|
+
};
|
|
797
|
+
month: {
|
|
798
|
+
one: string;
|
|
799
|
+
other: string;
|
|
800
|
+
};
|
|
801
|
+
quarter: {
|
|
802
|
+
one: string;
|
|
803
|
+
other: string;
|
|
804
|
+
};
|
|
805
|
+
year: {
|
|
806
|
+
one: string;
|
|
807
|
+
other: string;
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
before: {
|
|
811
|
+
hour: {
|
|
812
|
+
one: string;
|
|
813
|
+
other: string;
|
|
814
|
+
};
|
|
815
|
+
day: {
|
|
816
|
+
one: string;
|
|
817
|
+
other: string;
|
|
818
|
+
};
|
|
819
|
+
week: {
|
|
820
|
+
one: string;
|
|
821
|
+
other: string;
|
|
822
|
+
};
|
|
823
|
+
month: {
|
|
824
|
+
one: string;
|
|
825
|
+
other: string;
|
|
826
|
+
};
|
|
827
|
+
quarter: {
|
|
828
|
+
one: string;
|
|
829
|
+
other: string;
|
|
830
|
+
};
|
|
831
|
+
year: {
|
|
832
|
+
one: string;
|
|
833
|
+
other: string;
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
this: {
|
|
837
|
+
hour: string;
|
|
838
|
+
day: string;
|
|
839
|
+
week: string;
|
|
840
|
+
month: string;
|
|
841
|
+
quarter: string;
|
|
842
|
+
year: string;
|
|
843
|
+
};
|
|
844
|
+
rolling: string;
|
|
845
|
+
withoutCurrent: string;
|
|
846
|
+
fromLatest: string;
|
|
847
|
+
fromFirst: string;
|
|
848
|
+
fromDate: string;
|
|
849
|
+
until: string;
|
|
850
|
+
};
|
|
675
851
|
withShare: string;
|
|
676
852
|
noData: {
|
|
677
853
|
one: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tokens as the report's light theme resolves them, in either theme: a workbook and an HTML report are
|
|
3
|
+
* light (black text in Excel, paper), so a host's light colours go into them from a dark report too.
|
|
4
|
+
* A dark report shows the light theme for the read, on its root and, inside pivotkit-element, on the
|
|
5
|
+
* element whose :host rules declare the tokens, and the dark one again in the same task, so nothing is
|
|
6
|
+
* drawn in between; --pk-duration is 0ms meanwhile (on the root, important), so no transition of the
|
|
7
|
+
* report's starts on the way there or back. A host's dark rules on data-pk-theme="dark" are left out
|
|
8
|
+
* that way; rules on something else (an html[data-theme] of the page) apply in both. Lengths are
|
|
9
|
+
* resolved by the chart's module (chart-decorate.js, tokenLengths), passed in as `more`, read in the
|
|
10
|
+
* light theme too.
|
|
11
|
+
* @param {HTMLElement} root the report's root
|
|
12
|
+
* @param {readonly string[]} names
|
|
13
|
+
* @param {() => Record<string, string>} [more] further tokens read while the light theme shows
|
|
14
|
+
* @returns {Record<string, string>} the tokens that are set
|
|
15
|
+
*/
|
|
16
|
+
export declare function lightTokens(root: HTMLElement, names: readonly string[], more?: () => Record<string, string>): Record<string, string>;
|
package/types/menu-labels.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ export declare const en: {
|
|
|
11
11
|
showAs: string;
|
|
12
12
|
exportXlsx: string;
|
|
13
13
|
exportCsv: string;
|
|
14
|
+
exportHtml: string;
|
|
15
|
+
exportPrint: string;
|
|
16
|
+
exportDataCsv: string;
|
|
17
|
+
exportDataJson: string;
|
|
14
18
|
copyTable: string;
|
|
15
19
|
copyDataJson: string;
|
|
16
20
|
drillCopy: string;
|
|
@@ -124,31 +128,35 @@ export declare const en: {
|
|
|
124
128
|
quickTitle: string;
|
|
125
129
|
quickCount: {
|
|
126
130
|
year: string;
|
|
131
|
+
quarter: string;
|
|
127
132
|
month: string;
|
|
133
|
+
week: string;
|
|
128
134
|
day: string;
|
|
129
135
|
};
|
|
130
|
-
quickLast: {
|
|
131
|
-
year: {
|
|
132
|
-
one: string;
|
|
133
|
-
other: string;
|
|
134
|
-
};
|
|
135
|
-
month: {
|
|
136
|
-
one: string;
|
|
137
|
-
other: string;
|
|
138
|
-
};
|
|
139
|
-
day: {
|
|
140
|
-
one: string;
|
|
141
|
-
other: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
136
|
quickRows: string;
|
|
145
137
|
quickHidden: {
|
|
146
138
|
one: string;
|
|
147
139
|
other: string;
|
|
148
140
|
};
|
|
141
|
+
quickCurrent: {
|
|
142
|
+
year: string;
|
|
143
|
+
quarter: string;
|
|
144
|
+
month: string;
|
|
145
|
+
week: string;
|
|
146
|
+
day: string;
|
|
147
|
+
};
|
|
148
|
+
quickMore: string;
|
|
149
|
+
quickRolling: string;
|
|
150
|
+
quickUnitOf: string;
|
|
151
|
+
quickThisUnit: string;
|
|
149
152
|
anchorLabel: string;
|
|
150
153
|
anchorToday: string;
|
|
151
154
|
anchorLatest: string;
|
|
155
|
+
anchorFirst: string;
|
|
156
|
+
anchorDate: string;
|
|
157
|
+
anchorDay: string;
|
|
158
|
+
anchorDayIncomplete: string;
|
|
159
|
+
anchorUseLatest: string;
|
|
152
160
|
quickLine: string;
|
|
153
161
|
changeAbove: string;
|
|
154
162
|
yearsCombined: string;
|
|
@@ -230,7 +238,12 @@ export declare const en: {
|
|
|
230
238
|
};
|
|
231
239
|
};
|
|
232
240
|
ruleWhose: string;
|
|
241
|
+
ruleFixed: string;
|
|
233
242
|
blanksOut: string;
|
|
243
|
+
rulesBlanks: {
|
|
244
|
+
one: string;
|
|
245
|
+
other: string;
|
|
246
|
+
};
|
|
234
247
|
ruleUnit: string;
|
|
235
248
|
moveLeft: string;
|
|
236
249
|
moveRight: string;
|
|
@@ -248,6 +261,7 @@ export declare const en: {
|
|
|
248
261
|
storeTooLarge: string;
|
|
249
262
|
storeRefused: string;
|
|
250
263
|
storeChanged: string;
|
|
264
|
+
viewSheet: string;
|
|
251
265
|
toastSaved: string;
|
|
252
266
|
toastDeleted: string;
|
|
253
267
|
toastPublished: string;
|
|
@@ -339,6 +353,12 @@ export declare const en: {
|
|
|
339
353
|
topCount: string;
|
|
340
354
|
bottom: string;
|
|
341
355
|
topBy: string;
|
|
356
|
+
topTies: string;
|
|
357
|
+
topShown: {
|
|
358
|
+
one: string;
|
|
359
|
+
other: string;
|
|
360
|
+
};
|
|
361
|
+
topTiesGroups: string;
|
|
342
362
|
searchValues: string;
|
|
343
363
|
selectAll: string;
|
|
344
364
|
selectNone: string;
|
|
@@ -353,13 +373,21 @@ export declare const en: {
|
|
|
353
373
|
exportXlsx: string;
|
|
354
374
|
exportCsv: string;
|
|
355
375
|
exportPng: string;
|
|
376
|
+
exportSvg: string;
|
|
377
|
+
exportHtml: string;
|
|
378
|
+
exportPrintGroup: string;
|
|
379
|
+
exportPrint: string;
|
|
356
380
|
exportPngNeedsChart: string;
|
|
357
381
|
exportNeedsField: string;
|
|
382
|
+
exportDataGroup: string;
|
|
383
|
+
exportDataCsv: string;
|
|
384
|
+
exportDataJson: string;
|
|
358
385
|
copyTable: string;
|
|
359
386
|
copyDataJson: string;
|
|
360
387
|
toastTableCopied: string;
|
|
361
388
|
toastDataCopied: string;
|
|
362
389
|
toastCopyBlocked: string;
|
|
390
|
+
toastPrintBlocked: string;
|
|
363
391
|
drillTitle: string;
|
|
364
392
|
drillCount: {
|
|
365
393
|
one: string;
|
|
@@ -478,6 +506,7 @@ export declare const en: {
|
|
|
478
506
|
needsColField: string;
|
|
479
507
|
needsRowFields: string;
|
|
480
508
|
needsColFields: string;
|
|
509
|
+
needsValue: string;
|
|
481
510
|
expandNothing: string;
|
|
482
511
|
collapseNeedsRows: string;
|
|
483
512
|
collapseAllDone: string;
|