@majoo-ui/react 1.61.0-rc.4 → 1.61.0-rc.6

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.
@@ -32,6 +32,7 @@ export interface IInputResourceListProps {
32
32
  renderSelectAll?: JSX.Element;
33
33
  customHeader?: JSX.Element;
34
34
  expandable?: boolean;
35
+ checkDisableItems?: boolean;
35
36
  }
36
- declare function InputResourceList({ data: dataProp, disabled, onItemCheck, onItemUncheck, searchPlaceholder, counterFooter, counterFooterText, isLoading, enabledItems, emptyDataMessage, value, fetchData, onQueryChange, css, wrapperCss, defaultSort, title, hideSelectAll, customHeader, }: IInputResourceListProps): JSX.Element;
37
+ declare function InputResourceList({ data: dataProp, disabled, onItemCheck, onItemUncheck, searchPlaceholder, counterFooter, counterFooterText, isLoading, enabledItems, emptyDataMessage, value, fetchData, onQueryChange, css, wrapperCss, defaultSort, title, hideSelectAll, customHeader, checkDisableItems }: IInputResourceListProps): JSX.Element;
37
38
  export default InputResourceList;
@@ -1285,10 +1285,24 @@ export interface TableProps {
1285
1285
  * Additional id which is not clickable and has no context menu
1286
1286
  */
1287
1287
  additionalExceptionIds?: string[];
1288
+ /**
1289
+ * Additional props for set manual expanded row column
1290
+ * Example:<br/>
1291
+ * {
1292
+ * '8192389219289': true,
1293
+ * '2130912039281': true,
1294
+ * '2130912039382': true
1295
+ * }
1296
+ */
1297
+ expanded?: object;
1288
1298
  /**
1289
1299
  * Callback fired when the expanded rows are updated.
1290
1300
  */
1291
- onExpand?: (expanded: object) => void;
1301
+ onExpandedChange?: (expanded: object) => void;
1302
+ /**
1303
+ * Additional props for autoResetExpanded
1304
+ */
1305
+ autoResetExpanded?: boolean;
1292
1306
  /**
1293
1307
  * Additional id table for unique identifier each table <br />
1294
1308
  * if id exist, column in the header can be customize to show in table <br />
@@ -1313,7 +1327,7 @@ export interface TableProps {
1313
1327
  */
1314
1328
  autoResetExpanded?: boolean;
1315
1329
  }
1316
- export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, hideHeader, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, decoration, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, searchQuery, additionalExceptionIds, onExpand, id, onColumnChange, virtualized, withoutLimit, additionalHeader, outerContainerCss, autoResetExpanded, }: TableProps): JSX.Element;
1330
+ export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, hideHeader, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, decoration, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, searchQuery, additionalExceptionIds, expanded: controlledExpanded, onExpandedChange, id, onColumnChange, virtualized, withoutLimit, additionalHeader, outerContainerCss, autoResetExpanded, }: TableProps): JSX.Element;
1317
1331
  export interface TableColumnProps {
1318
1332
  /**
1319
1333
  * Required if accessor is a function<br/>