@ai-matrx/records-ui 0.115.77 → 0.115.78

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
@@ -3915,6 +3915,12 @@ interface ViewSwitcherProps {
3915
3915
  hideRefusedRowActions?: boolean | undefined;
3916
3916
  /** The grid's new-row line words (`GridProps.newRowLabel`). */
3917
3917
  newRowLabel?: string | undefined;
3918
+ /**
3919
+ * The values a new row starts with, from the host (Spaces: a view filtered to "This page's row" hands the
3920
+ * relation to that row, so a row added in the view stays in it). Every add path of every layout writes them
3921
+ * with the row; a path's own values (a board column's stage) win. Absent: a blank row, as always.
3922
+ */
3923
+ newRowValues?: Readonly<Record<string, unknown>> | undefined;
3918
3924
  className?: string | undefined;
3919
3925
  }
3920
3926
  /** The records this view holds: its Rule's members when it names one, the table otherwise. */
@@ -3946,7 +3952,8 @@ declare function useViewRecords(view: SavedViewSpec, pageSize?: number, filter?:
3946
3952
  */
3947
3953
  membership: string;
3948
3954
  };
3949
- declare function ViewSwitcher({ view, onLayoutChange, onViewChange, onOpenRecord, openRecordId, onCloseRecord, onRowsShown, onMoved, onNewRecordForm, onAskWhoChanged, pageSize: pageSizeAsked, titleField, filter, onClearFilter, chooser, viewId, onOrderPlaced, footer, embedded, sortOverride, searchOverride, onSearchChange, searchBox, hideRefusedRowActions, newRowLabel, className, }: ViewSwitcherProps): react.JSX.Element;
3955
+ /** One view of one table, in the layout it names; the host's preset values for a new row reach every add path. */
3956
+ declare function ViewSwitcher(props: ViewSwitcherProps): react.JSX.Element;
3950
3957
 
3951
3958
  /** The host app's saved zone (IANA). `null` / junk clears it: the device zone applies. */
3952
3959
  declare function setPersonTimeZone(next: string | null | undefined): void;
package/dist/index.d.ts CHANGED
@@ -3915,6 +3915,12 @@ interface ViewSwitcherProps {
3915
3915
  hideRefusedRowActions?: boolean | undefined;
3916
3916
  /** The grid's new-row line words (`GridProps.newRowLabel`). */
3917
3917
  newRowLabel?: string | undefined;
3918
+ /**
3919
+ * The values a new row starts with, from the host (Spaces: a view filtered to "This page's row" hands the
3920
+ * relation to that row, so a row added in the view stays in it). Every add path of every layout writes them
3921
+ * with the row; a path's own values (a board column's stage) win. Absent: a blank row, as always.
3922
+ */
3923
+ newRowValues?: Readonly<Record<string, unknown>> | undefined;
3918
3924
  className?: string | undefined;
3919
3925
  }
3920
3926
  /** The records this view holds: its Rule's members when it names one, the table otherwise. */
@@ -3946,7 +3952,8 @@ declare function useViewRecords(view: SavedViewSpec, pageSize?: number, filter?:
3946
3952
  */
3947
3953
  membership: string;
3948
3954
  };
3949
- declare function ViewSwitcher({ view, onLayoutChange, onViewChange, onOpenRecord, openRecordId, onCloseRecord, onRowsShown, onMoved, onNewRecordForm, onAskWhoChanged, pageSize: pageSizeAsked, titleField, filter, onClearFilter, chooser, viewId, onOrderPlaced, footer, embedded, sortOverride, searchOverride, onSearchChange, searchBox, hideRefusedRowActions, newRowLabel, className, }: ViewSwitcherProps): react.JSX.Element;
3955
+ /** One view of one table, in the layout it names; the host's preset values for a new row reach every add path. */
3956
+ declare function ViewSwitcher(props: ViewSwitcherProps): react.JSX.Element;
3950
3957
 
3951
3958
  /** The host app's saved zone (IANA). `null` / junk clears it: the device zone applies. */
3952
3959
  declare function setPersonTimeZone(next: string | null | undefined): void;