@ai-matrx/records-ui 0.115.78 → 0.115.79
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 +13 -1
- package/dist/index.cjs +124 -54
- 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 +481 -411
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +64 -35
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +97 -68
- package/dist/pickers.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -4302,6 +4302,11 @@ interface ViewBarProps {
|
|
|
4302
4302
|
settings?: ReactNode | undefined;
|
|
4303
4303
|
/** Every time the list is read: the views, or null when they could not be read. */
|
|
4304
4304
|
onViews?: ((views: SavedView[] | null) => void) | undefined;
|
|
4305
|
+
/**
|
|
4306
|
+
* "Copy settings from…" wrote another view's settings onto this view. The person's own look on it (which
|
|
4307
|
+
* outranks the saved view on screen) is the host's to let go, or the copy is saved yet never seen.
|
|
4308
|
+
*/
|
|
4309
|
+
onSettingsCopied?: ((viewId: Uuid$1) => void) | undefined;
|
|
4305
4310
|
/**
|
|
4306
4311
|
* THE LIST ALREADY READ (lane SSR-ROWS): the page's seed answered the views, already satisfying
|
|
4307
4312
|
* `seed`. The bar starts from them and does not read them again on mount.
|
|
@@ -4316,7 +4321,7 @@ interface ViewBarProps {
|
|
|
4316
4321
|
*/
|
|
4317
4322
|
declare const SAVED_VIEWS_UNAVAILABLE: string;
|
|
4318
4323
|
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;
|
|
4324
|
+
declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, onSettingsCopied, initialViews, className }: ViewBarProps): react.JSX.Element;
|
|
4320
4325
|
|
|
4321
4326
|
/** One proposed change, in the proposer's words plus the exact act it asks for. */
|
|
4322
4327
|
interface ProposedChange {
|
package/dist/index.d.ts
CHANGED
|
@@ -4302,6 +4302,11 @@ interface ViewBarProps {
|
|
|
4302
4302
|
settings?: ReactNode | undefined;
|
|
4303
4303
|
/** Every time the list is read: the views, or null when they could not be read. */
|
|
4304
4304
|
onViews?: ((views: SavedView[] | null) => void) | undefined;
|
|
4305
|
+
/**
|
|
4306
|
+
* "Copy settings from…" wrote another view's settings onto this view. The person's own look on it (which
|
|
4307
|
+
* outranks the saved view on screen) is the host's to let go, or the copy is saved yet never seen.
|
|
4308
|
+
*/
|
|
4309
|
+
onSettingsCopied?: ((viewId: Uuid$1) => void) | undefined;
|
|
4305
4310
|
/**
|
|
4306
4311
|
* THE LIST ALREADY READ (lane SSR-ROWS): the page's seed answered the views, already satisfying
|
|
4307
4312
|
* `seed`. The bar starts from them and does not read them again on mount.
|
|
@@ -4316,7 +4321,7 @@ interface ViewBarProps {
|
|
|
4316
4321
|
*/
|
|
4317
4322
|
declare const SAVED_VIEWS_UNAVAILABLE: string;
|
|
4318
4323
|
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;
|
|
4324
|
+
declare function ViewBar({ tableId, activeViewId, onActiveView, seed, settings, onViews, onSettingsCopied, initialViews, className }: ViewBarProps): react.JSX.Element;
|
|
4320
4325
|
|
|
4321
4326
|
/** One proposed change, in the proposer's words plus the exact act it asks for. */
|
|
4322
4327
|
interface ProposedChange {
|