@esvndev/es-react-table-interface 1.9.61 → 1.9.63

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.
@@ -4,7 +4,7 @@ import { ColumnsTable, ColumnTable } from 'es-grid-template/lib/grid-component/t
4
4
  import { IFDataSetup } from './ultility/any/ISetup';
5
5
  import { CommandItem } from 'rc-master-ui/es/table/interface';
6
6
  import { TEsExternalTranslator } from './i18n';
7
- import { ComponentType, Key } from 'react';
7
+ import { ComponentType, CSSProperties, Key } from 'react';
8
8
  export interface IBreadCrumbsNotLinkProps {
9
9
  breadCrumbTitle?: string;
10
10
  breadCrumbActive: string;
@@ -433,7 +433,8 @@ export interface IExternalInterface {
433
433
  summary?: boolean;
434
434
  striped?: boolean;
435
435
  /**Thêm class css cho hàng*/
436
- rowClassName?: any;
436
+ onRowStyles?: (row: any) => CSSProperties;
437
+ rowClassName?: (row: any) => any;
437
438
  /**Danh sách dữ liệu được truyền vào (không bắt buộc)*/
438
439
  dataSource?: any[];
439
440
  /**Object tính tổng tất cả danh sách*/
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ interface IFCreatableSelectBox {
3
+ isMulti?: boolean;
4
+ isLabel?: boolean;
5
+ inLine?: boolean;
6
+ control: any;
7
+ placeholder?: string;
8
+ name: string;
9
+ options: any[];
10
+ onCreateOption?: any;
11
+ label?: any;
12
+ labelSize?: any;
13
+ required?: boolean;
14
+ errors?: any;
15
+ cssClass?: string;
16
+ isClearable?: boolean;
17
+ labelComponent?: any;
18
+ onInputChange?: any;
19
+ callback?: any;
20
+ t: any;
21
+ }
22
+ declare const CreatableSelectBox: (props: IFCreatableSelectBox) => React.JSX.Element;
23
+ export default CreatableSelectBox;
@@ -24,6 +24,10 @@ interface IP {
24
24
  width?: number | string;
25
25
  isTree?: boolean;
26
26
  keepOpen?: boolean;
27
+ popupClassName?: string;
28
+ listHeight?: number;
29
+ getPopupContainer?: () => HTMLElement;
30
+ onDropdownVisibleChange?: (open: boolean) => void;
27
31
  }
28
- export declare const SelectComp: React.MemoExoticComponent<({ id, options, columns, isMulti, value, fieldValue, fieldLabel, onChange, isClearable, placeholder, loadOptions, style, className, formatOptionLabel, width, callback, isDisabled, invalid, selectMode, isTree, keepOpen }: IP) => React.JSX.Element>;
32
+ export declare const SelectComp: React.MemoExoticComponent<({ id, options, columns, isMulti, value, fieldValue, fieldLabel, onChange, isClearable, placeholder, loadOptions, style, className, formatOptionLabel, width, callback, isDisabled, invalid, selectMode, isTree, keepOpen, popupClassName, listHeight, getPopupContainer, onDropdownVisibleChange }: IP) => React.JSX.Element>;
29
33
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esvndev/es-react-table-interface",
3
- "version": "1.9.61",
3
+ "version": "1.9.63",
4
4
  "description": "This product is designed by ESVN and is only for use in products distributed by ESVN. Any product, whether for non-commercial research or commercial purposes, must have written legal approval and a digital signature from ESVN.",
5
5
  "license": "ESVN Limited Use License",
6
6
  "author": "dev@esvn.com.vn",
@@ -66,7 +66,7 @@
66
66
  "@types/react-dom": "^18.2.19",
67
67
  "@typescript-eslint/eslint-plugin": "^5.39.0",
68
68
  "@typescript-eslint/parser": "^5.39.0",
69
- "es-grid-template": "1.9.84",
69
+ "es-grid-template": "1.9.90",
70
70
  "eslint": "^8.25.0",
71
71
  "eslint-config-prettier": "^8.5.0",
72
72
  "eslint-plugin-prettier": "^4.2.1",