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.
Files changed (31) hide show
  1. package/es/ali-table/InternalTable.d.ts +2 -1
  2. package/es/ali-table/InternalTable.js +23 -43
  3. package/es/ali-table/base-table/table.d.ts +2 -2
  4. package/es/ali-table/base-table/utils.d.ts +2 -0
  5. package/es/ali-table/base-table/utils.js +12 -1
  6. package/es/ali-table/interfaces.d.ts +4 -0
  7. package/es/ali-table/internals.d.ts +2 -1
  8. package/es/ali-table/pipeline/features/columnCustom.d.ts +1 -0
  9. package/es/ali-table/pipeline/features/columnCustom.js +297 -17
  10. package/es/grid-component/type.d.ts +2 -1
  11. package/es/group-component/body/EditableCell.d.ts +3 -0
  12. package/es/group-component/body/EditableCell.js +402 -196
  13. package/es/table-component/body/EditableCell.js +1 -1
  14. package/es/table-component/components/async-select/index.js +1 -1
  15. package/es/table-component/hook/utils.d.ts +1 -3
  16. package/lib/ali-table/InternalTable.d.ts +2 -1
  17. package/lib/ali-table/InternalTable.js +23 -43
  18. package/lib/ali-table/base-table/table.d.ts +2 -2
  19. package/lib/ali-table/base-table/utils.d.ts +2 -0
  20. package/lib/ali-table/base-table/utils.js +13 -0
  21. package/lib/ali-table/interfaces.d.ts +4 -0
  22. package/lib/ali-table/internals.d.ts +2 -1
  23. package/lib/ali-table/pipeline/features/columnCustom.d.ts +1 -0
  24. package/lib/ali-table/pipeline/features/columnCustom.js +297 -17
  25. package/lib/grid-component/type.d.ts +2 -1
  26. package/lib/group-component/body/EditableCell.d.ts +3 -0
  27. package/lib/group-component/body/EditableCell.js +399 -194
  28. package/lib/table-component/body/EditableCell.js +1 -1
  29. package/lib/table-component/components/async-select/index.js +1 -1
  30. package/lib/table-component/hook/utils.d.ts +1 -3
  31. 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, debounceTimeout]);
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "es-grid-template",
3
- "version": "1.9.60",
3
+ "version": "1.9.62",
4
4
  "description": "es-grid-template",
5
5
  "keywords": [
6
6
  "react",