@ai-matrx/records-ui 0.107.5 → 0.109.1
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/CHANGELOG.md +26 -0
- package/dist/first-page.cjs +435 -0
- package/dist/first-page.cjs.map +1 -0
- package/dist/first-page.d.cts +320 -0
- package/dist/first-page.d.ts +320 -0
- package/dist/first-page.js +429 -0
- package/dist/first-page.js.map +1 -0
- package/dist/index.cjs +842 -797
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +629 -586
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +1 -0
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -3
- package/dist/pickers.js.map +1 -1
- package/package.json +30 -5
package/dist/index.d.cts
CHANGED
|
@@ -4382,6 +4382,11 @@ interface ViewBarProps {
|
|
|
4382
4382
|
settings?: ReactNode | undefined;
|
|
4383
4383
|
/** Every time the list is read: the views, or null when they could not be read. */
|
|
4384
4384
|
onViews?: ((views: SavedView[] | null) => void) | undefined;
|
|
4385
|
+
/**
|
|
4386
|
+
* THE LIST ALREADY READ (lane SSR-ROWS): the page's seed answered the views, already satisfying
|
|
4387
|
+
* `seed`. The bar starts from them and does not read them again on mount.
|
|
4388
|
+
*/
|
|
4389
|
+
initialViews?: SavedView[] | undefined;
|
|
4385
4390
|
className?: string | undefined;
|
|
4386
4391
|
}
|
|
4387
4392
|
/**
|
|
@@ -4395,7 +4400,7 @@ declare const SAVED_VIEWS_UNAVAILABLE: string;
|
|
|
4395
4400
|
* is also satisfied by any view the table already marks as its default, whatever it is called.
|
|
4396
4401
|
*/
|
|
4397
4402
|
declare function seedIsSatisfied(seed: SavedViewSpec, views: readonly SavedView[]): boolean;
|
|
4398
|
-
declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, className }: ViewBarProps): react.JSX.Element;
|
|
4403
|
+
declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, initialViews, className }: ViewBarProps): react.JSX.Element;
|
|
4399
4404
|
|
|
4400
4405
|
/** One proposed change, in the proposer's words plus the exact act it asks for. */
|
|
4401
4406
|
interface ProposedChange {
|
package/dist/index.d.ts
CHANGED
|
@@ -4382,6 +4382,11 @@ interface ViewBarProps {
|
|
|
4382
4382
|
settings?: ReactNode | undefined;
|
|
4383
4383
|
/** Every time the list is read: the views, or null when they could not be read. */
|
|
4384
4384
|
onViews?: ((views: SavedView[] | null) => void) | undefined;
|
|
4385
|
+
/**
|
|
4386
|
+
* THE LIST ALREADY READ (lane SSR-ROWS): the page's seed answered the views, already satisfying
|
|
4387
|
+
* `seed`. The bar starts from them and does not read them again on mount.
|
|
4388
|
+
*/
|
|
4389
|
+
initialViews?: SavedView[] | undefined;
|
|
4385
4390
|
className?: string | undefined;
|
|
4386
4391
|
}
|
|
4387
4392
|
/**
|
|
@@ -4395,7 +4400,7 @@ declare const SAVED_VIEWS_UNAVAILABLE: string;
|
|
|
4395
4400
|
* is also satisfied by any view the table already marks as its default, whatever it is called.
|
|
4396
4401
|
*/
|
|
4397
4402
|
declare function seedIsSatisfied(seed: SavedViewSpec, views: readonly SavedView[]): boolean;
|
|
4398
|
-
declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, className }: ViewBarProps): react.JSX.Element;
|
|
4403
|
+
declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, initialViews, className }: ViewBarProps): react.JSX.Element;
|
|
4399
4404
|
|
|
4400
4405
|
/** One proposed change, in the proposer's words plus the exact act it asks for. */
|
|
4401
4406
|
interface ProposedChange {
|