@ai-matrx/design-system 0.42.1 → 0.44.0
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 +32 -0
- package/dist/content-transfer.cjs +39 -0
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.js +39 -0
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/copy-helpers.d.cts +1 -1
- package/dist/data-table/copy-helpers.d.ts +1 -1
- package/dist/data-table/data-row-inspector.cjs +39 -0
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +41 -2
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +39 -0
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +43 -4
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/filter-engine.d.cts +1 -1
- package/dist/data-table/filter-engine.d.ts +1 -1
- package/dist/data-table/host.d.cts +1 -1
- package/dist/data-table/host.d.ts +1 -1
- package/dist/data-table/index.cjs +114 -3
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.d.cts +2 -2
- package/dist/data-table/index.d.ts +2 -2
- package/dist/data-table/index.js +151 -40
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/infer-filter.d.cts +1 -1
- package/dist/data-table/infer-filter.d.ts +1 -1
- package/dist/data-table/layered-filters.d.cts +1 -1
- package/dist/data-table/layered-filters.d.ts +1 -1
- package/dist/data-table/query-control.d.cts +1 -1
- package/dist/data-table/query-control.d.ts +1 -1
- package/dist/data-table/spreadsheet.cjs +68 -1
- package/dist/data-table/spreadsheet.cjs.map +1 -1
- package/dist/data-table/spreadsheet.d.cts +55 -1
- package/dist/data-table/spreadsheet.d.ts +55 -1
- package/dist/data-table/spreadsheet.js +68 -1
- package/dist/data-table/spreadsheet.js.map +1 -1
- package/dist/data-table/types.cjs.map +1 -1
- package/dist/data-table/types.d.cts +1 -1
- package/dist/data-table/types.d.ts +1 -1
- package/dist/data-table/url-state.d.cts +1 -1
- package/dist/data-table/url-state.d.ts +1 -1
- package/dist/data-table/xlsx.d.cts +1 -1
- package/dist/data-table/xlsx.d.ts +1 -1
- package/dist/index.cjs +43 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +48 -5
- package/dist/index.js.map +1 -1
- package/dist/{types-afUz93xo.d.ts → types-CUR8Hbt5.d.ts} +12 -0
- package/dist/{types-q5ficDSo.d.cts → types-CqU57qk8.d.cts} +12 -0
- package/package.json +1 -1
|
@@ -1212,6 +1212,18 @@ interface MatrxDataTableSpreadsheetConfig<T> {
|
|
|
1212
1212
|
readOnlyReason?: string | undefined;
|
|
1213
1213
|
/** Column ids a patch may target. Defaults to every column marked `editable`. */
|
|
1214
1214
|
writableColumnIds?: string[] | undefined;
|
|
1215
|
+
/**
|
|
1216
|
+
* TYPE-TO-EDIT FOR A CONSUMER THAT DRAWS ITS OWN CELL EDITORS. The table opens its own editor
|
|
1217
|
+
* for a column marked `editable`; a consumer whose cells carry their own editor (a record grid
|
|
1218
|
+
* whose cell IS the Field's editor) is asked here instead, with the cell the person is on and
|
|
1219
|
+
* what they typed — `seed` is the text (a letter, an IME composition, an Option/AltGr
|
|
1220
|
+
* character, dictation), `null` for Enter/F2. Return true when an editor opened, so the
|
|
1221
|
+
* keystroke is consumed. Never asked on a `readOnly` grid.
|
|
1222
|
+
*/
|
|
1223
|
+
onEditRequest?: ((address: {
|
|
1224
|
+
rowId: string;
|
|
1225
|
+
columnId: string;
|
|
1226
|
+
}, seed: string | null) => boolean) | undefined;
|
|
1215
1227
|
/** Why a column refuses a write, as a sentence a person can act on. */
|
|
1216
1228
|
columnRefusal?: ((columnId: string) => string | undefined) | undefined;
|
|
1217
1229
|
/** Reads a cell for copy and fill. Defaults to the column's own accessor. */
|
|
@@ -1212,6 +1212,18 @@ interface MatrxDataTableSpreadsheetConfig<T> {
|
|
|
1212
1212
|
readOnlyReason?: string | undefined;
|
|
1213
1213
|
/** Column ids a patch may target. Defaults to every column marked `editable`. */
|
|
1214
1214
|
writableColumnIds?: string[] | undefined;
|
|
1215
|
+
/**
|
|
1216
|
+
* TYPE-TO-EDIT FOR A CONSUMER THAT DRAWS ITS OWN CELL EDITORS. The table opens its own editor
|
|
1217
|
+
* for a column marked `editable`; a consumer whose cells carry their own editor (a record grid
|
|
1218
|
+
* whose cell IS the Field's editor) is asked here instead, with the cell the person is on and
|
|
1219
|
+
* what they typed — `seed` is the text (a letter, an IME composition, an Option/AltGr
|
|
1220
|
+
* character, dictation), `null` for Enter/F2. Return true when an editor opened, so the
|
|
1221
|
+
* keystroke is consumed. Never asked on a `readOnly` grid.
|
|
1222
|
+
*/
|
|
1223
|
+
onEditRequest?: ((address: {
|
|
1224
|
+
rowId: string;
|
|
1225
|
+
columnId: string;
|
|
1226
|
+
}, seed: string | null) => boolean) | undefined;
|
|
1215
1227
|
/** Why a column refuses a write, as a sentence a person can act on. */
|
|
1216
1228
|
columnRefusal?: ((columnId: string) => string | undefined) | undefined;
|
|
1217
1229
|
/** Reads a cell for copy and fill. Defaults to the column's own accessor. */
|
package/package.json
CHANGED