sccoreui 5.7.10 → 5.7.12
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.
|
@@ -152,12 +152,13 @@ const FormulaComponent = (props) => {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
function getCursorPosition(contentEditableElm) {
|
|
155
|
+
var _a;
|
|
155
156
|
const selection = window.getSelection();
|
|
156
157
|
const range = selection.getRangeAt(0);
|
|
157
158
|
const clonedRange = range.cloneRange();
|
|
158
159
|
clonedRange.selectNodeContents(contentEditableElm);
|
|
159
160
|
clonedRange.setEnd(range.endContainer, range.endOffset);
|
|
160
|
-
setContentEditableCursorIndex(clonedRange.toString().length);
|
|
161
|
+
setContentEditableCursorIndex((_a = clonedRange === null || clonedRange === void 0 ? void 0 : clonedRange.toString()) === null || _a === void 0 ? void 0 : _a.length);
|
|
161
162
|
}
|
|
162
163
|
const onConditionKeyDown = (event) => {
|
|
163
164
|
const content = event.target.textContent.trim();
|
|
@@ -64,7 +64,7 @@ export declare enum ATTRIBUTEDATATYPES {
|
|
|
64
64
|
MULTI_SELECT = "multiselect"
|
|
65
65
|
}
|
|
66
66
|
export interface ColumnDef extends ColDef {
|
|
67
|
-
dataType:
|
|
67
|
+
dataType: any;
|
|
68
68
|
isFilterable: boolean;
|
|
69
69
|
isSortable: boolean;
|
|
70
70
|
maxLength?: number;
|