@updog/data-editor 0.1.64 → 0.1.66
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/index.css +1 -1
- package/index.d.ts +11 -1
- package/index.js +2235 -1822
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -437,7 +437,9 @@ declare var export_default = {
|
|
|
437
437
|
steps: {
|
|
438
438
|
selectFiles: "Select files",
|
|
439
439
|
headerSelection: "Header selection",
|
|
440
|
+
headerSelectionOf: "Header selection ({{current}} of {{total}})",
|
|
440
441
|
matchColumns: "Match columns",
|
|
442
|
+
matchColumnsOf: "Match columns ({{current}} of {{total}})",
|
|
441
443
|
matchValues: "Match values",
|
|
442
444
|
primaryKey: "Primary key",
|
|
443
445
|
},
|
|
@@ -462,6 +464,12 @@ declare var export_default = {
|
|
|
462
464
|
headerSelection: {
|
|
463
465
|
noHeaderLabel: "My data has no header row",
|
|
464
466
|
},
|
|
467
|
+
import: {
|
|
468
|
+
collapsedFiles_one:
|
|
469
|
+
"{{count}} file added no new rows. All of its rows are already in the table.",
|
|
470
|
+
collapsedFiles_other:
|
|
471
|
+
"{{count}} files added no new rows. All of their rows are already in the table.",
|
|
472
|
+
},
|
|
465
473
|
matchColumns: {
|
|
466
474
|
allMatched: "All columns are matched",
|
|
467
475
|
banner: "Some columns could not be automatically matched",
|
|
@@ -487,8 +495,9 @@ declare var export_default = {
|
|
|
487
495
|
"Unmatched columns won't be imported. Match this column to keep the data. You can transform columns after importing.",
|
|
488
496
|
},
|
|
489
497
|
sheetPreview: {
|
|
490
|
-
rowCount: "{{count}} rows",
|
|
491
498
|
emptySheet: "Empty sheet",
|
|
499
|
+
rowCount_one: "{{count}} row",
|
|
500
|
+
rowCount_other: "{{count}} rows",
|
|
492
501
|
},
|
|
493
502
|
matchValues: {
|
|
494
503
|
importedValues: "Imported values",
|
|
@@ -2909,6 +2918,7 @@ type DataSourceState = {
|
|
|
2909
2918
|
type UpsertResult<TRow extends DataEditorRow = DataEditorRow> = {
|
|
2910
2919
|
rows: TRow[];
|
|
2911
2920
|
rowIds: TRowId[];
|
|
2921
|
+
addedCount: number;
|
|
2912
2922
|
};
|
|
2913
2923
|
type ProcessingPhase = "idle" | "loading" | "processing";
|
|
2914
2924
|
type ProcessingCode = "pasting" | "clearing" | "filling" | "sorting" | "undoing" | "redoing" | "deleting" | "deletingSource" | "importing" | "transforming" | "reverting";
|