@ai-matrx/records-ui 0.103.6 → 0.103.7
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 +6 -0
- package/dist/index.cjs +6848 -6702
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +5709 -5563
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +408 -353
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +369 -314
- package/dist/pickers.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -305,6 +305,8 @@ type GridPresentation = {
|
|
|
305
305
|
* organization that freezes the first column — an empty `frozen` cannot say that.
|
|
306
306
|
*/
|
|
307
307
|
wrap?: boolean;
|
|
308
|
+
/** NOTION'S "WRAP COLUMN" (N5): the columns that wrap their text when the view as a whole does not. */
|
|
309
|
+
wrapColumns?: string[];
|
|
308
310
|
fit?: "auto" | "fit" | "scroll";
|
|
309
311
|
freezeFirst?: boolean;
|
|
310
312
|
/**
|
|
@@ -2145,10 +2147,6 @@ enrich?: {
|
|
|
2145
2147
|
onPin?: ((recordId: Uuid, fieldKey: string, pinned: boolean) => void | Promise<void>) | undefined;
|
|
2146
2148
|
}): MatrxColumnDef<ReadRow$1>;
|
|
2147
2149
|
|
|
2148
|
-
/**
|
|
2149
|
-
* WHAT A TABLE WITH NO COLUMNS SAYS. Named here because the gate asserts on it:
|
|
2150
|
-
* the state it describes is what a first-time person met for two days.
|
|
2151
|
-
*/
|
|
2152
2150
|
declare const NO_COLUMNS_YET = "This table has no columns yet";
|
|
2153
2151
|
/**
|
|
2154
2152
|
* THE OPEN VIEW'S ORDER (lane GRID-MANUAL). A saved view is ordered by its sort OR by hand, never
|
|
@@ -2865,11 +2863,18 @@ type FieldEditorProps = FieldEditorCommon & ({
|
|
|
2865
2863
|
entityToken?: undefined;
|
|
2866
2864
|
/** The Field being edited. Absent means a new one. */
|
|
2867
2865
|
field?: Field | undefined;
|
|
2866
|
+
/**
|
|
2867
|
+
* DUPLICATE PROPERTY (Notion N5): a NEW column that starts as a copy of this one — its kind,
|
|
2868
|
+
* choices and colours, unit, link, formula and rules — named "<name> (1)". Ignored when
|
|
2869
|
+
* `field` is given.
|
|
2870
|
+
*/
|
|
2871
|
+
copyOf?: Field | undefined;
|
|
2868
2872
|
} | {
|
|
2869
2873
|
/** The standard table's registry token (REC-33), e.g. `party`, `crm_deal`. */
|
|
2870
2874
|
entityToken: string;
|
|
2871
2875
|
tableId?: undefined;
|
|
2872
2876
|
field?: undefined;
|
|
2877
|
+
copyOf?: undefined;
|
|
2873
2878
|
});
|
|
2874
2879
|
declare function FieldEditor(props: FieldEditorProps): react.JSX.Element | null;
|
|
2875
2880
|
declare function whatIsMissing(state: {
|
package/dist/index.d.ts
CHANGED
|
@@ -305,6 +305,8 @@ type GridPresentation = {
|
|
|
305
305
|
* organization that freezes the first column — an empty `frozen` cannot say that.
|
|
306
306
|
*/
|
|
307
307
|
wrap?: boolean;
|
|
308
|
+
/** NOTION'S "WRAP COLUMN" (N5): the columns that wrap their text when the view as a whole does not. */
|
|
309
|
+
wrapColumns?: string[];
|
|
308
310
|
fit?: "auto" | "fit" | "scroll";
|
|
309
311
|
freezeFirst?: boolean;
|
|
310
312
|
/**
|
|
@@ -2145,10 +2147,6 @@ enrich?: {
|
|
|
2145
2147
|
onPin?: ((recordId: Uuid, fieldKey: string, pinned: boolean) => void | Promise<void>) | undefined;
|
|
2146
2148
|
}): MatrxColumnDef<ReadRow$1>;
|
|
2147
2149
|
|
|
2148
|
-
/**
|
|
2149
|
-
* WHAT A TABLE WITH NO COLUMNS SAYS. Named here because the gate asserts on it:
|
|
2150
|
-
* the state it describes is what a first-time person met for two days.
|
|
2151
|
-
*/
|
|
2152
2150
|
declare const NO_COLUMNS_YET = "This table has no columns yet";
|
|
2153
2151
|
/**
|
|
2154
2152
|
* THE OPEN VIEW'S ORDER (lane GRID-MANUAL). A saved view is ordered by its sort OR by hand, never
|
|
@@ -2865,11 +2863,18 @@ type FieldEditorProps = FieldEditorCommon & ({
|
|
|
2865
2863
|
entityToken?: undefined;
|
|
2866
2864
|
/** The Field being edited. Absent means a new one. */
|
|
2867
2865
|
field?: Field | undefined;
|
|
2866
|
+
/**
|
|
2867
|
+
* DUPLICATE PROPERTY (Notion N5): a NEW column that starts as a copy of this one — its kind,
|
|
2868
|
+
* choices and colours, unit, link, formula and rules — named "<name> (1)". Ignored when
|
|
2869
|
+
* `field` is given.
|
|
2870
|
+
*/
|
|
2871
|
+
copyOf?: Field | undefined;
|
|
2868
2872
|
} | {
|
|
2869
2873
|
/** The standard table's registry token (REC-33), e.g. `party`, `crm_deal`. */
|
|
2870
2874
|
entityToken: string;
|
|
2871
2875
|
tableId?: undefined;
|
|
2872
2876
|
field?: undefined;
|
|
2877
|
+
copyOf?: undefined;
|
|
2873
2878
|
});
|
|
2874
2879
|
declare function FieldEditor(props: FieldEditorProps): react.JSX.Element | null;
|
|
2875
2880
|
declare function whatIsMissing(state: {
|