@eherve/angular-material-datatable 22.2.1 → 22.2.3
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/package.json
CHANGED
|
@@ -248,6 +248,8 @@ export type DatatableSearchSelectColumn<Record> = DatatableSelectColumn<Record>
|
|
|
248
248
|
multiple?: boolean;
|
|
249
249
|
placeholder?: string;
|
|
250
250
|
hasGroup?: boolean;
|
|
251
|
+
/** 'auto' matches the field (default); null fits the content; numbers are pixels. */
|
|
252
|
+
panelWidth?: string | number | null;
|
|
251
253
|
};
|
|
252
254
|
export type DatatableAutocompleteColumn<Record> = Column<Record> & {
|
|
253
255
|
type: 'autocomplete';
|
|
@@ -259,6 +261,7 @@ export type DatatableSearchAutocompleteColumn<Record> = DatatableAutocompleteCol
|
|
|
259
261
|
hasGroup?: boolean;
|
|
260
262
|
options: (limit: number, skip: number, search: string, filter: any) => Promise<DatatableSearchListOption[]>;
|
|
261
263
|
searchValueOptions?: DatatableSearchListOption[];
|
|
264
|
+
resolveOption?: (value: unknown) => Promise<DatatableSearchListOption | null>;
|
|
262
265
|
};
|
|
263
266
|
export type DatatableCheckboxColumn<Record> = Column<Record> & {
|
|
264
267
|
type: 'checkbox';
|