es-grid-template 1.9.60 → 1.9.62
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/es/ali-table/InternalTable.d.ts +2 -1
- package/es/ali-table/InternalTable.js +23 -43
- package/es/ali-table/base-table/table.d.ts +2 -2
- package/es/ali-table/base-table/utils.d.ts +2 -0
- package/es/ali-table/base-table/utils.js +12 -1
- package/es/ali-table/interfaces.d.ts +4 -0
- package/es/ali-table/internals.d.ts +2 -1
- package/es/ali-table/pipeline/features/columnCustom.d.ts +1 -0
- package/es/ali-table/pipeline/features/columnCustom.js +297 -17
- package/es/grid-component/type.d.ts +2 -1
- package/es/group-component/body/EditableCell.d.ts +3 -0
- package/es/group-component/body/EditableCell.js +402 -196
- package/es/table-component/body/EditableCell.js +1 -1
- package/es/table-component/components/async-select/index.js +1 -1
- package/es/table-component/hook/utils.d.ts +1 -3
- package/lib/ali-table/InternalTable.d.ts +2 -1
- package/lib/ali-table/InternalTable.js +23 -43
- package/lib/ali-table/base-table/table.d.ts +2 -2
- package/lib/ali-table/base-table/utils.d.ts +2 -0
- package/lib/ali-table/base-table/utils.js +13 -0
- package/lib/ali-table/interfaces.d.ts +4 -0
- package/lib/ali-table/internals.d.ts +2 -1
- package/lib/ali-table/pipeline/features/columnCustom.d.ts +1 -0
- package/lib/ali-table/pipeline/features/columnCustom.js +297 -17
- package/lib/grid-component/type.d.ts +2 -1
- package/lib/group-component/body/EditableCell.d.ts +3 -0
- package/lib/group-component/body/EditableCell.js +399 -194
- package/lib/table-component/body/EditableCell.js +1 -1
- package/lib/table-component/components/async-select/index.js +1 -1
- package/lib/table-component/hook/utils.d.ts +1 -3
- package/package.json +1 -1
|
@@ -1126,7 +1126,7 @@ const EditableCell = props => {
|
|
|
1126
1126
|
// let floatValue = value
|
|
1127
1127
|
|
|
1128
1128
|
const numericFormatProps = {
|
|
1129
|
-
value,
|
|
1129
|
+
value: value || '',
|
|
1130
1130
|
thousandSeparator: (0, _utils.checkThousandSeparator)(thousandSeparator, decimalSeparator),
|
|
1131
1131
|
decimalSeparator: (0, _utils.checkDecimalSeparator)(thousandSeparator, decimalSeparator),
|
|
1132
1132
|
decimalScale: cellFormat?.decimalScale ?? undefined,
|
|
@@ -34,7 +34,7 @@ function AsyncSelect({
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
return (0, _debounce.default)(fetchOptions, debounceTimeout);
|
|
37
|
-
}, [loadOptions,
|
|
37
|
+
}, [debounceTimeout, loadOptions, defaultOptions, rowData]);
|
|
38
38
|
(0, _react.useEffect)(() => {
|
|
39
39
|
setOptions(defaultOptions ?? []);
|
|
40
40
|
}, [defaultOptions]);
|
|
@@ -199,7 +199,5 @@ export declare const getIds: <T extends {
|
|
|
199
199
|
}>(data: T[]) => string[];
|
|
200
200
|
export declare const getKeys: <T extends Record<string, any>, K extends keyof T>(data: T[], key: K) => T[K][];
|
|
201
201
|
export declare const getRowIndexMap: (flatRows: any[]) => Map<string, number>;
|
|
202
|
-
export declare function getRowIdsBetween3(flatRows:
|
|
203
|
-
rowId: string;
|
|
204
|
-
}[], rowIndexMap: Map<string, number>, a: string, b: string): string[];
|
|
202
|
+
export declare function getRowIdsBetween3(flatRows: any[], rowIndexMap: Map<string, number>, a: string, b: string): string[];
|
|
205
203
|
export {};
|