@updog/data-editor 0.1.34 → 0.1.36

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 (3) hide show
  1. package/index.d.ts +5 -6
  2. package/index.js +2984 -2962
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -487,8 +487,7 @@ declare var export_default = {
487
487
  text: "Review how imported values map to your column options. Adjust any mappings that need a different match.",
488
488
  importedValues: "Imported values",
489
489
  targetValue: "Target value",
490
- fullyMatched: "All matched",
491
- unmatchedCount: "{{matched}}/{{total}} matched",
490
+ unmatchedCount: "{{count}} unmatched",
492
491
  selectValuePlaceholder: "Select value",
493
492
  showMatched: "Show matched",
494
493
  allMatched: "All values are matched",
@@ -1111,11 +1110,11 @@ type ImportMappings = {
1111
1110
  /** Number format detected from the file contents. Affects how `"1.234,56"` vs `"1,234.56"` is read. */
1112
1111
  numberFormat: "EU" | "US";
1113
1112
  /**
1114
- * Per-column date disambiguation. Key = CSV header (not column ID).
1115
- * `"EU"` = day-first, `"US"` = month-first.
1116
- * Only includes columns where the format was ambiguous and had to be resolved.
1113
+ * Date order detected from the file's date columns. `"EU"` = day-first,
1114
+ * `"US"` = month-first. One verdict for the file, since date order follows
1115
+ * the source locale; ISO values are parsed regardless of this.
1117
1116
  */
1118
- dateFormats: Record<string, "EU" | "US">;
1117
+ dateFormat: "EU" | "US";
1119
1118
  /**
1120
1119
  * Columns the user created during import for unmatched headers.
1121
1120
  * These don't exist in your schema yet — you decide whether to persist them.