@ai-matrx/records-ui 0.116.14 → 0.116.16
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 +25 -1
- package/dist/{SaveToTable-QZCRFD5Q.js → SaveToTable-54FVMGKL.js} +3 -3
- package/dist/{chunk-NE72B4OK.js → chunk-QVTYE4XU.js} +39 -17
- package/dist/chunk-QVTYE4XU.js.map +1 -0
- package/dist/{chunk-RQL7QRGR.js → chunk-TF3JYYJN.js} +1 -1
- package/dist/chunk-TF3JYYJN.js.map +1 -0
- package/dist/{chunk-6WDNTT2G.js → chunk-WETGQ7P3.js} +66 -10
- package/dist/chunk-WETGQ7P3.js.map +1 -0
- package/dist/{chunk-HUPBD4JF.js → chunk-YIGEIVU7.js} +2 -2
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +10 -1
- package/dist/helpers.d.ts +10 -1
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +2834 -2683
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -9
- package/dist/index.d.ts +40 -9
- package/dist/index.js +2523 -2422
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +34 -11
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/dist/skeleton.cjs +64 -8
- package/dist/skeleton.cjs.map +1 -1
- package/dist/skeleton.d.cts +48 -1
- package/dist/skeleton.d.ts +48 -1
- package/dist/skeleton.js +25 -1
- package/package.json +5 -5
- package/dist/chunk-6WDNTT2G.js.map +0 -1
- package/dist/chunk-NE72B4OK.js.map +0 -1
- package/dist/chunk-RQL7QRGR.js.map +0 -1
- /package/dist/{SaveToTable-QZCRFD5Q.js.map → SaveToTable-54FVMGKL.js.map} +0 -0
- /package/dist/{chunk-HUPBD4JF.js.map → chunk-YIGEIVU7.js.map} +0 -0
package/dist/helpers.d.cts
CHANGED
|
@@ -619,6 +619,15 @@ interface RecordsUiHost {
|
|
|
619
619
|
* drops the grid, its scroll and its selection. Unbound, the control assigns the location (a full load).
|
|
620
620
|
*/
|
|
621
621
|
navigate?: (href: string) => void;
|
|
622
|
+
/**
|
|
623
|
+
* OPTIONAL. OPEN ONE RECORD WHERE THE HOST OPENS A RECORD, not at its page. A button that adds a row opens the
|
|
624
|
+
* row it made through this port first: a host whose rows open in a peek or a panel of its own (a page of
|
|
625
|
+
* Spaces) keeps the person where they are. Unbound, the press uses `hrefForRecord` + `navigate` as before.
|
|
626
|
+
*/
|
|
627
|
+
openRecord?: (args: {
|
|
628
|
+
table: Table;
|
|
629
|
+
recordId: Uuid;
|
|
630
|
+
}) => void;
|
|
622
631
|
/**
|
|
623
632
|
* OPTIONAL. WHERE A FILE OPENS. A value too big for one cell is kept as a file and the cell
|
|
624
633
|
* holds its first words (`@ai-matrx/records/core` `wholeValueOf`); this is the host's page for
|
|
@@ -1661,7 +1670,7 @@ declare function laneFor(table: Table): TableLane;
|
|
|
1661
1670
|
*/
|
|
1662
1671
|
declare function bodyFieldOf(fields: readonly Field[]): Field | undefined;
|
|
1663
1672
|
|
|
1664
|
-
declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "
|
|
1673
|
+
declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "groupField" | "mapField" | "sorts" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField">>>>>;
|
|
1665
1674
|
|
|
1666
1675
|
declare const viewFromRow: (row: _ai_matrx_records.SavedViewRow) => base.SavedView<GridPresentation>;
|
|
1667
1676
|
|
package/dist/helpers.d.ts
CHANGED
|
@@ -619,6 +619,15 @@ interface RecordsUiHost {
|
|
|
619
619
|
* drops the grid, its scroll and its selection. Unbound, the control assigns the location (a full load).
|
|
620
620
|
*/
|
|
621
621
|
navigate?: (href: string) => void;
|
|
622
|
+
/**
|
|
623
|
+
* OPTIONAL. OPEN ONE RECORD WHERE THE HOST OPENS A RECORD, not at its page. A button that adds a row opens the
|
|
624
|
+
* row it made through this port first: a host whose rows open in a peek or a panel of its own (a page of
|
|
625
|
+
* Spaces) keeps the person where they are. Unbound, the press uses `hrefForRecord` + `navigate` as before.
|
|
626
|
+
*/
|
|
627
|
+
openRecord?: (args: {
|
|
628
|
+
table: Table;
|
|
629
|
+
recordId: Uuid;
|
|
630
|
+
}) => void;
|
|
622
631
|
/**
|
|
623
632
|
* OPTIONAL. WHERE A FILE OPENS. A value too big for one cell is kept as a file and the cell
|
|
624
633
|
* holds its first words (`@ai-matrx/records/core` `wholeValueOf`); this is the host's page for
|
|
@@ -1661,7 +1670,7 @@ declare function laneFor(table: Table): TableLane;
|
|
|
1661
1670
|
*/
|
|
1662
1671
|
declare function bodyFieldOf(fields: readonly Field[]): Field | undefined;
|
|
1663
1672
|
|
|
1664
|
-
declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "
|
|
1673
|
+
declare const readLooks: (client: Pick<_ai_matrx_records_core.RecordsClient, "viewLookRead">, tableId: _ai_matrx_records.Uuid) => Promise<_ai_matrx_records.RecordsResult<Record<string, Partial<Pick<base.SavedViewSpec<GridPresentation>, "presentation" | "layout" | "measure" | "where" | "groupField" | "mapField" | "sorts" | "swimlaneField" | "collapsedColumns" | "dateField" | "startField" | "endField" | "imageField" | "mapLngField" | "parentField">>>>>;
|
|
1665
1674
|
|
|
1666
1675
|
declare const viewFromRow: (row: _ai_matrx_records.SavedViewRow) => base.SavedView<GridPresentation>;
|
|
1667
1676
|
|