@updog/data-editor 0.1.61 → 0.1.63

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 +10 -6
  3. package/index.js +5673 -4544
  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
  },
@@ -498,10 +495,13 @@ declare var export_default = {
498
495
  matchedCount: "{{matched}}/{{total}} matched",
499
496
  targetValue: "Target value",
500
497
  selectValuePlaceholder: "Select value",
498
+ showAll: "Show all",
501
499
  showMatched: "Show matched",
502
500
  allMatched: "All values are matched",
501
+ tooManyValues: "Showing first {{shown}} of {{total}} values",
503
502
  unmatchedWarning:
504
503
  "Unmatched values won't be imported. Match this value to keep the data. You can edit values after importing.",
504
+ createAllOptions: "Create all options",
505
505
  createOption: "Create option",
506
506
  createOptionTitle: "Create option",
507
507
  createOptionNameLabel: "Option name",
@@ -527,9 +527,10 @@ declare var export_default = {
527
527
  common: {
528
528
  cancel: "Cancel",
529
529
  collapse: "Collapse",
530
- dropToImport: "Drop file to import",
530
+ dropToImport: "Drop file to upload",
531
531
  expand: "Expand",
532
532
  remove: "Remove",
533
+ save: "Save",
533
534
  search: "Search",
534
535
  },
535
536
  },
@@ -2086,6 +2087,7 @@ declare class SnapshotManager {
2086
2087
  private _visibleErrorCount;
2087
2088
  private _visibleEmptyCount;
2088
2089
  private _visibleMisplacedCount;
2090
+ private _everHadMisplaced;
2089
2091
  private _countsDirty;
2090
2092
  private _filteredDirtyCount;
2091
2093
  private _filteredNewCount;
@@ -2931,6 +2933,8 @@ type DataStoreSnapshot = {
2931
2933
  filteredEmptyRowCount: number;
2932
2934
  /** Visible non-deleted rows with a cell flagged as misplaced after ragged-row realignment. */
2933
2935
  misplacedRowCount: number;
2936
+ /** Sticky: true once misplaced values appeared this session; never resets until the DataStore is torn down. Gates the "misplaced values" filter checkbox. */
2937
+ everHadMisplacedRows: boolean;
2934
2938
  /** Cells currently awaiting an async validation verdict. */
2935
2939
  pendingValidationCount: number;
2936
2940
  /** True while any async check is queued or in flight — drives submit gating. */