@aquera/ngx-smart-table 0.0.23 → 0.0.24
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
|
@@ -3830,8 +3830,6 @@ interface NileCodeEditorOptions {
|
|
|
3830
3830
|
dialogMaxHeight?: string;
|
|
3831
3831
|
/** Dialog editor min height (default: '300px') */
|
|
3832
3832
|
dialogEditorHeight?: string;
|
|
3833
|
-
/** Minimum number of visible lines in the dialog editor (default: 20) */
|
|
3834
|
-
dialogMinLines?: number;
|
|
3835
3833
|
/** Inline completion dataset */
|
|
3836
3834
|
customAutoCompletions?: Record<string, CodeEditorCompletion[]> | CodeEditorCompletion[];
|
|
3837
3835
|
/** Paths to fetch completion datasets from */
|
|
@@ -3873,6 +3871,10 @@ declare class NileCodeEditor<T = string> implements CellEditor<T> {
|
|
|
3873
3871
|
private expandButtonClicked;
|
|
3874
3872
|
private documentClickHandler?;
|
|
3875
3873
|
private trackedValue;
|
|
3874
|
+
private syncingFromDialog;
|
|
3875
|
+
private userEditedInline;
|
|
3876
|
+
private dialogOriginalValue;
|
|
3877
|
+
private dialogCurrentValue;
|
|
3876
3878
|
constructor(options?: NileCodeEditorOptions | undefined);
|
|
3877
3879
|
edit(context: CellEditorContext<T>): void;
|
|
3878
3880
|
/**
|
|
@@ -3882,6 +3884,11 @@ declare class NileCodeEditor<T = string> implements CellEditor<T> {
|
|
|
3882
3884
|
/**
|
|
3883
3885
|
* Read the live value directly from CodeMirror's internal state,
|
|
3884
3886
|
* bypassing debounced nile-change events and the possibly-stale .value property.
|
|
3887
|
+
*
|
|
3888
|
+
* Priority order:
|
|
3889
|
+
* 1. trackedValue - always up to date from change events
|
|
3890
|
+
* 2. CodeMirror internal state - for real-time reading
|
|
3891
|
+
* 3. editor.value property - fallback
|
|
3885
3892
|
*/
|
|
3886
3893
|
private getLiveEditorValue;
|
|
3887
3894
|
/**
|
|
@@ -3889,9 +3896,21 @@ declare class NileCodeEditor<T = string> implements CellEditor<T> {
|
|
|
3889
3896
|
*/
|
|
3890
3897
|
private openDialog;
|
|
3891
3898
|
/**
|
|
3892
|
-
*
|
|
3899
|
+
* Get the current value from the dialog editor
|
|
3893
3900
|
*/
|
|
3894
|
-
private
|
|
3901
|
+
private getDialogEditorValue;
|
|
3902
|
+
/**
|
|
3903
|
+
* Apply changes from dialog and close it
|
|
3904
|
+
*/
|
|
3905
|
+
private applyDialogChanges;
|
|
3906
|
+
/**
|
|
3907
|
+
* Cancel dialog changes and revert to original value
|
|
3908
|
+
*/
|
|
3909
|
+
private cancelDialogChanges;
|
|
3910
|
+
/**
|
|
3911
|
+
* Close and remove the dialog UI
|
|
3912
|
+
*/
|
|
3913
|
+
private closeDialogUI;
|
|
3895
3914
|
/**
|
|
3896
3915
|
* Apply all configuration options to the NileCodeEditor element
|
|
3897
3916
|
*/
|