@oliasoft-open-source/react-ui-library 4.18.0-beta-5 → 4.18.0-beta-7

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/dist/index.d.ts CHANGED
@@ -1128,12 +1128,8 @@ export declare interface IRowProps {
1128
1128
  }
1129
1129
 
1130
1130
  declare interface IScrollDetails {
1131
- scrollable?: boolean;
1132
1131
  hideScrollbar?: boolean;
1133
1132
  triggerScrollToActiveItem?: boolean;
1134
- infiniteScroll?: boolean;
1135
- infiniteScrollTarget?: string;
1136
- limit?: number;
1137
1133
  }
1138
1134
 
1139
1135
  declare interface ISelectCell extends TCommonCell {
@@ -1197,15 +1193,6 @@ declare interface ISelectSelectedOption {
1197
1193
  testId?: string;
1198
1194
  }
1199
1195
 
1200
- export declare interface ISettingFieldProps {
1201
- helpText: string;
1202
- children: ReactNode;
1203
- active?: boolean;
1204
- noPermission?: boolean;
1205
- selectedOption?: 'all_users' | 'superusers_admin';
1206
- handleSelectChange?: (value: 'all_users' | 'superusers_admin') => void;
1207
- }
1208
-
1209
1196
  export declare interface ISideBarProps {
1210
1197
  options: {
1211
1198
  title: string;
@@ -1346,28 +1333,30 @@ export declare interface ITableProps {
1346
1333
  from: number;
1347
1334
  to: number;
1348
1335
  }) => void;
1349
- table: {
1350
- name?: TStringOrNumber | ReactNode;
1351
- actionsRight?: boolean;
1352
- fixedWidth?: TStringOrNumber;
1353
- maxHeight?: TStringOrNumber;
1354
- columnWidths?: string[];
1355
- className?: string;
1356
- columnHeaderAlignments?: Array<TAlign | string>;
1357
- columnAlignment?: Array<TAlign | string>;
1358
- infiniteScroll?: boolean;
1359
- headers?: any[];
1360
- rows?: TRowsType;
1361
- footer?: IFooterProps;
1362
- draggable?: boolean;
1363
- bordered?: boolean;
1364
- striped?: boolean;
1365
- testId?: string;
1366
- onAddRow?: any;
1367
- defaultEmptyRow?: any;
1368
- stickyHeaders?: string | boolean;
1369
- actions?: any;
1370
- };
1336
+ table: ITableTableProps;
1337
+ }
1338
+
1339
+ declare interface ITableTableProps {
1340
+ name?: TStringOrNumber | ReactNode;
1341
+ actionsRight?: boolean;
1342
+ fixedWidth?: TStringOrNumber;
1343
+ maxHeight?: TStringOrNumber;
1344
+ columnWidths?: string[];
1345
+ className?: string;
1346
+ columnHeaderAlignments?: Array<TAlign | string>;
1347
+ columnAlignment?: Array<TAlign | string>;
1348
+ infiniteScroll?: boolean;
1349
+ headers?: any[];
1350
+ rows?: TRowsType;
1351
+ footer?: IFooterProps;
1352
+ draggable?: boolean;
1353
+ bordered?: boolean;
1354
+ striped?: boolean;
1355
+ testId?: string;
1356
+ onAddRow?: any;
1357
+ defaultEmptyRow?: any;
1358
+ stickyHeaders?: string | boolean;
1359
+ actions?: any;
1371
1360
  }
1372
1361
 
1373
1362
  declare interface ITabOption {
@@ -1613,7 +1602,7 @@ declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
1613
1602
  declare interface IUnitTableCell {
1614
1603
  autoUnit: boolean;
1615
1604
  unitKey: string;
1616
- formatDisplayValue?: (value: TStringNumberNull) => TStringNumberNull;
1605
+ formatDisplayValue?: (value: TStringNumberNull, selectedUnit: string) => TStringNumberNull;
1617
1606
  }
1618
1607
 
1619
1608
  declare interface IUnitTableInputCell extends IInputCell, IUnitTableCell {
@@ -1713,8 +1702,6 @@ export declare const Row: ({ alignItems, justifyContent, children, flex, height,
1713
1702
 
1714
1703
  export declare const Select: (props: ISelectProps) => JSX_2.Element;
1715
1704
 
1716
- export declare const SettingField: ({ helpText, active, children, noPermission, selectedOption, handleSelectChange, }: ISettingFieldProps) => JSX_2.Element;
1717
-
1718
1705
  export declare const SideBar: default_2.MemoExoticComponent<({ options, startOpen, onShiftClickToggleOpen, top, }: ISideBarProps) => JSX_2.Element>;
1719
1706
 
1720
1707
  export declare const Slider: ({ name, label, width, labelWidth, value, min, max, step, marks, showArrows, showTooltip, tooltipFormatter, disabled, range, small, vertical, onChange, }: ISliderProps) => JSX_2.Element;