@updog/data-editor 0.1.60 → 0.1.62

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 (4) hide show
  1. package/index.css +1 -1
  2. package/index.d.ts +8 -6
  3. package/index.js +5143 -4425
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -103,9 +103,6 @@ declare var export_default = {
103
103
  segment: {
104
104
  segmentControl: "Segment control",
105
105
  },
106
- stepper: {
107
- progress: "Progress",
108
- },
109
106
  },
110
107
  dataEditor: {
111
108
  modal: {
@@ -439,7 +436,6 @@ declare var export_default = {
439
436
  uploader: {
440
437
  steps: {
441
438
  selectFiles: "Select files",
442
- sheetSelection: "Select sheet",
443
439
  headerSelection: "Header selection",
444
440
  matchColumns: "Match columns",
445
441
  matchValues: "Match values",
@@ -455,6 +451,7 @@ declare var export_default = {
455
451
  "{{count}} rows had formatting issues (rows {{rows}})",
456
452
  downloadExample: "Download sample file",
457
453
  fileTooLarge: "The file is too large to process",
454
+ reset: "Reset",
458
455
  uploading: "Uploading file",
459
456
  },
460
457
  remoteSources: {
@@ -489,7 +486,7 @@ declare var export_default = {
489
486
  unmatchedWarning:
490
487
  "Unmatched columns won't be imported. Match this column to keep the data. You can transform columns after importing.",
491
488
  },
492
- sheetSelection: {
489
+ sheetPreview: {
493
490
  rowCount: "{{count}} rows",
494
491
  emptySheet: "Empty sheet",
495
492
  },
@@ -500,6 +497,7 @@ declare var export_default = {
500
497
  selectValuePlaceholder: "Select value",
501
498
  showMatched: "Show matched",
502
499
  allMatched: "All values are matched",
500
+ tooManyValues: "Showing first {{shown}} of {{total}} values",
503
501
  unmatchedWarning:
504
502
  "Unmatched values won't be imported. Match this value to keep the data. You can edit values after importing.",
505
503
  createOption: "Create option",
@@ -527,7 +525,7 @@ declare var export_default = {
527
525
  common: {
528
526
  cancel: "Cancel",
529
527
  collapse: "Collapse",
530
- dropToImport: "Drop file to import",
528
+ dropToImport: "Drop file to upload",
531
529
  expand: "Expand",
532
530
  remove: "Remove",
533
531
  search: "Search",
@@ -2086,6 +2084,7 @@ declare class SnapshotManager {
2086
2084
  private _visibleErrorCount;
2087
2085
  private _visibleEmptyCount;
2088
2086
  private _visibleMisplacedCount;
2087
+ private _everHadMisplaced;
2089
2088
  private _countsDirty;
2090
2089
  private _filteredDirtyCount;
2091
2090
  private _filteredNewCount;
@@ -2931,6 +2930,8 @@ type DataStoreSnapshot = {
2931
2930
  filteredEmptyRowCount: number;
2932
2931
  /** Visible non-deleted rows with a cell flagged as misplaced after ragged-row realignment. */
2933
2932
  misplacedRowCount: number;
2933
+ /** Sticky: true once misplaced values appeared this session; never resets until the DataStore is torn down. Gates the "misplaced values" filter checkbox. */
2934
+ everHadMisplacedRows: boolean;
2934
2935
  /** Cells currently awaiting an async validation verdict. */
2935
2936
  pendingValidationCount: number;
2936
2937
  /** True while any async check is queued or in flight — drives submit gating. */
@@ -2942,6 +2943,7 @@ type DataStoreSnapshot = {
2942
2943
  /** Details about the in-progress operation. Null when phase is "idle". */
2943
2944
  processing: ProcessingInfo | null;
2944
2945
  sources: DataSourceState[];
2946
+ hasBaselineData: boolean;
2945
2947
  canUndo: boolean;
2946
2948
  canRedo: boolean;
2947
2949
  /** Increments on undo/redo to force canvas grid re-render */