@esvndev/es-react-table-interface 1.5.94 → 1.5.95

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.
@@ -2,6 +2,7 @@ import { TFunction } from 'i18next';
2
2
  import { currencies } from './ultility/constantConfigNumeric';
3
3
  import { IButtonToolbar, IToolbarTemplate } from './ultility/Export/InterfaceExport';
4
4
  import { ColumnsTable, ColumnTable } from 'es-grid-template/lib/grid-component/type';
5
+ import { IFColumnSelectTable } from 'react-table-edit';
5
6
  export interface IBreadCrumbsNotLinkProps {
6
7
  breadCrumbTitle?: string;
7
8
  breadCrumbActive: string;
@@ -196,6 +197,17 @@ export interface IExternalInterface {
196
197
  exportApi: any;
197
198
  uploadFileApi: any;
198
199
  getListBoxApi: any;
200
+ optionalField?: {
201
+ field: string;
202
+ label: string;
203
+ isClearable?: boolean | undefined;
204
+ loadOptions?: any;
205
+ columns?: IFColumnSelectTable[] | undefined;
206
+ fieldLabel?: string;
207
+ fieldValue?: string;
208
+ options: any[];
209
+ callback: (val: any, item: any) => void;
210
+ }[] | undefined;
199
211
  data?: any;
200
212
  apiGetData?: (type: string, name: string) => void;
201
213
  RENDER?: any;
@@ -260,6 +272,7 @@ export interface IExternalInterface {
260
272
  exportExcel?: {
261
273
  columnsExport?: ColumnTable[];
262
274
  para?: any;
275
+ urlExport?: string;
263
276
  };
264
277
  totalCount?: number;
265
278
  hideSelectAll?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esvndev/es-react-table-interface",
3
- "version": "1.5.94",
3
+ "version": "1.5.95",
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",