@ai-matrx/records-ui 0.115.61 → 0.115.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.
package/dist/index.d.cts CHANGED
@@ -2440,13 +2440,19 @@ interface SaveToTableProps {
2440
2440
  onSaved?: ((tableId: Uuid$1, how: "new" | "existing") => void) | undefined;
2441
2441
  /** The person is finished (the report's Done). */
2442
2442
  onClose?: (() => void) | undefined;
2443
+ /**
2444
+ * "Turn into a table" — ONE click: make the new table at once with the proposed name and column
2445
+ * types (no form first), then show the result with Open. The screen stays the full one for a
2446
+ * person who wants to change it next time; this only presses "Make the table" for them.
2447
+ */
2448
+ makeAtOnce?: boolean | undefined;
2443
2449
  className?: string | undefined;
2444
2450
  }
2445
2451
  /** The types a NEW table's column is offered here — the ones a text value can honestly be. */
2446
2452
  declare const SAVE_TO_TABLE_TYPES: readonly GuessedFieldType[];
2447
2453
  /** The shapes a source holds, top to bottom. */
2448
2454
  declare function shapesOfSource(source: SaveToTableSource): TableShape[];
2449
- declare function SaveToTable({ source, shapeIndex, onOpenTable, onSaved, onClose, className }: SaveToTableProps): react.JSX.Element;
2455
+ declare function SaveToTable({ source, shapeIndex, onOpenTable, onSaved, onClose, makeAtOnce, className }: SaveToTableProps): react.JSX.Element;
2450
2456
 
2451
2457
  interface CustomFieldsSectionProps {
2452
2458
  /** The standard table's registered token (REC-33), e.g. `party`, `crm_deal`. */
package/dist/index.d.ts CHANGED
@@ -2440,13 +2440,19 @@ interface SaveToTableProps {
2440
2440
  onSaved?: ((tableId: Uuid$1, how: "new" | "existing") => void) | undefined;
2441
2441
  /** The person is finished (the report's Done). */
2442
2442
  onClose?: (() => void) | undefined;
2443
+ /**
2444
+ * "Turn into a table" — ONE click: make the new table at once with the proposed name and column
2445
+ * types (no form first), then show the result with Open. The screen stays the full one for a
2446
+ * person who wants to change it next time; this only presses "Make the table" for them.
2447
+ */
2448
+ makeAtOnce?: boolean | undefined;
2443
2449
  className?: string | undefined;
2444
2450
  }
2445
2451
  /** The types a NEW table's column is offered here — the ones a text value can honestly be. */
2446
2452
  declare const SAVE_TO_TABLE_TYPES: readonly GuessedFieldType[];
2447
2453
  /** The shapes a source holds, top to bottom. */
2448
2454
  declare function shapesOfSource(source: SaveToTableSource): TableShape[];
2449
- declare function SaveToTable({ source, shapeIndex, onOpenTable, onSaved, onClose, className }: SaveToTableProps): react.JSX.Element;
2455
+ declare function SaveToTable({ source, shapeIndex, onOpenTable, onSaved, onClose, makeAtOnce, className }: SaveToTableProps): react.JSX.Element;
2450
2456
 
2451
2457
  interface CustomFieldsSectionProps {
2452
2458
  /** The standard table's registered token (REC-33), e.g. `party`, `crm_deal`. */