@aquera/ngx-smart-table 0.0.17-patch-0.7 → 0.0.17-patch-0.8
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/esm2020/lib/editors/nile-select-editor.mjs +119 -6
- package/esm2020/lib/renderer/components/st-cell/st-cell.component.mjs +9 -3
- package/fesm2015/aquera-ngx-smart-table.mjs +135 -12
- package/fesm2015/aquera-ngx-smart-table.mjs.map +1 -1
- package/fesm2020/aquera-ngx-smart-table.mjs +126 -7
- package/fesm2020/aquera-ngx-smart-table.mjs.map +1 -1
- package/lib/editors/nile-select-editor.d.ts +11 -0
- package/package.json +1 -1
|
@@ -65,6 +65,12 @@ export interface NileSelectEditorOptions {
|
|
|
65
65
|
validateOnSave?: boolean;
|
|
66
66
|
/** Append dropdown to document body instead of parent */
|
|
67
67
|
portal?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* When true (default), opens the options list as soon as the cell enters edit mode
|
|
70
|
+
* (e.g. double-click). Set to false to keep the list closed until the user opens it.
|
|
71
|
+
* With `enableVirtualScroll`, opening uses the inner `nile-virtual-select` only.
|
|
72
|
+
*/
|
|
73
|
+
openDropdownOnEdit?: boolean;
|
|
68
74
|
}
|
|
69
75
|
/**
|
|
70
76
|
* Custom editor that uses NileSelect component
|
|
@@ -81,6 +87,11 @@ export declare class NileSelectEditor<T = string> implements CellEditor<T> {
|
|
|
81
87
|
private hasChangeOccurred;
|
|
82
88
|
constructor(options: NileSelectEditorOptions);
|
|
83
89
|
edit(context: CellEditorContext<T>): void;
|
|
90
|
+
private activateSelectAfterMount;
|
|
91
|
+
/** Lit @query('nile-popup') / .select — must exist before handleOpenChange touches this.popup.popup */
|
|
92
|
+
private isNileSelectPopupMounted;
|
|
93
|
+
private invokeShowHandlingPromise;
|
|
94
|
+
private openNileSelectDropdownSafely;
|
|
84
95
|
/**
|
|
85
96
|
* Set the initial value for the select
|
|
86
97
|
*/
|