@ai-matrx/records-ui 0.115.81 → 0.115.83
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 +24 -2
- package/dist/helpers.d.cts +22 -0
- package/dist/helpers.d.ts +22 -0
- package/dist/index.cjs +2671 -2583
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.js +1485 -1397
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +42 -4
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +42 -4
- package/dist/pickers.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.115.83
|
|
4
|
+
### Unreleased
|
|
5
|
+
|
|
6
|
+
- Image attachments are drawn as thumbnails (grid: follows the row height; record page: larger) through the host's `fileImage`; the viewer still opens on click.
|
|
7
|
+
- The "Kept aside" panel names a kept person through the host's `members` roster, never their user id.
|
|
8
|
+
- New optional host port `navigate(href)`: the grid's open-record control and the record menu's Open / History move in-app instead of reloading.
|
|
9
|
+
Consumer action: bind `navigate` to the router's push in the host (`recordsUiHostFor`); unbound, behavior is unchanged.
|
|
10
|
+
|
|
3
11
|
## 0.115.81
|
|
4
12
|
|
|
5
|
-
|
|
6
|
-
|
|
13
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
14
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
15
|
+
Diff: `git diff ebc4f61cd1 b4d74a0e98 -- apps/shared/records-ui/src`
|
|
16
|
+
|
|
17
|
+
Changed shipped source files (1):
|
|
18
|
+
- `apps/shared/records-ui/src/ViewBar.tsx`
|
|
19
|
+
|
|
20
|
+
## 0.115.80
|
|
21
|
+
|
|
22
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
23
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
24
|
+
Diff: `git diff aa17cdaf9c ebc4f61cd1 -- apps/shared/records-ui/src`
|
|
25
|
+
|
|
26
|
+
Changed shipped source files (2):
|
|
27
|
+
- `apps/shared/records-ui/src/Condition.tsx`
|
|
28
|
+
- `apps/shared/records-ui/src/ViewFilter.tsx`
|
|
7
29
|
|
|
8
30
|
## 0.115.79
|
|
9
31
|
|
package/dist/helpers.d.cts
CHANGED
|
@@ -473,6 +473,12 @@ interface RecordsUiHost {
|
|
|
473
473
|
table: Table;
|
|
474
474
|
recordId: Uuid;
|
|
475
475
|
}) => string | undefined;
|
|
476
|
+
/**
|
|
477
|
+
* OPTIONAL. GO TO A PAGE OF THIS APP WITHOUT RELOADING IT (the router's push). Every "open" control that reaches a
|
|
478
|
+
* `hrefForRecord` page goes through it, so the grid's ⤢ is one client-side move instead of a full page load that
|
|
479
|
+
* drops the grid, its scroll and its selection. Unbound, the control assigns the location (a full load).
|
|
480
|
+
*/
|
|
481
|
+
navigate?: (href: string) => void;
|
|
476
482
|
/**
|
|
477
483
|
* OPTIONAL. WHERE A FILE OPENS. A value too big for one cell is kept as a file and the cell
|
|
478
484
|
* holds its first words (`@ai-matrx/records/core` `wholeValueOf`); this is the host's page for
|
|
@@ -775,6 +781,13 @@ interface RecordsUiHost {
|
|
|
775
781
|
* Never a Share button that opens nothing.
|
|
776
782
|
*/
|
|
777
783
|
share?: (subject: ShareSubject) => ReactNode;
|
|
784
|
+
/**
|
|
785
|
+
* OPTIONAL. SHARE ONE SAVED VIEW BY LINK (lane VIEW-LINK). The view menu's "Share view link…" hands the view to this
|
|
786
|
+
* port, which returns the host's own panel: make an Anyone link, copy it, see who made each, turn one off. The link
|
|
787
|
+
* is the platform's Anyone link on that one view, read-only, so the sharing rules stay the host's. Unbound, the
|
|
788
|
+
* menu has no such item (never an item that opens nothing).
|
|
789
|
+
*/
|
|
790
|
+
shareViewLink?: (subject: ViewLinkSubject) => ReactNode;
|
|
778
791
|
/**
|
|
779
792
|
* OPTIONAL. WHO CAN SEE AND EDIT ONE COLUMN (access-setup PLAN §12, Store Tables). The column header's
|
|
780
793
|
* "Who can see and edit…" item hands the column to this port, which returns the host's People involved
|
|
@@ -935,6 +948,15 @@ interface ShareSubject {
|
|
|
935
948
|
/** Close the dialog. The control owns the open/closed state, the host owns the dialog. */
|
|
936
949
|
onClose: () => void;
|
|
937
950
|
}
|
|
951
|
+
/** One saved view, handed to the host's "Share view link" panel. */
|
|
952
|
+
interface ViewLinkSubject {
|
|
953
|
+
viewId: Uuid;
|
|
954
|
+
tableId: Uuid;
|
|
955
|
+
/** The view's name as the menu shows it. */
|
|
956
|
+
name: string;
|
|
957
|
+
/** Close the panel. The menu owns open/closed, the host owns the panel. */
|
|
958
|
+
onClose: () => void;
|
|
959
|
+
}
|
|
938
960
|
/** One column, handed to the host's "Who can see and edit" panel. */
|
|
939
961
|
interface ColumnAccessSubject {
|
|
940
962
|
tableId: Uuid;
|
package/dist/helpers.d.ts
CHANGED
|
@@ -473,6 +473,12 @@ interface RecordsUiHost {
|
|
|
473
473
|
table: Table;
|
|
474
474
|
recordId: Uuid;
|
|
475
475
|
}) => string | undefined;
|
|
476
|
+
/**
|
|
477
|
+
* OPTIONAL. GO TO A PAGE OF THIS APP WITHOUT RELOADING IT (the router's push). Every "open" control that reaches a
|
|
478
|
+
* `hrefForRecord` page goes through it, so the grid's ⤢ is one client-side move instead of a full page load that
|
|
479
|
+
* drops the grid, its scroll and its selection. Unbound, the control assigns the location (a full load).
|
|
480
|
+
*/
|
|
481
|
+
navigate?: (href: string) => void;
|
|
476
482
|
/**
|
|
477
483
|
* OPTIONAL. WHERE A FILE OPENS. A value too big for one cell is kept as a file and the cell
|
|
478
484
|
* holds its first words (`@ai-matrx/records/core` `wholeValueOf`); this is the host's page for
|
|
@@ -775,6 +781,13 @@ interface RecordsUiHost {
|
|
|
775
781
|
* Never a Share button that opens nothing.
|
|
776
782
|
*/
|
|
777
783
|
share?: (subject: ShareSubject) => ReactNode;
|
|
784
|
+
/**
|
|
785
|
+
* OPTIONAL. SHARE ONE SAVED VIEW BY LINK (lane VIEW-LINK). The view menu's "Share view link…" hands the view to this
|
|
786
|
+
* port, which returns the host's own panel: make an Anyone link, copy it, see who made each, turn one off. The link
|
|
787
|
+
* is the platform's Anyone link on that one view, read-only, so the sharing rules stay the host's. Unbound, the
|
|
788
|
+
* menu has no such item (never an item that opens nothing).
|
|
789
|
+
*/
|
|
790
|
+
shareViewLink?: (subject: ViewLinkSubject) => ReactNode;
|
|
778
791
|
/**
|
|
779
792
|
* OPTIONAL. WHO CAN SEE AND EDIT ONE COLUMN (access-setup PLAN §12, Store Tables). The column header's
|
|
780
793
|
* "Who can see and edit…" item hands the column to this port, which returns the host's People involved
|
|
@@ -935,6 +948,15 @@ interface ShareSubject {
|
|
|
935
948
|
/** Close the dialog. The control owns the open/closed state, the host owns the dialog. */
|
|
936
949
|
onClose: () => void;
|
|
937
950
|
}
|
|
951
|
+
/** One saved view, handed to the host's "Share view link" panel. */
|
|
952
|
+
interface ViewLinkSubject {
|
|
953
|
+
viewId: Uuid;
|
|
954
|
+
tableId: Uuid;
|
|
955
|
+
/** The view's name as the menu shows it. */
|
|
956
|
+
name: string;
|
|
957
|
+
/** Close the panel. The menu owns open/closed, the host owns the panel. */
|
|
958
|
+
onClose: () => void;
|
|
959
|
+
}
|
|
938
960
|
/** One column, handed to the host's "Who can see and edit" panel. */
|
|
939
961
|
interface ColumnAccessSubject {
|
|
940
962
|
tableId: Uuid;
|