@ai-matrx/records-ui 0.115.78 → 0.115.80

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
@@ -2839,6 +2839,14 @@ interface ConditionField {
2839
2839
  * store compares.
2840
2840
  */
2841
2841
  field?: Field;
2842
+ /**
2843
+ * Set when this entry is a field of the table a relation column POINTS AT (lane NOTION-Q): `id` is
2844
+ * `<relation field id>><field id>` and `via` names the relation. Offered only by a view's filter.
2845
+ */
2846
+ via?: {
2847
+ id: string;
2848
+ fieldId: string;
2849
+ } | undefined;
2842
2850
  }
2843
2851
  interface ConditionRowProps {
2844
2852
  /** The words before the row: "Ask only when", "When". */
@@ -4302,6 +4310,11 @@ interface ViewBarProps {
4302
4310
  settings?: ReactNode | undefined;
4303
4311
  /** Every time the list is read: the views, or null when they could not be read. */
4304
4312
  onViews?: ((views: SavedView[] | null) => void) | undefined;
4313
+ /**
4314
+ * "Copy settings from…" wrote another view's settings onto this view. The person's own look on it (which
4315
+ * outranks the saved view on screen) is the host's to let go, or the copy is saved yet never seen.
4316
+ */
4317
+ onSettingsCopied?: ((viewId: Uuid$1) => void) | undefined;
4305
4318
  /**
4306
4319
  * THE LIST ALREADY READ (lane SSR-ROWS): the page's seed answered the views, already satisfying
4307
4320
  * `seed`. The bar starts from them and does not read them again on mount.
@@ -4316,7 +4329,7 @@ interface ViewBarProps {
4316
4329
  */
4317
4330
  declare const SAVED_VIEWS_UNAVAILABLE: string;
4318
4331
  declare function seedIsSatisfied(seed: SavedViewSpec, views: readonly SavedView[]): boolean;
4319
- declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, initialViews, className }: ViewBarProps): react.JSX.Element;
4332
+ declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, onSettingsCopied, initialViews, className }: ViewBarProps): react.JSX.Element;
4320
4333
 
4321
4334
  /** One proposed change, in the proposer's words plus the exact act it asks for. */
4322
4335
  interface ProposedChange {
package/dist/index.d.ts CHANGED
@@ -2839,6 +2839,14 @@ interface ConditionField {
2839
2839
  * store compares.
2840
2840
  */
2841
2841
  field?: Field;
2842
+ /**
2843
+ * Set when this entry is a field of the table a relation column POINTS AT (lane NOTION-Q): `id` is
2844
+ * `<relation field id>><field id>` and `via` names the relation. Offered only by a view's filter.
2845
+ */
2846
+ via?: {
2847
+ id: string;
2848
+ fieldId: string;
2849
+ } | undefined;
2842
2850
  }
2843
2851
  interface ConditionRowProps {
2844
2852
  /** The words before the row: "Ask only when", "When". */
@@ -4302,6 +4310,11 @@ interface ViewBarProps {
4302
4310
  settings?: ReactNode | undefined;
4303
4311
  /** Every time the list is read: the views, or null when they could not be read. */
4304
4312
  onViews?: ((views: SavedView[] | null) => void) | undefined;
4313
+ /**
4314
+ * "Copy settings from…" wrote another view's settings onto this view. The person's own look on it (which
4315
+ * outranks the saved view on screen) is the host's to let go, or the copy is saved yet never seen.
4316
+ */
4317
+ onSettingsCopied?: ((viewId: Uuid$1) => void) | undefined;
4305
4318
  /**
4306
4319
  * THE LIST ALREADY READ (lane SSR-ROWS): the page's seed answered the views, already satisfying
4307
4320
  * `seed`. The bar starts from them and does not read them again on mount.
@@ -4316,7 +4329,7 @@ interface ViewBarProps {
4316
4329
  */
4317
4330
  declare const SAVED_VIEWS_UNAVAILABLE: string;
4318
4331
  declare function seedIsSatisfied(seed: SavedViewSpec, views: readonly SavedView[]): boolean;
4319
- declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, initialViews, className }: ViewBarProps): react.JSX.Element;
4332
+ declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, onSettingsCopied, initialViews, className }: ViewBarProps): react.JSX.Element;
4320
4333
 
4321
4334
  /** One proposed change, in the proposer's words plus the exact act it asks for. */
4322
4335
  interface ProposedChange {